/* ==========================================================================
   云开体育主站 · 共享样式表 /assets/site.css
   SITE KIT — 夜场赛场指挥中心 / 深空底 + 荧光青 + 电光橙
   ========================================================================== */

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

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

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

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

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

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --bg: #060b14;
  --panel: #0d1526;
  --panel-2: #16213a;
  --slot: #0b2f2c;
  --violet: #241436;
  --teal: #00e5c4;
  --orange: #ff6b1a;
  --ok: #3be08a;
  --silver: #b9c6d8;
  --ink: #d5deea;
  --muted: #7c8ca3;

  --line: rgba(185, 198, 216, 0.16);
  --line-strong: rgba(185, 198, 216, 0.36);
  --line-teal: rgba(0, 229, 196, 0.42);

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --font-narrow: "Helvetica Neue", "Arial Narrow", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono",
    Consolas, "Courier New", monospace;

  --shadow-lift: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --cut-panel: polygon(
    0 16px,
    16px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%
  );
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(185, 198, 216, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(185, 198, 216, 0.03) 1px, transparent 1px),
    radial-gradient(1100px 620px at 80% -10%, rgba(0, 229, 196, 0.1), transparent 64%),
    radial-gradient(760px 520px at 4% 6%, rgba(255, 107, 26, 0.06), transparent 62%);
  background-size:
    72px 72px,
    72px 72px,
    auto,
    auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-narrow);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-stretch: condensed;
}

h1 {
  font-size: clamp(30px, 5vw, 44px);
}

h2 {
  font-size: clamp(22px, 3.2vw, 28px);
}

h3 {
  font-size: 19px;
}

p {
  max-width: 74ch;
}

::selection {
  background: rgba(0, 229, 196, 0.28);
  color: #eafffb;
}

#main-content {
  display: block;
  scroll-margin-top: 120px;
}

/* 通用文本工具 */
.mono,
.mono-tag {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.mono-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal);
  border: 1px solid var(--line-teal);
  padding: 1px 6px;
  background: rgba(0, 229, 196, 0.06);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.6em;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.lede {
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink);
}

.note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

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

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 200;
  padding: 10px 18px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 14px;
  color: #04211d;
  background: var(--teal);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: top 0.18s var(--ease);
}

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

/* ---------- 6. 头部：双层信息导航 ---------- */
.sky-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(
    180deg,
    rgba(6, 11, 20, 0.97) 0%,
    rgba(6, 11, 20, 0.86) 100%
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* 上层：品牌横条 */
.header-rail__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding-block: 8px;
  transition: min-height 0.16s var(--ease), padding 0.16s var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand__mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--teal), rgba(0, 229, 196, 0));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--bg);
  clip-path: inherit;
}

.brand__name {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__ver {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--teal);
  border: 1px solid var(--line-teal);
  padding: 0 5px;
  line-height: 1.6;
  background: rgba(0, 229, 196, 0.07);
}

.header-rail__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.header-rail__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--teal);
  text-decoration: none;
  padding: 7px 13px;
  border: 1px solid var(--line-teal);
  background: rgba(0, 229, 196, 0.07);
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.header-rail__cta:hover {
  background: rgba(0, 229, 196, 0.18);
  border-color: var(--teal);
  color: #eafffb;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  width: 14px;
  height: 12px;
  flex: 0 0 auto;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--teal);
  transition: transform 0.18s var(--ease);
}

.nav-toggle__bars::before {
  top: 2px;
}

.nav-toggle__bars::after {
  bottom: 2px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

/* 下层：栏目轨道 */
.header-nav {
  position: relative;
  border-top: 1px solid rgba(185, 198, 216, 0.09);
}

.header-nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 15px 15px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s var(--ease), padding 0.16s var(--ease),
    font-size 0.16s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  background: var(--teal);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 0.2s var(--ease);
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-list a:hover::after {
  transform: translateY(-50%) scaleY(1);
}

.nav-list a[aria-current="page"] {
  color: var(--teal);
}

.nav-list a[aria-current="page"]::after {
  transform: translateY(-50%) scaleY(1);
  box-shadow: 0 0 12px rgba(0, 229, 196, 0.75);
}

/* 滚动进度信号线 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  box-shadow: 0 0 12px rgba(0, 229, 196, 0.6);
  transition: width 0.08s linear;
}

/* 滚动后的压缩态 */
.sky-header.is-condensed .header-rail__inner {
  min-height: 34px;
  padding-block: 5px;
}

.sky-header.is-condensed .nav-list a {
  padding-block: 9px;
  font-size: 13px;
}

/* ---------- 7. 页脚 ---------- */
.sky-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(
      165deg,
      #0b2f2c 0%,
      #08182a 46%,
      #060b14 100%
    );
}

.sky-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    rgba(185, 198, 216, 0.07) 1px,
    transparent 1px
  );
  background-size: 64px 100%;
  opacity: 0.5;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(38px, 6vw, 68px) clamp(24px, 4vw, 44px);
}

.footer-col {
  min-width: 0;
}

.footer-col--nav {
  margin-top: 20px;
}

.footer-col--contact {
  margin-top: 42px;
}

.brand--footer {
  margin-bottom: 14px;
}

.footer-brand-note {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 34ch;
}

.footer-brand-meta {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-title:not(:first-child) {
  margin-top: 24px;
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list a {
  display: inline-block;
  position: relative;
  padding-left: 14px;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.16s var(--ease), padding-left 0.16s var(--ease);
}

.footer-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--line-strong);
  transition: width 0.16s var(--ease), background 0.16s var(--ease);
}

.footer-list a:hover {
  color: var(--teal);
  padding-left: 18px;
}

.footer-list a:hover::before {
  width: 10px;
  background: var(--teal);
}

.contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  margin-bottom: 11px;
  max-width: 100%;
}

.contact-line__key {
  flex: 0 0 auto;
  width: 42px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-line a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 196, 0.34);
  word-break: break-all;
  transition: border-color 0.16s var(--ease);
}

.contact-line a:hover {
  border-bottom-color: var(--teal);
}

.contact-line .mono {
  font-size: 14.5px;
  letter-spacing: 0.04em;
}

.footer-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 32ch;
}

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(185, 198, 216, 0.12);
  padding-block: 16px 24px;
}

.footer-base__item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: none;
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  color: #04211d;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(0, 229, 196, 0.85);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
  box-shadow: none;
}

.btn--signal {
  color: #1a0a02;
  background: var(--orange);
}

.btn--signal:hover {
  box-shadow: 0 12px 26px -14px rgba(255, 107, 26, 0.9);
}

/* ---------- 9. Bento 网格与面板 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento > * {
  min-width: 0;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-12 {
  grid-column: span 12;
}

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  border: 1px solid rgba(185, 198, 216, 0.1);
  clip-path: var(--cut-panel);
}

.panel--slot {
  background: linear-gradient(150deg, #0b2f2c 0%, rgba(11, 47, 44, 0.42) 100%);
  border-color: rgba(0, 229, 196, 0.18);
}

.panel--violet {
  background: linear-gradient(150deg, #241436 0%, rgba(36, 20, 54, 0.45) 100%);
  border-color: rgba(185, 198, 216, 0.16);
}

.lift {
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.lift:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

/* ---------- 10. 状态与信号 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.stat__value--signal {
  color: var(--orange);
}

.stat__value--ok {
  color: var(--ok);
}

.stat__unit {
  font-size: 0.42em;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid rgba(185, 198, 216, 0.18);
  background: rgba(22, 33, 58, 0.5);
}

.chip--teal {
  color: var(--teal);
  border-color: var(--line-teal);
  background: rgba(0, 229, 196, 0.07);
}

.chip--signal {
  color: var(--orange);
  border-color: rgba(255, 107, 26, 0.45);
  background: rgba(255, 107, 26, 0.08);
}

.chip--ok {
  color: var(--ok);
  border-color: rgba(59, 224, 138, 0.42);
  background: rgba(59, 224, 138, 0.07);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--teal);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.dot--live {
  animation: sky-pulse 1.6s ease-in-out infinite;
}

@keyframes sky-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(45deg) scale(0.82);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

/* ---------- 11. 赛事时间轴窄栏 ---------- */
.time-rail {
  position: relative;
  padding-left: 20px;
  display: grid;
  gap: 22px;
}

.time-rail::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--teal),
    rgba(0, 229, 196, 0) 62%,
    rgba(185, 198, 216, 0.22)
  );
}

.time-rail__item {
  position: relative;
}

.time-rail__item::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1px solid var(--teal);
  transform: rotate(45deg);
  transition: background 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.time-rail__item.is-active::before {
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0, 229, 196, 0.85);
}

.time-rail__stamp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.time-rail__title {
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- 12. 媒体容器（页面阶段放置图片） ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(185, 198, 216, 0.12);
  background: linear-gradient(140deg, #0d1526 0%, #0b2f2c 58%, #241436 100%);
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.06) brightness(0.92);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(0, 229, 196, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 229, 196, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media--wide {
  aspect-ratio: 21 / 9;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media--fill {
  aspect-ratio: auto;
  height: 100%;
  min-height: 220px;
}

/* ---------- 13. 可展开内容组 ---------- */
.disclosure {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(185, 198, 216, 0.12);
}

.disclosure__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.disclosure__btn:hover {
  background: rgba(0, 229, 196, 0.06);
  color: var(--teal);
}

.disclosure__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.disclosure__icon::before,
.disclosure__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--teal);
  transition: transform 0.2s var(--ease);
}

.disclosure__icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.disclosure__icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.disclosure[data-open] .disclosure__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.disclosure__body {
  height: 0;
  overflow: hidden;
  transition: height 0.18s var(--ease);
}

.disclosure__inner {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
}

.disclosure__inner > * + * {
  margin-top: 0.9em;
}

/* ---------- 14. 面包屑与正文 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(185, 198, 216, 0.35);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  margin-top: 2em;
  font-size: clamp(21px, 2.6vw, 24px);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 18px;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose ul li {
  list-style: none;
  position: relative;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  transform: rotate(45deg);
}

.prose ol {
  list-style: decimal;
}

.prose ol li::marker {
  font-family: var(--font-mono);
  color: var(--teal);
}

.prose a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 196, 0.35);
}

.prose a:hover {
  border-bottom-color: var(--teal);
}

.prose strong {
  color: #eef5ff;
  font-weight: 700;
}

/* ---------- 15. 显现动画 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

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

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1000px) {
  .col-3,
  .col-4,
  .col-5 {
    grid-column: span 6;
  }

  .col-7,
  .col-8 {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .footer-col--nav,
  .footer-col--contact {
    margin-top: 0;
  }
}

@media (min-width: 901px) {
  .nav-list a::after {
    left: 15px;
    right: 15px;
    top: auto;
    bottom: 6px;
    width: auto;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-list a[aria-current="page"]::after {
    transform: translateY(0) scaleX(1);
  }
}

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

  .header-rail__note {
    display: none;
  }

  .header-nav {
    max-height: 0;
    overflow: hidden;
    border-top-color: transparent;
    transition: max-height 0.24s var(--ease), border-color 0.24s var(--ease);
  }

  .header-nav[data-open] {
    max-height: min(74vh, 520px);
    overflow-y: auto;
    border-top-color: var(--line);
  }

  .header-nav__inner {
    display: block;
    padding-block: 6px 18px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }

  .nav-list a {
    padding: 14px 6px 14px 18px;
    font-size: 16px;
    border-bottom: 1px solid rgba(185, 198, 216, 0.08);
  }

  .sky-header.is-condensed .nav-list a {
    padding-block: 14px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .bento {
    gap: 12px;
  }

  .bento > * {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-base {
    justify-content: flex-start;
  }

  .brand__name {
    font-size: 14.5px;
  }

  .header-rail__cta {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .header-rail__cta {
    display: none;
  }
}

/* ---------- 17. 可访问性偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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