@font-face {
  font-family: "ZhuoTeZiYouTi";
  src: url("fonts/ZhuoTeZiYouTi-2.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
:root {
  --bg: #0b0e0f;
  --surface: #121718;
  --surface-2: #19201f;
  --ink: #edf5ef;
  --muted: #8b9a94;
  --faint: #53615b;
  --line: rgba(237, 245, 239, .14);
  --cyan: #73e7d2;
  --orange: #ff7857;
  --lime: #d6f85c;
  --blue: #86aeff;
  --max: 1500px;
  --shadow: 0 24px 60px rgba(0,0,0,.34);
}
html[data-theme="light"] {
  --bg: #edf3f5;
  --surface: #ffffff;
  --surface-2: #e2ebef;
  --ink: #14242d;
  --muted: #526872;
  --faint: #7c9098;
  --line: rgba(20,36,45,.17);
  --cyan: #087d99;
  --orange: #d9573a;
  --lime: #9ac51c;
  --blue: #2f80ff;
  --shadow: 0 24px 60px rgba(38,66,78,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: linear-gradient(132deg, rgba(115,231,210,.055), transparent 36%, rgba(255,120,87,.035) 73%, transparent); pointer-events: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .045; background: repeating-linear-gradient(0deg, rgba(255,255,255,.75) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
html[data-theme="light"] body::before { background: linear-gradient(132deg, rgba(8,125,153,.07), transparent 36%, rgba(217,87,58,.055) 73%, transparent); }
html[data-theme="light"] body::after { opacity: .07; background: repeating-linear-gradient(0deg, rgba(20,36,45,.32) 0 1px, transparent 1px 4px); mix-blend-mode: multiply; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
img { max-width: 100%; }
.site-shell { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }
.topbar { min-height: 86px; display: flex; align-items: center; justify-content: center; gap: 54px; border-bottom: 1px solid var(--line); position: relative; z-index: 6; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 300px; }
.brand-chip { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--lime); }
.brand-chip svg { width: 18px; height: 18px; }
.brand-nightmark { width: 40px; height: 40px; position: relative; overflow: hidden; color: var(--lime); box-shadow: 0 0 0 1px rgba(115,231,210,.08), 0 0 16px rgba(115,231,210,.22); animation: brand-night-pulse 3.4s ease-in-out infinite; }
.brand-nightmark .brand-gamepad { position: absolute; left: 5px; bottom: 6px; z-index: 2; width: 23px; height: 23px; }
.brand-nightmark .brand-moon { position: absolute; top: 4px; right: 4px; z-index: 1; width: 21px; height: 21px; color: var(--cyan); opacity: .92; }
.brand-nightmark .brand-gamepad { color: #d6f85c; filter: drop-shadow(0 0 4px rgba(214,248,92,.8)); }
.brand-nightmark .brand-moon { color: #2f80ff; filter: drop-shadow(0 0 5px rgba(47,128,255,.95)); }
.brand-nightmark .brand-sun { display: none; }
.brand-nightmark::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(115,231,210,.28); border-radius: 50%; opacity: .65; animation: brand-night-orbit 3.4s ease-in-out infinite; }
@keyframes brand-night-pulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(115,231,210,.08), 0 0 12px rgba(115,231,210,.16); } 50% { box-shadow: 0 0 0 1px rgba(214,248,92,.24), 0 0 22px rgba(115,231,210,.42); } }
@keyframes brand-night-orbit { 0%, 100% { transform: scale(.88); opacity: .35; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes brand-light-pulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(47,128,255,.12), 0 0 12px rgba(255,216,61,.18); } 50% { box-shadow: 0 0 0 1px rgba(47,128,255,.28), 0 0 20px rgba(47,128,255,.28), 0 0 12px rgba(255,216,61,.26); } }
@keyframes brand-light-orbit { 0%, 100% { transform: scale(.88); opacity: .32; } 50% { transform: scale(1.08); opacity: .76; } }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.brand-copy strong { order: 1; display: block; color: var(--ink); font: 400 21px/1 "ZhuoTeZiYouTi", "Noto Sans SC", "Microsoft YaHei", sans-serif; letter-spacing: .08em; white-space: nowrap; text-shadow: 0 0 8px rgba(115,231,210,.16); }
.brand-copy small { order: 2; display: block; color: var(--muted); font-size: 10px; margin-top: 0; letter-spacing: .04em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 34px; flex: 0 0 auto; }
.nav-link { color: var(--muted); font-size: 13px; padding: 10px 0; transition: color .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link.is-active { position: relative; }
.nav-link.is-active::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); }
.top-actions { position: absolute; top: 50%; right: 0; display: flex; align-items: center; gap: 15px; transform: translateY(-50%); }
.search-box { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 9px 0; width: 168px; color: var(--muted); }
.search-box svg { width: 15px; height: 15px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: var(--faint); }
.library-search { width: 210px; }
.library-search input { font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.icon-button svg { width: 15px; height: 15px; }
.icon-button:hover { color: var(--bg); border-color: var(--lime); background: var(--lime); }
.hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(420px, 1.22fr); gap: clamp(42px, 7vw, 116px); min-height: 640px; padding: 88px 0 102px; align-items: center; }
.hero-copy { min-width: 0; font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif; }
.hero-copy h1, .hero-copy h1 span, .hero-copy .hero-readout strong { font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif; font-weight: 400; letter-spacing: .02em; }
.status-line { display: flex; align-items: center; gap: 9px; color: var(--cyan); font-size: 10px; letter-spacing: .12em; margin-bottom: 26px; }
.status-line-muted { color: var(--faint); }
.status-dot { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Orbitron, sans-serif; }
h1 { max-width: 560px; font-size: clamp(52px, 7vw, 104px); line-height: .96; letter-spacing: -.06em; margin-bottom: 29px; }
h1 span { color: var(--orange); }
.hero-lede { max-width: 430px; color: #b2c0b9; font-size: 14px; line-height: 1.85; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 17px; border: 1px solid var(--line); font-size: 11px; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button svg { width: 15px; height: 15px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--bg); background: var(--lime); border-color: var(--lime); font-weight: 600; }
.button-primary:hover { background: var(--cyan); border-color: var(--cyan); }
.button-text { border-color: transparent; color: var(--muted); padding-left: 0; padding-right: 0; }
.button-text:hover { color: var(--ink); }
.hero-readout { display: flex; gap: 34px; margin-top: 65px; border-top: 1px solid var(--line); padding-top: 19px; }
.hero-readout > div { position: relative; min-width: 84px; padding-left: 22px; }
.hero-readout > div > svg { position: absolute; top: 3px; left: 0; width: 15px; height: 15px; color: var(--cyan); }
.hero-readout strong { display: block; color: var(--ink); font: 700 21px Orbitron, sans-serif; letter-spacing: -.05em; }
.hero-readout span { display: block; color: var(--faint); font-size: 9px; margin-top: 8px; letter-spacing: .1em; }
.hero-feature { display: block; height: 505px; min-height: 0; position: relative; background: var(--surface); overflow: hidden; border: 1px solid rgba(237,245,239,.18); box-shadow: var(--shadow); isolation: isolate; }
.hero-feature img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; filter: saturate(.77) contrast(1.1) brightness(.82); transition: transform .6s ease, filter .4s ease; }
.hero-feature:hover img { transform: scale(1.04); filter: saturate(1) contrast(1.05) brightness(.94); }
.feature-scanline { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 65%, rgba(11,14,15,.92) 100%); z-index: 1; }
.feature-corner { position: absolute; z-index: 2; width: 18px; height: 18px; border-color: var(--lime); }
.feature-corner-top { top: 22px; right: 22px; border-top: 1px solid; border-right: 1px solid; }
.feature-corner-bottom { bottom: 22px; left: 22px; border-bottom: 1px solid; border-left: 1px solid; }
.feature-topline { position: absolute; z-index: 2; top: 23px; left: 25px; right: 26px; display: flex; justify-content: space-between; color: var(--ink); font-size: 9px; letter-spacing: .1em; }
.feature-topline span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); }
.feature-topline svg { width: 12px; height: 12px; }
.feature-caption { position: absolute; z-index: 2; left: 36px; bottom: 36px; width: min(82%, 650px); }
.feature-kicker { display: block; color: var(--cyan); font-size: 11px; letter-spacing: .1em; margin-bottom: 16px; }
.feature-caption strong { display: block; font: 700 clamp(38px, 5vw, 72px)/.92 Orbitron, sans-serif; letter-spacing: -.055em; }
.feature-caption small { display: block; max-width: 560px; color: #b6c0bb; font-size: 14px; line-height: 1.55; margin-top: 15px; }
.library-section { padding: 10px 0 118px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 34px; }
.section-title-wrap { display: flex; align-items: baseline; gap: 15px; }
.section-index { color: var(--orange); font-size: 10px; letter-spacing: .08em; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.06em; margin: 0; }
.section-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 10px; }
.filter-toggle { display: none; align-items: center; gap: 6px; color: var(--ink); border: 0; background: transparent; padding: 8px 0; }
.filter-toggle svg { width: 14px; height: 14px; }
.library-layout { display: grid; grid-template-columns: 184px 1fr; gap: 48px; }
.filter-rail { border-right: 1px solid var(--line); padding-right: 23px; }
.filter-block { display: grid; gap: 3px; margin-bottom: 28px; }
.filter-label { color: var(--faint); font-size: 9px; letter-spacing: .1em; margin-bottom: 9px; }
.filter-chip { display: flex; justify-content: space-between; width: 100%; border: 0; background: transparent; color: var(--muted); text-align: left; font-size: 11px; padding: 8px 0; transition: color .18s ease; }
.filter-chip:hover, .filter-chip.is-selected { color: var(--ink); }
.filter-chip.is-selected { font-weight: 600; }
.filter-chip.is-selected::before { content: ""; width: 3px; height: 14px; background: var(--orange); margin-right: -7px; }
.filter-chip b { color: var(--faint); font-size: 9px; font-weight: 400; }
.filter-note { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--faint); font-size: 10px; line-height: 1.7; }
.filter-note svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--cyan); margin-top: 2px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 43px 17px; }
.library-results { min-width: 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-button { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.page-button svg { width: 14px; height: 14px; }
.page-button:hover:not(:disabled), .page-button.is-selected { color: var(--bg); border-color: var(--lime); background: var(--lime); }
.page-button:disabled { cursor: not-allowed; opacity: .35; }
.game-card { min-width: 0; animation: card-in .5s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
.game-cover-link { position: relative; display: block; aspect-ratio: 1.48 / 1; background: var(--surface); overflow: hidden; border: 1px solid var(--line); }
.game-cover { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); transition: transform .4s ease, filter .4s ease; }
.game-cover-link:hover .game-cover { transform: scale(1.05); filter: saturate(1) contrast(1.08); }
.game-number { position: absolute; top: 12px; left: 12px; z-index: 1; color: var(--ink); background: rgba(11,14,15,.8); padding: 5px 6px; font-size: 9px; }
.game-type { position: absolute; top: 40px; left: 12px; z-index: 1; color: var(--ink); background: rgba(11,14,15,.84); padding: 5px 6px; font-size: 9px; }
.game-platform { position: absolute; top: 12px; right: 12px; z-index: 1; color: var(--bg); background: var(--lime); padding: 5px 6px; font-size: 9px; font-weight: 600; }
.cover-open { position: absolute; right: 13px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; color: var(--ink); background: rgba(11,14,15,.83); padding: 7px 8px; font-size: 9px; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.cover-open svg { width: 12px; height: 12px; }
.game-cover-link:hover .cover-open, .game-cover-link:focus-visible .cover-open { opacity: 1; transform: translateY(0); }
.game-card-body { padding-top: 12px; }
.game-card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 9px; margin-bottom: 9px; }
.record-status { display: inline-flex; align-items: center; gap: 4px; color: #ff6f9c; animation: free-breathe 2.8s ease-in-out infinite; }
.free-mark { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; filter: drop-shadow(0 0 3px rgba(255,111,156,.58)); }
.free-mark svg { width: 9px; height: 9px; }
@keyframes free-breathe { 0%, 100% { opacity: .76; text-shadow: 0 0 3px rgba(255,111,156,.18); } 50% { opacity: 1; text-shadow: 0 0 8px rgba(255,111,156,.58); } }
.game-card h3 { font: 700 17px Orbitron, sans-serif; letter-spacing: -.045em; line-height: 1.2; margin-bottom: 10px; }
.game-card h3 a:hover { color: var(--orange); }
.game-card p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 12px; }
.tag-row, .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border: 1px solid var(--line); color: var(--muted); padding: 4px 6px; font-size: 9px; }
.empty-state { grid-column: 1 / -1; min-height: 220px; display: grid; place-items: center; color: var(--muted); border: 1px dashed var(--line); font-size: 12px; }
.about-section { display: grid; grid-template-columns: 130px minmax(330px, 1fr) minmax(250px, .68fr); gap: 35px; align-items: start; padding: 75px 0 86px; border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(115,231,210,.04), transparent 60%); }
.about-index { color: var(--orange); font-size: 10px; }
.about-title > span { display: block; color: var(--cyan); font-size: 10px; letter-spacing: .13em; margin-bottom: 18px; }
.about-title h2 { font-size: clamp(34px, 5vw, 65px); line-height: .96; }
.about-title em { color: var(--orange); font-style: normal; }
.about-copy { color: var(--muted); font-size: 12px; line-height: 1.8; padding-top: 37px; max-width: 310px; }
.about-copy p { margin-bottom: 22px; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.inline-action { border: 0; background: transparent; padding: 0; cursor: pointer; }
.about-action-status { flex-basis: 100%; min-height: 18px; color: var(--lime); font-size: 11px; line-height: 1.5; }
.info-page { padding: 52px 0 110px; }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr); gap: clamp(48px, 9vw, 130px); padding: 74px 0 30px; align-items: start; }
.info-main h1 { max-width: 720px; font-size: clamp(48px, 8vw, 104px); line-height: .96; margin-bottom: 25px; }
.info-intro { max-width: 560px; color: #b2c0b9; font-size: 15px; line-height: 1.85; margin-bottom: 38px; }
.info-copy { max-width: 650px; border-left: 1px solid var(--orange); padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.info-copy p { margin-bottom: 24px; }
.info-copy p:last-child { margin-bottom: 0; }
.info-aside { min-height: 270px; border: 1px solid var(--line); padding: 24px; background: var(--surface); }
.info-aside .section-index { display: block; margin-bottom: 72px; }
.info-aside svg { display: block; width: 32px; height: 32px; color: var(--lime); margin-bottom: 22px; }
.info-aside strong { display: block; font: 600 20px Orbitron, sans-serif; margin-bottom: 11px; }
.info-aside p { color: var(--muted); font-size: 11px; line-height: 1.75; margin: 0; }
.inline-link { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-size: 11px; }
.inline-link svg { width: 13px; height: 13px; }
.inline-link:hover { color: var(--cyan); }
.footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; min-height: 124px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; }
.footer-brand { display: grid; gap: 6px; max-width: 700px; }
.footer-brand-line { display: flex; align-items: baseline; gap: 12px; }
.footer strong { color: var(--ink); font: 600 11px Orbitron, sans-serif; }
.footer-disclaimer, .footer-copyright { display: block; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.footer-copyright { color: var(--faint); font-size: 9px; }
.footer-right { display: flex; align-items: center; gap: 26px; }
.footer a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.footer a:hover { color: var(--lime); }
.footer svg { width: 12px; height: 12px; }

/* Detail route */
.detail-page { padding: 52px 0 110px; }
.detail-topline { display: flex; justify-content: space-between; color: var(--faint); border-bottom: 1px solid var(--line); padding-bottom: 18px; font-size: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.back-link:hover { color: var(--lime); }
.detail-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); gap: 70px; padding: 66px 0 90px; align-items: center; }
.detail-main h1 { font-size: clamp(48px, 7vw, 98px); margin-bottom: 23px; }
.detail-intro { max-width: 510px; color: #b3c0ba; line-height: 1.85; font-size: 14px; margin-bottom: 22px; }
.spec-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); margin-top: 38px; padding-top: 15px; max-width: 530px; }
.spec-strip span { display: block; color: var(--faint); font-size: 9px; margin-bottom: 7px; }
.spec-strip strong { font-size: 11px; color: var(--ink); }
.detail-copy { max-width: 520px; border-left: 1px solid var(--orange); margin-top: 34px; padding-left: 15px; color: var(--muted); line-height: 1.8; font-size: 11px; }
.detail-poster { height: clamp(360px, 39vw, 520px); position: relative; background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.poster-viewport { width: 100%; height: 100%; overflow: hidden; }
.poster-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.poster-slide { display: block; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.75) contrast(1.1); }
.gallery-button { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px; border: 1px solid rgba(237,245,239,.32); color: var(--ink); background: rgba(11,14,15,.7); backdrop-filter: blur(8px); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.gallery-button svg { width: 19px; height: 19px; }
.gallery-button:hover { color: var(--bg); background: var(--lime); border-color: var(--lime); transform: scale(1.06); }
.gallery-button-prev { left: 18px; }
.gallery-button-next { right: 18px; }
.poster-index { position: absolute; bottom: 17px; right: 17px; background: var(--lime); color: var(--bg); padding: 7px 8px; font-size: 9px; font-weight: 600; }
.download-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; border-top: 1px solid var(--line); padding-top: 38px; }
.download-heading h2 { max-width: 430px; font-size: clamp(32px, 4vw, 55px); line-height: 1; margin-bottom: 19px; }
.download-heading h2 em { color: var(--cyan); font-style: normal; }
.download-heading > p:last-child { max-width: 350px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.download-panel { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.qr-wrap { display: grid; place-items: center; align-content: center; gap: 9px; min-height: 190px; background: #f3f4ec; color: var(--bg); padding: 14px; }
.qr-wrap img { width: 140px; height: 140px; image-rendering: pixelated; }
.qr-wrap span { font-size: 9px; }
.download-info { padding: 7px 0; }
.download-kicker { color: var(--cyan); font-size: 9px; letter-spacing: .12em; }
.download-info h3 { font: 600 23px Orbitron, sans-serif; letter-spacing: -.04em; margin: 15px 0 13px; }
.download-info p { max-width: 430px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.download-actions { display: flex; gap: 20px; align-items: center; margin-top: 24px; }
.copy-status { display: block; color: var(--lime); font-size: 10px; min-height: 16px; margin-top: 12px; }
.screenshots { padding-top: 88px; }
.screenshots .section-heading { margin-bottom: 25px; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.screenshot-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); filter: saturate(.8); }
.download-page { padding: 52px 0 110px; }
.download-page-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(300px, .78fr); gap: 70px; align-items: center; padding: 66px 0 88px; }
.download-page-copy h1 { font-size: clamp(48px, 7vw, 98px); margin-bottom: 23px; }
.download-cover { height: clamp(300px, 31vw, 430px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.download-cover img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.06); }
.download-page-section { display: block; }
.download-page-section .download-heading { max-width: 620px; margin-bottom: 30px; }
.download-qr-panel { display: block; padding: 24px; }
.qr-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 20px; }
.qr-card { min-width: 0; color: var(--muted); font-size: 13px; text-align: center; padding: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.qr-card:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.qr-card-image { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; background: #f3f4ec; border: 1px solid var(--line); }
.qr-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-card-label { display: block; margin-top: 12px; font-size: 13px; }
.download-note { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.download-note p { max-width: 560px; margin: 8px 0 0; }
.detail-download-cta .download-panel { align-items: center; }
.download-launch-copy h3 { margin: 14px 0 10px; font: 600 23px Orbitron, sans-serif; }
.download-launch-copy p { max-width: 380px; color: var(--muted); font-size: 11px; line-height: 1.75; margin: 0; }
.download-launch-panel > .button { justify-self: start; white-space: nowrap; }

@media (max-width: 1020px) {
  .site-shell { width: min(var(--max), calc(100% - 48px)); }
  .topbar { gap: 25px; }
  .brand { min-width: auto; }
  .main-nav { gap: 17px; }
  .hero { gap: 40px; grid-template-columns: .88fr 1.12fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { grid-template-columns: 80px 1fr 1fr; gap: 25px; }
}
@media (max-width: 720px) {
  .site-shell { width: min(var(--max), calc(100% - 32px)); }
  body::after { opacity: .03; }
  .topbar { justify-content: initial; flex-wrap: wrap; gap: 13px 18px; padding: 16px 0 12px; }
  .brand { flex: 1; }
  .top-actions { position: static; margin-left: auto; transform: none; }
  .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 22px; padding-bottom: 4px; }
  .nav-link { white-space: nowrap; }
  .search-box { width: 132px; }
  .hero { display: block; min-height: auto; padding: 64px 0 82px; }
  h1 { font-size: clamp(49px, 14vw, 76px); }
  .hero-readout { gap: 19px; margin-top: 43px; }
  .hero-readout span { font-size: 8px; letter-spacing: .04em; }
  .hero-feature { height: 360px; min-height: 0; margin-top: 46px; }
  .hero-feature img { min-height: 0; }
  .feature-topline { left: 18px; right: 18px; font-size: 8px; }
  .feature-caption { left: 21px; bottom: 23px; width: calc(100% - 42px); }
  .feature-caption strong { font-size: 39px; }
  .feature-caption small { font-size: 12px; line-height: 1.5; margin-top: 12px; }
  .library-section { padding-bottom: 82px; }
  .section-heading { display: grid; grid-template-columns: 1fr; align-items: start; gap: 14px; margin-bottom: 24px; }
  .section-title-wrap h2 { white-space: nowrap; }
  .section-meta { width: 100%; justify-content: space-between; }
  .section-meta > span { display: none; }
  .library-search { width: min(210px, 55vw); }
  .filter-toggle { display: inline-flex; }
  .library-layout { display: block; }
  .filter-rail { display: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; margin-bottom: 25px; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .filter-rail.is-open { display: grid; }
  .filter-note { display: none; }
  .game-grid { gap: 32px 13px; }
  .pagination { gap: 5px; margin-top: 32px; padding-top: 16px; }
  .page-button { min-width: 31px; height: 31px; padding: 0 7px; }
  .game-card h3 { font-size: 14px; }
  .game-card p { font-size: 10px; line-height: 1.6; }
  .record-status { display: inline-flex; }
  .about-section { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 58px 0 64px; }
  .about-copy { grid-column: 2; padding-top: 0; }
  .footer { display: block; padding: 25px 0; line-height: 1.8; }
  .footer-right { justify-content: space-between; margin-top: 11px; }
  .detail-page { padding-top: 30px; }
  .detail-grid { display: flex; flex-direction: column-reverse; gap: 42px; padding: 46px 0 62px; align-items: stretch; }
  .detail-poster { height: 360px; }
  .detail-main h1 { font-size: clamp(44px, 14vw, 72px); }
  .info-page { padding-top: 30px; }
  .info-grid { display: block; padding: 46px 0 30px; }
  .info-main h1 { font-size: clamp(44px, 14vw, 72px); }
  .info-intro { font-size: 13px; margin-bottom: 30px; }
  .info-copy { font-size: 12px; }
  .info-aside { margin-top: 46px; }
  .download-section { display: block; padding-top: 30px; }
  .download-page { padding-top: 30px; }
  .download-page-hero { display: block; padding: 46px 0 62px; }
  .download-cover { height: 360px; margin-top: 42px; }
  .download-heading { margin-bottom: 26px; }
  .download-panel { grid-template-columns: 150px 1fr; gap: 19px; padding: 14px; }
  .qr-wrap { min-height: 150px; padding: 9px; }
  .qr-wrap img { width: 118px; height: 118px; }
  .download-info h3 { font-size: 17px; }
  .download-actions { display: block; }
  .download-actions .button { margin-bottom: 13px; }
  .qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .qr-card { padding: 14px; }
  .screenshots { padding-top: 64px; }
  .screenshot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .top-actions .icon-button { display: grid; }
  .game-grid { grid-template-columns: 1fr; }
  .game-cover-link { aspect-ratio: 1.65 / 1; }
  .download-panel { grid-template-columns: 1fr; }
  .qr-wrap { max-width: 170px; justify-self: start; }
}
:root { --site-body-font: "JetBrains Mono", ui-monospace, monospace; --site-display-font: Orbitron, sans-serif; }
html[data-font="noto-sans"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Noto Sans SC", sans-serif; }
html[data-font="noto-serif"] { --site-body-font: "Noto Serif SC", serif; --site-display-font: "Noto Serif SC", serif; }
html[data-font="wenkai"] { --site-body-font: "LXGW WenKai", serif; --site-display-font: "LXGW WenKai", serif; }
html[data-font="ma-shan"] { --site-body-font: "Ma Shan Zheng", cursive; --site-display-font: "Ma Shan Zheng", cursive; }
html[data-font="zcool-xiaowei"] { --site-body-font: "ZCOOL XiaoWei", serif; --site-display-font: "ZCOOL XiaoWei", serif; }
html[data-font="zcool-huangyou"] { --site-body-font: "ZCOOL QingKe HuangYou", cursive; --site-display-font: "ZCOOL QingKe HuangYou", cursive; }
body { font-family: var(--site-body-font); }
.brand-copy strong, h1, h2, h3, .feature-caption strong, .hero-readout strong, .download-info h3 { font-family: var(--site-display-font); }
.brand-copy strong { font-family: "ZhuoTeZiYouTi", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-weight: 400; }
.about-section,
.about-section h2,
.about-section em,
.about-section p,
.about-section a,
.about-section button,
.about-section span { font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif; }
html[data-font="game-cyber"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Oxanium", "Noto Sans SC", sans-serif; }
html[data-font="game-arcade"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Press Start 2P", "Noto Sans SC", sans-serif; }
html[data-font="game-speed"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Rajdhani", "Noto Sans SC", sans-serif; }
html[data-font="game-tactical"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Share Tech Mono", "Noto Sans SC", monospace; }
html[data-font="game-space"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Audiowide", "Noto Sans SC", sans-serif; }
html[data-font="game-pixel"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Silkscreen", "Noto Sans SC", sans-serif; }
html[data-font="game-tech"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Exo 2", "Noto Sans SC", sans-serif; }
html[data-font="game-mono"] { --site-body-font: "Noto Sans SC", sans-serif; --site-display-font: "Space Mono", "Noto Sans SC", monospace; }
html[data-font="chinese-kuaile"] { --site-body-font: "ZCOOL KuaiLe", sans-serif; --site-display-font: "ZCOOL KuaiLe", sans-serif; }
html[data-font="chinese-longcang"] { --site-body-font: "Long Cang", cursive; --site-display-font: "Long Cang", cursive; }
html[data-font="chinese-liujian"] { --site-body-font: "Liu Jian Mao Cao", cursive; --site-display-font: "Liu Jian Mao Cao", cursive; }
html[data-font="chinese-zhimang"] { --site-body-font: "Zhi Mang Xing", cursive; --site-display-font: "Zhi Mang Xing", cursive; }
html[data-font="chinese-lxgw-mono"] { --site-body-font: "LXGW WenKai Mono", monospace; --site-display-font: "LXGW WenKai Mono", monospace; }
html[data-font="chinese-noto-tc"] { --site-body-font: "Noto Sans TC", sans-serif; --site-display-font: "Noto Sans TC", sans-serif; }
html[data-font="chinese-serif-tc"] { --site-body-font: "Noto Serif TC", serif; --site-display-font: "Noto Serif TC", serif; }

/* Readability and scan separation for the public-facing record pages. */
body { font-size: 15px; }
.brand-copy small, .feature-topline, .feature-kicker, .status-line, .section-index, .section-meta, .filter-label, .filter-chip, .game-number, .game-type, .game-platform, .cover-open, .game-card-meta, .record-status, .tag, .detail-topline, .spec-strip span, .spec-strip strong, .poster-index, .download-kicker, .qr-card, .qr-card-label, .footer { font-size: 11px; }
.nav-link { font-size: 14px; }
.search-box input, .library-search input { font-size: 12px; }
.filter-chip b { font-size: 10px; }
.hero-readout span { font-size: 10px; }
.game-card p, .about-copy, .detail-copy, .download-heading > p:last-child, .download-launch-copy p, .download-note { font-size: 12px; }
.field-hint { display: block; color: var(--faint); font-size: 11px; line-height: 1.6; margin-top: 6px; }
.qr-grid { gap: 18px; }
.qr-card { padding: 14px 14px 12px; background: var(--surface-2); border: 1px solid var(--line); }
.qr-card-image { padding: 10px; background: #f3f4ec; }

  /* Keep the two download instructions easy to read without changing the QR layout. */
  .download-page-section .download-heading > p:last-child { font-size: 15px; }
  .download-page-section .download-note .download-kicker { font-size: 13px; }
  .download-page-section .download-note { font-size: 14px; }
.download-note { font-size: 12px; }

/* Keep the library filter and the about section easy to read at a glance. */
.filter-label, .filter-chip { font-size: 15px; }
.filter-chip b { font-size: 14px; }
.about-title > span { font-size: 12px; }
.about-copy { font-size: 14px; }
.about-copy .inline-link { font-size: 13px; }
.about-action-status { font-size: 12px; }

html[data-theme="light"] .hero-lede,
html[data-theme="light"] .info-intro,
html[data-theme="light"] .detail-intro { color: #405963; }
html[data-theme="light"] .hero-feature { border-color: rgba(20,36,45,.24); }
html[data-theme="light"] .hero-feature img { filter: saturate(.84) contrast(1.06) brightness(.92); }
html[data-theme="light"] .feature-scanline { background: linear-gradient(180deg, transparent 0 58%, rgba(13,28,35,.9) 100%); }
html[data-theme="light"] .feature-topline,
html[data-theme="light"] .feature-caption strong { color: #f3f8f6; text-shadow: 0 1px 12px rgba(6,18,24,.7); }
html[data-theme="light"] .feature-caption small { color: #e6f2ee; text-shadow: 0 1px 8px rgba(6,18,24,.72); }
html[data-theme="light"] .game-number,
html[data-theme="light"] .game-type,
html[data-theme="light"] .cover-open { background: rgba(13,28,35,.84); color: #f3f8f6; }
html[data-theme="light"] .gallery-button { border-color: rgba(20,36,45,.3); background: rgba(255,255,255,.78); }
html[data-theme="light"] .brand-nightmark { animation-name: brand-light-pulse; }
html[data-theme="light"] .brand-nightmark .brand-moon { display: none; }
html[data-theme="light"] .brand-nightmark .brand-sun { display: block; position: absolute; top: 4px; right: 4px; z-index: 1; width: 21px; height: 21px; color: #ffd83d; filter: drop-shadow(0 0 5px rgba(255,216,61,.92)); }
html[data-theme="light"] .brand-nightmark .brand-gamepad { color: #2f80ff; filter: drop-shadow(0 0 4px rgba(47,128,255,.82)); }
html[data-theme="light"] .brand-nightmark::before { border-color: rgba(47,128,255,.34); animation-name: brand-light-orbit; }
html[data-theme="light"] .record-status { color: #d84570; }
html[data-theme="light"] .free-mark { filter: drop-shadow(0 0 3px rgba(216,69,112,.5)); }
html[data-theme="light"] .record-status { animation-name: free-breathe-light; }
@keyframes free-breathe-light { 0%, 100% { opacity: .8; text-shadow: 0 0 3px rgba(216,69,112,.14); } 50% { opacity: 1; text-shadow: 0 0 7px rgba(216,69,112,.38); } }
