/* WANTED — design system (direction A: live console)
   Near-black charcoal, warm white, muted gray, one signal red. Precise type, quiet borders. */
:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --s1: #131315;          /* raised surface */
  --s2: #19191c;          /* inputs, hover */
  --line: #232327;
  --line-2: #2f2f34;
  --text: #f2efe9;        /* warm white */
  --muted: #8f8b84;
  --dim: #5f5c57;
  --red: #ff3b2f;         /* signal red: live state, primary action, the pick */
  --red-ink: #ff6b61;
  --red-wash: rgb(255 59 47 / .1);
  --ok: #7fbf9a;
  --warn: #e0a15e;

  --sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11'; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.label { display: block; font: 500 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgb(255 59 47 / .15); flex: none; }

/* ---------------------------------------------------------------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent;
  font: 600 14.5px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ff5247; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); background: var(--s2); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.chip .dot { width: 6px; height: 6px; box-shadow: none; }
.chip-live { color: var(--text); }
.chip-live .dot { animation: pulse 1.6s ease-in-out infinite; }
.chip-red { border-color: rgb(255 59 47 / .45); color: var(--red-ink); }
.chip-busy { color: var(--text); }
.chip-warn { border-color: rgb(224 161 94 / .45); color: var(--warn); }
.chip-ok { border-color: rgb(127 191 154 / .4); color: var(--ok); }
@keyframes pulse { 50% { opacity: .35; } }
.more { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.more:hover { color: var(--text); }

/* ---------------------------------------------------------------- header / footer */
.top { position: sticky; top: 0; z-index: 20; background: rgb(12 12 13 / .92); backdrop-filter: saturate(140%) blur(8px); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 14px; letter-spacing: .09em; }
.wmark { width: 26px; height: 26px; border-radius: 7px; background: var(--text); color: var(--bg); display: grid; place-items: center; flex: none; }
.wmark svg { width: 16px; height: 16px; }
.top-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.top-nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--text); }
.x-link { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); flex: none; transition: background-color .15s, border-color .15s; }
.x-link:hover { background: var(--s2); border-color: var(--muted); }
.x-link svg { width: 15px; height: 15px; }

main { padding-bottom: clamp(72px, 10vw, 128px); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand p { color: var(--dim); font-size: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; font-size: 14px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--text); }

.net-banner { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font: 600 14px/1.2 var(--sans); box-shadow: 0 10px 30px rgb(0 0 0 / .5); max-width: calc(100% - 32px); text-align: center; }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; padding-block: 64px 24px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px 6px 10px; }
.mstatus { display: none; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px 7px 11px; }
.mstatus b { font-weight: 500; color: var(--red-ink); }
.mstatus .sep { color: var(--dim); }
.mstatus.is-idle { color: var(--muted); }
.mstatus.is-idle .dot { background: var(--dim); box-shadow: none; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.038em; margin: 22px 0 16px; }
.hero h1 span { color: var(--muted); }
.lede { font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.55; color: var(--muted); max-width: 34em; }

.compose { margin-top: 30px; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.compose:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 4px rgb(242 239 233 / .04); }
.compose input, .compose textarea { display: block; width: 100%; background: transparent; border: 0; outline: none; color: var(--text); }
.compose-title { padding: 18px 20px 12px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line) !important; }
.compose-desc { padding: 14px 20px; font-size: 15.5px; line-height: 1.5; min-height: 96px; resize: vertical; }
.compose ::placeholder { color: var(--dim); }
.compose [aria-invalid="true"]::placeholder { color: var(--red-ink); }
.compose-errs:has(.err:not([hidden])) { padding: 0 20px 10px; display: grid; gap: 4px; }
.err { color: var(--red-ink); font-size: 13.5px; }
.compose-bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-top: 1px solid var(--line); }
.fine { font-size: 12.5px; color: var(--dim); display: inline-flex; gap: 12px; }
.count.near { color: var(--warn); }
.compose-bar .btn { margin-left: auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0 10px 10px; border-radius: 9px; padding: 11px 14px; font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-msg.ok { background: rgb(127 191 154 / .1); color: #cfe9da; }
.form-msg.ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.form-msg.bad { background: var(--red-wash); color: #ffd3cf; }
.form-msg .btn { min-height: 32px; font-size: 13px; padding: 0 12px; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }
.flow li { display: grid; gap: 3px; padding: 12px 14px 0 0; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); transition: border-color .3s; }
.flow li .mono { font-size: 11.5px; color: var(--dim); }
.flow li b { font-weight: 500; color: var(--text); font-size: 14px; }
.flow li.on { border-top-color: var(--red); }

/* the round panel */
.panel { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; margin-top: 52px; }
.panel-bot { position: absolute; right: 16px; top: -60px; width: 78px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; font-size: 13.5px; color: var(--muted); }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); }
.live-tag .dot { animation: pulse 1.6s ease-in-out infinite; }
.clock { display: flex; align-items: baseline; gap: 10px; padding: 8px 20px 0; }
.clock-digits { font-size: clamp(56px, 6vw, 80px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.clock-unit { font-size: 14px; color: var(--muted); }
.panel[data-clock="final"] .clock-digits { color: var(--red-ink); }
.panel[data-clock="closed"] .clock-digits { color: var(--dim); }
.track { margin: 16px 20px 0; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.track span { display: block; height: 100%; background: var(--red); transform-origin: left; transition: transform 1s linear; }
.feed-head { display: flex; justify-content: space-between; padding: 20px 20px 10px; }
.feed-head span:first-child { font: 500 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.feed-head .mono { font-size: 12px; color: var(--muted); }
.feed { max-height: 380px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; border-top: 1px solid var(--line); }
.feed-item { display: grid; gap: 2px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.feed-item:last-child { border-bottom: 0; }
.feed-item time { font: 400 11.5px var(--mono); color: var(--dim); }
.feed-item b { font-weight: 550; font-size: 15px; overflow-wrap: anywhere; }
.feed-item p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.feed-item.is-new { animation: arrive .6s var(--ease); background: linear-gradient(90deg, var(--red-wash), transparent 70%); box-shadow: inset 2px 0 0 var(--red); }
.feed-item.is-new.fade { background: transparent; box-shadow: none; transition: background 1.2s, box-shadow 1.2s; }
@keyframes arrive { from { opacity: 0; transform: translateY(-6px); } }
.feed:empty::before { content: 'No ideas yet.'; display: block; padding: 20px; color: var(--dim); font-size: 14px; }
.panel-link { display: block; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-decoration: none; border-radius: 0 0 16px 16px; transition: color .15s, background-color .15s; }
.panel-link:hover { color: var(--text); background: var(--s2); }
.idle { padding: 22px 20px 6px; display: grid; gap: 8px; justify-items: start; }
.idle h2 { font-size: 24px; letter-spacing: -.02em; margin-top: 4px; }
.idle p { color: var(--muted); font-size: 14.5px; max-width: 30em; }
.feed-past .feed-item b { font-weight: 500; color: var(--muted); }
.last { display: grid; gap: 4px; margin: 16px 20px 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.last:hover { border-color: var(--line-2); background: var(--s2); }
.last b { font-weight: 550; margin-top: 4px; overflow-wrap: anywhere; }
.last span:not(.label) { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- mascot */
.bot { width: 100%; height: auto; overflow: visible; }
.bot-shell { fill: #2a2a2e; }
.bot-legs rect { fill: #222225; }
.bot-hands rect { fill: #333338; }
.bot-sash { fill: var(--red); }
.bot-eyes rect { fill: var(--text); transform-box: fill-box; transform-origin: center; }
.bot-body { transform: rotate(-6deg); transform-origin: 61px 51px; }
.bot--waiting .bot-eyes rect { animation: blink 5s infinite; }
.bot--evaluating .bot-eyes { animation: scan 1.6s ease-in-out infinite; }
.bot--evaluating .bot-body { animation: tilt 3.2s ease-in-out infinite; }
.bot--building .bot-body { animation: bob 1.1s ease-in-out infinite; }
.bot--building .bot-hands rect:last-child { animation: tap 1.1s ease-in-out infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
@keyframes scan { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
@keyframes tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-2deg); } }
@keyframes bob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-2px); } }
@keyframes tap { 50% { transform: translateY(-3px); } }

/* ---------------------------------------------------------------- blocks */
.block { padding-top: clamp(56px, 7vw, 96px); }
.block-tight { padding-top: 28px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.block-head h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; }
.empty { border: 1px dashed var(--line-2); border-radius: 14px; padding: 32px 24px; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* the pick */
.pick { position: relative; overflow: hidden; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.2vw, 40px); }
.pick-sash { position: absolute; top: -20px; right: 44px; width: 18px; height: 140px; background: var(--red); transform: rotate(-32deg); transform-origin: top; }
.pick-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--muted); padding-right: 60px; }
.pick-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--red-ink); font-weight: 600; font-size: 13px; }
.pick-tag::before { content: ''; width: 7px; height: 7px; background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.pick-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 16px 0 12px; max-width: 18em; overflow-wrap: anywhere; }
.pick-desc { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--muted); max-width: 42em; white-space: pre-line; overflow-wrap: anywhere; }
.pick-why { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 46em; }
.pick-why p { margin-top: 8px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.55; }
.pick-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; font-size: 13px; }
.pick.reveal { animation: reveal .7s var(--ease) both; }
.pick.reveal .pick-sash { animation: sash .6s .3s var(--ease) both; }
.pick.reveal .pick-title { animation: rise .6s .15s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px) scale(.99); } }
@keyframes sash { from { transform: rotate(-32deg) scaleY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.share { display: inline-flex; gap: 8px; }

.judging { display: flex; gap: 24px; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.2vw, 36px); position: relative; overflow: hidden; }
.judging-bot { width: 88px; flex: none; }
.judging h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; margin: 8px 0 6px; }
.judging p { color: var(--muted); max-width: 40em; }
.judging::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 28%; background: var(--red); animation: sweep 1.8s ease-in-out infinite; }
.judging.is-delayed::after { background: var(--warn); animation-duration: 3.4s; }
.judging.is-none::after { display: none; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(360%); } }

/* rows: archive + past selections */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 150px; gap: 20px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .15s; border-radius: 4px; }
.row:hover { background: var(--s1); }
.row-n { color: var(--dim); font-size: 13px; }
.row-title { font-weight: 550; font-size: 16px; overflow-wrap: anywhere; }
.row-meta { color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.row-state { justify-self: end; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }

.journey { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.journey li { display: grid; gap: 4px; padding: 14px 12px 0 0; border-top: 1px solid var(--line-2); }
.journey .mono { font-size: 11.5px; color: var(--dim); }
.journey b { font-weight: 500; font-size: 14.5px; }
.j-note { font-size: 12.5px; color: var(--dim); }
.j-live { border-top-color: var(--text) !important; }
.j-live .j-note { color: var(--muted); }

/* ---------------------------------------------------------------- pages */
.page-head { padding-top: clamp(40px, 6vw, 72px); display: grid; gap: 12px; justify-items: start; }
.page-head-tight { padding-top: 28px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.038em; line-height: 1.02; }
.title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sub { color: var(--muted); font-size: 16.5px; max-width: 44em; }
.sub.mono { font-size: 13px; }
.crumbs { font-size: 13.5px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.callout { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 16px; font-size: 14.5px; }
.callout a { color: var(--red-ink); text-decoration: none; font-weight: 600; }

.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.idea { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.idea-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); }
.idea-meta time { font: 400 11.5px var(--mono); }
.idea h3 { font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
.idea p { font-size: 14px; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.idea-win { border-color: rgb(255 59 47 / .5); }

.project { display: grid; gap: 20px; padding-top: 16px; }
.pick-hero .pick-title { font-size: clamp(34px, 5vw, 64px); }
.status-card { display: flex; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.status-bot { width: 72px; flex: none; }
.status-card h2 { font-size: 22px; letter-spacing: -.02em; margin: 6px 0 4px; }
.status-card p { color: var(--muted); font-size: 15px; }
.life { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 8px 0 4px; }
.life li { position: relative; display: grid; gap: 3px; padding: 26px 10px 0 0; align-content: start; }
.life li::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.life-dot { position: absolute; top: 1px; left: 0; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.life-done::before { background: var(--muted); }
.life-done .life-dot { background: var(--text); border-color: var(--text); }
.life-next .life-dot { border-color: var(--red); background: var(--bg); box-shadow: 0 0 0 4px var(--red-wash); animation: pulse 2s infinite; }
.life b { font-weight: 500; font-size: 14px; }
.life-todo b { color: var(--dim); }
.life .mono { font-size: 11.5px; color: var(--dim); }
.life-next .mono { color: var(--red-ink); }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tri-item { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.tri-item h3 { font-size: 17px; }
.tri-item p { font-size: 14px; color: var(--muted); }
.events li { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts div { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--dim); }
.facts dd { overflow-wrap: anywhere; font-size: 14px; }

.how { display: grid; gap: clamp(40px, 6vw, 64px); padding-top: 40px; }
.how-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 56px; border-top: 1px solid var(--line); padding-top: 24px; }
.how-row h2 { font-size: 22px; letter-spacing: -.02em; }
.how-list { counter-reset: n; display: grid; gap: 14px; }
.how-list li { counter-increment: n; position: relative; padding-left: 36px; color: var(--muted); }
.how-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 400 12.5px/1.9 var(--mono); color: var(--dim); }
.how-list b { color: var(--text); font-weight: 550; }
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.criteria li { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 4px; }
.criteria b { font-weight: 550; }
.criteria span { color: var(--muted); font-size: 14.5px; }
.note { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.after li { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.after li.is-live { border-color: var(--line-2); background: var(--s1); }
.after b { font-weight: 550; font-size: 17px; }
.after p { color: var(--muted); font-size: 14.5px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 44em; }

.msg { padding-block: clamp(56px, 10vw, 140px); display: grid; gap: 14px; justify-items: start; }
.msg-bot { width: 80px; margin-bottom: 8px; }
.msg h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.035em; }
.msg p { color: var(--muted); font-size: 17px; max-width: 36em; }

/* ---------------------------------------------------------------- admin */
.admin { padding-block: 40px; display: grid; gap: 14px; }
.admin h1 { font-size: 36px; letter-spacing: -.03em; }
.admin h2 { font-size: 18px; margin-top: 18px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; }
.admin-login { max-width: 420px; }
.admin-form { display: grid; gap: 10px; }
.admin-form label { font-size: 14px; color: var(--muted); }
.admin-form input, .inline-form input { width: 100%; background: var(--s1); border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 13px; color: var(--text); }
.admin-form input:focus, .inline-form input:focus { outline: none; border-color: var(--muted); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.setup { border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; }
.setup th { width: 180px; font-weight: 500; }
.err-cell { color: var(--warn); max-width: 360px; overflow-wrap: anywhere; }
.row-on { background: var(--s1); }
.row-removed td { opacity: .5; }
.inline-form { display: flex; gap: 6px; }
.inline-form input { font-size: 13px; padding: 6px 8px; min-width: 120px; }
.problems { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--warn); font-size: 14px; }
.flash { background: var(--s2); border: 1px solid var(--line-2); padding: 10px 14px; border-radius: 10px; }
.btn-stamp { background: transparent; border: 1px solid rgb(255 59 47 / .5); color: var(--red-ink); }
.btn-stamp:hover { background: var(--red-wash); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
  .eyebrow { display: none; }
  .mstatus { display: inline-flex; }
  .panel { margin-top: 64px; }
  .panel.is-idle .idle .chip { display: none; }
  .panel-bot { width: 60px; top: -46px; }
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .life { grid-template-columns: minmax(0, 1fr); }
  .life li { padding: 0 0 16px 26px; }
  .life li::before { top: 6px; bottom: -6px; left: 5px; right: auto; width: 1px; height: auto; }
  .life li:last-child::before { display: none; }
  .life-dot { top: 2px; }
  .tri, .after { grid-template-columns: minmax(0, 1fr); }
  .how-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .top-in { height: 58px; gap: 14px; }
  .top-nav { gap: 16px; font-size: 13.5px; }
  .top-nav a:first-child { display: none; }
  .hero h1 { margin: 16px 0 10px; }
  .compose { margin-top: 20px; }
  .compose-title { font-size: 17px; padding: 15px 16px 11px; }
  .compose-desc { padding: 12px 16px; min-height: 84px; }
  .compose-bar { padding-left: 16px; }
  .fine .count { display: none; }
  .flow { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 16px; }
  .flow li { display: inline-flex; border: 0; padding: 0; gap: 0; font-size: 13px; }
  .flow li .mono, .flow li span:not(.mono) { display: none; }
  .flow li b { font-size: 13px; color: var(--muted); }
  .flow li.on b { color: var(--text); }
  .flow li + li::before { content: '→'; color: var(--dim); margin-right: 10px; }
  .feed { max-height: 320px; }
  .row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 6px; padding: 14px 4px; }
  .row-meta { grid-column: 2; white-space: normal; }
  .row-state { grid-column: 2; justify-self: start; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 36px); }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey li { grid-template-columns: 32px minmax(0, 1fr) auto; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
  .journey li.j-live { border-top-color: var(--line) !important; }
  .journey li.j-live b::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--text); margin-left: 8px; vertical-align: middle; }
  .pick-sash { right: 22px; width: 14px; height: 110px; }
  .pick-foot { flex-direction: column; align-items: stretch; }
  .pick-foot .btn { width: 100%; }
  .share { width: 100%; } .share .btn { flex: 1; }
  .judging, .status-card { flex-direction: column; align-items: flex-start; }
  .judging-bot { width: 64px; }
  .criteria { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { margin-left: 0; }
}
@media (max-width: 360px) { .top-nav a[href="/how"] { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- closed round (no selection in this launch) */
.closed-card { display: flex; gap: 22px; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.closed-bot { width: 72px; flex: none; }
.closed-card > div:nth-child(2) { flex: 1; min-width: 0; }
.closed-card h2 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.025em; margin: 8px 0 6px; }
.closed-card p { color: var(--muted); }
.closed-card .btn { flex: none; }
.row-sub { color: var(--dim); font-weight: 400; font-size: 14px; }
@media (max-width: 720px) {
  .closed-card { flex-direction: column; align-items: flex-start; }
  .closed-card .btn { width: 100%; }
  .row-sub { display: block; margin-top: 2px; }
}
.closed-card.reveal { animation: reveal .7s var(--ease) both; }
