/* ============================================================
   WILLIAMHILL 登录入口 · 共享样式 /assets/site.css
   夜间球场灯光下的数字看台：深墨绿底、草皮绿分区、
   威廉希尔黄只落在数字、结论与焦点上
   ============================================================ */

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

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

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --wh-ink: #0B2B26;
  --wh-ink-deep: #071E1A;
  --wh-grass: #1F6F4A;
  --wh-archive: #0E2A47;
  --wh-indigo: #2E1F5E;
  --wh-wine: #5C1F2B;
  --wh-yellow: #F7C948;
  --wh-yellow-soft: rgba(247, 201, 72, 0.13);
  --wh-mint: #7FE3B0;
  --wh-gray: #A8B3B0;
  --wh-mist: #EDF3F1;
  --wh-line: #17372F;
  --wh-line-soft: rgba(168, 179, 176, 0.28);

  --wh-radius-lg: 24px;
  --wh-radius-md: 18px;
  --wh-radius-sm: 12px;

  --wh-shell: 1200px;
  --wh-gutter: clamp(1rem, 4vw, 2.5rem);
  --wh-block: clamp(2.25rem, 5vw, 4.5rem);

  --wh-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wh-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --wh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--wh-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--wh-mist);
  background-color: var(--wh-ink);
  background-image:
    radial-gradient(120% 55% at 50% -12%, rgba(31, 111, 74, 0.4), transparent 62%),
    radial-gradient(90% 40% at 100% 8%, rgba(46, 31, 94, 0.35), transparent 68%),
    linear-gradient(180deg, #0B2B26 0%, #08211D 55%, #0B2B26 100%);
  background-repeat: no-repeat;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

p { max-width: 68ch; }

strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--wh-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 工具类 ---------- */
.wh-shell {
  width: 100%;
  max-width: var(--wh-shell);
  margin-inline: auto;
  padding-inline: var(--wh-gutter);
}

.wh-main {
  display: block;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.wh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wh-skip {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 120;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--wh-yellow);
  color: #20180A;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform 0.22s var(--wh-ease);
}

.wh-skip:focus {
  transform: translateY(0);
}

/* ---------- 5. 标题与索引 ---------- */
.wh-title {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.12;
}

.wh-title--display {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.wh-title--section {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.wh-eyebrow {
  font-family: var(--wh-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wh-yellow);
  margin-bottom: 0.85rem;
}

.wh-label {
  font-family: var(--wh-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wh-gray);
}

.wh-index {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.wh-index__num {
  font-family: var(--wh-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--wh-yellow);
}

.wh-index__text {
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.015em;
  color: var(--wh-mist);
}

.wh-num {
  font-family: var(--wh-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--wh-yellow);
}

.wh-num--mint { color: var(--wh-mint); }
.wh-num--ghost { color: rgba(237, 243, 241, 0.18); }

.wh-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  color: var(--wh-gray);
  max-width: 68ch;
}

.wh-prose {
  max-width: 68ch;
  color: var(--wh-mist);
}

.wh-prose p + p { margin-top: 1rem; }

.wh-prose a {
  color: var(--wh-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.wh-rule {
  height: 1px;
  border: 0;
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(90deg, var(--wh-yellow) 0%, rgba(247, 201, 72, 0.12) 45%, transparent 100%);
}

/* ---------- 6. 按钮与标签 ---------- */
.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--wh-line);
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.7);
  color: var(--wh-mist);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.24s var(--wh-ease), border-color 0.24s var(--wh-ease),
              color 0.24s var(--wh-ease), transform 0.24s var(--wh-ease);
}

.wh-btn:hover {
  border-color: var(--wh-yellow);
  color: var(--wh-yellow);
  transform: translateY(-1px);
}

.wh-btn--yellow {
  background: var(--wh-yellow);
  border-color: var(--wh-yellow);
  color: #20180A;
  font-weight: 700;
}

.wh-btn--yellow:hover {
  background: #FFD766;
  border-color: #FFD766;
  color: #20180A;
}

.wh-btn--ghost {
  background: transparent;
}

.wh-btn--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--wh-gray);
  padding-inline: 0.5rem;
}

.wh-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--wh-line);
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.55);
  font-family: var(--wh-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wh-gray);
  transition: border-color 0.24s var(--wh-ease), color 0.24s var(--wh-ease),
              background 0.24s var(--wh-ease);
}

button.wh-chip { cursor: pointer; }

.wh-chip:hover {
  border-color: rgba(247, 201, 72, 0.55);
  color: var(--wh-yellow);
}

.wh-chip--yellow {
  border-color: rgba(247, 201, 72, 0.5);
  background: var(--wh-yellow-soft);
  color: var(--wh-yellow);
}

.wh-chip[aria-pressed="true"] {
  background: var(--wh-yellow);
  border-color: var(--wh-yellow);
  color: #20180A;
}

/* ---------- 7. 面包屑 ---------- */
.wh-crumbs {
  padding-top: clamp(1rem, 2vw, 1.5rem);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--wh-gray);
}

.wh-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wh-crumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wh-crumbs__item::after {
  content: "/";
  color: var(--wh-line-soft);
}

.wh-crumbs__item:last-child::after { content: ""; }

.wh-crumbs__link {
  color: var(--wh-gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--wh-ease), border-color 0.2s var(--wh-ease);
}

.wh-crumbs__link:hover {
  color: var(--wh-yellow);
  border-bottom-color: var(--wh-yellow);
}

.wh-crumbs__item[aria-current="page"] .wh-crumbs__link,
.wh-crumbs__link[aria-current="page"] {
  color: var(--wh-mist);
  border-bottom-color: var(--wh-yellow);
}

/* ---------- 8. 区块、色带与网格 ---------- */
.wh-section { padding-block: var(--wh-block); }
.wh-section--tight { padding-block: clamp(1.5rem, 3vw, 2.75rem); }

.wh-band {
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--wh-line);
  border-bottom: 1px solid var(--wh-line);
  background:
    linear-gradient(100deg,
      rgba(31, 111, 74, 0.4) 0%,
      rgba(14, 42, 71, 0.32) 52%,
      rgba(46, 31, 94, 0.32) 100%);
}

.wh-band--wine {
  background: linear-gradient(100deg, rgba(92, 31, 43, 0.62) 0%, rgba(11, 43, 38, 0.72) 70%);
}

.wh-band--indigo {
  background: linear-gradient(100deg, rgba(46, 31, 94, 0.7) 0%, rgba(11, 43, 38, 0.7) 75%);
}

.wh-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.wh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.wh-grid--4 { grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); }

.wh-split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}

@media (min-width: 900px) {
  .wh-split--5-7 { grid-template-columns: 5fr 7fr; }
  .wh-split--7-5 { grid-template-columns: 7fr 5fr; }
  .wh-split--4-8 { grid-template-columns: 4fr 8fr; }
  .wh-split--3-9 { grid-template-columns: 3fr 9fr; }
}

/* ---------- 9. 卡片 ---------- */
.wh-card {
  position: relative;
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  border: 1px solid var(--wh-line);
  border-radius: var(--wh-radius-lg);
  background: linear-gradient(160deg, rgba(14, 42, 71, 0.92) 0%, rgba(11, 43, 38, 0.94) 100%);
  transition: transform 0.26s var(--wh-ease), border-color 0.26s var(--wh-ease),
              box-shadow 0.26s var(--wh-ease);
}

.wh-card:hover,
.wh-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--wh-yellow);
  box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.95);
}

.wh-card__index {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  font-family: var(--wh-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--wh-gray);
  transition: color 0.26s var(--wh-ease), transform 0.26s var(--wh-ease);
}

.wh-card:hover .wh-card__index {
  color: var(--wh-yellow);
  transform: scale(1.1);
}

.wh-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  padding-right: 3.5rem;
}

.wh-card__body {
  margin-top: 0.45rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--wh-gray);
  max-width: 60ch;
}

.wh-card__foot {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wh-card--grass { background: linear-gradient(160deg, rgba(31, 111, 74, 0.88) 0%, rgba(11, 43, 38, 0.95) 100%); }
.wh-card--indigo { background: linear-gradient(160deg, rgba(46, 31, 94, 0.88) 0%, rgba(11, 43, 38, 0.95) 100%); }
.wh-card--wine { background: linear-gradient(160deg, rgba(92, 31, 43, 0.88) 0%, rgba(11, 43, 38, 0.95) 100%); }
.wh-card--archive { background: linear-gradient(160deg, rgba(14, 42, 71, 0.96) 0%, rgba(7, 30, 26, 0.96) 100%); }

/* ---------- 10. 图片容器（页面阶段放图） ---------- */
.wh-figure { margin: 0; }

.wh-figure__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--wh-line);
  border-radius: var(--wh-radius-lg);
  background-color: var(--wh-archive);
  background-image:
    repeating-linear-gradient(90deg, rgba(127, 227, 176, 0.07) 0 2px, transparent 2px 72px),
    radial-gradient(85% 85% at 50% 0%, rgba(31, 111, 74, 0.6), transparent 72%),
    linear-gradient(160deg, #0E2A47 0%, #0B2B26 100%);
}

.wh-figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wh-figure__caption {
  margin-top: 0.7rem;
  font-family: var(--wh-mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  color: var(--wh-gray);
}

.wh-figure--wide .wh-figure__frame { aspect-ratio: 21 / 9; }
.wh-figure--tall .wh-figure__frame { aspect-ratio: 4 / 5; }
.wh-figure--square .wh-figure__frame { aspect-ratio: 1 / 1; }

/* ---------- 11. 数据表 ---------- */
.wh-table__wrap {
  overflow-x: auto;
  border: 1px solid var(--wh-line);
  border-radius: var(--wh-radius-lg);
  background: rgba(14, 42, 71, 0.45);
}

.wh-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.wh-table caption {
  padding: 1rem 1.15rem 0.4rem;
  text-align: left;
  font-family: var(--wh-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wh-yellow);
}

.wh-table th,
.wh-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(23, 55, 47, 0.9);
}

.wh-table thead th {
  font-family: var(--wh-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wh-gray);
  background: rgba(7, 30, 26, 0.75);
}

.wh-table tbody tr:hover { background: rgba(31, 111, 74, 0.2); }

.wh-table .wh-num-cell,
.wh-table td.wh-num-cell {
  font-family: var(--wh-mono);
  font-variant-numeric: tabular-nums;
  color: var(--wh-yellow);
}

/* ---------- 12. 页头（居中刊头） ---------- */
.wh-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--wh-line);
  background:
    linear-gradient(180deg, rgba(11, 43, 38, 0.98) 0%, rgba(9, 36, 31, 0.96) 100%);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.28s var(--wh-ease), border-color 0.28s var(--wh-ease);
}

.wh-header[data-scrolled="true"] {
  border-bottom-color: rgba(247, 201, 72, 0.3);
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 0.98);
}

.wh-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: clamp(0.85rem, 2vw, 1.3rem) clamp(0.7rem, 1.6vw, 1.05rem);
}

.wh-header__index {
  font-family: var(--wh-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wh-gray);
  display: none;
}

.wh-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.wh-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  border: 1px solid rgba(247, 201, 72, 0.55);
  background: radial-gradient(circle at 32% 26%, #F7C948 0%, #D8A92F 100%);
  color: #20180A;
  font-family: var(--wh-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wh-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wh-brand__name {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.wh-brand__sub {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--wh-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wh-gray);
}

.wh-header__side {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

/* 移动导航开关 */
.wh-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--wh-line);
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.7);
  color: var(--wh-mist);
  font-family: var(--wh-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.24s var(--wh-ease), color 0.24s var(--wh-ease);
}

.wh-nav__toggle:hover {
  border-color: var(--wh-yellow);
  color: var(--wh-yellow);
}

.wh-nav__toggle-bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.22s var(--wh-ease);
}

.wh-nav__toggle-bars::before,
.wh-nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--wh-ease);
}

.wh-nav__toggle-bars::before { top: -5px; }
.wh-nav__toggle-bars::after { top: 5px; }

.wh-nav__toggle[aria-expanded="true"] .wh-nav__toggle-bars { background: transparent; }
.wh-nav__toggle[aria-expanded="true"] .wh-nav__toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.wh-nav__toggle[aria-expanded="true"] .wh-nav__toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 栏目行 */
.wh-nav {
  background: rgba(7, 30, 26, 0.5);
  border-top: 1px solid transparent;
}

.wh-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  padding-block: 0.4rem;
}

.wh-nav__item { display: block; }

.wh-nav__link {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--wh-gray);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.22s var(--wh-ease), background 0.22s var(--wh-ease);
}

.wh-nav__link:hover {
  color: var(--wh-mist);
  background: rgba(31, 111, 74, 0.38);
}

.wh-nav__link[aria-current="page"] {
  background: var(--wh-yellow);
  color: #20180A;
  font-weight: 700;
}

@media (min-width: 861px) {
  .wh-nav { border-top: 1px solid var(--wh-line); }
  .wh-nav__toggle { display: none; }
}

@media (max-width: 860px) {
  .wh-nav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--wh-ease);
  }

  .wh-nav > .wh-shell {
    overflow: hidden;
    min-height: 0;
    visibility: hidden;
  }

  .wh-nav[data-open="true"] {
    grid-template-rows: 1fr;
    border-top-color: var(--wh-line);
  }

  .wh-nav[data-open="true"] > .wh-shell { visibility: visible; }

  .wh-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding-block: 0.4rem 1rem;
  }

  .wh-nav__link {
    display: block;
    padding: 0.78rem 1rem;
    border-radius: 14px;
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .wh-header__side .wh-btn { display: none; }
}

@media (min-width: 1000px) {
  .wh-header__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
  }

  .wh-header__index { display: block; justify-self: start; }

  .wh-brand {
    grid-column: 2;
    justify-self: center;
    gap: 0.85rem;
  }

  .wh-header__side { justify-self: end; }
}

/* ---------- 13. 页脚 ---------- */
.wh-footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--wh-line);
  background: linear-gradient(180deg, rgba(7, 30, 26, 0.55) 0%, #071E1A 42%, #061A17 100%);
}

.wh-footer__seam {
  height: 4px;
  background: linear-gradient(90deg,
    var(--wh-yellow) 0%,
    var(--wh-grass) 28%,
    var(--wh-archive) 58%,
    var(--wh-indigo) 82%,
    var(--wh-wine) 100%);
}

.wh-footer__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}

.wh-footer__brand { min-width: 0; }

.wh-footer__logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--wh-mist);
}

.wh-footer__tagline {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--wh-gray);
  max-width: 34ch;
}

.wh-footer__contact {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.4rem;
  font-style: normal;
  font-family: var(--wh-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--wh-gray);
}

.wh-footer__contact span {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.wh-footer__contact strong {
  flex: 0 0 auto;
  min-width: 2.4rem;
  font-family: var(--wh-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wh-yellow);
}

.wh-footer__cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.wh-footer__col { min-width: 0; }

.wh-footer__title {
  margin-bottom: 0.85rem;
  font-family: var(--wh-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wh-yellow);
}

.wh-footer__links {
  display: grid;
  gap: 0.5rem;
}

.wh-footer__links a {
  display: inline-block;
  padding-block: 0.15rem;
  color: var(--wh-gray);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.22s var(--wh-ease), border-color 0.22s var(--wh-ease);
}

.wh-footer__links a:hover {
  color: var(--wh-mist);
  border-bottom-color: var(--wh-yellow);
}

.wh-footer__links a[aria-current="page"] { color: var(--wh-yellow); }

.wh-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--wh-line);
  font-size: 0.8rem;
  color: var(--wh-gray);
}

.wh-footer__copy {
  font-family: var(--wh-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.wh-footer__icp {
  font-family: var(--wh-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.wh-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.wh-footer__meta a {
  color: var(--wh-gray);
  text-decoration: none;
  border-bottom: 1px dashed var(--wh-line-soft);
  transition: color 0.22s var(--wh-ease), border-color 0.22s var(--wh-ease);
}

.wh-footer__meta a:hover {
  color: var(--wh-yellow);
  border-bottom-color: var(--wh-yellow);
}

@media (min-width: 820px) {
  .wh-footer__inner {
    grid-template-columns: 1.1fr 2fr;
    align-items: start;
  }
}

/* ---------- 14. 滚动进度、渐显、回到顶部 ---------- */
.wh-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--wh-yellow) 0%, var(--wh-mint) 100%);
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--wh-ease), transform 0.6s var(--wh-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.wh-totop {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1rem;
  border: 1px solid var(--wh-line);
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.94);
  color: var(--wh-mist);
  font-family: var(--wh-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s var(--wh-ease), transform 0.28s var(--wh-ease),
              visibility 0.28s var(--wh-ease), border-color 0.24s var(--wh-ease),
              color 0.24s var(--wh-ease);
}

.wh-totop[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.wh-totop:hover {
  border-color: var(--wh-yellow);
  color: var(--wh-yellow);
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .wh-card:hover,
  .wh-card:focus-within,
  .wh-btn:hover {
    transform: none;
  }
}
