/* Farewell 官网。配色与材质照《游戏设计文档》模块08 §1.1「全局色板」和 §1.2「构图规则」:
   红只用暖红、黑偏墨或偏蓝、暖金是全站唯一的暖光源色(只给提灯、炉灶、可点的东西),
   纸纹全站叠同一张,雾占的面积要大。 */

@font-face {
  font-family: "LXGW WenKai Web";
  src: url("/assets/fonts/wenkai.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --rust: #a6502e;
  --rust-deep: #7e2f26;
  --sunset: #d97b4f;
  --ink-blue: #0f1b2d;
  --ink: #12100e;
  --deep: #1e3d52;
  --gold: #e3a857;
  --mist: #a8b0b5;
  --silver: #c7d3db;
  --paper: #f1e9d8;

  --shell: 1180px;
  --gap: clamp(1rem, 3.2vw, 2.4rem);
  --round: 3px;

  /* 手写体只用在站内文案上;用户留言走系统字体,理由见 .note-body */
  --serif: "LXGW WenKai Web", "LXGW WenKai", "Songti SC", "Noto Serif CJK SC", serif;
  --sys: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC",
         system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-blue);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(16px, 1.05vw + 12px, 18.5px);
  line-height: 1.85;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* 双语:两份文字都写在 HTML 里,靠这两条切换 —— 不依赖 JS,也让两种语言都能被收录 */
html[data-lang="zh"] [lang="en"],
html[data-lang="en"] [lang="zh"] { display: none !important; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: var(--round);
}

/* ── 全站纸纹。§1.2 第三条:所有素材叠同一张纸纹,正片叠底 8-12% */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("/assets/img/paper.webp");
  background-size: 620px auto;
  opacity: .11;
  mix-blend-mode: multiply;
}

.wrap { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.4rem, 760px); }

/* ─────────────────────────────────────────── 顶栏 */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .55rem clamp(.9rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--ink-blue) 82%, transparent);
  backdrop-filter: blur(9px) saturate(1.1);
  border-bottom: 1px solid color-mix(in srgb, var(--mist) 18%, transparent);
  transform: translateY(-105%);
  transition: transform .45s ease;
}
.topbar.show { transform: none; }
.mark {
  font-size: 1.12rem; letter-spacing: .16em; text-decoration: none;
  color: var(--paper); white-space: nowrap;
}
.topnav { display: flex; gap: clamp(.6rem, 1.6vw, 1.5rem); margin-left: auto; }
.topnav a {
  text-decoration: none; color: color-mix(in srgb, var(--silver) 88%, transparent);
  font-size: .92rem; letter-spacing: .05em; padding: .2rem 0;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.topnav a:hover { color: var(--paper); border-bottom-color: var(--gold); }
.topacts { display: flex; align-items: center; gap: .5rem; margin-left: .4rem; }

.lampbtn, .langbtn {
  font: inherit; cursor: pointer; color: var(--silver);
  background: transparent; border: 1px solid color-mix(in srgb, var(--mist) 32%, transparent);
  border-radius: var(--round); padding: .25rem .6rem; line-height: 1;
}
.langbtn { font-size: .85rem; letter-spacing: .08em; padding: .42rem .7rem; }
.lampbtn { display: grid; place-items: center; padding: .22rem .34rem; }
.lampbtn img { width: 26px; height: 26px; opacity: .5; filter: grayscale(1); transition: .35s ease; }
.lampbtn[aria-pressed="true"] img { opacity: 1; filter: none; }
.lampbtn[aria-pressed="true"] { border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.lampbtn:hover img { opacity: .85; }
.langbtn:hover, .lampbtn:hover { border-color: var(--gold); color: var(--paper); }

@media (max-width: 800px) { .topnav { display: none; } .topacts { margin-left: auto; } }

/* ─────────────────────────────────────────── 封面 */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink-blue) 2%, color-mix(in srgb, var(--ink-blue) 72%, transparent) 32%, transparent 62%),
    linear-gradient(to right, color-mix(in srgb, var(--ink-blue) 55%, transparent), transparent 55%);
}
.hero-body {
  width: min(100% - 2.4rem, var(--shell)); margin-inline: auto;
  padding-bottom: clamp(4rem, 12vh, 8rem); padding-top: 6rem;
}
.kicker {
  margin: 0 0 1.1rem; font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: color-mix(in srgb, var(--silver) 80%, transparent);
}
.title {
  margin: 0; font-size: clamp(3.4rem, 13vw, 8.5rem); line-height: .92;
  letter-spacing: .06em; font-weight: 400; color: var(--paper);
  text-shadow: 0 .06em .5em color-mix(in srgb, var(--ink) 55%, transparent);
}
.lede {
  margin: 1rem 0 2rem; font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  color: color-mix(in srgb, var(--paper) 92%, transparent); max-width: 30ch;
}
.cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.release {
  margin: 1.4rem 0 0; font-size: .9rem; letter-spacing: .1em;
  color: color-mix(in srgb, var(--silver) 72%, transparent);
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: .55; animation: drop 2.6s ease-in-out infinite;
}
@keyframes drop { 0%,100% { transform: translateY(-6px); opacity: .25; } 50% { transform: translateY(4px); opacity: .7; } }

/* ── 按钮。暖金只给「可以点的」和「暖的」东西,别处一律不用 */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: var(--round); border: 1px solid transparent;
  font: inherit; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-sm { padding: .45rem .9rem; font-size: .9rem; }
.btn-gold {
  background: var(--gold); color: #2a1c0c;
  box-shadow: 0 .5rem 1.6rem color-mix(in srgb, var(--gold) 22%, transparent);
}
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 88%, #fff); transform: translateY(-1px); }
.btn-ghost { border-color: color-mix(in srgb, var(--silver) 42%, transparent); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[disabled] { opacity: .42; cursor: not-allowed; transform: none; }
.band-paper .btn-ghost { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.band-paper .btn-ghost:hover { border-color: var(--rust); color: var(--rust); }

/* ─────────────────────────────────────────── 雾层 */
.fog {
  position: absolute; inset: -10% -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 30% at 20% 62%, color-mix(in srgb, var(--silver) 26%, transparent), transparent 70%),
    radial-gradient(38% 26% at 68% 48%, color-mix(in srgb, var(--paper) 16%, transparent), transparent 72%);
  filter: blur(14px);
  animation: drift 90s linear infinite;
}
.fog-b { animation-duration: 145s; animation-direction: reverse; opacity: .55; }
.fog-c { opacity: .8; }
@keyframes drift {
  from { transform: translate3d(-6%, 0, 0) scale(1.05); }
  50%  { transform: translate3d(6%, -1.5%, 0) scale(1.12); }
  to   { transform: translate3d(-6%, 0, 0) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .fog, .scroll-hint { animation: none; } }

/* ─────────────────────────────────────────── 段落底色 */
.band { position: relative; padding: clamp(4.5rem, 11vh, 8.5rem) 0; isolation: isolate; }
.band.tight { padding: clamp(2.4rem, 6vh, 4rem) 0; }

.band-paper { background: var(--paper); color: var(--ink); }
.band-paper::before, .band-paper::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3.2rem; pointer-events: none;
}
.band-paper::before { top: 0; background: linear-gradient(var(--ink-blue), transparent); opacity: .16; }
.band-paper::after { bottom: 0; background: linear-gradient(transparent, var(--ink-blue)); opacity: .16; }

.band-sea {
  background:
    linear-gradient(color-mix(in srgb, var(--ink-blue) 96%, #000), var(--ink-blue) 40%, color-mix(in srgb, var(--deep) 55%, var(--ink-blue)));
}
/* 「两个人」和「画面」是挨着的两段海。同一条渐变连着放两遍,接缝处会亮一下再
   突然回到最深 —— 像换了张背景图。把后一段翻过来接,水面就是连着的。 */
.band-sea-rev {
  background:
    linear-gradient(color-mix(in srgb, var(--deep) 55%, var(--ink-blue)), var(--ink-blue) 55%, color-mix(in srgb, var(--ink-blue) 96%, #000));
}
.band-fog {
  background: linear-gradient(color-mix(in srgb, var(--deep) 62%, var(--ink-blue)), color-mix(in srgb, var(--mist) 22%, var(--ink-blue)));
  overflow: hidden;
}
.band-hearth {
  color: var(--paper);
  background:
    linear-gradient(color-mix(in srgb, var(--ink) 88%, transparent), color-mix(in srgb, var(--ink) 74%, transparent)),
    url("/assets/img/hearth.webp") center/cover no-repeat;
}
.band-log {
  color: var(--paper);
  background:
    linear-gradient(color-mix(in srgb, var(--ink-blue) 86%, transparent), color-mix(in srgb, var(--ink-blue) 92%, transparent)),
    url("/assets/img/mirror.webp") center/cover fixed no-repeat;
}
@media (max-width: 860px) { .band-log { background-attachment: scroll; } }

/* ─────────────────────────────────────────── 小标题 */
.head { max-width: 62ch; margin-bottom: clamp(2rem, 5vh, 3.4rem); }
.head-icon { width: 56px; height: 56px; margin-bottom: .9rem; opacity: .95; }
.band-sea .head-icon, .band-sea-rev .head-icon, .band-hearth .head-icon,
.band-log .head-icon, .band-fog .head-icon {
  filter: drop-shadow(0 2px 10px color-mix(in srgb, var(--ink) 60%, transparent));
}
.head h2 {
  margin: 0 0 .8rem; font-weight: 400; line-height: 1.25;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); letter-spacing: .03em;
}
.head-sub { margin: 0; color: color-mix(in srgb, currentColor 76%, transparent); }
.band-paper .head h2 { color: var(--rust-deep); }

/* ─────────────────────────────────────────── 三段航程 */
.floors {
  list-style: none; margin: 0 0 clamp(2rem, 5vh, 3.4rem); padding: 0;
  display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.floor {
  position: relative; padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid color-mix(in srgb, var(--silver) 20%, transparent);
  background: color-mix(in srgb, var(--ink) 26%, transparent);
  border-radius: var(--round);
}
.floor::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
}
.floor-1::before { background: color-mix(in srgb, var(--mist) 70%, transparent); }
.floor-2::before { background: color-mix(in srgb, var(--deep) 90%, var(--silver)); }
.floor-3::before { background: color-mix(in srgb, var(--rust-deep) 80%, transparent); }
.floor-no {
  display: block; font-size: .95rem; letter-spacing: .3em; opacity: .55; margin-bottom: .4rem;
}
.floor h3 { margin: 0 0 .5rem; font-weight: 400; font-size: 1.28rem; letter-spacing: .04em; }
.floor p { margin: 0; font-size: .96rem; color: color-mix(in srgb, var(--paper) 74%, transparent); }

.shot-wide { margin: 0; }
.shot-wide img {
  width: 100%; border-radius: var(--round);
  border: 1px solid color-mix(in srgb, var(--silver) 16%, transparent);
  box-shadow: 0 1.6rem 3.2rem color-mix(in srgb, #000 45%, transparent);
}
.shot-wide figcaption {
  margin-top: .9rem; font-size: .92rem; max-width: 66ch;
  color: color-mix(in srgb, var(--silver) 78%, transparent);
}

/* ─────────────────────────────────────────── 海况 */
.duo { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tide {
  padding: 1.8rem 1.6rem; border-radius: var(--round);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: color-mix(in srgb, #fff 42%, transparent);
}
.tide img { width: 62px; height: 62px; margin-bottom: .8rem; }
.tide h3 { margin: 0 0 .5rem; font-weight: 400; font-size: 1.5rem; letter-spacing: .06em; }
.tide p { margin: 0; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.tide-race { border-left: 3px solid var(--rust); }
.tide-race h3 { color: var(--rust); }
.tide-deep { border-left: 3px solid var(--deep); }
.tide-deep h3 { color: var(--deep); }
.aside {
  margin: var(--gap) 0 0; padding-left: 1.1rem;
  border-left: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  color: color-mix(in srgb, var(--ink) 72%, transparent); max-width: 68ch;
}

/* ─────────────────────────────────────────── 炉灶间 */
.dishes {
  list-style: none; margin: 0 0 clamp(1.6rem, 4vh, 2.6rem); padding: 0;
  display: flex; flex-wrap: wrap; gap: clamp(.6rem, 2vw, 1.6rem); justify-content: center;
}
.dishes img {
  width: clamp(78px, 12vw, 130px); height: auto;
  filter: drop-shadow(0 .7rem 1.4rem color-mix(in srgb, #000 55%, transparent));
  transition: transform .3s ease;
}
.dishes li:hover img { transform: translateY(-5px) rotate(-1.5deg); }
.pull {
  margin: 0 auto; max-width: 44ch; text-align: center;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem); line-height: 1.7;
  color: color-mix(in srgb, var(--gold) 92%, #fff);
}

/* ─────────────────────────────────────────── 双主角 */
.chars { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.char {
  display: flex; gap: 1.2rem; align-items: flex-end; padding: 1.4rem;
  border-radius: var(--round);
  border: 1px solid color-mix(in srgb, var(--silver) 16%, transparent);
  background: linear-gradient(color-mix(in srgb, var(--ink) 22%, transparent), color-mix(in srgb, var(--ink) 42%, transparent));
}
.char-art { width: clamp(96px, 16vw, 150px); flex: none; filter: drop-shadow(0 1rem 2rem rgba(0,0,0,.5)); }
.char-body { padding-bottom: .4rem; }
.char h3 { margin: 0 0 .5rem; font-weight: 400; font-size: 1.5rem; letter-spacing: .08em; }
.char-ballast h3 { color: var(--sunset); }
.char-lamp h3 { color: var(--gold); }
.char-line { margin: 0 0 .9rem; font-size: .98rem; color: color-mix(in srgb, var(--paper) 80%, transparent); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.tags li {
  font-size: .8rem; letter-spacing: .08em; padding: .2rem .6rem; border-radius: 99px;
  border: 1px solid color-mix(in srgb, var(--silver) 26%, transparent);
  color: color-mix(in srgb, var(--silver) 88%, transparent);
}

/* ─────────────────────────────────────────── 画廊 */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(.7rem, 1.6vw, 1.2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--round); overflow: hidden; line-height: 0;
  border: 1px solid color-mix(in srgb, var(--silver) 14%, transparent);
  transition: transform .25s ease, border-color .25s ease;
}
.grid button:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ink) 92%, transparent); padding: 3vmin;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; border-radius: var(--round); }
.lb-close {
  position: absolute; top: .6rem; right: 1rem; font-size: 2.4rem; line-height: 1;
  background: none; border: 0; color: var(--paper); cursor: pointer; opacity: .75;
}
.lb-close:hover { opacity: 1; color: var(--gold); }

/* ─────────────────────────────────────────── 留言板 */
.log-top {
  display: grid; gap: var(--gap); align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  margin-bottom: clamp(2.4rem, 6vh, 4rem);
}
@media (max-width: 880px) { .log-top { grid-template-columns: 1fr; } .bottle { order: 2; } }
.bottle { margin: 0; }
.bottle img {
  border-radius: var(--round);
  box-shadow: 0 1.4rem 3rem color-mix(in srgb, #000 50%, transparent);
}

.form {
  padding: clamp(1.2rem, 3vw, 1.9rem);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  color: var(--ink); border-radius: var(--round);
  box-shadow: 0 1.4rem 3rem color-mix(in srgb, #000 40%, transparent);
}
.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 1rem; border: 0; padding: 0; min-width: 0; }
.lab {
  display: block; font-size: .84rem; letter-spacing: .1em; margin-bottom: .4rem;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.form input[type="text"], .form textarea {
  width: 100%; font: inherit; font-family: var(--sys); font-size: .98rem; color: var(--ink);
  background: color-mix(in srgb, #fff 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: var(--round); padding: .6rem .75rem; resize: vertical;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--rust);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rust) 16%, transparent);
}
.sides { display: flex; flex-wrap: wrap; gap: .35rem; }
.sides label {
  font-size: .88rem; padding: .38rem .7rem; border-radius: 99px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.sides input { position: absolute; opacity: 0; pointer-events: none; }
.sides label:has(input:checked) {
  border-color: var(--rust); background: color-mix(in srgb, var(--rust) 12%, transparent); color: var(--rust-deep);
}
.sides label:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--rust) 20%, transparent); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.count { font-size: .82rem; color: color-mix(in srgb, var(--ink) 50%, transparent); font-family: var(--sys); }
.form-say { margin: .9rem 0 0; min-height: 1.6em; font-size: .92rem; color: var(--rust-deep); }
.form-say.ok { color: #4b6b3f; }

.notes-head { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1rem; }
.notes-count { font-size: .9rem; letter-spacing: .08em; color: color-mix(in srgb, var(--silver) 70%, transparent); }
.notes {
  list-style: none; margin: 0; padding: 0;
  columns: 3 280px; column-gap: clamp(.8rem, 2vw, 1.3rem);
}
.note {
  break-inside: avoid; margin: 0 0 clamp(.8rem, 2vw, 1.3rem);
  background: var(--paper); color: var(--ink);
  border-radius: 2px; padding: 1rem 1.1rem .9rem;
  box-shadow: 0 .7rem 1.6rem color-mix(in srgb, #000 38%, transparent);
  transform: rotate(-.35deg);
}
.note:nth-child(even) { transform: rotate(.4deg); }
.note:nth-child(3n) { transform: rotate(-.15deg); }
.note-top { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .45rem; }
.note-nick { font-size: .95rem; letter-spacing: .04em; color: var(--rust-deep); }
.note-side {
  font-size: .74rem; letter-spacing: .08em; padding: .05rem .45rem; border-radius: 99px;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}
.note-when { margin-left: auto; font-size: .76rem; color: color-mix(in srgb, var(--ink) 45%, transparent); font-family: var(--sys); }
/* 留言用系统字体:站内那份 WenKai 是**按本页文字裁剪过的子集**,
   读者写的字大概率不在里面,混排会一半手写一半黑体,比整段黑体难看得多。 */
.note-body { margin: 0; font-family: var(--sys); font-size: .95rem; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.notes-more { text-align: center; margin-top: 1.4rem; }
.notes-empty { color: color-mix(in srgb, var(--silver) 70%, transparent); font-size: .95rem; }

/* ─────────────────────────────────────────── 页脚 */
.foot {
  padding: clamp(3rem, 8vh, 5rem) 0 clamp(2rem, 5vh, 3rem);
  background: color-mix(in srgb, var(--ink) 92%, var(--ink-blue));
  border-top: 1px solid color-mix(in srgb, var(--silver) 12%, transparent);
  text-align: center;
}
.foot-line { margin: 0 0 1.4rem; color: color-mix(in srgb, var(--silver) 80%, transparent); }
.foot-links { margin: 0; font-size: .86rem; color: color-mix(in srgb, var(--silver) 55%, transparent); }
.foot-links a { color: color-mix(in srgb, var(--gold) 88%, transparent); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.dot { margin: 0 .5rem; opacity: .5; }

/* ─────────────────────────────────────────── 进场 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 雾那一段只剩一句话,让它在大片留白里站住 —— §1.2 第五条:雾占画面 25% 以上 */
.pull-mist {
  color: color-mix(in srgb, var(--silver) 92%, #fff);
  max-width: 30ch; margin-block: clamp(1rem, 5vh, 3rem);
}
