:root {
  --ink: #171814;
  --ink-deep: #10110f;
  --ink-warm: #1f211b;
  --paper: #e7e1cf;
  --soft: #c1bbaa;
  --muted: #929282;
  --gold: #b39a66;
  --rust: #a85840;
  --line: rgba(218, 207, 177, .2);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --title: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --page: 1296px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 17px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; z-index: 10; inset: 0; pointer-events: none; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.22' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
body.lightbox-open { overflow: hidden; }
::selection { color: var(--paper); background: #763e2e; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: #d8bb7e; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible, video:focus-visible, audio:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, h4, p { margin: 0; }
button, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.page-width { width: min(var(--page), calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 110px; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 8px 18px; z-index: 100; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: absolute; top: 0; left: 0; right: 0; height: 95px; padding-inline: 4%; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 5; border-bottom: 1px solid rgba(230, 224, 206, .17); background: linear-gradient(rgba(14, 16, 13, .65), transparent); }
.wordmark { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.4; letter-spacing: .17em; }
.wordmark-symbol { width: 36px; height: 38px; display: grid; place-items: center; font-family: var(--title); font-size: 28px; color: #ceb483; border: 1px solid #927b50; transform: rotate(-4deg); }
.wordmark-en { display: block; font: 8px/1.7 var(--sans); letter-spacing: .38em; padding-top: 5px; }
.site-header nav { display: flex; gap: 38px; font-size: 13px; letter-spacing: .18em; }
.site-header nav a { padding-block: 12px; }
.edition { display: flex; align-items: center; gap: 10px; font: 11px/1.5 var(--sans); letter-spacing: .1em; color: var(--soft); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero { position: relative; min-height: 790px; height: min(960px, 100svh); isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(11, 15, 12, .84) 0%, rgba(14, 17, 13, .42) 44%, rgba(17, 19, 15, .06) 76%), linear-gradient(0deg, #171814 1%, rgba(19, 21, 16, .48) 14%, transparent 51%, rgba(9, 13, 11, .24) 100%); pointer-events: none; }
.hero-art figcaption { position: absolute; z-index: 2; bottom: 30px; right: 4%; max-width: 420px; color: #b9b5a5; text-align: right; font: 10px/1.8 var(--sans); }
.hero-art figcaption span { display: block; }
.hero-art figcaption a { display: inline-block; padding-top: 4px; color: var(--paper); }
.hero-art figcaption a span { display: inline; }
.hero-content { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 84px; padding-bottom: 94px; }
.eyebrow { font: 10px/1.8 var(--sans); letter-spacing: .2em; color: var(--gold); }
.hero-kicker { color: #c6baa1; margin-bottom: 25px; }
.hero-prefix { font: 26px/1.6 var(--serif); display: block; letter-spacing: .52em; padding-left: 12px; }
.hero-name { display: block; font: 200px/1.2 var(--title); letter-spacing: -.045em; margin-left: -8px; text-shadow: 0 3px 35px rgba(0, 0, 0, .2); }
.title-stop { display: inline-block; font-family: var(--serif); color: var(--rust); font-size: .72em; margin-left: -.16em; transform: translateY(-.03em); }
.hero-bottom { width: 435px; max-width: 100%; margin-top: 16px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.hero-line { font-size: 22px; line-height: 1.85; letter-spacing: .1em; }
.hero-folio { display: grid; gap: 8px; color: #c3b89f; border-left: 1px solid rgba(194, 177, 139, .55); padding-left: 16px; font-size: 11px; letter-spacing: .15em; }
.hero-scroll { position: absolute; bottom: 37px; left: 4%; display: flex; align-items: center; gap: 27px; font: 10px/1.6 var(--sans); letter-spacing: .2em; }
.hero-scroll span:last-child { font-size: 28px; color: var(--gold); }
.section-kicker { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 55px; font: 10px/1.7 var(--sans); letter-spacing: .18em; color: var(--gold); }
.section-kicker > span:last-child { color: #777c70; font-size: 9px; letter-spacing: .25em; }
h2 { font-family: var(--title); font-weight: 400; font-size: clamp(37px, 3.55vw, 56px); line-height: 1.45; letter-spacing: .02em; }
.statement { font-size: clamp(40px, 4.25vw, 66px); line-height: 1.5; }
.ink-dot { color: var(--rust); }
.story-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; align-items: start; }
.story-copy { padding-top: 12px; color: var(--soft); font-size: 15px; }
.story-copy p + p { margin-top: 24px; }
.story-copy .lead { color: var(--paper); font-size: 20px; line-height: 1.95; margin-bottom: 33px; }
.story-copy .fiction-note { font: 11px/1.9 var(--sans); color: var(--muted); border-left: 1px solid var(--gold); padding-left: 16px; margin-top: 36px; }
.wide-plate { margin-top: 70px; }
.wide-plate img { width: 100%; max-height: 690px; object-fit: cover; }
figcaption { font: 11px/1.7 var(--sans); color: var(--muted); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 14px; }
figcaption a { white-space: nowrap; color: var(--soft); }
figcaption small { display: block; font-size: 10px; margin-top: 4px; color: var(--muted); }
.plate-number { color: var(--gold); font-size: 9px; letter-spacing: .14em; margin-right: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; margin-bottom: 60px; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 380px; padding-bottom: 7px; }
.play { background: #1d1f19; border-block: 1px solid var(--line); }
.play-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; padding-top: 14px; }
.play-principles article { border-top: 1px solid var(--line); padding-top: 27px; }
.principle-number { color: var(--gold); font-family: var(--title); font-size: 32px; line-height: 1; }
.play-principles h3 { font-size: 22px; font-weight: 400; margin-top: 20px; margin-bottom: 17px; letter-spacing: .07em; }
.play-principles article p { font-size: 14px; line-height: 1.95; color: var(--soft); }
.sun-rule { margin-top: 65px; padding-block: 33px 5px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr auto; gap: 30px; align-items: center; }
.sun-symbol { width: 66px; height: 66px; border: 1px solid #8f6446; border-radius: 50%; display: grid; place-items: center; position: relative; }
.sun-symbol::before, .sun-symbol::after { content: ""; width: 78px; height: 1px; background: #75583d; position: absolute; }
.sun-symbol::after { transform: rotate(90deg); }
.sun-symbol span { width: 44px; height: 44px; border: 1px solid #806246; border-radius: 50%; position: relative; z-index: 1; background: #1d1f19; }
.sun-explanation h3 { margin-top: 8px; margin-bottom: 9px; font-size: 22px; font-weight: 400; }
.sun-explanation > p:last-child { max-width: 570px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.sun-limit { display: flex; align-items: center; gap: 22px; border-left: 1px solid var(--line); padding-left: 35px; }
.sun-limit > span { font-size: 63px; line-height: 1.2; color: #bb7856; }
.sun-limit p { font: 11px/1.85 var(--sans); color: var(--soft); }
.sun-limit small { font-size: 9px; color: var(--muted); }
.companions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 62px; }
.companion { display: grid; grid-template-columns: 49% 51%; align-items: center; min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 30px; position: relative; }
.companion figure { position: relative; align-self: stretch; min-width: 0; background: radial-gradient(ellipse at 55% 64%, rgba(180, 159, 113, .12), transparent 65%); }
.companion figure > a { display: flex; align-items: flex-end; justify-content: center; height: 330px; }
.companion img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(2px 10px 12px #090a0790); }
.companion figcaption { position: relative; justify-content: center; margin-top: 2px; font-size: 9px; }
.companion-copy { padding: 20px 0 10px 24px; position: relative; }
.person-role { font: 9px/1.9 var(--sans); letter-spacing: .08em; color: var(--gold); }
.companion h3 { font: 37px/1.4 var(--title); margin: 9px 0 18px; letter-spacing: .08em; }
.companion-copy > p:not(.person-role) { font-size: 13px; line-height: 2; color: var(--soft); }
.signature { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 17px; }
.signature > span { display: block; font: 8px/1.6 var(--sans); letter-spacing: .16em; color: var(--muted); margin-bottom: 5px; }
.signature strong { font-size: 15px; font-weight: 400; letter-spacing: .06em; }
.signature p { font: 10px/1.8 var(--sans); color: var(--muted); margin-top: 6px; }
.margin-note { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 32px; }
.chapters { background: var(--ink-deep); border-block: 1px solid var(--line); }
.chapter-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.chapter-tabs button { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 13px; background: none; border: 0; border-bottom: 2px solid transparent; padding: 18px 8px 19px; margin-bottom: -1px; color: var(--muted); font-family: var(--title); font-size: 23px; white-space: nowrap; transition: color .2s, border-color .2s; }
.chapter-tabs button span { font: 9px/1.5 var(--sans); letter-spacing: .1em; color: #6e7266; }
.chapter-tabs button:hover { color: var(--paper); }
.chapter-tabs button[aria-selected="true"] { color: var(--paper); border-color: var(--rust); }
.chapter-tabs button[aria-selected="true"] span { color: var(--gold); }
.chapter-panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 58px; align-items: center; }
.chapter-image > a { display: block; background: #1d201b; }
.chapter-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter-image figcaption { font-size: 9px; }
.chapter-copy { padding-bottom: 27px; }
.chapter-copy h3 { margin: 6px 0 10px; font: 73px/1.3 var(--title); letter-spacing: .09em; }
.chapter-line { color: var(--paper); font-size: 18px; line-height: 1.6; margin-bottom: 24px; }
.chapter-copy > p:not(.chapter-line, .eyebrow) { color: var(--soft); font-size: 13px; line-height: 1.95; }
.chapter-copy dl { margin: 27px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; }
.chapter-copy dl div + div { margin-top: 15px; }
.chapter-copy dt { font: 9px/1.7 var(--sans); color: var(--gold); margin-bottom: 4px; }
.chapter-copy dd { margin: 0; color: var(--soft); }
.atmosphere-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; align-items: end; margin-bottom: 55px; }
.atmosphere-heading > div { color: var(--soft); font-size: 14px; line-height: 1.9; padding-bottom: 7px; }
.muted { color: var(--muted); }
.atmosphere-heading .muted { font-size: 11px; margin-top: 18px; }
.art-spread { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.art-landscape { margin-top: 50px; }
.art-landscape img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.art-detail img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.art-spread figcaption { font-size: 9px; }
.art-spread .plate-number { display: block; margin-bottom: 5px; }
.sound-strip { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-top: 70px; padding-block: 30px; border-block: 1px solid var(--line); }
.sound-strip > div > p:not(.eyebrow) { margin-top: 7px; font-size: 18px; }
.sound-strip small { color: var(--muted); font: 10px/1.8 var(--sans); display: block; margin-top: 10px; }
.audio-wrap { width: 320px; max-width: 100%; flex-shrink: 0; }
audio { display: block; width: 100%; height: 37px; color-scheme: dark; }
.text-link { font: 11px/1.8 var(--sans); color: var(--gold); display: inline-block; padding-block: 10px 4px; }
.audio-wrap .text-link { text-align: right; display: block; font-size: 10px; }
.footage { background: #11130f; border-block: 1px solid var(--line); }
video { width: 100%; display: block; background: #090a08; color-scheme: dark; }
.gameplay-video video { aspect-ratio: 16 / 9; object-fit: contain; }
.gameplay-video figcaption { padding-top: 20px; font-size: 11px; }
.gameplay-video figcaption strong { color: var(--paper); font-size: 12px; font-weight: 400; }
.gameplay-video figcaption small { margin-top: 6px; }
.video-downloads { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.video-downloads a { color: var(--gold); font-size: 12px; line-height: 1.7; padding-block: 4px; }
.media-feedback:empty { display: none; }
.gallery-header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 65px; margin-bottom: 28px; }
.gallery-header h3 { font: 25px/1.5 var(--title); }
.gallery-header p { color: var(--muted); font: 9px/1.8 var(--sans); }
.screenshot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.screenshot img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #1a1c16; }
.screenshot figcaption { font-size: 9px; padding-top: 12px; }
.screenshot a img, .art-spread a img, .wide-plate a img, .chapter-image a img { transition: filter .3s; }
.screenshot a:hover img, .art-spread a:hover img, .wide-plate a:hover img, .chapter-image a:hover img { filter: brightness(1.1); }
.reference-disclosure { margin-top: 60px; }
details { border-block: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 28px 0; }
summary::-webkit-details-marker { display: none; }
summary strong { font: 24px/1.6 var(--title); font-weight: 400; display: block; margin-top: 3px; }
summary small { font: 11px/1.8 var(--sans); display: block; color: var(--muted); margin-top: 5px; }
.disclosure-sign { width: 30px; height: 30px; position: relative; flex-shrink: 0; }
.disclosure-sign::before, .disclosure-sign::after { content: ""; width: 20px; height: 1px; position: absolute; top: 14px; left: 5px; background: var(--gold); }
.disclosure-sign::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .disclosure-sign::after { transform: rotate(0); }
.reference-body { padding-bottom: 34px; max-width: 880px; }
.reference-body > p { font-size: 13px; color: var(--soft); margin-bottom: 25px; }
.reference-body video { max-height: 600px; }
.reference-body .text-link { margin-top: 8px; }
.opponents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 65px; }
.opponents article { display: grid; grid-template-columns: 38% 1fr; gap: 20px; align-items: center; }
.opponents figure { background: radial-gradient(ellipse at 50% 55%, #53453240, transparent 70%); }
.opponents figure > a { height: 290px; display: flex; justify-content: center; align-items: flex-end; }
.opponents img { height: 100%; width: 100%; object-fit: contain; object-position: bottom; }
.opponents figcaption { font-size: 9px; justify-content: center; }
.opponents h3 { font: 33px/1.4 var(--title); letter-spacing: .09em; margin: 8px 0 16px; }
.opponents article > div > p:not(.person-role) { font-size: 13px; color: var(--soft); line-height: 1.95; }
.opponents article .opponent-rule { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 10px !important; color: var(--muted) !important; font-family: var(--sans); }
.spoiler-disclosure { margin-top: 50px; }
.spoiler-body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-block: 10px 38px; }
.spoiler-copy p { font-size: 13px; color: var(--soft); line-height: 2; }
.spoiler-copy p + p { margin-top: 23px; }
.spoiler-pictures { display: grid; gap: 25px; }
.spoiler-pictures img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #10120e; }
.spoiler-pictures figcaption { font-size: 9px; }
.development { background: #1d1f19; border-block: 1px solid var(--line); }
.development-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; align-items: end; }
.development-intro > p { color: var(--soft); font-size: 14px; max-width: 450px; padding-bottom: 10px; }
.development-label { display: block; color: var(--gold); font: 10px/1.8 var(--sans); letter-spacing: .13em; margin-bottom: 16px; }
.development-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 90px; margin-top: 55px; }
.development-columns > div { border-top: 1px solid var(--line); padding-top: 22px; }
.development-columns h3 { font-size: 19px; font-weight: 400; letter-spacing: .08em; }
.development-columns ul { margin: 20px 0 0; padding-left: 17px; color: var(--soft); font-size: 13px; line-height: 2.2; }
.development-columns li::marker { color: #8d7751; font-size: 9px; }
.verification-note { font: 11px/1.9 var(--sans); color: var(--muted); margin-top: 30px; max-width: 930px; }
.archive-disclosure { margin-top: 55px; }
.archive-body { padding-block: 4px 35px; }
.archive-body > p { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 900px; }
.download-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 30px; }
.download-groups h4 { font-size: 16px; font-weight: 400; margin-bottom: 15px; }
.download-groups a { display: block; font: 11px/2 var(--sans); color: var(--soft); padding-block: 4px; width: fit-content; }
.download-groups a:hover { color: var(--gold); text-decoration: underline; }
.archive-note { color: var(--muted); font: 10px/1.9 var(--sans); margin-top: 22px; max-width: 245px; }
.download-groups .archive-subheading { margin-top: 28px; }
.site-footer { display: flex; justify-content: space-between; gap: 45px; padding-block: 65px 45px; }
.footer-title { font: 58px/1.4 var(--title); letter-spacing: .06em; }
.footer-title span { color: var(--rust); margin-left: -.1em; }
.site-footer > div:first-child p { color: var(--soft); font-size: 13px; margin-top: 12px; letter-spacing: .12em; }
.site-footer > div:last-child { text-align: right; font: 10px/1.9 var(--sans); color: var(--muted); padding-top: 12px; }
.site-footer .footer-date { font-size: 9px; margin-top: 12px; }
.site-footer > div:last-child a { display: inline-block; margin-top: 20px; color: var(--gold); }
.lightbox { position: fixed; inset: 0; z-index: 100; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px 36px; border: 0; background: rgba(11, 13, 10, .985); color: var(--paper); overflow: auto; }
.lightbox::backdrop { background: #080a07ed; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-shrink: 0; min-height: 42px; padding-bottom: 12px; }
#lightbox-counter { font: 10px/1.6 var(--sans); color: var(--muted); letter-spacing: .15em; }
.lightbox button { background: none; border: 0; }
.lightbox-close { display: flex; gap: 15px; align-items: center; font: 12px/1.6 var(--sans); padding: 6px 10px; }
.lightbox-close span { font: 30px/1 serif; color: var(--gold); }
.lightbox-stage { flex: 1; min-height: 0; display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.lightbox-stage > img { min-width: 0; max-width: calc(100% - 120px); width: auto; height: auto; max-height: calc(100dvh - 180px); object-fit: contain; margin-inline: auto; }
.lightbox-prev, .lightbox-next { font-size: 28px; width: 42px; height: 50px; color: var(--gold); flex-shrink: 0; }
.lightbox-stage > button:disabled { visibility: hidden; }
.lightbox-caption { padding-block: 19px 5px; display: flex; gap: 25px; align-items: baseline; justify-content: space-between; flex-shrink: 0; font: 12px/1.8 var(--sans); }
.lightbox-caption p { color: var(--soft); }
.lightbox-caption > div { display: flex; gap: 25px; flex-shrink: 0; font-size: 11px; color: var(--gold); }

@media (min-width: 1700px) {
  .hero-content { padding-top: 105px; }
  .hero-name { font-size: 235px; }
  .hero-prefix { font-size: 31px; }
}

@media (max-width: 1199px) {
  .page-width { width: calc(100% - 80px); }
  .section-space { padding-block: 85px; }
  .hero { min-height: 730px; }
  .hero-name { font-size: 175px; }
  .hero-prefix { font-size: 24px; }
  .story-layout { gap: 7%; }
  .play-principles { gap: 35px; }
  .sun-rule { grid-template-columns: 65px 1fr; gap: 28px; }
  .sun-limit { grid-column: 2; padding-left: 0; border-left: 0; align-items: flex-start; }
  .sun-limit > span { font-size: 48px; }
  .sun-limit p br:nth-of-type(1) { display: none; }
  .companions-grid { gap: 40px 35px; }
  .companion { grid-template-columns: 44% 56%; }
  .companion figure > a { height: 290px; }
  .companion-copy { padding-left: 15px; }
  .companion h3 { font-size: 33px; }
  .chapter-panel { grid-template-columns: 1.2fr 1fr; gap: 36px; }
  .chapter-copy h3 { font-size: 62px; }
  .chapter-image img { aspect-ratio: 1 / 1; }
  .chapter-line { font-size: 17px; }
  .opponents { gap: 30px; }
  .opponents article { grid-template-columns: 34% 1fr; gap: 15px; }
  .opponents figure > a { height: 260px; }
}

@media (max-width: 899px) {
  .page-width { width: calc(100% - 56px); }
  .site-header { padding-inline: 28px; height: 83px; }
  .site-header nav { gap: 24px; font-size: 12px; }
  .edition { display: none; }
  .hero { min-height: 720px; max-height: 880px; height: 96svh; }
  .hero-art > img { object-position: 60% center; }
  .hero::before { background: linear-gradient(90deg, rgba(11, 15, 12, .78), rgba(14, 17, 13, .3) 67%, rgba(17, 19, 15, .06)), linear-gradient(0deg, #171814, rgba(19, 21, 16, .3) 32%, transparent 70%); }
  .hero-content { padding-top: 65px; }
  .hero-name { font-size: 160px; }
  .hero-prefix { font-size: 21px; }
  .hero-line { font-size: 20px; }
  .hero-bottom { width: 390px; }
  .hero-art figcaption { right: 28px; max-width: 255px; font-size: 9px; bottom: 26px; }
  .hero-scroll { left: 28px; font-size: 9px; gap: 15px; }
  .section-kicker { margin-bottom: 40px; }
  .story-layout { grid-template-columns: 1fr; gap: 38px; }
  .story-copy { max-width: 590px; padding-top: 0; margin-left: 12%; }
  .story-copy .lead { font-size: 19px; }
  .statement { font-size: 49px; }
  .section-heading { gap: 30px; margin-bottom: 45px; }
  .section-heading > p { font-size: 12px; max-width: 260px; }
  h2 { font-size: 39px; }
  .play-principles { gap: 28px; }
  .play-principles article p { font-size: 12px; }
  .play-principles h3 { font-size: 20px; }
  .companions-grid { grid-template-columns: 1fr; gap: 34px; }
  .companion { grid-template-columns: 45% 1fr; padding-bottom: 25px; }
  .companion figure > a { height: 350px; }
  .companion-copy { padding-left: 36px; padding-right: 25px; }
  .companion h3 { font-size: 42px; }
  .companion-copy > p:not(.person-role) { font-size: 15px; }
  .signature p { font-size: 11px; }
  .chapter-tabs button { gap: 7px; font-size: 22px; }
  .chapter-tabs button span { font-size: 8px; }
  .chapter-panel { grid-template-columns: 1fr; gap: 28px; }
  .chapter-image img { aspect-ratio: 16 / 9; }
  .chapter-copy { padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .chapter-copy > .eyebrow { grid-column: 1 / -1; }
  .chapter-copy h3 { grid-column: 1; grid-row: 2; margin-top: 10px; }
  .chapter-copy .chapter-line { grid-column: 1; grid-row: 3; margin-top: 0; margin-bottom: 0; }
  .chapter-copy > p:not(.eyebrow, .chapter-line) { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .chapter-copy dl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
  .chapter-copy dl div + div { margin-top: 0; }
  .atmosphere-heading { gap: 8%; }
  .atmosphere-heading > div { font-size: 12px; }
  .art-spread { gap: 22px; }
  .art-spread figcaption { flex-wrap: wrap; gap: 7px; }
  .art-spread .plate-number { display: inline; margin-right: 8px; }
  .sound-strip { gap: 30px; }
  .sound-strip > div > p:not(.eyebrow) { font-size: 16px; }
  .audio-wrap { width: 260px; }
  .opponents { gap: 40px; grid-template-columns: 1fr; }
  .opponents article { grid-template-columns: 30% 1fr; gap: 35px; }
  .opponents figure > a { height: 280px; }
  .opponents h3 { font-size: 36px; }
  .opponents article > div > p:not(.person-role) { font-size: 14px; }
  .spoiler-body { gap: 35px; }
  .development-intro { gap: 8%; }
  .development-intro > p { font-size: 12px; }
  .development-columns { gap: 45px; }
  .download-groups { gap: 25px; }
}

@media (max-width: 599px) {
  html { scroll-padding-top: 25px; }
  body { font-size: 15px; }
  .page-width { width: calc(100% - 40px); }
  .section-space { padding-block: 66px; }
  .site-header { height: 73px; padding-inline: 20px; gap: 15px; }
  .wordmark { gap: 9px; font-size: 12px; }
  .wordmark-symbol { width: 28px; height: 32px; font-size: 24px; }
  .wordmark-en { font-size: 6px; letter-spacing: .27em; padding-top: 3px; }
  .site-header nav { gap: 17px; font-size: 10px; letter-spacing: 0; }
  .site-header nav a:first-child { display: none; }
  .hero { height: 810px; min-height: 690px; max-height: 100svh; }
  .hero-art > img { object-position: 59% center; }
  .hero::before { background: linear-gradient(90deg, rgba(11, 15, 12, .72), rgba(14, 17, 13, .2)), linear-gradient(0deg, #171814 0%, rgba(19, 21, 16, .52) 27%, transparent 80%); }
  .hero-content { padding-top: 93px; padding-bottom: 130px; justify-content: center; }
  .hero-kicker { font-size: 8px; letter-spacing: .13em; margin-bottom: 27px; }
  .hero-prefix { font-size: 17px; letter-spacing: .43em; padding-left: 5px; }
  .hero-name { font-size: clamp(120px, 30vw, 164px); margin-left: -5px; line-height: 1.3; letter-spacing: -.07em; }
  .title-stop { font-size: .62em; margin-left: -.1em; }
  .hero-bottom { width: 100%; margin-top: 20px; align-items: center; gap: 15px; }
  .hero-line { font-size: 17px; letter-spacing: .08em; }
  .hero-folio { font-size: 9px; gap: 7px; padding-left: 12px; margin-right: 12px; }
  .hero-art figcaption { bottom: 28px; left: 20px; right: 20px; max-width: none; text-align: left; font-size: 8px; }
  .hero-art figcaption a { position: absolute; right: 0; bottom: 0; font-size: 10px; }
  .hero-art figcaption > span { max-width: calc(100% - 80px); }
  .hero-scroll { left: 20px; bottom: 84px; gap: 20px; }
  .hero-scroll span:last-child { font-size: 22px; }
  .section-kicker { margin-bottom: 31px; font-size: 8px; letter-spacing: .09em; }
  .section-kicker > span:last-child { font-size: 7px; letter-spacing: .12em; }
  h2 { font-size: 33px; line-height: 1.5; }
  .statement { font-size: 37px; line-height: 1.55; }
  .story-layout { gap: 31px; }
  .story-copy { margin-left: 0; font-size: 14px; line-height: 2; }
  .story-copy .lead { font-size: 18px; margin-bottom: 25px; }
  .story-copy .fiction-note { font-size: 10px; margin-top: 28px; }
  .wide-plate { margin-top: 42px; }
  .shelter-plate img { min-height: 220px; object-fit: cover; }
  figcaption { gap: 12px; font-size: 9px; padding-top: 11px; }
  figcaption small { font-size: 8px; }
  .plate-number { display: block; margin-bottom: 5px; font-size: 8px; }
  .section-heading { display: block; margin-bottom: 33px; }
  .section-heading > p { padding: 0; font-size: 12px; margin-top: 23px; max-width: none; }
  .play-principles { display: block; padding-top: 0; }
  .play-principles article { position: relative; padding: 22px 0 25px 42px; }
  .play-principles article:last-child { padding-bottom: 0; }
  .principle-number { position: absolute; left: 0; top: 28px; font-size: 24px; }
  .play-principles h3 { font-size: 20px; margin: 0 0 12px; }
  .play-principles article p { font-size: 13px; }
  .sun-rule { margin-top: 37px; grid-template-columns: 36px 1fr; gap: 20px; padding-top: 30px; align-items: start; }
  .sun-symbol { width: 32px; height: 32px; margin-top: 8px; }
  .sun-symbol::before, .sun-symbol::after { width: 42px; }
  .sun-symbol span { width: 21px; height: 21px; }
  .sun-explanation .eyebrow { font-size: 8px; }
  .sun-explanation h3 { font-size: 18px; line-height: 1.6; margin-top: 5px; }
  .sun-explanation > p:last-child { font-size: 11px; }
  .sun-limit { gap: 20px; align-items: center; }
  .sun-limit > span { font-size: 45px; }
  .sun-limit p { font-size: 10px; }
  .sun-limit small { font-size: 8px; }
  .companions-grid { gap: 28px; }
  .companion { grid-template-columns: 42% 58%; padding-bottom: 25px; align-items: start; }
  .companion figure { align-self: center; }
  .companion figure > a { height: 280px; }
  .companion figcaption { font-size: 8px; }
  .companion-copy { padding: 20px 0 0 15px; }
  .person-role { font-size: 8px; letter-spacing: 0; }
  .companion h3 { font-size: 31px; margin: 6px 0 14px; }
  .companion-copy > p:not(.person-role) { font-size: 12px; line-height: 1.95; }
  .signature { margin-top: 17px; padding-top: 12px; }
  .signature strong { font-size: 14px; }
  .signature p { font-size: 9px; }
  .margin-note { font-size: 11px; margin-top: 25px; }
  .chapter-tabs { margin-bottom: 24px; justify-content: space-between; }
  .chapter-tabs button { flex: 1; display: block; font-size: 19px; padding: 11px 2px 14px; }
  .chapter-tabs button span { display: block; font-size: 8px; margin-bottom: 6px; }
  .chapter-panel { gap: 25px; }
  .chapter-image img { aspect-ratio: 4 / 3; }
  .chapter-image figcaption { font-size: 8px; }
  .chapter-copy { display: block; }
  .chapter-copy .eyebrow { font-size: 8px; }
  .chapter-copy h3 { font-size: 57px; margin: 8px 0 7px; }
  .chapter-copy .chapter-line { font-size: 18px; margin-bottom: 18px; }
  .chapter-copy > p:not(.eyebrow, .chapter-line) { font-size: 13px; }
  .chapter-copy dl { grid-template-columns: 1fr; gap: 17px; margin-top: 23px; padding-top: 19px; }
  .chapter-copy dd { font-size: 11px; }
  .atmosphere-heading { display: block; margin-bottom: 32px; }
  .atmosphere-heading > div { font-size: 13px; margin-top: 24px; }
  .atmosphere-heading .muted { font-size: 10px; }
  .art-spread { grid-template-columns: 1fr; gap: 32px; }
  .art-landscape { margin-top: 0; }
  .art-detail { width: 78%; margin-left: auto; }
  .art-spread figcaption { flex-wrap: nowrap; font-size: 8px; }
  .art-spread .plate-number { display: block; }
  .sound-strip { display: block; margin-top: 42px; padding-block: 25px; }
  .sound-strip > div > p:not(.eyebrow) { font-size: 16px; }
  .sound-strip .eyebrow { font-size: 8px; }
  .sound-strip small { font-size: 9px; }
  .audio-wrap { width: 100%; margin-top: 23px; }
  .gameplay-video figcaption { flex-direction: column; gap: 12px; padding-top: 15px; }
  .gameplay-video figcaption strong { font-size: 11px; }
  .gameplay-video figcaption small { font-size: 9px; }
  .gallery-header { padding-top: 40px; display: block; margin-bottom: 22px; }
  .gallery-header h3 { font-size: 23px; }
  .gallery-header p { margin-top: 8px; font-size: 8px; }
  .screenshot-gallery { grid-template-columns: 1fr; gap: 25px; }
  .screenshot figcaption { font-size: 8px; }
  .reference-disclosure { margin-top: 38px; }
  summary { gap: 18px; padding: 23px 0; }
  summary .eyebrow { font-size: 8px; }
  summary strong { font-size: 22px; }
  summary small { font-size: 9px; }
  .reference-body > p { font-size: 12px; }
  .text-link { font-size: 10px; }
  .opponents { gap: 33px; }
  .opponents article { grid-template-columns: 31% 1fr; gap: 22px; }
  .opponents figure > a { height: 250px; }
  .opponents h3 { font-size: 30px; margin-bottom: 12px; }
  .opponents article > div > p:not(.person-role) { font-size: 12px; }
  .opponents article .opponent-rule { font-size: 9px !important; margin-top: 14px; }
  .spoiler-disclosure { margin-top: 36px; }
  .spoiler-body { grid-template-columns: 1fr; gap: 25px; }
  .spoiler-copy p { font-size: 12px; }
  .development-intro { display: block; }
  .development-intro > p { font-size: 13px; margin-top: 26px; }
  .development-label { margin-bottom: 12px; font-size: 9px; }
  .development-columns { grid-template-columns: 1fr; gap: 31px; margin-top: 29px; }
  .development-columns > div { padding-top: 19px; }
  .development-columns h3 { font-size: 18px; }
  .development-columns ul { margin-top: 14px; font-size: 12px; line-height: 2.15; }
  .verification-note { font-size: 10px; margin-top: 28px; }
  .archive-disclosure { margin-top: 36px; }
  .archive-body > p { font-size: 11px; }
  .download-groups { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .download-groups > div:last-child { grid-column: 1 / -1; }
  .download-groups h4 { font-size: 14px; margin-bottom: 9px; }
  .download-groups a { font-size: 10px; }
  .archive-note { max-width: none; font-size: 9px; margin-top: 13px; }
  .site-footer { padding-block: 44px 32px; gap: 15px; }
  .footer-title { font-size: 44px; }
  .site-footer > div:first-child p { font-size: 10px; letter-spacing: .02em; }
  .site-footer > div:last-child { font-size: 8px; }
  .site-footer .footer-date { font-size: 7px; }
  .site-footer > div:last-child a { font-size: 9px; }
  .lightbox { padding: 12px 15px 20px; }
  .lightbox-toolbar { min-height: 39px; }
  .lightbox-stage { position: relative; display: flex; padding-bottom: 48px; }
  .lightbox-stage > img { max-width: 100%; max-height: calc(100dvh - 230px); }
  .lightbox-stage > button { position: absolute; bottom: 0; z-index: 1; height: 38px; width: 48px; }
  .lightbox-prev { left: calc(50% - 66px); }
  .lightbox-next { right: calc(50% - 66px); }
  .lightbox-caption { display: block; padding-top: 16px; font-size: 11px; }
  .lightbox-caption > div { font-size: 10px; margin-top: 15px; gap: 25px; }
}

@media (max-width: 359px) {
  .site-header nav { gap: 12px; }
  .hero-name { font-size: 110px; }
  .hero-line { font-size: 15px; }
  .hero-folio { margin-right: 0; font-size: 8px; }
  .companion { grid-template-columns: 38% 62%; }
  .companion figure > a { height: 260px; }
  .companion-copy { padding-left: 10px; }
  .companion h3 { font-size: 28px; }
}

/* Keep captions and provenance readable, including on a phone. */
figcaption, figcaption small, .eyebrow, .section-kicker,
.section-kicker > span:last-child, .person-role, .signature > span,
.signature p, .chapter-copy dt, .chapter-image figcaption,
.art-spread figcaption, .screenshot figcaption, .spoiler-pictures figcaption,
.gallery-header p, .sound-strip small, .audio-wrap .text-link,
.sun-limit small, .archive-note, .verification-note,
.site-footer > div:last-child, .site-footer .footer-date,
.site-footer > div:last-child a, .download-groups a, summary small,
.companion figcaption, .opponents figcaption { font-size: 11px; }
.hero-art figcaption { font-size: 11px; color: var(--soft); }
.hero-art figcaption a { padding: 7px 0; }
.hero-folio { font-size: 11px; }
.hero-scroll { font-size: 11px; }
.section-kicker > span:last-child, .chapter-tabs button span { color: var(--muted); }
.gameplay-video figcaption small { font-size: 11px; max-width: 780px; }
.sound-strip .eyebrow, .sun-explanation .eyebrow,
.chapter-copy .eyebrow, summary .eyebrow, .development-label { font-size: 11px; }
.opponents article .opponent-rule { font-size: 11px !important; }

@media (max-width: 599px) {
  .hero-art figcaption { bottom: 22px; }
  .hero-art figcaption > span { max-width: calc(100% - 83px); line-height: 1.7; }
  .hero-scroll { bottom: 95px; }
  .video-downloads { align-items: flex-start; gap: 7px; }
  .video-downloads a { font-size: 11px; }
  .gameplay-video figcaption { gap: 15px; }
  .sun-limit p { font-size: 11px; }
  .companion figcaption, .opponents figcaption { font-size: 10px; }
  .section-kicker { flex-wrap: wrap; row-gap: 6px; }
  .site-footer { flex-direction: column; gap: 27px; }
  .site-footer > div:last-child { text-align: left; }
  .site-footer .footer-date { font-size: 10px; }
  .archive-note { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Runtime sprites include transparent alignment margins; crop only the webpage
   viewport, never the linked original image. Keep feet aligned across cards. */
.companion figure > a, .opponents figure > a { overflow: hidden; }
.companion img, .opponents img { width: auto; max-width: none; height: 100%; flex-shrink: 0; object-fit: contain; }
.companion-han img { height: 90%; transform: translateX(4%); }
.opponents article, .opponents figure, .opponents article > div { min-width: 0; }
.opponents article > div { overflow-wrap: anywhere; }

@media print {
  body { background: #fff; color: #111; }
  body::before, .site-header, .hero-scroll, video, audio, .lightbox, .chapter-tabs { display: none !important; }
  .page-width { width: 100%; }
  .section-space { padding-block: 25px; }
  .hero { min-height: 480px; height: 480px; }
  .hero-name { font-size: 130px; }
  .hero-content { color: #fff; }
  .chapter-panel[hidden] { display: grid !important; margin-top: 25px; }
  .play, .chapters, .footage, .development { background: #eee; }
  p, li, dd, dt, figcaption { color: #333 !important; }
  figure, article { break-inside: avoid; }
}
