/* ==========================================================================
   /assets/site.css — XBET国际入口 共享外壳
   深墨蓝夜间底 + 信号橙路标 + 等宽序号驱动
   ========================================================================== */

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

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

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

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  /* 品牌色 */
  --ink-900: #0A1A2B;
  --ink-800: #10263A;
  --ink-700: #17354E;
  --gray-300: #C3CED8;
  --gray-100: #EDF1F5;
  --paper: #FFFFFF;
  --orange: #FF6A1A;
  --orange-deep: #C2440A;
  --teal: #2FC6A6;
  --amber: #F2B233;

  /* 派生 */
  --text-on-dark: #E8EEF4;
  --muted-on-dark: rgba(195, 206, 216, .72);
  --hair: rgba(195, 206, 216, .16);
  --hair-strong: rgba(195, 206, 216, .32);
  --orange-tint: rgba(255, 106, 26, .10);

  /* 字体 */
  --font-head: "Saira", "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans SC", monospace;

  /* 度量 */
  --header-h: 78px;
  --header-h-compact: 64px;
  --shell: 1240px;
  --gap: 24px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (max-width: 900px) {
  :root { --header-h: 68px; --header-h-compact: 60px; --gap: 18px; }
}

/* ---------- 3. 中文排版基座 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-on-dark);
  background: var(--ink-900);
  padding-top: var(--header-h);
  min-height: 100vh;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-nav-open { overflow: hidden; }

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

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.14;
  color: var(--paper);
  text-wrap: balance;
}

.h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.125rem); }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.h4 { font-size: 1.125rem; }

p { text-wrap: pretty; }

strong, b { font-weight: 600; }

code, kbd, samp, .u-mono {
  font-family: var(--font-mono);
  font-size: .92em;
  letter-spacing: .01em;
}

.u-mono { font-size: inherit; }

/* ---------- 4. 无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.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: 400;
  transform: translateY(-180%);
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--orange);
  color: #1A0B02;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 48px);
}

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

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: 5fr 7fr; }

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

/* ---------- 6. 通用块与文字组件 ---------- */
.card {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.marker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--orange);
}
.marker::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.numeral {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(56px, 10vw, 140px);
  line-height: .86;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(195, 206, 216, .42);
}
.numeral--solid {
  color: var(--orange);
  -webkit-text-stroke: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--pill);
  border: 1px solid currentColor;
  white-space: nowrap;
}
.status--ok { color: var(--teal); }
.status--warn { color: var(--amber); }
.status--accent { color: var(--orange); }

.surface-light {
  background: var(--gray-100);
  color: var(--ink-900);
}
.surface-light h1, .surface-light h2, .surface-light h3 { color: var(--ink-900); }
.surface-light a { color: var(--orange-deep); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .925rem;
  letter-spacing: .02em;
  line-height: 1.2;
  padding: .82em 1.4em;
  border-radius: var(--pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--orange); color: #1A0B02; }
.btn--accent:hover { background: #FF8340; }

.btn--ghost {
  border-color: var(--hair-strong);
  color: var(--text-on-dark);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn--light { background: var(--paper); color: var(--ink-900); }
.btn--light:hover { background: var(--gray-100); }

/* ---------- 8. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  color: var(--text-on-dark);
  transition: background-color .28s var(--ease), box-shadow .28s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 43, .94) 15%, rgba(10, 26, 43, 0) 100%);
  pointer-events: none;
  transition: opacity .28s var(--ease);
  opacity: 1;
}

.site-header[data-scrolled="true"] {
  background: rgba(10, 26, 43, .97);
  box-shadow: 0 1px 0 var(--hair), 0 24px 48px -40px #000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header[data-scrolled="true"]::before { opacity: 0; }

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 12px clamp(18px, 5vw, 48px);
  transition: min-height .28s var(--ease), padding .28s var(--ease);
}
.site-header[data-scrolled="true"] .site-header__inner {
  min-height: var(--header-h-compact);
  padding-block: 8px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 0;
}
.brand__badge {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 106, 26, .55);
  background: var(--orange-tint);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.brand:hover .brand__badge { background: rgba(255, 106, 26, .18); }
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--paper);
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.5;
  color: rgba(195, 206, 216, .6);
}

/* 导航 */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  counter-reset: navidx;
}
.nav__list > li { display: flex; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  padding: 9px 12px;
  border-radius: var(--pill);
  font-size: .92rem;
  line-height: 1.4;
  color: var(--muted-on-dark);
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link::before {
  counter-increment: navidx;
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(195, 206, 216, .42);
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--paper); background: rgba(255, 255, 255, .06); }
.nav__link:hover::before { color: var(--orange); }

.nav__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 255, 255, .08);
}
.nav__link[aria-current="page"]::before { color: var(--orange); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.nav__foot { display: none; }

/* 右侧动作区 */
.header__slot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(10px, 2vw, 22px);
  flex: 0 0 auto;
}

.header__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--pill);
  border: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(195, 206, 216, .68);
  white-space: nowrap;
}
.header__current b {
  color: var(--orange);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
}

.header__cta { font-size: .875rem; padding: .7em 1.15em; }

/* 汉堡 */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--hair-strong);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--orange); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: background-color .18s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform .24s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open="true"] .nav-toggle { border-color: var(--orange); }
.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 进度线 */
.site-header__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(195, 206, 216, .12);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.site-header[data-scrolled="true"] .site-header__progress { opacity: 1; }
.site-header__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}

/* ---------- 9. 头部响应式 ---------- */
@media (max-width: 1180px) {
  .header__current { display: none; }
}

@media (max-width: 1040px) {
  .nav__link { padding: 8px 9px; font-size: .875rem; }
  .nav__link::before { display: none; }
  .nav__link[aria-current="page"]::after { left: 9px; right: 9px; }
}

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

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 10px clamp(18px, 5vw, 32px) 30px;
    background: var(--ink-900);
    border-top: 1px solid var(--hair);
    box-shadow: 0 32px 64px -40px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  .site-header[data-scrolled="true"] .nav { top: var(--header-h-compact); }
  .site-header[data-open="true"] .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(195, 206, 216, .1);
    font-size: 1.08rem;
    color: var(--gray-300);
  }
  .nav__link::before {
    display: block;
    flex: 0 0 auto;
    width: 2.4em;
    font-size: 12px;
    color: rgba(195, 206, 216, .5);
  }
  .nav__link:hover { background: transparent; color: var(--paper); }
  .nav__link[aria-current="page"] { background: transparent; color: var(--paper); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"]::before { color: var(--orange); }

  .nav__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
  }
  .nav__cta { width: 100%; }
  .nav__note {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: rgba(195, 206, 216, .5);
    text-align: center;
  }

  .header__cta { display: none; }
  .brand__sub { display: none; }
}

@media (max-width: 420px) {
  .brand__name { font-size: .95rem; }
  .brand__badge { width: 34px; height: 34px; font-size: 13px; }
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding-bottom: 34px;
}

.site-footer__rule {
  height: 6px;
  background: var(--orange);
}

.footer__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 48px) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 40px);
}

.footer__brand { grid-column: 1 / -1; }

.footer__tagline {
  margin-top: 14px;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(195, 206, 216, .6);
  max-width: 26ch;
}

.footer__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--paper);
}
.footer__num {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 106, 26, .42);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--orange);
}

.footer__list li + li { margin-top: 9px; }
.footer__list a {
  display: inline-block;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted-on-dark);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer__list a:hover { color: var(--orange); transform: translateX(2px); }

/* 联系方式 */
.footer__contact {
  margin-top: clamp(32px, 4.5vw, 52px);
  padding-top: 26px;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 18px 32px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.footer__contact-item { display: flex; flex-direction: column; gap: 4px; }
.footer__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(195, 206, 216, .5);
}
.footer__value {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--gray-300);
}
.footer__value--mono {
  font-family: var(--font-mono);
  letter-spacing: .01em;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.footer__value--note { color: rgba(195, 206, 216, .66); }

/* 底部条 */
.footer__bottom {
  margin-top: clamp(26px, 4vw, 42px);
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: .82rem;
  color: rgba(195, 206, 216, .62);
}
.footer__copy { line-height: 1.6; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a {
  color: rgba(195, 206, 216, .82);
  transition: color .18s var(--ease);
}
.footer__legal a:hover { color: var(--orange); }
.footer__icp {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(195, 206, 216, .55);
}

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .footer__grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}
@media (max-width: 620px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__icp { margin-left: 0; }
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  padding-block: 18px 0;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(195, 206, 216, .62);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(195, 206, 216, .3);
}
.breadcrumb__link { color: var(--gray-300); transition: color .18s var(--ease); }
.breadcrumb__link:hover { color: var(--orange); }
.breadcrumb__item[aria-current="page"] { color: var(--paper); }

/* ---------- 12. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-300);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  color: var(--paper);
}
.prose h3 {
  margin-top: 1.7em;
  font-size: 1.125rem;
  color: var(--paper);
}
.prose strong { color: var(--paper); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.05em; top: .78em;
  width: 6px; height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.prose ol { list-style: decimal; }
.prose ol li::marker {
  font-family: var(--font-mono);
  font-size: .85em;
  color: var(--orange);
}
.prose a {
  color: var(--orange);
  border-bottom: 1px solid rgba(255, 106, 26, .45);
  transition: border-color .18s var(--ease);
}
.prose a:hover { border-bottom-color: var(--orange); }
.prose code {
  padding: .12em .4em;
  border-radius: 6px;
  background: var(--ink-700);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .88em;
}
.prose blockquote {
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  color: rgba(195, 206, 216, .82);
}
.surface-light .prose,
.prose--light { color: #2E4256; }
.prose--light h2, .prose--light h3, .prose--light strong { color: var(--ink-900); }

/* ---------- 13. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--hair);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--phone {
  aspect-ratio: 9 / 19.5;
  border-radius: 26px;
  background: var(--ink-700);
  border-color: var(--hair-strong);
}
.media--square { aspect-ratio: 1 / 1; }

@supports not (aspect-ratio: 1 / 1) {
  .media { height: 0; padding-bottom: 62.5%; }
  .media > img { position: absolute; inset: 0; }
  .media--wide { padding-bottom: 42.85%; }
  .media--portrait { padding-bottom: 125%; }
  .media--phone { padding-bottom: 216.7%; }
  .media--square { padding-bottom: 100%; }
}

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  line-height: 1.6;
  color: rgba(195, 206, 216, .55);
}
.media__tag {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: rgba(10, 26, 43, .82);
  border: 1px solid var(--hair-strong);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--gray-300);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- 14. 折叠内容（原生 details） ---------- */
.accordion {
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  overflow: hidden;
}
.accordion + .accordion { margin-top: 12px; }
.accordion__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--paper);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s var(--ease);
}
.accordion[open] .accordion__summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.accordion__summary:hover { color: var(--orange); }
.accordion__body {
  padding: 0 20px 18px;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--muted-on-dark);
}

/* ---------- 15. 动效与降级 ---------- */
[data-flash="true"] {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
  border-radius: var(--radius-md);
  transition: outline-color .2s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .skip-link { transition: none; }
}
