/* ============================================================
   PlanLens · Clear Radar
   大众向比价站：雾青绿氛围 / Outfit + 思源黑体 / 雷达隐喻
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --bg: #F3F7F5;
  --bg-deep: #E8F0EC;
  --panel: #FFFFFF;
  --ink: #14201C;
  --ink-2: #3A4A44;
  --gray: #6A7A74;
  --line: #D5E0DB;
  --line-strong: #B8C9C1;
  --brand: #0B8F82;
  --brand-2: #12B5A4;
  --brand-soft: #E3F5F2;
  --navy: #1A3D4A;
  --navy-2: #2A5564;
  --navy-soft: #E8F1F4;
  --rust: #C45C2A;
  --rust-soft: #F8EEE7;
  --ok: #2A7A52;
  --ok-soft: #E6F4EC;
  --warn: #9A6B10;
  --warn-soft: #F7F0DE;
  --shadow: 0 10px 30px rgba(20, 32, 28, 0.06);
  --shadow-sm: 0 2px 10px rgba(20, 32, 28, 0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; overflow-x: clip; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-width: 0;
  background:
    radial-gradient(ellipse 90% 55% at 8% -10%, rgba(18, 181, 164, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(26, 61, 74, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(11, 143, 130, 0.06), transparent 55%),
    linear-gradient(180deg, #F7FBFA 0%, var(--bg) 40%, #EEF4F1 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

a { color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
a:hover { border-bottom-color: var(--brand); color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

.site-header, .page, .site-footer { position: relative; z-index: 1; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(184, 201, 193, 0.65);
  background: rgba(247, 251, 250, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.header-inner {
  max-width: 1520px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px; padding: 14px 0;
  border-bottom: none !important;
}
a.brand:hover { color: inherit; }
.brand-name {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: 0 0 auto;
}
.brand-mark svg { width: 30px; height: 30px; display: block; border-radius: 8px; }
.brand-en {
  font-size: 0.68rem; color: var(--gray); font-family: var(--font-mono);
  letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85;
}
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav a {
  display: inline-block; padding: 8px 12px; font-size: 0.9rem; color: var(--ink-2);
  border-radius: 999px; border-bottom: none; font-weight: 500;
}
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); border-bottom: none; }
.main-nav a.active {
  background: var(--ink); color: #fff; font-weight: 600; border-bottom: none;
}
.main-nav a.active:hover { background: var(--navy); color: #fff; }
.main-nav a .cnt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gray); margin-left: 4px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  background: rgba(255,255,255,0.45);
}
.footer-inner { max-width: 1520px; margin: 0 auto; padding: 32px 32px 52px; color: var(--gray); font-size: 0.84rem; }
.footer-inner .disclaimer { margin-bottom: 12px; max-width: 860px; line-height: 1.7; }
.footer-inner a { color: var(--ink-2); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-family: var(--font-mono); font-size: 0.74rem; }

/* ---------- 通用容器 ---------- */
.page { max-width: 1520px; margin: 0 auto; padding: 0 32px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 28px;
  isolation: isolate;
  overflow: hidden;
}
.hero-visual {
  position: absolute; right: -4%; top: 50%; transform: translateY(-52%);
  width: min(420px, 48vw); aspect-ratio: 1; pointer-events: none; z-index: 0;
  opacity: 0.9;
}
.hero-visual svg { width: 100%; height: 100%; display: block; }
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.hero .brand-lockup {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  animation: rise-in .7s var(--ease) both;
}
.hero .brand-lockup .lock-mark {
  width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hero .brand-lockup .lock-mark svg { width: 44px; height: 44px; display: block; }
.hero .brand-lockup .lock-name {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.hero .brand-lockup .lock-tag {
  display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem); line-height: 1.2; font-weight: 800;
  letter-spacing: -0.02em; font-family: var(--font-display); max-width: 16em;
  animation: rise-in .75s var(--ease) .08s both;
}
.hero h1 .accent { color: var(--brand); }
.hero .lede {
  margin-top: 16px; max-width: 34em; color: var(--ink-2); font-size: 1.05rem; line-height: 1.7;
  animation: rise-in .75s var(--ease) .14s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px;
  animation: rise-in .75s var(--ease) .2s both;
}
.hero-actions .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; font-size: 0.98rem; font-weight: 700;
  border-radius: 14px; border: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 24px rgba(20, 32, 28, 0.16);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.hero-actions .btn-primary:hover {
  background: var(--brand); border-color: var(--brand); color: #fff;
  transform: translateY(-2px); box-shadow: 0 14px 28px rgba(11, 143, 130, 0.28);
  border-bottom: 1px solid var(--brand);
}
.hero-actions .btn-skip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px dashed var(--line-strong); padding: 4px 0;
  background: transparent; border-radius: 0;
}
.hero-actions .btn-skip:hover {
  color: var(--brand); border-bottom-color: var(--brand);
}
.hero-actions .btn-skip::after {
  content: "→"; font-family: var(--font-mono); transition: transform .2s var(--ease);
  display: inline-block;
}
.hero-actions .btn-skip:hover::after { transform: translateX(3px); }

/* 指标块 */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); margin-top: 40px; background: rgba(255,255,255,0.78);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px); animation: rise-in .8s var(--ease) .28s both;
}
.metric { padding: 20px 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric .num {
  font-size: 1.85rem; font-weight: 700; font-family: var(--font-display);
  color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.metric .num small { font-size: 1rem; color: var(--gray); }
.metric .label { font-size: 0.8rem; color: var(--gray); margin-top: 4px; font-weight: 500; }

/* 频道卡 */
.channels-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 56px 0 18px; flex-wrap: wrap;
}
.channels-head h2 {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em;
}
.channels-head .sh-note { color: var(--gray); font-size: 0.85rem; }
.channels-head .sh-note a {
  color: var(--brand); font-weight: 600; border-bottom: 1px dashed #8FD0BF;
}
.channels-head .sh-note a:hover { border-bottom-style: solid; }
.channels-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.channel-card {
  padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,0.92); border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px var(--line),
    0 12px 28px rgba(20, 32, 28, 0.05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s;
  position: relative; overflow: hidden; border-bottom: none;
  min-height: 220px;
}
.channel-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand-2), transparent 85%);
  opacity: 0; transition: opacity .25s;
}
.channel-card::after {
  content: ""; position: absolute; inset: auto -30% -45% auto; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(18,181,164,0.18), transparent 68%);
  pointer-events: none; transition: transform .35s var(--ease);
}
.channel-card:hover {
  background: #fff; transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 0 0 1px #A8DDD3,
    0 18px 36px rgba(11, 143, 130, 0.12);
  border-bottom: none;
}
.channel-card:hover::before { opacity: 1; }
.channel-card:hover::after { transform: scale(1.15) translate(-8px, -8px); }
.channel-card .cc-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #EAF8F5, #D8F3EE); border: 1px solid #C5E8E1;
  border-radius: 14px;
}
.channel-card .cc-icon svg { width: 24px; height: 24px; }
.channel-card h2 {
  font-size: 1.28rem; font-weight: 750; font-family: var(--font-display);
  letter-spacing: -0.015em; color: var(--ink); margin: 0;
}
.channel-card .cc-desc { color: var(--ink-2); font-size: 0.92rem; min-height: 2.9em; line-height: 1.55; }
.channel-card .cc-meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--gray); }
.channel-card .cc-go {
  margin-top: auto; font-size: 0.92rem; font-weight: 700; color: var(--brand);
  padding-top: 8px; display: inline-flex; align-items: center;
}
.channel-card .cc-go .arrow {
  font-family: var(--font-mono); margin-left: 6px; transition: margin .2s var(--ease);
  display: inline-block;
}
.channel-card:hover .cc-go .arrow { margin-left: 12px; }

/* 区块标题 */
.section { margin-top: 56px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; margin-bottom: 18px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: 1.4rem; font-weight: 800; font-family: var(--font-display); letter-spacing: -0.02em; }
.section-head .sh-note { color: var(--gray); font-size: 0.85rem; }

.method-box {
  border: 1px solid var(--line); background: rgba(255,255,255,0.82);
  padding: 24px 26px; font-size: 0.94rem; color: var(--ink-2);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); line-height: 1.7;
}
.method-box ol { margin: 12px 0 0 18px; display: grid; gap: 8px; }
.method-box strong { color: var(--ink); }
.footnote { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gray); margin-top: 14px; }

.notice-bar {
  border: 1px solid #BFE3D8; background: linear-gradient(135deg, #EAF8F5, #F4FBFA);
  padding: 13px 18px; margin: 18px 0 0; font-size: 0.9rem; color: var(--ink-2);
  line-height: 1.65; border-radius: var(--radius-sm);
}
.notice-bar strong, .notice-bar b { color: #0B6B5F; }
.notice-bar a { color: #0B6B5F; font-weight: 600; border-bottom: 1px solid #8FD0BF; }

/* ---------- 频道页 ---------- */
.channel-hero { padding: 36px 0 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.channel-hero .kicker {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
}
.channel-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 10px 0 8px;
  font-family: var(--font-display); letter-spacing: -0.02em;
}
.channel-hero .lede { color: var(--ink-2); max-width: 720px; font-size: 1rem; line-height: 1.65; }
.channel-hero .meta-row {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--gray);
}
.channel-hero .meta-row .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot-ok { background: var(--ok); } .dot-warn { background: var(--warn); }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.9);
  position: sticky; top: 58px; z-index: 20; margin-bottom: 18px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.toolbar .search {
  flex: 1 1 220px; display: flex; align-items: center;
  border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm);
}
.toolbar .search input {
  flex: 1; border: none; padding: 10px 12px; font-size: 0.9rem;
  background: transparent; color: var(--ink); min-width: 120px; outline: none;
  font-family: var(--font-sans);
}
.toolbar .search .s-icon { padding: 0 10px; color: var(--gray); font-family: var(--font-mono); }
.toolbar select {
  padding: 9px 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font-size: 0.85rem; font-family: var(--font-sans); cursor: pointer; border-radius: var(--radius-sm);
}
.toolbar .spacer { flex: 1; }
.toolbar .tb-hint { font-size: 0.76rem; color: var(--gray); font-family: var(--font-mono); }
.toolbar .count-badge {
  font-family: var(--font-mono); font-size: 0.76rem; padding: 5px 11px;
  background: var(--navy-soft); color: var(--navy); border-radius: 999px; font-weight: 600;
}

.table-wrap {
  border: 1px solid var(--line); background: rgba(255,255,255,0.92);
  overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
table.plans { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.94rem; min-width: 0; }
@media (max-width: 1100px) {
  table.plans { min-width: 980px; }
}
table.plans th {
  text-align: left; font-size: 0.72rem; font-family: var(--font-mono); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gray); font-weight: 600;
  padding: 11px 12px; border-bottom: 1px solid var(--line-strong);
  background: var(--bg-deep); white-space: nowrap;
}
table.plans td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
table.plans tbody tr.vendor-row td {
  background: var(--navy-soft); border-bottom: 1px solid var(--line-strong);
  padding: 10px 14px; font-weight: 700; color: var(--navy); font-size: 0.95rem;
}
table.plans tbody tr.vendor-row .v-sub {
  font-weight: 400; color: var(--gray); font-size: 0.78rem;
  font-family: var(--font-mono); margin-left: 10px;
}
table.plans tbody tr.plan-row:hover { background: #F6FBFA; }
table.plans tr.plan-row:last-child td { border-bottom: none; }

.cell-plan { font-weight: 600; }
.cell-plan .p-note { display: block; font-weight: 400; color: var(--gray); font-size: 0.8rem; margin-top: 2px; max-width: 260px; }
.cell-price {
  font-family: var(--font-mono); font-size: 1.12rem; font-weight: 700; color: var(--navy);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.cell-price .cur { font-size: 0.8rem; color: var(--gray); font-weight: 400; margin-right: 2px; }
.cell-price .unit { display: block; font-size: 0.74rem; color: var(--gray); font-weight: 400; max-width: 210px; white-space: normal; }
.cell-price.pending { color: var(--gray); font-weight: 500; }
.cell-quota {
  max-width: 520px; min-width: 220px; color: var(--ink-2); font-size: 0.9rem;
  line-height: 1.55; white-space: normal; overflow-wrap: anywhere;
}
.cell-links {
  white-space: normal; min-width: 180px; max-width: 260px; vertical-align: top;
}
.cell-links .btn {
  display: inline-block; font-size: 0.8rem; padding: 5px 11px;
  border: 1px solid var(--navy); color: var(--navy); margin: 0 6px 6px 0;
  border-radius: 999px; font-weight: 600; border-bottom: 1px solid var(--navy);
  white-space: nowrap;
}
.cell-links .btn:hover { background: var(--navy); color: #fff; }
.cell-links .btn.btn-ghost { border-color: var(--line-strong); color: var(--ink-2); }
.cell-links .btn.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cell-links .src {
  display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--gray); white-space: normal; overflow-wrap: anywhere; line-height: 1.45;
  max-width: 240px;
}
.cell-links .src a { color: var(--gray); border-bottom: 1px dotted var(--line-strong); }
.cell-links .src a:hover { color: var(--ink); }
.cell-links .src-note {
  display: block; margin-top: 4px; font-size: 0.72rem; color: var(--gray);
  line-height: 1.4; overflow-wrap: anywhere; max-width: 240px;
}
.cell-status { white-space: nowrap; width: 88px; }

/* 状态列吸右，避免被横向滚动藏掉 */
table.plans th:last-child,
table.plans td.cell-status {
  position: sticky; right: 0; z-index: 2;
  background: rgba(255,255,255,0.96);
  box-shadow: -6px 0 10px rgba(20, 32, 28, 0.04);
}
table.plans th:last-child { background: var(--bg-deep); z-index: 3; }
table.plans tbody tr.plan-row:hover td.cell-status { background: #F6FBFA; }
table.plans tbody tr.plan-row.selected td.cell-status { background: var(--rust-soft); }

.badge {
  display: inline-block; font-size: 0.68rem; font-family: var(--font-mono);
  padding: 3px 8px; letter-spacing: 0.02em; border-radius: 999px; font-weight: 600;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #CFE0D4; }
.badge-pending { background: var(--warn-soft); color: var(--warn); border: 1px solid #E5D9B8; }
.badge-currency { background: var(--bg); color: var(--gray); border: 1px solid var(--line); margin-left: 6px; }
.badge-billing { background: var(--rust-soft); color: var(--rust); border: 1px solid #E4CFC2; margin-left: 6px; }

.cmp { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
tr.plan-row.selected td { background: var(--rust-soft); }

.compare-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,0.96); border-top: 2px solid var(--brand);
  box-shadow: 0 -10px 36px rgba(20, 32, 28, 0.12);
  max-height: 62vh; display: flex; flex-direction: column;
  backdrop-filter: blur(12px);
}
.compare-panel .cp-head {
  display: flex; align-items: center; gap: 14px; padding: 12px 24px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.compare-panel .cp-title { font-weight: 700; font-size: 0.95rem; font-family: var(--font-display); }
.compare-panel .cp-count { font-family: var(--font-mono); font-size: 0.76rem; color: var(--gray); }
.compare-panel .cp-close {
  margin-left: auto; border: 1px solid var(--line-strong); background: #fff;
  padding: 5px 12px; cursor: pointer; font-size: 0.8rem; border-radius: 999px;
  font-family: var(--font-sans);
}
.compare-panel .cp-body { overflow: auto; padding: 0 24px 16px; }
.compare-panel table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 0.85rem; }
.compare-panel table th {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-strong);
  color: var(--gray); font-size: 0.72rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.compare-panel table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-panel table td.k {
  color: var(--gray); font-size: 0.72rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; width: 88px;
}

/* ---------- 移动端卡片 ---------- */
.mobile-cards { display: none; }
.plan-card {
  border: 1px solid var(--line); background: rgba(255,255,255,0.94); padding: 18px;
  min-width: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.plan-card .pc-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; min-width: 0; }
.plan-card .pc-vendor { font-size: 0.78rem; color: var(--gray); min-width: 0; overflow-wrap: anywhere; }
.plan-card .pc-name {
  font-weight: 700; font-size: 1.05rem; margin: 6px 0 8px;
  overflow-wrap: anywhere; font-family: var(--font-display); letter-spacing: -0.01em;
}
.plan-card .pc-price {
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700; color: var(--navy);
  min-width: 0; overflow-wrap: anywhere;
}
.plan-card .pc-price .cur { font-size: 0.8rem; color: var(--gray); font-weight: 400; }
.plan-card .pc-price.pending { color: var(--gray); font-weight: 500; font-size: 1rem; }
.plan-card .pc-price .unit {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.74rem; color: var(--gray); font-weight: 400;
  white-space: normal; overflow-wrap: anywhere; margin-top: 2px;
}
.plan-card dl { margin: 10px 0; }
.plan-card dl div { display: flex; gap: 8px; padding: 5px 0; border-top: 1px dashed var(--line); font-size: 0.85rem; min-width: 0; }
.plan-card dl dt {
  flex: 0 0 76px; color: var(--gray); font-size: 0.7rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px;
}
.plan-card dl dd { color: var(--ink-2); flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.plan-card dl .quota-row dd,
.plan-card dl .vendor-note dd {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.plan-card .pc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.plan-card .pc-links .btn {
  margin-right: 0; flex: 1 1 45%; text-align: center; box-sizing: border-box;
  display: inline-block; font-size: 0.82rem; padding: 8px 10px;
  border: 1px solid var(--navy); color: var(--navy); border-radius: 999px; font-weight: 600;
}
.plan-card .pc-links .btn:hover { background: var(--navy); color: #fff; }
.plan-card .pc-links .btn.btn-ghost { border-color: var(--line-strong); color: var(--ink-2); }
.plan-card .pc-links .btn.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-card .pc-src { margin-top: 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--gray); overflow-wrap: anywhere; }
.plan-card .pc-cmp {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 0.8rem;
  color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 10px; cursor: pointer; line-height: 1.4;
}
.plan-card .pc-cmp .cmp { flex: 0 0 auto; margin-top: 2px; }
.plan-card .pc-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.plan-card.selected { background: var(--rust-soft); border-color: #E4CFC2; }

@media (max-width: 720px) {
  .table-wrap { display: none; }
  .mobile-cards { display: grid; gap: 12px; }
  .toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; top: 0; }
  .toolbar .search { grid-column: 1 / -1; }
  .toolbar select { width: 100%; font-size: 0.82rem; min-width: 0; }
  .toolbar .spacer, .toolbar .tb-hint { display: none; }
  .toolbar .count-badge { grid-column: 1 / -1; justify-self: end; }
  .notice-bar { overflow-wrap: anywhere; }
  .channel-hero .kicker { letter-spacing: 0.08em; overflow-wrap: anywhere; }
  .channel-hero h1 { overflow-wrap: anywhere; }
  .compare-panel .cp-head { padding: 10px 16px; }
  .compare-panel .cp-body { padding: 0 16px 16px; }
}

.empty-state {
  border: 1px dashed var(--line-strong); padding: 48px 24px; text-align: center;
  color: var(--gray); border-radius: var(--radius); background: rgba(255,255,255,0.6);
}
.empty-state .es-title { font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes radar-spin {
  to { transform: rotate(360deg); }
}
@keyframes radar-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.hero-visual .radar-ring { transform-origin: 50% 50%; animation: radar-spin 28s linear infinite; }
.hero-visual .radar-pulse { animation: radar-pulse 3.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .channels-grid { grid-template-columns: 1fr; }
  .hero-visual { opacity: 0.35; width: min(280px, 55vw); right: -8%; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .compare-panel { max-height: 70vh; }
}
@media (max-width: 640px) {
  .header-inner, .page { padding-left: 16px; padding-right: 16px; }
  .footer-inner { padding-left: 16px; padding-right: 16px; }
  .brand-en { display: none; }
  .hero { padding-top: 28px; }
  .hero-visual { display: none; }
  .hero .brand-lockup .lock-name { font-size: 1.4rem; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { min-width: 0; padding: 16px; }
  .toolbar { position: static; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 0; }
  .brand { padding: 12px 0 6px; }
  .main-nav {
    display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    width: 100%; margin-bottom: 8px; scrollbar-width: thin; gap: 4px; padding-bottom: 8px;
  }
  .main-nav a { white-space: nowrap; padding: 7px 12px; font-size: 0.84rem; flex: 0 0 auto; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn-primary { width: 100%; text-align: center; padding: 14px; box-sizing: border-box; }
  .hero-actions .btn-skip { justify-content: center; width: 100%; }
  .notice-bar { line-height: 1.7; }
  .channel-hero h1 { font-size: 1.4rem; }
  .channel-card { min-width: 0; }
  .channel-card .cc-desc { min-height: 0; }
  .method-box { padding: 16px; overflow-wrap: anywhere; }
  .channels-head { margin-top: 40px; }
}

/* ---------- 公告弹窗 ---------- */
html.announce-open { overflow: hidden; }
.announce-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 4px; padding: 7px 12px; border: 1px solid #A8DDD3;
  border-radius: 999px; background: #D8F3EE; color: #0B6B5F;
  font-size: 0.82rem; font-weight: 700; font-family: var(--font-sans);
  cursor: pointer; line-height: 1; white-space: nowrap;
  transition: background .15s, transform .15s var(--ease), box-shadow .15s;
}
.announce-trigger:hover { background: #c5ebe4; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.announce-trigger .at-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #12B5A4;
  box-shadow: 0 0 0 3px rgba(18, 181, 164, 0.28);
  animation: radar-pulse 1.8s ease-in-out infinite;
}
.announce-root {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease);
}
.announce-root.is-open { opacity: 1; pointer-events: auto; }
.announce-root.is-closing { opacity: 0; pointer-events: none; }
.announce-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 28, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.announce-dialog {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: linear-gradient(165deg, #FFFFFF 0%, #F3FBFA 55%, #EAF7F4 100%);
  border: 1px solid #BFE3D8; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(14, 28, 24, 0.28), 0 0 0 1px rgba(255,255,255,0.5) inset;
  padding: 28px 26px 24px;
  transform: translateY(16px) scale(0.97);
  transition: transform .28s var(--ease);
  max-height: min(86vh, 640px); overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.announce-root.is-open .announce-dialog { transform: translateY(0) scale(1); }
.announce-root.is-closing .announce-dialog { transform: translateY(10px) scale(0.98); }
.announce-x {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px; border: none; border-radius: 999px;
  background: rgba(20, 32, 28, 0.06); color: var(--ink-2);
  font-size: 1rem; cursor: pointer; line-height: 1;
  transition: background .15s, color .15s;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
}
.announce-x:hover { background: var(--ink); color: #fff; }
.announce-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #0B6B5F; background: #D8F3EE; border: 1px solid #A8DDD3;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.announce-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #12B5A4; box-shadow: 0 0 0 3px rgba(18, 181, 164, 0.25);
}
.announce-title {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.25; color: var(--ink);
  margin: 0 40px 10px 0;
}
.announce-body {
  color: var(--ink-2); font-size: 0.94rem; line-height: 1.7; margin: 0 0 18px;
}
.announce-links { display: grid; gap: 10px; margin-bottom: 18px; }
.announce-link {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: 2px 10px; align-items: center;
  padding: 14px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.announce-link:hover {
  border-color: var(--brand-2); transform: translateY(-1px);
  box-shadow: var(--shadow); color: var(--ink); border-bottom-color: var(--brand-2);
}
.announce-link .al-label {
  grid-column: 1; font-weight: 700; font-size: 0.95rem; color: var(--ink);
}
.announce-link .al-note {
  grid-column: 1; font-size: 0.76rem; color: var(--gray); font-family: var(--font-mono);
}
.announce-link .al-go {
  grid-column: 2; grid-row: 1 / -1;
  font-family: var(--font-mono); font-size: 1rem; color: var(--brand); font-weight: 700;
}
.announce-snooze {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px; padding: 2px 2px 0;
  font-size: 0.88rem; color: var(--ink-2); cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.announce-snooze input {
  width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; flex: 0 0 auto;
}
.announce-dismiss {
  width: 100%; border: none; border-radius: 999px; cursor: pointer;
  padding: 14px 18px; font-size: 0.95rem; font-weight: 700;
  font-family: var(--font-sans); background: var(--ink); color: #fff;
  box-shadow: 0 8px 20px rgba(20, 32, 28, 0.18);
  transition: background .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}
.announce-dismiss:hover { background: var(--brand); transform: translateY(-1px); }

@media (max-width: 640px) {
  .announce-dialog { padding: 24px 18px 18px; border-radius: 16px; }
  .announce-title { font-size: 1.28rem; margin-right: 36px; }
  .announce-x { width: 44px; height: 44px; }
}

@media print {
  .site-header .main-nav, .toolbar, .compare-panel, .cell-links .btn, .hero-visual, body::before, .announce-root { display: none; }
  body { background: #fff; }
}
