/* =========================================================
   博九娱乐 · /assets/site.css
   共享外壳：刊头导航 · 目录型页脚 · 通用组件
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 148px;
}
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, 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%; }
table { border-collapse: collapse; }
#main-content { scroll-margin-top: 140px; }

/* ---------- 2. Design tokens ---------- */
:root {
  --b9-ink: #071A2B;
  --b9-ink-2: #0E2C46;
  --b9-ink-3: #163E5C;
  --b9-gold: #F2B84B;
  --b9-coral: #FF7A59;
  --b9-jade: #7FB7A3;
  --b9-cream: #F7F1E3;
  --b9-mist: #C9D6E2;
  --b9-bronze: #8A5A2B;
  --b9-white: #FFFFFF;

  --b9-line: rgba(201, 214, 226, .16);
  --b9-line-strong: rgba(201, 214, 226, .30);

  --b9-radius-lg: 28px;
  --b9-radius-md: 18px;
  --b9-radius-pill: 999px;

  --b9-font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --b9-font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --b9-font-num: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;

  --b9-shell: 1240px;
  --b9-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--b9-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--b9-cream);
  background-color: var(--b9-ink);
  background-image:
    radial-gradient(58% 42% at 84% -6%, rgba(242, 184, 75, .16), transparent 68%),
    radial-gradient(48% 36% at 2% 4%, rgba(127, 183, 163, .12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(201, 214, 226, .045) 0 1px, transparent 1px 96px);
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: rgba(242, 184, 75, .32); color: var(--b9-white); }

/* ---------- 4. Skip link ---------- */
.b9-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--b9-radius-pill);
  background: var(--b9-gold);
  color: var(--b9-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
  transition: top .22s var(--b9-ease);
}
.b9-skip:focus { top: 16px; }

/* =========================================================
   5. 刊头
   ========================================================= */
.b9-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 10px 20px 0;
  color: var(--b9-cream);
  background: linear-gradient(180deg, rgba(7, 26, 43, .98) 0%, rgba(7, 26, 43, .92) 76%, rgba(7, 26, 43, .74) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--b9-line);
  transition: border-color .26s var(--b9-ease), box-shadow .26s var(--b9-ease);
}
.b9-header.is-condensed {
  border-bottom-color: rgba(242, 184, 75, .36);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .44);
}
.b9-header__inner {
  position: relative;
  width: min(var(--b9-shell), 100%);
  margin-inline: auto;
}

.b9-header__brandrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0 14px;
  transition: padding .26s var(--b9-ease);
}
.b9-header__side {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--b9-font-num);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  color: var(--b9-mist);
  text-transform: uppercase;
}
.b9-header__side--right { justify-content: flex-end; }

.b9-pulse {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--b9-jade);
  animation: b9-pulse 2.8s var(--b9-ease) infinite;
}
@keyframes b9-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 183, 163, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(127, 183, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 183, 163, 0); }
}

.b9-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
}
.b9-brand__seal {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  font-family: var(--b9-font-display);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  color: var(--b9-ink);
  background: linear-gradient(145deg, #F9CE72, var(--b9-gold) 46%, var(--b9-bronze));
  box-shadow: 0 6px 16px rgba(242, 184, 75, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .3s var(--b9-ease);
}
.b9-brand:hover .b9-brand__seal { transform: rotate(-6deg); }
.b9-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.b9-brand__name {
  font-family: var(--b9-font-display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--b9-white);
}
.b9-brand__sub {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--b9-gold);
}

.b9-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--b9-radius-pill);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: background-color .2s var(--b9-ease), color .2s var(--b9-ease), box-shadow .2s var(--b9-ease), transform .2s var(--b9-ease);
}
.b9-capsule--cta {
  background: var(--b9-gold);
  color: var(--b9-ink);
  box-shadow: 0 5px 0 rgba(138, 90, 43, .5), 0 10px 22px rgba(0, 0, 0, .3);
}
.b9-capsule--cta:hover {
  background: var(--b9-coral);
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(138, 90, 43, .5), 0 16px 28px rgba(0, 0, 0, .34);
}

/* 移动端栏目按钮 */
.b9-navtoggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 10px;
  padding: 11px 18px;
  border: 1px solid var(--b9-line-strong);
  border-radius: var(--b9-radius-pill);
  background: rgba(14, 44, 70, .55);
  color: var(--b9-cream);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .16em;
  transition: border-color .2s var(--b9-ease), color .2s var(--b9-ease), background-color .2s var(--b9-ease);
}
.b9-navtoggle:hover { border-color: var(--b9-gold); color: var(--b9-gold); }
.b9-navtoggle__label { letter-spacing: .16em; }
.b9-navtoggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--b9-ease);
}
.b9-navtoggle__bars::before,
.b9-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--b9-ease), top .22s var(--b9-ease);
}
.b9-navtoggle__bars::before { top: -6px; }
.b9-navtoggle__bars::after { top: 6px; }
.b9-navtoggle[aria-expanded="true"] {
  border-color: var(--b9-gold);
  color: var(--b9-gold);
  background: rgba(242, 184, 75, .1);
}
.b9-navtoggle[aria-expanded="true"] .b9-navtoggle__bars { background: transparent; }
.b9-navtoggle[aria-expanded="true"] .b9-navtoggle__bars::before { top: 0; transform: rotate(45deg); }
.b9-navtoggle[aria-expanded="true"] .b9-navtoggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 主导航 */
.b9-nav { border-top: 1px solid var(--b9-line); }
.b9-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 8px 0 10px;
}
.b9-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  border-radius: var(--b9-radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--b9-mist);
  transition: color .18s var(--b9-ease), background-color .18s var(--b9-ease);
}
.b9-nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--b9-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--b9-ease);
}
.b9-nav__link:hover { color: var(--b9-white); background: rgba(201, 214, 226, .07); }
.b9-nav__link:hover::after { transform: scaleX(1); }
.b9-nav__link[aria-current="page"] {
  color: var(--b9-gold);
  background: rgba(242, 184, 75, .12);
}
.b9-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--b9-coral);
}

/* 今日索引带 */
.b9-indexband {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  max-height: 64px;
  overflow: hidden;
  padding: 9px 0 11px;
  border-top: 1px solid var(--b9-line);
  font-family: var(--b9-font-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--b9-mist);
  transition: max-height .26s var(--b9-ease), opacity .2s var(--b9-ease), padding .26s var(--b9-ease), border-color .26s var(--b9-ease);
}
.b9-indexband__tag {
  flex: none;
  padding: 3px 12px;
  border-radius: var(--b9-radius-pill);
  background: var(--b9-jade);
  color: #08261D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.b9-indexband__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.b9-indexband__item::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--b9-coral);
}

/* 阅读进度 */
.b9-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}
.b9-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--b9-gold) 0%, var(--b9-coral) 68%, var(--b9-jade) 100%);
  transition: width .12s linear;
}

/* 收窄态 */
.b9-header.is-condensed .b9-header__brandrow { padding: 7px 0 8px; }
.b9-header.is-condensed .b9-brand__seal { width: 36px; height: 36px; border-radius: 12px; font-size: 18px; }
.b9-header.is-condensed .b9-brand__name { font-size: 19px; }
.b9-header.is-condensed .b9-brand__sub { display: none; }
.b9-header.is-condensed .b9-nav__list { padding: 5px 0 7px; }
.b9-header.is-condensed .b9-indexband {
  max-height: 0;
  opacity: 0;
  padding-block: 0;
  border-top-color: transparent;
}

/* =========================================================
   6. 页脚
   ========================================================= */
.b9-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  padding: clamp(40px, 6vw, 72px) 20px 24px;
  color: var(--b9-mist);
  background:
    radial-gradient(70% 120% at 88% 0%, rgba(242, 184, 75, .13), transparent 62%),
    linear-gradient(180deg, #061624 0%, #040F19 100%);
}
.b9-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--b9-gold) 0%, var(--b9-coral) 42%, var(--b9-jade) 100%);
}
.b9-footer__inner {
  width: min(var(--b9-shell), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr 1.35fr;
  gap: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 36px);
}
.b9-footer__lede { min-width: 0; }
.b9-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--b9-font-display);
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--b9-white);
}
.b9-footer__brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--b9-gold);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, .16);
}
.b9-footer__intro {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--b9-mist);
}
.b9-footer__col { min-width: 0; }
.b9-footer__col--contact { min-width: 0; }
.b9-footer__ctitle {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(201, 214, 226, .14);
  font-family: var(--b9-font-num);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--b9-gold);
}
.b9-footer__links { display: flex; flex-direction: column; gap: 2px; }
.b9-footer__link {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding: 5px 0;
  font-size: 15px;
  color: var(--b9-mist);
  transition: color .18s var(--b9-ease);
}
.b9-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--b9-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--b9-ease);
}
.b9-footer__link:hover { color: var(--b9-gold); }
.b9-footer__link:hover::after { transform: scaleX(1); }
.b9-footer__link[aria-current="page"] { color: var(--b9-gold); }
.b9-footer__link[aria-current="page"]::after { transform: scaleX(1); }

.b9-footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.b9-footer__contact { display: flex; flex-direction: column; gap: 2px; }
.b9-footer__clabel {
  font-family: var(--b9-font-num);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(201, 214, 226, .6);
}
.b9-footer__cval {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--b9-cream);
  word-break: break-word;
}
.b9-footer__note {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(127, 183, 163, .6);
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(201, 214, 226, .72);
}

.b9-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 16px;
  border: 1px solid rgba(127, 183, 163, .55);
  border-radius: var(--b9-radius-pill);
  background: rgba(127, 183, 163, .12);
  color: var(--b9-jade);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: background-color .2s var(--b9-ease), color .2s var(--b9-ease), border-color .2s var(--b9-ease), transform .2s var(--b9-ease);
}
.b9-copy:hover {
  background: var(--b9-jade);
  border-color: var(--b9-jade);
  color: #062018;
  transform: translateY(-1px);
}
.b9-copy__status {
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--b9-jade);
}
.b9-copy__status[data-copied="false"] { color: var(--b9-coral); }

.b9-footer__base {
  width: min(var(--b9-shell), 100%);
  margin: clamp(32px, 5vw, 54px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 214, 226, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(201, 214, 226, .68);
}
.b9-footer__copy { font-family: var(--b9-font-num); }
.b9-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.b9-footer__legal .b9-footer__link { font-size: 12.5px; }
.b9-footer__icp {
  font-family: var(--b9-font-num);
  letter-spacing: .08em;
  color: rgba(201, 214, 226, .55);
}

/* =========================================================
   7. 通用版式
   ========================================================= */
.b9-container {
  width: min(var(--b9-shell), 100%);
  margin-inline: auto;
  padding-inline: 20px;
}
.b9-main { display: block; min-height: 50vh; }
.b9-section { padding-block: clamp(36px, 5.5vw, 76px); }
.b9-rule {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg, var(--b9-line-strong), transparent);
}

.b9-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--b9-font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--b9-gold);
}
.b9-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--b9-gold);
}
.b9-h1 {
  font-family: var(--b9-font-display);
  font-size: clamp(36px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--b9-white);
}
.b9-h2 {
  font-family: var(--b9-font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--b9-cream);
}
.b9-h3 {
  font-family: var(--b9-font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  line-height: 1.34;
  color: var(--b9-cream);
}
.b9-lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.82;
  color: var(--b9-mist);
}
.b9-note {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--b9-mist);
}

/* 面包屑 */
.b9-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-block: 18px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--b9-mist);
}
.b9-crumbs__link { position: relative; color: var(--b9-mist); transition: color .18s var(--b9-ease); }
.b9-crumbs__link:hover { color: var(--b9-gold); }
.b9-crumbs__sep { font-family: var(--b9-font-num); color: var(--b9-ink-3); }
.b9-crumbs__current { color: var(--b9-gold); font-weight: 700; }

/* 按钮 */
.b9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--b9-radius-pill);
  font-family: var(--b9-font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background-color .2s var(--b9-ease), color .2s var(--b9-ease), border-color .2s var(--b9-ease), box-shadow .2s var(--b9-ease), transform .2s var(--b9-ease);
}
.b9-btn--primary {
  background: var(--b9-gold);
  color: var(--b9-ink);
  box-shadow: 0 5px 0 rgba(138, 90, 43, .55), 0 14px 28px rgba(0, 0, 0, .28);
}
.b9-btn--primary:hover {
  background: var(--b9-coral);
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(138, 90, 43, .55), 0 20px 34px rgba(0, 0, 0, .32);
}
.b9-btn--ghost {
  background: rgba(247, 241, 227, .04);
  border-color: var(--b9-line-strong);
  color: var(--b9-cream);
}
.b9-btn--ghost:hover {
  background: rgba(127, 183, 163, .12);
  border-color: var(--b9-jade);
  color: var(--b9-white);
  transform: translateY(-2px);
}
.b9-btn--jade {
  background: var(--b9-jade);
  color: #06231B;
  box-shadow: 0 5px 0 rgba(23, 74, 60, .55);
}
.b9-btn--jade:hover {
  background: #94C9B6;
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(23, 74, 60, .55);
}
.b9-btn--sm { padding: 9px 18px; font-size: 13px; }

/* 标签 */
.b9-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 13px;
  border: 1px solid var(--b9-line-strong);
  border-radius: var(--b9-radius-pill);
  background: rgba(14, 44, 70, .55);
  font-family: var(--b9-font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--b9-mist);
}
.b9-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.b9-tag--gold {
  color: var(--b9-gold);
  border-color: rgba(242, 184, 75, .55);
  background: rgba(242, 184, 75, .1);
}
.b9-tag--jade {
  color: var(--b9-jade);
  border-color: rgba(127, 183, 163, .55);
  background: rgba(127, 183, 163, .1);
}
.b9-tag--coral {
  color: var(--b9-coral);
  border-color: rgba(255, 122, 89, .55);
  background: rgba(255, 122, 89, .1);
}

/* 栅格 */
.b9-grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.b9-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b9-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b9-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 图片容器 */
.b9-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--b9-radius-lg);
  background-color: var(--b9-ink-2);
  background-image:
    radial-gradient(70% 80% at 18% 12%, rgba(242, 184, 75, .34), transparent 62%),
    radial-gradient(60% 70% at 88% 86%, rgba(127, 183, 163, .3), transparent 66%),
    linear-gradient(140deg, #0E2C46, #071A2B);
}
.b9-media > img,
.b9-media > picture,
.b9-media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b9-media--wide { aspect-ratio: 21 / 9; }
.b9-media--square { aspect-ratio: 1 / 1; }
.b9-media--tall { aspect-ratio: 3 / 4; }
.b9-media--flow { aspect-ratio: auto; min-height: 200px; }
.b9-media__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--b9-radius-pill);
  background: rgba(7, 26, 43, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--b9-cream);
}

/* 悬浮入口 */
.b9-fab {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--b9-radius-pill);
  background: var(--b9-gold);
  color: var(--b9-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 6px 0 rgba(138, 90, 43, .5), 0 16px 30px rgba(0, 0, 0, .35);
  transition: background-color .2s var(--b9-ease), transform .2s var(--b9-ease), box-shadow .2s var(--b9-ease);
}
.b9-fab:hover {
  background: var(--b9-coral);
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(138, 90, 43, .5), 0 20px 34px rgba(0, 0, 0, .38);
}
.b9-fab__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--b9-ink);
  box-shadow: 0 0 0 3px rgba(127, 183, 163, .8);
}
.b9-toTop {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--b9-line-strong);
  border-radius: 50%;
  background: rgba(14, 44, 70, .92);
  color: var(--b9-cream);
  font-family: var(--b9-font-num);
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--b9-ease), visibility .2s var(--b9-ease), background-color .2s var(--b9-ease), border-color .2s var(--b9-ease), color .2s var(--b9-ease);
}
.b9-toTop[data-visible] { opacity: 1; visibility: visible; }
.b9-toTop:hover {
  background: var(--b9-ink-3);
  border-color: var(--b9-gold);
  color: var(--b9-gold);
}

/* =========================================================
   8. 响应式
   ========================================================= */
@media (max-width: 1100px) {
  .b9-header__side { font-size: 11px; letter-spacing: .12em; }
  .b9-nav__link { padding: 8px 12px; font-size: 14px; }
  .b9-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .b9-footer__col--contact { grid-column: 1 / -1; max-width: 58ch; }
}

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

@media (max-width: 900px) {
  .b9-header { padding: 8px 16px 0; }
  .b9-header__brandrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0 10px;
  }
  .b9-header__side--left { display: none; }
  .b9-header__side--right { flex: none; }
  .b9-brand { justify-self: auto; }
  .b9-brand__seal { width: 38px; height: 38px; border-radius: 12px; font-size: 19px; }
  .b9-brand__name { font-size: 20px; letter-spacing: .06em; }
  .b9-brand__sub { font-size: 9.5px; letter-spacing: .2em; }
  .b9-capsule--cta { padding: 9px 16px; font-size: 13px; }
  .b9-navtoggle { display: flex; }
  .b9-nav { display: none; }
  .b9-nav[data-open] { display: block; }
  .b9-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 12px; }
  .b9-nav__link { display: block; padding: 13px 16px; border-radius: 14px; font-size: 16px; text-align: center; }
  .b9-nav__link::after { display: none; }
  .b9-nav__link[aria-current="page"] { background: rgba(242, 184, 75, .16); }
  .b9-indexband { font-size: 11px; gap: 6px 16px; }
  .b9-fab { right: 14px; bottom: 16px; padding: 11px 18px; font-size: 13px; }
  .b9-toTop { right: 14px; bottom: 78px; width: 40px; height: 40px; }
  html { scroll-padding-top: 120px; }
}

@media (max-width: 700px) {
  .b9-footer__inner { grid-template-columns: 1fr 1fr; }
  .b9-footer__lede { grid-column: 1 / -1; }
  .b9-footer__col--contact { grid-column: 1 / -1; }
  .b9-footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .b9-grid--2, .b9-grid--3, .b9-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .b9-btn { padding: 12px 20px; font-size: 14px; }
  .b9-media { border-radius: 22px; }
}

@media (max-width: 430px) {
  .b9-brand__sub { display: none; }
  .b9-capsule--cta { padding: 8px 14px; font-size: 12.5px; }
  .b9-footer__inner { grid-template-columns: 1fr; }
  .b9-footer__note { font-size: 12px; }
}

/* ---------- 9. 无障碍偏好 ---------- */
@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;
  }
  .b9-capsule--cta:hover,
  .b9-btn:hover,
  .b9-fab:hover,
  .b9-brand:hover .b9-brand__seal { transform: none; }
}
