/* ==========================================================================
   皇冠体彩数据 · 共享样式表 /assets/site.css
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --navy: #0B1B2B;
  --navy-2: #16283D;
  --navy-3: #1E3350;
  --gold: #C8A96A;
  --gold-soft: #E8D8B0;
  --cinnabar: #B83A2E;
  --mist: #E9EEF5;
  --stone: #6F7782;
  --moss: #6E7F5E;
  --clay: #A56A4E;
  --cream: #F7F4EE;
  --paper: #FFFDF8;
  --ink: #12202F;
  --ink-soft: #4A5763;
  --line: rgba(11, 27, 43, 0.13);
  --line-gold: rgba(200, 169, 106, 0.35);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --font-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", monospace;

  --rail-w: 0px;
  --pad-x: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 1024px) {
  :root { --rail-w: 96px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  padding-left: var(--rail-w);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  background-image: linear-gradient(180deg, #F7F4EE 0%, #F3EFE6 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--navy);
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

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

button {
  font: inherit;
  color: inherit;
}

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

strong, b { font-weight: 700; }

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

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

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

.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.section--mist { background: var(--mist); }

.flow > * + * { margin-top: clamp(14px, 2vw, 22px); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }

@media (min-width: 900px) {
  .grid--split { grid-template-columns: 7fr 5fr; }
  .grid--wide { grid-template-columns: 8fr 4fr; }
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* ---------- 4. 文字层级 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .6em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  margin: 0 0 .45em;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

.text-stone { color: var(--stone); }

/* ---------- 5. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 12px);
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 6. 头部外壳 ---------- */
.site-header { display: contents; }

/* 6.1 左侧品牌轨道 */
.brand-rail { display: none; }

@media (min-width: 1024px) {
  .brand-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--rail-w);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0 22px;
    background: var(--navy);
    color: var(--gold-soft);
  }

  .brand-rail::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200, 169, 106, .22) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: .55;
    pointer-events: none;
  }

  .brand-rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(200, 169, 106, .55) 18%, rgba(200, 169, 106, .18) 82%, transparent);
  }

  .brand-rail__mark {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .brand-rail__glyph {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line-gold);
    background: rgba(200, 169, 106, .12);
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }

  .brand-rail__mark:hover .brand-rail__glyph {
    background: var(--gold);
    color: var(--navy);
  }

  .brand-rail__name {
    writing-mode: vertical-rl;
    font-family: var(--font-head);
    font-size: .78rem;
    letter-spacing: .3em;
    color: rgba(232, 216, 176, .82);
  }

  .brand-rail__rule {
    position: relative;
    flex: 1 1 auto;
    width: 1px;
    min-height: 40px;
    background: linear-gradient(180deg, rgba(200, 169, 106, .5), transparent);
  }

  .brand-rail__index {
    position: relative;
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .32em;
    color: rgba(232, 216, 176, .45);
  }

  .brand-rail__top {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-gold);
    background: rgba(200, 169, 106, .1);
    color: var(--gold);
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .22s var(--ease), transform .22s var(--ease), color .22s var(--ease);
  }

  .brand-rail__top:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
  }
}

/* 6.2 悬浮胶囊条 */
.header-bar {
  position: sticky;
  top: 10px;
  z-index: 80;
  margin-top: clamp(10px, 1.6vw, 18px);
  padding-inline: clamp(12px, 3vw, 32px);
}

.header-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: 8px 12px 8px 14px;
  border-radius: 999px;
  background: rgba(11, 27, 43, .96);
  border: 1px solid rgba(200, 169, 106, .28);
  box-shadow: 0 20px 44px -26px rgba(11, 27, 43, .9);
  transition: padding .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.header-bar[data-condensed="true"] .header-bar__inner {
  padding: 5px 12px 5px 14px;
  border-color: rgba(200, 169, 106, .5);
  box-shadow: 0 14px 30px -18px rgba(11, 27, 43, 1);
}

/* 6.3 胶囊内品牌 */
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--cream);
}

.header-brand__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--gold) 0%, #A9863F 100%);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.header-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-brand__title {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--cream);
}

.header-brand__sub {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  color: rgba(232, 216, 176, .62);
}

/* 6.4 导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

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

.site-nav__link {
  display: block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .02em;
  color: rgba(247, 244, 238, .78);
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px transparent;
}

.site-nav__link:hover {
  background: rgba(200, 169, 106, .16);
  color: var(--gold-soft);
}

.site-nav__link[aria-current="page"] {
  background: rgba(200, 169, 106, .22);
  color: var(--gold-soft);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(200, 169, 106, .55);
}

/* 6.5 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: .56em 1.15em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: #231A0B;
}

.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn--quiet {
  background: rgba(232, 216, 176, .1);
  border-color: rgba(200, 169, 106, .42);
  color: var(--gold-soft);
}

.btn--quiet:hover {
  background: rgba(200, 169, 106, .24);
  color: #FFFFFF;
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* 6.6 移动端栏目按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 106, .45);
  background: rgba(200, 169, 106, .12);
  color: var(--gold-soft);
  font-size: .78rem;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}

.nav-toggle:hover { background: rgba(200, 169, 106, .24); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

.site-header[data-open] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* 6.7 中窄桌面收敛 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-actions .btn--quiet { display: none; }
  .site-nav__link { padding: 7px 8px; font-size: .78rem; }
}

/* 6.8 移动端与平板：胶囊条 + 抽屉 */
@media (max-width: 1023px) {
  .site-header { display: block; }

  .header-bar__inner {
    padding: 8px 10px 8px 12px;
    gap: 10px;
  }

  .header-brand__sub { display: none; }
  .header-brand__title { font-size: .92rem; }

  .header-actions { display: none; }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    padding: 10px;
    border-radius: 24px;
    background: var(--navy);
    border: 1px solid rgba(200, 169, 106, .3);
    box-shadow: 0 28px 60px -26px rgba(11, 27, 43, .95);
    max-height: min(68vh, 470px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s linear;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .95rem;
    color: rgba(247, 244, 238, .86);
  }

  .site-nav__link::after {
    content: "→";
    font-family: var(--font-mono);
    font-size: .8rem;
    color: rgba(200, 169, 106, .62);
  }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px) 26px;
  background: var(--navy);
  color: rgba(247, 244, 238, .78);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 169, 106, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 106, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 72%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--cinnabar) 42%, rgba(200, 169, 106, .1) 100%);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 52px);
  max-width: 1180px;
  margin-inline: auto;
}

.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

.footer-brand__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line-gold);
  background: rgba(200, 169, 106, .14);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}

.footer-brand__mark:hover .footer-brand__glyph {
  background: var(--gold);
  color: var(--navy);
}

.footer-brand__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-soft);
}

.footer-brand__desc {
  margin-top: 16px;
  max-width: 34ch;
  font-size: .86rem;
  line-height: 1.85;
  color: rgba(247, 244, 238, .6);
}

.footer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}

.footer-facts li {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 106, .3);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--gold-soft);
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col__list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  display: inline-block;
  font-size: .88rem;
  color: rgba(247, 244, 238, .72);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-link:hover {
  color: var(--gold-soft);
  border-bottom-color: rgba(200, 169, 106, .65);
}

.footer-contact__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(200, 169, 106, .22);
}

.footer-contact__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  color: rgba(200, 169, 106, .85);
}

.footer-contact__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(247, 244, 238, .86);
  word-break: break-word;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 106, .4);
  background: transparent;
  color: rgba(200, 169, 106, .9);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.copy-btn:hover {
  background: rgba(200, 169, 106, .2);
  color: var(--gold-soft);
}

.copy-btn[data-copied] {
  background: var(--moss);
  border-color: var(--moss);
  color: #F2F6EC;
}

.footer-note {
  margin-top: 14px;
  font-size: .76rem;
  line-height: 1.8;
  color: rgba(247, 244, 238, .45);
}

.site-footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: 1180px;
  margin: clamp(30px, 4vw, 46px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(200, 169, 106, .2);
  font-size: .76rem;
  color: rgba(247, 244, 238, .5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 0;
}

.footer-legal a {
  color: rgba(247, 244, 238, .72);
  border-bottom: 1px solid rgba(200, 169, 106, .32);
}

.footer-legal a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: rgba(200, 169, 106, .78);
}

@media (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-brand,
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 559px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 8. 通用内容组件 ---------- */
.breadcrumbs { padding-top: clamp(18px, 3vw, 30px); }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(11, 27, 43, .5);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(11, 27, 43, .26);
}

.breadcrumbs__link { color: var(--stone); }
.breadcrumbs__link:hover { color: var(--clay); }

.breadcrumbs__current {
  color: var(--navy);
  font-weight: 700;
}

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 106, .6);
  box-shadow: 0 22px 44px -30px rgba(11, 27, 43, .55);
}

.card__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--gold);
}

.card__title {
  font-size: 1.16rem;
  margin-bottom: .5em;
}

.card__body {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.card--navy {
  background: var(--navy-2);
  border-color: rgba(200, 169, 106, .3);
  color: rgba(247, 244, 238, .8);
}

.card--navy .card__title { color: var(--gold-soft); }
.card--navy .card__body { color: rgba(247, 244, 238, .66); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .26em .8em;
  border-radius: 999px;
  border: 1px solid rgba(11, 27, 43, .12);
  background: rgba(11, 27, 43, .05);
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--navy);
  line-height: 1.5;
}

.tag--gold {
  background: rgba(200, 169, 106, .18);
  border-color: rgba(200, 169, 106, .48);
  color: #7A5F24;
}

.tag--clay {
  background: rgba(165, 106, 78, .14);
  border-color: rgba(165, 106, 78, .38);
  color: #82492F;
}

.tag--moss {
  background: rgba(110, 127, 94, .15);
  border-color: rgba(110, 127, 94, .38);
  color: #4E5C40;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  flex: 0 0 auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--clay);
}

.link-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform .22s var(--ease);
}

.link-arrow:hover { color: var(--cinnabar); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 9. 图片 / 图表容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 24% 18%, rgba(200, 169, 106, .34), transparent 46%),
    linear-gradient(142deg, #0B1B2B 0%, #16283D 58%, #1E3350 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(200, 169, 106, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 106, .09) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.media-frame > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.media-frame:hover > img { transform: scale(1.03); }

.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(11, 27, 43, .68);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--gold-soft);
}

/* ---------- 10. 滚动浮现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

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

/* ---------- 11. 无障碍与减弱动效 ---------- */
@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;
  }

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

  .card:hover,
  .media-frame:hover > img,
  .btn--gold:hover,
  .link-arrow:hover::after {
    transform: none;
  }
}
