/* ==========================================================
   TVT赛场 · 共享样式 /assets/site.css
   夜战墨黑 + 深球场绿底 · 信号橙行动 · 电光青状态 · 暖金权益
   ========================================================== */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

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

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

/* ---------- 2. 设计变量 ---------- */
:root {
  --ink: #0B0F0D;
  --pitch: #10261C;
  --moss: #2F4A38;
  --stone: #7C857F;
  --bone: #F3EEE4;
  --clay: #B2563A;
  --signal: #FF6A1A;
  --electric: #22DFD2;
  --gold: #E3B75B;
  --line: #1B2E23;

  --shell-max: 1180px;
  --shell-wide: 1360px;
  --header-h: 72px;
  --header-h-slim: 56px;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --dur: 0.2s;
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 84% -12%, rgba(34, 223, 210, 0.07), transparent 62%),
    radial-gradient(900px 520px at 6% 6%, rgba(47, 74, 56, 0.42), transparent 64%);
  background-repeat: no-repeat;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  letter-spacing: -0.01em;
  line-height: 1.16;
  color: var(--bone);
}

h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 0.98; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { max-width: 70ch; }

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

main { display: block; }

#main-content { scroll-margin-top: calc(var(--header-h) + 12px); }

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

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 22px;
}

.shell-wide {
  width: 100%;
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 22px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

.lead {
  font-size: 1.06rem;
  color: rgba(243, 238, 228, 0.8);
  max-width: 66ch;
}

.rule {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.stack { display: grid; gap: 14px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: start;
}

.split-8-4 {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 28px;
  align-items: start;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--signal);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform 0.18s var(--ease);
}

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

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn-signal {
  background: var(--signal);
  color: var(--ink);
}
.btn-signal:hover { background: #ff8340; transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line);
  background: rgba(47, 74, 56, 0.32);
  color: var(--bone);
}
.btn-ghost:hover { border-color: var(--electric); color: var(--electric); }

.btn-gold {
  border-color: rgba(227, 183, 91, 0.55);
  background: rgba(227, 183, 91, 0.08);
  color: var(--gold);
}
.btn-gold:hover { background: rgba(227, 183, 91, 0.16); }

.btn-block { width: 100%; }

/* ---------- 6. 页头与命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(11, 15, 13, 0.97), rgba(11, 15, 13, 0.86));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: var(--shell-wide);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 22px;
  transition: min-height var(--dur) var(--ease);
}

.site-header[data-scrolled] .header-shell { min-height: var(--header-h-slim); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 6px 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 12px 4px 12px 4px;
  transition: transform var(--dur) var(--ease), border-radius var(--dur) var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
  border-radius: 4px 12px 4px 12px;
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--bone);
}

.brand-signature {
  font-family: var(--font-num);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

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

.nav-list > li {
  display: block;
  counter-increment: nav-index;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(243, 238, 228, 0.76);
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.nav-link::before {
  content: counter(nav-index, decimal-leading-zero);
  font-family: var(--font-num);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  transition: color var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--bone);
  box-shadow: inset 0 -2px 0 0 var(--electric);
}

.nav-link:hover::before { color: var(--electric); }

.nav-link[aria-current="page"] {
  background: var(--signal);
  color: var(--ink);
}

.nav-link[aria-current="page"]::before { color: rgba(11, 15, 13, 0.62); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bone);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--electric); color: var(--electric); }

.nav-toggle-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color var(--dur) var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.scroll-meter {
  width: 100%;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.scroll-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--electric), var(--signal));
  transition: width 0.1s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0B0F0D 0%, #0D1A14 58%, #0B0F0D 100%);
  border-top: 1px solid var(--line);
  color: rgba(243, 238, 228, 0.82);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--signal), transparent);
  opacity: 0.6;
}

.footer-shell {
  display: grid;
  gap: 34px;
  width: 100%;
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 56px 22px 30px;
}

.footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--electric);
  border-radius: 4px 12px 4px 12px;
  color: var(--electric);
  font-family: var(--font-num);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

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

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  font-size: 1.06rem;
  color: var(--bone);
}

.footer-signature {
  font-family: var(--font-num);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.footer-lede {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.01em;
  color: var(--bone);
}

.footer-cta { justify-self: end; }

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

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

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links { display: grid; gap: 9px; }

.footer-link {
  position: relative;
  display: inline-block;
  font-size: 0.92rem;
  color: rgba(243, 238, 228, 0.76);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--electric);
  transform: translateY(-50%);
  transition: width var(--dur) var(--ease);
}

.footer-link:hover { color: var(--electric); padding-left: 16px; }
.footer-link:hover::before { width: 10px; }

.footer-contact {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(16, 38, 28, 0.5);
}

.contact-label {
  flex: 0 0 100%;
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.contact-value {
  font-size: 0.9rem;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.copy-chip {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--stone);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.copy-chip:hover { color: var(--electric); border-color: var(--electric); }
.copy-chip[data-copied] { color: var(--gold); border-color: var(--gold); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-note {
  max-width: 62ch;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--stone);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.78rem;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.footer-copy,
.footer-icp { white-space: nowrap; }

.footer-icp { color: rgba(227, 183, 91, 0.82); }

/* ---------- 8. 通用组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:first-child)::before {
  content: "/";
  color: var(--moss);
}

.breadcrumb a { color: var(--stone); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--electric); }
.breadcrumb [aria-current="page"] { color: var(--bone); }

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(16, 38, 28, 0.94), rgba(11, 15, 13, 0.94));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 38, 28, 0.72);
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--electric), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.card:hover { border-color: var(--moss); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }

.card-title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.card-text {
  font-size: 0.92rem;
  color: rgba(243, 238, 228, 0.72);
}

.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(243, 238, 228, 0.72);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.chip:hover { color: var(--bone); border-color: var(--moss); }

.chip[aria-pressed="true"],
.chip[data-active] {
  background: var(--moss);
  border-color: var(--electric);
  color: var(--bone);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(178, 86, 58, 0.5);
  border-radius: 4px;
  background: rgba(178, 86, 58, 0.2);
  color: #E8A48C;
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.tag-gold {
  background: rgba(227, 183, 91, 0.14);
  border-color: rgba(227, 183, 91, 0.42);
  color: var(--gold);
}

.tag-mint {
  background: rgba(34, 223, 210, 0.12);
  border-color: rgba(34, 223, 210, 0.38);
  color: var(--electric);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(34, 223, 210, 0.16);
}

.status-dot.is-live {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.18);
  animation: tvt-pulse 1.8s ease-in-out infinite;
}

.status-dot.is-idle { background: var(--stone); box-shadow: none; }

@keyframes tvt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

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

.stat-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: var(--bone);
}

.stat-label {
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.stat-gold .stat-value { color: var(--gold); }
.stat-signal .stat-value { color: var(--signal); }

.timeline {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}

.timeline-row:hover { background: rgba(47, 74, 56, 0.28); }

.timeline-time {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--electric);
}

.timeline-main { font-size: 0.98rem; color: var(--bone); }

.timeline-meta {
  font-family: var(--font-num);
  font-size: 0.76rem;
  color: var(--stone);
}

.accordion { display: grid; gap: 10px; }

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 38, 28, 0.55);
  transition: border-color var(--dur) var(--ease);
}

.accordion-item:hover { border-color: var(--moss); }

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: 1.02rem;
  color: var(--bone);
  transition: color var(--dur) var(--ease);
}

.accordion-trigger::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2px solid var(--electric);
  border-bottom: 2px solid var(--electric);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}

.accordion-trigger[aria-expanded="true"] { color: var(--electric); }
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }

.accordion-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.22s var(--ease);
}

.accordion-panel[hidden] { display: none; }

.accordion-panel > * { padding: 0 18px; }
.accordion-panel > *:last-child { padding-bottom: 18px; }

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(47, 74, 56, 0.95), rgba(11, 15, 13, 0.98)),
    var(--pitch);
  isolation: isolate;
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  filter: saturate(0.92) brightness(0.82) contrast(1.05);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34, 223, 210, 0.16), transparent 52%),
    linear-gradient(0deg, rgba(11, 15, 13, 0.72), transparent 58%);
}

.media-frame.is-portrait > img,
.media-frame.is-portrait > picture > img { aspect-ratio: 3 / 4; }

.media-frame.is-square > img,
.media-frame.is-square > picture > img { aspect-ratio: 1 / 1; }

.media-frame.is-wide > img,
.media-frame.is-wide > picture > img { aspect-ratio: 21 / 9; }

.media-frame.is-empty::before {
  content: attr(data-placeholder);
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-family: var(--font-num);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: rgba(243, 238, 228, 0.42);
}

.media-caption {
  padding: 10px 2px 0;
  font-family: var(--font-num);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--stone);
}

/* ---------- 9. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

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

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(180deg, #0C1210, #0B0F0D);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 40px -28px rgba(0, 0, 0, 0.9);
    transition: max-height 0.26s var(--ease),
                opacity 0.2s ease,
                visibility 0.2s ease,
                padding 0.2s ease;
  }

  .primary-nav[data-open] {
    max-height: min(78vh, 640px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding-top: 10px;
    padding-bottom: 18px;
  }

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

  .nav-list > li { border-bottom: 1px solid rgba(27, 46, 35, 0.7); }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 14px 4px;
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-link:hover { box-shadow: none; }

  .nav-link[aria-current="page"] {
    background: rgba(255, 106, 26, 0.16);
    color: var(--signal);
    box-shadow: inset 3px 0 0 0 var(--signal);
  }

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

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 16px;
  }

  .nav-actions .btn,
  .nav-actions .btn-ghost { display: inline-flex; width: 100%; }
}

@media (max-width: 980px) {
  .split,
  .split-8-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .footer-lead {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }
  .footer-cta { justify-self: start; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .timeline-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .shell,
  .shell-wide,
  .header-shell { padding-left: 16px; padding-right: 16px; }

  .section { padding: 46px 0; }
  .section-tight { padding: 32px 0; }

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

  .footer-shell { padding: 40px 16px 24px; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; gap: 6px; }
}

@media (max-width: 560px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-signature { display: none; }
  .contact-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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