:root {
  --bg: #f4f0e7;
  --ink: #11110f;
  --paper: #fffdf7;
  --muted: #ece6da;
  --line: #c9c0b1;
  --subtle: #655f54;
  --accent: #dfff4f;
  --pink: #ff5c75;
  --violet: #7c6cff;
  --aqua: #5ee6c4;
  --orange: #ffb84d;
  --danger: #c72e49;
  --radius: 22px;
  --shadow: 7px 7px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.55 Arial, "Helvetica Neue", Helvetica, sans-serif;
  background-image: radial-gradient(circle at 1px 1px, rgba(17,17,15,.07) 1px, transparent 0);
  background-size: 24px 24px;
}
body, button, input, select, textarea { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
button, input, select, textarea { font-size: 1rem; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); background: var(--accent); border: 2px solid var(--ink); padding: 10px 14px; font-weight: 900; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(790px, calc(100% - 32px)); margin-inline: auto; }
.section { padding-block: 72px; }
.section.compact { padding-block: 52px; }
.center { text-align: center; }
.mt-medium { display: block; margin-top: 28px; }
.mt-large { margin-top: 42px; }
.span-two { grid-column: span 2; }

.display { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; letter-spacing: -.065em; line-height: .94; text-transform: uppercase; }
.hero-title { margin: 18px 0 0; max-width: 980px; font-size: clamp(3.45rem, 8vw, 7rem); }
.jumbo { margin-block: 22px; font-size: clamp(3.3rem, 8vw, 6rem); }
.eyebrow { font-size: .72rem; line-height: 1.3; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.accent-text { color: var(--accent); }
.lede, .hero-copy { max-width: 760px; margin: 20px 0 0; font-size: 1.04rem; line-height: 1.75; color: rgba(255,255,255,.64); }
.dark-copy { color: rgba(17,17,15,.72); }
.under-link { font-size: .9rem; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: rgba(255,255,255,.56); font-size: .78rem; font-weight: 800; }
.pill { display: inline-flex; width: max-content; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 11px; color: var(--ink); background: var(--paper); font-size: .66rem; line-height: 1; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pill.accent { background: var(--accent); }
.pill.outline { background: transparent; }
.pill.outline-light { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }

.site-header { position: sticky; z-index: 100; top: 0; color: #fff; background: rgba(12,11,18,.96); border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.05rem; letter-spacing: -.04em; }
.brand small { margin-top: 5px; color: rgba(255,255,255,.48); font-size: .59rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; min-width: 0; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { border-radius: 999px; padding: 9px 10px; color: rgba(255,255,255,.64); text-decoration: none; font-size: .75rem; font-weight: 900; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: var(--accent); }
.account-nav { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.text-link { color: #fff; font-size: .76rem; font-weight: 900; text-underline-offset: 4px; }
.menu-toggle { display: none; margin-left: auto; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; padding: 8px 13px; font-weight: 900; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 20px; color: var(--ink); background: var(--paper); text-decoration: none; font-size: .86rem; font-weight: 900; line-height: 1.15; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }
.button.dark { color: var(--accent); background: var(--ink); }
.button.light { color: var(--ink); background: #fff; }
.button.accent { color: var(--ink); background: var(--accent); }
.button.mini { min-height: 36px; padding: 8px 14px; font-size: .74rem; }
.button.wide { width: 100%; }
.inline-form { display: inline-flex; margin: 0; }
.vote-button { min-width: 94px; overflow: hidden; }
.vote-button > b { display: grid; min-width: 27px; height: 27px; place-items: center; margin: -4px -10px -4px 2px; border-radius: 50%; color: var(--ink); background: var(--accent); font-size: .68rem; }
.vote-button:not(:disabled) { animation: vote-button-pulse 2.8s ease-in-out infinite; }
.vote-button.is-cooling { min-width: 112px; animation: none; opacity: .65; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.link-button { border: 0; color: inherit; background: transparent; padding: 0; text-decoration: underline; font-size: inherit; }

.flash-stack { position: fixed; z-index: 200; top: 88px; right: 16px; display: grid; width: min(430px, calc(100% - 32px)); gap: 10px; }
.flash { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; color: var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); font-size: .88rem; font-weight: 800; animation: flash-pop .32s cubic-bezier(.2,.9,.2,1.15); }
.flash.success { background: var(--accent); }
.flash.error { color: #fff; background: var(--danger); }
.flash.info { background: var(--orange); }
.flash button { border: 0; color: inherit; background: transparent; font-size: 1.3rem; line-height: 1; }

.dark-hero, .battle-hero { color: #fff; background-color: #0c0b12; border-bottom: 2px solid var(--ink); }
.battle-bg, .battle-hero { background-image: radial-gradient(circle at 78% 12%, rgba(223,255,79,.16), transparent 24rem), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.dopamine-hero { position: relative; overflow: hidden; background-image: radial-gradient(circle at 82% 20%, rgba(223,255,79,.24), transparent 26rem), radial-gradient(circle at 10% 90%, rgba(124,108,255,.18), transparent 24rem), linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); }
.dopamine-hero::after { position: absolute; width: 380px; height: 380px; right: -170px; bottom: -250px; border: 70px solid rgba(223,255,79,.08); border-radius: 50%; content: ""; animation: hero-orbit 8s ease-in-out infinite alternate; }
.culture-ticker { position: relative; z-index: 2; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--ink); background: var(--accent); white-space: nowrap; }
.culture-ticker > div { display: flex; width: max-content; align-items: center; gap: 24px; padding-block: 8px; font-size: .65rem; font-weight: 900; letter-spacing: .17em; animation: ticker-run 22s linear infinite; }
.culture-ticker i { font-style: normal; }
.dopamine-hero .battle-heading { position: relative; z-index: 2; align-items: center; padding-bottom: 0; border: 0; }
.dopamine-hero .hero-title { font-size: clamp(3.7rem, 7.3vw, 7.2rem); }
.dopamine-hero .hero-title > span { color: var(--accent); text-shadow: 5px 5px 0 rgba(124,108,255,.45); }
.live-label { display: inline-flex; align-items: center; gap: 8px; color: var(--subtle); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.live-label.light { color: rgba(255,255,255,.62); }
.live-label i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255,92,117,.7); animation: live-ping 1.7s ease-out infinite; }
.battle-command-stats { display: grid; min-width: 325px; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.055); box-shadow: 6px 6px 0 rgba(223,255,79,.75); backdrop-filter: blur(10px); }
.battle-command-stats > div { display: grid; min-height: 94px; align-content: center; padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.15); }
.battle-command-stats > div:nth-child(2) { border-right: 0; }
.battle-command-stats > div:last-child { grid-column: 1 / -1; min-height: 62px; border-top: 1px solid rgba(255,255,255,.15); border-right: 0; }
.battle-command-stats strong { color: var(--accent); font: 900 2rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.06em; }
.battle-command-stats > div:last-child strong { font-size: 1.45rem; letter-spacing: .02em; }
.battle-command-stats span { margin-top: 7px; color: rgba(255,255,255,.48); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.battle-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.18); }
.battle-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 24px; margin-top: 28px; }
.arena-panel { border: 1px solid rgba(255,255,255,.2); border-radius: 28px; padding: 24px; background: rgba(255,255,255,.055); }
.panel-heading, .panel-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel-heading h2 { margin: 7px 0 0; font-size: 1.6rem; letter-spacing: -.045em; }
.podium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.podium-card { display: flex; min-height: 280px; flex-direction: column; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 16px; background: rgba(0,0,0,.35); }
.podium-card.winner { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.rank-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rank-line > b { color: rgba(255,255,255,.18); font: 900 3rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.07em; }
.winner .rank-line > b { color: rgba(17,17,15,.23); }
.rank-line > span { border: 1px solid currentColor; border-radius: 999px; padding: 4px 7px; font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.creator-inline { display: flex; min-width: 0; align-items: center; gap: 11px; margin-top: auto; color: inherit; text-decoration: none; }
.creator-inline > span:last-child { display: grid; min-width: 0; }
.creator-inline strong, .creator-inline small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-inline strong { font-size: 1.02rem; letter-spacing: -.035em; }
.creator-inline small { margin-top: 2px; color: inherit; font-size: .7rem; opacity: .56; }
.creator-avatar { --creator-accent: var(--accent); display: grid; width: 64px; height: 64px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 2px solid var(--ink); border-radius: 50%; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff 0 7%, transparent 8%), linear-gradient(145deg, var(--creator-accent), #fff 135%); box-shadow: inset 0 0 0 5px rgba(255,255,255,.3); font-weight: 900; }
.creator-avatar.small { width: 48px; height: 48px; font-size: .78rem; }
.creator-avatar.large { width: 170px; height: 170px; font-size: 2.6rem; }
.creator-avatar.xlarge { width: 220px; height: 220px; font-size: 3.5rem; }
.podium-foot { display: flex; align-items: end; justify-content: space-between; gap: 9px; margin-top: 22px; }
.podium-foot > div { display: grid; }
.podium-foot > div > strong { font-size: 1.7rem; line-height: 1; }
.podium-foot > div > span { margin-top: 5px; font-size: .58rem; opacity: .6; }
.panel-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.panel-note p { max-width: 600px; margin: 0; color: rgba(255,255,255,.48); font-size: .72rem; }
.panel-note a { flex: 0 0 auto; color: var(--accent); font-size: .78rem; font-weight: 900; }
.side-stack { display: grid; align-content: start; gap: 18px; }
.dark-card { color: #fff; background: var(--ink); }
.wallet-card, .prize-card { border: 2px solid var(--ink); border-radius: 24px; padding: 22px; }
.wallet-card a { color: inherit; font-size: .72rem; font-weight: 900; }
.wallet-card h3 { margin: 18px 0 8px; font-size: 1.5rem; letter-spacing: -.045em; }
.wallet-card p { margin: 0 0 20px; color: rgba(255,255,255,.6); font-size: .84rem; }
.wallet-total { display: block; margin-top: 18px; color: var(--accent); font: 900 4rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; }
.wallet-label { display: block; margin-top: 6px; color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.wallet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.wallet-grid span { display: grid; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 9px; font-size: .63rem; }
.wallet-grid b { color: #fff; font-size: 1.05rem; }
.wallet-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); font-size: .68rem; font-weight: 800; }
.prize-card { background: var(--accent); box-shadow: 4px 4px 0 var(--ink); }
.prize-card > strong { display: block; margin-top: 18px; font-size: 3.2rem; }
.prize-card > b { display: block; margin-bottom: 15px; }
.prize-card > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; border-top: 1px solid rgba(17,17,15,.2); font-size: .7rem; }
.prize-card p { margin: 15px 0 0; border-radius: 12px; padding: 11px; color: #fff; background: var(--ink); font-size: .7rem; }

.card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; background: var(--paper); }
.thick-border { box-shadow: var(--shadow); }
.vote-meter-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.vote-meter-top h2 { margin: 8px 0 0; font-size: clamp(1.4rem, 3vw, 2.25rem); letter-spacing: -.05em; }
.vote-meter-top > strong { font: 900 2.5rem/1 "Arial Black", Arial, sans-serif; letter-spacing: -.06em; }
.progress-track { height: 14px; overflow: hidden; margin-top: 22px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.progress-track span { display: block; height: 100%; background: var(--accent); }
.progress-track.small { height: 10px; margin-top: 16px; }
.vote-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; margin-top: 12px; }
.vote-dots span { display: grid; aspect-ratio: 1.2; place-items: center; border: 2px solid var(--ink); border-radius: 9px; background: #fff; font-size: .7rem; font-weight: 900; }
.vote-dots span.complete { background: var(--accent); animation: dot-complete .35s cubic-bezier(.2,.9,.2,1.25); }
.vote-meter-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.vote-meter-foot p { margin: 0; color: var(--subtle); font-size: .78rem; }
.compact-meter { padding: 21px; box-shadow: 4px 4px 0 var(--ink); }
.compact-meter .vote-meter-top { align-items: flex-start; }
.compact-meter .vote-meter-top h2 { font-size: 1.15rem; }
.compact-meter .vote-meter-top > strong { font-size: 1.75rem; }
.compact-meter .progress-track { margin-top: 17px; }
.compact-meter .vote-dots { grid-template-columns: repeat(5, 1fr); }
.compact-meter .vote-meter-foot { grid-template-columns: 1fr; margin-top: 15px; }
.compact-meter .vote-meter-foot p:last-child { display: none; }

.home-arena { padding-top: 36px; }
.home-arena-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 20px; }
.home-game-rail { position: sticky; top: 96px; display: grid; gap: 18px; }
.home-ladder-panel { overflow: hidden; border: 2px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.ladder-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 28px; color: #fff; background: var(--ink); }
.ladder-head h2 { margin: 12px 0 0; font-size: clamp(2.45rem, 5vw, 4.6rem); }
.ladder-head p { max-width: 560px; margin: 11px 0 0; color: rgba(255,255,255,.58); font-size: .82rem; }
.ladder-head .live-label { color: var(--accent); }
.ladder-view-switch { display: flex; flex: 0 0 auto; gap: 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px; background: rgba(255,255,255,.06); }
.ladder-view-switch button { border: 0; border-radius: 999px; padding: 9px 13px; color: rgba(255,255,255,.6); background: transparent; font-size: .7rem; font-weight: 900; }
.ladder-view-switch button.active { color: var(--ink); background: var(--accent); }
.creator-search-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 20px 20px 10px; border: 3px solid var(--ink); border-radius: 17px; padding: 6px 12px 6px 17px; background: #fff; box-shadow: 4px 4px 0 var(--accent); transition: transform .16s ease, box-shadow .16s ease; }
.creator-search-box:focus-within { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--violet); }
.creator-search-box > span { font: 900 1.9rem/1 "Arial Black", Arial, sans-serif; transform: rotate(-18deg); }
.creator-search-box input { min-width: 0; border: 0; padding: 13px 0; background: transparent; font-size: 1.08rem; font-weight: 800; box-shadow: none; }
.creator-search-box input:focus { box-shadow: none; }
.creator-search-box kbd { border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 7px; padding: 4px 8px; color: var(--subtle); background: var(--muted); font: 800 .7rem/1 Arial, sans-serif; }
.category-strip { display: flex; gap: 7px; overflow-x: auto; padding: 8px 20px 15px; scrollbar-width: thin; }
.category-strip button { flex: 0 0 auto; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 12px; color: var(--ink); background: #fff; font-size: .68rem; font-weight: 900; }
.category-strip button:hover, .category-strip button.active { background: var(--accent); }
.ladder-meta { display: flex; justify-content: space-between; gap: 18px; padding: 10px 21px; border-block: 1px solid var(--line); color: var(--subtle); background: var(--muted); font-size: .63rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.home-ladder-list { background: #fff; }
.home-rank-row { position: relative; display: grid; grid-template-columns: 58px minmax(190px, 1fr) minmax(125px, .52fr) 100px auto; align-items: center; gap: 14px; min-height: 88px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #fff; animation: ladder-enter .35s both; animation-delay: calc(var(--row-index) * 26ms); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.home-rank-row::before { position: absolute; inset: 12px auto 12px 0; width: 5px; border-radius: 0 5px 5px 0; background: var(--creator-accent); content: ""; }
.home-rank-row:hover { z-index: 2; transform: translateX(4px); background: #fffef9; box-shadow: -4px 0 0 var(--creator-accent); }
.home-rank-row.rank-top-1 { background: linear-gradient(90deg, rgba(223,255,79,.9), #fff 62%); }
.home-rank-row.rank-top-2 { background: linear-gradient(90deg, rgba(124,108,255,.18), #fff 54%); }
.home-rank-row.rank-top-3 { background: linear-gradient(90deg, rgba(255,184,77,.25), #fff 54%); }
.home-rank-row:last-child { border-bottom: 0; }
.home-rank-number { color: rgba(17,17,15,.24); font: 900 2.15rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.07em; text-align: center; }
.rank-top-1 .home-rank-number { color: var(--ink); }
.home-creator { display: flex; min-width: 0; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.home-creator > span:last-child { display: grid; min-width: 0; }
.home-creator strong, .home-creator small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-creator strong { font-size: 1rem; letter-spacing: -.035em; }
.home-creator small { color: var(--subtle); font-size: .67rem; }
.ladder-heat, .ladder-score { display: grid; }
.ladder-heat b { font-size: .68rem; }
.ladder-heat span { margin-top: 3px; color: var(--subtle); font-size: .61rem; }
.ladder-score { text-align: right; }
.ladder-score strong { font: 900 1.28rem/.95 "Arial Black", Arial, sans-serif; letter-spacing: -.05em; }
.ladder-score span { margin-top: 4px; color: var(--subtle); font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.home-rank-row.is-voted { z-index: 3; animation: row-vote-hit .55s cubic-bezier(.2,.9,.2,1.15); }
.ladder-overflow:not(.is-revealed) { display: none; }
.ladder-empty { display: grid; justify-items: center; gap: 4px; padding: 54px 20px; text-align: center; }
.ladder-empty strong { font-size: 1.2rem; }
.ladder-empty span { color: var(--subtle); font-size: .78rem; }
.ladder-empty a { margin-top: 10px; font-size: .75rem; font-weight: 900; }
.ladder-expand { width: 100%; border: 0; border-top: 2px solid var(--ink); padding: 16px; color: var(--ink); background: var(--accent); font-size: .75rem; font-weight: 900; }
.ladder-expand:hover { background: #e9ff86; }
.ladder-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 2px solid var(--ink); padding: 17px 20px; background: var(--paper); }
.ladder-footer a { font-size: .72rem; font-weight: 900; text-underline-offset: 4px; }

.vote-burst-layer { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 18px; pointer-events: none; background: rgba(12,11,18,.2); backdrop-filter: blur(3px); animation: burst-layer .18s ease-out; }
.vote-burst { position: relative; z-index: 2; display: grid; width: min(470px, 100%); justify-items: center; overflow: hidden; border: 3px solid var(--ink); border-radius: 30px; padding: 34px 26px; color: var(--ink); background: var(--accent); box-shadow: 10px 10px 0 var(--ink); text-align: center; animation: vote-burst-in .42s cubic-bezier(.18,.9,.2,1.2); }
.vote-burst::before { position: absolute; width: 260px; height: 260px; border: 38px solid rgba(255,255,255,.45); border-radius: 50%; content: ""; }
.vote-burst > * { position: relative; z-index: 1; }
.vote-burst small { font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.vote-burst strong { margin-top: 10px; font: 900 clamp(3.6rem, 12vw, 6.5rem)/.8 "Arial Black", Arial, sans-serif; letter-spacing: -.09em; }
.vote-burst b { margin-top: 16px; font-size: 1.25rem; }
.vote-burst span { margin-top: 5px; font-size: .76rem; font-weight: 800; }
.confetti-piece { position: fixed; z-index: 1; top: -30px; width: 11px; height: 19px; border: 2px solid var(--ink); background: var(--confetti); transform: rotate(var(--rotation)); animation: confetti-fall var(--duration) cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--delay); }

@keyframes vote-button-pulse { 0%, 82%, 100% { box-shadow: none; } 88% { box-shadow: 0 0 0 5px rgba(223,255,79,.18); } }
@keyframes flash-pop { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hero-orbit { to { transform: translate(-70px, -45px) scale(1.12); } }
@keyframes ticker-run { to { transform: translateX(-50%); } }
@keyframes live-ping { 70% { box-shadow: 0 0 0 9px rgba(255,92,117,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,117,0); } }
@keyframes dot-complete { from { transform: scale(.68) rotate(-8deg); } to { transform: none; } }
@keyframes ladder-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes row-vote-hit { 0% { transform: scale(1); } 38% { transform: translateX(7px) scale(1.015); box-shadow: -7px 0 0 var(--accent); } 100% { transform: none; } }
@keyframes burst-layer { from { opacity: 0; } }
@keyframes vote-burst-in { from { opacity: 0; transform: translateY(28px) scale(.76) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes confetti-fall { to { top: 105vh; transform: translateX(var(--drift)) rotate(calc(var(--rotation) + 620deg)); } }
.surface-band { background: var(--paper); }
.thick-y { border-block: 2px solid var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(2.7rem, 6vw, 5rem); }
.section-heading > p { max-width: 480px; margin: 0; color: var(--subtle); font-size: .86rem; }
.section-heading.light > div > p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.62); }
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.stage { display: flex; min-height: 180px; flex-direction: column; border: 2px solid var(--ink); border-radius: 18px; padding: 20px; background: #fff; }
.stage.active { background: var(--accent); }
.stage.final { color: #fff; background: var(--ink); }
.stage > b { color: rgba(17,17,15,.2); font: 900 2.7rem/.9 "Arial Black", Arial, sans-serif; }
.stage.final > b { color: rgba(255,255,255,.2); }
.stage > strong { margin-top: auto; font-size: 1.1rem; letter-spacing: -.04em; }
.stage > span { color: var(--subtle); font-size: .68rem; }
.stage.final > span { color: rgba(255,255,255,.5); }
.pulse-band { color: #fff; background: var(--ink); border-bottom: 2px solid var(--ink); }
.pulse-layout { display: grid; grid-template-columns: 1fr 1fr; }
.pulse-layout > div { padding: 60px 42px; }
.pulse-layout > div:first-child { border-right: 1px solid rgba(255,255,255,.18); }
.pulse-layout h2 { max-width: 620px; margin: 18px 0 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.065em; }
.pulse-layout p { color: rgba(255,255,255,.6); font-size: .86rem; }
.poll-mini { display: grid; align-content: center; gap: 18px; }
.poll-mini > div > span { display: flex; justify-content: space-between; gap: 14px; font-size: .78rem; }
.poll-mini i { display: block; height: 8px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.13); }
.poll-mini em { display: block; height: 100%; background: var(--accent); }
.poll-mini small { color: rgba(255,255,255,.4); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { display: flex; min-height: 290px; flex-direction: column; border: 2px solid var(--ink); border-radius: 22px; padding: 24px; background: var(--paper); transition: transform .16s ease, box-shadow .16s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.number-badge { display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); font-size: .72rem; font-weight: 900; }
.feature-card small { margin-top: 24px; color: var(--subtle); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.feature-card h3 { margin: 7px 0 0; font-size: 1.5rem; line-height: 1.05; letter-spacing: -.05em; }
.feature-card p { margin: 12px 0 0; color: var(--subtle); font-size: .82rem; }
.feature-card a { margin-top: auto; padding-top: 20px; font-size: .78rem; font-weight: 900; text-underline-offset: 4px; }

.auth-page { min-height: calc(100vh - 76px); padding: 64px 16px; background: #0c0b12; }
.auth-card { display: grid; width: min(1050px, 100%); grid-template-columns: 1fr 1fr; margin: 0 auto; overflow: hidden; border: 2px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: 9px 9px 0 var(--accent); }
.auth-card.single { width: min(560px, 100%); grid-template-columns: 1fr; }
.auth-copy { padding: 54px; color: #fff; background: var(--ink); }
.auth-copy h1, .form-card > h1 { margin: 24px 0 0; font-size: clamp(3rem, 6vw, 5.4rem); }
.auth-copy p { color: rgba(255,255,255,.62); }
.auth-copy ul { margin: 30px 0 0; padding-left: 20px; color: rgba(255,255,255,.78); font-size: .88rem; }
.auth-copy li + li { margin-top: 9px; }
.form-card, .form-stack { display: grid; gap: 18px; }
.form-card { padding: 42px; }
.form-card h2 { margin: 0 0 4px; font-size: 2rem; letter-spacing: -.05em; }
label { display: grid; gap: 7px; font-size: .79rem; font-weight: 900; }
label small { color: var(--subtle); font-weight: 400; }
input, select, textarea { width: 100%; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; color: var(--ink); background: #fff; outline: none; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(223,255,79,.75); }
textarea { resize: vertical; line-height: 1.5; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: .76rem; font-weight: 600; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--ink); }
.form-foot { margin: 0; color: var(--subtle); text-align: center; font-size: .74rem; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
fieldset { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
legend { padding-inline: 7px; font-weight: 900; }
.choice-field { border: 0; padding: 0; }
.choice-field legend { padding: 0; font-size: .8rem; }
.check-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.check-pills label { display: block; }
.check-pills input { position: absolute; opacity: 0; pointer-events: none; }
.check-pills span { display: block; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; background: #fff; font-size: .73rem; }
.check-pills input:checked + span { background: var(--accent); }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr 340px; gap: 18px; }
.dashboard-grid .wallet-card { height: 100%; }
.stat-card { display: flex; flex-direction: column; }
.stat-card > strong { margin-top: 28px; font: 900 3.5rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.07em; }
.stat-card p { color: var(--subtle); font-size: .78rem; }
.content-grid { display: grid; gap: 18px; }
.content-grid.two { grid-template-columns: 1fr 1fr; }
.content-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -26px -26px 0; padding: 20px 24px; border-bottom: 2px solid var(--ink); }
.card-heading h2 { margin: 4px 0 0; font-size: 1.35rem; letter-spacing: -.045em; }
.card-heading > span, .card-heading > a { font-size: .72rem; font-weight: 900; }
.accent-heading { background: var(--accent); }
.list-card { padding-bottom: 0; overflow: hidden; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-inline: -26px; padding: 15px 24px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.list-row:last-child { border-bottom: 0; }
.list-row > span { display: grid; }
.list-row strong { font-size: .86rem; }
.list-row small, .list-row time { color: var(--subtle); font-size: .68rem; }
.badge-row { justify-content: flex-start; }
.empty-state { padding: 36px 12px; text-align: center; }
.empty-state.large { margin-top: 24px; padding: 70px 24px; }
.empty-state strong { font-size: 1.2rem; }
.empty-state p { margin: 6px auto 15px; color: var(--subtle); font-size: .82rem; }
.creator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.creator-grid.compact-grid { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.creator-tile { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; padding: 12px; color: inherit; background: #fff; text-decoration: none; }
.creator-tile > span { display: grid; min-width: 0; }
.creator-tile strong, .creator-tile small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-tile small { color: var(--subtle); font-size: .68rem; }

.hero-metric { display: grid; min-width: 180px; align-self: end; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px; background: rgba(255,255,255,.05); }
.hero-metric strong { color: var(--accent); font: 900 2.5rem/.9 "Arial Black", Arial, sans-serif; }
.hero-metric span { margin-top: 5px; color: rgba(255,255,255,.5); font-size: .68rem; font-weight: 900; }
.tab-row { display: flex; gap: 8px; margin-top: 30px; overflow-x: auto; scrollbar-width: none; }
.tab-row a { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 14px; color: #fff; text-decoration: none; font-size: .72rem; font-weight: 900; }
.tab-row a.active { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.filter-bar { display: grid; grid-template-columns: 1fr minmax(200px, 290px) auto; gap: 10px; border: 2px solid var(--ink); border-radius: 20px; padding: 14px; background: var(--paper); }
.ranking-list { margin-top: 18px; overflow: hidden; border: 2px solid var(--ink); border-radius: 22px; background: var(--paper); }
.ranking-row { display: grid; grid-template-columns: 70px minmax(220px, 1fr) minmax(170px, .55fr) auto auto; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ranking-row:last-child { border-bottom: 0; }
.ranking-row .creator-inline { margin-top: 0; }
.rank-number { color: rgba(17,17,15,.22); font: 900 2.2rem/.9 "Arial Black", Arial, sans-serif; }
.vote-breakdown { display: grid; }
.vote-breakdown strong { font-size: 1.2rem; }
.vote-breakdown span { color: var(--subtle); font-size: .62rem; }
.status { display: inline-flex; width: max-content; border-radius: 999px; padding: 5px 9px; background: var(--muted); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.status.approved, .status.selected, .status.verified { background: var(--accent); }
.status.pending { background: var(--orange); }
.status.rejected { color: #fff; background: var(--danger); }
.status.neutral { background: var(--muted); }

.shuffle-card { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border: 2px solid var(--ink); border-radius: 28px; background: var(--accent); box-shadow: var(--shadow); }
.shuffle-art { display: grid; min-height: 430px; place-items: center; border-right: 2px solid var(--ink); background: radial-gradient(circle at 50% 45%, var(--creator-accent) 0 25%, transparent 26%), repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.55) 0 4px, transparent 5px 18px); }
.shuffle-copy { display: flex; flex-direction: column; padding: 42px; }
.shuffle-copy > .eyebrow { margin-top: 42px; }
.shuffle-copy h2 { margin: 10px 0 0; font-size: clamp(3rem, 6vw, 5.3rem); }
.shuffle-copy > b { margin-top: 8px; }
.shuffle-copy > p { max-width: 600px; }
.shuffle-copy > a { width: max-content; margin-top: auto; }
.creator-card { display: grid; grid-template-columns: auto 1fr; gap: 15px; border: 2px solid var(--ink); border-radius: 20px; padding: 18px; background: var(--paper); }
.creator-card h3 { margin: 4px 0 0; font-size: 1.25rem; letter-spacing: -.045em; }
.creator-card > div > b { font-size: .72rem; }
.creator-card p { min-height: 64px; margin: 10px 0; color: var(--subtle); font-size: .76rem; }
.creator-card-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.creator-card-foot > span { display: grid; color: var(--subtle); font-size: .62rem; }
.creator-card-foot > span > strong { color: var(--ink); font-size: 1rem; }

.poll-card h2, .ballot-card h2 { margin: 18px 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.06em; }
.poll-options, .ballot-options { display: grid; gap: 10px; margin-top: 28px; }
.poll-choice, .ballot-option { display: flex; width: 100%; min-height: 64px; align-items: center; gap: 14px; border: 2px solid var(--ink); border-radius: 16px; padding: 13px 16px; color: var(--ink); background: #fff; text-align: left; }
.poll-choice:hover, .ballot-option:hover:not(:disabled), .poll-result.selected, .ballot-option.selected { background: var(--accent); }
.poll-choice > b { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 2px solid var(--ink); border-radius: 50%; }
.poll-choice > span { margin-left: auto; font-size: .72rem; font-weight: 900; }
.poll-result { border: 2px solid var(--ink); border-radius: 16px; padding: 13px 16px; background: #fff; }
.poll-result > span { display: flex; align-items: center; gap: 12px; }
.poll-result > span > b { display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; }
.poll-result em, .ballot-option em { margin-left: auto; font-style: normal; font-weight: 900; }
.poll-result > i { display: block; height: 7px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: rgba(17,17,15,.12); }
.poll-result > i > u { display: block; height: 100%; background: var(--ink); }
.poll-result > small { color: var(--subtle); font-size: .65rem; }
.ballot-card > p { color: var(--subtle); }
.ballot-option { align-items: flex-start; }
.ballot-option > span { display: grid; }
.ballot-option small { margin-top: 3px; color: var(--subtle); font-size: .7rem; }

.creator-hero { background: linear-gradient(118deg, var(--creator-accent), #fff 82%); border-bottom: 2px solid var(--ink); }
.creator-hero-grid { display: grid; grid-template-columns: 240px 1fr 240px; align-items: center; gap: 38px; padding-block: 62px; }
.creator-big-avatar { display: grid; place-items: center; }
.creator-handle { display: block; margin-top: 12px; font-size: 1.1rem; }
.creator-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.creator-score { display: grid; border: 2px solid var(--ink); border-radius: 20px; padding: 20px; background: rgba(255,255,255,.72); box-shadow: 5px 5px 0 var(--ink); }
.creator-score > strong { margin-top: 16px; font: 900 3.7rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; }
.creator-score > b { margin-block: 6px 14px; }
.creator-score > div { display: flex; justify-content: space-between; gap: 10px; padding-block: 6px; border-top: 1px solid rgba(17,17,15,.18); font-size: .7rem; }
.notice { border: 1.5px solid var(--ink); border-radius: 15px; padding: 16px; background: var(--muted); font-size: .8rem; }
.notice p { margin: 5px 0 0; }

.mission-list { display: grid; gap: 22px; margin-top: 34px; }
.mission-card { display: grid; grid-template-columns: .75fr 1.1fr; overflow: hidden; border: 2px solid var(--ink); border-radius: 26px; background: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.mission-title { padding: 28px; background: var(--accent); }
.mission-title > .eyebrow { display: block; margin-top: 36px; }
.mission-title h3 { margin: 10px 0; font-size: 2rem; line-height: 1; letter-spacing: -.055em; }
.mission-title p { font-size: .82rem; }
.mission-facts { display: grid; grid-template-columns: 1fr 1fr; align-content: start; padding: 14px; }
.mission-facts > div { display: grid; min-height: 105px; align-content: center; border: 1px solid var(--line); padding: 15px; }
.mission-facts span { color: var(--subtle); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mission-facts b { margin-top: 5px; font-size: .78rem; }
.mission-action { grid-column: 1 / -1; margin: 0 14px 14px; }
.mission-action.form-stack { border: 2px solid var(--ink); border-radius: 17px; padding: 18px; background: #fff; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.step-grid article { min-height: 220px; border: 2px solid var(--ink); border-radius: 20px; padding: 22px; background: #fff; }
.step-grid article > b { color: rgba(17,17,15,.2); font: 900 2.4rem/1 "Arial Black", Arial, sans-serif; }
.step-grid h3 { margin: 35px 0 8px; font-size: 1.15rem; letter-spacing: -.04em; }
.step-grid p { margin: 0; color: var(--subtle); font-size: .78rem; }
.lane-card { border: 2px solid var(--ink); border-radius: 22px; padding: 26px; background: var(--paper); }
.lane-card.accent { background: var(--accent); }
.lane-card h3 { margin: 18px 0 0; font-size: 3rem; }
.lane-card p { color: var(--subtle); font-size: .82rem; }

.article-page h1 { margin: 24px 0 30px; font-size: clamp(3.5rem, 8vw, 6rem); }
.article-page h2 { margin: 45px 0 12px; font-size: 1.65rem; letter-spacing: -.05em; }
.article-page p, .article-page li { color: #403c35; }
.article-page li + li { margin-top: 9px; }
.article-page .notice { color: var(--ink); }
.legal-page { padding-top: 88px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-grid article { display: grid; border: 2px solid var(--ink); border-radius: 18px; padding: 20px; background: var(--paper); }
.metric-grid span { color: var(--subtle); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.metric-grid strong { margin-top: 20px; font: 900 2.5rem/.9 "Arial Black", Arial, sans-serif; letter-spacing: -.06em; }
.beta-lab { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; color: #fff; background: var(--ink); }
.beta-lab h2 { margin: 7px 0; }
.beta-lab p { max-width: 650px; margin: 0; color: rgba(255,255,255,.55); font-size: .78rem; }
.beta-lab .wallet-meta { grid-column: 1 / -1; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.queue-card { overflow: hidden; padding-bottom: 0; }
.queue-item { display: grid; gap: 13px; margin-inline: -26px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.queue-item:last-child { border-bottom: 0; }
.queue-item .split > div { display: grid; }
.queue-item small { color: var(--subtle); font-size: .68rem; }
.queue-item p { margin: 0; color: var(--subtle); font-size: .78rem; }
.queue-item > a { font-size: .75rem; font-weight: 900; }
.mission-review { grid-template-columns: 1fr auto; align-items: center; }
.create-mission { padding: 0; overflow: hidden; }
.create-mission summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; cursor: pointer; background: var(--accent); }
.create-mission summary > span { display: grid; }
.create-mission summary strong { margin-top: 3px; font-size: 1.3rem; }
.create-mission > form { padding: 26px; }
.audit-row { display: grid; grid-template-columns: 150px minmax(180px, 1fr) 220px; gap: 18px; margin-inline: -26px; padding: 12px 24px; border-bottom: 1px solid var(--line); font-size: .7rem; }
.audit-row:last-child { border-bottom: 0; }
.audit-row time, .audit-row code { color: var(--subtle); }

.site-footer { color: #fff; background: #0c0b12; border-top: 2px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; padding-block: 42px; }
.footer-note { max-width: 620px; margin: 16px 0 0; color: rgba(255,255,255,.46); font-size: .7rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; color: rgba(255,255,255,.65); font-size: .72rem; font-weight: 800; }
.site-footer form { display: inline-flex; }

.install-body { min-height: 100vh; padding: 48px 16px; color: #fff; background: #0c0b12; background-image: radial-gradient(circle at 78% 12%, rgba(223,255,79,.16), transparent 26rem), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.install-shell { width: min(900px, 100%); margin-inline: auto; }
.install-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.install-brand img { width: 58px; height: 58px; object-fit: contain; }
.install-brand > div { display: grid; }
.install-brand strong { font-size: 1.3rem; }
.install-brand span { color: rgba(255,255,255,.5); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.install-card { border: 2px solid var(--ink); border-radius: 28px; padding: 42px; color: var(--ink); background: var(--paper); box-shadow: 9px 9px 0 var(--accent); }
.install-card > h1 { margin: 24px 0 0; font-size: clamp(3rem, 8vw, 6rem); }
.install-card > .lede { color: var(--subtle); }
.install-card fieldset { display: grid; gap: 16px; }
.install-card fieldset + fieldset { margin-top: 4px; }
.alert { border: 2px solid var(--ink); border-radius: 13px; padding: 13px 15px; font-size: .8rem; font-weight: 800; }
.alert.error { color: #fff; background: var(--danger); }
.success-panel p { color: var(--subtle); }
.success-panel .button { margin-top: 20px; }

@media (max-width: 1120px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; order: 4; width: 100%; flex-wrap: wrap; margin: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); }
  .site-nav.open { display: flex; }
  .account-nav { margin-left: auto; }
  .battle-layout { grid-template-columns: 1fr; }
  .home-arena-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .home-rank-row { grid-template-columns: 52px minmax(180px, 1fr) 90px auto; }
  .home-rank-row .ladder-heat { display: none; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid .span-two { grid-column: 1 / -1; }
  .ranking-row { grid-template-columns: 60px minmax(200px, 1fr) minmax(150px, .55fr) auto; }
  .ranking-row > .status { display: none; }
  .creator-grid { grid-template-columns: 1fr 1fr; }
  .creator-hero-grid { grid-template-columns: 200px 1fr; }
  .creator-hero-grid .creator-score { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); align-items: end; }
  .creator-score > strong, .creator-score > b { margin: 0; }
  .creator-score > .eyebrow { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .section { padding-block: 52px; }
  .section.compact { padding-block: 40px; }
  .battle-heading, .section-heading { align-items: flex-start; flex-direction: column; }
  .dopamine-hero .battle-heading { align-items: flex-start; }
  .battle-command-stats { width: 100%; min-width: 0; }
  .home-arena-layout { grid-template-columns: 1fr; }
  .home-game-rail { position: static; grid-template-columns: 1fr 1fr; }
  .home-game-rail > .prize-card { grid-column: 1 / -1; }
  .ladder-head { align-items: flex-start; flex-direction: column; }
  .podium-grid { grid-template-columns: 1fr; }
  .podium-card { min-height: 210px; }
  .side-stack { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr 1fr; }
  .pulse-layout { grid-template-columns: 1fr; }
  .pulse-layout > div { padding: 44px 24px; }
  .pulse-layout > div:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .auth-card { grid-template-columns: 1fr; }
  .auth-copy, .form-card { padding: 32px; }
  .content-grid.two, .content-grid.three, .admin-columns { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .ranking-row { grid-template-columns: 52px 1fr auto; }
  .ranking-row .vote-breakdown { grid-column: 2; }
  .ranking-row > .inline-form { grid-column: 3; grid-row: 1 / span 2; }
  .shuffle-card { grid-template-columns: 1fr; }
  .shuffle-art { min-height: 300px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .shuffle-copy { min-height: 420px; padding: 28px; }
  .mission-card { grid-template-columns: 1fr; }
  .mission-facts { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .creator-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .creator-actions, .creator-hero .pill-row { justify-content: center; }
  .creator-hero .hero-copy { margin-inline: auto; }
  .creator-hero-grid .creator-score { grid-column: auto; text-align: left; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .beta-lab { grid-template-columns: 1fr; }
  .beta-lab .wallet-meta { grid-column: auto; }
  .mission-review { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .shell, .narrow { width: min(100% - 22px, 1240px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand small { display: none; }
  .brand strong { font-size: .95rem; }
  .account-nav .text-link { display: none; }
  .account-nav .button { max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-nav a { flex: 1 0 29%; text-align: center; }
  .hero-title { font-size: clamp(3rem, 16vw, 5rem); }
  .dopamine-hero .hero-title { font-size: clamp(3.25rem, 16vw, 5.1rem); }
  .culture-ticker > div { gap: 18px; font-size: .58rem; }
  .battle-command-stats { grid-template-columns: 1fr 1fr; }
  .battle-command-stats > div { min-height: 78px; padding: 12px; }
  .battle-command-stats strong { font-size: 1.65rem; }
  .home-arena { width: min(100% - 14px, 1240px); padding-top: 18px; }
  .home-game-rail { grid-template-columns: 1fr; }
  .home-game-rail > .prize-card { grid-column: auto; }
  .home-ladder-panel { border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .ladder-head { padding: 22px 18px; }
  .ladder-head h2 { font-size: 2.55rem; }
  .ladder-view-switch { width: 100%; }
  .ladder-view-switch button { flex: 1; }
  .creator-search-box { margin: 14px 12px 7px; padding-left: 12px; }
  .creator-search-box > span, .creator-search-box kbd { display: none; }
  .category-strip { padding-inline: 12px; }
  .ladder-meta { padding-inline: 13px; }
  .ladder-meta span:last-child { display: none; }
  .home-rank-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; padding: 13px 11px; }
  .home-rank-number { font-size: 1.5rem; }
  .home-creator { gap: 8px; }
  .home-creator .creator-avatar { width: 42px; height: 42px; }
  .home-creator strong { font-size: .88rem; }
  .ladder-score { grid-column: 3; grid-row: 1; }
  .ladder-score strong { font-size: 1rem; }
  .home-rank-row > .vote-form { grid-column: 2 / -1; width: 100%; }
  .home-rank-row > .vote-form .button { width: 100%; }
  .ladder-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .arena-panel, .card, .wallet-card, .prize-card, .install-card { padding: 20px; }
  .panel-heading { align-items: flex-start; flex-direction: column; }
  .panel-note { align-items: flex-start; flex-direction: column; }
  .vote-dots { grid-template-columns: repeat(5, 1fr); }
  .vote-meter-foot { grid-template-columns: 1fr; }
  .stage-grid, .feature-grid, .creator-grid, .creator-grid.compact-grid, .dashboard-grid, .form-grid.two, .mission-facts, .step-grid, .metric-grid { grid-template-columns: 1fr; }
  .pulse-layout > div { padding-inline: 12px; }
  .form-card, .auth-copy { padding: 24px; }
  .card-heading { margin: -20px -20px 0; padding: 17px 19px; }
  .list-row, .queue-item, .audit-row { margin-inline: -20px; padding-inline: 19px; }
  .filter-bar { grid-template-columns: 1fr; }
  .ranking-row { grid-template-columns: 42px 1fr; padding: 14px; }
  .ranking-row > .inline-form { grid-column: 1 / -1; grid-row: auto; }
  .ranking-row > .inline-form .button { width: 100%; }
  .rank-number { font-size: 1.6rem; }
  .shuffle-copy { min-height: 450px; }
  .creator-avatar.xlarge { width: 170px; height: 170px; }
  .creator-hero-grid .creator-score { grid-template-columns: 1fr; }
  .mission-facts > div { min-height: auto; }
  .audit-row { grid-template-columns: 1fr; gap: 2px; }
  .install-body { padding: 24px 11px; }
  .install-card { padding: 24px; }
  .flash-stack { top: 74px; right: 11px; width: calc(100% - 22px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
