/* ============================================================
   新2投注网 — 共享样式表 /assets/site.css
   结构：reset / 变量 / 排版 / 头部 / 页脚 / 通用组件 / 响应式 / 动效降级
   ============================================================ */

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

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

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

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

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

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

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

button { background: none; border: 0; padding: 0; cursor: pointer; }

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #071320;
  --ink-800: #0D1F33;
  --ink-700: #16324D;

  --cyan-400: #2FE3DA;
  --cyan-200: #A8FFF8;
  --amber-400: #F2A93B;

  --fog-300: #B9C8D6;
  --white: #FFFFFF;

  --sz: #5AA9FF;
  --cd: #B98CFF;
  --gz: #FF8A5B;
  --szh: #57E39B;

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

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shell: 1280px;
  --edge: 1px solid var(--ink-700);
  --shadow-card: 0 26px 60px -44px rgba(0, 0, 0, 0.95);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--fog-300);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 560px at 10% -10%, rgba(47, 227, 218, 0.10), transparent 62%),
    radial-gradient(900px 480px at 96% 2%, rgba(242, 169, 59, 0.07), transparent 62%);
  background-repeat: no-repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--white);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(34px, 5vw, 68px); line-height: 1.08; font-weight: 900; }
h2 { font-size: clamp(24px, 3vw, 40px); line-height: 1.18; }
h3 { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.5; letter-spacing: 0; }

strong, b { color: var(--white); font-weight: 700; }

::selection { background: var(--cyan-400); color: var(--ink-900); }

:focus-visible { outline: 2px solid var(--cyan-200); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4. 通用工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.grid-texture {
  background-image:
    repeating-linear-gradient(90deg, rgba(47, 227, 218, 0.055) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(47, 227, 218, 0.055) 0 1px, transparent 1px 40px);
}

.page { padding-block: clamp(32px, 5vw, 64px); }

.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.1em; line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin-block: 1.6em 0.6em; }
.prose h3 { margin-block: 1.4em 0.5em; }
.prose a { color: var(--cyan-200); border-bottom: 1px solid rgba(168, 255, 248, 0.3); }
.prose a:hover { color: var(--white); border-color: var(--white); }

/* ---------- 5. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  left: clamp(16px, 4vw, 40px);
  top: -120px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--cyan-400);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px -16px rgba(47, 227, 218, 0.9);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 6. 阅读进度条 ---------- */
.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-400) 0%, var(--cyan-200) 55%, var(--amber-400) 100%);
  box-shadow: 0 0 14px rgba(47, 227, 218, 0.7);
}

/* ---------- 7. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(7, 19, 32, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-700);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(47, 227, 218, 0.5), rgba(242, 169, 59, 0.35), transparent);
}

.top-strip {
  background: linear-gradient(90deg, rgba(47, 227, 218, 0.12), rgba(13, 31, 51, 0) 45%, rgba(242, 169, 59, 0.12));
  border-bottom: 1px solid var(--ink-700);
}

.top-strip__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding-block: 7px;
}

.top-strip__pulse {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(47, 227, 218, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(47, 227, 218, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 227, 218, 0); }
}

.top-strip__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fog-300);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-strip__meta {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--amber-400);
}

/* 刊头 */
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "cities brand actions";
  align-items: center;
  column-gap: 16px;
  padding-block: clamp(14px, 2vw, 20px);
}

.masthead__cities {
  grid-area: cities;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.city-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fog-300);
  opacity: 0.85;
}

.city-dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.city-dot--sz  { color: var(--sz); }
.city-dot--cd  { color: var(--cd); }
.city-dot--gz  { color: var(--gz); }
.city-dot--szh { color: var(--szh); }

.masthead__brand {
  grid-area: brand;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  border-radius: var(--r-md);
}

.masthead__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(47, 227, 218, 0.45);
  background: linear-gradient(150deg, rgba(47, 227, 218, 0.22), rgba(47, 227, 218, 0.04));
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-200);
}

.masthead__words { display: flex; flex-direction: column; line-height: 1.15; }

.masthead__name {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}

.masthead__tagline {
  margin-top: 3px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--fog-300);
  opacity: 0.8;
  white-space: nowrap;
}

.masthead__actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.masthead__cta { flex: 0 0 auto; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ink-700);
  background: rgba(13, 31, 51, 0.85);
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover { border-color: rgba(47, 227, 218, 0.5); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--cyan-200);
  transition: background-color 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--cyan-200);
  transition: transform 0.22s ease, top 0.22s ease;
}

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

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

/* 主导航 */
.site-nav {
  position: relative;
  border-top: 1px solid var(--ink-700);
  background: linear-gradient(180deg, rgba(13, 31, 51, 0.35), rgba(7, 19, 32, 0));
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fog-300);
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.site-nav__link:hover {
  color: var(--white);
  background: rgba(47, 227, 218, 0.08);
  border-color: rgba(47, 227, 218, 0.28);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
  opacity: 0.75;
}

.site-nav__link[aria-current="page"] {
  color: var(--ink-900);
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  font-weight: 800;
  box-shadow: 0 12px 28px -18px rgba(47, 227, 218, 0.95);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--ink-900);
  opacity: 0.7;
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn--amber {
  background: var(--amber-400);
  color: #241703;
  box-shadow: 0 16px 34px -24px rgba(242, 169, 59, 1);
}
.btn--amber:hover { background: #FFBE5C; }

.btn--cyan { background: var(--cyan-400); color: var(--ink-900); }
.btn--cyan:hover { background: var(--cyan-200); }

.btn--ghost {
  background: rgba(13, 31, 51, 0.7);
  border-color: var(--ink-700);
  color: var(--cyan-200);
}
.btn--ghost:hover { border-color: var(--cyan-400); color: var(--white); }

.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: linear-gradient(180deg, var(--ink-900) 0%, #050C15 100%);
  border-top: 1px solid var(--ink-700);
}

.footer-spectrum {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--sz) 0%, var(--cd) 34%, var(--gz) 67%, var(--szh) 100%);
  opacity: 0.9;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(42px, 6vw, 76px);
}

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

.footer-brand__name {
  display: inline-block;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
}

.footer-brand__tagline {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--fog-300);
  opacity: 0.85;
}

.footer-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.chip--sz  { color: var(--sz); }
.chip--cd  { color: var(--cd); }
.chip--gz  { color: var(--gz); }
.chip--szh { color: var(--szh); }

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

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ink-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan-200);
}

.footer-col__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(185, 200, 214, 0.5);
}

.footer-nav li + li { margin-top: 4px; }

.footer-nav a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--fog-300);
  transition: color 0.16s ease;
}
.footer-nav a:hover { color: var(--cyan-400); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 28px;
  padding-block: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--ink-700);
}

.footer-contact__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
}

.footer-contact__label {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(47, 227, 218, 0.22);
  background: rgba(47, 227, 218, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan-200);
}

.footer-contact__value { color: var(--fog-300); word-break: break-word; }

.footer-service {
  max-width: 88ch;
  padding-bottom: 22px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(185, 200, 214, 0.78);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--ink-700);
  font-size: 12.5px;
  color: rgba(185, 200, 214, 0.72);
}

.footer-legal {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ---------- 10. 通用组件 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fog-300);
}

.breadcrumbs a {
  color: var(--cyan-200);
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(168, 255, 248, 0.28);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.breadcrumbs a:hover { color: var(--white); border-color: var(--white); }

.breadcrumbs__sep {
  font-family: var(--font-mono);
  color: rgba(185, 200, 214, 0.4);
}

.breadcrumbs [aria-current="page"] { color: rgba(185, 200, 214, 0.85); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.section-head__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.section-head__title { margin: 0; }

.section-head__note {
  max-width: 46ch;
  font-size: 14.5px;
  color: var(--fog-300);
}

.layout-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.layout-split__aside { grid-column: span 2; min-width: 0; }
.layout-split__main  { grid-column: span 10; min-width: 0; }

.section-index {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-index__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--fog-300);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.section-index__link:hover { color: var(--white); background: rgba(47, 227, 218, 0.06); }
.section-index__link.is-active {
  color: var(--cyan-400);
  border-left-color: var(--cyan-400);
  background: rgba(47, 227, 218, 0.09);
  font-weight: 700;
}

.tag-matrix { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-700);
  background: rgba(13, 31, 51, 0.6);
  font-size: 14px;
  font-weight: 500;
  color: var(--fog-300);
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.tag:hover { color: var(--white); border-color: rgba(47, 227, 218, 0.45); }

.tag.is-active,
.tag[aria-pressed="true"] {
  color: var(--ink-900);
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  font-weight: 800;
}

.tag--sz[aria-pressed="true"]  { background: var(--sz);  border-color: var(--sz);  color: #03192F; }
.tag--cd[aria-pressed="true"]  { background: var(--cd);  border-color: var(--cd);  color: #1B0B33; }
.tag--gz[aria-pressed="true"]  { background: var(--gz);  border-color: var(--gz);  color: #2A0F04; }
.tag--szh[aria-pressed="true"] { background: var(--szh); border-color: var(--szh); color: #04200F; }

.tag__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-700);
  background: linear-gradient(160deg, rgba(13, 31, 51, 0.95), rgba(9, 23, 38, 0.9));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 227, 218, 0.4);
  box-shadow: 0 32px 66px -44px rgba(0, 0, 0, 1);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--cyan-200);
}

.card__title {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
}

.card__text { font-size: 14.8px; line-height: 1.8; color: var(--fog-300); }

.card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.frame {
  position: relative;
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(13, 31, 51, 0.85), rgba(7, 19, 32, 0.6));
}

.frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(47, 227, 218, 0.16);
  border-radius: calc(var(--r-xl) - 10px);
  pointer-events: none;
}

.frame__ticks { position: absolute; inset: 0; pointer-events: none; }

.frame__ticks::before,
.frame__ticks::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px;
  height: 8px;
  opacity: 0.45;
  background: repeating-linear-gradient(90deg, var(--cyan-400) 0 1px, transparent 1px 14px);
}
.frame__ticks::before { top: 0; }
.frame__ticks::after  { bottom: 0; }

.data-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-700);
  background: rgba(13, 31, 51, 0.55);
}

.data-bar__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cyan-200);
}

.data-bar__label { font-size: 13.5px; color: var(--fog-300); }

.slash-band {
  position: relative;
  margin-block: clamp(28px, 4vw, 52px);
  padding-block: clamp(20px, 3vw, 32px);
  border-block: 1px solid var(--ink-700);
}

.slash-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  pointer-events: none;
  transform: skewY(-1.6deg);
  background: linear-gradient(100deg, rgba(47, 227, 218, 0.13), rgba(7, 19, 32, 0) 46%, rgba(242, 169, 59, 0.12));
}

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

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-700);
  background-color: var(--ink-800);
  background-image:
    linear-gradient(160deg, rgba(47, 227, 218, 0.09), rgba(7, 19, 32, 0) 55%),
    repeating-linear-gradient(90deg, rgba(47, 227, 218, 0.06) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(47, 227, 218, 0.06) 0 1px, transparent 1px 32px);
  aspect-ratio: 16 / 10;
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide   { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall   { aspect-ratio: 3 / 4; }

.media-frame__caption {
  position: absolute;
  left: 14px; bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-700);
  background: rgba(7, 19, 32, 0.82);
  font-size: 12px;
  line-height: 1.5;
  color: var(--cyan-200);
}

.media-frame__badge {
  position: absolute;
  left: 14px; top: 14px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--amber-400);
  color: #241703;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1100px) {
  html { scroll-padding-top: 128px; }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions";
    column-gap: 12px;
  }

  .masthead__cities { display: none; }
  .masthead__brand { justify-self: start; }

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

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: 5;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    border-top: 1px solid var(--ink-700);
    border-bottom: 1px solid var(--ink-700);
    background: rgba(9, 24, 40, 0.985);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: max-height 0.3s ease, opacity 0.24s ease, visibility 0.24s ease;
  }

  .site-header[data-open] .site-nav {
    max-height: min(76vh, 560px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .site-nav .shell { padding-block: 14px 22px; }

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

  .site-nav__link {
    justify-content: flex-start;
    padding: 13px 18px;
    border-radius: var(--r-md);
    border-color: var(--ink-700);
    background: rgba(13, 31, 51, 0.65);
  }

  .layout-split { grid-template-columns: minmax(0, 1fr); }
  .layout-split__aside,
  .layout-split__main { grid-column: auto; }

  .section-index {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .section-index__link {
    border-left: 0;
    border: 1px solid var(--ink-700);
    border-radius: var(--r-pill);
    white-space: nowrap;
    padding: 7px 14px;
  }

  .section-index__link.is-active { border-color: var(--cyan-400); }
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 112px; }

  .masthead__tagline { display: none; }
  .masthead__mark { width: 34px; height: 34px; border-radius: 10px; font-size: 12.5px; }
  .masthead__name { font-size: 19px; }
  .masthead__cta { padding: 9px 14px; font-size: 13px; }
  .nav-toggle { width: 42px; height: 42px; }

  .top-strip__meta { display: none; }
  .top-strip__text { white-space: normal; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 12. 动效降级 ---------- */
@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;
  }

  .top-strip__pulse {
    animation: none;
    box-shadow: 0 0 0 3px rgba(47, 227, 218, 0.25);
  }

  .card:hover { transform: none; }
  .slash-band::before { transform: none; }
}
