/*
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5
 * Hallmark · genre: editorial · macrostructure: Letter · theme: Atelier
 * nav: N2 · footer: Ft6 · enrichment: real-game-screenshots
 * axes: paper=light oat · display=high-contrast-serif · accent=warm ochre
 * audience: 中文剧情向玩家 · use: 了解并下载 · tone: editorial
 */
:root {
  --color-paper: #f4efe6;
  --color-paper-2: #ebe3d4;
  --color-ink: #2c2820;
  --color-muted: #6f675a;
  --color-accent: #8a6b45;
  --color-accent-2: #7a8f6e;
  --color-coral: #7a8f6e;
  --color-rule: #d8cdb8;
  --color-panel: #fffaf2;
  --color-dark: #2c2820;
  --color-focus: #8a6b45;
  --font-display: 'Cormorant Garamond', "Noto Sans SC", sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --font-mono: 'Noto Sans SC', 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: fixed; top: 18px; right: 18px; z-index: 40; }
.nav-inner { display: flex; align-items: center; gap: .75rem; background: var(--color-panel); border: 1px solid var(--color-rule); border-radius: 999px; padding: .4rem .45rem .4rem .85rem; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.brand { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; font-size: .95rem; }
.brand img { width: 26px; height: 26px; border-radius: 999px; object-fit: cover; }
.nav-center { display: none; }
.nav-right .btn { border-radius: 999px; min-height: 38px; padding: .45rem .9rem; }
body { padding-top: 0; }

.footer-letter { max-width: 60ch; }
.footer-letter .sign { font-family: var(--font-display); font-size: 1.35rem; margin-top: var(--space-4); }
.footer-letter .ps { color: var(--color-muted); margin-top: var(--space-3); }

.letter { max-width: 60ch; margin: 0 auto; padding: var(--space-9) 0 var(--space-7); }
.letter .salute { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: var(--space-5); }
.letter p { font-size: 1.05rem; }
.letter .sep { text-align: center; letter-spacing: .4em; color: var(--color-muted); margin: var(--space-6) 0; }
.letter .inline-photo { margin: var(--space-6) 0; border: 1px solid var(--color-rule); }
.letter .signoff { margin-top: var(--space-6); }
