/* ==========================================================================
   乐鱼体育赛场 · 共享外壳样式 /assets/site.css
   堆叠面板式布局 · 框架式导航 · 水下赛场与电子记分牌
   ========================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

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

a { color: inherit; }

/* ---------- 变量 ---------- */
:root {
  --navy: #0B1D3A;
  --navy-deep: #061223;
  --navy-night: #050f1e;
  --navy-panel: #0F2547;
  --water: #00B4D8;
  --aqua: #00F5D4;
  --coral: #FF6B35;
  --ivory: #F2EFE6;
  --sand: #FBF8F1;
  --rock: #55606E;
  --moss: #4C6355;
  --clay: #C4785A;
  --mist: #A8C6D8;

  --rail: 88px;
  --bar: 64px;
  --gutter: 64px;
  --content-max: 1280px;

  --radius-a: 28px;
  --radius-b: 36px;
  --radius-c: 48px;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础与背景分区 ---------- */
body {
  padding-left: var(--rail);
  padding-top: var(--bar);
  background-color: var(--navy);
  background-image:
    radial-gradient(120% 80% at 8% 0%, rgba(0, 180, 216, .16), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(0, 245, 212, .10), transparent 62%);
  background-attachment: fixed;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 右侧刻度线装饰带 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 180, 216, .55) 0 1px,
    transparent 1px 34px
  );
  opacity: .45;
  pointer-events: none;
  z-index: 1;
}

/* 左侧水体波纹装饰 */
body::after {
  content: "";
  position: fixed;
  left: var(--rail);
  top: var(--bar);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 0 0, rgba(0, 245, 212, .12), transparent 66%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- 中文排版与通用文本 ---------- */
.mono,
.eyebrow,
.pill,
.frame-rail__meta,
.frame-rail__label,
.season-slider__value,
.season-strip__label,
.season-strip__value,
.brand__mark,
.brand__sub,
.footer-brand__mark,
.footer-col__title,
.footer-compliance,
.breadcrumbs,
.media-frame__caption,
.stat-block__value,
.stat-block__label,
.data-table thead th,
.data-table .num {
  font-family: var(--font-mono);
  letter-spacing: .08em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aqua);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.display-title {
  font-weight: 300;
  font-size: clamp(38px, 6.2vw, 104px);
  line-height: 1.04;
  letter-spacing: .02em;
  margin: .18em 0 .3em;
}

.section-title {
  font-weight: 700;
  font-size: clamp(23px, 2.6vw, 34px);
  line-height: 1.28;
  letter-spacing: .01em;
}

.lede {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
  color: var(--mist);
  max-width: 62ch;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
}

.prose p { margin-bottom: 1.1em; }

.prose h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.6em 0 .6em;
}

.prose ul {
  list-style: disc;
  padding-left: 1.3em;
  margin-bottom: 1.1em;
}

.prose li { margin-bottom: .4em; }

/* ---------- 焦点样式 ---------- */
:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(0, 245, 212, .22);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: calc(var(--rail) + 16px);
  top: -90px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--coral);
  color: #1b0a04;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}

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

/* ==========================================================================
   头部外壳
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 60;
}

/* ---------- 左侧框架栏 ---------- */
.frame-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0 20px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 46%, #061223 100%);
  border-right: 1px solid rgba(0, 180, 216, .35);
  z-index: 60;
}

.frame-rail__seasons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 2vh;
}

.frame-rail__label {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mist);
}

.season-slider {
  position: relative;
  display: block;
  width: 46px;
  height: 34vh;
  min-height: 150px;
}

.season-slider__track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34vh;
  min-width: 150px;
  height: 28px;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.season-slider__track::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 180, 216, .35), rgba(0, 180, 216, .9) 55%, var(--aqua));
}

.season-slider__track::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--aqua);
  border: 2px solid #04101f;
  box-shadow: 0 0 0 5px rgba(0, 245, 212, .18);
}

.season-slider__track::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 180, 216, .35), rgba(0, 180, 216, .9) 55%, var(--aqua));
}

.season-slider__track::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--aqua);
  border: 2px solid #04101f;
  box-shadow: 0 0 0 5px rgba(0, 245, 212, .18);
}

.season-slider__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--aqua);
  letter-spacing: .12em;
}

.frame-rail__meta {
  writing-mode: vertical-rl;
  max-height: 24vh;
  overflow: hidden;
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: rgba(168, 198, 216, .62);
  margin: auto 0;
}

.frame-rail__progress {
  display: flex;
  width: 4px;
  height: 88px;
  border-radius: 999px;
  background: rgba(0, 180, 216, .16);
  overflow: hidden;
}

.scroll-progress {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--aqua), var(--water));
  transform: scaleY(0);
  transform-origin: top center;
}

.to-top {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, .5);
  background: rgba(0, 180, 216, .12);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out), background .2s ease;
}

.to-top[data-shown="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.to-top:hover {
  background: rgba(0, 180, 216, .26);
  transform: translateY(-3px);
}

.to-top__text { display: block; }

/* ---------- 顶部品牌条 ---------- */
.brand-bar {
  position: fixed;
  top: 0;
  left: var(--rail);
  right: 0;
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: rgba(6, 17, 34, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 180, 216, .32);
  z-index: 55;
}

.brand-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), transparent);
}

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

.brand__mark {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--aqua);
  background: linear-gradient(120deg, rgba(0, 180, 216, .22), rgba(0, 245, 212, .14));
  border: 1px solid rgba(0, 180, 216, .5);
}

.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand__sub {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--mist);
  opacity: .72;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav__item { display: block; }

.main-nav__link {
  position: relative;
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.main-nav__link:hover {
  color: var(--ivory);
  background: rgba(0, 180, 216, .12);
}

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

.main-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
}

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

.site-search {
  position: relative;
  width: 208px;
}

.site-search__input {
  width: 100%;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, .42);
  background: rgba(0, 180, 216, .08);
  color: var(--ivory);
  font-size: 13px;
  transition: border-color .2s ease, background-color .2s ease;
}

.site-search__input::placeholder {
  color: rgba(168, 198, 216, .72);
}

.site-search__input:focus {
  border-color: var(--aqua);
  background: rgba(0, 180, 216, .14);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--coral), #ff8f63);
  color: #1b0a04;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s ease;
}

.cta-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 53, .34);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, .5);
  background: rgba(0, 180, 216, .12);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ivory);
  transform: translateX(-50%);
  transition: transform .25s var(--ease-out), opacity .25s ease;
}

.nav-toggle__bars { top: 50%; margin-top: -1px; }

.nav-toggle__bars::before { content: ""; top: -6px; }

.nav-toggle__bars::after { content: ""; top: 6px; }

.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }

.site-header[data-open="true"] .nav-toggle__bars::before {
  transform: translate(-50%, 6px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars::after {
  transform: translate(-50%, -6px) rotate(-45deg);
}

/* ---------- 小屏赛季胶囊条（桌面隐藏） ---------- */
.season-strip { display: none; }

/* ==========================================================================
   通用版式组件
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 96px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.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(28px, 4vw, 48px);
  border-radius: var(--radius-b);
  border: 1px solid rgba(0, 180, 216, .22);
  background: var(--navy-panel);
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, .14), transparent 68%);
  pointer-events: none;
}

.panel > * { position: relative; z-index: 1; }

.panel--radius-a { border-radius: var(--radius-a); }
.panel--radius-c { border-radius: var(--radius-c); }

.panel--light {
  background: var(--sand);
  color: var(--navy);
  border-color: rgba(11, 29, 58, .14);
}

.panel--light::after {
  background: radial-gradient(circle, rgba(0, 180, 216, .14), transparent 68%);
}

.panel--light .lede { color: #42505f; }
.panel--light .eyebrow { color: #0e6b81; }
.panel--light .section-title { color: var(--navy); }
.panel--light .mono { color: #35414f; }

.panel--moss {
  background: linear-gradient(140deg, #3a4d41 0%, var(--moss) 52%, #2f4237 100%);
  border-color: rgba(242, 239, 230, .18);
  color: var(--sand);
}

.panel--moss .lede { color: rgba(251, 248, 241, .82); }

.panel--terra {
  background: linear-gradient(140deg, #8f5638 0%, var(--clay) 58%, #a5654a 100%);
  border-color: rgba(255, 255, 255, .2);
  color: #2a1409;
}

.panel--terra .lede { color: rgba(42, 20, 9, .82); }
.panel--terra .eyebrow { color: #3d1c0c; }
.panel--terra::after {
  background: radial-gradient(circle, rgba(255, 107, 53, .22), transparent 68%);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--coral), #ff8f63);
  color: #1b0a04;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 53, .34);
}

.btn--ghost {
  border-color: rgba(0, 180, 216, .55);
  background: transparent;
  color: var(--ivory);
}

.btn--ghost:hover {
  background: rgba(0, 180, 216, .14);
}

.btn--light {
  border-color: rgba(11, 29, 58, .32);
  background: transparent;
  color: var(--navy);
}

.btn--light:hover {
  background: rgba(11, 29, 58, .06);
}

/* ---------- 胶囊标签 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, .45);
  background: rgba(0, 180, 216, .08);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: .12em;
}

.pill--hit {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #04211d;
  font-weight: 700;
}

.pill--clay {
  background: rgba(196, 120, 90, .22);
  border-color: rgba(196, 120, 90, .6);
  color: #f3ddd2;
}

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

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  opacity: .45;
}

.breadcrumbs__link {
  text-decoration: none;
  color: var(--mist);
  transition: color .2s ease;
}

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

.breadcrumbs__current { color: var(--ivory); }

/* ---------- 索引导航 ---------- */
.toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.toc__link::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: rgba(168, 198, 216, .5);
  transition: width .2s ease, background-color .2s ease;
}

.toc__link:hover {
  color: var(--ivory);
  background: rgba(0, 180, 216, .1);
}

.toc__link[aria-current="true"] { color: var(--ivory); }

.toc__link[aria-current="true"]::before {
  width: 28px;
  background: var(--aqua);
}

.panel--light .toc__link { color: #4a5766; }
.panel--light .toc__link:hover { color: var(--navy); background: rgba(0, 180, 216, .12); }
.panel--light .toc__link[aria-current="true"] { color: var(--navy); }
.panel--light .toc__link::before { background: rgba(11, 29, 58, .28); }

/* ---------- 数据块 ---------- */
.stat-block {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 26px;
  border-radius: var(--radius-a);
  border: 1px solid rgba(0, 180, 216, .45);
  background: linear-gradient(150deg, rgba(0, 180, 216, .18), rgba(0, 245, 212, .07));
}

.stat-block__value {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--aqua);
  letter-spacing: .02em;
}

.stat-block__label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}

.stat-block--float {
  transform: translate(32px, -24px);
  z-index: 2;
}

.panel--light .stat-block {
  border-color: rgba(11, 29, 58, .18);
  background: linear-gradient(150deg, rgba(0, 180, 216, .18), rgba(11, 29, 58, .04));
}

.panel--light .stat-block__value { color: #0a6d84; }
.panel--light .stat-block__label { color: #4a5766; }

/* ---------- 表格 ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-a);
  background: linear-gradient(90deg, rgba(0, 180, 216, .14), transparent 22%) no-repeat left / 12px 100%;
}

.table-scroll table { min-width: 680px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 180, 216, .18);
}

.data-table thead th {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}

.data-table tbody tr:nth-child(even) { background: rgba(85, 96, 110, .16); }

.data-table tbody tr:hover { background: rgba(0, 180, 216, .12); }

.data-table .num { text-align: right; }

.panel--light .data-table th,
.panel--light .data-table td { border-color: rgba(11, 29, 58, .14); }

.panel--light .data-table thead th { color: #4a5766; }

.panel--light .data-table tbody tr:nth-child(even) { background: rgba(11, 29, 58, .045); }

.panel--light .data-table tbody tr:hover { background: rgba(0, 180, 216, .16); }

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-b);
  border: 1px solid rgba(0, 180, 216, .3);
  background: linear-gradient(150deg, #0f2547, #123257 60%, #0d1f3c);
  overflow: hidden;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 180, 216, .16) 0 1px,
    transparent 1px 9px
  );
  opacity: .5;
  z-index: 0;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.media-frame__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.panel--light .media-frame {
  border-color: rgba(11, 29, 58, .16);
  background: linear-gradient(150deg, #dbe7ee, #c9dbe6);
}

.panel--light .media-frame__caption { color: #42505f; }

/* ---------- 检索过滤命中态 ---------- */
[data-search-item][data-hit="false"] { display: none; }

[data-search-item][data-hit="true"] {
  background: rgba(0, 245, 212, .14);
  border-radius: 12px;
}

.panel--light [data-search-item][data-hit="true"] {
  background: rgba(0, 180, 216, .2);
}

/* ---------- 落位动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal][data-visible="true"] {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s var(--ease-out);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 9vw, 140px);
  padding-top: clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, #071429 0%, var(--navy-night) 100%);
  border-top: 1px solid rgba(0, 180, 216, .35);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), transparent);
}

.footer-grid {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand__mark {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, .5);
  background: rgba(0, 180, 216, .12);
  color: var(--aqua);
  font-size: 12px;
  letter-spacing: .2em;
  text-decoration: none;
}

.footer-brand__line {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 32ch;
}

.footer-brand__note {
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(168, 198, 216, .7);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col__title {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aqua);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list__link {
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-list__link:hover { color: var(--ivory); }

.footer-contact { gap: 12px; }

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
}

.footer-contact__label {
  flex: 0 0 auto;
  padding: 1px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 216, .4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--aqua);
}

.footer-compliance {
  width: 100%;
  max-width: var(--content-max);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid rgba(0, 180, 216, .18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(168, 198, 216, .86);
}

.footer-copyright { color: var(--mist); }

.footer-legal {
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(85, 96, 110, .22);
  color: var(--mist);
}

.footer-compliance .footer-list__link { font-size: 12px; letter-spacing: .1em; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1240px) {
  .site-search { width: 158px; }
  .brand__sub { display: none; }
  .main-nav__link { padding: 10px 10px; font-size: 13.5px; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--bar);
    left: var(--rail);
    right: 0;
    display: block;
    padding: 14px 20px 26px;
    background: rgba(6, 17, 34, .98);
    border-bottom: 1px solid rgba(0, 180, 216, .35);
    max-height: calc(100vh - var(--bar));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s var(--ease-out), visibility .25s linear;
  }

  .site-header[data-open="true"] .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav__link {
    padding: 14px 14px;
    border-radius: 16px;
    font-size: 16px;
  }

  .main-nav__link[aria-current="page"] {
    background: rgba(0, 180, 216, .12);
  }

  .main-nav__link[aria-current="page"]::after {
    left: 14px;
    right: auto;
    width: 20px;
    bottom: 10px;
  }
}

@media (max-width: 900px) {
  :root { --rail: 0px; --gutter: 32px; }

  body { padding-bottom: 68px; }

  .frame-rail { display: none; }

  .brand-bar { padding: 0 18px; gap: 12px; }

  .season-strip {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 18px;
    background: rgba(6, 17, 34, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 180, 216, .35);
    z-index: 58;
  }

  .season-strip__label {
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--mist);
  }

  .season-strip__track {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
  }

  .season-strip__track::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 180, 216, .35), rgba(0, 180, 216, .9) 55%, var(--aqua));
  }

  .season-strip__track::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--aqua);
    border: 2px solid #04101f;
  }

  .season-strip__track::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 180, 216, .35), rgba(0, 180, 216, .9) 55%, var(--aqua));
  }

  .season-strip__track::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--aqua);
    border: 2px solid #04101f;
  }

  .season-strip__value {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--aqua);
  }

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

  .stat-block--float { transform: none; }

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

@media (max-width: 720px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; }

  .site-search { display: none; }

  .brand-bar { padding: 0 14px; gap: 10px; }

  .brand__name { font-size: 15px; }

  .cta-pill { padding: 0 14px; font-size: 12px; }

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

  .footer-compliance { gap: 8px 16px; }
}

@media (max-width: 420px) {
  .brand__name { display: none; }
}

/* ==========================================================================
   降低动态效果
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .to-top:hover { transform: none; }

  .cta-pill:hover,
  .btn--primary:hover { transform: none; }
}
