/* ============================================================
   亿动赛场 · 共享站点样式 /assets/site.css
   夜场数据竞技场：深空底 + 信号青灯带 + 开球橙红闪点
   ============================================================ */

:root {
  --yd-deep: #050B1A;
  --yd-panel: #0C1830;
  --yd-panel-2: #101E3A;
  --yd-line: #1E3358;
  --yd-cyan: #6FE3FF;
  --yd-flare: #FF4B2B;
  --yd-violet: #A78BFA;
  --yd-mint: #6EE7B7;
  --yd-amber: #FFC145;
  --yd-paper: #F2F7FF;
  --yd-mist: #8FA6C8;

  --yd-font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --yd-font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono",
    "SFMono-Regular", Menlo, Consolas, monospace;

  --yd-shell: 1280px;
  --yd-gutter: clamp(16px, 4vw, 56px);
  --yd-radius: 22px;
  --yd-radius-lg: 30px;
  --yd-ease: cubic-bezier(.22, .8, .28, 1);
  --yd-slant: -2.5deg;
  --yd-header-h: 78px;
}

/* ---------- 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; }

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

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

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

[hidden] { display: none !important; }

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--yd-deep);
  background-image:
    radial-gradient(1200px 620px at 84% -10%, rgba(111, 227, 255, .11), transparent 62%),
    radial-gradient(900px 520px at 4% 2%, rgba(167, 139, 250, .10), transparent 60%),
    radial-gradient(760px 460px at 50% 108%, rgba(255, 75, 43, .07), transparent 66%);
  background-repeat: no-repeat;
  color: var(--yd-paper);
  font-family: var(--yd-font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { font-size: 16.5px; line-height: 1.75; }
p + p { margin-top: 1.2em; }

strong, b { font-weight: 700; }

::selection {
  background: rgba(111, 227, 255, .28);
  color: var(--yd-paper);
}

:focus-visible {
  outline: 2px solid var(--yd-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.yd-main { padding-block: clamp(24px, 4vw, 48px) 0; }

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

.yd-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}

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

.yd-grid > * { grid-column: 1 / -1; }

.yd-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--yd-line), rgba(30, 51, 88, .05));
}

.yd-hatch {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(111, 227, 255, .075) 0 1px,
    transparent 1px 9px
  );
}

/* ---------- 标题与文字 ---------- */
.yd-display {
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  transform: skewX(var(--yd-slant));
  transform-origin: left bottom;
  padding-block: .02em;
}

.yd-display em {
  font-style: normal;
  color: var(--yd-cyan);
}

.yd-h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.005em;
}

.yd-h3 {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}

.yd-lede {
  font-size: clamp(16px, 1.4vw, 17.5px);
  line-height: 1.8;
  color: rgba(242, 247, 255, .86);
  max-width: 38em;
}

.yd-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--yd-mist);
}

.yd-label {
  display: inline-block;
  font-family: var(--yd-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--yd-mist);
}

.yd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--yd-cyan);
}

.yd-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--yd-cyan);
  box-shadow: 0 0 10px rgba(111, 227, 255, .8);
}

.yd-rail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--yd-mist);
}

.yd-num {
  font-family: var(--yd-font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: .01em;
}

.yd-num--lg { font-size: 1.6em; }

.yd-list {
  display: grid;
  gap: 10px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(242, 247, 255, .88);
}

.yd-list li {
  position: relative;
  padding-left: 20px;
}

.yd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--yd-cyan);
  transform: rotate(45deg);
}

.yd-visually-hidden {
  position: absolute;
  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;
}

/* ---------- 按钮 ---------- */
.yd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--yd-font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .28s var(--yd-ease),
    color .28s var(--yd-ease),
    border-color .28s var(--yd-ease),
    box-shadow .28s var(--yd-ease),
    transform .28s var(--yd-ease);
}

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

.yd-btn--flare {
  background: var(--yd-flare);
  color: #12040A;
  box-shadow: 0 10px 30px -14px rgba(255, 75, 43, .9);
}

.yd-btn--flare:hover {
  background: #FF6448;
  box-shadow: 0 16px 38px -14px rgba(255, 75, 43, .95);
}

.yd-btn--cyan {
  background: var(--yd-cyan);
  color: #04121A;
  box-shadow: 0 10px 30px -14px rgba(111, 227, 255, .9);
}

.yd-btn--cyan:hover { background: #93ECFF; }

.yd-btn--ghost {
  background: rgba(12, 24, 48, .55);
  color: var(--yd-paper);
  border-color: var(--yd-line);
}

.yd-btn--ghost:hover {
  border-color: var(--yd-cyan);
  color: var(--yd-cyan);
  box-shadow: 0 0 0 1px rgba(111, 227, 255, .35),
    0 14px 34px -18px rgba(111, 227, 255, .8);
}

.yd-btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.yd-btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 标签与状态 ---------- */
.yd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111, 227, 255, .3);
  background: rgba(111, 227, 255, .12);
  color: var(--yd-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  white-space: nowrap;
}

.yd-tag--flare {
  border-color: rgba(255, 75, 43, .42);
  background: rgba(255, 75, 43, .14);
  color: var(--yd-flare);
}

.yd-tag--violet {
  border-color: rgba(167, 139, 250, .42);
  background: rgba(167, 139, 250, .14);
  color: var(--yd-violet);
}

.yd-tag--mint {
  border-color: rgba(110, 231, 183, .42);
  background: rgba(110, 231, 183, .14);
  color: var(--yd-mint);
}

.yd-tag--amber {
  border-color: rgba(255, 193, 69, .45);
  background: rgba(255, 193, 69, .14);
  color: var(--yd-amber);
}

.yd-tag--mist {
  border-color: rgba(143, 166, 200, .35);
  background: rgba(143, 166, 200, .12);
  color: var(--yd-mist);
}

.yd-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yd-flare);
  animation: yd-pulse 2s var(--yd-ease) infinite;
}

@keyframes yd-pulse {
  0%, 100% { opacity: .55; box-shadow: 0 0 0 0 rgba(255, 75, 43, .55); }
  50% { opacity: 1; box-shadow: 0 0 0 7px rgba(255, 75, 43, 0); }
}

/* ---------- 卡片与图片容器 ---------- */
.yd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(30, 51, 88, .55);
  border-radius: var(--yd-radius);
  background: linear-gradient(180deg, rgba(16, 30, 58, .92), rgba(10, 20, 40, .94));
  transition: transform .35s var(--yd-ease),
    box-shadow .35s var(--yd-ease),
    border-color .35s var(--yd-ease);
}

.yd-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 227, 255, .45);
  box-shadow: 0 22px 54px -26px rgba(111, 227, 255, .6);
}

.yd-figure {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--yd-radius);
  border: 1px solid rgba(30, 51, 88, .7);
  background: linear-gradient(150deg, #0C1830, #0A1428 58%, #111D3A);
}

.yd-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(111, 227, 255, .08) 0 1px,
    transparent 1px 10px
  );
}

.yd-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.06);
}

.yd-figure--16x9 { aspect-ratio: 16 / 9; }
.yd-figure--4x5 { aspect-ratio: 4 / 5; }
.yd-figure--1x1 { aspect-ratio: 1 / 1; }
.yd-figure--wide { aspect-ratio: 21 / 9; }

.yd-figure__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 11, 26, .68);
  color: rgba(242, 247, 255, .88);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  backdrop-filter: blur(6px);
}

/* ---------- 面包屑 ---------- */
.yd-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yd-mist);
}

.yd-crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yd-crumbs li + li::before {
  content: "/";
  color: rgba(143, 166, 200, .45);
}

.yd-crumbs a { transition: color .25s var(--yd-ease); }
.yd-crumbs a:hover { color: var(--yd-cyan); }

.yd-crumbs [aria-current="page"] { color: var(--yd-paper); }

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

.yd-filter__btn {
  padding: 8px 16px;
  border: 1px solid var(--yd-line);
  border-radius: 999px;
  background: rgba(12, 24, 48, .6);
  color: var(--yd-mist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .25s var(--yd-ease),
    border-color .25s var(--yd-ease),
    background-color .25s var(--yd-ease),
    box-shadow .25s var(--yd-ease);
}

.yd-filter__btn:hover {
  color: var(--yd-paper);
  border-color: rgba(111, 227, 255, .5);
}

.yd-filter__btn[aria-pressed="true"] {
  color: #04121A;
  background: var(--yd-cyan);
  border-color: var(--yd-cyan);
  box-shadow: 0 10px 26px -14px rgba(111, 227, 255, .9);
}

/* ---------- 跳过链接 ---------- */
.yd-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--yd-cyan);
  color: #04121A;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .3s var(--yd-ease);
}

.yd-skip:focus-visible {
  transform: translateY(0);
  outline-color: var(--yd-paper);
}

/* ============================================================
   头部：紧凑命令栏
   ============================================================ */
.yd-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 11, 26, .88);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--yd-line);
  transition: background-color .3s var(--yd-ease);
}

.yd-header[data-shrink="true"] {
  --yd-header-h: 58px;
  background: rgba(5, 11, 26, .96);
}

.yd-header__bar { position: relative; }

.yd-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  height: var(--yd-header-h);
  transition: height .32s var(--yd-ease);
}

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

.yd-brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yd-cyan), var(--yd-violet) 62%, var(--yd-flare));
  box-shadow: 0 0 0 1px rgba(111, 227, 255, .35),
    0 10px 26px -12px rgba(111, 227, 255, .85);
  transition: transform .35s var(--yd-ease);
}

.yd-brand__mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--yd-deep);
  box-shadow: inset 0 0 0 1px rgba(111, 227, 255, .5);
}

.yd-brand:hover .yd-brand__mark { transform: rotate(-12deg) scale(1.04); }

.yd-brand__text { display: block; }

.yd-brand__name {
  display: block;
  font-size: 17.5px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--yd-paper);
}

.yd-brand__meta {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--yd-mist);
  white-space: nowrap;
}

/* 导航 */
.yd-nav { margin-inline: auto; }

.yd-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .8vw, 8px);
}

.yd-nav__item { display: block; }

.yd-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--yd-mist);
  transition: color .25s var(--yd-ease), background-color .25s var(--yd-ease);
}

.yd-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--yd-cyan);
  box-shadow: 0 0 10px rgba(111, 227, 255, .85);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--yd-ease);
}

.yd-nav__link:hover {
  color: var(--yd-paper);
  background: rgba(111, 227, 255, .08);
}

.yd-nav__link:hover::after { transform: scaleX(.45); }

.yd-nav__idx {
  font-family: var(--yd-font-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: rgba(143, 166, 200, .55);
  transition: color .25s var(--yd-ease);
}

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

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

.yd-nav__link[aria-current="page"] .yd-nav__idx { color: var(--yd-cyan); }

/* 右侧动作 */
.yd-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.yd-header__cta { flex: 0 0 auto; }

/* 汉堡按钮 */
.yd-burger {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--yd-line);
  border-radius: 999px;
  color: var(--yd-paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  transition: border-color .25s var(--yd-ease), color .25s var(--yd-ease);
}

.yd-burger:hover {
  border-color: var(--yd-cyan);
  color: var(--yd-cyan);
}

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

.yd-burger__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--yd-ease), opacity .2s var(--yd-ease);
}

.yd-burger[aria-expanded="true"] .yd-burger__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.yd-burger[aria-expanded="true"] .yd-burger__bars span:nth-child(2) {
  opacity: 0;
}

.yd-burger[aria-expanded="true"] .yd-burger__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 阅读进度线 */
.yd-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.yd-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--yd-cyan),
    var(--yd-violet) 52%,
    var(--yd-flare)
  );
  box-shadow: 0 0 12px rgba(111, 227, 255, .75);
  transition: width .12s linear;
}

/* 抽屉遮罩 */
body.yd-nav-open { overflow: hidden; }

body.yd-nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(3, 7, 17, .68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* ---------- 移动抽屉 ---------- */
.yd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(420px, 92vw);
  padding: 22px clamp(20px, 5vw, 32px) 32px;
  overflow-y: auto;
  border-left: 1px solid var(--yd-line);
  background: linear-gradient(180deg, var(--yd-panel), var(--yd-deep) 72%);
  box-shadow: -34px 0 90px rgba(0, 0, 0, .65);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s var(--yd-ease),
    opacity .3s var(--yd-ease),
    visibility .4s var(--yd-ease);
}

.yd-drawer[data-open="true"] {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.yd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(30, 51, 88, .8);
}

.yd-drawer__close {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--yd-line);
  border-radius: 50%;
  color: var(--yd-paper);
  transition: border-color .25s var(--yd-ease), color .25s var(--yd-ease);
}

.yd-drawer__close:hover {
  border-color: var(--yd-cyan);
  color: var(--yd-cyan);
}

.yd-drawer__x {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.yd-drawer__x::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: rotate(90deg);
}

.yd-drawer__nav { flex: 1 1 auto; }

.yd-drawer__nav ul { display: grid; gap: 4px; }

.yd-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--yd-paper);
  transition: background-color .25s var(--yd-ease), color .25s var(--yd-ease);
}

.yd-drawer__link:hover { background: rgba(111, 227, 255, .1); }

.yd-drawer__link[aria-current="page"] {
  background: rgba(111, 227, 255, .12);
  color: var(--yd-cyan);
  box-shadow: inset 2px 0 0 var(--yd-cyan);
}

.yd-drawer__idx {
  font-family: var(--yd-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(143, 166, 200, .65);
}

.yd-drawer__foot {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 51, 88, .8);
}

.yd-drawer__note {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--yd-mist);
  text-align: center;
}

/* ============================================================
   页脚
   ============================================================ */
.yd-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  background: linear-gradient(
    180deg,
    rgba(12, 24, 48, .72),
    rgba(5, 11, 26, 1) 46%
  );
  border-top: 1px solid var(--yd-line);
}

.yd-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--yd-cyan),
    var(--yd-violet) 40%,
    var(--yd-flare) 74%,
    transparent 100%
  );
}

.yd-footer__top {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 64px) clamp(28px, 3vw, 40px);
}

.yd-footer__brand { display: block; }

.yd-footer__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.3;
  color: var(--yd-paper);
}

.yd-footer__tag {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--yd-mist);
}

.yd-footer__rule {
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yd-cyan), transparent);
}

.yd-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px clamp(16px, 2.5vw, 32px);
}

.yd-footer__col { min-width: 0; }

.yd-footer__title {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yd-cyan);
}

.yd-footer__list { display: grid; gap: 9px; }

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

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

.yd-footer__text {
  display: inline-block;
  font-size: 14px;
  color: rgba(143, 166, 200, .82);
}

.yd-footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px 32px;
  padding-block: clamp(24px, 3vw, 32px);
  border-top: 1px dashed rgba(30, 51, 88, .9);
}

.yd-footer__cell { min-width: 0; }

.yd-footer__value {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(242, 247, 255, .9);
  word-break: break-word;
}

.yd-footer__value--mono {
  font-family: var(--yd-font-mono);
  letter-spacing: .01em;
}

.yd-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 22px 32px;
  border-top: 1px solid rgba(30, 51, 88, .8);
}

.yd-footer__copy,
.yd-footer__icp {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--yd-mist);
}

.yd-footer__icp {
  font-family: var(--yd-font-mono);
}

.yd-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
  color: var(--yd-mist);
}

.yd-footer__legal-links a {
  transition: color .25s var(--yd-ease);
}

.yd-footer__legal-links a:hover { color: var(--yd-cyan); }

/* ============================================================
   滚动显现（仅 JS 可用时隐藏，无 JS 直接可见）
   ============================================================ */
html.yd-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .42s var(--yd-ease), transform .42s var(--yd-ease);
  transition-delay: calc(var(--yd-order, 0) * 70ms);
}

html.yd-js [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 960px) {
  .yd-grid > * { grid-column: auto; }
  .yd-grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .yd-grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

@media (max-width: 1100px) {
  .yd-nav__link { padding-inline: 9px; font-size: 13.5px; }
  .yd-brand__meta { display: none; }
}

@media (max-width: 900px) {
  .yd-nav { display: none; }
  .yd-header__cta { display: none; }
  .yd-burger { display: inline-flex; }
  .yd-header__inner { justify-content: space-between; }
  .yd-footer__top { grid-template-columns: 1fr; }
  .yd-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  :root { --yd-header-h: 64px; }
  .yd-header[data-shrink="true"] { --yd-header-h: 56px; }
  .yd-brand__name { font-size: 16px; }
  .yd-brand__mark { width: 30px; height: 30px; border-radius: 10px; }
  .yd-brand__mark::after { inset: 10px; }
  .yd-footer__cols { grid-template-columns: 1fr; }
  .yd-footer__legal { flex-direction: column; align-items: flex-start; }
  .yd-btn { padding: 12px 20px; font-size: 14px; }
  .yd-btn--sm { padding: 9px 16px; font-size: 12.5px; }
  .yd-display { transform: skewX(-1.6deg); }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

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

  .yd-card:hover,
  .yd-btn:hover,
  .yd-footer__link:hover {
    transform: none;
  }
}
