/*
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5
 * Hallmark · genre: atmospheric · macrostructure: Photographic · theme: Inksea
 * nav: N9 · footer: Ft2 · enrichment: real-game-screenshots
 * axes: paper=deep teal night · display=geometric-sans · accent=seafoam
 * audience: 中文剧情向玩家 · use: 了解并下载 · tone: atmospheric
 */
:root {
  --color-paper: #071b1f;
  --color-paper-2: #0f2a30;
  --color-ink: #e6f7f4;
  --color-muted: #9ab8b4;
  --color-accent: #2dd4bf;
  --color-accent-2: #38bdf8;
  --color-coral: #38bdf8;
  --color-rule: #1d3c42;
  --color-panel: #123038;
  --color-dark: #041215;
  --color-focus: #2dd4bf;
  --font-display: 'Sora', "Noto Sans SC", sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --font-mono: 'Sora', ui-monospace, monospace;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 96px;
  --radius: 10px;
  --measure: 65ch;
}

*,*::before,*::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1,h2,h3 { font-family: var(--font-display); font-style: normal; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; min-width: 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-muted); margin: 0 0 var(--space-3);
}
.lede { font-size: 1.125rem; color: var(--color-muted); max-width: var(--measure); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .75rem 1.25rem; border: 1px solid var(--color-ink);
  background: var(--color-accent); color: var(--color-dark); font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--color-ink); }
.btn-solid { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
section { padding: var(--space-8) 0; }
.section-head { margin-bottom: var(--space-6); }
.section-head h2 { margin: 0 0 var(--space-3); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.grid-feats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-4); }
.feat { padding: var(--space-5); border: 1px solid var(--color-rule); background: var(--color-panel); min-width: 0; }
.feat h3 { margin: 0 0 var(--space-2); font-size: 1.05rem; }
.feat p { margin: 0; color: var(--color-muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-3); }
.gallery button {
  border: 1px solid var(--color-rule); padding: 0; background: transparent; cursor: pointer; min-width: 0;
}
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.faq details { border-top: 1px solid var(--color-rule); padding: var(--space-4) 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--color-muted); margin: var(--space-3) 0 0; }
.cta-band {
  background: var(--color-paper-2); border-block: 1px solid var(--color-rule);
  padding: var(--space-7) 0; text-align: center;
}
.cta-band h2 { margin: 0 0 var(--space-3); }
.footer { padding: var(--space-7) 0 var(--space-5); border-top: 1px solid var(--color-rule); }
.footer a { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.tiny { font-size: .85rem; color: var(--color-muted); }
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.86); padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1080px, 92vw); max-height: 86vh; border: 1px solid var(--color-rule); }
.lightbox button { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox .prev { left: 18px; }
.lightbox .next { right: 18px; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--color-rule); padding: 12px; text-align: left; }
th { background: var(--color-paper-2); }
@media (max-width: 900px) {
  .grid-feats, .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .stack { grid-template-columns: 1fr !important; }
  .side-rail { display: none; }
}
@media (max-width: 560px) {
  .grid-feats, .gallery { grid-template-columns: 1fr; }
  .wrap { width: min(100% - 1.25rem, 1120px); }
}

.nav { position: sticky; top: 0; z-index: 40; background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; }
.brand img { width: 34px; height: 34px; object-fit: cover; }
.nav-center { display: none; }

.footer-inline { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-inline .footer-links { gap: .75rem 1rem; }

.photo-fold { position: relative; min-height: 88vh; display: grid; }
.photo-fold img { width: 100%; height: 88vh; object-fit: cover; }
.photo-fold .caption { position: absolute; left: 1.25rem; bottom: 1.25rem; background: color-mix(in oklab, var(--color-paper) 72%, transparent); backdrop-filter: blur(8px); padding: .65rem .9rem; max-width: min(34ch, 80vw); border: 1px solid var(--color-rule); }
.photo-fold .caption h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .2rem 0; }
.text-fold { padding: var(--space-8) 0; }
.text-fold .wrap { max-width: 68ch; }
