/* ═══ BIOVIT v3.1 共享样式 — sera 风格设计令牌（二次优化） ═══
   Helvetica · 2px 锐利直角 · 白底浅色系 · 单一品牌蓝 · 大留白层级 */
:root {
  --ink: #3A3A3A;
  --navy: #102540;
  --brand: #0d87ff;
  --brand-dark: #0A6FD0;
  --line: #CCCCCC;
  --line-soft: #E5E5E5;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --radius: 2px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.55; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }

.kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 32px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 32px; }
.muted { color: #777; font-size: 14px; }

/* ── 演示标注条 ── */
.demo-bar { background: #FFF3CD; color: #6b5d1a; text-align: center; font-size: 12px; padding: 6px 16px; border-bottom: 1px solid #e8d98a; }

/* ── Header（左侧小 Logo + 单行目录导航） ── */
header.site { background: #fff; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; gap: 32px; }
.logo { flex-shrink: 0; }
.logo img { height: 40px; width: auto; max-width: 100%; display: block; }
nav.main { display: flex; flex: 1; justify-content: space-evenly; gap: 12px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
nav.main a { padding: 12px 4px; border-bottom: 2px solid transparent; }
nav.main a:hover { border-bottom-color: var(--brand); color: var(--navy); }
nav.main a.on { border-bottom-color: var(--brand); color: var(--navy); }
.badge-coming { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); padding: 6px 12px; color: var(--navy); white-space: nowrap; flex-shrink: 0; }
.nav-toggle { display: none; font-size: 22px; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 10px; cursor: pointer; color: var(--navy); }
.mnav { display: none; border-top: 1px solid var(--line-soft); padding: 10px 20px 16px; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.mnav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }

/* ── 子页面页头（加大留白与标题层级） ── */
.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: 44px; margin-top: 14px; }
.page-head .sub { color: #777; margin-top: 10px; max-width: 64ch; }

/* ── Hero（首页 · 浅色扁平，navy 只留在文字） ── */
.hero { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-soft); max-width: 1400px; margin: 0 auto; border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.hero-text { padding: 64px 56px; background: var(--bg); display: flex; flex-direction: column; justify-content: center; }
.hero-text h1 { font-size: 38px; line-height: 1.15; margin: 14px 0 18px; }
.hero-text p { color: #666; max-width: 46ch; }
.hero-img { background: url('/images/hero-clownfish.jpg') center 62%/cover no-repeat; min-height: 360px; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 按钮（单一品牌蓝主按钮） ── */
.btn { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-disabled { background: #eee; color: #999; cursor: not-allowed; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ── 信任条 ── */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-soft); }
.trust > div { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line-soft); }
.trust > div:last-child { border-right: none; }
.trust strong { display: block; color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.trust span { font-size: 13px; color: #777; }

/* ── 通知条 ── */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--brand); background: #fff; padding: 16px 20px; margin-bottom: 36px; font-size: 14px; }
.notice strong { color: var(--navy); display: block; margin-bottom: 2px; }

/* ── 产品线锚点导航 ── */
.line-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.line-nav a { border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.line-nav a:hover { border-color: var(--brand); color: var(--brand); }

/* ── 商品目录（按产品线分区） ── */
.catalog-group { margin-bottom: 48px; scroll-margin-top: 130px; }
.catalog-group > h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.catalog-group > .muted { margin-bottom: 20px; display: block; }
.grid-products { display: grid; grid-template-columns: 1fr; gap: 12px; }
.p-row { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: #fff; padding: 16px 20px; transition: transform .2s, box-shadow .2s; }
.p-row:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(16,37,64,.07); }
.p-thumb { width: 72px; height: 72px; flex-shrink: 0; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); color: #aaa; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; font-family: inherit; }
.p-thumb:hover { color: var(--navy); border-color: var(--line); }
.p-row-main { flex: 1; min-width: 0; }
.p-spec-inline { font-size: 12px; color: #888; font-weight: 400; margin-left: 8px; }
.p-blurb { font-size: 13.5px; color: #666; margin-top: 4px; }
.p-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.p-state.oop { color: #999; border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--radius); margin: 0; }
.p-row-side .btn { padding: 8px 18px; font-size: 11px; }
.p-series { font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); }
.p-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: 3px; }
.p-state { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9a6a00; }

/* ── 表格 ── */
table.flat { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
table.flat th { text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: var(--navy); padding: 12px 16px; border-bottom: 2px solid var(--navy); }
table.flat td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius); }
.tag-active { background: var(--navy); color: #fff; }
.tag-planned { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.tag-roadmap { background: var(--bg-soft); color: #888; border: 1px solid var(--line-soft); }

/* ── 原理三栏 / 指南卡片 ── */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.col-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.col-card .num { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .15em; }
.col-card h4 { font-size: 16px; margin: 8px 0 10px; }
.col-card p { font-size: 14px; color: #666; }
.g-card { display: flex; flex-direction: column; justify-content: center; aspect-ratio: 1.618 / 1; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.g-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(16,37,64,.08); }
.g-card h4 { font-size: 16px; margin: 8px 0 8px; }
.g-card p { font-size: 14px; color: #666; }
.g-card .rel { display: inline-block; margin-top: 14px; font-size: 12px; color: #999; }

/* ── 说明书库 ── */
.doc-list { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.doc-row:last-child { border-bottom: none; }
.doc-fmt { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--navy); padding: 4px 8px; border-radius: var(--radius); flex-shrink: 0; }
.doc-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.doc-meta { font-size: 12px; color: #999; margin-top: 2px; }
.doc-dl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); border: 1px solid var(--line); padding: 9px 18px; border-radius: var(--radius); white-space: nowrap; }
.doc-dl:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.doc-dl.off { color: #999; border-color: var(--line-soft); background: var(--bg-soft); cursor: not-allowed; }
.doc-dl.off:hover { border-color: var(--line-soft); background: var(--bg-soft); color: #999; }

/* ── 批次查询 ── */
.verify-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; }
.panel label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.verify-form { display: flex; gap: 10px; margin-top: 10px; }
.verify-form input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; font-size: 14px; font-family: inherit; text-transform: uppercase; letter-spacing: .08em; }
.verify-form input:focus { outline: none; border-color: var(--brand); }
.verify-result { margin-top: 20px; }
.result-ok { border: 1px solid #cfe5d4; border-left: 4px solid #1F873D; background: #f4faf5; padding: 16px 20px; font-size: 14px; }
.result-err { border: 1px solid #efd3d3; border-left: 4px solid #D20000; background: #fdf5f5; padding: 16px 20px; font-size: 14px; }
.result-warn { border: 1px solid #f0e2b6; border-left: 4px solid #B8860B; background: #fdf9ec; padding: 16px 20px; font-size: 14px; }
.result-ok .ok-title, .result-err .err-title, .result-warn .warn-title { font-weight: 700; margin-bottom: 8px; display: block; }
.result-ok .ok-title { color: #1F873D; }
.result-err .err-title { color: #D20000; }
.result-warn .warn-title { color: #B8860B; }
.kv { display: flex; gap: 12px; padding: 4px 0; }
.kv dt { width: 130px; flex-shrink: 0; color: #888; }
.kv dd { font-weight: 700; color: var(--navy); }
.panel-dark { background: var(--navy); color: #fff; border: none; }
.panel-dark h4 { color: #fff; font-size: 16px; }
.panel-dark ul { margin-top: 14px; list-style: none; }
.panel-dark li { font-size: 14px; color: rgba(255,255,255,.75); padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel-dark li:last-child { border-bottom: none; }
.panel-dark li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 7px; height: 7px; background: var(--brand); }

/* ── 剂量计算器 ── */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.calc-field { margin-top: 16px; }
.calc-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); display: block; margin-bottom: 6px; }
.calc-field select, .calc-field input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; font-size: 14px; font-family: inherit; background: #fff; }
.calc-field select:focus, .calc-field input:focus { outline: none; border-color: var(--brand); }
.calc-result { margin-top: 20px; }
.calc-note { font-size: 12px; color: #999; margin-top: 16px; }

/* ── About / Contact / Footer ── */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.about-text p { color: #555; margin-bottom: 16px; }
.about-text .small { font-size: 13px; color: #999; }
.fact-box { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; height: fit-content; }
.fact-box strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 10px; }
.fact-box p { font-size: 14px; color: #666; }
.contact-band { background: var(--navy); color: #fff; text-align: center; }
.contact-band h2, .contact-band h1 { color: #fff; }
.contact-band p { color: rgba(255,255,255,.6); margin: 12px 0 28px; }
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 13px; padding: 24px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a:hover { color: #fff; }

/* ── 产品详情弹层 ── */
.pdp { position: fixed; inset: 0; z-index: 100; display: none; }
.pdp.open { display: block; }
.pdp-mask { position: absolute; inset: 0; background: rgba(16,37,64,.7); }
.pdp-panel { position: absolute; top: 40px; bottom: 40px; left: 50%; transform: translateX(-50%); width: min(860px, calc(100% - 32px)); background: #fff; border-radius: var(--radius); overflow-y: auto; }
.pdp-close { position: sticky; top: 0; float: right; margin: 16px; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font-size: 16px; cursor: pointer; color: var(--navy); }
.pdp-close:hover { background: var(--navy); color: #fff; }
.pdp-body { padding: 40px 48px 48px; }
.pdp-body h2 { font-size: 28px; margin-top: 6px; }
.pdp-block { margin-top: 32px; }
.pdp-block > h3 { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 10px; }
.pdp-block p { color: #555; font-size: 15px; }
.doc-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 20px; margin-top: 32px; }

/* ── 首页功能入口条 ── */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry-card { display: flex; flex-direction: column; justify-content: center; aspect-ratio: 1.618 / 1; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.entry-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(16,37,64,.08); }
.entry-card h4 { font-size: 16px; margin: 8px 0 8px; }
.entry-card p { font-size: 14px; color: #666; }
.entry-card .go { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }

/* ── 知识区：搜索 + 分类 chips + 文章卡 ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 7px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.a-list { display: grid; gap: 14px; }
.a-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: #fff; padding: 22px 26px; transition: transform .2s, box-shadow .2s; }
.a-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16,37,64,.08); }
.a-card h4 { font-size: 17px; margin: 6px 0 8px; }
.a-card p { font-size: 14px; color: #666; max-width: 80ch; }
.a-card .rel { display: inline-block; margin-top: 10px; font-size: 12px; color: #999; }
.a-card .go { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); white-space: nowrap; }

/* ── 文章阅读页 ── */
.article-wrap { max-width: 820px; }
.article-head h1 { font-size: 34px; line-height: 1.2; margin: 10px 0 12px; }
.article-head { border-bottom: 2px solid var(--navy); padding-bottom: 24px; margin-bottom: 32px; }
.article-body p { color: #444; margin-bottom: 20px; font-size: 17px; line-height: 1.7; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; border-top: 1px solid var(--line-soft); padding-top: 24px; flex-wrap: wrap; }

/* ── 首页公告横幅 ── */
.notice-banner { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-left: 4px solid var(--brand); background: #fff; padding: 14px 20px; margin-top: 24px; font-size: 14px; }
.notice-banner .tag { flex-shrink: 0; }
.notice-banner a { color: var(--brand); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.notice-banner .nb-title { font-weight: 700; color: var(--navy); }

/* ── 首页全球地图 ── */
.map-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.map-grid img { width: 100%; height: auto; display: block; }
.map-legend { list-style: none; }
.map-legend li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.map-legend li:last-child { border-bottom: none; }
.map-legend .dot { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; flex-shrink: 0; position: relative; top: -1px; }
.map-legend strong { color: var(--navy); font-size: 15px; display: block; }
.map-legend span { font-size: 13px; color: #777; }

@media (max-width: 960px) {
  nav.main, .badge-coming { display: none; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 56px 28px; }
  .hero-text h1 { font-size: 34px; }
  .hero-img { min-height: 340px; }
  .page-head h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; }
  .grid-products { grid-template-columns: 1fr; }
  .p-row { flex-wrap: wrap; }
  .p-row-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .cols3, .trust, .verify-grid, .about-grid, .entry-grid, .calc-grid, .map-grid { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 26px; }
  .entry-card, .g-card { aspect-ratio: auto; }
  .trust > div { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .header-inner { height: 88px; }
  .logo img { height: 30px; }
  .wrap { padding: 0 28px; }
  .mnav { padding: 10px 28px 16px; }
  .pdp-body { padding: 28px 22px 36px; }
}
@media (max-width: 1200px) and (min-width: 961px) {
  nav.main { font-size: 12px; gap: 8px; letter-spacing: .04em; }
  .badge-coming { font-size: 10px; padding: 5px 10px; }
}

/* ── 手机端优化（≤600px） ── */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .mnav { padding: 10px 18px 14px; }
  .section { padding: 44px 0; }
  .page-head { padding: 40px 0 26px; }
  .page-head h1 { font-size: 26px; }
  .page-head .sub { font-size: 14px; }
  .hero-text { padding: 44px 20px; }
  .hero-text h1 { font-size: 27px; }
  .hero-img { min-height: 220px; }
  .hero-actions .btn { flex: 1; text-align: center; padding: 14px 12px; }
  .section-head h2 { font-size: 22px; }
  .verify-form { flex-direction: column; }
  .verify-form .btn { width: 100%; }
  .kv { flex-direction: column; gap: 2px; padding: 8px 0; }
  .kv dt { width: auto; }
  .pdp-panel { top: 0; bottom: 0; width: 100%; }
  .pdp-body { padding: 24px 18px 32px; }
  .p-row { padding: 14px; gap: 14px; }
  .p-thumb { width: 56px; height: 56px; }
  .entry-card, .col-card { padding: 20px 18px; }
  .a-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .doc-row { flex-wrap: wrap; padding: 14px 16px; }
  .doc-dl { margin-top: 4px; }
  .notice-banner { flex-wrap: wrap; }
  .notice-banner a { margin-left: 0 !important; }
  .map-grid { gap: 24px; }
  .article-head h1 { font-size: 24px; }
  .article-body p { font-size: 16px; }
  .panel { padding: 20px; }
  .table-scroll, .adm-pane { overflow-x: auto; }
  table.flat { min-width: 620px; }
  .adm-table { min-width: 720px; }
  .line-nav a { flex: 1 1 40%; text-align: center; }
  footer .wrap { flex-direction: column; gap: 6px; }
}

/* ── 全站首次访问弹窗 ── */
.sp-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(16,37,64,.55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: spFade .25s ease; }
.sp-card { position: relative; background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 36px 32px 28px; box-shadow: 0 24px 60px rgba(16,37,64,.25); }
.sp-card h3 { font-size: 22px; margin: 10px 0 12px; }
.sp-card p { font-size: 14.5px; color: #555; margin-bottom: 22px; }
.sp-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font-size: 18px; cursor: pointer; color: var(--navy); line-height: 1; }
.sp-close:hover { background: var(--navy); color: #fff; }
.sp-hide { opacity: 0; transition: opacity .25s; }
@keyframes spFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  .sp-overlay { padding: 16px; align-items: flex-end; }
  .sp-card { padding: 30px 22px 24px; max-width: none; }
}

/* ── 管理员后台（admin.html） ── */
.adm-login { max-width: 400px; margin: 60px auto; }
.adm-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--navy); margin-bottom: 28px; flex-wrap: wrap; }
.adm-tabs button { background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; padding: 10px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #888; cursor: pointer; font-family: inherit; }
.adm-tabs button.on { color: var(--navy); border-bottom-color: var(--brand); }
.adm-pane { display: none; }
.adm-pane.on { display: block; }
.f-row { margin-bottom: 18px; }
.f-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 6px; }
.f-input, .f-textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; font-size: 14px; font-family: inherit; }
.f-input:focus, .f-textarea:focus { outline: none; border-color: var(--brand); }
.f-textarea { min-height: 90px; resize: vertical; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); padding: 8px 6px; border-bottom: 2px solid var(--navy); }
.adm-table td { padding: 6px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.adm-table .f-input { padding: 7px 9px; font-size: 13px; }
.adm-saved { display: none; margin-top: 14px; font-size: 13px; font-weight: 700; color: #1F873D; }
.adm-note { font-size: 12px; color: #999; margin-top: 6px; }
