/* ==========================================================================
   欧皇赛场 · assets/site.css
   冰面竞技场 × 战术数据看台｜共享外壳样式
   01 tokens / 02 reset / 03 排版 / 04 通用组件 / 05 刊头 / 06 页脚
   07 响应式 / 08 可访问性与打印
   ========================================================================== */

/* 01 · tokens ------------------------------------------------------------- */
:root {
  --ice-deep: #071A2B;
  --ice-night: #0E2A3F;
  --ice-white: #F3F8FB;
  --ice-blue: #A9D6E5;
  --brand-gold: #D9A441;
  --gold-bright: #F5D27A;
  --track-orange: #FF6B2C;
  --mint: #2DE2B9;
  --data-slate: #5B7185;
  --indigo: #2B2560;

  --ink: #071A2B;
  --line-soft: rgba(169, 214, 229, 0.16);
  --line-mid: rgba(169, 214, 229, 0.28);
  --line-gold: rgba(217, 164, 65, 0.45);

  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", "Haettenschweiler",
    "Impact", "PingFang SC", "Source Han Sans SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Roboto Mono",
    "Consolas", "Liberation Mono", monospace;

  --shell: min(1320px, 100% - 48px);
  --radius: 2px;
  --ease: cubic-bezier(0.3, 0.7, 0.4, 1);
}

/* 02 · reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 168px;
  background-color: #04101A;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--ice-deep);
  background-image:
    radial-gradient(1100px 540px at 10% -8%, rgba(45, 226, 185, 0.10), transparent 62%),
    radial-gradient(920px 500px at 94% -6%, rgba(217, 164, 65, 0.13), transparent 58%),
    radial-gradient(820px 640px at 82% 108%, rgba(43, 37, 96, 0.55), transparent 62%),
    repeating-linear-gradient(122deg, rgba(169, 214, 229, 0.045) 0 1px, transparent 1px 48px);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}

img { max-width: 100%; height: auto; }
ul, ol { padding-left: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--brand-gold); color: #101A22; }

/* 03 · 排版 ---------------------------------------------------------------- */
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.page-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ice-white);
  text-shadow: 0 0 34px rgba(217, 164, 65, 0.18);
}

.page-lede {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.8;
  color: rgba(243, 248, 251, 0.82);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--ice-white);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.index-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

/* 04 · 通用组件 ------------------------------------------------------------ */
.page-shell {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(28px, 4vw, 48px) 0;
}

.page-head { padding-block: clamp(18px, 3vw, 34px) clamp(24px, 3.4vw, 42px); }

.section { padding-block: clamp(34px, 5.4vw, 72px); }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--data-slate);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--data-slate); }
.crumbs a {
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.crumbs a:hover { color: var(--gold-bright); }
.crumbs [aria-current="page"] { color: var(--ice-white); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ice-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.btn:hover { transform: translateY(-2px); }

.btn--orange {
  background: var(--track-orange);
  border-color: var(--track-orange);
  color: #101A22;
  box-shadow: 0 6px 0 rgba(43, 37, 96, 0.55);
}
.btn--orange:hover {
  background: #FF824F;
  border-color: #FF824F;
  box-shadow: 0 9px 0 rgba(43, 37, 96, 0.6), 0 12px 26px rgba(255, 107, 44, 0.28);
}
.btn--gold {
  background: rgba(217, 164, 65, 0.1);
  border-color: var(--brand-gold);
  color: var(--gold-bright);
}
.btn--gold:hover {
  background: rgba(217, 164, 65, 0.22);
  box-shadow: 0 8px 24px rgba(217, 164, 65, 0.2);
}
.btn--ghost {
  border-color: var(--line-mid);
  color: var(--ice-blue);
}
.btn--ghost:hover { border-color: var(--mint); color: var(--ice-white); }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--ice-blue);
  white-space: nowrap;
}
.tag--gold { border-color: rgba(217, 164, 65, 0.6); color: var(--gold-bright); }
.tag--mint { border-color: rgba(45, 226, 185, 0.55); color: var(--mint); }
.tag--orange { border-color: rgba(255, 107, 44, 0.6); color: #FFB08A; }

/* 框景 */
.frame {
  position: relative;
  padding: clamp(18px, 3vw, 40px);
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(14, 42, 63, 0.9), rgba(7, 26, 43, 0.96));
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--brand-gold);
  pointer-events: none;
}
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* Bento 网格 */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.bento__cell {
  position: relative;
  grid-column: span 4;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 42, 63, 0.94), rgba(7, 26, 43, 0.94));
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.bento__cell:hover {
  transform: translate(-3px, -3px);
  border-color: var(--line-gold);
  box-shadow: 7px 7px 0 rgba(43, 37, 96, 0.55),
    0 0 0 1px rgba(217, 164, 65, 0.14);
}
.bento__cell--wide { grid-column: span 8; }
.bento__cell--half { grid-column: span 6; }
.bento__cell--narrow { grid-column: span 3; }
.bento__cell--full { grid-column: span 12; }
.bento__cell--accent {
  background: linear-gradient(150deg, rgba(217, 164, 65, 0.18), rgba(14, 42, 63, 0.96) 58%);
  border-color: var(--line-gold);
}
.bento__cell--plum {
  background: linear-gradient(150deg, rgba(43, 37, 96, 0.85), rgba(7, 26, 43, 0.96));
}
.bento__cell--light {
  background: var(--ice-white);
  border-color: rgba(7, 26, 43, 0.14);
  color: #0A2233;
}
.bento__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--ice-white);
}
.bento__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(243, 248, 251, 0.76);
}
.bento__cell--light .bento__title { color: #071A2B; }
.bento__cell--light .bento__meta { color: rgba(7, 26, 43, 0.76); }

/* 图片容器 */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background-color: var(--ice-night);
  background-image: linear-gradient(140deg, #123350 0%, #071A2B 52%, #17204A 100%);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(217, 164, 65, 0.34);
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 10px;
  background: var(--brand-gold);
  color: #101A22;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 26px 14px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243, 248, 251, 0.92);
  background: linear-gradient(180deg, transparent, rgba(4, 16, 26, 0.9));
}

/* 数据表 */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 42, 63, 0.55);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.data-table caption {
  caption-side: top;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--brand-gold);
  border-bottom: 1px solid var(--line-soft);
}
.data-table th {
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(169, 214, 229, 0.92);
  background: rgba(7, 26, 43, 0.72);
  border-bottom: 1px solid var(--line-mid);
}
.data-table td {
  padding: 11px 14px;
  color: rgba(243, 248, 251, 0.88);
  border-bottom: 1px solid rgba(91, 113, 133, 0.32);
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(169, 214, 229, 0.07); }
.data-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--brand-gold); }
.data-table .is-key { color: var(--gold-bright); font-weight: 600; }

/* 目录（章节索引） */
.toc {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line-soft);
}
.toc a {
  display: block;
  margin-left: -1px;
  padding: 9px 12px;
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.toc a:hover { color: var(--ice-white); border-left-color: var(--track-orange); }
.toc a.is-current {
  color: var(--gold-bright);
  border-left-color: var(--brand-gold);
  background: rgba(217, 164, 65, 0.08);
}

/* 05 · 刊头 ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -70px;
  left: 14px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--mint);
  color: #04202A;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 14px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--ice-white);
  background: linear-gradient(180deg, rgba(7, 26, 43, 0.97), rgba(7, 26, 43, 0.9));
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--brand-gold) 0 2px,
    transparent 2px 15px
  );
  opacity: 0.35;
  pointer-events: none;
}

.masthead__progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: rgba(169, 214, 229, 0.12);
}
.masthead__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-gold), var(--track-orange), var(--mint));
  transition: width 0.12s linear;
}

.masthead__shell {
  width: var(--shell);
  margin-inline: auto;
  padding-top: 4px;
}

.masthead__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-block: 10px 12px;
}

.masthead__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}
.masthead__version {
  padding: 3px 9px;
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.masthead__index-line {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(169, 214, 229, 0.7);
  white-space: nowrap;
}

.masthead__brand {
  grid-column: 2;
  justify-self: center;
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.masthead__wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--ice-white);
  text-shadow: 0 0 20px rgba(217, 164, 65, 0.35), 0 1px 0 rgba(217, 164, 65, 0.65);
  transition: color 0.18s var(--ease), text-shadow 0.18s var(--ease);
}
.masthead__brand:hover .masthead__wordmark {
  color: var(--gold-bright);
  text-shadow: 0 0 26px rgba(245, 210, 122, 0.5), 0 1px 0 rgba(217, 164, 65, 0.9);
}
.masthead__subline {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: var(--ice-blue);
}

.masthead__tools {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}
.masthead__tool-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(169, 214, 229, 0.35);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.masthead__tool-link:hover { color: var(--gold-bright); border-color: var(--brand-gold); }
.masthead__cta { flex: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(169, 214, 229, 0.35);
  border-radius: var(--radius);
  background: rgba(14, 42, 63, 0.9);
  color: var(--ice-white);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--brand-gold); background: rgba(217, 164, 65, 0.14); }
.nav-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-bright);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.masthead[data-open="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.masthead[data-open="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.masthead[data-open="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-toggle__label { white-space: nowrap; }

.masthead__nav { border-top: 1px solid var(--line-soft); }
.nav-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list__item { min-width: 0; }
.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 8px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease), background-color 0.2s var(--ease);
}
.nav-list a:hover {
  color: var(--ice-white);
  background: rgba(169, 214, 229, 0.07);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--gold-bright); }
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--track-orange);
}
.nav-list a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -4px;
}

/* 06 · 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  color: var(--ice-blue);
  background: linear-gradient(180deg, #071A2B 0%, #05131F 62%, #04101A 100%);
  border-top: 1px solid rgba(217, 164, 65, 0.28);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(217, 164, 65, 0.85) 0 2px,
    transparent 2px 15px
  );
  opacity: 0.4;
  pointer-events: none;
}
.site-footer__shell {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(38px, 5.6vw, 68px) clamp(22px, 3vw, 30px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(26px, 4vw, 42px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand__mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.14em;
  color: var(--ice-white);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(217, 164, 65, 0.3);
  transition: color 0.18s var(--ease);
}
.footer-brand__mark:hover { color: var(--gold-bright); }
.footer-brand__line {
  margin: 10px 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(169, 214, 229, 0.72);
}
.footer-brand__statement {
  margin: 0 0 18px;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 248, 251, 0.76);
}
.footer-brand__badge {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid rgba(45, 226, 185, 0.5);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-col__title,
.footer-contact__title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.footer-col__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}
.footer-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  font-size: 14px;
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer-col__list a::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  background: var(--brand-gold);
  opacity: 0.35;
  transition: opacity 0.18s var(--ease), background-color 0.18s var(--ease);
}
.footer-col__list a:hover { color: var(--gold-bright); }
.footer-col__list a:hover::before { opacity: 1; background: var(--track-orange); }
.footer-col__list a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.footer-contact__list { margin: 0; }
.footer-contact__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding-block: 9px;
  border-top: 1px dashed rgba(169, 214, 229, 0.18);
}
.footer-contact__row:first-child { border-top: 0; }
.footer-contact__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(169, 214, 229, 0.65);
}
.footer-contact__row dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ice-white);
  word-break: break-word;
}

.site-footer__bottom {
  display: grid;
  gap: 14px;
  padding-top: clamp(18px, 2.6vw, 26px);
}
.site-footer__note {
  margin: 0;
  max-width: 88ch;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(169, 214, 229, 0.7);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(169, 214, 229, 0.72);
}
.site-footer__legal a {
  color: var(--ice-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 214, 229, 0.3);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.site-footer__legal a:hover { color: var(--gold-bright); border-color: var(--brand-gold); }
.site-footer__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: 0.85;
}

/* 07 · 响应式 -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .masthead__index-line { display: none; }
}

@media (max-width: 1080px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact__row { grid-template-columns: 88px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  :root { --shell: min(1320px, 100% - 32px); }
  html { scroll-padding-top: 118px; }

  .masthead__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 8px 10px;
  }
  .masthead__meta,
  .masthead__tools { display: none; }
  .masthead__brand { text-align: left; }
  .masthead__wordmark {
    font-size: clamp(1.45rem, 5.4vw, 2rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }
  .masthead__subline { margin-top: 5px; font-size: 10px; letter-spacing: 0.08em; }
  .nav-toggle { display: inline-flex; flex: none; }

  .masthead__nav { display: none; }
  .masthead[data-open="true"] .masthead__nav {
    display: block;
    background: linear-gradient(180deg, #0E2A3F, #071A2B);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 22px));
    padding-bottom: 22px;
    animation: nav-drop 0.24s var(--ease) both;
  }
  .nav-list { grid-template-columns: minmax(0, 1fr); }
  .nav-list__item + .nav-list__item { border-top: 1px solid rgba(169, 214, 229, 0.1); }
  .nav-list a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 14px 18px;
    font-size: 15px;
    letter-spacing: 0.08em;
  }
  .nav-list a::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: center;
  }
  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after { transform: scaleY(1); }

  .bento__cell,
  .bento__cell--narrow,
  .bento__cell--half { grid-column: span 6; }
  .bento__cell--wide { grid-column: span 12; }

  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: auto; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  :root { --shell: min(1320px, 100% - 24px); }
  body { font-size: 15.5px; }
  .page-lede { font-size: 15px; }
  .bento__cell,
  .bento__cell--wide,
  .bento__cell--half,
  .bento__cell--narrow { grid-column: span 12; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-contact__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .site-footer__legal { font-size: 11px; letter-spacing: 0.06em; gap: 8px 12px; }
  .btn { width: 100%; }
  .masthead__cta.btn,
  .nav-toggle { width: auto; }
}

/* 08 · 可访问性与打印 ------------------------------------------------------ */
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .bento__cell:hover,
  .btn:hover { transform: none; }
  .masthead__progress span { transition: none; }
}

@media print {
  html,
  body { background: #FFFFFF !important; color: #071A2B !important; }
  .masthead,
  .skip-link,
  .site-footer__grid nav,
  .toc,
  .nav-toggle { display: none !important; }
  .page-shell { width: 100%; padding: 0; }
  .bento__cell,
  .frame,
  .data-table-wrap { border-color: #5B7185 !important; background: #FFFFFF !important; }
  a { color: #071A2B !important; text-decoration: underline; }
}
