/* SEMA 2026 — public site. Brand: navy #0A0D27, gold #AD8558 → #F5D77F, Gabriel Sans + Host Grotesk */
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/host-grotesk-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #05071a;
  --navy: #0a0d27;
  --navy-2: #0d1236;
  --navy-3: #131a4a;
  --blue-glow: #12237a;
  --gold-dark: #ad8558;
  --gold: #d6b46d;
  --gold-light: #f5d77f;
  --white: #ffffff;
  --text: #e9eaf4;
  --muted: #a6abc9;
  --faint: #6f7499;
  --line: rgba(214, 180, 109, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --ok: #7fd4a4;
  --err: #ff9a8b;
  --gold-grad: linear-gradient(100deg, #a77f52 0%, #d9b56e 30%, #f5d77f 50%, #d2ad68 70%, #a77f52 100%);
  --display: "Gabriel Sans", "Host Grotesk", system-ui, sans-serif;
  --body: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6;
  background: radial-gradient(120% 70% at 50% 110%, #0f1d6b 0%, rgba(15, 29, 107, 0) 60%), radial-gradient(80% 50% at 85% 0%, rgba(18, 35, 122, .35), transparent 70%), var(--ink);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--white); margin: 0; }
.eyebrow.gold { color: var(--gold); }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; margin: 0; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; margin: 10px 0 14px; }
.lede { color: var(--muted); font-size: 17px; max-width: 620px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(5, 7, 26, .72); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.link { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--white); }
.voter-chip { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 999px; padding: 6px 8px 6px 12px; }
.voter-chip.show { display: inline-flex; }
.voter-chip button { background: none; border: 0; color: var(--gold); font: inherit; cursor: pointer; padding: 2px 6px; }
@media (max-width: 760px) { .nav { gap: 10px; } .nav a.link { display: none; } .voter-chip { padding: 4px; } .voter-chip .email { display: none; } .brand img { height: 32px; } }

/* ---------- buttons ---------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #1a1306; background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 8px 30px -10px rgba(245, 215, 127, .55), inset 0 1px 0 rgba(255, 255, 255, .45); transition: background-position .5s ease, transform .15s ease, box-shadow .3s; white-space: nowrap; }
.btn:hover { color: #1a1306; background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(245, 215, 127, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:active { transform: translateY(0); }
.btn.sm { --h: 40px; padding: 0 18px; font-size: 12px; }
.btn.ghost { background: transparent; color: var(--gold-light); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold-light); color: var(--white); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.voted { background: rgba(127, 212, 164, .12); color: var(--ok); border: 1px solid rgba(127, 212, 164, .4); box-shadow: none; }

/* ---------- rings motif ---------- */
.rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.rings::before, .rings::after { content: ""; position: absolute; left: 50%; top: 52%; width: 1500px; height: 1500px; translate: -50% -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 120px, rgba(32, 52, 160, .16) 121px 168px, transparent 169px 230px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%); mask-image: radial-gradient(circle, #000 30%, transparent 68%); }
.rings::after { width: 1100px; height: 1100px; top: 60%; left: 62%; opacity: .6; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { translate: -54% -46%; } }
@media (prefers-reduced-motion: reduce) { .rings::after { animation: none; } html { scroll-behavior: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); text-align: center; isolation: isolate; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-mark { width: 74px; margin: 0 auto 30px; opacity: .95; }
.hero .display { font-size: clamp(42px, 8.4vw, 104px); margin-top: 26px; }
.hero .display span { display: block; }
.year-rule { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 22px auto 0; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .14em; color: var(--white); }
.year-rule::before, .year-rule::after { content: ""; width: clamp(50px, 10vw, 120px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 70%, transparent); }
.tagline { margin: 22px 0 0; font-family: var(--display); font-weight: 400; font-style: normal; font-size: clamp(16px, 2vw, 20px); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }

.countdown { display: flex; justify-content: center; gap: clamp(10px, 2vw, 18px); margin: 44px auto 0; }
.cd-unit { width: clamp(70px, 15vw, 116px); padding: 16px 6px 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(19, 26, 74, .78), rgba(10, 13, 39, .78)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.cd-num { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 5.6vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.cd-lbl { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.cd-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.cd-note strong { color: var(--white); font-weight: 600; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); background: rgba(10, 13, 39, .6); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 212, 164, .18); animation: pulse 2s infinite; }
.status-pill.closed i { background: var(--err); box-shadow: 0 0 0 4px rgba(255, 154, 139, .18); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127, 212, 164, 0); } }

/* ---------- event strip ---------- */
.event-strip { display: flex; justify-content: center; flex-wrap: wrap; border-block: 1px solid var(--line-soft); background: rgba(5, 7, 26, .5); }
.event-strip div { padding: 22px clamp(18px, 4vw, 48px); font-family: var(--display); font-weight: 500; font-size: clamp(14px, 1.8vw, 19px); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); position: relative; }
.event-strip div + div::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 2px; background: var(--gold-dark); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { margin-bottom: 40px; }

/* progress */
.progress { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(13, 18, 54, .6); font-size: 14px; color: var(--muted); }
.progress[hidden] { display: none; }
.progress .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--gold-grad); transition: width .6s ease; }
.progress strong { color: var(--white); }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 26px 24px 22px; border-radius: var(--radius); overflow: hidden; color: var(--text);
  background: linear-gradient(160deg, rgba(19, 26, 74, .9), rgba(8, 11, 34, .92)); border: 1px solid var(--line-soft); transition: transform .25s ease, border-color .25s, box-shadow .25s; isolation: isolate; }
.cat-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 190px; height: 150px; background: url("../img/mark-gold.svg") no-repeat center / contain; opacity: .07; z-index: -1; transition: opacity .3s, transform .4s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 50px -24px rgba(245, 215, 127, .35); color: var(--text); }
.cat-card:hover::after { opacity: .16; transform: translate(-6px, -6px); }
.cat-num { font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.cat-card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.12; text-transform: uppercase; margin: 14px 0 10px; color: var(--white); }
.cat-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cat-foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); }
.cat-foot .go { color: var(--gold-light); font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.cat-card.is-voted { border-color: rgba(127, 212, 164, .35); }
.cat-card .voted-tag { display: none; color: var(--ok); font-size: 13px; }
.cat-card.is-voted .voted-tag { display: inline-flex; gap: 6px; align-items: center; }
.cat-card.is-voted .go { display: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: rgba(10, 13, 39, .55); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin: 18px 0 8px; color: var(--white); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* show / trophy */
.show { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.show-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.show-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245, 215, 127, .22), rgba(18, 35, 122, .25) 45%, transparent 70%); filter: blur(10px); }
.show-art img { position: relative; max-height: 520px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.show dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 36px; margin: 28px 0 0; }
.show dt { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.show dd { margin: 0; font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--gold-light); text-transform: uppercase; grid-row: 2; }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; } .show-art { min-height: 320px; } .show-art img { max-height: 360px; } }

/* rules */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 40px; }
.rules details { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.rules summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; font-weight: 600; color: var(--white); }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .2s; }
.rules details[open] summary::after { transform: rotate(45deg); }
.rules p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- category page ---------- */
.cat-hero { position: relative; padding: clamp(48px, 7vw, 84px) 0 34px; text-align: center; overflow: hidden; isolation: isolate; }
.cat-hero .display { font-size: clamp(34px, 6vw, 68px); margin-top: 18px; }
.cat-hero .lede { margin: 18px auto 0; }
.cat-tabs { position: sticky; top: 72px; z-index: 30; background: rgba(5, 7, 26, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line-soft); }
.cat-tabs ul { display: flex; gap: 6px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cat-tabs ul::-webkit-scrollbar { display: none; }
.cat-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: 13px; color: var(--muted); border: 1px solid transparent; }
.cat-tabs a:hover { color: var(--white); }
.cat-tabs a[aria-current="page"] { color: var(--gold-light); border-color: var(--line); background: rgba(19, 26, 74, .7); }
.cat-tabs .tick { color: var(--ok); display: none; }
.cat-tabs a.is-voted .tick { display: inline; }

.nominee-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 3vw, 40px) 22px; padding-top: 44px; }
.nominee-grid .nominee { width: 236px; }
@media (max-width: 560px) { .nominee-grid { gap: 28px 12px; } .nominee-grid .nominee { width: calc(50% - 6px); } .nominee h3 { font-size: 15px; } }
.nominee { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 6px 4px; border-radius: var(--radius); transition: opacity .3s; }
.oval { position: relative; width: min(100%, 190px); aspect-ratio: 3 / 4; border-radius: 50%; padding: 6px; background: linear-gradient(150deg, #f5d77f, #ad8558 35%, #f0cf7a 60%, #8d6740); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(245, 215, 127, .15); transition: transform .3s ease, box-shadow .3s ease; }
.oval::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid rgba(255, 240, 200, .55); pointer-events: none; z-index: 2; }
.oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--navy-2); }
.nominee:hover .oval { transform: translateY(-4px); box-shadow: 0 30px 54px -20px rgba(245, 215, 127, .35), 0 0 0 1px rgba(245, 215, 127, .3); }
.nominee h3 { margin: 20px 0 4px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--white); line-height: 1.2; }
.nominee .sub { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.nominee .btn { margin-top: 16px; }
.nominee.is-choice .oval { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--ok), 0 24px 50px -20px rgba(127, 212, 164, .4); }
.nominee-grid.has-voted .nominee:not(.is-choice) { opacity: .5; }
.your-pick { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--display); color: var(--ok); border: 1px solid rgba(127, 212, 164, .4); background: rgba(127, 212, 164, .08); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 40px; }
.notice { margin: 26px auto 0; max-width: 680px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(19, 26, 74, .55); color: var(--text); font-size: 15px; text-align: center; }
.pager { display: flex; justify-content: space-between; gap: 16px; padding: 56px 0 0; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line-soft); color: var(--white); min-width: 0; max-width: 48%; }
.pager a:hover { border-color: var(--line); }
.pager small { color: var(--faint); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.pager .next { margin-left: auto; text-align: right; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0 34px; margin-top: 40px; background: rgba(5, 7, 26, .6); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { height: 46px; width: auto; }
.powered { text-align: right; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.powered b { display: block; font-family: var(--body); font-size: 26px; letter-spacing: -.02em; text-transform: none; color: var(--white); font-weight: 700; line-height: 1.1; }
.foot-note { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 22px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 16, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(100%, 440px); max-height: calc(100vh - 32px); overflow: auto; padding: 34px 30px 28px; border-radius: 22px; background: linear-gradient(180deg, #121848, #0a0d27 70%); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); transform: translateY(14px) scale(.98); transition: transform .3s ease; text-align: center; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 20px; cursor: pointer; }
.modal-close:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.modal h2 { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 10px 0 8px; color: var(--white); line-height: 1.15; }
.modal p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.modal .oval { width: 110px; margin: 4px auto 16px; padding: 4px; }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.field { text-align: left; margin: 0 0 14px; }
.field label, .field .lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(5, 7, 26, .6); color: var(--white); font: inherit; font-size: 16px; transition: border-color .2s; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 109, .18); }
.code-input { text-align: center; font-family: var(--display); font-size: 28px; letter-spacing: .5em; padding-left: .5em; height: 62px; }
.check { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--muted); margin: 4px 0 18px; line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { margin: 0; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: var(--text); font-size: 14px; cursor: pointer; transition: all .15s; }
.choices input:checked + span { border-color: var(--gold); background: rgba(214, 180, 109, .14); color: var(--gold-light); }
.choices input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.modal .btn { width: 100%; height: auto; min-height: 50px; padding: 12px 20px; white-space: normal; line-height: 1.3; }
.modal .alt { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); background: none; border: 0; cursor: pointer; font-family: inherit; }
.modal .alt:hover { color: var(--white); }
.form-error { min-height: 0; color: var(--err); font-size: 14px; margin: 0 0 12px; text-align: left; }
.form-error:empty { display: none; }
.demo-code { margin: 0 0 14px; padding: 10px; border-radius: 10px; border: 1px dashed var(--gold); color: var(--gold-light); font-size: 13px; }
.success-mark { width: 74px; height: 74px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 212, 164, .12); border: 1px solid rgba(127, 212, 164, .5); color: var(--ok); font-size: 34px; }
.final-note { font-size: 13px !important; color: var(--faint) !important; margin: 14px 0 0 !important; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(26, 19, 6, .3); border-top-color: #1a1306; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; translate: -50% 20px; opacity: 0; padding: 12px 20px; border-radius: 999px; background: #141a45; border: 1px solid var(--line); color: var(--white); font-size: 14px; transition: all .3s; pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* keep Vote buttons aligned when names wrap */
.nominee .sub { margin-bottom: 16px; }
.nominee .btn, .nominee .your-pick { margin-top: auto; }
