:root {
  --frame: #FFE03A;
  --paper: #FFFCEF;
  --card: #FFFFFF;
  --ink: #111111;
  --muted: #6B665A;
  --line: rgba(17, 17, 17, .12);
  --line-strong: #111111;
  --blue: #1361FF;
  --orange: #F86A43;
  --lav: #CACDF6;
  --lemon: #EEEA8C;
  --plum: #B49ACB;
  --mint: #BFE3C9;
  --pink: #F6C3E2;
  --yay: #1E8A4C;
  --nay: #D9452B;
  --serif: 'Newsreader', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
  --r: 20px;
  --pad: clamp(20px, 4vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --frame: #E8C81E;
    --paper: #15140F;
    --card: #1F1E18;
    --ink: #F6F2E4;
    --muted: #A8A291;
    --line: rgba(246, 242, 228, .14);
    --line-strong: #F6F2E4;
    --lav: #3B3F6E; --lemon: #5A5622; --plum: #4E3C61; --mint: #24493A; --pink: #5B2E4A;
    --yay: #4CC584; --nay: #FF7A5E;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--frame); color: var(--ink); font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--frame); color: #111; }

/* ---------- frame ---------- */
.frame { padding: 0 0 0 clamp(0px, 1.6vw, 20px); min-height: 100vh; }
.nav {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: max(12px, env(safe-area-inset-top)) var(--pad) 12px; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark svg { width: 40px; height: 40px; display: block; }
.brand-word { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { text-decoration: none; padding: 10px 14px; border-radius: 99px; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { background: var(--line); }
.paper {
  background: var(--paper); min-height: calc(100vh - 140px);
  border-bottom-left-radius: clamp(40px, 9vw, 140px); padding-bottom: 96px; overflow: hidden;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.h1 { font-size: clamp(44px, 7.4vw, 104px); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); }
.h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; line-height: 1.1; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin: 20px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 8px; }
.inline-m { display: inline-block; width: .92em; height: .92em; vertical-align: -.12em; margin: 0 .04em; }
.inline-m svg { width: 100%; height: 100%; }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 99px; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer;
  font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  transition: transform .15s ease, background .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-yellow { background: var(--frame); color: #111; border-color: #111; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-ghost { border-color: transparent; }
.btn-ghost:hover { background: var(--line); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 16px; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 21px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--orange); color: #fff; border-radius: 99px;
  padding: 10px 24px; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.01em;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px; font-size: 13px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card);
  cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.link { background: none; border: 0; padding: 10px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); min-height: 44px; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 10vw, 128px) 0 40px; }
.hero .h1 .inline-m { width: .86em; height: .86em; }
.ask {
  margin-top: 40px; background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 28px; padding: 8px;
  box-shadow: 6px 6px 0 var(--ink); max-width: 820px;
}
.ask textarea {
  width: 100%; border: 0; outline: 0; resize: none; background: transparent; font-size: 20px; line-height: 1.45;
  padding: 18px 18px 8px; min-height: 120px;
}
.ask-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 4px 18px; flex-wrap: wrap; }
.examples { margin-top: 20px; }
.examples .chip { font-size: 14px; min-height: 40px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.how-card { background: var(--card); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.how-card .top { padding: 20px 22px 18px; }
.how-card .top .tag { background: var(--line); border: 0; }
.how-card h3 { margin: 14px 0 8px; }
.how-card p { margin: 0; color: var(--muted); font-size: 15px; }
.how-card .art { aspect-ratio: 1.25; margin: 0 8px 8px; border-radius: 22px; display: grid; place-items: center; }
.how-card .art svg { width: 46%; height: auto; }

/* ---------- footer (truus-style) ---------- */
footer { padding: 0 var(--pad) max(24px, env(safe-area-inset-bottom)); }
.foot {
  max-width: 1180px; margin: 40px auto 0; background: var(--blue); color: #fff; border-radius: 28px; padding: 40px 40px 0;
  position: relative; overflow: hidden;
}
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.foot .tag { background: #fff; color: #111; border: 0; }
.foot b { display: block; font-size: 22px; margin-top: 10px; line-height: 1.2; }
.foot a { color: #fff; }
.foot-word {
  font-family: 'Pacifico', 'Snell Roundhand', cursive; font-weight: 400;
  font-size: clamp(120px, 24vw, 300px); line-height: .8; color: #F3EEE6; margin: 40px 0 -.12em -8px; letter-spacing: -.04em; user-select: none;
}
.foot .sticker { position: absolute; width: clamp(64px, 9vw, 110px); }
.sticker { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .15)); }

/* ---------- flow / questions ---------- */
.flow { padding: clamp(40px, 7vw, 88px) 0; }
.q-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; margin-top: 12px; }
.q-card h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.q-card .other { margin-top: 10px; width: 100%; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; padding: 10px 0; outline: 0; }
.q-card .other:focus { border-color: var(--line-strong); }
.idea-quote { font-family: var(--serif); font-size: 22px; line-height: 1.35; border-left: 3px solid var(--frame); padding: 4px 0 4px 18px; margin: 20px 0 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }

/* ---------- loader ---------- */
.loader { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 40px var(--pad); }
.loader .mascot { width: 120px; height: 120px; animation: bob 1.4s ease-in-out infinite; }
.loader .bar { width: min(320px, 70vw); height: 6px; border-radius: 9px; background: var(--line); margin: 28px auto 0; overflow: hidden; }
.loader .bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 9px; transition: width .6s ease; }
.loader .line { font-family: var(--serif); font-size: 24px; margin-top: 18px; min-height: 1.5em; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.mascot .eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .loader .mascot, .mascot .eye { animation: none; } }

/* ---------- workspace ---------- */
.ws-head { padding: 36px 0 0; }
.tabs {
  display: flex; gap: 4px; margin: 28px 0 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line);
  position: sticky; top: var(--nav-h, 65px); background: var(--paper); z-index: 20;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  min-height: 48px; padding: 0 16px; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--muted);
  border-bottom: 2.5px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.tab .n { font-size: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.tab[aria-selected="true"] .n { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yay); }
.panel { padding: 40px 0 0; }

.verdict { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.score {
  width: clamp(150px, 18vw, 200px); aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--line) 0);
}
.score::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: var(--paper); }
.score > div { position: relative; text-align: center; }
.score b { font-family: var(--serif); font-size: clamp(54px, 6vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1; display: block; }
.score span { font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.badge svg { width: 34px; height: 34px; }
.badge.YAY { background: var(--mint); } .badge.MAYBE { background: var(--lemon); } .badge.NAY { background: var(--pink); }
.delta { font-size: 14px; font-weight: 600; margin-left: 8px; }
.delta.up { color: var(--yay); } .delta.down { color: var(--nay); }

.bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 40px; margin-top: 40px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 28px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bar-row .track { height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; }
.bar-row .track i { display: block; height: 100%; background: var(--ink); border-radius: 9px; }
.bar-row { grid-template-columns: 96px 1fr 44px !important; }
.bar-row b { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.bar-row sup.delta { font-size: 11px; margin-left: 2px; }
.bar-row small { grid-column: 2 / 4; color: var(--muted); font-size: 13px; margin-top: -6px; }

.swot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.swot > div { border-radius: 24px; padding: 24px; min-height: 200px; }
.swot h4 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -.02em; display: flex; align-items: center; justify-content: space-between; }
.swot h4 span { font-family: var(--sans); font-size: 13px; font-weight: 600; opacity: .6; }
.swot ul, .plain { margin: 0; padding: 0; list-style: none; }
.swot li { padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .1); font-size: 15.5px; }
@media (prefers-color-scheme: dark) { .swot li { border-color: rgba(255, 255, 255, .12); } }
.swot .s { background: var(--mint); } .swot .w { background: var(--pink); } .swot .o { background: var(--lav); } .swot .t { background: var(--lemon); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.box h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.box p { margin: 0; }
.box .big { font-family: var(--serif); font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.kv { display: grid; gap: 14px; }
.kv div b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.list li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.list li:first-child { border-top: 0; }
.street { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 960px) { .street { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .street { grid-template-columns: 1fr; } }
.street .box h5 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.street .box p { color: var(--muted); font-size: 15px; }
.flag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; margin-bottom: 10px; display: inline-block; }
.flag.grey { background: var(--line); color: var(--muted); }
.flag.illegal { background: var(--pink); color: var(--ink); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-weight: 600; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; font-size: 14px; }
.killer { background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; gap: 24px; align-items: center; }
.killer .mascot { width: 84px; flex: none; }
.next-cta { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }

/* ---------- chat ---------- */
.chat { display: grid; grid-template-rows: 1fr auto; height: min(72vh, 760px); background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.chat-log { overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 20px; line-height: 1.5; font-size: 15.5px; overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg.assistant { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg p { margin: 0 0 8px; } .msg p:last-child { margin: 0; }
.msg ul, .msg ol { margin: 4px 0 8px; padding-left: 20px; }
.msg-who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); align-self: flex-start; margin-bottom: -8px; }
.msg-who svg { width: 22px; height: 22px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: end; }
.chat-input textarea { flex: 1; border: 1.5px solid var(--line); border-radius: 22px; padding: 12px 16px; resize: none; background: var(--paper); outline: 0; max-height: 160px; min-height: 48px; }
.chat-input textarea:focus { border-color: var(--line-strong); }
.starters { padding: 0 24px 16px; }
.starters .chip { font-size: 14px; min-height: 40px; }
.typing::after { content: '▍'; animation: blinkc 1s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }

/* ---------- brand ---------- */
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.choice button { text-align: left; border: 1.5px solid var(--line); background: var(--card); border-radius: 28px; padding: 28px; cursor: pointer; transition: border-color .15s, transform .15s; }
.choice button:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.choice .mascot { width: 64px; margin-bottom: 16px; }
.choice h3 { margin: 0 0 6px; }
.dirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.dir { border: 1.5px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--card); cursor: pointer; text-align: left; padding: 0; transition: border-color .15s, box-shadow .15s; display: flex; flex-direction: column; }
.dir[aria-pressed="true"] { border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.dir .mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 92px; gap: 3px; }
.dir .mosaic img { width: 100%; height: 100%; object-fit: cover; }
.dir .mosaic img:first-child { grid-row: span 2; }
.dir .meta { padding: 18px 20px 20px; }
.dir .meta h3 { margin: 0 0 4px; }
.swatches { display: flex; gap: 6px; margin: 14px 0 10px; }
.swatches i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.aa { font-size: 30px; line-height: 1; }
.pins { columns: 4 180px; column-gap: 10px; }
.pin { break-inside: avoid; margin-bottom: 10px; position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; border: 0; padding: 0; display: block; width: 100%; background: var(--line); }
.pin img { width: 100%; height: auto; }
.pin .check { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 1.5px solid #111; display: grid; place-items: center; font-weight: 700; color: #111; opacity: 0; transition: opacity .15s; }
.pin:hover .check { opacity: 1; }
.pin[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: -3px; }
.pin[aria-pressed="true"] .check { opacity: 1; background: #111; color: #fff; }
.search { display: flex; gap: 8px; }
.search input, .field { flex: 1; min-height: 48px; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 20px; background: var(--card); outline: 0; }
.field { border-radius: 16px; padding: 12px 16px; width: 100%; }
.search input:focus, .field:focus { border-color: var(--line-strong); }
.sticky-bar { position: sticky; bottom: max(16px, env(safe-area-inset-bottom)); margin-top: 32px; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 8px 8px 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 10; }
.sticky-bar .btn { border-color: var(--frame); }

.kit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.kit-hero { border-radius: 28px; padding: 40px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; }
.kit-hero .logo { width: 84px; height: 84px; }
.kit-hero .logo svg { width: 100%; height: 100%; }
.kit-swatch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kit-swatch label { border-radius: 16px; aspect-ratio: 1.3; padding: 10px; display: flex; flex-direction: column; justify-content: end; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); position: relative; }
.kit-swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* ---------- crowd ---------- */
.tally { height: 56px; border-radius: 99px; overflow: hidden; display: flex; background: var(--line); font-weight: 700; }
.tally > div { display: flex; align-items: center; padding: 0 20px; min-width: 0; transition: flex-grow .5s ease; white-space: nowrap; }
.tally .y { background: var(--mint); } .tally .n { background: var(--pink); justify-content: end; }
.voters { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.voter { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.voter .mascot { width: 48px; height: 48px; }
.voter b { display: block; } .voter .role { font-size: 13px; color: var(--muted); }
.voter p { grid-column: 1 / 3; margin: 0; font-size: 15px; }
.vote-tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; margin-left: 6px; }
.vote-tag.yay { background: var(--mint); } .vote-tag.nay { background: var(--pink); }
.share { display: flex; gap: 8px; }
.share input { flex: 1; min-height: 48px; border-radius: 99px; border: 1.5px solid var(--line); padding: 0 20px; background: var(--card); min-width: 0; }
.big-vote { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-vote button { min-height: 120px; border-radius: 28px; border: 1.5px solid var(--ink); cursor: pointer; font-family: var(--serif); font-size: 44px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; justify-content: center; gap: 14px; transition: transform .15s; }
.big-vote button:hover { transform: translateY(-2px); }
.big-vote button svg { width: 56px; height: 56px; }
.big-vote .y { background: var(--mint); } .big-vote .n { background: var(--pink); }
.big-vote button[aria-pressed="true"] { box-shadow: 6px 6px 0 var(--ink); }

/* ---------- arena ---------- */
.arena { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.arena-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.arena-card .top { padding: 20px 22px; flex: 1; }
.arena-card h3 { margin: 12px 0 6px; }
.arena-card .art { margin: 0 8px 8px; border-radius: 22px; height: 150px; display: flex; align-items: end; justify-content: space-between; padding: 16px 18px; }
.arena-card .art .mascot { width: 76px; }
.arena-card .num { font-family: var(--serif); font-size: 56px; line-height: .9; letter-spacing: -.04em; color: #111; }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 99px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; font-weight: 500; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

.empty { text-align: center; padding: 64px 20px; }
.empty .mascot { width: 96px; margin: 0 auto 16px; }
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; } .mt64 { margin-top: 64px; }
.hide-sm { }
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .verdict { grid-template-columns: 1fr; }
  .swot { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .killer { flex-direction: column; align-items: start; }
  .msg { max-width: 92%; }
  .big-vote button { font-size: 32px; min-height: 96px; }
  .ask textarea { font-size: 18px; }
  .foot { padding: 28px 24px 0; }
}

/* ---------- pitch deck ---------- */
.deck { display: grid; gap: 20px; }
.slide {
  container-type: inline-size; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 20px;
  border: 1px solid var(--line);
}
.d-in { position: absolute; inset: 0; padding: 6.5cqw 7cqw 9cqw; display: flex; flex-direction: column; justify-content: center; }
.d-foot { position: absolute; left: 7cqw; right: 7cqw; bottom: 3.4cqw; display: flex; justify-content: space-between; font-size: 1.25cqw; opacity: .6; }
.d-kicker { margin: 0 0 1.6cqw; font-size: 1.5cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.d-title { margin: 0; font-size: 4.6cqw; line-height: 1.06; letter-spacing: -.02em; font-weight: 600; max-width: 30ch; }
.d-title.lg { font-size: 5.8cqw; max-width: 22ch; }
.d-title.xl { font-size: 7.6cqw; max-width: 16ch; }
.d-sub { font-size: 2.3cqw; margin: 2cqw 0 0; max-width: 40ch; line-height: 1.3; }
.d-body { font-size: 2cqw; line-height: 1.4; margin: 2.4cqw 0 0; max-width: 52ch; }
.d-list { margin: 2.4cqw 0 0; padding: 0; list-style: none; font-size: 1.95cqw; line-height: 1.35; }
.d-list li { padding: 1.1cqw 0; border-top: .12cqw solid currentColor; border-color: color-mix(in srgb, currentColor 20%, transparent); }
.d-list.num { counter-reset: n; margin: 0; }
.d-list.num li { counter-increment: n; display: grid; grid-template-columns: 4cqw 1fr; }
.d-list.num li::before { content: counter(n, decimal-leading-zero); font-weight: 600; opacity: .55; }
.d-two { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5cqw; align-items: center; }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 4cqw; }
.d-stats b { display: block; font-size: 6.4cqw; line-height: 1; letter-spacing: -.03em; font-weight: 600; }
.d-stats span { display: block; font-size: 1.6cqw; margin-top: 1.2cqw; opacity: .75; }
.d-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; margin-top: 3cqw; }
.d-split > div { padding: 2.6cqw; }
.d-split h3 { margin: 0; font-size: 2.2cqw; }
.d-split .d-list { font-size: 1.7cqw; margin-top: 1.4cqw; }
.d-logo { width: 9cqw; height: 9cqw; margin-bottom: 4cqw; }
.d-logo svg { width: 100%; height: 100%; }

/* branded theme */
.branded .slide { background: var(--d-bg); color: var(--d-ink); font-family: var(--d-body), var(--sans); border-radius: max(var(--d-r), 12px); border-color: transparent; }
.branded .d-title, .branded .d-stats b, .branded .d-split h3 { font-family: var(--d-display), var(--serif); }
.branded .d-kicker { color: var(--d-accent); }
.branded .d-foot { color: var(--d-muted); opacity: 1; }
.branded .s-cover { background: var(--d-bg); }
.branded .s-cover::after { content: ''; position: absolute; width: 38cqw; height: 38cqw; right: -9cqw; bottom: -12cqw; border-radius: 50%; background: var(--d-accent); }
.branded .s-cover::before { content: ''; position: absolute; width: 14cqw; height: 14cqw; right: 22cqw; top: 8cqw; border-radius: var(--d-r); background: var(--d-accent2); }
.branded .s-cover .d-in { z-index: 1; }
.branded .s-statement { background: var(--d-accent); color: var(--d-on-accent); }
.branded .s-statement .d-kicker, .branded .s-statement .d-foot { color: inherit; opacity: .75; }
.branded .s-stats .d-stats > div { background: var(--d-surface); border-radius: var(--d-r); padding: 2.6cqw; }
.branded .s-stats .d-stats b { color: var(--d-accent); }
.branded .d-split .left { background: var(--d-surface); border-radius: var(--d-r); }
.branded .d-split .right { background: var(--d-accent2); color: var(--d-on-accent2); border-radius: var(--d-r); }
.branded .s-ask { background: var(--d-ink); color: var(--d-bg); }
.branded .s-ask .d-kicker { color: var(--d-accent); }
.branded .s-ask .d-foot { color: inherit; opacity: .6; }

/* harvard: black on white, serif, rules */
.harvard .slide { background: #fff; color: #111; font-family: 'EB Garamond', Garamond, 'Times New Roman', serif; border-radius: 4px; border-color: #ddd; }
.harvard .d-title { font-weight: 600; letter-spacing: -.01em; }
.harvard .d-kicker { font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; font-size: 1.9cqw; font-weight: 400; padding-bottom: .8cqw; border-bottom: .12cqw solid #111; display: block; max-width: 100%; }
.harvard .s-cover .d-in { align-items: center; text-align: center; }
.harvard .s-cover .d-title { font-variant: small-caps; letter-spacing: .04em; font-weight: 500; }
.harvard .s-cover hr { width: 60%; border: 0; border-top: .14cqw solid #111; margin: 2.4cqw auto 0; }
.harvard .s-cover .d-sub { font-style: italic; }
.harvard .d-list li { border-color: #ccc; }
.harvard .d-stats { border-top: .12cqw solid #111; border-bottom: .12cqw solid #111; padding: 2cqw 0; }
.harvard .d-stats b { font-weight: 500; }
.harvard .d-split > div { padding: 0; }
.harvard .d-split h3 { font-variant: small-caps; text-transform: lowercase; letter-spacing: .08em; font-weight: 600; border-bottom: .1cqw solid #111; padding-bottom: .6cqw; }
.harvard .d-foot { font-style: italic; }

/* presenter */
.presenter { position: fixed; inset: 0; background: #000; z-index: 200; display: grid; place-items: center; }
.presenter .deck { display: block; width: min(100vw, 177.78vh); }
.presenter .slide { display: none; border-radius: 0; border: 0; }
.presenter .slide.on { display: block; }
.p-ui { position: fixed; bottom: 16px; right: 16px; display: flex; gap: 6px; align-items: center; color: #fff; background: rgba(40, 40, 40, .8); border-radius: 99px; padding: 4px; opacity: .3; transition: opacity .2s; }
.p-ui:hover { opacity: 1; }
.p-ui button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 18px; }
.p-n { font-size: 13px; padding: 0 6px; font-variant-numeric: tabular-nums; }

@media print {
  body.print-deck { background: #fff; }
  body.print-deck * { visibility: hidden; }
  body.print-deck .deck, body.print-deck .deck * { visibility: visible; }
  body.print-deck .deck { position: absolute; left: 0; top: 0; width: 13.333in; gap: 0; }
  body.print-deck .slide { width: 13.333in; height: 7.5in; aspect-ratio: auto; border-radius: 0 !important; border: 0; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-color-scheme: dark) {
  .mascot.inky .body * { fill: #4A473D; }
  .killer .mascot.inky .body * { fill: #111; }
}
@media (max-width: 720px) { .foot-word { margin-top: 96px; } }

/* ---------- additions ---------- */
.chip-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.chip-link b { font-variant-numeric: tabular-nums; }
.pill-ink { background: var(--ink); color: var(--paper); }
.skeleton { min-height: 120px; display: grid; place-items: center; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.gain { float: right; color: var(--yay); font-weight: 700; }
.moves li { align-items: start; }
.moves .pts { flex: none; min-width: 44px; height: 28px; border-radius: 99px; background: var(--mint); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pivots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.pivot { display: flex; flex-direction: column; }
.pivot h5 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.pivot p:first-of-type { margin-top: 10px; }
.pivot .btn { align-self: start; margin-top: auto; }
.pivot .muted.small { margin-bottom: 16px; }
.est { font-family: var(--serif); font-size: 22px; font-variant-numeric: tabular-nums; color: var(--muted); }
.notice { background: var(--lemon); border-radius: 16px; padding: 10px 16px; margin-bottom: 20px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.notice .link { color: var(--ink); font-weight: 600; }
.switch { display: flex; gap: 14px; align-items: center; cursor: pointer; max-width: 560px; }
.switch input { position: absolute; opacity: 0; }
.switch > span { flex: none; width: 51px; height: 31px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; }
.switch > span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--yay); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; background: var(--line); border-radius: 99px; padding: 3px; gap: 2px; overflow-x: auto; max-width: 100%; }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 0; background: none; cursor: pointer; font-weight: 500; white-space: nowrap; }
.seg button[aria-selected="true"] { background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.find { min-height: 44px; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 18px; background: var(--card); outline: 0; width: min(280px, 100%); }
.find:focus { border-color: var(--line-strong); }
.arena-card .top { text-decoration: none; color: inherit; }
.arena-card .top:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 8px 8px; }
.quick button { min-height: 44px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-weight: 700; letter-spacing: .02em; }
.quick button:hover { border-color: var(--line-strong); }
.quick button[data-v="yay"][aria-pressed="true"] { background: var(--mint); border-color: var(--ink); }
.quick button[data-v="nay"][aria-pressed="true"] { background: var(--pink); border-color: var(--ink); }
.mrows { border-top: 1px solid var(--line); }
.mrow { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.mmain { flex: 1; display: flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; min-height: 56px; }
.mmain > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mmain b { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.mmain .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mscore { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-variant-numeric: tabular-nums; color: #111; }
.mscore.YAY { background: var(--mint); } .mscore.MAYBE { background: var(--lemon); } .mscore.NAY { background: var(--pink); }
@media (prefers-color-scheme: dark) { .mscore, .moves .pts { color: var(--ink); } }
.mmeta { white-space: nowrap; }
@media (max-width: 600px) { .mmeta { display: none; } }
.btn:focus-visible, .chip:focus-visible, .tab:focus-visible, .quick button:focus-visible, .seg button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* print: verdict report or deck */
@media print {
  body.print-report { background: #fff; }
  body.print-report .nav, body.print-report .tabs, body.print-report footer, body.print-report .next-cta, body.print-report .no-print, body.print-report #toast { display: none !important; }
  body.print-report .paper { border-radius: 0; padding-bottom: 0; min-height: 0; }
  body.print-report .frame { padding: 0; }
  body.print-report .box, body.print-report .swot > div, body.print-report .killer { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.print-report .score { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@page deck { size: 13.333in 7.5in; margin: 0; }
@media print { body.print-deck .slide { page: deck; } }
.nav-links a { white-space: nowrap; }
.chat-log .starters { padding: 0; margin-top: -4px; }
@media (max-width: 480px) {
  .hide-xs { display: none; }
  .nav { padding-left: 16px; padding-right: 16px; }
  .brand-word { font-size: 22px; }
  .brand-mark svg { width: 34px; height: 34px; }
  .nav-links a:not(.btn) { padding: 10px 10px; }
}
.nav-cta { gap: 0; }
.room-row { display: flex; justify-content: center; gap: 4px; }
.empty .room-row .mascot { width: min(56px, 15vw); height: auto; margin: 0; }
