:root {
  color-scheme: dark;
  --bg: #170f15;
  --panel: #23171f;
  --ink: #fbf1ea;
  --muted: #ceb8c3;
  --accent: #f3c49e;
  --line: #4e3543;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 2rem; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3.5rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; background: var(--accent); color: var(--bg); padding: .7rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.topbar { position: relative; z-index: 2; background: #170f15; border-bottom: 1px solid var(--line); }
.nav { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: flex; flex: none; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: .08em; }
.brand img { border-radius: .55rem; object-fit: cover; background: #3c222b; }
.nav nav { display: flex; flex-wrap: wrap; gap: .6rem clamp(.9rem, 3vw, 2.2rem); justify-content: flex-end; font-size: .9rem; color: var(--muted); }
.nav nav a:hover, .release-foot a:hover, .footer a:hover { color: var(--accent); }
.hero { position: relative; min-height: clamp(34rem, 57vw, 42rem); display: grid; overflow: hidden; align-content: center; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: #23131e url("hero.webp") center 47% / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#170f15 3%,#170f15ef 23%,#170f15aa 53%,#170f1512 90%),linear-gradient(0deg,#170f15 0%,transparent 46%); }
.hero-inner { padding-block: 5.3rem 7.6rem; }
.eyebrow { color: #f1c39f; letter-spacing: .13em; font-size: .9rem; font-weight: 650; }
.eyebrow span { color: #e8cad8; margin-left: .7rem; font-weight: 500; }
h1, h2 { font-family: "Songti SC", "Noto Serif CJK SC", SimSun, Georgia, serif; font-weight: 700; line-height: 1.17; letter-spacing: .035em; }
h1 { margin: .7rem 0 .8rem; font-size: clamp(3.9rem, 8.4vw, 7.45rem); }
.hero-tagline { font-size: clamp(1.13rem, 1.85vw, 1.45rem); font-weight: 650; }
.hero-copy { max-width: 28rem; margin-top: 1rem; color: #e5cfda; font-size: 1.04rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.05rem; border-radius: .7rem; font-weight: 680; white-space: nowrap; border: 1px solid transparent; }
.primary { color: #261720; background: var(--accent); box-shadow: 0 .45rem 1.5rem #0003; }
.primary:hover { background: #ffdbc0; }
.secondary { color: var(--ink); background: #23171fcc; border-color: #806072; }
.secondary:hover { background: #442834; }
.hero-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .35rem .8rem; color: #e2c8d5; font-size: .9rem; }
.hero-meta span + span::before { content: "·"; margin-right: .7rem; color: var(--accent); }
.hero-foot { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; color: #e1c3d1; font-size: .88rem; }
.hero-foot span { height: 1px; background: #785062; flex: 1; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: .55rem 0 .85rem; }
.section-head { margin-bottom: 1.65rem; }
.section-head p:not(.eyebrow), .report-layout p:not(.eyebrow), .mode p, .fineprint { color: var(--muted); }
.modes { border-top: 1px solid var(--line); }
.mode-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85rem; }
.mode { padding: 1.18rem 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: .92rem; background: linear-gradient(145deg,#32202c,#231720); }
.icon { display: grid; place-items: center; border: 1px solid #654351; background: #472632; border-radius: .65rem; color: #ffcca5; width: 2.7rem; height: 2.7rem; }
.icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { margin: .9rem 0 .4rem; font-size: 1.15rem; }
.fineprint { margin-top: 1.05rem; font-size: .9rem; }
.report-band { background: #241722; border-block: 1px solid var(--line); }
.report-layout { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(2rem,7vw,5.6rem); }
.report-legend { margin: 0; background: #1a1219; border: 1px solid var(--line); border-radius: .9rem; padding: .4rem 1.1rem; }
.report-legend div { display: grid; grid-template-columns: 4.7rem 1fr; align-items: baseline; gap: .6rem; padding: .95rem 0; }
.report-legend div + div { border-top: 1px solid var(--line); }
.report-legend dt { font-weight: 700; }
.report-legend dd { color: #ead8e1; margin: 0; }
.ok { color: #a8dfc7; } .warn { color: #ffb0bb; } .wait { color: #f9cb92; }
.release-panel { border: 1px solid #6c4657; border-radius: 1rem; overflow: hidden; background: #261921; }
.release-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; background: linear-gradient(112deg,#523041,#321f2b); }
.release-main strong { font-size: 1.65rem; margin-right: .95rem; }
.release-main span, .release-foot { color: #e5c8d7; font-size: .9rem; }
.release-details { padding: 1.3rem; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 1.5rem; }
.release-details h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.notes { white-space: pre-line; color: #dfc6d4; }
.integrity code { display: block; font-size: .95rem; overflow-wrap: anywhere; color: #ffdabd; }
button { font: inherit; border: 1px solid #795568; color: var(--ink); background: #34232d; padding: .25rem .7rem; border-radius: .4rem; cursor: pointer; }
.integrity button { margin-top: .5rem; font-size: .9rem; }
.copy-state:empty { display: none; }
.copy-state { margin-top: .3rem; font-size: .88rem; color: var(--accent); }
.release-foot { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; padding: .75rem 1.35rem; border-top: 1px solid var(--line); }
.release-foot a, .footer a { text-decoration: underline; text-underline-offset: .2rem; }
.footer { color: var(--muted); border-top: 1px solid var(--line); padding: 1.15rem 0 1.7rem; font-size: .9rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: .9rem; flex-wrap: wrap; }
@media(max-width: 820px) {
  .mode-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-art { background-position: 61% center; }
  .hero-art::after { background: linear-gradient(90deg,#170f15ef,#170f15ab 47%,#170f1524),linear-gradient(0deg,#170f15 0%,transparent 52%); }
}
@media(max-width: 540px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { min-height: 4.25rem; gap: .85rem; }
  .nav nav { font-size: .875rem; gap: .35rem .8rem; }
  .brand { gap: .38rem; letter-spacing: 0; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 5.4rem 4.5rem; }
  .hero-art { background-position: 62% 12%; }
  .hero-art::after { background: linear-gradient(0deg,#170f15 5%,#170f15c9 54%,#170f1547 100%),linear-gradient(90deg,#170f1566,#170f1500); }
  .hero-foot { bottom: .65rem; font-size: .875rem; }
  .section { padding-block: 3rem; }
  .report-layout, .release-details { grid-template-columns: 1fr; gap: 1.2rem; }
  .mode { padding: .92rem; }
  .release-main, .release-details, .release-foot { padding-inline: .9rem; }
  .release-main { flex-wrap: wrap; }
}
@media(max-width: 360px) { .mode-list { grid-template-columns: 1fr; } .hero h1 { font-size: 3.4rem; } }
@media(prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
