/* ==========================================================================
   base.css — 三站共用的设计令牌与基础元件
   （每站通过 body 上的 data-site 覆盖色彩与部分形状）
   ========================================================================== */

:root {
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-disp: "Rubik", "Gilroy", "PingFang SC", "Microsoft YaHei", sans-serif;

  --wrap: 1180px;
  --gutter: 22px;

  --mint: #84f9cc;
  --mint-d: #4fe0ad;
  --teal: #08c0a0;
  --ink: #14161a;
  --ink-2: #2a2e35;
  --paper: #f6f7f9;
  --line: rgba(18, 22, 28, .10);
  --line-2: rgba(18, 22, 28, .06);
  --muted: #6b7280;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --sh-1: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .05);
  --sh-2: 0 12px 32px rgba(16, 24, 40, .10);
  --sh-3: 0 24px 60px rgba(16, 24, 40, .14);

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

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s;
  border: 1px solid transparent;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--mint); color: #062b22; box-shadow: 0 8px 22px rgba(8, 192, 160, .26); }
.btn-primary:hover { background: var(--mint-d); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }

.ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- 区块标题 ---------- */
.sec-head { margin-bottom: 34px; }
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.sec-kicker::before {
  content: "";
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.sec-title {
  font-family: var(--font-disp);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.sec-lede { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 60ch; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--line);
  transition: border-color .2s, color .2s;
}
.link-more:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- 页脚通用 ---------- */
.ftr { background: #101318; color: #e9edf2; padding: 56px 0 28px; }
.ftr-in {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ftr-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ftr-tag { color: rgba(255, 255, 255, .6); font-size: 14px; }
.ftr-badge img { width: 132px; height: auto; opacity: .9; }
.ftr-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.ftr-col a { font-size: 14px; color: rgba(255, 255, 255, .78); transition: color .18s; }
.ftr-col a:hover { color: var(--mint); }
.ftr-btm {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .ftr-in { grid-template-columns: 1fr; gap: 32px; }
  .ftr-cols { gap: 36px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .btn { padding: 12px 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 无正文（纯视频/图片公告）提示 */
.art-thin, .b-art-thin, .c-art-thin {
  padding: 18px 22px;
  border-left: 3px solid var(--teal, #08c0a0);
  background: #f7faf9;
  border-radius: 0 10px 10px 0;
  color: #4b5563;
  line-height: 1.9;
}
.art-thin a, .b-art-thin a, .c-art-thin a { color: var(--teal, #08c0a0); text-decoration: underline; }
