/* =========================================================
   财神棋牌老版本 · 共享样式 /assets/site.css
   账簿卷轴：暖米白纸底 + 财神红 + 鎏金 + 深墨绿
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--c-teal); text-underline-offset: 3px; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-red: #A32B27;
  --c-red-deep: #7C1F1C;
  --c-gold: #C9A24B;
  --c-gold-light: #E8D3A0;
  --c-green: #1E3A33;
  --c-ink: #171614;
  --c-paper: #F7F1E6;
  --c-paper-2: #E6DCCB;
  --c-teal: #2F6B62;
  --c-white: #FFFDF8;

  --line: rgba(30, 58, 51, 0.20);
  --line-strong: rgba(30, 58, 51, 0.46);
  --shadow-sm: 0 1px 0 rgba(23, 22, 20, 0.04), 0 8px 20px -16px rgba(23, 22, 20, 0.55);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "DIN Alternate", "SF Mono", ui-monospace, "Menlo", "Consolas", monospace;

  --maxw: 1240px;
  --frame-pad: clamp(16px, 3vw, 28px);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--c-paper);
  background-image: radial-gradient(rgba(201, 162, 75, 0.13) 1px, transparent 1.5px);
  background-size: 28px 28px;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}

h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }

strong, b { font-weight: 700; }

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

#main-content:focus { outline: none; }
#main-content { scroll-margin-top: 140px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--c-green);
  color: var(--c-gold-light);
  border: 1px solid var(--c-gold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--c-gold-light);
}

/* ---------- 5. 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--frame-pad);
}

.page-main {
  display: block;
  padding-block: clamp(24px, 4vw, 56px) clamp(48px, 8vw, 96px);
}

/* ---------- 6. 头部：卷轴轴头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 230, 0.97);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 12px 26px -24px rgba(23, 22, 20, 0.9);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--c-red) 0%,
    var(--c-red) 46%,
    var(--c-gold) 46%,
    var(--c-gold) 78%,
    var(--c-green) 78%,
    var(--c-green) 100%
  );
}

.site-header__frame {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  min-height: 74px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  order: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-ink);
}

.brand__seal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--c-red);
  color: var(--c-gold-light);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid var(--c-red-deep);
  box-shadow: inset 0 0 0 2px rgba(232, 211, 160, 0.38);
  transform: rotate(-2deg);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

.brand__link:hover .brand__seal {
  background: var(--c-red-deep);
  transform: rotate(0deg);
}

.brand__link:active .brand__seal { transform: scale(0.98) rotate(0deg); }

.brand__text { display: flex; flex-direction: column; line-height: 1.16; }

.brand__mark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.brand__sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--c-teal);
}

.brand__desc {
  padding-left: 48px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(23, 22, 20, 0.55);
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 22px);
  flex-wrap: nowrap;
}

.site-nav__item { position: relative; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px 10px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: rgba(23, 22, 20, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}

.site-nav__link:hover { color: var(--c-red); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--c-red);
  font-weight: 600;
}

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--c-red);
}

.site-nav__num {
  margin-right: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}

/* 右侧动作区 */
.header-actions {
  order: 3;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  text-decoration: none;
}

.header-actions__label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(23, 22, 20, 0.55);
}

.header-actions__value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
  transition: color 0.18s var(--ease);
}

.header-actions__phone:hover .header-actions__value { color: var(--c-red); }

.header-actions__cta { white-space: nowrap; }

/* 移动目录按钮 */
.nav-toggle {
  order: 4;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--c-white);
  border: 1px solid var(--c-green);
  color: var(--c-green);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--c-green);
  color: var(--c-gold-light);
}

.nav-toggle:active { transform: scale(0.98); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.68em 1.15em;
  border: 1px solid var(--c-green);
  background: var(--c-white);
  color: var(--c-green);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.12s var(--ease);
}

.btn:hover {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-gold-light);
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-gold-light);
}

.btn--primary:hover {
  background: var(--c-red-deep);
  border-color: var(--c-red-deep);
  color: var(--c-white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-gold);
  color: var(--c-red);
}

.btn--ghost:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-gold-light);
}

/* ---------- 8. 页面骨架组件 ---------- */
.section {
  position: relative;
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.section:first-of-type { border-top: 0; padding-top: 0; }

.section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 30px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 38px);
}

.section__index {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: rgba(201, 162, 75, 0.55);
  font-variant-numeric: tabular-nums;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--c-ink);
}

.section__lede {
  margin-top: 10px;
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(23, 22, 20, 0.72);
}

.section__note {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-teal);
}

.note-vertical {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.24em;
  line-height: 1.5;
  color: rgba(47, 107, 98, 0.9);
  border-left: 1px solid var(--line);
  padding-left: 8px;
}

.divider {
  height: 1px;
  background: var(--line);
}

/* 面包屑 */
.breadcrumb {
  margin-bottom: clamp(16px, 3vw, 28px);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(23, 22, 20, 0.55);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__link {
  color: var(--c-teal);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--c-red);
  text-decoration: underline;
}

.breadcrumb__sep { color: var(--c-gold); }

.breadcrumb__current { color: rgba(23, 22, 20, 0.72); }

/* 标签与筛选 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--c-paper);
  color: var(--c-green);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.chip:hover,
.chip[aria-pressed="true"] {
  background: var(--c-gold-light);
  border-color: var(--c-gold);
  color: var(--c-green);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  background: var(--c-gold-light);
  border: 1px solid rgba(201, 162, 75, 0.6);
  color: var(--c-green);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.tag--red {
  background: rgba(163, 43, 39, 0.08);
  border-color: rgba(163, 43, 39, 0.32);
  color: var(--c-red);
}

/* 账目表 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-strong);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.table-ledger {
  width: 100%;
  min-width: 560px;
  font-size: 14.5px;
  background: var(--c-white);
}

.table-ledger caption {
  caption-side: top;
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-teal);
  border-bottom: 1px solid var(--line);
}

.table-ledger th,
.table-ledger td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table-ledger thead th {
  background: var(--c-green);
  color: var(--c-gold-light);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.table-ledger tbody tr:nth-child(even) { background: rgba(230, 220, 203, 0.42); }
.table-ledger tbody tr:hover { background: rgba(232, 211, 160, 0.38); }
.table-ledger tbody tr:last-child td { border-bottom: 0; }

.table-ledger td.is-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(
    transparent 58%,
    rgba(232, 211, 160, 0.78) 58%,
    rgba(232, 211, 160, 0.78) 94%,
    transparent 94%
  );
}

/* 数字卡 */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--c-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
}

.stat__unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(23, 22, 20, 0.6);
}

.stat__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-teal);
}

/* 图片容器 */
.media-frame {
  margin: 0;
  padding: 8px;
  background: var(--c-white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.media-frame__img {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-paper-2), rgba(232, 211, 160, 0.62));
  color: rgba(30, 58, 51, 0.42);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.media-frame__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(23, 22, 20, 0.6);
}

.media-frame--square .media-frame__img { aspect-ratio: 1 / 1; }
.media-frame--tall .media-frame__img { aspect-ratio: 3 / 4; }

/* 卡片 */
.card {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--c-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.card:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.card__title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
}

.card__meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-teal);
}

.card__body {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(23, 22, 20, 0.76);
}

/* 栅格与清单 */
.grid {
  display: grid;
  gap: var(--gap, 24px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.list-check {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15.5px;
}

.list-check li {
  position: relative;
  padding-left: 22px;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

/* ---------- 9. 卷轴进度线（JS 注入） ---------- */
.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 90;
  background: rgba(30, 58, 51, 0.12);
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
  transition: width 0.1s linear;
}

/* ---------- 10. 页脚：账本封底 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--c-green);
  color: rgba(247, 241, 230, 0.86);
  border-top: 3px solid var(--c-gold);
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(201, 162, 75, 0.42);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 36ch;
}

.footer-brand__seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--c-red);
  color: var(--c-gold-light);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid var(--c-gold);
  box-shadow: inset 0 0 0 2px rgba(232, 211, 160, 0.32);
  transform: rotate(-2deg);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-gold-light);
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247, 241, 230, 0.72);
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--c-gold);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list__link {
  display: inline-block;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: rgba(247, 241, 230, 0.8);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-list__link:hover {
  color: var(--c-gold-light);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(201, 162, 75, 0.9);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid rgba(201, 162, 75, 0.4);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(247, 241, 230, 0.58);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 18px;
  border-top: 1px solid rgba(201, 162, 75, 0.22);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(247, 241, 230, 0.6);
}

.site-footer__copy { font-variant-numeric: tabular-nums; }

.site-footer__icp { letter-spacing: 0.1em; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.legal-links__link {
  color: rgba(247, 241, 230, 0.7);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.legal-links__link:hover { color: var(--c-gold-light); }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand__desc { display: none; }
}

@media (max-width: 1040px) {
  .site-header__frame {
    flex-wrap: wrap;
    min-height: 66px;
  }

  .brand { order: 1; }
  .site-nav { order: 2; }
  .header-actions { order: 3; }
  .nav-toggle { order: 4; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions__phone { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 76vh;
    overflow-y: auto;
    padding: 4px var(--frame-pad) 16px;
    background: var(--c-white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--c-green);
    box-shadow: 0 24px 36px -28px rgba(23, 22, 20, 0.9);
  }

  .site-nav[data-open] { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item { border-bottom: 1px solid var(--line); }
  .site-nav__item:last-child { border-bottom: 0; }

  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    font-size: 16px;
  }

  .site-nav__link::after { display: none; }

  .site-nav__link[aria-current="page"] {
    padding-left: 10px;
    background: linear-gradient(90deg, rgba(232, 211, 160, 0.55), transparent 70%);
  }

  .section__head { grid-template-columns: 1fr; gap: 6px; }
  .section__index { font-size: clamp(36px, 9vw, 56px); }

  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .media-frame__img { aspect-ratio: 4 / 3; }

  .note-vertical { writing-mode: horizontal-tb; border-left: 0; border-top: 1px solid var(--line); padding: 6px 0 0; }

  .legal-links { margin-left: 0; }
}

@media (max-width: 560px) {
  .header-actions { display: none; }
  .brand__mark { font-size: 16px; }
  .brand__sub { font-size: 10px; letter-spacing: 0.18em; }
  .brand__seal { width: 34px; height: 34px; font-size: 18px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__legal { font-size: 12px; }
}

/* ---------- 12. 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover { transform: none; }
  .footer-list__link:hover { transform: none; }
  .brand__seal { transform: rotate(-2deg); }
}

/* ---------- 13. 打印（费用表可用） ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link,
  .nav-toggle { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .table-ledger,
  .table-scroll {
    border-color: #000;
    box-shadow: none;
    overflow: visible;
  }
}
