/* =========================================================
   龙8开服 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================= */

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

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

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

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

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

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

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

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

:focus-visible {
  outline: 2px solid #45D8E6;
  outline-offset: 3px;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩体系 */
  --ink: #0A0B0F;
  --cab: #141821;
  --steel: #29303D;
  --amber: #FF8A1F;
  --gold: #FFC46B;
  --cyan: #45D8E6;
  --red: #8E2230;
  --red-soft: #F0A8B2;
  --white: #F2F5F9;
  --mist: #98A2B3;
  --mist-dim: #707C8E;
  --amber-deep: #2A1A0C;

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 度量 */
  --container: 1240px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --panel-gap: clamp(18px, 2.6vw, 34px);
  --line: 1px solid var(--steel);
}

/* ---------- 3. 页面基底与网格纹理 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(15.5px, 0.5vw + 14px, 17px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(41, 48, 61, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 48, 61, 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 76%);
}

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

.l8-main {
  position: relative;
  z-index: 1;
  display: block;
}

.l8-section { padding-block: clamp(48px, 7vw, 104px); }
.l8-section--tight { padding-block: clamp(26px, 4vw, 52px); }

.l8-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

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

.l8-divider {
  height: 1px;
  border: 0;
  margin-block: clamp(22px, 3vw, 40px);
  background: linear-gradient(90deg, var(--steel), transparent 88%);
}

/* ---------- 5. 中文排版层级 ---------- */
.l8-display,
.l8-h1,
.l8-h2,
.l8-h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.l8-display {
  font-size: clamp(40px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.l8-h1 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.1; }
.l8-h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; }
.l8-h3 { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.35; }

.l8-lead {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.8;
  color: var(--mist);
}

.l8-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist-dim);
}

.l8-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.l8-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.l8-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.l8-sidenote {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  color: var(--mist-dim);
  text-transform: uppercase;
}

.l8-sidenote--accent { color: var(--amber); }

.l8-link {
  color: var(--cyan);
  border-bottom: 1px solid rgba(69, 216, 230, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.l8-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--amber);
  color: #0A0B0F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: top 0.2s ease;
}

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

/* ---------- 7. 顶部滚动进度 ---------- */
.l8-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  transition: transform 0.12s linear;
}

/* ---------- 8. 头部 ---------- */
.l8-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 11, 15, 0.94);
  border-bottom: 1px solid var(--steel);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}

/* 上层：品牌 + 实时状态 */
.l8-header__top {
  background: linear-gradient(90deg, #0A0B0F 0%, #141821 52%, #0A0B0F 100%);
  border-bottom: 1px solid var(--steel);
}

.l8-header__topinner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  padding-block: 7px;
}

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

.l8-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--amber);
  background: linear-gradient(150deg, var(--amber-deep), rgba(255, 138, 31, 0.22));
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 12px rgba(255, 138, 31, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.l8-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.l8-brand__name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
}

.l8-brand__sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* 状态播报 */
.l8-ticker {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 560px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.l8-ticker__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: l8-pulse 2.6s ease-out infinite;
}

@keyframes l8-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(69, 216, 230, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(69, 216, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 216, 230, 0); }
}

.l8-ticker__label {
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.l8-ticker__window {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.l8-ticker__track {
  display: inline-flex;
  gap: 38px;
  padding-left: 100%;
  white-space: nowrap;
  animation: l8-marquee 26s linear infinite;
}

@keyframes l8-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* 下层：栏目导航 */
.l8-header__bar { background: var(--ink); }

.l8-header__barinner {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
}

.l8-nav {
  display: flex;
  align-items: stretch;
  margin-right: auto;
  min-width: 0;
}

.l8-nav__list {
  display: flex;
  align-items: stretch;
}

.l8-nav__item { display: flex; }

.l8-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px 0 24px;
  border-bottom: 2px solid transparent;
  color: var(--mist);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.l8-nav__link::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  background: var(--amber);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.l8-nav__link:hover {
  color: var(--white);
  background: rgba(41, 48, 61, 0.42);
}

.l8-nav__link:focus-visible { outline-offset: -3px; }

.l8-nav__link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--amber);
  background: linear-gradient(180deg, rgba(255, 138, 31, 0) 0%, rgba(255, 138, 31, 0.14) 100%);
}

.l8-nav__link[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}

.l8-header__cta {
  flex: 0 0 auto;
  align-self: center;
  margin-block: 7px;
  padding: 9px 18px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

/* 移动端开关 */
.l8-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  align-self: center;
  flex: 0 0 auto;
  margin-block: 8px;
  padding: 9px 14px;
  border: 1px solid var(--steel);
  background: var(--cab);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

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

.l8-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.l8-nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.l8-header[data-open] .l8-nav-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.l8-header[data-open] .l8-nav-toggle__icon span:nth-child(2) { opacity: 0; }
.l8-header[data-open] .l8-nav-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.l8-header[data-open] .l8-nav-toggle {
  border-color: var(--amber);
  color: var(--amber);
}

/* ---------- 9. 通用组件 ---------- */
/* 面板：档案夹 / 资料卡 */
.l8-panel {
  position: relative;
  background: var(--cab);
  border: 1px solid var(--steel);
  padding: clamp(20px, 2.6vw, 34px);
}

.l8-panel--stack {
  box-shadow:
    8px 8px 0 -1px rgba(20, 24, 33, 0.9),
    16px 16px 0 -2px rgba(41, 48, 61, 0.38);
}

.l8-panel--flat { background: rgba(20, 24, 33, 0.55); }

.l8-panel--accent {
  border-color: rgba(255, 138, 31, 0.45);
  background: linear-gradient(165deg, rgba(255, 138, 31, 0.12), var(--cab) 60%);
}

.l8-panel--alert {
  border-color: rgba(142, 34, 48, 0.7);
  background: linear-gradient(160deg, rgba(142, 34, 48, 0.18), var(--cab) 66%);
}

.l8-panel__tag {
  position: absolute;
  top: 0;
  left: clamp(16px, 2.4vw, 30px);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--ink);
  border: 1px solid var(--steel);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.l8-panel__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 28px 28px;
  border-color: transparent transparent var(--steel) transparent;
  pointer-events: none;
}

/* 状态标签 */
.l8-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--steel);
  background: rgba(41, 48, 61, 0.32);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.l8-tag::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.l8-tag--live {
  color: var(--amber);
  border-color: rgba(255, 138, 31, 0.45);
  background: var(--amber-deep);
}

.l8-tag--soon {
  color: var(--cyan);
  border-color: rgba(69, 216, 230, 0.4);
  background: rgba(69, 216, 230, 0.08);
}

.l8-tag--warn {
  color: var(--red-soft);
  border-color: rgba(142, 34, 48, 0.85);
  background: rgba(142, 34, 48, 0.22);
}

/* 按钮 */
.l8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--steel);
  background: var(--cab);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease,
              box-shadow 0.22s ease, background-color 0.22s ease;
}

.l8-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.l8-btn--primary {
  border-color: transparent;
  background: linear-gradient(100deg, var(--amber), var(--gold));
  color: #0A0B0F;
  box-shadow: 0 10px 26px -14px rgba(255, 138, 31, 0.95);
}

.l8-btn--primary:hover {
  color: #0A0B0F;
  border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(255, 138, 31, 1);
}

.l8-btn--ghost {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(69, 216, 230, 0.4);
}

.l8-btn--ghost:hover {
  color: var(--cyan);
  background: rgba(69, 216, 230, 0.1);
}

.l8-btn__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* 面包屑 */
.l8-breadcrumb { padding-block: 16px; }

.l8-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.l8-breadcrumb__list li { display: flex; align-items: center; }

.l8-breadcrumb__list li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--steel);
}

.l8-breadcrumb__list a:hover { color: var(--cyan); }

.l8-breadcrumb__list [aria-current="page"] { color: var(--white); }

/* 图片容器（页面阶段放图使用） */
.l8-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--steel);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(69, 216, 230, 0.12), transparent 60%),
    linear-gradient(155deg, #0d1018 0%, #161c28 52%, #0A0B0F 100%);
}

.l8-media--wide { aspect-ratio: 21 / 9; }
.l8-media--tall { aspect-ratio: 4 / 5; }
.l8-media--square { aspect-ratio: 1 / 1; }

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

.l8-media__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(69, 216, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 216, 230, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 65% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 65% 40%, #000 0%, transparent 78%);
}

.l8-media__glow {
  position: absolute;
  z-index: 0;
  left: 12%;
  bottom: -16%;
  width: 56%;
  height: 56%;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.34), transparent 68%);
  filter: blur(18px);
}

.l8-media__scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.l8-media__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  padding: 7px 14px;
  background: rgba(10, 11, 15, 0.86);
  border-top: 1px solid var(--steel);
  border-right: 1px solid var(--steel);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.l8-media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist-dim);
}

/* 主题筛选 */
.l8-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.l8-filter {
  padding: 7px 14px;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.l8-filter:hover {
  border-color: var(--cyan);
  color: var(--white);
}

.l8-filter[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: #0A0B0F;
}

.l8-filter__count {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.7;
}

.l8-filter-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist-dim);
}

[data-filter-item][hidden] { display: none !important; }

/* 复制按钮 */
.l8-copy {
  flex: 0 0 auto;
  padding: 2px 9px;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.l8-copy:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.l8-copy[data-copied="true"] {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-deep);
}

/* 入场渐显（仅在 JS 可用时隐藏初始状态） */
.l8-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.l8-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.l8-js [data-reveal-delay="1"] { transition-delay: 0.06s; }
.l8-js [data-reveal-delay="2"] { transition-delay: 0.12s; }
.l8-js [data-reveal-delay="3"] { transition-delay: 0.18s; }

/* ---------- 10. 页脚 ---------- */
.l8-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--steel);
  background: linear-gradient(180deg, #0A0B0F 0%, #0d1017 44%, #0A0B0F 100%);
}

.l8-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--gold) 22%, transparent 62%);
  opacity: 0.75;
}

.l8-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(22px, 3vw, 48px);
  padding-block: clamp(40px, 5vw, 64px);
}

.l8-footer__brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
}

.l8-footer__domain {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.l8-footer__desc {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

.l8-footer__title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
}

.l8-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.l8-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.l8-footer__link {
  display: inline-block;
  font-size: 14px;
  color: var(--mist);
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.l8-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(41, 48, 61, 0.75);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mist);
  word-break: break-all;
}

.l8-footer__key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
}

.l8-footer__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist-dim);
}

.l8-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--steel);
}

.l8-footer__closing {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.l8-footer__closing::before {
  content: "// ";
  font-family: var(--font-mono);
  color: var(--amber);
}

.l8-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist-dim);
}

.l8-footer__icp {
  padding: 3px 10px;
  border: 1px solid var(--steel);
  color: var(--mist);
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1040px) {
  .l8-col-3, .l8-col-4, .l8-col-5 { grid-column: span 6; }
  .l8-col-7, .l8-col-8 { grid-column: span 12; }
  .l8-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .l8-header__topinner { min-height: 48px; gap: 12px; }
  .l8-brand__sub { display: none; }
  .l8-brand__mark { width: 34px; height: 34px; font-size: 14px; }
  .l8-brand__name { font-size: 16px; }
  .l8-ticker { max-width: none; flex: 1 1 auto; }
  .l8-ticker__label { display: none; }
  .l8-header__cta { display: none; }
  .l8-nav-toggle { display: inline-flex; }

  .l8-nav {
    position: absolute;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    top: 100%;
    display: block;
    margin-right: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--ink);
    border-bottom: 1px solid var(--steel);
    box-shadow: 0 18px 32px -22px rgba(0, 0, 0, 0.95);
    transition: max-height 0.32s ease;
  }

  .l8-header[data-open] .l8-nav { max-height: 540px; }

  .l8-nav__list {
    display: block;
    padding: 6px 0;
  }

  .l8-nav__item { display: block; }

  .l8-nav__link {
    padding: 15px 18px 15px 26px;
    border-bottom: 1px solid var(--steel);
    border-left: 3px solid transparent;
    font-size: 16px;
  }

  .l8-nav__link::before { left: 12px; }

  .l8-nav__link[aria-current="page"] {
    border-bottom-color: var(--steel);
    border-left-color: var(--amber);
    background: linear-gradient(90deg, rgba(255, 138, 31, 0.16), rgba(255, 138, 31, 0) 72%);
  }
}

@media (max-width: 640px) {
  .l8-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .l8-col-3, .l8-col-4, .l8-col-5,
  .l8-col-6, .l8-col-7, .l8-col-8 { grid-column: span 6; }

  .l8-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .l8-footer__base { justify-content: flex-start; }
  .l8-panel--stack { box-shadow: 5px 5px 0 -1px rgba(20, 24, 33, 0.9), 10px 10px 0 -2px rgba(41, 48, 61, 0.35); }
  .l8-media--wide { aspect-ratio: 16 / 9; }
}

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

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

  .l8-ticker__dot { animation: none; }

  .l8-ticker__window {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .l8-ticker__track {
    padding-left: 0;
    animation: none;
    transform: none;
  }

  .l8-progress { transition: none; }
}
