:root {
  --paper: #f4f3ed;
  --surface: #fffdf8;
  --ink: #11110f;
  --muted: #65645f;
  --line: rgba(17, 17, 15, .14);
  --line-strong: rgba(17, 17, 15, .28);
  --acid: #c7ff3d;
  --blue: #355cff;
  --coral: #ff5b4f;
  --shadow-border: 0 0 0 1px var(--line);
  --shadow-card: 0 0 0 1px var(--line), 0 2px 2px rgba(17,17,15,.04), 0 12px 28px -24px rgba(17,17,15,.48);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.not-found { display: grid; place-items: center; min-height: 100vh; }
.not-found main { text-align: center; }
.not-found h1 { margin: 0; font-size: clamp(5rem,20vw,14rem); letter-spacing: -.08em; }
.not-found a { color: inherit; font-weight: 700; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
mark { color: inherit; background: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -60px; background: var(--ink); color: white; padding: 12px 18px; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.page-grid { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,243,237,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: 68px; width: min(1320px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; justify-self: start; font-size: 18px; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.wordmark small { font-size: 10px; font-family: var(--mono); letter-spacing: -.03em; margin-left: 2px; color: var(--muted); }
.wordmark i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(199,255,61,.24); margin-left: 9px; animation: livePulse 2s ease-in-out infinite; }
.desktop-nav { display: flex; gap: 28px; align-items: center; }
.desktop-nav a { font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s; }
.desktop-nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; }
.menu-toggle, .mobile-nav { display: none; }
.button { min-height: 44px; border: 0; border-radius: 7px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-size: 13px; font-weight: 650; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button span { font-family: var(--mono); }
.button-dark { background: var(--ink); color: white; box-shadow: 0 6px 18px -14px rgba(0,0,0,.8); }
.button-dark:hover { background: #2a2a26; }
.button-accent { background: var(--acid); color: var(--ink); box-shadow: var(--shadow-border); }
.button-accent:hover { background: #d4ff68; }
.button-large { min-height: 52px; padding-inline: 20px; }

.ticker-shell { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: max-content minmax(0,1fr); height: 40px; overflow: hidden; background: var(--surface); }
.ticker-label { font: 600 10px/40px var(--mono); letter-spacing: .06em; padding: 0 24px; border-right: 1px solid var(--line); white-space: nowrap; }
.ticker-label span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-right: 7px; }
.ticker-window { overflow: hidden; }
.ticker-track { width: max-content; display: flex; align-items: center; height: 100%; animation: ticker 30s linear infinite; }
.ticker-window:hover .ticker-track, .ticker-window:focus .ticker-track { animation-play-state: paused; }
.ticker-track > span { padding-inline: 28px; font: 500 11px/1 var(--mono); border-right: 1px solid var(--line); color: var(--muted); }
.ticker-track strong { color: var(--ink); font-weight: 600; }
.ticker-track b { color: var(--blue); margin-left: 7px; }

.intro { min-height: 560px; padding: 88px 0 72px; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); gap: 84px; align-items: end; }
.eyebrow { margin: 0 0 17px; font: 600 10px/1 var(--mono); letter-spacing: .09em; color: var(--muted); }
.intro h1 { max-width: 820px; margin: 0; font-size: clamp(58px, 7.3vw, 110px); line-height: .85; letter-spacing: -.075em; font-weight: 650; }
.intro h1 mark { display: inline-block; margin-left: 8%; position: relative; }
.intro h1 mark::after { content: ''; position: absolute; z-index: -1; left: -1%; right: -3%; bottom: 4%; height: 25%; background: var(--acid); transform: rotate(-1deg); }
.lede { max-width: 665px; margin: 34px 0 30px; font-size: clamp(18px, 2vw, 24px); line-height: 1.38; letter-spacing: -.025em; color: #3d3c38; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-line { margin: 20px 0 0; font-size: 12px; color: var(--muted); }
.trust-line span { color: var(--ink); font-weight: 700; margin-right: 5px; }
.board-pulse { align-self: center; background: var(--ink); color: white; box-shadow: 9px 9px 0 var(--acid); }
.pulse-head { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; font: 600 9px/1 var(--mono); letter-spacing: .08em; }
.pulse-head b { color: var(--acid); }
.pulse-head b i { display: inline-block; width: 5px; height: 5px; background: var(--acid); border-radius: 50%; margin-right: 5px; }
.pulse-rank, .pulse-next { display: flex; justify-content: space-between; align-items: flex-end; padding: 24px 20px 17px; border-bottom: 1px solid rgba(255,255,255,.14); }
.pulse-rank span, .pulse-next span { max-width: 80px; font: 500 9px/1.35 var(--mono); color: rgba(255,255,255,.55); }
.pulse-rank strong { font: 600 clamp(40px,5vw,68px)/.8 var(--mono); letter-spacing: -.07em; }
.pulse-next { padding-block: 16px; }
.pulse-next strong { font: 600 22px/1 var(--mono); color: var(--acid); }
.pulse-scale { padding: 18px 20px; display: grid; gap: 6px; }
.pulse-scale i { height: 4px; background: rgba(255,255,255,.22); }
.pulse-scale i:nth-child(1) { width: 100%; }
.pulse-scale i:nth-child(2) { width: 55%; }
.pulse-scale i:nth-child(3) { width: 31%; }
.pulse-scale i:nth-child(4) { width: 18%; }
.pulse-scale i:first-child { background: var(--acid); }
.pulse-action { width: 100%; min-height: 55px; border: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 0 20px; background: transparent; color: white; display: flex; align-items: center; justify-content: space-between; font-weight: 650; cursor: pointer; }
.pulse-action:hover { color: var(--acid); }

.leaderboard-section { padding: 84px 0 110px; background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head h2, .how-heading h2, .rules-title h2 { margin: 0; font-size: clamp(38px,5vw,72px); line-height: .98; letter-spacing: -.06em; }
.section-head > p { margin: 0; max-width: 430px; justify-self: end; font-size: 17px; line-height: 1.5; color: var(--muted); }
.board-wrap { box-shadow: var(--shadow-card); background: var(--surface); }
.board-toolbar { min-height: 66px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.filter-tab { min-height: 40px; border: 0; background: transparent; padding: 0 14px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.filter-tab:hover { color: var(--ink); background: rgba(17,17,15,.05); }
.filter-tab.is-active { background: var(--ink); color: white; }
.preview-note { white-space: nowrap; font: 600 9px/1 var(--mono); color: var(--coral); letter-spacing: .06em; padding-right: 6px; }
.board { display: grid; }
.app-row { position: relative; display: grid; grid-template-columns: 118px minmax(260px,1fr) 120px 120px 130px 152px; min-height: 105px; align-items: stretch; border-bottom: 1px solid var(--line); transition: background .2s, transform .25s, opacity .25s; }
.app-row:hover { background: #faf9f3; }
.app-row.is-top { min-height: 188px; grid-template-columns: 170px minmax(300px,1fr) 150px 150px 140px 188px; background: var(--paper); }
.rank-cell { border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font: 600 clamp(42px,5vw,80px)/1 var(--mono); letter-spacing: -.09em; color: var(--ink); }
.is-top .rank-cell { font-size: clamp(72px,8vw,120px); background: var(--acid); }
.app-cell { padding: 18px 22px; display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 18px; align-items: center; }
.is-top .app-cell { grid-template-columns: 94px minmax(0,1fr); padding: 24px 28px; }
.app-icon { position: relative; width: 66px; height: 66px; border-radius: 17px; overflow: hidden; display: grid; place-items: center; color: white; font-size: 26px; font-weight: 700; letter-spacing: -.05em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 8px 18px -13px rgba(0,0,0,.8); }
.is-top .app-icon { width: 94px; height: 94px; border-radius: 23px; font-size: 36px; }
.app-icon::after { content: ''; position: absolute; inset: 12%; border: 2px solid rgba(255,255,255,.55); border-radius: 34% 66% 53% 47%; transform: rotate(28deg); }
.app-icon span { position: relative; z-index: 1; }
.icon-blink { background: #355cff; }
.icon-petal { background: #f05a47; }
.icon-mood { background: #11110f; color: var(--acid); }
.icon-orbit { background: #8d5bff; }
.icon-pocket { background: #12a36d; }
.icon-lens { background: #efad13; color: #111; }
.icon-lilt { background: #f04c97; }
.icon-step { background: #2a8999; }
.app-copy { min-width: 0; }
.app-copy .labels { display: flex; gap: 6px; align-items: center; margin-bottom: 7px; }
.badge { padding: 4px 6px; background: rgba(17,17,15,.07); border-radius: 4px; font: 600 8px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.badge.featured { background: var(--ink); color: white; }
.app-copy h3 { margin: 0; font-size: 22px; line-height: 1.05; letter-spacing: -.045em; }
.is-top .app-copy h3 { font-size: 34px; }
.app-copy p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-cell { padding: 18px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.metric-cell span { font: 600 8px/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.metric-cell strong { font: 600 18px/1 var(--mono); }
.bid-cell strong { color: var(--blue); font-size: 22px; }
.movement { display: inline-flex; align-items: center; gap: 4px; color: #16855a !important; }
.movement.down { color: var(--coral) !important; }
.action-cell { border-left: 1px solid var(--line); display: flex; justify-content: center; align-items: center; padding: 14px; }
.rank-action { width: 100%; min-height: 44px; background: transparent; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 11px; font-weight: 650; cursor: pointer; }
.rank-action:hover { background: var(--ink); color: white; border-color: var(--ink); }
.is-top .rank-action { background: var(--ink); color: white; border-color: var(--ink); }
.is-top .rank-action:hover { background: var(--blue); border-color: var(--blue); }
.empty-state { padding: 80px 20px; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.board-bottom { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 20px; }
.board-bottom p { margin: 0; font-weight: 600; letter-spacing: -.02em; }

.how-section { padding: 120px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.how-heading h2 { font-size: clamp(40px,5vw,66px); }
.flow { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.flow li { min-height: 105px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; align-items: center; transition: padding-left .2s; }
.flow li:hover { padding-left: 8px; }
.flow li > span { font: 600 10px/1 var(--mono); color: var(--blue); }
.flow strong { font-size: 22px; letter-spacing: -.04em; }
.flow p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.submit-band { background: var(--acid); border-block: 1px solid var(--ink); }
.submit-band-inner { min-height: 420px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.submit-band h2 { margin: 0; font-size: clamp(50px,6.5vw,94px); line-height: .89; letter-spacing: -.075em; }
.submit-band h2 mark { background: var(--ink); color: var(--acid); padding: 0 .08em; }
.submit-band-action { max-width: 480px; justify-self: end; }
.submit-band-action p { margin: 0 0 24px; font-size: 20px; line-height: 1.45; letter-spacing: -.025em; }

.rules-section { padding: 120px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.rules-title h2 { font-size: clamp(40px,4.8vw,68px); }
.transparency { margin: 0 0 48px; font-size: 25px; line-height: 1.35; letter-spacing: -.035em; }
.rule-list { border-top: 1px solid var(--ink); }
.rule-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.rule-list span { font: 600 9px/1.5 var(--mono); color: var(--blue); }
.rule-list p { margin: 0; display: grid; grid-template-columns: 190px 1fr; gap: 24px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.rule-list strong { color: var(--ink); font-size: 16px; }

.site-footer { background: var(--ink); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; }
.wordmark-footer { font-size: 24px; }
.wordmark-footer small { color: rgba(255,255,255,.5); }
.footer-grid p { color: rgba(255,255,255,.55); }
.footer-grid nav { display: flex; gap: 28px; align-items: start; font-size: 13px; }
.footer-grid nav button { border: 0; padding: 0; background: none; color: white; cursor: pointer; font: inherit; }
.footer-small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.17); padding-top: 22px; display: flex; justify-content: space-between; font: 500 10px/1 var(--mono); color: rgba(255,255,255,.45); }

.submit-dialog { width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: auto; }
.submit-dialog::backdrop { background: rgba(17,17,15,.74); backdrop-filter: blur(8px); }
.dialog-shell { position: relative; min-height: 700px; background: var(--surface); display: grid; grid-template-columns: .77fr 1.23fr; box-shadow: 14px 14px 0 var(--acid); }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 26px; line-height: 1; }
.dialog-copy { padding: 62px 42px; background: var(--ink); color: white; }
.dialog-copy h2 { margin: 0 0 20px; font-size: clamp(48px,5vw,72px); line-height: .9; letter-spacing: -.065em; }
.dialog-copy > p:not(.eyebrow) { color: rgba(255,255,255,.64); line-height: 1.5; }
.mini-rules { margin-top: 55px; display: grid; border-top: 1px solid rgba(255,255,255,.17); }
.mini-rules span { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.17); font: 500 10px/1 var(--mono); color: rgba(255,255,255,.7); }
#submit-form { padding: 42px; display: grid; align-content: start; gap: 17px; }
.form-status { padding: 12px 14px; background: rgba(53,92,255,.08); color: #294edc; font: 600 10px/1.3 var(--mono); }
#submit-form label, .bid-field > label { display: grid; gap: 7px; font-size: 11px; font-weight: 650; }
#submit-form input { width: 100%; min-height: 47px; border: 0; border-radius: 5px; box-shadow: var(--shadow-border); background: white; padding: 0 13px; font-size: 14px; }
#submit-form label small { min-height: 12px; color: var(--coral); font-size: 10px; }
#submit-form input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--coral); }
.bid-field { display: grid; gap: 9px; }
.bid-control { position: relative; }
.bid-control > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font: 600 15px/1 var(--mono); }
.bid-control input { padding-left: 30px !important; font-family: var(--mono) !important; font-weight: 600; }
.bid-range { min-height: 22px !important; padding: 0 !important; box-shadow: none !important; accent-color: var(--blue); }
.quick-bids { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-bids button { min-height: 34px; border: 1px solid var(--line); background: transparent; padding: 0 10px; border-radius: 5px; font: 600 10px/1 var(--mono); cursor: pointer; }
.quick-bids button:hover { border-color: var(--ink); }
.rank-projection { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px; background: var(--acid); box-shadow: var(--shadow-border); }
.rank-projection span { font: 600 8px/1 var(--mono); letter-spacing: .08em; }
.rank-projection strong { grid-row: span 2; font: 600 34px/1 var(--mono); letter-spacing: -.08em; }
.rank-projection p { margin: 5px 0 0; font-size: 11px; }
.listing-preview { min-height: 66px; padding: 8px 12px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; box-shadow: var(--shadow-border); background: var(--paper); }
.preview-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--blue); color: white; font-weight: 700; }
.listing-preview > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.listing-preview span { font: 600 7px/1 var(--mono); color: var(--muted); }
.listing-preview strong { font-size: 14px; }
.listing-preview small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-preview > b { font: 600 16px/1 var(--mono); color: var(--blue); }
.form-submit { width: 100%; }
.form-footnote { margin: -5px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.4; }
.success-state { grid-column: 1 / -1; min-height: 700px; padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.success-state > span { width: 76px; height: 76px; display: grid; place-items: center; background: var(--acid); border-radius: 50%; font-size: 32px; }
.success-state h2 { margin: 28px 0 10px; font-size: 56px; letter-spacing: -.06em; }
.success-state p { color: var(--muted); margin: 0 0 25px; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes livePulse { 50% { opacity: .45; transform: scale(.8); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.app-row { animation: rowIn .45s both; }
.app-row:nth-child(1) { animation-delay: 45ms; }
.app-row:nth-child(2) { animation-delay: 90ms; }
.app-row:nth-child(3) { animation-delay: 135ms; }
.app-row:nth-child(4) { animation-delay: 180ms; }
.app-row:nth-child(5) { animation-delay: 225ms; }
.app-row:nth-child(6) { animation-delay: 270ms; }
.app-row:nth-child(7) { animation-delay: 315ms; }
.app-row:nth-child(8) { animation-delay: 360ms; }

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

@media (max-width: 1100px) {
  .app-row, .app-row.is-top { grid-template-columns: 110px minmax(260px,1fr) 110px 110px 136px; }
  .app-row .time-cell { display: none; }
  .intro { gap: 45px; }
  .rules-section { gap: 60px; }
}

@media (max-width: 820px) {
  .page-grid, .header-inner { width: min(100% - 28px, 1320px); }
  .header-inner { grid-template-columns: 1fr auto auto; height: 62px; }
  .desktop-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 4px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); }
  .mobile-nav { padding: 8px 14px 14px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); font-weight: 600; }
  .mobile-nav .button { margin-top: 10px; }
  .ticker-shell { grid-template-columns: 1fr; height: 36px; }
  .ticker-label { display: none; }
  .intro { min-height: 0; padding: 64px 0; grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .intro-copy, .board-pulse { min-width: 0; }
  .board-pulse { width: 100%; max-width: 500px; overflow: hidden; }
  .intro h1 { font-size: clamp(54px, 13vw, 92px); }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head > p { justify-self: start; }
  .leaderboard-section { padding-block: 70px; }
  .board-toolbar { align-items: flex-start; flex-direction: column-reverse; gap: 8px; }
  .filter-tabs { max-width: 100%; }
  .app-row, .app-row.is-top { grid-template-columns: 80px minmax(0,1fr) 100px; min-height: 104px; }
  .app-row .click-cell, .app-row .time-cell, .app-row .action-cell { display: none; }
  .app-row .bid-cell { grid-column: 3; }
  .app-cell, .is-top .app-cell { grid-template-columns: 54px minmax(0,1fr); padding: 15px; gap: 13px; }
  .app-icon, .is-top .app-icon { width: 54px; height: 54px; border-radius: 14px; font-size: 22px; }
  .app-copy h3, .is-top .app-copy h3 { font-size: 20px; }
  .app-copy p { display: none; }
  .rank-cell, .is-top .rank-cell { font-size: 44px; }
  .is-top .rank-cell { background: var(--acid); }
  .metric-cell { padding: 12px; }
  .bid-cell strong { font-size: 17px; }
  .how-section, .rules-section { grid-template-columns: 1fr; gap: 55px; padding-block: 85px; }
  .submit-band-inner { grid-template-columns: 1fr; gap: 35px; padding-block: 75px; }
  .submit-band-action { justify-self: start; }
  .rule-list p { grid-template-columns: 1fr; gap: 5px; }
  .dialog-shell { grid-template-columns: 1fr; }
  .dialog-copy { padding: 44px 30px 34px; }
  .dialog-copy h2 { font-size: 47px; }
  .mini-rules { display: none; }
  #submit-form { padding: 30px; }
  .dialog-close { background: var(--acid); }
}

@media (max-width: 520px) {
  .wordmark { font-size: 16px; }
  .intro { padding-top: 51px; }
  .intro h1 { font-size: 49px; line-height: .9; }
  .intro h1 mark { display: block; margin-left: 0; white-space: nowrap; }
  .lede { font-size: 18px; }
  .pulse-rank strong { font-size: 44px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .section-head h2 { font-size: 42px; }
  .leaderboard-section { padding-top: 62px; }
  .board-wrap { width: 100%; }
  .board-toolbar { padding-inline: 7px; }
  .app-row, .app-row.is-top { grid-template-columns: 62px minmax(0,1fr) 76px; }
  .rank-cell, .is-top .rank-cell { font-size: 31px; }
  .app-cell, .is-top .app-cell { grid-template-columns: 43px minmax(0,1fr); padding: 12px 9px; gap: 9px; }
  .app-icon, .is-top .app-icon { width: 43px; height: 43px; border-radius: 11px; font-size: 18px; }
  .app-copy .labels .badge:not(.featured) { display: none; }
  .app-copy h3, .is-top .app-copy h3 { font-size: 17px; }
  .metric-cell { padding: 8px; }
  .metric-cell span { font-size: 6px; }
  .bid-cell strong { font-size: 14px; }
  .movement { font-size: 11px !important; }
  .board-bottom { align-items: stretch; flex-direction: column; }
  .how-heading h2, .rules-title h2 { font-size: 43px; }
  .flow li { grid-template-columns: 43px 1fr; }
  .flow strong { font-size: 19px; }
  .submit-band h2 { font-size: 54px; }
  .transparency { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid nav { flex-direction: column; gap: 15px; }
  .submit-dialog { width: 100%; max-height: 100vh; }
  .dialog-shell { min-height: 100vh; box-shadow: none; }
  #submit-form { padding: 24px 18px 36px; }
  .dialog-copy { padding-inline: 20px; }
  .rank-projection { grid-template-columns: 1fr auto; }
}
