@font-face {
  font-family: Styrene;
  src: url('/assets/styrene-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'YS Text';
  src: url('/assets/ys-text-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'YS Text';
  src: url('/assets/ys-text-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
:root {
  --blue: #4042ee;
  --blue-hover: #3335d6;
  --ink: #2c4942;
  --lime: #e2f700;
  --pink: #ff92b7;
  --muted: #687d78;
  --line: #e0e7e4;
  --soft: #f4f7f6;
  --radius: 16px;
  font-family: 'YS Text', 'Helvetica Neue', Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
.shell { width: min(100%, 1248px); margin-inline: auto; padding-inline: 48px; }
.header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 28px; min-width: 0; }
.brand-logo { display: block; width: 268px; height: auto; }
.nav-button { border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); padding: 12px 16px; font-size: 13px; line-height: 1.5; white-space: nowrap; transition: background .15s, border-color .15s; }
.nav-button:hover { background: var(--soft); border-color: #bdccc6; }
.nav-button span { margin-left: 14px; }
noscript { display: block; margin: 24px; padding: 20px; background: var(--lime); }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 76px; align-items: center; padding-block: 56px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; line-height: 1.6; }
.hero-eyebrow { margin: 0 0 22px; color: var(--muted); }
h1, h2 { font-family: Styrene, 'Helvetica Neue', Arial, sans-serif; font-weight: 400; }
h1 { font-size: clamp(48px, 5.2vw, 66px); line-height: 1.13; letter-spacing: -2.6px; margin: 0 0 24px; }
.accent { color: var(--blue); }
.lead { font-size: 18px; line-height: 1.65; margin: 0 0 30px; color: var(--muted); }
#start-form { max-width: 470px; }
label { display: block; font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.start-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
input { border: 1px solid #cdd9d3; background: #fff; height: 54px; padding: 0 16px; border-radius: 10px; min-width: 0; color: var(--ink); width: 100%; font-size: 15px; transition: border-color .15s; }
input:hover { border-color: #9db2a8; }
input::placeholder { color: #7c8e87; }
.button { border: 0; border-radius: 10px; min-height: 54px; padding: 15px 22px; font-size: 14px; font-weight: 500; line-height: 1.5; display: inline-flex; align-items: center; justify-content: center; gap: 20px; white-space: nowrap; transition: background .15s; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-hover); }
.small { font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
.muted { color: var(--muted); line-height: 1.6; }
.poster { position: relative; display: flex; flex-direction: column; margin: 0; padding: 32px 36px; min-height: 426px; background: var(--blue); color: #fff; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.poster::after { content: ''; position: absolute; z-index: -1; width: 230px; height: 230px; border-radius: 50%; right: -145px; top: -135px; border: 1px solid #ffffff35; box-shadow: 0 0 0 18px #ffffff0c, 0 0 0 36px #ffffff09; pointer-events: none; }
.quote-mark, .large-quote { display: block; font-family: Georgia, serif; font-size: 96px; font-weight: 400; line-height: 1; height: 64px; color: var(--lime); margin-top: 29px; }
.poster blockquote { font-family: Styrene, Arial, sans-serif; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.7px; line-height: 1.42; margin: 0 0 32px; max-width: 13em; }
.poster em { font-style: normal; color: var(--lime); }
.poster figcaption { margin-top: auto; padding-top: 20px; border-top: 1px solid #ffffff38; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: #e4e5ff; }
.poster figcaption > span:last-child { font-size: 20px; color: #fff; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--soft); border: 1px solid #eaf0ec; border-radius: var(--radius); padding-block: 28px; }
.rules > div { display: flex; align-items: flex-start; gap: 18px; padding-inline: 28px; }
.rules > div + div { border-left: 1px solid var(--line); }
.rule-number { font-family: Styrene, Arial, sans-serif; flex-shrink: 0; font-size: 30px; letter-spacing: -1px; line-height: 1.2; color: var(--blue); font-variant-numeric: tabular-nums; }
.rules p { margin: 0; }
.rules b, .rules p span { display: block; }
.rules b { font-size: 13px; font-weight: 500; line-height: 1.5; margin-bottom: 5px; }
.rules p span { font-size: 11px; color: var(--muted); line-height: 1.6; }
.footer { display: flex; justify-content: space-between; gap: 40px; padding-block: 30px; font-size: 10px; color: var(--muted); line-height: 1.7; }
.footer > span:first-child { white-space: nowrap; }
.footer > span:last-child { max-width: 440px; text-align: right; }
.error { padding: 16px 20px; background: #fff2ec; border-left: 3px solid #ff5b17; border-radius: 0 10px 10px 0; margin: 8px 0 20px; font-size: 14px; line-height: 1.5; }
.loading { padding: 110px 0; text-align: center; color: var(--muted); }
.game { padding-top: 32px; }
.game-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.game-meta .eyebrow { margin: 0; color: var(--muted); }
.score { background: #f3f5ff; color: var(--blue); border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; padding: 8px 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
progress { appearance: none; border: 0; display: block; background: var(--line); width: 100%; height: 3px; margin: 20px 0 32px; border-radius: 3px; overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--blue); }
progress::-moz-progress-bar { background: var(--blue); }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.quote-panel { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 32px 36px; display: flex; flex-direction: column; min-height: 430px; }
.quote-panel .eyebrow { font-size: 10px; color: #e4e5ff; margin: 0; }
.large-quote { margin-top: 27px; }
.quote-panel blockquote { font-family: Styrene, Arial, sans-serif; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.48; letter-spacing: -.4px; margin: 0 0 32px; overflow-wrap: anywhere; }
.quote-caption { font-size: 11px; line-height: 1.6; color: #e4e5ff; margin: auto 0 0; padding-top: 20px; border-top: 1px solid #ffffff38; }
.answer-panel { min-width: 0; padding-top: 2px; }
.steps { display: flex; align-items: center; gap: 14px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.steps > span:not(.step-line) { border-bottom: 2px solid transparent; padding-block: 8px; }
.steps .active { color: var(--blue); border-bottom-color: var(--blue) !important; }
.step-line { width: 28px; height: 1px; background: var(--line); }
h2 { font-size: 29px; line-height: 1.3; letter-spacing: -1px; margin: 25px 0 10px; }
h2:focus { outline: 0; }
.answer-panel > .muted { font-size: 13px; margin: 0 0 24px; }
.options { display: grid; gap: 10px; }
.option { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; display: flex; align-items: center; gap: 15px; min-height: 64px; padding: 15px 18px; text-align: left; font-size: 14px; line-height: 1.5; transition: border-color .15s, background .15s; }
.option:hover { background: #f6f6ff; border-color: var(--blue); }
.option > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.option-number { flex-shrink: 0; font-size: 11px; font-variant-numeric: tabular-nums; color: #7b8c86; width: 23px; }
.option:hover .option-number { color: var(--blue); }
.feedback { font-size: 12px; line-height: 1.65; padding: 13px 15px; background: var(--soft); border-left: 3px solid var(--pink); border-radius: 0 8px 8px 0; margin: 22px 0 0; }
.feedback.correct { background: #edf8f1; border-color: #71b88a; }
.result-answer { background: var(--soft); border: 1px solid #eaf0ec; padding: 22px; border-radius: 12px; margin: 22px 0 14px; }
.result-answer .eyebrow { font-size: 10px; color: var(--muted); letter-spacing: .7px; }
.result-answer p { font-size: 17px; line-height: 1.5; margin: 7px 0 22px; }
.result-answer p:last-child { margin-bottom: 0; }
.round-points { font-size: 13px; line-height: 1.65; }
.source-link { font-size: 13px; color: var(--blue); text-underline-offset: 4px; display: inline-block; margin: 4px 0 24px; }
.wide { width: 100%; }
.finish { text-align: center; padding: 44px 0 0; max-width: 760px; margin: auto; }
.finish > .eyebrow { color: var(--muted); margin: 0 0 18px; }
.finish h1 { font-size: 39px; letter-spacing: -1.5px; line-height: 1.3; margin: 0 0 28px; text-wrap: balance; }
.final-score { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 24px 0; }
.final-score span:first-child { font-family: Styrene, Arial, sans-serif; font-size: 104px; letter-spacing: -6px; color: var(--blue); line-height: 1.1; }
.final-score span:last-child { font-size: 29px; color: #95a59e; }
.finish .lead { font-size: 16px; max-width: 560px; margin: 0 auto 26px; overflow-wrap: anywhere; }
.finish-stats { display: flex; justify-content: center; gap: 0; }
.finish-stats > div { padding: 4px 32px; }
.finish-stats > div + div { border-left: 1px solid var(--line); }
.finish-stats b, .finish-stats span { display: block; }
.finish-stats b { font-size: 22px; font-weight: 500; }
.finish-stats span { font-size: 12px; color: var(--muted); margin-top: 6px; }
.finish > .muted { font-size: 12px; margin: 30px 0 16px; }
.finish-records { text-align: left; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 16px; }
dialog { width: min(640px, calc(100% - 32px)); max-height: 85vh; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px #203e3533; }
dialog::backdrop { background: #21372f70; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dialog-head h2 { margin: 10px 0 0; font-size: 27px; }
.dialog-head .eyebrow { margin: 0; color: var(--muted); }
.close-button { background: var(--soft); border: 0; border-radius: 8px; width: 36px; height: 36px; flex-shrink: 0; font-size: 25px; line-height: 1; color: var(--ink); }
.close-button:hover { background: var(--line); }
dialog > .muted { font-size: 13px; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { font-size: 11px; line-height: 1.7; color: var(--muted); text-align: left; caption-side: bottom; padding: 16px 0 0; }
th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 400; padding: 12px; border-bottom: 1px solid var(--line); }
td { padding: 16px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th:first-child, td:first-child { width: 70px; color: var(--muted); font-variant-numeric: tabular-nums; }
th:last-child, td:last-child { width: 88px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td:last-child { font-weight: 500; color: var(--blue); }
.your-record { background: #f1f2ff; }
.empty { padding: 32px 12px; line-height: 1.7; color: var(--muted); text-align: center; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 1050px) {
  .shell { padding-inline: 32px; }
  .hero { gap: 40px; padding-block: 40px; }
  h1 { font-size: 56px; }
  .lead { font-size: 16px; }
  .poster { padding: 28px; min-height: 406px; }
  .poster blockquote { font-size: 28px; }
  .brand-logo { width: 235px; }
  .rules > div { gap: 14px; padding-inline: 20px; }
  .rule-number { font-size: 26px; }
  .game-layout { gap: 32px; }
  .quote-panel { padding: 28px; }
}
@media (max-width: 800px) {
  .shell { padding-inline: 24px; }
  .header { min-height: 88px; }
  .hero { gap: 32px; padding-block: 32px; }
  h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .8px; }
  .desktop-break { display: none; }
  .start-row { grid-template-columns: 1fr; }
  .poster { min-height: 424px; padding: 26px; }
  .poster blockquote { font-size: 26px; }
  .rules { padding-block: 22px; }
  .rules > div { flex-direction: column; gap: 12px; }
  .rules b { font-size: 12px; }
  .game-layout { gap: 28px; }
  .quote-panel { padding: 26px; }
  .quote-panel blockquote { font-size: 24px; }
  h2 { font-size: 25px; }
  .option { padding: 14px; gap: 10px; font-size: 13px; }
}
@media (max-width: 640px) {
  .shell { padding-inline: 20px; }
  .header { min-height: 84px; gap: 16px; }
  .brand-logo { width: 200px; }
  .nav-button { padding: 9px 12px; font-size: 12px; }
  .nav-button span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 26px 30px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 10px; }
  h1 { font-size: clamp(44px, 10vw, 56px); line-height: 1.12; margin-bottom: 20px; }
  .lead { font-size: 17px; margin-bottom: 26px; }
  #start-form { max-width: none; }
  .start-row { grid-template-columns: minmax(0, 1fr) auto; }
  .button { padding-inline: 18px; gap: 16px; }
  .small { font-size: 11px; }
  .poster { min-height: 0; padding: 26px 28px; }
  .quote-mark { height: 54px; font-size: 84px; margin-top: 23px; }
  .poster blockquote { max-width: none; font-size: 28px; line-height: 1.4; margin-bottom: 26px; }
  .poster figcaption { padding-top: 18px; font-size: 11px; }
  .rules { grid-template-columns: 1fr; padding: 0 22px; }
  .rules > div { flex-direction: row; gap: 20px; align-items: center; padding: 20px 0; }
  .rules > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .rule-number { width: 42px; font-size: 28px; }
  .rules b { font-size: 13px; }
  .rules p span { font-size: 11px; }
  .footer { flex-direction: column; gap: 7px; padding-block: 24px; }
  .footer > span:last-child { text-align: left; max-width: none; }
  .game { padding-top: 16px; }
  .game-layout { grid-template-columns: 1fr; gap: 26px; }
  .quote-panel { min-height: 0; padding: 26px 28px; }
  .large-quote { height: 54px; font-size: 84px; margin-top: 23px; }
  .quote-panel blockquote { font-size: 24px; margin-bottom: 24px; }
  .quote-caption { font-size: 10px; padding-top: 16px; }
  .game-meta .eyebrow { font-size: 10px; }
  .score { font-size: 12px; padding: 8px 11px; }
  progress { margin-block: 18px 24px; }
  .answer-panel { padding: 0; }
  h2 { font-size: 27px; margin-top: 22px; }
  .option { font-size: 14px; padding: 16px; gap: 14px; }
  .finish { padding-top: 26px; }
  .finish h1 { font-size: 30px; letter-spacing: -1px; }
  .final-score span:first-child { font-size: 88px; }
  .finish .lead { font-size: 15px; }
  .finish-stats > div { padding-inline: 24px; }
  .finish-stats b { font-size: 21px; }
  dialog { padding: 24px; }
  .dialog-head h2 { font-size: 25px; }
  th:first-child, td:first-child { width: 54px; }
  td { font-size: 13px; }
}
@media (max-width: 390px) {
  .shell { padding-inline: 16px; }
  .brand-logo { width: 174px; }
  .nav-button { font-size: 11px; padding: 8px 10px; }
  .start-row { grid-template-columns: 1fr; }
  .poster, .quote-panel { padding: 24px; }
  .poster blockquote { font-size: 25px; }
  .quote-panel blockquote { font-size: 22px; }
  .hero-eyebrow { font-size: 9px; }
  .finish-stats > div { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
