/* ============================================================
   德信体育主站 · 共享样式表 /assets/site.css
   体系：深夜记分牌（深靛蓝底） + 玻璃数据层 + 暖纸阅读层
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

ul, ol { list-style: none; }

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

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

a { color: inherit; text-decoration: none; }

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #0B1030;
  --ink-800: #141B3C;
  --paper: #F3EBDD;
  --ink: #1A1A22;
  --cyan: #35E0C8;
  --cyan-deep: #0FA88F;
  --orange: #FF8A3D;
  --amber: #FFC48A;
  --white: #FFFFFF;
  --slate: #8E99C6;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --paper-line: rgba(26, 26, 34, 0.14);

  --font-cn: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 36px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-paper: 0 18px 40px -28px rgba(0, 0, 0, 0.65);
  --shadow-glass: 0 24px 60px -40px rgba(0, 0, 0, 0.9);
}

/* ---------- 3. 基础排版 ---------- */
html { background-color: var(--ink-900); }

body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 82% -12%, rgba(53, 224, 200, 0.12), transparent 62%),
    radial-gradient(880px 520px at -8% 14%, rgba(255, 138, 61, 0.09), transparent 60%),
    radial-gradient(620px 620px at 50% 120%, rgba(15, 168, 143, 0.10), transparent 70%);
  color: var(--paper);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p { line-height: 1.85; }

strong { font-weight: 700; color: var(--white); }

::selection {
  background: var(--cyan);
  color: var(--ink-900);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only,
.nav-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 16, 48, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(20, 27, 60, 0.94);
  box-shadow: 0 12px 34px -26px rgba(0, 0, 0, 0.95);
}

.header-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: height 0.28s var(--ease);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--cyan), var(--cyan-deep));
  color: var(--ink-900);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(53, 224, 200, 0.45), 0 10px 24px -14px rgba(53, 224, 200, 0.9);
  transition: transform 0.24s var(--ease);
}

.brand:hover .brand-mark { transform: translateY(-2px); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  color: var(--white);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--slate);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 导航 */
.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after { transform: scaleX(0.42); }

.nav-link[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 头部右端 */
.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.round-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(53, 224, 200, 0.5);
  border-radius: var(--r-pill);
  background: rgba(53, 224, 200, 0.07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.round-entry::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(53, 224, 200, 0.7);
  animation: dexin-pulse 2.4s var(--ease) infinite;
}

.round-entry:hover {
  background: rgba(53, 224, 200, 0.16);
  border-color: var(--cyan);
  color: var(--white);
}

@keyframes dexin-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 224, 200, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(53, 224, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 224, 200, 0); }
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: rgba(53, 224, 200, 0.6); }

.nav-toggle-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.24s var(--ease), opacity 0.16s linear, background-color 0.2s var(--ease);
}

.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 27px; }

.site-header[data-open="true"] .nav-toggle {
  border-color: var(--cyan);
  background: rgba(53, 224, 200, 0.12);
}

.site-header[data-open="true"] .nav-toggle-bar { background: var(--cyan); }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep) 55%, var(--orange));
  transition: width 0.12s linear;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  margin-top: clamp(56px, 9vw, 120px);
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 14px;
}

.footer-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.8fr 1.55fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-soft);
}

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

.footer-brand {
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.footer-brand::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.footer-line {
  margin-top: 16px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.85;
  max-width: 30ch;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}

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

.footer-link {
  display: inline-block;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-round {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.footer-round-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.footer-contact { gap: 12px; }

.footer-contact-item {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.75;
  word-break: break-word;
}

.footer-contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2px;
}

.footer-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--slate);
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 7. 布局容器 ---------- */
.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.section {
  padding-block: clamp(40px, 6vw, 88px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.sec-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(53, 224, 200, 0.28);
}

.sec-title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.sec-desc {
  max-width: 54ch;
  color: var(--slate);
  font-size: 15px;
}

/* ---------- 8. Bento 网格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.bento > * { grid-column: span 12; min-width: 0; }

.b-3  { grid-column: span 3; }
.b-4  { grid-column: span 4; }
.b-5  { grid-column: span 5; }
.b-6  { grid-column: span 6; }
.b-8  { grid-column: span 8; }
.b-12 { grid-column: span 12; }

/* ---------- 9. 卡片：玻璃层 / 纸面层 ---------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.2vw, 28px);
}

.card--glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glass);
  color: var(--paper);
}

.card--paper {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-paper);
  color: var(--ink);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: inherit;
}

.card-meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.card--paper .card-meta { color: rgba(26, 26, 34, 0.6); }

.card-accent {
  position: absolute;
  left: clamp(18px, 2.2vw, 28px);
  top: 0;
  width: 46px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* ---------- 10. 暖纸阅读层与正文 ---------- */
.paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 48px);
  box-shadow: var(--shadow-paper);
}

.paper h1,
.paper h2,
.paper h3,
.paper h4 { color: var(--ink); }

.prose {
  max-width: 70ch;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
}

.prose p + p { margin-top: 1.05em; }

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.55em;
  color: var(--ink);
}

.prose h2 { font-size: clamp(22px, 2.6vw, 30px); }
.prose h3 { font-size: clamp(18px, 2vw, 22px); }

.prose ul,
.prose ol {
  margin: 1em 0;
  padding-left: 1.15em;
  list-style: disc;
}

.prose li { margin-bottom: 0.45em; }

.prose a {
  color: #0a7f6c;
  border-bottom: 1px solid rgba(10, 127, 108, 0.4);
}

.paper .label { color: rgba(26, 26, 34, 0.55); }

/* ---------- 11. 标签 / 数字 / 侧注 ---------- */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.label--cyan { color: var(--cyan); }
.label--orange { color: var(--orange); }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}

.data-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  transition: color 0.24s var(--ease);
}

.data-value--cyan { color: var(--cyan); }
.data-value--orange { color: var(--orange); }

.data-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-left: 6px;
}

.side-note {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.side-note--orange { color: var(--orange); }

/* ---------- 12. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.12s var(--ease), background-color 0.2s var(--ease),
              border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn:active { transform: scale(0.97); }

.btn--primary {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(53, 224, 200, 0.1);
}

.btn--primary:hover {
  background: var(--cyan);
  color: var(--ink-900);
  border-color: var(--cyan);
}

.btn--accent {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--slate);
  background: transparent;
}

.btn--ghost:hover { color: var(--white); border-color: var(--line); }

.btn--sm { padding: 8px 16px; font-size: 11px; }

/* ---------- 13. 面包屑 ---------- */
.breadcrumb { padding-block: 18px 0; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(142, 153, 198, 0.5);
}

.breadcrumb-link {
  color: var(--slate);
  transition: color 0.2s var(--ease);
}

.breadcrumb-link:hover { color: var(--cyan); }

.breadcrumb-item [aria-current="page"] {
  color: var(--paper);
  font-weight: 700;
}

/* ---------- 14. 图片容器（球场俯拍 / 热区图占位） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, #141B3C 0%, #0B1030 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 40px);
  isolation: isolate;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45) brightness(0.86) contrast(1.06);
  mix-blend-mode: luminosity;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 16, 48, 0) 40%, rgba(11, 16, 48, 0.78) 100%),
    repeating-linear-gradient(0deg, rgba(53, 224, 200, 0.07) 0 1px, transparent 1px 4px);
}

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3  { aspect-ratio: 4 / 3; }
.media-frame--1x1  { aspect-ratio: 1 / 1; }

.media-frame--bleed {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

/* ---------- 15. 标签页（轮次 / 同级内容切换） ---------- */
.tablist {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  color: var(--slate);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -11px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.tab:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }

.tab[aria-selected="true"] {
  color: var(--white);
  font-weight: 700;
  background: rgba(53, 224, 200, 0.1);
}

.tab[aria-selected="true"]::after { transform: scaleX(1); }

.tabpanel { padding-top: 22px; }

.tabpanel[hidden] { display: none; }

/* ---------- 16. 轮次时间线 ---------- */
.round-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 22px;
}

.round-rail::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(53, 224, 200, 0.6), rgba(255, 138, 61, 0.35));
}

.round-node {
  position: relative;
  color: var(--slate);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.round-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--slate);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.round-node.is-active,
.round-node:hover {
  opacity: 1;
  color: var(--white);
}

.round-node.is-active::before,
.round-node:hover::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px rgba(53, 224, 200, 0.16);
}

/* ---------- 17. 显现动效 ---------- */
html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: opacity, transform;
}

html[data-js="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.3fr 0.9fr 1.3fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }

  html { scroll-padding-top: 80px; }

  .header-shell { gap: 12px; height: var(--header-h); }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    margin-left: 0;
    padding: 14px var(--gutter) 28px;
    background: linear-gradient(180deg, rgba(20, 27, 60, 0.99), rgba(11, 16, 48, 0.99));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: transform 0.26s var(--ease), opacity 0.2s linear, visibility 0.2s linear;
  }

  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 15px 6px;
    font-size: 15px;
    letter-spacing: 0.08em;
    color: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    bottom: 12px;
    width: 22px;
  }

  .nav-link:hover { background: transparent; color: var(--cyan); }

  .nav-link[aria-current="page"] { color: var(--cyan); }
  .nav-link[aria-current="page"]::after { transform: scaleX(1); }

  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }

  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-3, .b-4, .b-5 { grid-column: span 3; }
  .b-6, .b-8 { grid-column: span 6; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .round-entry {
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .bento { grid-template-columns: 1fr; }
  .bento > *,
  .b-3, .b-4, .b-5, .b-6, .b-8, .b-12 { grid-column: span 1; }

  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
  .round-entry { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 981px) {
  .site-header[data-scrolled="true"] .header-shell { height: 56px; }
  .site-header[data-scrolled="true"] .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .site-header[data-scrolled="true"] .brand-name { font-size: 17px; }
}

/* ---------- 19. 降低动效 ---------- */
@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;
  }

  html[data-js="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-progress { transition: none; }
}
