:root {
  color-scheme: light;
  --ink: #74051c;
  --paper: #fffbf5;
  --sun: #ffcc26;
  --line: rgb(116 5 28 / 19%);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--sun); }
button, a { -webkit-tap-highlight-color: transparent; color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
h1:focus { outline: none; }
[hidden] { display: none !important; }
.page { max-width: 1800px; min-height: 100svh; margin: 0 auto; padding: 0 4.5vw; display: flex; flex-direction: column; }
.header { min-height: 116px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: block; width: 230px; flex-shrink: 0; }
.brand img { display: block; width: 100%; height: auto; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font-size: 1rem; text-decoration: none; transition: color 180ms, border-color 180ms; }
.text-link:hover { color: var(--sun); border-color: transparent; }
.back { font-size: .9375rem; }
#app { flex: 1; display: flex; align-items: center; justify-content: center; }
.play { width: 100%; max-width: 1140px; margin: auto; padding: 48px 0 54px; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .8125rem; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 25px; }
.game-intro { max-width: 42ch; margin: 0 auto 12px; font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.4; text-wrap: pretty; }
.game-intro:not([hidden]) + .game-aside { min-height: 0; }
.game-aside { display: flex; align-items: center; justify-content: center; max-width: 680px; min-height: 3.1em; margin: 0 auto 28px; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 4.3vw, 4.75rem); font-weight: 400; line-height: 1.1; letter-spacing: -.055em; margin: 0 auto 30px; max-width: 1080px; text-wrap: pretty; }
.answers { width: 100%; max-width: 880px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(25px, 5vw, 80px); margin: 0 auto; align-items: start; }
.answer { display: flex; flex-direction: column; align-items: center; width: 100%; border: 0; padding: 0 4px; background: none; color: var(--ink); min-width: 0; position: relative; }
.guest { display: block; width: min(100%, 205px); aspect-ratio: 1; background-size: 300% auto; background-repeat: no-repeat; background-position: var(--portrait-position) var(--portrait-y, 50%); mix-blend-mode: darken; margin-bottom: 5px; transition: transform 250ms ease, opacity 250ms; }
.answer-caption { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--ink); min-height: 48px; transition: color 180ms, border-color 180ms; }
.guest:has(.guest-crop) { position: relative; }
.guest-illustration { display: block; width: 100%; height: 100%; object-fit: contain; }
.answer:has(.guest-crop) { mix-blend-mode: darken; }
.guest-crop { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-repeat: no-repeat; filter: contrast(1.13) brightness(1.04); }
.answer-label { font-size: 1.0625rem; line-height: 1.35; }
.answer-sign { font-size: 1rem; line-height: 1; }
.answer-sign:empty { display: none; }
.answer:not(:disabled):hover .guest { transform: translateY(-7px) rotate(-3deg); }
.answer:not(:disabled):hover .answer-caption { color: var(--sun); border-color: transparent; }
.answer:disabled { cursor: default; }
.answer.is-muted .guest { opacity: .25; }
.answer.is-muted .answer-caption { opacity: .45; border-color: transparent; }
.answer.is-selected .guest { transform: translateY(-4px); }
.answer.is-selected .answer-caption { border-color: transparent; }
.answer.is-selected .answer-label { box-shadow: 0 5px 0 var(--sun); }
.feedback { width: min(100%, 650px); margin: 28px auto 0; animation: arrive 260ms both; }
.verdict-row { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .8125rem; margin: 0 0 9px; }
.verdict-row strong { font-weight: 400; font-style: italic; font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; }
.verdict-row span { font-size: .8125rem; }
.punchline { font-size: 1.125rem; line-height: 1.55; margin: 0 auto; max-width: 600px; }
.feedback-actions { display: flex; justify-content: center; gap: 40px; margin: 16px auto 0; }
.feedback-actions .text-link { font-size: .9375rem; }
.next { font-weight: 700; }
.next span:last-child { font-size: 1.25rem; }
.ending { width: 100%; margin: auto; padding: 55px 0; text-align: center; }
.ending h1 { font-size: clamp(3rem, 7vw, 7rem); margin-bottom: 24px; }
.end-line { font-size: 1.125rem; line-height: 1.5; margin: 10px 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.noscript { text-align: center; }
.enter h1 { animation: arrive 300ms both; }
.enter .game-aside { animation: arrive 300ms both; }
.enter .answer { animation: arrive 380ms both; }
.enter .answer:nth-child(2) { animation-delay: 50ms; }
.enter .answer:nth-child(3) { animation-delay: 100ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) { .page { padding: 0 5vw; } .brand { width: 190px; } .header { min-height: 98px; } .play { padding: 40px 0; } h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); } }
@media (max-width: 680px) {
  .page { padding: 0 6vw; }
  .header { min-height: 80px; }
  .brand { width: 155px; }
  .back { font-size: .875rem; gap: 8px; }
  #app { align-items: flex-start; }
  .play { padding: clamp(32px, 6svh, 54px) 0 32px; }
  .eyebrow { font-size: .75rem; letter-spacing: .065em; gap: 9px; margin-bottom: 24px; }
  .game-aside { min-height: 4.65em; margin-bottom: 24px; }
  h1 { font-size: clamp(1.9rem, 7.6vw, 2.8rem); line-height: 1.13; letter-spacing: -.05em; margin-bottom: 28px; }
  .answers { gap: 11px; }
  .answer { padding: 0; }
  .guest { width: 100%; margin-bottom: 3px; }
  .answer-caption { padding: 9px 0; min-height: 44px; align-items: baseline; gap: 3px; }
  .answer-label { font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }
  .feedback { margin-top: 26px; }
  .punchline { font-size: 1rem; line-height: 1.5; }
  .feedback-actions { gap: 28px; }
  .end-line { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.short-line { width: 27px; height: 1px; background: var(--ink); flex-shrink: 0; }
.feedback-actions { width: 100%; align-items: center; gap: 24px; }
.retry-answer { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; flex-shrink: 0; border: 0; background: transparent; opacity: .65; transition: opacity 180ms; }
.retry-answer img { display: block; transition: transform 180ms; }
.retry-answer:hover, .retry-answer:focus-visible { opacity: 1; }
.retry-answer:hover img { transform: rotate(-35deg); }
.next { max-width: 100%; }
.next span:first-child { text-wrap: pretty; }
.next span:last-child { flex-shrink: 0; }
.ending { max-width: 960px; }
.ending .end-line { max-width: 600px; margin: 18px auto 24px; }
.ending .end-note { max-width: 620px; margin: 0 auto 24px; font-size: .9375rem; line-height: 1.5; font-style: italic; }
.ending:focus { outline: none; }
.inline-link { border-bottom: 1px solid var(--ink); transition: color 180ms, border-color 180ms; }
.inline-link:hover { color: var(--sun); border-color: transparent; }
.replay-check h1 { max-width: 900px; font-size: clamp(2rem, 4.5vw, 4.5rem); margin-bottom: 36px; }
.replay-check-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; }
.replay-heart { color: var(--sun); font-size: 1.1em; line-height: 1; }
.occupation-source { font-size: .75rem; margin: 10px 0 30px; opacity: .7; }
.replay { font-size: .9375rem; }
