@font-face {
  font-family: "Noto SC";
  src: url("site-assets/noto-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto SC";
  src: url("site-assets/noto-bold.woff") format("woff");
  font-weight: 750 900;
  font-display: swap;
}

:root {
  --paper: #f7efdf;
  --ink: #1d2325;
  --red: #b9321c;
  --muted: #59554f;
  --blue: #dfe6e6;
  --pad: clamp(28px, 5.2vw, 66px);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body {
  background: #ded7cb;
  color: var(--ink);
  font: 400 20px/1.65 "Noto SC", "Microsoft YaHei", sans-serif;
}
.site-header, main, .site-footer {
  max-width: 1200px;
  margin-inline: auto;
  background: var(--paper);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #326b86;
  outline-offset: 3px;
}
em { font-style: normal; color: var(--red); }
h1, h2, h3, strong { font-weight: 800; }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.2; letter-spacing: -.06em; }
h3 { font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-inline: var(--pad);
  padding-block: 16px 14px;
  border-bottom: 2px solid var(--ink);
}
.masthead img { width: 154px; height: auto; }
.signature span, .site-footer span {
  font: 700 16px/1.2 Georgia, serif;
  letter-spacing: .02em;
}
.wordmark { display: block; flex: none; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-nav a { font-size: 15px; font-weight: 800; text-decoration: none; }
.site-nav a[aria-current="page"]:not(.button), .site-nav a:not(.button):hover { color: var(--red); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 8px 17px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff9ef;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #942512; border-color: #942512; }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--ink); border-color: var(--ink); background: #eae1cf; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.story-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.cover { padding: 49px var(--pad) 57px; }
.cover h1 {
  font-size: clamp(44px, 7.4vw, 88px);
  letter-spacing: -.07em;
  line-height: 1.09;
}
.lead { margin-block: 23px 29px; max-width: 39em; }
.cover-art {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 54%;
  border: 2px solid var(--ink);
}

.episode {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: clamp(30px, 4.5vw, 54px);
  margin-inline: var(--pad);
  padding-block: 54px;
  border-top: 1px solid var(--ink);
}
.episode.reverse { grid-template-columns: 1fr 1.13fr; }
.reverse .scene { order: 1; }
.scene { min-width: 0; }
.panel {
  aspect-ratio: 3 / 2;
  border: 2px solid var(--ink);
  background: #e3d7c5 url("site-assets/panels.webp") 0 0 / 200% 200% no-repeat;
}
.teammates { background-position: 100% 0; }
.layup { background-position: 0 100%; }
.sharing { background-position: 100% 100%; }
.dialogue {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 16px);
  margin: -17px 0 4px 14px;
  padding: 7px 14px 8px;
  background: #fffcf2;
  box-shadow: 3px 3px 0 var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
}
.story > p { margin-block: 14px 18px; }
.proof {
  padding: 16px 18px 15px;
  border-top: 3px solid var(--red);
  background: #fdf8ec;
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1.06fr;
  grid-template-rows: auto 1fr;
  column-gap: 15px;
  row-gap: 7px;
}
.proof h3 { color: var(--red); grid-area: 1 / 1; }
.proof > p { grid-area: 2 / 1; align-self: start; font-size: 16px; line-height: 1.62; }
.proof figure { grid-area: 1 / 2 / span 2; margin: 0; }
.capture {
  aspect-ratio: var(--crop);
  overflow: hidden;
  background: #f1eee4;
  border: 1px solid #b3a893;
}
.capture img { width: 100%; height: auto; }
figcaption { margin-top: 5px; font-size: 12px; line-height: 1.45; color: var(--muted); }
strong { color: var(--red); white-space: nowrap; }

.years { padding: 51px var(--pad) 54px; background: var(--blue); }
.years .lead { margin-bottom: 25px; }
.eras img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 55%;
  border: 2px solid var(--ink);
}
.eras figcaption { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-size: 15px; }
.career-proof {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  align-items: start;
  gap: 18px;
  margin-top: 24px;
  padding: 23px;
  border-top: 3px solid var(--ink);
  background: var(--paper);
}
.career-proof h3 { font-size: 26px; margin-bottom: 8px; color: var(--red); }
.career-proof p { font-size: 17px; }
.closing { background: var(--ink); color: #fff4de; padding: 56px var(--pad) 37px; }
.mission {
  border-left: 4px solid #f19b7f;
  padding-left: clamp(13px, 3vw, 31px);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 54px);
  letter-spacing: -.042em;
  line-height: 1.33;
}
.mission em { color: #ffa68b; }
.signature { margin-top: 24px; font-weight: 800; }
.signature span { margin-left: 12px; }
.source-note { margin-top: 19px; font-size: 12px; color: #dfd7c9; }
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 19px var(--pad);
  border-top: 1px solid #b5a997;
  font-size: 14px;
}
.site-footer p { font-weight: 800; }
.site-footer .icp-filing {
  flex-basis: 100%;
  text-align: center;
  font-weight: 400;
}
.site-footer span { margin-left: 8px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 15px; }
.footer-links a { text-underline-offset: 3px; }

.match-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  padding: 52px var(--pad) 45px;
  background: var(--ink);
  color: var(--paper);
}
.context {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
}
.match-hero .context { color: #ffab93; }
.match-hero h1, .page-intro h1 {
  font-size: clamp(38px, 5.8vw, 70px);
  line-height: 1.13;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.match-hero h1 + p { margin-top: 16px; max-width: 27em; }
.scoreboard {
  padding: 20px 24px;
  background: #2b3638;
  border: 1px solid #778383;
  border-top: 4px solid #ffab93;
  text-align: center;
}
.scoreboard > p { color: #f2dfcd; font-size: 13px; }
.final-score, .score-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 7px;
}
.final-score {
  color: #ffab93;
  font-family: "Arial Narrow", "Noto SC", sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: clamp(42px, 7.5vw, 84px);
  line-height: 1.18;
}
.final-score span:nth-child(2) { color: #f2dfcd; font-size: .55em; }
.score-teams { grid-template-columns: 1fr 1fr; font-weight: 800; font-size: 17px; }
.match-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 10px var(--pad);
  background: #ebe0cc;
}
.match-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}
.match-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 5vw, 62px);
  align-items: center;
  margin-inline: var(--pad);
  padding-block: 40px;
  border-bottom: 1px solid #b5a997;
  scroll-margin-top: 16px;
}
.match-step h2 + p { margin-top: 15px; }
.match-step .button { margin-top: 16px; }
.fixture {
  padding: 24px;
  border-top: 4px solid var(--red);
  background: #fdf8ec;
  font-size: 15px;
}
.fixture-teams { margin-block: 8px; font-size: clamp(20px, 3.2vw, 34px); font-weight: 800; }
.fixture-teams span { font-size: .55em; font-weight: 400; }
.event-player { font-size: 20px; font-weight: 800; }
.event-points { color: var(--red); font-size: 44px; font-weight: 800; line-height: 1.2; }
.event-score { margin-top: 7px; }
.event button[hidden], .event-status[hidden] { display: none; }
.event button { font-family: inherit; cursor: pointer; }
.event-status { min-height: 1.5em; }
.event button + p { margin-top: 7px; }
.app-evidence { width: 100%; max-width: 384px; justify-self: center; }
.report-poster { max-width: 330px; }
.report-poster img { width: 100%; height: auto; border: 1px solid #b3a893; }
.clip { margin-top: 17px; }
video { display: block; width: 100%; height: auto; background: var(--ink); }
.match-next { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px var(--pad) 34px; }

.page-intro, .page-body { padding-inline: var(--pad); }
.page-intro { padding-block: 38px 28px; border-bottom: 1px solid #b5a997; }
.page-intro p { max-width: 40em; margin-block: 13px 0; }
.page-body { padding-block: 22px 42px; }
.topic {
  max-width: 830px;
  padding-block: 19px 24px;
  border-bottom: 1px solid #b5a997;
  scroll-margin-top: 16px;
}
.topic h2 { font-size: clamp(25px, 3.5vw, 40px); }
.topic p { max-width: 39em; margin-top: 10px; }
.topic details { padding-block: 10px; border-bottom: 1px solid #ded2bf; }
.topic summary { cursor: pointer; font-weight: 800; }
.topic a:not(.button) { color: var(--red); text-underline-offset: 3px; }

@media (max-width: 760px) {
  :root { --pad: 22px; }
  body { font-size: 16px; }
  .wide { display: none; }
  .masthead { padding-block: 12px 10px; flex-wrap: wrap; gap: 8px; }
  .masthead img { width: 118px; }
  .masthead span, .signature span { font-size: 14px; }
  .cover { padding-block: 31px 32px; }
  .cover h1 { font-size: clamp(28px, 8.7vw, 61px); line-height: 1.15; }
  .site-nav { gap: 4px 12px; }
  .site-nav a { font-size: 13px; }
  .site-nav a:not(.button) { min-height: 36px; display: inline-flex; align-items: center; }
  .actions { margin-bottom: 18px; }
  .lead { margin-block: 15px 20px; }
  .cover-art, .eras img { aspect-ratio: 3 / 2; }
  .episode, .episode.reverse, .career-proof { display: block; }
  .episode { padding-block: 28px 31px; }
  .story { margin-top: 22px; }
  h2 { font-size: clamp(27px, 7.5vw, 42px); }
  h3 { font-size: 19px; }
  h2, h3 { text-wrap: balance; }
  .story > p { margin-block: 9px 13px; }
  .dialogue { margin-left: 8px; font-size: 14px; }
  .proof { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 8px; padding: 11px 11px 10px; }
  .proof > p { font-size: 14px; }
  .proof h3 { font-size: 17px; }
  .proof figcaption, .career-proof figcaption { font-size: 10px; }
  .years { padding-block: 29px 31px; }
  .years .lead { margin-bottom: 16px; }
  .eras figcaption { font-size: 12px; }
  .career-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
    padding: 12px;
  }
  .career-proof > div { grid-column: 1 / -1; }
  .career-proof h3 { font-size: 20px; margin-bottom: 6px; }
  .career-proof p { font-size: 15px; }
  .closing { padding-block: 33px 24px; }
  .mission { font-size: clamp(19px, 5.4vw, 32px); }
  .signature { margin-top: 15px; }
  .source-note { margin-top: 13px; }
  .match-hero { grid-template-columns: 1fr; padding-block: 27px 28px; }
  .scoreboard { max-width: 390px; }
  .match-nav { gap: 4px 12px; }
  .match-step { grid-template-columns: 1fr; padding-block: 25px; }
  .match-step h2 + p { margin-top: 10px; }
  .app-evidence { justify-self: start; }
  .report-poster { max-width: 280px; }
  .page-intro { padding-block: 26px 21px; }
  .page-body { padding-block: 12px 26px; }
}
@media (max-width: 415px) {
  .site-nav { width: 100%; justify-content: space-between; column-gap: 6px; }
  .site-nav .button { padding-inline: 8px; }
}
