:root {
  --ink: #f7f8fa;
  --muted: #91a0b7;
  --night: #07101d;
  --panel: #0d1828;
  --panel2: #111f32;
  --line: #26364e;
  --red: #ff3b3b;
  --gold: #ffd23f;
  --cyan: #2de1fc;
  --green: #57e389;
  --shadow: 0 24px 70px #0007;
  --radius: 22px;
  --topbar: 64px;
  --footer: 38px;
}

* { box-sizing: border-box; }
html {
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, #18335b 0, #0a1422 38%, #07101d 72%);
  background-attachment: fixed;
}
body.arena-mode { height: 100dvh; overflow: hidden; }
body.rankings-mode { min-height: 100vh; overflow-y: auto; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .055;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.topbar {
  height: var(--topbar);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid #ffffff14;
  background: #07101de8;
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  justify-self: start;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--red);
  font: 1000 22px/1 Impact, "Arial Black", sans-serif;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}
.brand b, .brand small { display: block; letter-spacing: .08em; line-height: 1; }
.brand b { font-size: 12px; }
.brand small { font-size: 9px; color: var(--muted); margin-top: 4px; }
.topbar nav {
  display: flex;
  gap: 6px;
  background: #ffffff08;
  border: 1px solid #ffffff10;
  padding: 4px;
  border-radius: 999px;
}
.nav-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
}
.nav-btn.active { background: #fff; color: #08101c; }
.header-actions { display: flex; align-items: center; gap: 16px; justify-self: end; }
.nominate-btn {
  border: 1px solid #ffffff20;
  background: #ffffff08;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  cursor: pointer;
}
.nominate-btn:hover { border-color: #ffffff50; background: #ffffff10; }
.live-pill {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-pill i {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #ff3b3b22;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }

main { max-width: 1420px; margin: auto; padding: 0 clamp(14px, 3.8vw, 54px); }
body.arena-mode main { height: calc(100dvh - var(--topbar) - var(--footer)); }
.view { display: none; }
.view.active { display: block; }
body.arena-mode #arenaView.active {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(245px, 1fr) 58px auto;
  gap: 0;
  align-items: center;
}

.arena-head { text-align: center; padding: 14px 0 2px; }
.eyebrow { font-size: 10px; letter-spacing: .2em; font-weight: 900; color: var(--cyan); }
h1, h2, .name, .result-panel strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .02em;
}
.arena-head h1, .rankings-hero h1 {
  font-size: clamp(50px, min(6.6vw, 8.4vh), 92px);
  line-height: .82;
  margin: 3px 0 8px;
  font-style: italic;
}
.arena-head h1 em, .rankings-hero h1 em { color: var(--gold); font-style: italic; }
.arena-meta-row { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 22px; }
.subline { color: var(--muted); font-size: 12px; margin: 0; }
.subline span { color: #fff; font-weight: 900; }
.micro-share {
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  padding: 4px 0;
}
.micro-share:disabled { opacity: .35; cursor: default; }

.matchup {
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  align-items: stretch;
  width: 100%;
  height: min(100%, 360px);
  margin: auto;
  max-width: 1160px;
  min-height: 250px;
}
.contender-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #14243a, #0b1625 68%);
  color: white;
  padding: 24px 28px 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s, filter .18s;
}
.contender-card:hover:not(:disabled) { transform: translateY(-4px); border-color: #ffffff66; }
.contender-card:active:not(:disabled) { transform: translateY(-1px) scale(.996); }
.contender-card:disabled { cursor: default; }
.contender-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #ffffff11, transparent 44%);
  pointer-events: none;
}
.contender-card.left { border-top-right-radius: 7px; border-bottom-right-radius: 7px; }
.contender-card.right { border-top-left-radius: 7px; border-bottom-left-radius: 7px; }
.seed {
  position: absolute;
  top: 17px;
  left: 19px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
.visual {
  height: clamp(66px, 9vh, 96px);
  width: clamp(66px, 9vh, 96px);
  display: grid;
  place-items: center;
  margin: 2px 0 12px;
  z-index: 1;
}
.visual .icon {
  font-size: clamp(58px, 8.2vh, 88px);
  filter: drop-shadow(0 12px 14px #0005);
  line-height: 1;
}
.visual img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 12px 14px #0006);
}
.name {
  font-size: clamp(34px, min(4vw, 6.3vh), 58px);
  line-height: .9;
  text-transform: uppercase;
  max-width: 470px;
  z-index: 1;
}
.choice-rule {
  width: 72%;
  border-top: 1px solid #ffffff22;
  margin-top: 20px;
  z-index: 1;
}
.versus {
  align-self: center;
  justify-self: center;
  z-index: 3;
  width: 76px;
  height: 76px;
  border: 6px solid var(--night);
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px #000b;
  transform: rotate(-5deg);
}
.versus span { font: 1000 30px/1 Impact, sans-serif; }
.loading { filter: saturate(.2); opacity: .75; }
.result-bar, .result-pct { display: none; }
.matchup.resolved .choice-rule { display: none; }
.matchup.resolved .result-bar {
  display: block;
  width: 72%;
  height: 8px;
  background: #ffffff12;
  border-radius: 99px;
  margin-top: 20px;
  overflow: hidden;
  z-index: 1;
}
.result-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width .65s cubic-bezier(.2, .8, .2, 1);
}
.matchup.resolved .result-pct {
  display: block;
  font: 900 34px/1 Impact, sans-serif;
  margin-top: 8px;
  z-index: 1;
}
.matchup.resolved .contender-card.loser { filter: saturate(.35) brightness(.62); }
.matchup.resolved .contender-card.winner {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 25px 75px #0009;
}
.matchup.resolved .contender-card.winner::before {
  content: "WINNER";
  position: absolute;
  right: -44px;
  top: 24px;
  background: var(--gold);
  color: #111;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .14em;
  padding: 6px 48px;
  transform: rotate(39deg);
  z-index: 2;
}

.result-panel {
  position: fixed;
  left: 50%;
  top: var(--result-top, 68vh);
  bottom: auto;
  transform: translate(-50%, calc(-50% + 18px)) scale(.985);
  width: min(1100px, calc(100vw - 36px));
  border: 1px solid #2de1fc88;
  border-left: 5px solid var(--gold);
  background: linear-gradient(105deg, #10243af7, #0a1524f7 72%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  box-shadow: 0 22px 70px #000d, 0 0 36px #2de1fc19;
  transition: opacity .2s, transform .24s cubic-bezier(.2,.8,.2,1);
}
.result-panel.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.result-panel > div:first-child { display: grid; gap: 3px; }
.result-kicker { font-size: 8px; letter-spacing: .18em; color: var(--cyan); font-weight: 900; }
.result-panel strong { font-size: 25px; }
.result-panel > div > span:last-child { font-size: 11px; color: #b6c2d4; }
.result-actions { display: flex; gap: 8px; }
.primary, .secondary, .text-btn { border: 0; cursor: pointer; font-weight: 900; }
.primary, .secondary { padding: 11px 15px; border-radius: 10px; }
.primary { background: var(--gold); color: #111; }
.secondary { background: #ffffff0d; color: white; border: 1px solid #ffffff24; }
.secondary:hover { background: #ffffff15; }
.primary:disabled, .secondary:disabled { opacity: .45; cursor: not-allowed; }

.ticker-slot {
  height: 58px;
  display: grid;
  place-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  transform: translateY(-30px);
}
.ticker-wrap {
  width: 100%;
  height: 34px;
  overflow: hidden;
  border-block: 1px solid #ffffff13;
  background: #050b13;
}
.ticker {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  height: 100%;
  width: max-content;
  animation: ticker 92s linear infinite;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .17em;
  color: #a8b4c6;
}
.ticker b { color: var(--red); font-size: 11px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.scoreboard { max-width: 1080px; width: 100%; margin: 0 auto 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 9px; }
.section-head h2 { font-size: 26px; margin: 2px 0; }
.text-btn { background: none; color: var(--gold); font-size: 11px; }
.mini-rankings {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.mini-row { padding: 11px 12px; border-right: 1px solid var(--line); background: #0b1625; min-height: 72px; min-width: 0; }
.mini-row:last-child { border-right: 0; }
.mini-rank { color: var(--red); font: 900 22px/1 Impact; white-space: nowrap; }
.mini-name { font-weight: 900; margin-top: 6px; line-height: 1.05; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-thumb { width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; background: transparent; }
.mini-rating { font-size: 9px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.rankings-view { padding-bottom: 44px; }
.rankings-hero { text-align: center; padding: 48px 0 24px; }
.rankings-hero h1 { margin-top: 12px; }
.rankings-share { margin-top: 2px; }
.category-tabs { display: flex; gap: 8px; overflow: auto; padding: 0 0 14px; scrollbar-width: none; }
.category-tab {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #0b1625;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.category-tab.active { background: var(--gold); color: #111; border-color: var(--gold); }
.rank-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: #0a1523; }
.rank-table { border-collapse: collapse; width: 100%; min-width: 800px; table-layout: fixed; }
.rank-table th:nth-child(1) { width: 12%; }
.rank-table th:nth-child(2) { width: 42%; }
.rank-table th:nth-child(3) { width: 12%; }
.rank-table th:nth-child(4) { width: 11%; }
.rank-table th:nth-child(5) { width: 14%; }
.rank-table th:nth-child(6) { width: 9%; }
.rank-table th, .rank-table td { padding: 15px 18px; border-bottom: 1px solid #ffffff0e; text-align: left; overflow: hidden; }
.rank-table th { font-size: 9px; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.rank-table tbody tr:hover { background: #ffffff04; }
.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  font-weight: 900;
}
.sort-btn span { color: #5e718b; font-size: 8px; }
.sort-btn.active { color: #dbe3ee; }
.sort-btn.active span { color: var(--gold); }
.rank-num { font: 900 24px/1 Impact; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank-num.top { color: var(--gold); }
.rank-num.provisional { color: var(--cyan); font-size: 18px; letter-spacing: .04em; }
.rank-contender { display: flex; align-items: center; gap: 12px; font-weight: 900; min-width: 0; }
.rank-contender > div { min-width: 0; }
.rank-contender .emoji, .rank-contender .thumb { font-size: 27px; width: 34px; height: 34px; text-align: center; object-fit: contain; border-radius: 8px; flex: 0 0 auto; background: transparent; }
.rank-contender-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-cat { font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rating, .rank-stat { font-weight: 950; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; }
.streak.win { color: var(--green); }
.streak.loss { color: #ff7676; }
.provisional-row { background: #2de1fc08; }

footer {
  height: var(--footer);
  border-top: 1px solid #ffffff10;
  color: #627087;
  display: grid;
  place-items: center;
  padding: 0 18px;
  font-size: 8px;
  letter-spacing: .13em;
  font-weight: 800;
  text-align: center;
}
.toast {
  position: fixed;
  bottom: 54px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #fff;
  color: #111;
  padding: 11px 15px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 850;
  z-index: 100;
  transition: .2s;
  box-shadow: 0 10px 35px #0008;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.nominate-dialog {
  width: min(520px, calc(100vw - 26px));
  border: 1px solid #ffffff25;
  border-radius: 22px;
  background: linear-gradient(155deg, #14243a, #08131f 70%);
  color: white;
  padding: 0;
  box-shadow: 0 35px 100px #000d;
  overflow: hidden;
}
.nominate-dialog::backdrop { background: #030710c7; backdrop-filter: blur(7px); }
.nominate-dialog form { padding: 28px; position: relative; min-height: 390px; }
.nominate-dialog h2 { font-size: 38px; margin: 5px 0 8px; }
.nominate-dialog p { color: var(--muted); line-height: 1.5; font-size: 13px; }
.dialog-close { position: absolute; right: 16px; top: 14px; border: 0; background: none; color: #8e9bad; font-size: 28px; cursor: pointer; z-index: 4; }
.dialog-close:disabled { opacity: .25; cursor: default; }
.nominate-dialog fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.nominate-dialog label { display: grid; gap: 7px; margin-top: 17px; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.nominate-dialog label small { color: var(--muted); font-weight: 600; }
.nominate-dialog input, .nominate-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #07111f;
  color: #fff;
  border-radius: 11px;
  padding: 12px;
  outline: none;
}
.nominate-dialog input:focus, .nominate-dialog textarea:focus { border-color: var(--cyan); }
.nominate-dialog textarea { resize: vertical; min-height: 90px; }
.nominate-dialog fieldset:disabled { opacity: .55; }
.nomination-duplicate-check { margin-top:10px; padding:11px 12px; border-radius:10px; border:1px solid #ffd23f55; background:#3b2d0d; color:#ffe99a; font-size:11px; line-height:1.45; font-weight:800; }
.nomination-duplicate-check.exact { border-color:#ff6b6b66; background:#3b1518; color:#ffc1c1; }
.nomination-duplicate-check.clear { border-color:#57e38955; background:#0e3021; color:#a9f6c8; }
.nomination-duplicate-check[hidden] { display:none; }
.nomination-duplicate-check .match-list { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.nomination-duplicate-check .match-chip { border:1px solid currentColor; border-radius:999px; padding:4px 7px; font-size:9px; opacity:.92; }
.nomination-similar-confirm { margin-top:9px; width:100%; }
.nomination-similar-confirm[hidden] { display:none; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.fine-print { margin-bottom: 0; font-size: 10px !important; }
.nomination-success {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(390px, calc(100% - 42px));
  background: #fff;
  color: #0b1320;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 24px 22px;
  display: grid;
  gap: 9px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 26px 80px #000b;
  animation: confirmationIn .18s ease-out forwards;
}
.nomination-success[hidden] { display: none; }
.nomination-success strong { font: 900 25px/1 Impact, sans-serif; letter-spacing: .04em; }
.nomination-success span { font-size: 12px; line-height: 1.5; color: #455267; font-weight: 700; }
@keyframes confirmationIn { to { transform: translate(-50%, -50%) scale(1); } }

.share-dialog {
  width: min(840px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  border: 1px solid #ffffff25;
  border-radius: 22px;
  background: linear-gradient(155deg, #14243a, #08131f 70%);
  color: white;
  padding: 0;
  box-shadow: 0 35px 100px #000d;
  overflow: auto;
}
.share-dialog::backdrop { background: #030710c7; backdrop-filter: blur(8px); }
.share-shell { position: relative; padding: 24px; }
.share-heading { padding-right: 42px; }
.share-heading h2 { font-size: 38px; margin: 4px 0 4px; }
.share-heading p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.share-preview-frame {
  position: relative;
  aspect-ratio: 1200 / 630;
  border: 1px solid #ffffff20;
  border-radius: 16px;
  overflow: hidden;
  background: #060d17;
  box-shadow: inset 0 0 40px #0008;
}
.share-preview-frame img { width: 100%; height: 100%; display: block; object-fit: contain; }
.share-preview-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .16em;
  background: linear-gradient(135deg,#0b1625,#07101d);
}
.share-preview-loading.hidden { display: none; }
.share-platform-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.share-platform {
  border: 1px solid #ffffff20; background: #ffffff08; color: #fff; border-radius: 12px;
  padding: 10px 7px; display: grid; gap: 5px; place-items: center; cursor: pointer; min-width: 0;
}
.share-platform:hover { border-color: #ffffff55; background: #ffffff10; }
.share-platform b { font-size: 18px; line-height: 1; }
.share-platform span { font-size: 9px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.share-platform.instagram b { color: #ff78bd; }
.share-platform.facebook b { color: #7eb2ff; }
.share-platform.whatsapp b { color: #5ee68a; }
.share-platform.reddit b { color: #ff7a49; }
.share-platform.system { border-color: #ffd23f66; }
.share-tools { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.share-hint { margin: 10px 0 0; color: #8290a5; font-size: 10px; line-height: 1.45; }
.share-hint b { color: #cfd7e4; }

@media (max-height: 850px) and (min-width: 801px) {
  :root { --topbar: 58px; --footer: 34px; }
  .brand-mark { width: 32px; height: 32px; }
  .arena-head { padding-top: 8px; }
  .arena-head h1 { font-size: clamp(46px, 7.4vh, 70px); margin-bottom: 5px; }
  body.arena-mode #arenaView.active { grid-template-rows: auto minmax(215px, 1fr) 48px auto; }
  .matchup { height: min(100%, 310px); min-height: 220px; }
  .contender-card { padding-block: 18px; }
  .visual { height: clamp(55px, 8vh, 78px); width: clamp(55px, 8vh, 78px); margin-bottom: 8px; }
  .visual .icon { font-size: clamp(48px, 7.2vh, 72px); }
  .name { font-size: clamp(30px, 5.8vh, 48px); }
  .choice-rule { margin-top: 15px; }
  .ticker-slot { height: 48px; transform: translateY(-24px); }
  .ticker-wrap { height: 32px; }
  .scoreboard { margin-bottom: 4px; }
  .section-head { margin-bottom: 5px; }
  .section-head h2 { font-size: 23px; }
  .mini-row { min-height: 63px; padding: 8px 10px; }
  .mini-rank { font-size: 20px; }
  .mini-name { margin-top: 4px; font-size: 12px; }
  .result-panel { padding: 12px 16px; }
}

@media (max-width: 800px) {
  body.arena-mode { height: auto; min-height: 100vh; overflow-y: auto; }
  body.arena-mode main { height: auto; }
  .topbar { grid-template-columns: 1fr auto; height: auto; min-height: 62px; padding: 9px 14px; gap: 8px; }
  .topbar nav { order: 3; grid-column: 1/-1; justify-self: center; }
  .brand b { font-size: 10px; }
  .brand small { font-size: 8px; }
  .header-actions { gap: 9px; }
  .live-pill { display: none; }
  .nominate-btn { font-size: 9px; padding: 7px 9px; }
  body.arena-mode #arenaView.active { display: block; }
  .arena-head { padding: 28px 0 20px; }
  .arena-head h1 { font-size: clamp(48px, 15vw, 72px); }
  .arena-meta-row { flex-wrap: wrap; }
  .matchup { grid-template-columns: 1fr; height: auto; min-height: 0; gap: 0; }
  .contender-card { min-height: 290px; border-radius: 18px !important; }
  .versus { width: 64px; height: 64px; margin: -11px auto; }
  .ticker-slot { height: 72px; margin-top: 20px; transform: none; }
  .ticker-wrap { height: 38px; }
  .ticker { font-size: 9px; }
  .scoreboard { padding-bottom: 20px; }
  .mini-rankings { grid-template-columns: 1fr; }
  .mini-row { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .mini-row:last-child { border-bottom: 0; }
  .result-panel {
    top: auto !important;
    bottom: 18px;
    transform: translate(-50%, 18px) scale(.985);
    width: calc(100vw - 24px);
    display: grid;
    gap: 12px;
    border-left-width: 1px;
    border-top: 5px solid var(--gold);
  }
  .result-panel.show { transform: translate(-50%, 0) scale(1); }
  .result-actions { width: 100%; }
  .result-actions button { flex: 1; }
  .rankings-hero { padding: 36px 0 22px; }
  .rankings-hero h1 { font-size: clamp(52px, 15vw, 80px); }
  .rank-table-wrap { border-radius: 12px; }
  .nominate-dialog form { padding: 24px 20px; }
  .share-shell { padding: 20px; }
  .share-heading h2 { font-size: 32px; }
  .share-platform-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .share-tools { display: grid; grid-template-columns: 1fr 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Production security challenges */
.turnstile-slot:empty { display:none; }
.turnstile-slot { min-height:0; display:flex; justify-content:center; align-items:center; margin:4px 0 10px; }
.security-dialog { max-width:540px; }
.security-shell { position:relative; padding:30px; background:#0d1c2f; border:1px solid #31435d; border-radius:22px; color:#fff; }
.security-shell h2 { margin:8px 0 8px; font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif; font-size:44px; text-transform:uppercase; }
.security-shell p { color:#91a0b7; line-height:1.5; margin:0 0 18px; }
