:root {
  color-scheme: dark;
  --bg: #08121d;
  --panel: #0d1d2b;
  --panel-light: #122638;
  --line: rgba(125, 183, 214, .24);
  --text: #edf5fb;
  --muted: #a9bdca;
  --cyan: #6bd6ea;
  --cyan-strong: #27aeca;
  --gold: #e6bd72;
  --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.65;
}
img, video, iframe { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button, select { font: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: 12px; padding: 10px 14px; transform: translateY(-160%); background: #fff; color: #06101a; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 27, .97);
}
.header-inner { position: relative; max-width: var(--content); min-height: 76px; margin: auto; padding: 10px clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: minmax(132px, 180px) minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.brand-lockup { display: inline-flex; align-items: center; width: clamp(138px, 14vw, 180px); color: var(--text); text-decoration: none; line-height: 1.1; }
.brand-lockup img { width: 100%; height: auto; }
.header-dropdown { display: contents; }
.primary-nav { display: flex; min-width: 0; justify-content: center; align-items: center; flex-wrap: nowrap; gap: clamp(8px, .9vw, 14px); }
.primary-nav a { padding: 9px 0; color: #bfd0dc; text-decoration: none; font-size: clamp(9px, .72vw, 11px); letter-spacing: .055em; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.audio-toggle { min-width: 78px; min-height: 34px; padding: 5px 8px; border: 1px solid var(--line); background: #0a1824; color: var(--text); cursor: pointer; font-size: 9px; letter-spacing: .06em; }
.audio-toggle[aria-pressed="true"] { border-color: var(--cyan-strong); color: var(--cyan); }
.audio-volume { width: 58px; min-height: 30px; accent-color: var(--cyan); }
.audio-value { min-width: 28px; text-align: right; }
.signal-back { color: var(--muted); text-decoration: none; font-size: 11px; white-space: nowrap; }
.signal-back:hover { color: var(--text); }
.settings-toggle, .nav-toggle { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); background: #0a1824; color: var(--text); cursor: pointer; }
.settings-toggle:hover, .nav-toggle:hover, .audio-icon:hover { border-color: var(--cyan-strong); color: var(--cyan); }
.settings-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.audio-icon { position: relative; width: 40px; min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; font-size: 21px; line-height: 1; }
.audio-icon::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: #73818a; }
.audio-icon[aria-pressed="true"]::after { background: var(--cyan); box-shadow: 0 0 7px rgba(107, 214, 234, .7); }
.nav-toggle { display: none; font-size: 22px; line-height: 1; }
.settings-panel { position: absolute; z-index: 30; top: calc(100% + 10px); right: clamp(18px, 2.4vw, 28px); width: min(320px, calc(100vw - 28px)); padding: 18px; border: 1px solid rgba(107, 214, 234, .28); background: rgba(7, 17, 27, .97); box-shadow: 0 16px 40px rgba(0, 0, 0, .38); backdrop-filter: blur(12px); }
.settings-panel[hidden] { display: none; }
.settings-heading { margin: 0 0 12px; color: var(--cyan); font-size: 10px; letter-spacing: .18em; }
.settings-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 42px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.settings-row > .audio-toggle { grid-column: 2 / 4; justify-self: start; }
.settings-row .audio-volume { width: 100%; }
.settings-row select { width: 100%; min-width: 0; padding: 8px 22px 8px 8px; border: 1px solid var(--line); background: #0a1824; color: var(--text); font-size: 11px; }
.settings-panel > .signal-back { display: inline-flex; align-items: center; min-height: 42px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.mobile-menu-tools { display: none; }

.container { width: min(var(--content), 100%); margin: 0 auto; padding: 0 28px; }
.hero {
  background: #091726;
}
.hero-art, .hero-art img { display: block; width: 100%; }
.hero-art img { height: auto; }
.hero-store-action { display: flex; justify-content: center; padding: 22px 18px 0; }
.hero-store-action .button { min-width: 230px; min-height: 50px; }
.hero-content { width: min(var(--content), 100%); margin: 0 auto; padding: 20px 28px 48px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 11px; letter-spacing: .19em; }
.hero h1 { margin: 0 0 18px; font-size: clamp(19px, 2.8vw, 28px); font-weight: 400; letter-spacing: .22em; }
.hero-copy { max-width: 560px; color: #d1e0e9; font-size: clamp(16px, 1.8vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.button, .button-disabled { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid var(--cyan-strong); background: rgba(10, 35, 50, .82); color: var(--text); text-decoration: none; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.button:hover { background: rgba(28, 97, 119, .8); }
.button-disabled { border-color: var(--line); color: #8195a2; cursor: not-allowed; }

.page-heading { padding: 36px 0 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0c1a27, #08121d); }
.page-heading .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr); gap: 40px; align-items: end; }
.page-kicker { margin: 0 0 10px; color: var(--cyan); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.page-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 42px); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.page-heading-copy { max-width: 480px; justify-self: end; color: var(--muted); }
.page-heading-copy > p { margin: 0; line-height: 1.75; white-space: pre-line; }
.page-heading-copy > .page-heading-section { margin: 0 0 7px; color: var(--cyan); font-size: 9px; letter-spacing: .18em; }
.page-heading-copy > .page-heading-detail { margin: 0 0 6px; color: var(--gold); font-size: 11px; letter-spacing: .18em; }
.page-heading-copy > .page-heading-status { display: inline-block; margin: 0 0 8px; padding: 5px 9px; border-block: 1px solid rgba(107, 214, 234, .35); color: var(--cyan); font-size: 9px; letter-spacing: .2em; }
.section { padding: 74px 0; }
.section + .section { border-top: 1px solid rgba(125, 183, 214, .12); }
.section-heading { margin: 0 0 26px; color: var(--cyan); font-size: 14px; font-weight: 400; letter-spacing: .17em; text-transform: uppercase; }
.section-intro { max-width: 720px; margin: -12px 0 28px; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); align-items: center; gap: 44px; }
.intro-grid h2 { margin: 0 0 15px; font-size: clamp(25px, 3vw, 36px); font-weight: 400; }
.intro-grid p { max-width: 680px; color: var(--muted); }
.intro-image { width: 100%; max-height: 310px; object-fit: cover; border: 1px solid var(--line); }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-width: 0; border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.feature-card:hover { border-color: var(--cyan-strong); transform: translateY(-3px); }
.feature-card img { width: 100%; height: 150px; object-fit: cover; background: #0a1824; }
.feature-card-copy { padding: 16px; }
.feature-card h3 { margin: 0 0 6px; color: var(--cyan); font-size: 12px; font-weight: 400; letter-spacing: .15em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }
.top-explore .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card { position: relative; min-height: 228px; display: flex; flex-direction: column; overflow: hidden; }
.feature-card > img { width: 100%; height: 166px; flex: 0 0 auto; object-fit: cover; }
.top-explore .feature-card.has-feature-image { min-height: 0; }
.top-explore .feature-card.has-feature-image > img { width: 100%; height: auto; aspect-ratio: 16 / 9; flex: 0 0 auto; object-fit: cover; transition: transform .28s ease; }
.top-explore .feature-card.has-feature-image:hover > img { transform: scale(1.035); }
.top-explore .feature-card.has-feature-image:focus-visible { outline: 2px solid var(--cyan-strong); outline-offset: 3px; }
.feature-card-copy { position: relative; flex: 1 1 auto; padding: 15px 18px; }
.feature-card:hover { box-shadow: 0 0 22px rgba(39, 174, 202, .2); }
.feature-card-wide { grid-column: 1 / -1; min-height: 132px; flex-direction: row; align-items: center; }
.feature-card-wide .feature-card-mark { position: absolute; inset: 0 0 0 42%; display: grid; place-items: center; color: rgba(107, 214, 234, .1); font-size: clamp(34px, 7vw, 72px); letter-spacing: .12em; }
.feature-card-wide .feature-card-copy { z-index: 1; width: 100%; padding: 22px 26px; }
.feature-card-wide .feature-card-copy h3 { font-size: 16px; }
.feature-card-badge { display: inline-block; margin-top: 10px; padding: 3px 7px; border: 1px solid rgba(107, 214, 234, .35); color: var(--cyan); font-size: 8px; letter-spacing: .13em; }
.top-introduction .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.top-introduction .intro-image { width: 100%; height: auto; max-height: none; object-fit: contain; }
.top-introduction .intro-grid h2 { margin: 0 0 20px; color: var(--text); font-size: clamp(24px, 3.8vw, 38px); letter-spacing: .09em; }
.intro-copy p { max-width: 570px; margin: 0 0 14px; color: var(--muted); line-height: 1.95; }
.intro-image-placeholder { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px solid rgba(107, 214, 234, .3); background: radial-gradient(ellipse at center, rgba(21, 78, 103, .25), transparent 66%), linear-gradient(145deg, #102335, #060d14); }
.intro-image-placeholder span { padding: 9px 14px; border: 1px solid rgba(107, 214, 234, .25); color: #9bb1bf; font-size: 9px; letter-spacing: .17em; }
.top-trailer { background: #070f18; }
.top-trailer-placeholder { width: min(100%, 1000px); aspect-ratio: 16 / 9; display: grid; place-items: center; margin: auto; border: 1px solid rgba(107, 214, 234, .28); background: radial-gradient(ellipse at 50% 45%, rgba(23, 83, 108, .24), transparent 58%), linear-gradient(145deg, #0f2030, #050b11); }
.top-trailer-placeholder span { color: #b7c9d3; font-size: 12px; letter-spacing: .25em; }
.top-trailer-frame { width: min(100%, 1000px); margin: auto; }
.top-trailer-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.top-latest-news { padding-top: 56px; }
.top-latest-news .news-list { border-top: 1px solid var(--line); }
.top-latest-news .news-item { grid-template-columns: 110px minmax(0, 1fr) auto; }
.news-top-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; }
.news-top-meta > span { color: var(--cyan); font-size: 9px; letter-spacing: .12em; }
.news-top-meta h3 { margin: 0; }
.view-all-news { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--cyan); font-size: 10px; letter-spacing: .14em; text-decoration: none; }
.view-all-news span { font-size: 18px; }
.view-all-news:hover { color: var(--text); }
.top-follow { padding-top: 48px; background: #070f18; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { min-width: 150px; min-height: 54px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 16px; border: 1px solid var(--line); background: #0b1b28; color: var(--text); font-size: 11px; letter-spacing: .12em; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.social-link span { color: var(--cyan); font-size: 17px; }
.social-link:hover { border-color: var(--cyan-strong); box-shadow: 0 0 16px rgba(39, 174, 202, .17); }
.news-list { display: grid; gap: 10px; }
.news-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 17px 20px; border: 1px solid var(--line); background: rgba(13, 29, 43, .72); text-decoration: none; }
.news-item time { color: var(--gold); font-size: 11px; }
.news-item h3 { margin: 0 0 3px; font-size: 14px; font-weight: 400; letter-spacing: .08em; }
.news-item p { margin: 0; color: var(--muted); font-size: 13px; }
.news-link { color: var(--cyan); font-size: 11px; white-space: nowrap; }

.story-sections { display: grid; gap: 22px; }
.story-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); align-items: stretch; border: 1px solid var(--line); background: var(--panel); }
.story-card.image-right { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); }
.story-card.image-right img { order: 2; }
.story-card img { width: 100%; height: 100%; min-height: 260px; max-height: 420px; object-fit: cover; background: #0a1824; }
.story-copy { align-self: center; padding: clamp(22px, 4vw, 48px); }
.story-copy h2 { margin: 0 0 12px; color: var(--cyan); font-size: 13px; font-weight: 400; letter-spacing: .16em; }
.story-copy p { margin: 0; color: var(--muted); }

.story-movie, .story-text, .story-next { position: relative; overflow: hidden; }
.story-narrow { width: min(100%, 760px); margin: 0 auto; }
.story-wide { width: min(100%, 1120px); margin: 0 auto; }
.story-index { margin: 0 0 15px; color: var(--cyan); font-size: 10px; letter-spacing: .22em; }
.story-movie { padding: 72px 28px 34px; background: #070f18; }
.story-movie h2, .story-text h2, .story-next h2 { margin: 0 0 26px; color: var(--text); font-size: clamp(20px, 3vw, 28px); font-weight: 400; letter-spacing: .14em; }
.attract-frame { width: 100%; aspect-ratio: 16 / 9; display: grid; overflow: hidden; border: 1px solid rgba(107, 214, 234, .32); background: linear-gradient(145deg, #102335, #060b11); }
.attract-frame video, .attract-frame img, .attract-frame iframe { width: 100%; height: 100%; min-width: 0; object-fit: contain; background: #050a10; border: 0; }
.attract-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; color: var(--muted); text-align: center; font-size: 13px; letter-spacing: .04em; }
.attract-placeholder strong { color: var(--cyan); font-size: 12px; font-weight: 500; letter-spacing: .22em; }
.attract-placeholder span { max-width: 680px; line-height: 1.8; }
.attract-mark { width: 52px; height: 52px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(107, 214, 234, .5); border-radius: 50%; color: var(--cyan); font-size: 17px; }
.attract-caption { margin: 10px 0 0; color: #8498a5; text-align: right; font-size: 10px; letter-spacing: .08em; }
.story-text { padding: 86px 24px 94px; text-align: center; background: radial-gradient(ellipse at 50% 50%, rgba(14, 43, 60, .24), transparent 65%); }
.story-text h2 { margin-bottom: 38px; }
.story-lines p { margin: 0 0 22px; color: #d7e2e9; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.95; overflow-wrap: anywhere; }
.story-lines .story-ending { margin: 40px 0 0; color: var(--cyan); font-size: clamp(23px, 3vw, 32px); letter-spacing: .08em; }
.story-visual-sections { display: grid; gap: clamp(24px, 4vw, 46px); text-align: left; }
.story-visual-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; align-items: stretch; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(110deg, rgba(13, 29, 43, .92), rgba(7, 17, 27, .96)); }
.story-visual-card > img { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 100%; height: auto; max-height: 420px; aspect-ratio: 16 / 9; object-fit: contain; background: #07111b; }
.story-visual-card > h3 { grid-column: 2; grid-row: 1; align-self: end; margin: 0; padding: clamp(22px, 3.6vw, 42px) clamp(22px, 3.8vw, 46px) 0; color: var(--cyan); font-size: 12px; font-weight: 400; letter-spacing: .18em; }
.story-visual-copy { grid-column: 2; grid-row: 2; align-self: center; min-width: 0; padding: 14px clamp(22px, 3.8vw, 46px) clamp(22px, 3.6vw, 42px); }
.story-visual-card.image-right > img { grid-column: 2; }
.story-visual-card.image-right > h3, .story-visual-card.image-right .story-visual-copy { grid-column: 1; }
.story-visual-lines p { margin: 0 0 14px; color: #d7e2e9; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.9; overflow-wrap: anywhere; }
.story-visual-lines p:last-child { margin-bottom: 0; }
.story-rank-ladder { display: flex; align-items: center; margin: 26px 0 0; padding: 0; list-style: none; }
.story-rank-ladder li { display: flex; flex: 1; min-width: 0; align-items: center; gap: 9px; color: var(--cyan); font-size: 12px; letter-spacing: .08em; }
.story-rank-ladder li::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(107, 214, 234, .7), rgba(107, 214, 234, .24)); }
.story-rank-ladder li:last-child { flex: 0 0 auto; }
.story-rank-ladder li:last-child::after { display: none; }
.story-visual-story > .story-wide > .story-ending { margin: clamp(48px, 8vw, 96px) 0 0; color: var(--cyan); font-size: clamp(24px, 3vw, 34px); line-height: 1.5; letter-spacing: .08em; }
.story-next { padding: 58px 28px 74px; border-top: 1px solid var(--line); background: #070f18; }
.story-next-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.story-next-link { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 12px; letter-spacing: .14em; transition: border-color .2s ease, color .2s ease; }
.story-next-link span { color: var(--cyan); font-size: 20px; }
.story-next-link:hover { border-color: var(--cyan-strong); color: var(--cyan); }

.characters-section { padding: 34px 0 88px; }
.characters-subtitle { margin: 0 0 24px; color: var(--gold); font-size: 11px; letter-spacing: .25em; }
.character-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.character-select { width: 100%; min-width: 0; min-height: 58px; display: inline-flex; align-items: center; gap: 13px; padding: 10px 18px; border: 1px solid var(--line); background: linear-gradient(115deg, #102235, #0a1723); color: var(--muted); text-align: left; cursor: pointer; letter-spacing: .1em; }
.character-select:hover, .character-select[aria-selected="true"] { border-color: var(--cyan-strong); color: var(--text); background: linear-gradient(115deg, #123247, #0a1723); }
.character-tab-number { color: var(--cyan); font-size: 10px; }
.character-detail { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr); min-height: 480px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(115deg, #0a1723, #102638 54%, #09141f); }
.character-visual { --association-hud-opacity: .15; --association-logo-opacity: .07; position: relative; display: block; min-width: 0; min-height: 480px; overflow: hidden; isolation: isolate; background-color: #071522; background-image: linear-gradient(180deg, rgba(4, 14, 23, .13), rgba(4, 14, 23, .26)), url("../assets/ascendant/characters/bg/board_back.png"); background-size: cover; background-position: center; }
.character-database-hud, .character-association-watermark, .character-frame-lines, .character-art-layer { position: absolute; inset: 0; pointer-events: none; }
.character-database-hud { z-index: 0; opacity: var(--association-hud-opacity); background: url("../assets/ascendant/characters/bg/display.png") no-repeat center top / 175% auto; mix-blend-mode: screen; }
.character-association-watermark { z-index: 1; opacity: var(--association-logo-opacity); background: url("../assets/ascendant/characters/bg/logo.png") no-repeat center / 55% auto; mix-blend-mode: screen; }
.character-frame-lines { z-index: 3; inset: 18px; border: 1px solid rgba(107, 214, 234, .2); }
.character-record-label { position: absolute; z-index: 4; top: 30px; left: 32px; max-width: calc(100% - 64px); color: rgba(180, 226, 239, .56); font-size: 8px; letter-spacing: .15em; }
.character-art-layer { z-index: 2; overflow: hidden; transition: opacity .3s ease, transform .3s ease; }
.character-art-layer.is-switching { opacity: .28; transform: translateY(3px); }
.character-art-layer img { position: absolute; top: 0; left: calc(50% + var(--character-image-x, 0px)); width: auto; height: var(--character-image-max-height, 640px); max-width: none; max-height: none; object-fit: contain; object-position: center top; transform: translateX(-50%) translateY(var(--character-image-y, 0px)) scale(var(--character-image-scale, 1)); transform-origin: center top; }
.character-art-layer img:not([hidden]) { pointer-events: auto; cursor: zoom-in; }
.character-image-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 24px; color: var(--cyan); text-align: center; letter-spacing: .16em; pointer-events: auto; }
.character-image-placeholder[hidden] { display: none; }
.placeholder-signal { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(107, 214, 234, .42); transform: rotate(45deg); font-size: 28px; }
.character-image-placeholder small { color: #8299a8; font-size: 9px; }
.character-detail-copy { min-width: 0; align-self: center; padding: clamp(26px, 5vw, 68px); transition: opacity .3s ease, transform .3s ease; }
.character-detail-copy.is-switching { opacity: .35; transform: translateY(3px); }
.character-number { display: block; margin-bottom: 30px; color: #7294a8; font-size: 10px; letter-spacing: .2em; }
.character-detail-copy .role { color: var(--gold); font-size: 10px; letter-spacing: .15em; }
.character-detail-copy h2 { margin: 8px 0 12px; font-size: clamp(25px, 4vw, 38px); font-weight: 400; }
.character-japanese-name { margin: -8px 0 20px; color: var(--cyan); font-size: 13px; letter-spacing: .08em; }
.character-detail-copy p { color: var(--muted); overflow-wrap: anywhere; }
.character-description { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.character-description p { margin: 0 0 13px; color: #c0d0da; line-height: 1.95; }

.system-section { padding: 56px 0; border-top: 1px solid var(--line); }
.system-section:first-of-type { border-top: 0; }
.system-section h2 { margin: 0 0 8px; color: var(--cyan); font-size: 16px; font-weight: 400; letter-spacing: .16em; }
.system-section > p { max-width: 780px; color: var(--muted); }
.system-page { padding-bottom: 46px; }
.system-index { margin: 0 0 9px; color: var(--cyan); font-size: 10px; letter-spacing: .2em; }
.system-section > .system-index + h2 { margin-bottom: 8px; color: var(--text); font-size: clamp(22px, 3vw, 30px); }
.system-section .system-lead { max-width: 820px; margin: 0 0 24px; color: var(--muted); }
.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.system-card { min-height: 116px; padding: 18px; border: 1px solid var(--line); background: var(--panel); }
.system-card h3 { margin: 0 0 7px; color: var(--text); font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.system-card p { margin: 0; color: var(--muted); font-size: 13px; }
.style-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.style-tab { min-width: 170px; min-height: 64px; display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px; border: 1px solid var(--line); background: #0b1824; color: var(--muted); cursor: pointer; font-size: 12px; letter-spacing: .12em; text-align: left; }
.style-tab img { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.style-tab[aria-selected="true"] { border-color: var(--cyan-strong); color: var(--cyan); }
.style-panel { display: block; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); background: var(--panel); }
.style-panel-intro { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.style-panel-intro p { max-width: 780px; margin: 0; color: var(--muted); }
.style-panel-intro .system-label { margin-bottom: 6px; color: var(--gold); font-size: 11px; letter-spacing: .15em; }
.style-battle h3, .style-tree h3, .system-screen h3, .mission-screen h3 { margin: 0 0 10px; color: var(--cyan); font-size: 10px; font-weight: 400; letter-spacing: .14em; }
.style-tree { display: grid; grid-template-columns: minmax(160px, .45fr) minmax(0, 1fr); align-items: start; gap: 16px; margin-top: 24px; }
.style-tree h3 { padding-top: 8px; }
.system-media { position: relative; display: grid; place-items: center; min-width: 0; overflow: hidden; border: 1px solid rgba(107, 214, 234, .28); background: linear-gradient(135deg, #102235, #060c13); }
.system-media.has-media { cursor: zoom-in; }
.system-media.has-media:focus-visible, .arena-main-media.has-media:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.system-media img, .system-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050a10; }
.system-media.has-media[data-ratio="auto"] { display: block; aspect-ratio: auto !important; }
.system-media.has-media[data-ratio="auto"] img { height: auto; }
.system-media-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 72px; padding: 18px; color: #9bb1bf; text-align: center; font-size: 10px; letter-spacing: .14em; }
.system-media-placeholder span { padding: 8px 12px; border: 1px solid rgba(107, 214, 234, .3); background: rgba(5, 13, 21, .58); }
.system-screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.system-screen, .mission-screen { min-width: 0; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.device-card { min-width: 0; padding: 17px; border: 1px solid var(--line); background: var(--panel); }
.device-card h3 { margin: 0 0 8px; color: var(--cyan); font-size: 11px; font-weight: 400; letter-spacing: .13em; }
.device-card p { margin: 0; color: var(--muted); font-size: 12px; }
.mission-board-info { display: inline-block; margin: 0 0 2px; padding: 8px 12px; border: 1px solid rgba(107, 214, 234, .24); color: #c1d3df; font-size: 10px; letter-spacing: .1em; }
.mission-screens { margin-top: 10px; }
.system-flow, .rank-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 4px; }
.flow-step { padding: 11px 14px; border: 1px solid rgba(107, 214, 234, .34); background: rgba(12, 29, 43, .8); color: var(--text); text-align: center; font-size: 10px; letter-spacing: .1em; }
.flow-arrow { color: var(--cyan); font-size: 17px; }
.arena-main-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(107, 214, 234, .32); background: #050a10; }
.arena-main-media > .system-media { width: 100%; height: 100%; border: 0; }
.arena-main-media video, .arena-main-media img { width: 100%; height: 100%; object-fit: contain; }
.arena-features { margin: 18px 0 28px; }
.rank-ladder { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 8px; margin: 28px 0 24px; padding: 0; list-style: none; }
.rank-step { min-width: 0; min-height: 160px; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 14px 8px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(12, 29, 43, .95), rgba(5, 12, 20, .95)); text-align: center; }
.rank-emblem { width: clamp(72px, 6vw, 84px); height: clamp(72px, 6vw, 84px); object-fit: contain; image-rendering: pixelated; }
.rank-step strong { color: var(--gold); font-size: 11px; letter-spacing: .1em; }
.rank-connector { color: var(--cyan); text-align: center; font-size: 20px; }
.rank-flow { justify-content: space-between; flex-wrap: nowrap; gap: 8px; margin-top: 22px; }
.rank-flow .flow-step { flex: 1 1 0; min-width: 0; }
.style-copy { padding: clamp(22px, 4vw, 38px); }
.style-copy h3 { margin: 0 0 10px; font-size: 22px; font-weight: 400; color: var(--text); letter-spacing: .12em; }
.style-copy p { color: var(--muted); }
.rank-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.rank-card { padding: 20px; border: 1px solid var(--line); background: var(--panel); }
.rank-card strong { color: var(--gold); font-size: 14px; letter-spacing: .15em; }
.rank-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.visual-slot { min-height: 200px; display: grid; place-items: center; padding: 24px; border: 1px dashed rgba(107, 214, 234, .42); background: linear-gradient(135deg, #0c1c2a, #09131e); text-align: center; }
.visual-slot strong { display: block; color: var(--cyan); font-size: 11px; letter-spacing: .14em; }
.visual-slot span { display: block; max-width: 440px; margin-top: 6px; color: var(--muted); font-size: 12px; }

.world-list { display: grid; gap: 24px; }
.world-card { border: 1px solid var(--line); background: var(--panel); }
.world-card img { width: 100%; max-height: 520px; object-fit: cover; background: #0b1722; }
.world-card-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; }
.world-card h2 { margin: 0 0 4px; color: var(--cyan); font-size: 14px; font-weight: 400; letter-spacing: .15em; }
.world-card p { margin: 0; color: var(--muted); }

.world-overview-section { padding: 48px 24px 54px; background: radial-gradient(ellipse at 50% 34%, rgba(14, 74, 101, .14), transparent 58%), linear-gradient(180deg, #08121d, #0b1925); }
.world-overview-inner { width: min(900px, 100%); margin: 0 auto; }
.world-overview-inner > .story-index { margin: 0 0 8px; }
.world-overview-inner > h2 { margin: 0 0 22px; color: var(--text); font-size: clamp(20px, 3vw, 28px); font-weight: 400; letter-spacing: .12em; }
.metro-section { padding: 38px 24px 44px; background: linear-gradient(180deg, #050c14, #0a1723); border-top: 1px solid rgba(107, 214, 234, .12); }
.metro-inner { width: min(760px, 100%); margin: 0 auto; text-align: center; }
.ntm-logo { display: block; width: min(260px, 66vw); height: auto; margin: 10px auto 14px; object-fit: contain; }
.ntm-placeholder { width: min(280px, 70vw); min-height: 75px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px; margin: 0 auto 14px; padding: 10px 16px; border: 1px solid rgba(107, 214, 234, .35); color: var(--cyan); }
.ntm-placeholder > span { font-size: 30px; font-weight: 700; letter-spacing: .08em; }
.ntm-placeholder small { font-size: 10px; letter-spacing: .14em; }
.ntm-placeholder i { width: 100%; color: #8fa8b7; font-size: 8px; font-style: normal; letter-spacing: .18em; }
.metro-inner > h2 { margin: 0 0 12px; color: var(--text); font-size: 13px; font-weight: 400; letter-spacing: .24em; }
.metro-description { max-width: 720px; margin: 0 auto; color: #b7c8d2; font-size: 13px; line-height: 1.8; }
.network-map-frame { max-width: 940px; margin: 0 auto; padding: clamp(12px, 2.5vw, 24px); border: 1px solid rgba(107, 214, 234, .2); background: radial-gradient(ellipse at 50% 50%, rgba(4, 34, 51, .8), rgba(3, 9, 16, .96) 70%); }
.network-map { display: block; width: 100%; height: auto; object-fit: contain; }
.network-map-frame figcaption { padding-top: 12px; color: #7895a6; font-size: 10px; letter-spacing: .04em; line-height: 1.6; }
.network-map-fallback { min-height: 220px; display: grid; place-items: center; color: #7895a6; font-size: 11px; letter-spacing: .15em; }
.network-map-fallback[hidden] { display: none; }
.city-map-frame { position: relative; width: 100%; overflow: hidden; border: 1px solid rgba(107, 214, 234, .28); background: #08121d; box-shadow: 0 0 32px rgba(25, 115, 143, .08); }
.city-map { display: block; width: 100%; height: auto; }
.station-markers { position: absolute; inset: 0; }
.station-marker { position: absolute; left: var(--station-x); top: var(--station-y); width: min(20%, 178px); min-width: 126px; min-height: 38px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 9px; padding: 7px 10px; border: 1px solid rgba(107, 214, 234, .48); border-radius: 2px; background: rgba(5, 17, 29, .9); color: #d8f7ff; box-shadow: 0 0 12px rgba(25, 171, 203, .12); transform: translate(-50%, -50%); cursor: pointer; text-align: left; text-decoration: none; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.station-marker:hover, .station-marker:focus-visible { border-color: var(--cyan); background: rgba(10, 37, 53, .96); box-shadow: 0 0 16px rgba(39, 174, 202, .24); }
.station-marker:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.station-marker[aria-current="location"] { border-color: var(--cyan); background: rgba(10, 39, 56, .96); box-shadow: 0 0 17px rgba(39, 174, 202, .3); }
.station-marker-number { flex: 0 0 auto; color: var(--cyan); font-size: 9px; letter-spacing: .08em; }
.station-marker-label { min-width: 0; color: inherit; font-size: clamp(8px, .8vw, 10px); font-weight: 500; letter-spacing: .045em; line-height: 1.25; overflow-wrap: anywhere; }
.station-select-label { margin: 28px 0 12px; color: #8fa8b7; font-size: 9px; letter-spacing: .2em; }
.station-tabs { display: flex; justify-content: center; gap: 9px; overflow-x: auto; padding: 2px 2px 8px; }
.station-tab { min-height: 47px; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); background: #0b1b28; color: var(--muted); cursor: pointer; font-size: 10px; letter-spacing: .08em; text-decoration: none; }
.station-tab:hover, .station-tab[aria-current="location"] { border-color: var(--cyan-strong); color: var(--text); background: #103044; box-shadow: 0 0 14px rgba(39, 174, 202, .13); }
.station-tab-number { color: var(--cyan); font-size: 9px; }
.district-section { padding: 50px 0 60px; background: #08121d; }
.district-section h2 { margin: 0 0 22px; font-size: clamp(20px, 3vw, 27px); font-weight: 400; letter-spacing: .15em; }
.district-showcase-list { display: grid; gap: 8px; }
.district-showcase-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto 1fr; align-items: stretch; gap: 0 28px; padding: 22px 0; border-top: 1px solid rgba(125, 183, 214, .16); scroll-margin-top: 84px; }
.district-showcase-heading { grid-column: 2; grid-row: 1; align-self: end; padding: 8px 0 0; }
.district-showcase-heading .district-index { margin: 0 0 12px; }
.district-showcase-heading h3 { margin: 0; color: var(--text); font-size: clamp(21px, 2.4vw, 29px); font-weight: 400; letter-spacing: .1em; }
.district-showcase-heading .district-name-ja { margin: 7px 0 0; }
.district-showcase-image { grid-column: 1; grid-row: 1 / span 2; position: relative; min-width: 0; min-height: 230px; display: grid; place-items: center; overflow: hidden; margin: 0; border: 1px solid var(--line); background: linear-gradient(140deg, #112638, #07121c); }
.district-showcase-image img { display: block; width: 100%; height: auto; max-height: 410px; object-fit: contain; }
.district-showcase-image.is-carousel { display: block; min-height: 0; overflow: hidden; }
.district-carousel { width: 100%; }
.district-carousel-viewport { min-height: 230px; display: grid; place-items: center; background: rgba(2, 8, 14, .5); }
.district-carousel-slide { display: block; width: 100%; height: auto; max-height: 410px; object-fit: contain; }
.district-carousel-slide[hidden] { display: none; }
.district-carousel-controls { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 10px; border-top: 1px solid rgba(107, 214, 234, .2); background: rgba(5, 14, 23, .96); }
.district-carousel-arrow { width: 36px; height: 38px; flex: 0 0 auto; border: 1px solid rgba(107, 214, 234, .32); background: #0b1b28; color: var(--cyan); cursor: pointer; font-size: 24px; line-height: 1; }
.district-carousel-arrow:hover, .district-carousel-arrow:focus-visible { border-color: var(--cyan); background: #123247; outline: none; }
.district-carousel-thumbnails { min-width: 0; display: flex; justify-content: center; gap: 7px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.district-carousel-thumb { width: 60px; height: 42px; flex: 0 0 auto; overflow: hidden; padding: 0; border: 1px solid rgba(125, 183, 214, .34); background: #050a10; cursor: pointer; opacity: .66; }
.district-carousel-thumb[aria-current="true"] { border-color: var(--cyan); box-shadow: 0 0 10px rgba(39, 174, 202, .28); opacity: 1; }
.district-carousel-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.district-carousel-thumb[hidden] { display: none; }
.district-carousel-count { flex: 0 0 auto; color: #9ab0bd; font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.district-image-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(107, 214, 234, .12); margin: 16px; color: var(--cyan); letter-spacing: .16em; }
.district-image-placeholder[hidden] { display: none; }
.district-image-placeholder strong { color: #d5e6ed; font-size: 13px; font-weight: 400; }
.district-image-placeholder span { color: #7895a6; font-size: 9px; }
.district-showcase-card.image-right .district-showcase-heading { grid-column: 1; }
.district-showcase-card.image-right .district-showcase-image { grid-column: 2; }
.district-showcase-description { grid-column: 2; grid-row: 2; align-self: start; padding: 15px 0 20px; }
.district-showcase-card.image-right .district-showcase-description { grid-column: 1; }
.district-showcase-description p { max-width: 540px; margin: 0; color: var(--muted); line-height: 1.9; white-space: pre-line; }
.district-index { margin: 0 0 22px; color: #7995a7; font-size: 10px; letter-spacing: .18em; }
.district-name-ja { margin: 0 0 4px; color: var(--cyan); font-size: 12px; letter-spacing: .08em; }
.asset-caption { color: #8299a8; font-size: 10px; }

.media-group { padding: 44px 0; border-top: 1px solid var(--line); }
.media-content-sections { display: none; }
.media-group:first-of-type { border-top: 0; }
.media-group h2 { margin: 0 0 18px; color: var(--cyan); font-size: 14px; font-weight: 400; letter-spacing: .16em; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.media-frame { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #0c1b29; }
.media-frame iframe, .media-frame video { width: 100%; height: 100%; border: 0; object-fit: contain; }
.media-placeholder { min-height: 180px; display: grid; place-items: center; border: 1px dashed rgba(125, 183, 214, .35); background: repeating-linear-gradient(135deg, #0b1925, #0b1925 18px, #0d1d2b 18px, #0d1d2b 36px); color: var(--muted); text-align: center; }
.media-placeholder span { display: block; color: var(--cyan); font-size: 10px; letter-spacing: .17em; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.screenshot-button { padding: 0; border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; text-align: left; }
.screenshot-button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.screenshot-button span { display: block; padding: 10px 12px; color: var(--muted); font-size: 12px; }
dialog.lightbox { width: min(94vw, 1200px); max-width: none; max-height: 92vh; padding: 12px; border: 1px solid var(--line); background: #07111b; color: var(--text); }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .84); }
.lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 10px; }
.lightbox-head button { padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--text); }
.lightbox img { max-height: 78vh; width: 100%; object-fit: contain; }
.character-lightbox img { width: auto; max-width: 100%; height: auto; margin: 0 auto; object-fit: contain; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-panel { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--panel); }
.info-panel h2 { margin: 0 0 18px; color: var(--cyan); font-size: 14px; font-weight: 400; letter-spacing: .16em; }
.info-list { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); margin: 0; }
.info-list dt, .info-list dd { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(125, 183, 214, .14); }
.info-list dt { color: var(--muted); font-size: 12px; }
.info-list dd { color: var(--text); font-size: 13px; }
.status-line { display: inline-block; margin: 0 0 12px; padding: 5px 9px; border: 1px solid rgba(230, 189, 114, .45); color: var(--gold); font-size: 10px; letter-spacing: .1em; }
.info-panel .button-disabled { margin-top: 18px; }
.information-page { padding-bottom: 56px; }
.information-section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.information-section h2 { margin: 0 0 22px; color: var(--text); font-size: clamp(19px, 2.7vw, 25px); font-weight: 400; letter-spacing: .12em; }
.information-section > .system-index { margin: 0 0 8px; }
.information-page .info-list { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr); max-width: 850px; margin: 0; border-top: 1px solid var(--line); }
.information-page .info-list dt, .information-page .info-list dd { min-width: 0; margin: 0; padding: 13px 16px; border-bottom: 1px solid rgba(125, 183, 214, .14); }
.information-page .info-list dt { color: #9db2c0; font-size: 11px; letter-spacing: .12em; }
.information-page .info-list dd { color: var(--text); font-size: 14px; }
.info-value-link { color: var(--cyan); text-decoration-color: rgba(107, 214, 234, .45); text-underline-offset: 3px; }
.release-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.release-status-card { min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, #102335, #0a1722); }
.release-status-card span { color: #a9bdca; font-size: 10px; letter-spacing: .14em; }
.release-status-card strong { color: var(--cyan); font-size: 13px; font-weight: 400; letter-spacing: .12em; }
.information-news-list { border-top: 1px solid var(--line); }
.information-news-item { padding: 20px 16px; border-bottom: 1px solid rgba(125, 183, 214, .14); }
.information-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin-bottom: 8px; color: #8fa6b5; font-size: 10px; letter-spacing: .08em; }
.news-category, .news-version { padding: 3px 7px; border: 1px solid rgba(107, 214, 234, .25); color: var(--cyan); font-size: 9px; }
.information-news-item h3 { margin: 0 0 7px; color: var(--text); font-size: 16px; font-weight: 400; }
.information-news-item > p, .news-body { max-width: 880px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; white-space: normal; }
.news-details summary { width: fit-content; max-width: 100%; color: var(--text); cursor: pointer; font-size: 16px; }
.news-details summary:hover { color: var(--cyan); }
.news-body { padding: 16px 0 2px 18px; border-left: 1px solid var(--cyan-strong); margin-top: 13px; }
.news-empty { margin: 0; padding: 28px 16px; color: #94aab7; font-size: 11px; letter-spacing: .16em; }

.site-footer { border-top: 1px solid var(--line); background: #06101a; }
.footer-inner { max-width: var(--content); margin: auto; padding: 22px 28px; display: flex; justify-content: space-between; gap: 20px; color: #8da2af; font-size: 11px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--cyan); }

@media (max-width: 980px) {
  .header-inner { min-height: 70px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .brand-lockup { width: clamp(132px, 24vw, 178px); }
  .header-actions { justify-self: end; }
  .nav-toggle { display: inline-grid; }
  .settings-toggle, .settings-panel { display: none !important; }
  .header-dropdown { position: absolute; z-index: 25; top: 100%; left: 0; right: 0; display: none; max-height: calc(100dvh - 70px); overflow-y: auto; padding: 12px clamp(18px, 4vw, 28px) 18px; border: 1px solid var(--line); border-top: 0; background: rgba(7, 17, 27, .98); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
  .site-header.menu-open .header-dropdown { display: block; }
  .primary-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: initial; gap: 0 14px; }
  .primary-nav a { min-width: 0; padding: 11px 8px; border-bottom: 1px solid rgba(125, 183, 214, .12); font-size: 11px; white-space: normal; }
  .mobile-menu-tools { display: grid; gap: 8px; padding-top: 12px; }
  .mobile-setting { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 42px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
  .mobile-setting .audio-volume { width: 100%; }
  .mobile-setting select { width: 100%; min-width: 0; min-height: 38px; padding: 7px 22px 7px 8px; border: 1px solid var(--line); background: #0a1824; color: var(--text); font-size: 11px; }
  .mobile-menu-tools .signal-back { display: inline-flex; align-items: center; min-height: 44px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .header-inner { min-height: 68px; padding: 9px 16px; }
  .header-actions { gap: 7px; }
  .audio-icon, .nav-toggle { width: 42px; height: 42px; }
  .brand-lockup { width: clamp(126px, 40vw, 168px); }
  .header-dropdown { max-height: calc(100dvh - 68px); }
  .mobile-setting { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .container { padding: 0 18px; }
  .hero-content { padding: 16px 18px 38px; }
  .page-heading { padding: 28px 0 24px; }
  .page-heading .container { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .page-heading-copy { justify-self: stretch; }
  .section { padding: 54px 0; }
  .intro-grid, .story-card, .story-card.image-right, .character-layout, .character-detail, .style-panel, .info-grid { grid-template-columns: 1fr; }
  .top-introduction .intro-grid { grid-template-columns: 1fr; }
  .top-explore .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card > img { height: clamp(170px, 52vw, 260px); }
  .feature-card-wide { min-height: 132px; }
  .feature-card-wide .feature-card-mark { left: 20%; }
  .hero-store-action { padding-top: 16px; }
  .top-trailer-placeholder span { font-size: 10px; }
  .top-latest-news .news-item { grid-template-columns: 1fr auto; }
  .top-latest-news .news-item time { grid-column: 1 / -1; }
  .social-links { display: grid; grid-template-columns: 1fr; }
  .social-link { width: 100%; min-height: 52px; }
  .story-card.image-right img { order: 0; }
  .story-card img { max-height: 300px; min-height: 210px; }
  .story-visual-card, .story-visual-card.image-right { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .story-visual-card > h3, .story-visual-card.image-right > h3 { grid-column: 1; grid-row: 1; padding: 22px 20px 16px; }
  .story-visual-card > img, .story-visual-card.image-right > img { grid-column: 1; grid-row: 2; width: 100%; height: auto; max-height: none; }
  .story-visual-copy, .story-visual-card.image-right .story-visual-copy { grid-column: 1; grid-row: 3; padding: 20px; }
  .story-visual-lines p { font-size: 15px; }
  .story-rank-ladder { margin-top: 20px; }
  .story-rank-ladder li { gap: 6px; font-size: 11px; }
  .story-visual-story > .story-wide > .story-ending { margin-top: 54px; }
  .story-movie { padding: 52px 18px 24px; }
  .story-text { padding: 66px 22px 74px; }
  .story-next { padding: 48px 18px 58px; }
  .story-next-links { grid-template-columns: 1fr; }
  .world-overview-section { padding: 40px 16px 48px; }
  .metro-section { padding: 52px 16px 58px; }
  .ntm-logo { width: min(310px, 82vw); }
  .metro-description { font-size: 13px; }
  .station-markers { display: none; }
  .station-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .station-tab { min-width: 0; min-height: 50px; justify-content: flex-start; padding: 8px 10px; white-space: normal; text-align: left; }
  .district-section { padding: 48px 0 62px; }
  .district-showcase-card, .district-showcase-card.image-right { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 12px 0; padding: 20px 0; }
  .district-showcase-heading, .district-showcase-card.image-right .district-showcase-heading,
  .district-showcase-image, .district-showcase-card.image-right .district-showcase-image,
  .district-showcase-description, .district-showcase-card.image-right .district-showcase-description { grid-column: 1; grid-row: auto; }
  .district-showcase-image { min-height: 180px; }
  .district-showcase-image img { max-height: 360px; }
  .district-showcase-image.is-carousel { min-height: 0; }
  .district-carousel-viewport { min-height: 180px; }
  .district-carousel-slide { max-height: min(52vh, 360px); }
  .district-carousel-controls { gap: 6px; padding: 7px 6px; }
  .district-carousel-arrow { width: 34px; height: 38px; }
  .district-carousel-thumb { width: 52px; height: 37px; }
  .district-showcase-description { padding: 0; }
  .district-index { margin-bottom: 14px; }
  .characters-section { padding: 24px 0 60px; }
  .character-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .character-select { min-width: 0; min-height: 54px; justify-content: flex-start; padding: 9px 10px; gap: 8px; font-size: 11px; }
  .character-detail { grid-template-columns: 1fr; }
  .character-visual { min-height: 390px; }
  .character-database-hud { background-size: 180% auto; }
  .character-association-watermark { background-size: 58% auto; }
  .character-image-placeholder { min-height: 390px; }
  .character-art-layer img { height: min(var(--character-image-max-height, 640px), 560px); }
  .character-detail-copy { padding: 28px 24px 34px; }
  .character-number { margin-bottom: 18px; }
  .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-ladder { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr); gap: 4px; }
  .rank-step { min-height: 132px; padding: 9px 3px; }
  .rank-emblem { width: 52px; height: 52px; }
  .rank-step strong { font-size: 9px; letter-spacing: .04em; }
  .rank-connector { font-size: 15px; }
  .rank-flow { flex-direction: column; align-items: stretch; justify-content: center; }
  .rank-flow .flow-step { flex: none; }
  .rank-flow .flow-arrow { transform: rotate(90deg); align-self: center; line-height: 1; }
  .rank-list { grid-template-columns: 1fr; }
  .world-card-copy { grid-template-columns: 1fr; gap: 8px; }
  .media-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 5px; }
  .news-link { white-space: normal; }
  .information-section { padding: 38px 0; }
  .information-page .info-list { grid-template-columns: minmax(112px, .72fr) minmax(0, 1.28fr); }
  .information-page .info-list dt, .information-page .info-list dd { padding: 11px 10px; font-size: 12px; }
  .release-status-grid { grid-template-columns: 1fr; }
  .release-status-card { min-height: 88px; }
  .information-news-item { padding: 18px 10px; }
  .footer-inner { padding: 20px 18px; flex-direction: column; }
}
@media (max-width: 420px) {
  .system-grid, .device-grid, .system-screen-grid, .card-grid { grid-template-columns: 1fr; }
  .rank-ladder { grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr); gap: 2px; }
  .rank-emblem { width: 42px; height: 42px; }
  .rank-step strong { font-size: 8px; letter-spacing: .02em; }
  .style-tab { min-width: 0; flex: 1 1 130px; }
  .style-tree { grid-template-columns: 1fr; gap: 4px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button, .button-disabled { width: 100%; }
  .language-control select { max-width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
