:root {
  color-scheme: light;
  --ink: #202a28;
  --muted: #575b51;
  --paper: #f6f0e5;
  --line: #d9cebc;
  --red: #ad361f;
  --signal: #df492f;
  --mono: "Cascadia Mono", Consolas, monospace;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(#55463419 .7px, transparent .7px);
  background-size: 16px 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 10; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.masthead { border-bottom: 1px solid var(--line); background: #fbf7ee; }
.masthead-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 900; line-height: 1.2; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.masthead nav { display: flex; align-items: center; gap: 29px; color: var(--muted); font-size: 14px; font-weight: 700; }
.masthead nav a:hover, .masthead nav a[aria-current], footer a:hover { color: var(--red); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid #b5c6b7; border-radius: 40px; color: #345341; background: #ecf0e5; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: #4c7851; }

.hero, .materials-layout { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: clamp(28px, 5.2vw, 76px); }
.hero { align-items: center; padding-block: 67px 51px; }
.eyebrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.eyebrow > span { width: 14px; height: 2px; background: var(--signal); }
.eyebrow b { padding: 2px 7px; border: 1px solid #d8a18e; border-radius: 3px; font: 700 11px/1.4 var(--mono); letter-spacing: .06em; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1 { margin: 13px 0 20px; font-size: clamp(62px, 7.5vw, 108px); font-weight: 950; line-height: 1.02; letter-spacing: -.06em; }
.title-line { display: block; }
.title-line + .title-line { margin-top: .08em; }
.title-line-accent { color: var(--red); }
.title-line small { display: block; margin-top: 4px; font: 800 clamp(13px, 1.5vw, 18px)/1.25 var(--mono); letter-spacing: .05em; }
.hero-line { font-size: clamp(18px, 2vw, 25px); font-weight: 900; line-height: 1.45; }
.hero-summary { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 20px; padding-inline: 15px; border: 1px solid var(--ink); border-radius: 5px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.button span { font-size: 16px; }
.updates-placeholder { flex-basis: 100%; justify-content: center; border-color: #c5c2b8; color: #565b57; background: #e8e5dd; cursor: not-allowed; }
.primary { color: #fff9ec; background: var(--ink); }
.primary:hover { background: var(--red); border-color: var(--red); }
.secondary { background: #fbf7ee; }
.secondary:hover { color: var(--red); border-color: var(--red); }

.broadcast { border: 1px solid var(--ink); border-radius: 12px; background: #fbf6ec; box-shadow: 6px 6px 0 #cbbba4; overflow: hidden; }
.broadcast-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 15px; color: #f6f0e5; background: var(--ink); font: 700 11px/1.5 var(--mono); letter-spacing: .075em; }
.broadcast-top i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #ff765b; vertical-align: 1px; }
.illustration { position: relative; padding: 12px 18px; background-color: #e9ddc8; background-image: linear-gradient(#57483611 1px, transparent 1px), linear-gradient(90deg, #57483611 1px, transparent 1px); background-size: 22px 22px; }
.monitor { display: block; width: 100%; height: auto; }
.broadcast figcaption { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 12px 14px; color: var(--muted); font-size: 12px; }
.broadcast figcaption b { margin-right: 5px; color: var(--ink); }
.timecode { padding: 3px 6px; border-radius: 3px; color: var(--ink); background: #eee5d7; font: 700 11px var(--mono); }

.barrage-layer { container-type: inline-size; position: absolute; inset: 0; overflow: hidden; pointer-events: none; visibility: hidden; }
.barrage-layer.is-playing { visibility: visible; }
.barrage-message {
  position: absolute;
  left: 100%;
  top: 19%;
  padding: 2px 10px;
  border: 1px solid #f2ddbb;
  border-radius: 20px;
  background: #20322b;
  color: #fff6e7;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 800;
  white-space: nowrap;
  animation: fly-through 14s linear forwards paused;
}
.barrage-layer.is-playing .barrage-message { animation-play-state: running; }
.barrage-message:nth-child(even) { top: 68%; }
.barrage-message:nth-child(5) { animation-duration: 11s; }
.barrage-message:nth-child(6) { animation-duration: 9s; }
@keyframes fly-through { to { transform: translateX(calc(-100cqw - 100%)); } }
.combo-effect {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  color: #fff7d9;
  background: #172920c9;
  text-align: center;
  pointer-events: none;
}
.combo-effect > span { padding: 2px 8px; border: 1px solid #ffae8c; border-radius: 3px; color: #ffdbb7; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.combo-effect b { font-size: clamp(24px, 4.5vw, 52px); font-weight: 950; line-height: 1.2; text-shadow: 2px 3px #683021; }
.combo-effect i { color: #ffac80; font: 900 .85em var(--mono); }

.vote-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; }
.combo-trigger { min-height: 56px; padding-inline: 18px; gap: 8px; color: #fff9ed; border-color: var(--red); background: var(--red); font-size: clamp(16px, 2vw, 20px); }
.combo-trigger:hover { background: #8a2a18; }
.combo-trigger:disabled { opacity: .65; cursor: default; background: var(--red); }
.vote-tally { white-space: nowrap; color: var(--red); font-size: 16px; font-weight: 800; }
.vote-tally b { font: 900 20px var(--mono); }
.vote-row output { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.vote-row output:empty { display: none; }

.episodes { padding-top: 53px; scroll-margin-top: 24px; }
.materials-layout { align-items: start; padding-bottom: 26px; }
.collaboration-note { padding: 17px clamp(17px, 3vw, 28px) 20px; border: 1px solid #d8a18e; border-left: 4px solid var(--signal); border-radius: 6px; background: #fbf4e9; }
.collaboration-note h2 { margin: 9px 0 12px; color: var(--red); font-size: clamp(23px, 3vw, 34px); }
.collaboration-note p { font-size: clamp(15px, 1.65vw, 20px); }
.collaboration-note p + p { margin-top: 9px; }
.collaboration-note strong { font-weight: 800; }
.collaboration-highlight { color: var(--red); }
.section-kicker { display: flex; align-items: center; gap: 8px; color: var(--red); font: 700 12px var(--mono); letter-spacing: .15em; }
.section-kicker span { padding: 3px 5px; border: 1px solid #d8a18e; border-radius: 3px; }
.section-heading { margin-block: 10px 22px; }
h2 { font-size: clamp(31px, 4.1vw, 49px); line-height: 1.19; font-weight: 900; letter-spacing: -.035em; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.evidence-link { color: var(--red); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.section-heading .evidence-link { display: inline-block; margin-top: 12px; scroll-margin-top: 22px; }
.evidence-page { display: grid; gap: clamp(29px, 5vw, 57px); padding-block: clamp(32px, 6vw, 68px); }
.evidence-header, .evidence-sheet { width: min(100%, 900px); margin-inline: auto; }
.evidence-header h1 { margin: 10px 0 16px; font-size: clamp(39px, 6vw, 77px); }
.evidence-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.evidence-jumps a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fcf8ef; color: var(--red); font-size: 13px; font-weight: 750; }
.evidence-jumps a:hover { border-color: var(--red); }
.evidence-sheet { border: 1px solid var(--line); border-radius: 8px; background: #fcf8ef; scroll-margin-top: 20px; }
.evidence-sheet figcaption { padding: 14px clamp(12px, 3vw, 24px); border-bottom: 1px solid var(--line); }
.evidence-sheet h2 { font-size: clamp(20px, 3.5vw, 33px); letter-spacing: -.02em; }
.evidence-sheet a, .evidence-sheet img { display: block; }
.evidence-sheet img { width: 100%; height: auto; border-radius: 0 0 7px 7px; }
.evidence-sheet-wide { width: 100%; }

.rules { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; border-block: 1px solid var(--line); padding-block: 33px; scroll-margin-top: 24px; }
.rules h2 { margin-top: 10px; }
.rules blockquote { margin: 0; padding: 10px 0 10px 17px; border-left: 3px solid var(--signal); font-size: clamp(16px, 2.1vw, 23px); font-weight: 800; }
.materials-notice { padding-block: 13px 23px; color: var(--muted); text-align: center; font-size: 14px; font-weight: 700; }

.story-dialog {
  width: min(660px, calc(100% - 28px));
  max-height: min(82dvh, 730px);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  background: #fcf8ef;
  box-shadow: 7px 7px 0 #171c1b4d;
}
.story-dialog[open] { display: flex; flex-direction: column; }
.story-dialog::backdrop { background: #202a28ad; }
.dialog-head { flex: none; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin-top: 7px; font-size: clamp(23px, 4vw, 32px); }
.dialog-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 18px 24px; font-size: 15px; line-height: 1.85; }
.dialog-body p + p { margin-top: 11px; }
.dialog-actions { flex: none; display: flex; justify-content: flex-end; padding: 12px 24px; border-top: 1px solid var(--line); }
.evidence-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.evidence-gallery a { display: block; border: 1px solid var(--line); border-radius: 5px; background: #eee7dc; }
.evidence-gallery a:hover { border-color: var(--red); }
.evidence-gallery img { display: block; width: 100%; height: clamp(126px, 25vw, 200px); object-fit: contain; }
.evidence-gallery-wide { grid-column: 1 / -1; }
.evidence-gallery-wide img { height: auto; }
.evidence-gallery figcaption, .evidence-note { color: var(--muted); font-size: 12px; }
.evidence-gallery figcaption { margin-top: 3px; }
.evidence-note { margin-top: 10px; }

footer { border-top: 1px solid var(--line); background: #fbf7ee; }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding-block: 20px; font-size: 13px; font-weight: 800; }
.footer-inner small { color: var(--muted); font-weight: 600; }

@media (max-width: 910px) {
  .shell { width: min(1120px, calc(100% - 56px)); }
  .hero { padding-block: 49px 39px; }
  .broadcast figcaption { font-size: 11px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .masthead-inner { min-height: 63px; flex-wrap: wrap; gap: 8px 12px; padding-block: 11px 8px; }
  .masthead nav { order: 1; width: 100%; gap: 20px; font-size: 13px; }
  .brand { font-size: 15px; }
  .hero, .materials-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 26px; padding-block: 34px 28px; }
  .materials-layout { gap: 10px; }
  h1 { font-size: clamp(57px, 13.5vw, 78px); margin-block: 11px 14px; }
  .hero-summary { font-size: 14px; }
  .hero-actions { margin-top: 19px; }
  .broadcast { margin-right: 5px; box-shadow: 5px 5px 0 #cbbba4; }
  .episodes { padding-top: 39px; }
  .rules { grid-template-columns: 1fr; gap: 11px; }
  .dialog-head, .dialog-body, .dialog-actions { padding-inline: 15px; }
}
@media (max-width: 365px) {
  .hero-actions { gap: 8px; }
  .button { gap: 8px; padding-inline: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
