/* ============================================================
   完美体育站 · WM PLAY — /assets/site.css
   共享外壳 + 通用组件（页面特色布局由各页专属 CSS 负责）
   ============================================================ */

:root {
  --ink: #0A1428;
  --ink-2: #0F1E3A;
  --cyan: #22D3EE;
  --orange: #FF6B2C;
  --gold: #F5B942;
  --mist: #E8EEF7;
  --mute: #8FA3BF;
  --teal: #0B6F7A;
  --fog: #A5F3FC;
  --black: #060B14;
  --line: rgba(34, 211, 238, 0.16);
  --line-soft: rgba(232, 238, 247, 0.10);
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 14px;
  --radius-organic: 4px 26px 4px 26px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(34, 211, 238, 0.10), transparent 62%),
    radial-gradient(900px 460px at 4% 2%, rgba(11, 111, 122, 0.22), transparent 60%),
    var(--ink);
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mist);
}

h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

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

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: 4px; }

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

a {
  color: var(--cyan);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { color: var(--fog); }

button { font: inherit; }

strong { color: var(--mist); font-weight: 700; }

code, kbd, samp { font-family: var(--font-mono); font-size: 0.94em; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

::selection {
  background: var(--cyan);
  color: #062A31;
}

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

/* ---------- 容器与主区 ---------- */
.mp-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mp-shell--narrow { max-width: 880px; }

.mp-main { display: block; }

/* ---------- 跳转链接 ---------- */
.mp-skip {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 999;
  transform: translate(-50%, -160%);
  background: var(--cyan);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  transition: transform 0.2s var(--ease);
}
.mp-skip:focus,
.mp-skip:focus-visible { transform: translate(-50%, 0); color: var(--black); }

/* ============================================================
   HEADER
   ============================================================ */
.mp-header {
  position: relative;
  background: var(--ink);
}

/* --- 夜场状态带 --- */
.mp-ticker {
  background: var(--black);
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
}

.mp-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.mp-ticker__item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--fog);
  white-space: nowrap;
}

.mp-ticker__meta {
  margin: 0;
  white-space: nowrap;
  color: var(--mute);
}

.mp-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  animation: mp-pulse 2.6s var(--ease) infinite;
}

@keyframes mp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.mp-num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* --- 刊头 --- */
.mp-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: clamp(16px, 2.6vw, 28px);
}

.mp-masthead__issue {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  color: var(--mist);
}
.mp-brand:hover { color: var(--mist); }

.mp-brand__mark {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  padding: 4px 8px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mp-brand:hover .mp-brand__mark {
  color: var(--orange);
  border-color: var(--orange);
}

.mp-brand__text {
  font-size: clamp(19px, 2.5vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.mp-brand__sep { color: var(--orange); }

.mp-masthead__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.mp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.mp-chip--cert {
  border-color: rgba(255, 107, 44, 0.55);
  background: rgba(255, 107, 44, 0.08);
  color: var(--orange);
}

.mp-masthead__link {
  font-size: 12px;
  color: var(--mute);
  border-bottom: 1px dashed rgba(143, 163, 191, 0.5);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mp-masthead__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* --- 导航条 --- */
.mp-navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(15, 30, 58, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mp-navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 60px;
}

.mp-nav { display: block; }

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

.mp-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: #C6D4E8;
  transition: color 0.18s var(--ease);
}

.mp-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}

.mp-nav__link:hover { color: var(--fog); }
.mp-nav__link:hover::after { transform: scaleX(0.5); }

.mp-nav__link[aria-current="page"] { color: var(--cyan); }
.mp-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

/* --- 移动导航按钮 --- */
.mp-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mist);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.mp-navtoggle:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); }

.mp-navtoggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.mp-navtoggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease);
}
.mp-navtoggle[aria-expanded="true"] .mp-navtoggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.mp-navtoggle[aria-expanded="true"] .mp-navtoggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mp-navtoggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mute);
}

.mp-navbar__cta { justify-self: end; }

/* --- 阅读进度 --- */
.mp-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.mp-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: transform 0.1s linear;
}

/* ---------- 按钮 ---------- */
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mp-btn--accent {
  background: var(--orange);
  color: #0A1428;
}
.mp-btn--accent:hover {
  background: #FF824E;
  color: #0A1428;
  transform: translateY(-1px);
}

.mp-btn--ghost {
  background: transparent;
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--cyan);
}
.mp-btn--ghost:hover {
  background: rgba(34, 211, 238, 0.10);
  border-color: var(--cyan);
  color: var(--fog);
}

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

/* ---------- 面包屑 ---------- */
.mp-breadcrumb {
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.mp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-breadcrumb li + li { margin: 0; }
.mp-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(143, 163, 191, 0.5);
}
.mp-breadcrumb a { color: var(--mute); }
.mp-breadcrumb a:hover { color: var(--cyan); }
.mp-breadcrumb [aria-current="page"] { color: var(--fog); }

/* ---------- 编号章节 ---------- */
.mp-section { padding-block: clamp(36px, 6vw, 72px); }

.mp-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(16px, 4vw, 48px);
  align-items: end;
  padding-bottom: 18px;
  margin-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.mp-section__lead { min-width: 0; }

.mp-section__index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.22em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.mp-section__title {
  margin: 0;
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.mp-section__note {
  margin: 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mute);
}

.mp-lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
  color: #C6D4E8;
}

/* ---------- 网格 ---------- */
.mp-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}
.mp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-grid--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); }

/* ---------- 展签卡片 ---------- */
.mp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-organic);
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}

.mp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(34, 211, 238, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.mp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.42);
  background: #10233F;
}
.mp-card:hover::before { opacity: 1; }

.mp-card--report { border-left: 3px solid var(--gold); }

.mp-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.mp-card__title {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.mp-card__score {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.mp-card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--mute);
}

.mp-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mute);
}

/* ---------- 标签 ---------- */
.mp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(232, 238, 247, 0.03);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.mp-tag--cyan {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
}
.mp-tag--orange {
  color: var(--orange);
  border-color: rgba(255, 107, 44, 0.45);
  background: rgba(255, 107, 44, 0.08);
}
.mp-tag--gold {
  color: var(--gold);
  border-color: rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.08);
}

/* ---------- 图片容器（页面阶段放置图片） ---------- */
.mp-media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-organic);
  background: linear-gradient(140deg, #0F1E3A 0%, #0B6F7A 58%, #0A1428 100%);
}

.mp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.09) 0 1px, transparent 1px 26px),
    radial-gradient(110% 80% at 18% 0%, rgba(34, 211, 238, 0.25), transparent 60%);
}

.mp-media img,
.mp-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-media--wide { aspect-ratio: 16 / 7; }
.mp-media--card { aspect-ratio: 16 / 10; }
.mp-media--tall { aspect-ratio: 3 / 4; }

/* ---------- 联赛切换轨 ---------- */
.mp-rail { position: relative; }

.mp-rail__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-rail__list li { margin: 0; }

.mp-rail__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #C6D4E8;
  font-size: 14px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.mp-rail__link:hover {
  background: rgba(11, 111, 122, 0.35);
  color: var(--fog);
}
.mp-rail__link[aria-current="page"],
.mp-rail__link.is-active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--cyan);
}

.mp-rail__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
}

/* ---------- 可展开内容组 ---------- */
.mp-disclosure {
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
}
.mp-disclosure + .mp-disclosure { margin-top: 10px; }

.mp-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--mist);
}
.mp-disclosure summary::-webkit-details-marker { display: none; }
.mp-disclosure summary::after {
  content: "＋";
  font-family: var(--font-mono);
  color: var(--cyan);
  transition: color 0.2s var(--ease);
}
.mp-disclosure[open] summary::after {
  content: "－";
  color: var(--orange);
}

.mp-disclosure__body {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mute);
}

/* ---------- 筛选条 ---------- */
.mp-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-filter__btn {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}
.mp-filter__btn:hover {
  color: var(--fog);
  border-color: rgba(34, 211, 238, 0.4);
}
.mp-filter__btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #062A31;
  font-weight: 700;
}

[data-filter-item][hidden] { display: none !important; }

/* ---------- 渐显 ---------- */
html.mp-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mp-footer {
  margin-top: clamp(40px, 7vw, 88px);
  background: var(--black);
  border-top: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--mute);
}

.mp-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(36px, 5vw, 68px);
}

.mp-footer__brand { min-width: 0; }

.mp-footer__mark {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.mp-footer__word {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.mp-footer__tag {
  margin: 0 0 16px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mute);
}

.mp-footer__note {
  margin: 0;
  max-width: 34ch;
  padding-left: 12px;
  border-left: 2px solid var(--teal);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(143, 163, 191, 0.85);
}

.mp-footer__col { min-width: 0; }

.mp-footer__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.mp-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.7;
}
.mp-footer__list li { margin: 0 0 8px; }
.mp-footer__list li:last-child { margin-bottom: 0; }

.mp-footer__list a {
  color: #C6D4E8;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mp-footer__list a:hover {
  color: var(--cyan);
  border-bottom-color: rgba(34, 211, 238, 0.6);
}

.mp-footer__contact .mp-footer__list {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mute);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.mp-footer__base {
  border-top: 1px solid rgba(232, 238, 247, 0.08);
  background: var(--black);
}

.mp-footer__baseinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(143, 163, 191, 0.85);
}
.mp-footer__baseinner p { margin: 0; }

.mp-footer__legal { color: var(--mute); }

.mp-footer__legalnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-footer__legalnav li { margin: 0; }
.mp-footer__legalnav a { color: var(--mute); }
.mp-footer__legalnav a:hover { color: var(--cyan); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .mp-footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .mp-footer__contact { grid-column: 1 / -1; }
  .mp-footer__contact .mp-footer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
  }
  .mp-footer__contact .mp-footer__list li { margin: 0; }
}

@media (max-width: 1000px) {
  .mp-grid--split { grid-template-columns: minmax(0, 1fr); }
  .mp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-section__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
}

/* --- 移动导航 --- */
@media (max-width: 860px) {
  .mp-ticker__meta { display: none; }

  .mp-masthead {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding-block: 14px;
  }
  .mp-masthead__issue { display: none; }
  .mp-brand { justify-self: start; }
  .mp-masthead__side { justify-self: end; }
  .mp-masthead__link { display: none; }

  .mp-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
  }

  .mp-navtoggle { display: inline-flex; }

  .mp-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    transition: max-height 0.32s var(--ease);
  }
  .mp-nav[data-open="true"] {
    max-height: 72vh;
    overflow-y: auto;
  }

  .mp-nav__list {
    display: block;
    padding: 6px 0 12px;
  }
  .mp-nav__link {
    display: block;
    padding: 13px var(--gutter);
    font-size: 15.5px;
    border-bottom: 1px solid var(--line-soft);
  }
  .mp-nav__link::after { display: none; }
  .mp-nav__link[aria-current="page"] {
    color: var(--cyan);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), transparent 72%);
    box-shadow: inset 3px 0 0 var(--orange);
  }

  .mp-navbar__cta {
    padding: 8px 14px;
    font-size: 12.5px;
    letter-spacing: 0.02em;
  }

  .mp-rail__list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .mp-rail__link { white-space: nowrap; }
}

@media (max-width: 720px) {
  .mp-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mp-footer__brand { grid-column: 1 / -1; }
  .mp-footer__tag { max-width: none; }
  .mp-footer__baseinner { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .mp-grid--2,
  .mp-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .mp-media--wide { aspect-ratio: 16 / 10; }
  .mp-footer__top { grid-template-columns: 1fr; }
  .mp-footer__contact { grid-column: auto; }
}

@media (max-width: 400px) {
  .mp-brand__text { font-size: 16px; }
  .mp-brand__mark { min-width: 34px; font-size: 11px; }
  .mp-navbar__cta { padding: 7px 11px; font-size: 11.5px; }
  .mp-navtoggle { padding: 7px 11px; }
}

/* ---------- 动效偏好 ---------- */
@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;
    scroll-behavior: auto !important;
  }
  html.mp-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .mp-card:hover { transform: none; }
  .mp-btn--accent:hover { transform: none; }
}
