/* Additions the live site needs on top of the approved preview styles. */
#motes { position: fixed; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }
.maint-bar { background: #3a1d14; color: #f6d5c8; border-bottom: 1px solid var(--ember); text-align: center; padding: 10px 16px; font-size: 0.9rem; }
.inline-form { display: inline; margin: 0; }
.form-submit { margin-top: 22px; }
.foot-about { margin-top: 14px; max-width: 34em; }
.closed-text { color: var(--silver); margin-top: 12px; }
.notice a { color: inherit; text-decoration: underline; }
.err-page .err-wrap { grid-template-columns: minmax(0, 520px) !important; justify-content: center; }
.err-box { text-align: center; }
.err-box h1 { font-size: clamp(2rem, 6vw, 3rem); margin-top: 12px; }
.err-box p { color: var(--silver); margin-top: 12px; }
.err-actions { margin-top: 22px !important; }
.sn-box { margin-top: 16px; padding: 16px; border: 1px solid var(--gold-deep); background: rgba(201, 165, 92, 0.08); display: grid; gap: 12px; justify-items: start; }
.sn-value { font-size: 1.05rem; color: #fff; overflow-wrap: anywhere; user-select: all; }
.flash { margin-bottom: 20px; }
.empty-state { padding: 48px 18px; text-align: center; color: var(--silver-dim); }
.pager a, .pager span.gap, .pager span.cur {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  color: var(--silver-dim); border: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.pager a:hover { color: #fff; border-color: var(--line-strong); }
.pager span.cur { color: var(--gold-bright); border-color: var(--gold); }
.pager span.gap { opacity: 0.4; }
.search button { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 14px; font: inherit; font-size: 0.8rem; color: var(--silver); background: var(--navy-2); border: 1px solid var(--line); cursor: pointer; }
.search button:hover { color: #fff; border-color: var(--arcane); }
.search input { padding-right: 84px; }
a.chip { display: inline-block; text-decoration: none; }
a.chip[aria-current="true"] { color: #1b1405; background: var(--gold); border-color: var(--gold); }
.article { max-width: 760px; }
.article h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-top: 12px; }
.article .body p { color: var(--silver); margin-top: 16px; font-size: 1.05rem; overflow-wrap: anywhere; }
.article-art { aspect-ratio: 16 / 7; overflow: hidden; margin-top: 24px; border: 1px solid var(--line); }
.article-art img { width: 100%; height: 100%; object-fit: cover; }
.rules-list p { color: var(--silver); margin-top: 12px; }
.welcome-panel p { color: var(--silver); margin-top: 12px; }
.dl-empty { color: var(--silver-dim); margin-top: 14px; font-size: 0.92rem; }
.status-dot.off { background: var(--steel); box-shadow: 0 0 0 4px rgba(95, 109, 138, 0.2); }
.acc-block { border-left: 2px solid var(--ember); background: rgba(208, 100, 74, 0.1); color: #f3c4b8; padding: 12px 16px; margin-bottom: 20px; }
.act form { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.act form .btn { grid-column: auto; grid-row: auto; }
.adm-flash { margin-bottom: 18px; }
.adm-nav a { display: block; color: var(--silver-dim); border-left: 2px solid transparent; padding: 10px 12px; }
.adm-nav a:hover { color: #fff; background: rgba(21, 33, 61, 0.6); }
.adm-nav a[aria-current="page"] { color: var(--gold-bright); border-left-color: var(--gold); background: rgba(201, 165, 92, 0.08); }
.adm-inline { display: inline; margin: 0; }
.adm-inline .chip { margin-left: 6px; padding: 5px 10px; font-size: 0.76rem; }
.adm-pw-row { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.adm-pw-row input { width: 170px; font: inherit; color: #fff; background: rgba(5, 9, 18, 0.72); border: 1px solid var(--line-strong); padding: 6px 10px; }
@media (max-width: 860px) { .adm-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; } .adm-nav a[aria-current="page"] { border-bottom-color: var(--gold); } }
.geon-ico { display: inline-block; vertical-align: -3px; margin-right: 6px; image-rendering: pixelated; }
.rank-body { padding-top: clamp(56px, 8vw, 88px); }
.home-welcome h2 { font-size: 1.9rem; }
.strip dd .status-dot { vertical-align: 4px; }
.classes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.classes-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.classes-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.news-empty { color: var(--silver-dim); padding: 28px 0; }
.news-page-list { display: grid; gap: 22px; max-width: 860px; }
.news-page-list article { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.news-page-list h2 { font-size: 1.8rem; margin-top: 8px; }
.news-page-list h2 a { color: #f1f4fa; }
.news-page-list h2 a:hover { color: var(--gold-bright); }
.news-page-list p { color: var(--silver-dim); margin-top: 8px; }
.page-head { padding-block: clamp(36px, 6vw, 64px) 0; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: 12px; }
.feature-title a { color: inherit; }.dl-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 10px; }
.dl-panel-title { text-align: left; }
.acc-side { display: grid; gap: 24px; align-content: start; }
.acc-note { margin-top: 10px; font-size: 0.9rem; color: var(--silver-dim); }
a.acc-char { text-decoration: none; }
.acc-char[aria-current="true"] { border-color: var(--gold); }
.adm-wide { grid-column: 1 / -1; }
.adm-sub { margin-top: 26px; }
.adm-eyebrow { justify-content: center; display: flex; }
.adm-login-title { font-size: 2.2rem; text-align: center; margin-top: 10px; }
.adm-checks { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.adm-checks legend { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-dim); padding: 0; margin-bottom: 4px; }
.adm-checks .check { margin-top: 0; }
.adm-note { margin-top: 14px; }
.adm-who .chip { margin: 6px 0 0; padding: 4px 10px; font-size: 0.76rem; }
/* Menu links sit in the centre of the header: logo left, links centre, buttons right. */
@media (min-width: 981px) {
  .site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-head .brand { justify-self: start; }
  .site-head .nav { margin-left: 0; justify-self: center; }
  .site-head .head-cta { justify-self: end; }
}

/* ---------- rankings: link to a character's shared equipment ---------- */
.gear-link { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 7px; font-family: var(--font-body); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 165, 92, 0.45); text-decoration: none; vertical-align: 2px; line-height: 1.3; transition: color 0.15s ease, background 0.15s ease; }
.gear-link:hover, .gear-link:focus-visible { color: var(--abyss); background: var(--gold); outline: none; }
.pod .gear-link { margin: 10px 0 0; }
.name-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }

/* ---------- experience bars: ten segments, like the game's own bar ---------- */
.bar, .item-tip .tip-bar {
  height: 7px; background: rgba(176, 196, 230, 0.12);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0, #000 calc(10% - 3px), transparent calc(10% - 3px), transparent 10%);
  mask-image: repeating-linear-gradient(90deg, #000 0, #000 calc(10% - 3px), transparent calc(10% - 3px), transparent 10%);
  -webkit-mask-size: calc(100% + 3px) 100%; mask-size: calc(100% + 3px) 100%;
}
.bar i { background: linear-gradient(90deg, #2f6fc4, var(--arcane) 55%, #d6eaff); }
.item-tip .tip-bar i { background: linear-gradient(90deg, #2f9a6a, #6fd6a3 55%, #d2f7e4); }

/* ---------- experience: the gem track (one component everywhere) ---------- */
.xp { position: relative; display: block; height: 28px; }
.xp-line, .xp-fill { position: absolute; left: 0; top: 18px; height: 3px; }
.xp-line { right: 0; background: rgba(176, 196, 230, 0.14); }
.xp-fill { background: linear-gradient(90deg, #2f6fc4, var(--arcane)); }
.xp-tick { position: absolute; top: 15px; width: 1px; height: 9px; margin-left: -0.5px; background: rgba(176, 196, 230, 0.24); }
.xp-gem { position: absolute; top: 14px; width: 11px; height: 11px; margin-left: -5.5px; transform: rotate(45deg); background: var(--gold-bright); border: 1.5px solid var(--abyss); box-shadow: 0 0 8px rgba(236, 211, 152, 0.55); }
.xp-tag { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.72rem; font-weight: 600; line-height: 1; color: var(--gold-bright); white-space: nowrap; letter-spacing: 0.02em; }
.xp-rank { width: 180px; margin-left: auto; }
.xp-sheet { margin-top: 4px; }
.xp-sheet .xp-tag { font-size: 0.8rem; }
@media (max-width: 760px) { .xp-rank { width: 130px; } }
/* ---------- honor rank: title ladder and tug of war ---------- */
.ladder { display: inline-flex; flex-direction: column; gap: 7px; text-align: left; }
.ladder-title { font-family: var(--font-label); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.06em; color: currentColor; line-height: 1.1; }
.ladder.band-none { color: var(--silver-dim); }
.ladder.band-bronze, .ladder-steps .band-bronze { color: #d29a68; }
.ladder.band-silver, .ladder-steps .band-silver { color: #d3dcec; }
.ladder.band-gold, .ladder-steps .band-gold { color: var(--gold-bright); }
.ladder.band-crimson, .ladder-steps .band-crimson { color: #ff7563; }
.ladder-steps { display: flex; gap: 5px; padding-left: 2px; }
.ladder-steps i { width: 8px; height: 8px; transform: rotate(45deg); flex: none; }
.ladder-steps i.on { background: currentColor; }
.ladder-steps i.off { border: 1px solid rgba(176, 196, 230, 0.22); }
.ladder-steps i.cur { box-shadow: 0 0 0 2px rgba(5, 9, 18, 0.9), 0 0 0 3px currentColor; }
.tug { display: flex; flex-direction: column; gap: 5px; width: 180px; margin: 7px 0 0 auto; }
.tug-nums { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.78rem; }
.tug-nums .k { color: #ff8a6b; font-weight: 600; }
.tug-nums .d { color: var(--silver-dim); font-weight: 600; }
.tug-nums .kd { color: var(--silver); letter-spacing: 0.08em; font-size: 0.68rem; text-transform: uppercase; }
.tug-bar { position: relative; display: block; height: 6px; background: rgba(95, 109, 138, 0.35); }
.tug-bar i { position: absolute; top: 0; height: 100%; }
.tug-bar i.win { right: 50%; background: linear-gradient(270deg, #b8432d, #ff8a6b); }
.tug-bar i.lose { left: 50%; background: linear-gradient(90deg, #5f6d8a, #a9b6cf); }
.tug-bar s { position: absolute; left: 50%; top: -3px; width: 2px; height: 12px; margin-left: -1px; background: #fff; text-decoration: none; }
.m-honor { display: none; margin-top: 10px; }
@media (max-width: 760px) { .m-honor { display: flex; justify-content: flex-end; } .tug { width: 140px; } }
.item-tip .xp-tip { margin-top: 6px; }
.foot-credit { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.credit-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }
.credit-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border: 1px solid rgba(201, 165, 92, 0.4); color: var(--gold-bright); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em; background: rgba(201, 165, 92, 0.06); }
.credit-badge svg { color: #8c9eff; flex: none; }
button.credit-badge { font: inherit; font-size: 0.86rem; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; position: relative; }
button.credit-badge:hover, button.credit-badge:focus-visible { border-color: var(--gold); background: rgba(201, 165, 92, 0.14); outline: none; }
.credit-name { letter-spacing: 0.06em; }
.credit-done { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7fe3b0; }
.credit-done:empty { display: none; }
button.credit-badge.copied { border-color: #4fbf8c; }

/* ---------- page backdrops (partials/page_art.php) ---------- */
main.has-art { position: relative; isolation: isolate; }
.page-art { position: absolute; left: 0; right: 0; top: 0; height: min(640px, 92vh); z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 35%, transparent 100%); }
.page-art::before { content: ""; position: absolute; inset: 0; background: var(--art) var(--art-pos, 50% 30%) / cover no-repeat; opacity: 0.75; }
.page-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--art-tint, transparent), transparent 70%), linear-gradient(90deg, rgba(5, 9, 18, 0.9) 0%, rgba(5, 9, 18, 0.45) 50%, rgba(5, 9, 18, 0.25) 100%), linear-gradient(180deg, rgba(5, 9, 18, 0.3), rgba(5, 9, 18, 0.85)); }
.page-art.soft::before { filter: blur(3px) saturate(1.15); inset: -12px; opacity: 0.8; }

/* ---------- drop-down menus: showcase cards ---------- */
.drop-menu.drop-cards { display: none; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); grid-auto-flow: column; grid-auto-columns: 190px; gap: 12px; padding: 14px; min-width: 0;
  background: rgba(5, 9, 18, 0.97); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px #000; }
.drop-menu.drop-cards::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }  /* keeps the menu open while the pointer crosses the gap */
.drop:hover .drop-menu.drop-cards, .drop:focus-within .drop-menu.drop-cards { display: grid; }
.nav .drop-cards a.dcard { position: relative; display: block; height: 168px; padding: 0; overflow: hidden; border: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.nav .drop-cards a.dcard:hover { background: none; }
.dcard-art { position: absolute; inset: 0; background-size: cover; opacity: 0.55; transition: transform 0.4s ease, opacity 0.3s ease; }
.dcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 18, 0.05), rgba(5, 9, 18, 0.95)); }
.dcard-t { position: absolute; left: 14px; right: 12px; bottom: 12px; z-index: 1; text-align: left; }
.dcard-t b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; letter-spacing: 0; color: #fff; line-height: 1.1; }
.dcard-t small { display: block; margin-top: 3px; font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0; color: var(--silver-dim); }
.dcard-badge { position: absolute; top: 10px; left: 12px; z-index: 1; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--abyss); background: var(--gold-bright); padding: 2px 7px; }
.nav .drop-cards a.dcard:hover, .nav .drop-cards a.dcard:focus-visible, .nav .drop-cards a.dcard[aria-current="page"] { border-color: var(--gold); outline: none; }
.dcard:hover .dcard-art, .dcard:focus-visible .dcard-art { opacity: 0.9; transform: scale(1.06); }
.dcard[aria-current="page"] .dcard-art { opacity: 0.75; }
.nav .drop-cards a.dcard[aria-current="page"]::after { content: ""; position: absolute; inset: 0; left: 0; right: 0; bottom: 0; height: auto; background: linear-gradient(180deg, rgba(5, 9, 18, 0.05), rgba(5, 9, 18, 0.95)); }

@media (max-width: 980px) {
  .site-head.open .drop-menu.drop-cards { display: flex; flex-direction: column; gap: 8px; position: static; transform: none; padding: 8px 0 10px; background: none; border: 0; box-shadow: none; }
  .site-head.open .drop-menu.drop-cards::before { display: none; }
  .site-head.open .nav .drop-cards a.dcard { height: 64px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
  .site-head.open .dcard-art { opacity: 0.45; }
  .site-head.open .dcard-t { top: 50%; bottom: auto; transform: translateY(-50%); left: 14px; }
  .site-head.open .dcard-t b { font-size: 1.1rem; }
  .site-head.open .dcard-badge { top: 50%; left: auto; right: 12px; transform: translateY(-50%); }
}

/* tab rows (rankings, player panel): a 2 x 2 grid on phones, so no tab is hidden off-screen */
@media (max-width: 640px) {
  .rank-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .rank-tabs a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 8px; font-size: 0.7rem; letter-spacing: 0.1em; white-space: normal; border-bottom: 1px solid var(--line); margin: -1px 0 0 -1px; }
  .rank-tabs a[aria-current="page"] { position: relative; z-index: 1; }
}

/* guild names link to their guild hall */
a.guild-link { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(201, 165, 92, 0.5); transition: color 0.15s ease, border-color 0.15s ease; }
a.guild-link:hover, a.guild-link:focus-visible { color: var(--gold-bright); border-bottom-color: var(--gold); outline: none; }
/* five panel tabs on phones: three on top, two below */
@media (max-width: 640px) {
  .acc-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .acc-tabs a:nth-child(-n+3) { grid-column: span 2; }
  .acc-tabs a:nth-child(n+4) { grid-column: span 3; }
  /* six tabs (Donate switched on): two rows of three */
  .acc-tabs a:nth-child(4):nth-last-child(3), .acc-tabs a:nth-child(4):nth-last-child(3) ~ a { grid-column: span 2; }
}

/* ---------- empty states: one designed look everywhere ---------- */
.empty-state, .news-empty { position: relative; padding: 52px 22px 44px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.18rem; line-height: 1.5; color: var(--silver-dim); }
.empty-state::before, .news-empty::before { content: ""; display: block; width: 13px; height: 13px; margin: 0 auto 18px; transform: rotate(45deg); border: 1px solid var(--gold); background: rgba(201, 165, 92, 0.12); box-shadow: 0 0 0 6px rgba(201, 165, 92, 0.06), 0 0 22px rgba(201, 165, 92, 0.35); }
.news-empty { border: 1px dashed var(--line-strong); }
.empty-state.sm { padding: 28px 14px 24px; font-size: 1rem; }
.empty-state.sm::before { width: 10px; height: 10px; margin-bottom: 12px; }
.empty-state a { color: var(--gold-bright); font-style: normal; font-family: var(--font-body); font-size: 0.86rem; }

/* The footer sits above the fixed page artwork (login, register, recover): without this the artwork covers the footer and only the credit badge shows through. */
.site-foot { position: relative; z-index: 1; }

.hero:has(+ .votecall) { border-bottom: 0; }
.hero:has(+ .votecall) .hero-art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 1; background: linear-gradient(180deg, transparent, #070c19); pointer-events: none; }

/* ---------- the vote call ("the showcase"): a full section right under the homepage hero ---------- */
/* No picture of its own: it sits between the hero's artwork and the navy facts strip, so it uses the site's own
   midnight navy (the hero fades into it) with a soft gold light behind the reward. One artwork per screen. */
.votecall { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid rgba(201, 165, 92, 0.38); border-bottom: 1px solid rgba(201, 165, 92, 0.38);
  background: linear-gradient(180deg, #070c19 0%, #0b1326 55%, #0f1930 100%); }
.votecall::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(620px 340px at 18% 50%, rgba(201, 165, 92, 0.2), transparent 70%), radial-gradient(520px 300px at 88% 50%, rgba(116, 180, 255, 0.07), transparent 70%); }
.votecall::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: -1; background: linear-gradient(90deg, transparent, rgba(236, 211, 152, 0.75) 22%, rgba(236, 211, 152, 0.75) 78%, transparent); }
.votecall .wrap { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: clamp(22px, 4vw, 52px); align-items: center; padding-block: clamp(34px, 5vw, 58px); }
.votecall-prize { position: relative; width: 190px; height: 190px; display: grid; place-items: center; margin: 0 auto; }
.votecall-prize::before { content: ""; position: absolute; inset: 22px; transform: rotate(45deg); border: 1px solid var(--gold-bright); background: radial-gradient(circle, rgba(201, 165, 92, 0.34), rgba(5, 9, 18, 0.8)); box-shadow: 0 0 60px rgba(201, 165, 92, 0.45); }
.votecall-prize::after { content: ""; position: absolute; inset: 4px; transform: rotate(45deg); border: 1px dashed rgba(236, 211, 152, 0.4); }
.votecall.is-ready .votecall-prize::after { animation: votecall-breathe 3.2s ease-in-out infinite; }
.votecall-prize img { position: relative; z-index: 1; image-rendering: pixelated; filter: drop-shadow(0 0 12px rgba(236, 211, 152, 0.55)); }
.votecall-prize i { position: relative; z-index: 1; width: 30px; height: 30px; transform: rotate(45deg); background: var(--gold-bright); box-shadow: 0 0 26px rgba(236, 211, 152, 0.9); }
.votecall h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 10px 0 8px; line-height: 1.04; }
.votecall h2 em { font-style: italic; color: var(--gold-bright); }
.votecall-text p { color: var(--silver); max-width: 34em; margin: 0; }
.votecall-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; }
.votecall-steps li { display: flex; align-items: center; gap: 11px; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-dim); }
.votecall-steps li i { width: 22px; height: 22px; display: grid; place-items: center; transform: rotate(45deg); border: 1px solid var(--gold); color: var(--gold-bright); font-style: normal; font-size: 0.7rem; flex: none; }
.votecall-steps li i u { transform: rotate(-45deg); text-decoration: none; }
.votecall-cta { display: grid; gap: 10px; justify-items: center; text-align: center; }
.votecall-cta .btn { padding: 16px 30px; font-size: 0.9rem; }
.votecall-cta small { color: var(--silver-dim); }
/* after today's vote the section rests: no glow, no motion */
.votecall.is-done { border-bottom-color: var(--line-strong); }
.votecall.is-done { border-top-color: var(--line); }
.votecall.is-done::before, .votecall.is-done::after { display: none; }
.votecall.is-done .wrap { grid-template-columns: 120px minmax(0, 1fr) auto; padding-block: clamp(22px, 3vw, 34px); }
.votecall.is-done .votecall-prize { width: 110px; height: 110px; }
.votecall.is-done .votecall-prize::before { inset: 14px; border-color: var(--line-strong); box-shadow: none; background: rgba(10, 17, 34, 0.8); }
.votecall.is-done .votecall-prize::after { display: none; }
.votecall.is-done .votecall-prize img { filter: none; opacity: 0.85; width: 44px; height: 44px; }
.votecall.is-done h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.votecall.is-done .votecall-cta .btn { padding: 12px 22px; font-size: 0.8rem; }
@keyframes votecall-breathe { 0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.9; } 50% { transform: rotate(45deg) scale(1.07); opacity: 0.4; } }
@media (max-width: 900px) {
  .votecall .wrap, .votecall.is-done .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .votecall-text .eyebrow { justify-content: center; }
  .votecall-text p { margin-inline: auto; }
  .votecall-steps { justify-content: center; }
  .votecall-prize { width: 150px; height: 150px; }
  .votecall-cta .btn { width: 100%; justify-content: center; }
}
/* the Vote link in the menu: a small gold gem that glows while a vote is ready */
.nav a.nav-vote { color: var(--gold-bright); display: inline-flex; align-items: center; gap: 8px; }
.nav a.nav-vote i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--steel); flex: none; }
.nav a.nav-vote.is-ready i { background: var(--gold-bright); animation: votecall-gem 1.8s ease-in-out infinite; }
.nav a.nav-vote:hover { color: #fff; }
@keyframes votecall-gem { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 211, 152, 0.7); } 60% { box-shadow: 0 0 0 7px rgba(236, 211, 152, 0); } }
@media (prefers-reduced-motion: reduce) { .votecall.is-ready .votecall-prize::after, .nav a.nav-vote.is-ready i { animation: none; } }

/* Forms: in a two-column grid a field with a hint is taller than its neighbour. Without this the shorter field was
   stretched to match, which made its input taller and pushed it down. Every field now keeps its own height, at the top. */
.adm-grid { align-items: start; }
.field { align-content: start; }
/* A button directly after a field needs air above it (it used to touch the input). */
.field + .btn, .field + button, .field + .adm-inline { margin-top: 16px; }
