/* ==========================================================================
   龙珠体育官网 · 共享样式 /assets/site.css
   夜景区（深墨蓝） + 资料区（暖纸） + 数据色阶（青 / 荧光绿 / 琥珀金）
   ========================================================================== */

:root {
  --ink-900: #0A1424;
  --ink-800: #14263D;
  --ink-700: #1D3450;
  --paper: #F3EBDD;
  --paper-bright: #FBF6EC;
  --orange: #FF4D1C;
  --ember: #C81E2B;
  --cyan: #2DD4E8;
  --lime: #A6FF4D;
  --amber: #FFC24B;
  --haze: #93A6BC;

  --line-dark: rgba(147, 166, 188, 0.22);
  --line-dark-soft: rgba(147, 166, 188, 0.12);
  --line-paper: rgba(10, 20, 36, 0.14);
  --line-paper-soft: rgba(10, 20, 36, 0.07);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shell: 1440px;
  --gutter: 24px;
  --header-h: 76px;

  --font-body: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-hover: 160ms;
  --dur-open: 220ms;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  background-color: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; }

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

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

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

a { color: inherit; }

p { margin: 0; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

::selection {
  background: var(--orange);
  color: #fff;
}

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 8vw, 128px); letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(28px, 3.4vw, 40px); }
h4 { font-size: clamp(20px, 2.2vw, 26px); }

strong { font-weight: 900; }

/* ---------- 焦点可见 ---------- */
:where(a, button, [tabindex], summary):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

:where(a, button, [tabindex], summary):focus:not(:focus-visible) {
  outline: none;
}

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

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}

.section--night { background-color: var(--ink-900); color: var(--paper); }
.section--ink { background-color: var(--ink-800); color: var(--paper); }
.section--paper { background-color: var(--paper); color: var(--ink-900); }
.section--bright { background-color: var(--paper-bright); color: var(--ink-900); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section--paper .eyebrow,
.section--bright .eyebrow { color: var(--ember); }

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  max-width: 60ch;
  color: rgba(243, 235, 221, 0.78);
}

.section--paper .lede,
.section--bright .lede { color: rgba(10, 20, 36, 0.74); }

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gutter);
}

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

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

/* ==========================================================================
   头部命令栏
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -80px;
  left: var(--gutter);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--paper-bright);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: top var(--dur-hover) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(10, 20, 36, 0.96);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background-image: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--ember) 30%,
    var(--amber) 52%,
    var(--cyan) 76%,
    var(--lime) 100%
  );
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  transition: min-height var(--dur-open) var(--ease);
}

.site-header[data-condensed="true"] .header-inner {
  min-height: 60px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-image: radial-gradient(circle at 32% 28%, var(--amber) 0%, var(--orange) 46%, var(--ember) 100%);
  box-shadow: 0 0 0 2px rgba(255, 77, 28, 0.26), 0 6px 18px rgba(255, 77, 28, 0.3);
  transition: transform var(--dur-open) var(--ease), box-shadow var(--dur-open) var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background-color: var(--paper-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(10, 20, 36, 0.22);
}

.brand:hover .brand-mark {
  transform: rotate(-10deg) scale(1.06);
  box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.34), 0 10px 24px rgba(255, 77, 28, 0.42);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

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

.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--haze);
}

/* 导航 */
.nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: rgba(243, 235, 221, 0.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-hover) var(--ease), background-color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--haze);
  transition: color var(--dur-hover) var(--ease);
}

.nav-link:hover {
  color: var(--paper-bright);
  background-color: rgba(45, 212, 232, 0.1);
}

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

.nav-link[aria-current="page"] {
  color: #ffffff;
  background-color: rgba(255, 77, 28, 0.16);
  box-shadow: inset 0 -2px 0 0 var(--orange);
}

.nav-link[aria-current="page"] .nav-index { color: var(--amber); }

.nav-foot {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

/* 状态胶囊与工具栏 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(166, 255, 77, 0.34);
  border-radius: var(--radius-pill);
  background-color: rgba(166, 255, 77, 0.09);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(166, 255, 77, 0.18);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(243, 235, 221, 0.26);
  border-radius: 16px;
  background-color: rgba(20, 38, 61, 0.9);
  color: var(--paper);
  cursor: pointer;
  transition: border-color var(--dur-hover) var(--ease), background-color var(--dur-hover) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan);
  background-color: rgba(45, 212, 232, 0.12);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform var(--dur-open) var(--ease), opacity var(--dur-hover) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--orange), var(--amber) 50%, var(--cyan));
  pointer-events: none;
}

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease),
    color var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--ember);
  border-color: var(--ember);
  color: #ffffff;
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(243, 235, 221, 0.3);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  background-color: rgba(45, 212, 232, 0.1);
  color: var(--cyan);
}

.btn--ink {
  background-color: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper);
}

.btn--ink:hover {
  background-color: var(--ember);
  border-color: var(--ember);
  color: #ffffff;
}

.btn--sm { padding: 9px 17px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ==========================================================================
   标签 / 数据 / 时间码
   ========================================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  background-color: rgba(147, 166, 188, 0.08);
  color: var(--haze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.tag--orange { color: var(--orange); border-color: rgba(255, 77, 28, 0.42); background-color: rgba(255, 77, 28, 0.1); }
.tag--cyan { color: var(--cyan); border-color: rgba(45, 212, 232, 0.42); background-color: rgba(45, 212, 232, 0.1); }
.tag--lime { color: var(--lime); border-color: rgba(166, 255, 77, 0.42); background-color: rgba(166, 255, 77, 0.1); }
.tag--amber { color: var(--amber); border-color: rgba(255, 194, 75, 0.42); background-color: rgba(255, 194, 75, 0.1); }

.section--paper .tag,
.section--bright .tag {
  border-color: var(--line-paper);
  background-color: rgba(10, 20, 36, 0.05);
  color: #3C5069;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper-bright);
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--haze);
}

.section--paper .stat-value,
.section--bright .stat-value { color: var(--ink-900); }

.section--paper .stat-label,
.section--bright .stat-label { color: #5C6E85; }

.data-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vw, 34px) clamp(20px, 3vw, 36px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background-image: linear-gradient(120deg, rgba(255, 77, 28, 0.16), rgba(45, 212, 232, 0.12) 70%, rgba(166, 255, 77, 0.08));
}

.timecode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background-color: rgba(10, 20, 36, 0.76);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ==========================================================================
   媒体容器（页面阶段放置图片）
   ========================================================================== */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  isolation: isolate;
  background-color: var(--ink-800);
  background-image:
    linear-gradient(rgba(147, 166, 188, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 166, 188, 0.1) 1px, transparent 1px),
    linear-gradient(140deg, rgba(255, 77, 28, 0.22), rgba(10, 20, 36, 0.92) 62%);
  background-size: 24px 24px, 24px 24px, cover;
  background-position: 0 0, 0 0, center;
}

.media > img,
.media > video,
.media > picture > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(155deg, rgba(255, 77, 28, 0.5), rgba(10, 20, 36, 0.85) 64%);
  pointer-events: none;
}

.media--clip {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
}

.media-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
}

.media-caption {
  margin-top: 10px;
  color: var(--haze);
  font-size: 13px;
  line-height: 1.7;
}

.section--paper .media-caption,
.section--bright .media-caption { color: #5C6E85; }

/* ==========================================================================
   面包屑 / 长文 / 索引轨 / 下划线链接
   ========================================================================== */

.breadcrumb { padding-block: 18px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(147, 166, 188, 0.45);
}

.breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease);
}

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

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

.section--paper .breadcrumb-item,
.section--bright .breadcrumb-item { color: #5C6E85; }

.section--paper .breadcrumb-item[aria-current="page"],
.section--bright .breadcrumb-item[aria-current="page"] { color: var(--ink-900); }

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(24px, 3vw, 32px);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(19px, 2.2vw, 24px);
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  list-style: disc;
}

.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

.prose blockquote {
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

.prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--ember); }

.index-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.index-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  color: var(--haze);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease), background-color var(--dur-hover) var(--ease),
    border-color var(--dur-hover) var(--ease);
}

.index-link::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.45;
  transition: opacity var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease);
}

.index-link:hover {
  color: var(--paper-bright);
  background-color: rgba(45, 212, 232, 0.08);
}

.index-link.is-active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background-color: rgba(45, 212, 232, 0.1);
}

.index-link.is-active::before {
  opacity: 1;
  background-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(166, 255, 77, 0.18);
}

.section--paper .index-link,
.section--bright .index-link { color: #5C6E85; }

.section--paper .index-link:hover,
.section--bright .index-link:hover {
  color: var(--ink-900);
  background-color: rgba(10, 20, 36, 0.06);
}

.section--paper .index-link.is-active,
.section--bright .index-link.is-active {
  color: #0B6E7C;
  border-left-color: #0B6E7C;
  background-color: rgba(45, 212, 232, 0.16);
}

.link-underline {
  color: inherit;
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 200ms var(--ease), color var(--dur-hover) var(--ease);
}

.link-underline:hover { background-size: 100% 1px; }

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--ink-900);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background-image: linear-gradient(90deg, var(--cyan), var(--orange) 38%, var(--ember) 66%, var(--amber));
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(255, 77, 28, 0.22), rgba(255, 77, 28, 0) 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(32px, 4vw, 56px);
}

.footer-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-tagline {
  max-width: 30ch;
  color: rgba(243, 235, 221, 0.74);
  font-size: 15px;
  line-height: 1.85;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  display: inline-block;
  padding-bottom: 2px;
  color: rgba(243, 235, 221, 0.72);
  font-size: 15px;
  line-height: 1.7;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color var(--dur-hover) var(--ease), background-size 200ms var(--ease);
}

.footer-list a:hover {
  color: var(--paper-bright);
  background-size: 100% 1px;
}

.footer-contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 32px;
  padding-block: 26px;
  border-top: 1px solid var(--line-dark);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
  line-height: 1.5;
}

.footer-value {
  color: rgba(243, 235, 221, 0.86);
  font-size: 14.5px;
  line-height: 1.75;
  word-break: break-word;
}

.footer-note {
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
  color: rgba(147, 166, 188, 0.85);
  font-size: 13px;
  line-height: 1.8;
  max-width: calc(var(--shell) - 480px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--haze);
  font-size: 13px;
}

.footer-copy { line-height: 1.7; }

.footer-icp {
  padding: 4px 11px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  color: rgba(243, 235, 221, 0.66);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .header-tools .status-chip { display: none; }
}

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-note { max-width: none; }
}

@media (max-width: 900px) {
  .header-tools { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 95;
    display: block;
    flex: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 16px var(--gutter) 28px;
    background-color: var(--ink-900);
    border-bottom: 2px solid rgba(255, 77, 28, 0.4);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform var(--dur-open) var(--ease), visibility 200ms;
  }

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

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

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 17px;
    color: rgba(243, 235, 221, 0.86);
  }

  .nav-index { font-size: 11px; }

  .nav-link[aria-current="page"] {
    box-shadow: inset 0 0 0 1px rgba(255, 77, 28, 0.55);
    background-color: rgba(255, 77, 28, 0.18);
  }

  .nav-foot { display: flex; }

  .site-header[data-condensed="true"] .header-inner { min-height: var(--header-h); }

  body.nav-open { overflow: hidden; }

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

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

  body { font-size: 16px; line-height: 1.9; }

  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.18em; }

  .grid-12 { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: 1 / -1; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { justify-content: flex-start; }
  .media--clip { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%); }
}

/* ==========================================================================
   动效可关闭
   ========================================================================== */

@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;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .brand:hover .brand-mark { transform: none; }
}
