/* Weird Answer — 1/3: tokens and base */
:root {
  --bg: #410764;
  --surface: #fff0c8;
  --surface-2: #200b31;
  --text: #fff0c8;
  --muted: #f5e4bd;
  --primary: #ffe45d;
  --primary-dark: #c9ff40;
  --accent: #ffe45d;
  --accent-soft: #c9ff40;
  --line: rgba(255,240,200,.28);
  --line-strong: #200b31;
  --radius: 14px;
  --radius-sm: 9px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 17px;
  --fs-md: 20px;
  --fs-lg: 26px;
  --fs-xl: 34px;
  --fs-2xl: 44px;
  --fs-3xl: 56px;
  --shadow-1: 0 1px 2px rgb(36 31 24 / .07);
  --shadow-2: 0 12px 30px rgb(36 31 24 / .10);
  --font-head: "Lilita One", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --ease: 170ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, iframe, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0 0 var(--space-3);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); line-height: 1.3; }

p { margin: 0 0 var(--space-4); max-width: 68ch; text-wrap: pretty; }

strong { font-weight: 600; }

ol, ul { margin: 0 0 var(--space-4); }

.shell { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}

.muted { color: var(--muted); }

.num, time, .game-step b, .game-score b, .step-no { font-variant-numeric: tabular-nums; }

::selection { background: rgb(47 93 80 / .18); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-play, .btn-solid, .chip, .link-btn, .g-next, .g-opt {
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.btn-play {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:10px 32px; border:3px solid #200b31;
  border-radius:3px; background:#ffe45d; color:#200b31;
  box-shadow:none; font-family:var(--font-head); font-size:20px;
  font-weight:600; line-height:1.15; text-align:center;
  position:relative; z-index:2;
  clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);
}
.btn-play:hover { background:#c9ff40; color:#200b31; transform:none; }

.btn-solid {
  border:2px solid #200b31; border-radius:var(--radius-sm);
  background:#ffe45d; color:#200b31; font-size:var(--fs-sm);
  font-weight:900; min-height:44px; padding:0 var(--space-5);
}
.btn-solid:hover { background:#c9ff40; color:#200b31; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 2px solid #200b31;
  border-radius: 999px;
  background: #fff0c8;
  color: #200b31;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

.practice-deck + .moth-toggle { margin-top:12px; }
.moth-toggle { min-height:44px; }
.chip:hover { background:#c9ff40; color:#200b31; border-color:#200b31; }
.chip[aria-pressed="true"], .chip[data-gf-liked] { background:#c9ff40; border-color:#200b31; color:#200b31; }

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: underline;
}


/* Weird Answer — 2/3: page blocks */
a { color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.site-head { border-bottom: 1px solid var(--line); }

.head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 0;
  font-family: var(--font-head);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
}

.brand:hover { color: var(--text); }

.brand-dot { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); transform: rotate(14deg); }

.head-nav { display: flex; gap: var(--space-5); font-size: var(--fs-sm); font-weight: 600; }
.head-nav a { color: var(--muted); border: 0; }
.head-nav a:hover { color: var(--text); }

.hero { padding: var(--space-7) 0 var(--space-6); border-bottom: 1px solid var(--line); }
.hero-head { max-width: 820px; }
.lede { margin: 0; font-size: var(--fs-md); color: var(--muted); max-width: 56ch; }

.stage { margin-top: var(--space-6); }

.stage-box {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

[hidden] { display: none !important; }

.stage-cover, .stage-loading, .stage-frame { position: absolute; inset: 0; width: 100%; height: 100%; }

.stage-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  background: var(--surface);
}

.cover-tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding: var(--space-5);
  opacity: .12;
  pointer-events: none;
}

.cover-tiles span {
  display: grid;
  place-items: center;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  color: var(--muted);
}

.cover-kicker, .cover-line, .cover-meta { position: relative; z-index: 1; }
.cover-kicker { margin: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.cover-line { margin: 0; font-family: var(--font-head); font-size: var(--fs-xl); line-height: 1.22; max-width: 24ch; }
.cover-meta { margin: 0; font-size: var(--fs-xs); color: var(--muted); }

.stage-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: var(--surface);
  text-align: center;
}

.stage-loading p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.load-dots { display: flex; gap: var(--space-2); }
.load-dots i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--primary);
  animation: wa-dot 900ms infinite ease-in-out;
}
.load-dots i:nth-child(2) { background: var(--accent); animation-delay: 120ms; }
.load-dots i:nth-child(3) { animation-delay: 240ms; }

@keyframes wa-dot {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(14deg); }
}

.stage-frame { border: 0; background: var(--surface); }

.stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-4); }
.bar-msg { font-size: var(--fs-sm); color: var(--primary); }

.band { padding: var(--space-8) 0; border-bottom: 1px solid var(--line); }
.band:last-of-type { border-bottom: 0; }
.band h2 { margin-bottom: var(--space-5); }
.wide { max-width: 72ch; }

.steps { list-style: none; padding: 0; display: grid; gap: var(--space-6); }
.steps li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.step-no { font-family: var(--font-head); font-size: var(--fs-xl); line-height: 1; color: var(--accent); }
.steps h3 { margin-bottom: var(--space-1); }
.steps p { margin: 0; color: var(--muted); }

.split-row { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: var(--space-7); }
.split-side h2 { margin-bottom: var(--space-3); }
.side-note { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 32ch; }

.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-5); }
.fact { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); padding: var(--space-5); }
.fact h3 { margin-bottom: var(--space-2); }
.fact p { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: none; }

.tips { list-style: none; padding: 0; display: grid; gap: var(--space-4); max-width: 70ch; }
.tips li { position: relative; padding-left: var(--space-5); color: var(--muted); margin: 0; }
.tips li strong { color: var(--text); }
.tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(14deg);
}

.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: var(--space-4) 0; }
.faq summary { cursor: pointer; font-size: var(--fs-base); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: var(--space-3) 0 0; color: var(--muted); max-width: 68ch; font-size: var(--fs-sm); }

.cmt-form { max-width: 720px; margin: var(--space-5) 0 var(--space-6); }
.cmt-fields { display: grid; gap: var(--space-3); }
.cmt-form input, .cmt-form textarea {
  width: 100%;
  border: 2px solid #200b31;
  border-radius: var(--radius-sm);
  background: #fff0c8;
  color: #200b31;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.5;
  padding: var(--space-3) var(--space-4);
}
.cmt-form input { max-width: 280px; }
.cmt-form textarea { resize: vertical; min-height: 96px; }
.cmt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-3); }
.cmt-reply-to { font-size: var(--fs-sm); color: var(--muted); }

.comment-list { display: grid; gap: var(--space-4); max-width: 760px; }
.cmt { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--space-4) var(--space-5); }
.cmt-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); }
.cmt-name { font-weight: 600; }
.cmt-time { font-size: var(--fs-xs); color: var(--muted); }
.cmt-owner { display: none; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cmt[data-gf-owner] .cmt-owner { display: inline; }
.cmt-text { margin: 0 0 var(--space-2); white-space: pre-wrap; }
.cmt-foot { display: flex; align-items: center; gap: var(--space-3); }
.cmt-replies { display: grid; gap: var(--space-3); margin-top: var(--space-3); padding-left: var(--space-4); border-left: 2px solid var(--line); }
.cmt-empty { font-size: var(--fs-sm); color: var(--muted); }

.site-foot { border-top: 1px solid var(--line); background: var(--surface-2); padding: var(--space-7) 0 var(--space-6); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-6); }
.foot-name { margin: 0 0 var(--space-2); font-family: var(--font-head); font-size: var(--fs-md); font-weight: 700; }
.foot-note { margin: 0; max-width: 46ch; font-size: var(--fs-sm); color: var(--muted); }
.foot-links { display: grid; align-content: start; gap: var(--space-2); font-size: var(--fs-sm); }
.foot-links a { color: var(--muted); border: 0; }
.foot-links a:hover { color: var(--text); }
.foot-copy { margin: var(--space-6) 0 0; font-size: var(--fs-xs); color: var(--muted); }

.page { padding: var(--space-7) 0 var(--space-8); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-6); font-size: var(--fs-lg); }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: var(--space-5); }
.prose li { margin-bottom: var(--space-2); }


/* Weird Answer — 3/3: the game frame and small screens */
body.is-embed { background: var(--surface); }
body.is-embed .game { margin: 0; }
.game-stage { flex:1; min-height:0; position:relative; }
.game-stage .game-body { height:100%; }
.game-host { display:none; }
#wa-body .g-q[tabindex="-1"]:focus { outline:none; }

.game { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--surface); }

.game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.game-step { letter-spacing: 0; color: var(--text); }
.game-step b { font-size: var(--fs-sm); }

.game-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  overflow-y: auto;
}

.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.game-score b { font-size: var(--fs-md); color: var(--text); }

.g-intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.g-intro h2 { margin: 0; font-size: var(--fs-lg); }
.g-intro p { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 52ch; }

.g-q { margin: 0; font-size: var(--fs-md); line-height: 1.3; }

.g-opts { display: grid; gap: var(--space-2); }

.g-opt {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.g-opt:disabled { cursor: default; }
.g-opt.faded { opacity: .45; }

.g-stamp {
  align-self: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.g-stamp b { font-size: var(--fs-lg); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }

.g-note { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 56ch; }

.g-next {
  align-self:flex-start; display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:10px 32px; border:3px solid #200b31;
  border-radius:3px; background:#ffe45d; color:#200b31;
  box-shadow:none; font-family:var(--font-head); font-size:20px;
  font-weight:600; line-height:1.15; text-align:center;
  clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);
}
.g-next:hover { background:#c9ff40; color:#200b31; transform:none; }

.g-final { display: flex; flex-direction: column; gap: var(--space-2); }
.g-final h2 { margin: 0; font-size: var(--fs-lg); }
.g-total { margin: 0; font-family: var(--font-head); font-size: var(--fs-2xl); color: var(--primary); font-variant-numeric: tabular-nums; }

.g-board-wrap { display: flex; flex-direction: column; gap: var(--space-2); }
.g-board { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); font-size: var(--fs-sm); }
.g-board li { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px dashed var(--line); }
.g-board .num { color: var(--muted); }

@media (max-width: 640px) {
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-lg); }
  .hero { padding: var(--space-6) 0 var(--space-5); }
  .lede { font-size: var(--fs-base); }
  .band { padding: var(--space-7) 0; }
  .stage-box { aspect-ratio: auto; height: 560px; min-height: 0; }
  .stage-cover { padding: var(--space-5); }
  .cover-tiles { grid-template-columns: repeat(2, 1fr); padding: var(--space-4); }
  .cover-line { font-size: var(--fs-lg); }
  .btn-play { width: 100%; padding: 0 var(--space-4); }
  .stage-bar .chip { flex: 1 1 auto; justify-content: center; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .step-no { font-size: var(--fs-lg); }
  .split-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .split-side .side-note { max-width: none; }
  .fact-grid { grid-template-columns: minmax(0, 1fr); }
  .cmt-form input { max-width: none; }
  .head-nav { gap: var(--space-4); }
  .foot-row { flex-direction: column; gap: var(--space-4); }
  .page { padding: var(--space-6) 0 var(--space-7); }
}

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


/* empty states */
.chip [data-gf-like-count]:empty { display: none; }
.cmt-empty { display: none; }
.comment-list[data-gf-empty] .cmt-empty { display: block; }


/* Purple and yellow theatre: shared palette and controls */
body { background:var(--bg); color:var(--text); }
h1,h2,h3 { color:var(--primary); font-weight:400; }
a { color:var(--primary); border-bottom-color:currentColor; }
a:hover { color:#c9ff40; border-bottom-color:currentColor; }
:focus-visible { outline:3px solid #c9ff40; outline-offset:3px; }
body:has(.practice-show) .site-head { display:none; }
.site-head { background:#200b31; border-bottom:3px solid #ffe45d; }
.brand,.brand:hover { color:#ffe45d; font-size:26px; }
.brand-dot { background:#c9ff40; }
.head-nav a { color:#fff0c8; }
.head-nav a:hover { color:#ffe45d; }
.eyebrow,.cover-kicker { color:#ffe45d; }
.lede,.side-note,.steps p,.tips li,.faq details p,.prose p,.prose li,
.foot-note,.foot-copy,.foot-links a { color:#fff0c8; }
.site-foot { background:#200b31; }
.foot-links a:hover { color:#ffe45d; }
.fact,.cmt { background:#fff0c8; border:3px solid #200b31; color:#200b31; }
.fact h3,.cmt h3 { color:#410764; }
.fact p,.cmt p,.cmt-time { color:#410764; }
.cmt-owner { color:#410764; }
.link-btn { color:#ffe45d; }
.cmt .link-btn { color:#410764; }
.g-opt:focus-visible,.g-next:focus-visible,.btn-play:focus-visible { clip-path:none; }
.g-opts { counter-reset:ticket; }
.g-opt {
  position:relative; display:flex; gap:14px; min-height:58px;
  padding:10px 44px 10px 12px; border:3px solid #200b31;
  border-radius:10px; background:#fff0c8; color:#200b31;
  font-family:var(--font-body); font-size:17px; font-weight:900;
  line-height:1.2; text-align:left;
  clip-path:polygon(0 0,97% 0,98% 8%,100% 13%,100% 87%,98% 92%,97% 100%,0 100%,1% 92%,3% 87%,3% 13%,1% 8%);
}
.g-opt::before {
  content:""; flex:0 0 46px; align-self:stretch;
  border-right:3px dotted #200b31; background-position:left center;
  background-repeat:no-repeat; background-size:32px 38px;
}
.g-opt:hover:not(:disabled):not(.picked):not([aria-pressed="true"]) { background:#ffe45d; border-color:#200b31; transform:none; }
.g-opt.picked,.g-opt[aria-pressed="true"] { background:#c9ff40; border-color:#200b31; color:#200b31; }
.g-opt.picked::after,.g-opt[aria-pressed="true"]::after {
  content:""; position:absolute; right:15px; top:50%; width:19px; height:11px;
  border-left:4px solid #200b31; border-bottom:4px solid #200b31;
  transform:translateY(-70%) rotate(-45deg);
}
.g-opt.faded { opacity:.7; }


.g-opt:nth-child(1)::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2044%22%3E%3Ctext%20x%3D%222%22%20y%3D%2235%22%20fill%3D%22%23200b31%22%20font-family%3D%22system-ui%2Csans-serif%22%20font-weight%3D%22900%22%20font-size%3D%2238%22%3EA%3C%2Ftext%3E%3C%2Fsvg%3E"); }
.g-opt:nth-child(2)::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2044%22%3E%3Ctext%20x%3D%222%22%20y%3D%2235%22%20fill%3D%22%23200b31%22%20font-family%3D%22system-ui%2Csans-serif%22%20font-weight%3D%22900%22%20font-size%3D%2238%22%3EB%3C%2Ftext%3E%3C%2Fsvg%3E"); }
.g-opt:nth-child(3)::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2044%22%3E%3Ctext%20x%3D%222%22%20y%3D%2235%22%20fill%3D%22%23200b31%22%20font-family%3D%22system-ui%2Csans-serif%22%20font-weight%3D%22900%22%20font-size%3D%2238%22%3EC%3C%2Ftext%3E%3C%2Fsvg%3E"); }
.g-opt:nth-child(4)::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2044%22%3E%3Ctext%20x%3D%222%22%20y%3D%2235%22%20fill%3D%22%23200b31%22%20font-family%3D%22system-ui%2Csans-serif%22%20font-weight%3D%22900%22%20font-size%3D%2238%22%3ED%3C%2Ftext%3E%3C%2Fsvg%3E"); }
.hero { border-bottom-color:rgba(255,228,93,.4); }
.hero-head { text-align:center; }
.hero-head .lede { margin-inline:auto; }
.hero h1 { font-size:clamp(48px,9vw,90px); }
.stage { max-width:1140px; margin-inline:auto; }
.stage-box { min-height:600px; aspect-ratio:auto; background:#410764; border:3px solid #200b31; }
.stage-cover { position:absolute; justify-content:flex-end; gap:12px; background:#410764; color:#fff0c8; padding:24px; }
.cover-host { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.cover-host img,.cover-host picture { width:100%; height:100%; object-fit:contain; object-position:center 20%; }
.cover-host::after { content:""; position:absolute; inset:35% 0 0; background:linear-gradient(transparent,#410764 75%); }
.cover-kicker,.cover-line,.cover-meta,.practice-link { position:relative; z-index:1; }
.cover-line { color:#ffe45d; font-size:clamp(24px,4vw,38px); text-shadow:2px 3px #200b31; }
.cover-meta { color:#fff0c8; }
.practice-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:4px 12px; color:#ffe45d; font-weight:900; text-decoration:underline; }
.stage-loading { background:#410764; color:#fff0c8; }
.stage-loading p { color:#fff0c8; }
.stage-frame { background:#410764; }
.bar-msg { color:#ffe45d; }
body.is-embed,.game { background:#410764; color:#fff0c8; }
.game-head,.game-foot { border-color:rgba(255,228,93,.4); color:#fff0c8; }
.game-tag { color:#ffe45d; font-family:var(--font-head); font-size:18px; }
.game-step,.game-score b { color:#ffe45d; }
.game-body { padding:20px; }
.game-body h2,.g-q { color:#ffe45d; }
.g-q { font-size:clamp(24px,4vw,36px); line-height:1.12; }
.g-note,.g-intro p { color:#fff0c8; }
.g-stamp { border-color:#ffe45d; color:#ffe45d; }
.g-total { color:#c9ff40; }
.g-board .num { color:#fff0c8; }
@media (max-width:640px) {
  .head-row { flex-wrap:wrap; padding-block:8px; gap:4px 12px; }
  .head-nav { flex-wrap:wrap; gap:12px; }
  .stage-box { height:620px; min-height:0; }
  .stage-cover { padding:16px; }
  .btn-play { width:auto; max-width:100%; }
  .game-body { padding:12px; }
  .g-opts .g-opt.g-opt { min-height:54px; font-size:19px; line-height:1.2; gap:10px; }
  .g-opt::before { flex-basis:38px; background-size:31px 36px; }
  .g-next.g-next, .btn-play.btn-play { min-height:54px; font-size:23px; }
}


/* Approved theatre wordmark in the shared header */
.brand img { width: min(218px, 48vw); height: auto; }


/* Compact cover keeps the host and controls in separate areas. */
.hero { padding:24px 0 32px; }
.hero h1 { margin:0; font-size:clamp(44px,6vw,72px); }
.stage { margin-top:16px; }
.stage-box { height:500px; min-height:0; }
.stage-cover { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"title host" "actions host"; grid-template-rows:auto auto; align-content:center; align-items:center; column-gap:32px; padding:32px 60px; }
.stage-cover h1 { grid-area:title; align-self:end; text-align:center; }
.stage-cover .cover-host { grid-area:host; }
.stage-cover .cover-actions { grid-area:actions; align-self:start; }
.cover-host { position:static; overflow:visible; width:100%; max-width:420px; margin:auto; }
.cover-host .wa-moth,.moth-perch .wa-moth { display:block; width:100%; height:auto; }
.practice-deck .pr-illustration .wa-moth { mask-image:none; }
.wa-moth { pointer-events:none; user-select:none; overflow:visible; }
.wa-moth g[class] { transform-box:fill-box; }
.moth-head { transform-origin:50% 86%; }
.moth-feeler-left { transform-origin:88% 93%; }
.moth-feeler-right { transform-origin:12% 93%; }
.moth-wing-left { transform-origin:85% 18%; }
.moth-wing-right { transform-origin:15% 18%; }
.moth-eyes,.moth-book { transform-origin:50% 75%; }
.game-brand { display:inline-flex; align-items:center; gap:6px; min-width:0; }
.moth-pocket { display:none; }
#wa-game[data-moth-pocket] .game-host { display:none; }
#wa-game[data-moth-pocket] .moth-pocket { display:block; position:relative; width:66px; height:27px; flex:none; }
.moth-pocket .wa-moth { position:absolute; width:100%; height:auto; top:50%; transform:translateY(-50%); }
@media (prefers-reduced-motion:no-preference) {
  .wa-moth[data-idle] .moth-wing-left { animation:wa-idle-wing-left 2.8s ease-in-out infinite; }
  .wa-moth[data-idle] .moth-wing-right { animation:wa-idle-wing-right 2.8s ease-in-out infinite; }
  .wa-moth[data-idle] .moth-feeler-left { animation:wa-idle-feeler-left 2.8s ease-in-out infinite; }
  .wa-moth[data-idle] .moth-feeler-right { animation:wa-idle-feeler-right 2.8s ease-in-out infinite; }
  @keyframes wa-idle-wing-left { 0%,100% { transform:rotate(0deg); } 50% { transform:rotate(-5deg); } }
  @keyframes wa-idle-wing-right { 0%,100% { transform:rotate(0deg); } 50% { transform:rotate(5deg); } }
  @keyframes wa-idle-feeler-left { 0%,100% { transform:rotate(0deg); } 50% { transform:rotate(-3deg); } }
  @keyframes wa-idle-feeler-right { 0%,100% { transform:rotate(0deg); } 50% { transform:rotate(3deg); } }
  .g-opt.picked::after { animation:wa-ticket-mark 190ms ease-out; }
  .g-stamp { animation:wa-stamp-in 250ms cubic-bezier(.2,.75,.2,1); }
  @keyframes wa-ticket-mark { from { transform:translateY(-70%) rotate(-45deg) scale(.35); } }
  @keyframes wa-stamp-in { from { opacity:.6; transform:translateY(-4px) rotate(-9deg) scale(1.06); } }
}
.cover-host::after { content:none; }
.cover-actions { display:flex; flex-direction:column; align-items:center; gap:12px; min-width:0; }
.cover-line { margin:0; font-size:clamp(24px,2.8vw,34px); line-height:1.15; }
.cover-meta { margin:0; }
@media (max-width:640px) {
  .hero { padding:16px 0 24px; }
  .hero h1 { font-size:clamp(38px,10vw,48px); }
  .stage { margin-top:12px; }
  .stage-box { height:500px; }
  .stage-cover { grid-template-columns:minmax(0,1fr); grid-template-areas:"title" "host" "actions"; grid-template-rows:auto auto auto; align-content:center; gap:12px; padding:16px; }
  .cover-host { max-width:320px; }
  .cover-actions { gap:8px; }
  .cover-line { font-size:24px; }
}


/* Desktop theatre and daily round */
@media (min-width:720px) {
  .hero { padding-top:16px; background:#200b31; }
  .stage { margin-top:0; }
  .stage-box { border:3px solid #200b31; }
  .stage-cover {
    background:
      linear-gradient(90deg, #ffe45d 0 12px, #200b31 12px 17px, transparent 17px calc(100% - 17px), #200b31 calc(100% - 17px) calc(100% - 12px), #ffe45d calc(100% - 12px)),
      radial-gradient(ellipse at 50% 15%, #681388 0%, #410764 68%);
  }
  .stage-cover h1 { font-size:clamp(54px,6vw,80px); line-height:1; }
  .cover-host { max-width:380px; }
  .cover-line { max-width:23ch; font-size:clamp(22px,2.1vw,28px); }
  .game-body:has(.g-opts) {
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-rows:auto auto auto auto;
    align-content:start; align-items:start;
    column-gap:32px; row-gap:12px;
    padding:24px 32px;
    background:linear-gradient(90deg,#410764 0 46%,#30094a 46% 100%);
  }
  .game:not([data-desktop-flow]):has(.g-opts):not(:has(.g-stamp)):not(:has(.g-note)) .game-host {
    display:block; position:absolute; left:32px; bottom:16px;
    width:min(310px,36%); pointer-events:none;
  }
  .game:not([data-desktop-flow]):has(.g-opts):not(:has(.g-stamp)):not(:has(.g-note)) .g-q {
    max-height:120px; overflow:auto;
  }
  .game-body:has(.g-opts) .g-q { grid-column:1; grid-row:1; font-size:clamp(27px,3vw,38px); }
  .game-body:has(.g-opts) .g-opts { grid-column:2; grid-row:1 / span 5; gap:8px; }
  .game-body:has(.g-opts) .g-stamp,
  .game-body:has(.g-opts) .g-note,
  .game-body:has(.g-opts) .g-next,
  .game-body:has(.g-opts) .chip { grid-column:1; }
  .game-body:has(.g-opts) .g-opt { min-height:58px; }
}
@media (min-width:720px) and (max-height:470px) {
  .game:has(.g-opts) .game-host { display:none; }
  .game:has(.g-opts) .g-q { max-height:none; }
}


/* The playbill: one reading line and a non-interactive sample. */
.stage-cover .cover-copy { min-width:0; display:flex; flex-direction:column; align-items:center; gap:10px; }
.cover-copy h1 { margin:0; }
.show-label,.poster-label { margin:0; font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.show-label { color:#c9ff40; }
.cover-poster { min-width:0; }
.poster-label,.poster-question { display:none; }
.practice-entry { display:flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:0 10px; }
.practice-link { border:0; text-decoration:underline; text-underline-offset:3px; }
.practice-note { font-weight:700; font-size:13px; color:#fff0c8; }
.step-prefix { display:none; }
.step-suffix { font-size:0; }
.step-suffix::after { content:"/5"; font-size:14px; }
.game[data-desktop-flow] .g-action { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; min-width:0; }
.game[data-desktop-flow] .g-action .g-note,.game[data-desktop-flow] .g-action .g-action-hint { margin:0; max-width:100%; }
.game[data-desktop-flow] .g-action .g-next:disabled { opacity:.55; cursor:not-allowed; transform:none; }
@media (max-width:719px) {
  .stage-cover { grid-template-columns:minmax(0,1fr); grid-template-areas:none; grid-template-rows:auto; gap:10px; padding:16px; }
  .stage-cover .cover-copy,.stage-cover .cover-poster { grid-area:auto; }
  .cover-poster .cover-host { width:min(100%,280px); }
  .cover-copy h1 { font-size:clamp(38px,10vw,48px); }
  .cover-copy .cover-line { font-size:20px; }
  .game[data-desktop-flow] .g-action { flex-direction:column; align-items:stretch; }
  .game[data-desktop-flow] .g-action .g-next,.game[data-desktop-flow] .g-action .chip { width:100%; }
}
@media (min-width:720px) {
  .head-nav { gap:32px; }
  .stage-box { border:0; border-radius:14px; }
  .stage-cover {
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    grid-template-areas:"copy poster"; grid-template-rows:1fr;
    gap:48px; padding:40px 64px; text-align:left;
    background:linear-gradient(115deg,#410764 0 53%,#30094a 53% 100%);
  }
  .stage-cover .cover-copy { grid-area:copy; align-items:flex-start; justify-content:center; gap:14px; }
  .stage-cover .cover-copy h1 { text-align:left; align-self:auto; font-size:clamp(54px,5.4vw,76px); }
  .cover-copy .cover-line { max-width:28ch; font-size:23px; line-height:1.25; text-shadow:none; }
  .cover-copy .cover-meta { font-size:15px; font-weight:800; }
  .cover-copy .practice-entry { justify-content:flex-start; }
  .cover-copy .practice-link { padding-left:0; justify-content:flex-start; }
  .cover-poster { grid-area:poster; width:min(100%,410px); justify-self:center; border:2px solid #bca66a; border-radius:12px; padding:20px 24px 8px; background:#250b38; box-shadow:0 10px 24px #200b3180; }
  .poster-label { display:block; color:#200b31; background:#fff0c8; width:max-content; max-width:100%; padding:5px 10px; border-radius:3px; }
  .poster-question { display:block; margin:16px 0 0; color:#ffe45d; font-family:var(--font-head); font-size:25px; line-height:1.16; }
  .cover-poster .cover-host { width:min(100%,320px); margin:10px auto 0; }
  .game[data-desktop-flow] .step-prefix { display:inline; }
  .game[data-desktop-flow] .step-suffix { font-size:inherit; }
  .game[data-desktop-flow] .step-suffix::after { content:none; }
  .game[data-desktop-flow] .game-stage { display:grid; grid-template-columns:clamp(150px,20%,220px) minmax(0,830px); justify-content:center; background:#200b31; }
  .game[data-desktop-flow] .game-host,
  .game[data-desktop-flow]:has(.g-opts) .game-host {
    display:flex; position:static; width:auto; flex-direction:column; justify-content:center; gap:16px;
    padding:20px 14px; background:#410764; pointer-events:auto; grid-column:1; grid-row:1;
  }
  .game[data-desktop-flow] .game-host p { margin:0; color:#fff0c8; font-size:14px; font-weight:700; line-height:1.4; }
  .game[data-desktop-flow] .game-body:has(.g-opts) {
    display:flex; flex-direction:column; grid-column:2; grid-row:1;
    gap:12px; min-width:0; padding:18px 24px; background:#30094a; overflow:auto;
  }
  .game[data-desktop-flow] .game-body:has(.g-opts) .g-q { max-height:none; overflow:visible; font-size:clamp(25px,2.5vw,32px); }
  .game[data-desktop-flow] .game-body:has(.g-opts) .g-opts { display:grid; width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .game[data-desktop-flow] .g-opt { min-height:58px; font-size:16px; }
  .game[data-desktop-flow] .g-action {
    display:grid; width:100%; grid-template-columns:auto minmax(0,1fr) 170px;
    align-items:center; gap:10px 14px;
  }
  .game[data-desktop-flow] .g-action .g-action-hint { grid-column:1 / 3; grid-row:1; }
  .game[data-desktop-flow] .g-action .g-stamp { grid-column:1; grid-row:1; margin:0; }
  .game[data-desktop-flow] .g-action .g-note { grid-column:2; grid-row:1; min-width:0; }
  .game[data-desktop-flow] .g-action .g-note:first-child { grid-column:1 / 3; }
  .game[data-desktop-flow] .g-action .g-next { grid-column:3; grid-row:1; width:170px; padding-inline:12px; }
  .game[data-desktop-flow] .g-action .chip { grid-column:3; grid-row:2; width:170px; justify-content:center; }
  .game[data-desktop-flow] .game-foot { justify-content:flex-end; gap:24px; }
}


@media (min-width:720px) and (max-width:1000px) {
  .game[data-desktop-flow] .g-action .g-note:not(:first-child) { grid-column:1 / 3; grid-row:2; }
}
