/* ============================================================================
   帆渡外贸独立站 · 设计系统 v2（Bootstrap 5.3.9 之上的一层规范）
   规范文档：docs/设计规范.md
   目录：
   01 设计令牌   02 基础排版   03 布局与节奏   04 导航   05 首屏
   06 章节头     07 卡片与列表 08 表格       09 价格   10 FAQ
   11 表单       12 按钮       13 联系方式   14 页脚   15 城市切换
   16 状态页     17 密度与结构族  18 响应式
   ========================================================================== */

/* ---------- 01 设计令牌 ---------- */
:root{
  /* 配色：石墨深蓝为骨，黄铜为饰，纸白为底（低饱和、少色相，追求专业与高级感） */
  --fd-ink:#0B141B;
  --fd-ink-2:#14262F;
  --fd-ink-3:#1D3A46;
  --fd-ink-deep:#060C11;
  --fd-accent:#A9853F;
  --fd-accent-2:#D8C08D;
  --fd-accent-wash:#F6F1E7;
  --fd-accent-ink:#241A08;
  --fd-accent-strong:#7A5A1E;
  --fd-paper:#F4F6F7;
  --fd-surface:#ffffff;
  --fd-line:#E4E8EB;
  --fd-line-strong:#CBD4DA;
  --fd-text:#121A21;
  --fd-text-2:#39454E;
  --fd-muted:#5A6873;
  --fd-muted-2:#7C8A94;
  --fd-link:#155E75;
  --fd-link-hover:#0E4A5C;
  --fd-success:#2C7A5B;

  /* 字体：全部用系统自带字族，不引任何外部字体服务（Google Fonts 等一律不用） */
  --fd-font-sans:"Noto Sans SC","Source Han Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --fd-font-serif:"Source Han Serif SC","Noto Serif SC","Songti SC","SimSun",Georgia,"Times New Roman",serif;
  --fd-font-mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Courier New","Microsoft YaHei",monospace;

  /* 字号：流体层级，移动端不塌 */
  --fd-fs-display:clamp(2.25rem,4.6vw,3.5rem);
  --fd-fs-h1:clamp(1.9rem,3.4vw,2.75rem);
  --fd-fs-h2:clamp(1.55rem,2.4vw,2.125rem);
  --fd-fs-h3:clamp(1.2rem,1.6vw,1.4rem);
  --fd-fs-lead:clamp(1rem,1.15vw,1.125rem);
  --fd-fs-body:1.03125rem;
  --fd-fs-sm:.90625rem;
  --fd-fs-xs:.8125rem;

  /* 间距节奏：8 的倍数 */
  --fd-space-1:.5rem; --fd-space-2:.75rem; --fd-space-3:1rem;
  --fd-space-4:1.5rem; --fd-space-5:2rem; --fd-space-6:2.5rem; --fd-space-7:3.5rem;
  --fd-section:clamp(3.5rem,6.4vw,6.5rem);
  --fd-section-sm:clamp(2.25rem,4vw,3.5rem);

  /* 形状与阴影 */
  --fd-r-sm:10px; --fd-r:16px; --fd-r-lg:22px; --fd-r-pill:999px;
  --fd-shadow-1:0 1px 2px rgba(11,20,27,.05), 0 6px 18px rgba(11,20,27,.05);
  --fd-shadow-2:0 16px 40px rgba(11,20,27,.10);
  --fd-shadow-3:0 28px 70px rgba(11,20,27,.18);
  --fd-ring:0 0 0 .25rem rgba(169,133,63,.26);

  /* 覆盖 Bootstrap 变量，避免默认外观 */
  --bs-body-color:var(--fd-text);
  --bs-body-bg:var(--fd-surface);
  --bs-body-font-family:var(--fd-font-sans);
  --bs-body-font-size:var(--fd-fs-body);
  --bs-body-line-height:1.78;
  --bs-link-color:var(--fd-link);
  --bs-link-hover-color:var(--fd-link-hover);
  --bs-border-color:var(--fd-line);
  --bs-border-radius:var(--fd-r-sm);
  --bs-border-radius-lg:var(--fd-r);
  --bs-heading-color:var(--fd-ink);
  --bs-emphasis-color:var(--fd-ink);
  --bs-secondary-color:var(--fd-muted);
  --bs-tertiary-bg:var(--fd-paper);
}

/* ---------- 02 基础排版 ---------- */
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:var(--fd-font-sans);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-feature-settings:"kern" 1,"liga" 1;
}
h1,h2,h3,h4,h5,h6,.section-title,.fd-h1{ font-family:var(--fd-font-sans); letter-spacing:-.012em; }
table,.fd-num,.price,.fd-price,[class*="price"]{ font-variant-numeric:tabular-nums; }
code,pre,kbd,samp{ font-family:var(--fd-font-mono); }

*{ -webkit-tap-highlight-color:transparent; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--bs-body-font-family);
  font-size:var(--fd-fs-body);
  line-height:var(--bs-body-line-height);
  color:var(--fd-text);
  background:var(--fd-surface);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6{ color:var(--fd-ink); font-weight:700; letter-spacing:-.018em; line-height:1.26; margin:0 0 var(--fd-space-2); }
h1{ font-size:var(--fd-fs-h1); }
h2{ font-size:var(--fd-fs-h2); }
h3{ font-size:var(--fd-fs-h3); }
p{ margin:0 0 var(--fd-space-3); }
strong{ font-weight:600; color:var(--fd-ink); }
a{ text-decoration:none; transition:color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease; }
small,.small{ font-size:var(--fd-fs-sm); }
.lead{ font-size:var(--fd-fs-lead); line-height:1.85; color:var(--fd-muted); font-weight:400; }
.text-secondary{ color:var(--fd-muted) !important; }
.text-muted{ color:#7d8d9b !important; }
.text-accent{ color:var(--fd-accent) !important; }
.text-ink{ color:var(--fd-ink) !important; }
.bg-ink{ background:var(--fd-ink) !important; }
.bg-paper{ background:var(--fd-paper) !important; }
.border-top{ border-top:1px solid var(--fd-line) !important; }
hr{ border-color:var(--fd-line); opacity:1; }
::selection{ background:var(--fd-accent-2); color:var(--fd-accent-ink); }
:focus-visible{ outline:0; box-shadow:var(--fd-ring); border-radius:6px; }
.visually-hidden-focusable:focus{ position:fixed; inset:.75rem auto auto .75rem; z-index:2000; background:var(--fd-ink); color:#fff; padding:.6rem 1rem; border-radius:var(--fd-r-pill); }
[id]{ scroll-margin-top:6.5rem; }
img{ max-width:100%; height:auto; }

/* ---------- 03 布局与节奏 ---------- */
.container{ max-width:1160px; }
.section{ padding:var(--fd-section) 0; }
.section-sm{ padding:var(--fd-section-sm) 0; }
.section + .section{ border-top:1px solid var(--fd-line); }
.section-alt{ background:var(--fd-paper); }
.section-dark{ background:var(--fd-ink); color:rgba(255,255,255,.78); }
.section-dark h2,.section-dark h3{ color:#fff; }
.divider{ height:1px; background:var(--fd-line); border:0; margin:0; }
.checklist{ list-style:none; padding:0; margin:0; display:grid; gap:.7rem; }
.checklist li{ position:relative; padding-left:1.9rem; }
.checklist li .bi{ position:absolute; left:0; top:.25rem; color:var(--fd-success); }
.breadcrumb{ --bs-breadcrumb-divider-color:var(--fd-muted-2); font-size:var(--fd-fs-xs); margin:0; }
.breadcrumb-item a{ color:var(--fd-muted); }
.breadcrumb-item a:hover{ color:var(--fd-ink); }

/* ---------- 04 导航 ---------- */
.fd-navbar{
  background:rgba(10,26,36,.96);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(255,255,255,.09);
  box-shadow:0 10px 30px rgba(6,18,28,.22);
  padding:.85rem 0;
}
.fd-navbar.sticky-top{ z-index:1045; }
.fd-navbar .navbar-brand{ font-size:1.0625rem; font-weight:700; color:#fff !important; letter-spacing:.01em; }
.fd-brand-mark{
  width:2.15rem; height:2.15rem; border-radius:.7rem;
  background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2));
  color:var(--fd-accent-ink); display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:.95rem;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);
}
.fd-navbar .nav-link{
  position:relative; color:rgba(255,255,255,.74) !important;
  font-size:.9375rem; font-weight:500; padding:.5rem .85rem !important;
  border-radius:var(--fd-r-sm);
}
.fd-navbar .nav-link:hover,.fd-navbar .nav-link:focus{ color:#fff !important; background:rgba(255,255,255,.08); }
.fd-navbar .nav-link.active{ color:#fff !important; }
.fd-navbar .nav-link.active::after{
  content:""; position:absolute; left:.85rem; right:.85rem; bottom:.28rem; height:2px;
  background:var(--fd-accent); border-radius:2px;
}
.fd-navbar .navbar-toggler{ border:0; box-shadow:none !important; color:#fff; }
.fd-navbar .navbar-toggler:focus{ box-shadow:var(--fd-ring) !important; }
.fd-nav-cta{
  background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2));
  color:var(--fd-accent-ink) !important; font-weight:600; border-radius:var(--fd-r-pill);
  padding:.55rem 1.15rem !important; box-shadow:0 10px 22px rgba(169,133,63,.28);
}
.fd-nav-cta:hover{ filter:brightness(1.05); transform:translateY(-1px); }

/* ---------- 05 首屏 ---------- */
.fd-hero{
  position:relative; overflow:hidden; color:#fff;
  background:
    radial-gradient(900px 460px at 84% -16%, rgba(169,133,63,.30), transparent 62%),
    radial-gradient(880px 520px at 4% 116%, rgba(27,68,89,.55), transparent 62%),
    linear-gradient(158deg,var(--fd-ink) 0%,var(--fd-ink-2) 54%,var(--fd-ink-deep) 100%);
  padding:clamp(3rem,6vw,5.5rem) 0 clamp(2.5rem,4vw,4rem);
}
.fd-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:radial-gradient(64% 58% at 50% 38%,#000,transparent 88%);
}
.fd-hero > .container{ position:relative; z-index:2; }
.fd-hero-eyebrow{
  display:inline-flex; align-items:center; gap:.5rem; margin-bottom:1.35rem;
  font-size:var(--fd-fs-xs); letter-spacing:.18em; text-transform:uppercase;
  color:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.2);
  border-radius:var(--fd-r-pill); padding:.42rem .95rem;
}
.fd-hero-title{ font-size:var(--fd-fs-display); line-height:1.12; letter-spacing:-.03em; color:#fff; margin-bottom:1.1rem; }
.fd-hero-title em{ font-style:normal; color:var(--fd-accent-2); }
.fd-hero-sub{ font-size:var(--fd-fs-lead); font-weight:600; color:var(--fd-accent); margin-bottom:.9rem; letter-spacing:.01em; }
.fd-hero-lead{ color:rgba(255,255,255,.8); max-width:40rem; line-height:1.92; margin-bottom:1.75rem; }
.fd-hero-actions{ display:flex; flex-wrap:wrap; gap:.85rem; }
.fd-hero-panel{
  border:1px solid rgba(255,255,255,.16); border-radius:var(--fd-r-lg);
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  backdrop-filter:blur(10px); padding:1.5rem; box-shadow:var(--fd-shadow-3);
}
.fd-hero-panel h2,.fd-hero-panel h3{ color:#fff; font-size:1.0625rem; margin-bottom:1rem; }
.fd-hero-stats{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:rgba(255,255,255,.14); border-radius:var(--fd-r); overflow:hidden; }
.fd-hero-stats div{ background:rgba(10,26,36,.55); padding:1rem 1.1rem; }
.fd-hero-stats b{ display:block; font-size:1.5rem; font-weight:800; letter-spacing:-.02em; color:#fff; line-height:1.15; }
.fd-hero-stats span{ font-size:var(--fd-fs-xs); color:rgba(255,255,255,.62); }
.fd-stat-strip{ background:var(--fd-surface); border-bottom:1px solid var(--fd-line); }
.fd-stat-cell{ padding:1.9rem 1.15rem; border-right:1px solid var(--fd-line); }
.fd-stat-cell:last-child{ border-right:0; }
.fd-stat-num{ display:block; font-size:clamp(1.85rem,3vw,2.5rem); font-weight:800; letter-spacing:-.03em; line-height:1.05; color:var(--fd-ink); }
.fd-stat-num-sm{ font-size:1.0625rem; font-weight:700; color:var(--fd-ink); padding-top:.5rem; }
.fd-stat-label{ display:block; font-size:var(--fd-fs-xs); color:var(--fd-muted); margin-top:.42rem; letter-spacing:.02em; }
.hero-photo{ border-radius:var(--fd-r-lg); overflow:hidden; box-shadow:var(--fd-shadow-3); }
.hero-photo-mask{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,20,32,0) 42%,rgba(8,20,32,.78)); }
.profile-list{ list-style:none; padding:0; margin:0; }
.profile-list li{ display:flex; justify-content:space-between; gap:1.25rem; padding:.72rem 0; border-bottom:1px dashed var(--fd-line); font-size:var(--fd-fs-sm); }
.profile-list li:last-child{ border-bottom:0; }
.profile-list span{ color:var(--fd-muted); white-space:nowrap; }
.profile-list strong{ text-align:right; font-weight:600; }

/* ---------- 06 章节头 ---------- */
.fd-eyebrow{
  display:inline-flex; align-items:center; gap:.55rem; margin-bottom:.7rem;
  font-size:var(--fd-fs-xs); font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--fd-accent);
}
.fd-eyebrow::before{ content:""; width:26px; height:2px; background:var(--fd-accent); }
.eyebrow{ font-size:var(--fd-fs-xs); letter-spacing:.16em; text-transform:uppercase; font-weight:600; color:var(--fd-accent); }
.eyebrow-light{ color:rgba(255,255,255,.7); }
.section-title{ font-size:var(--fd-fs-h2); letter-spacing:-.022em; line-height:1.24; margin-bottom:.7rem; }
.fd-section-head{ max-width:46rem; margin-bottom:var(--fd-space-6); }
.fd-section-head p:last-child{ margin-bottom:0; color:var(--fd-muted); }
.fd-section-head-row{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:1rem; }

/* ---------- 07 卡片与列表 ---------- */
.fd-card{ border:1px solid var(--fd-line); border-radius:var(--fd-r); background:var(--fd-surface); box-shadow:var(--fd-shadow-1); }
.card{ border:1px solid var(--fd-line); border-radius:var(--fd-r); background:var(--fd-surface); box-shadow:var(--fd-shadow-1); }
.card-body{ padding:1.5rem; }
.card-hover{ transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-hover:hover{ transform:translateY(-3px); box-shadow:var(--fd-shadow-2); border-color:var(--fd-line-strong); }
.tile-0{ border-top:3px solid var(--fd-accent); }
.tile-1{ border-top:3px solid #3f7f9c; }
.tile-2{ border-top:3px solid #7d8b58; }
.fd-city-card{ display:flex; flex-direction:column; height:100%; padding:1.15rem 1.2rem; }
.fd-city-card .fd-city-name{ font-weight:600; color:var(--fd-ink); font-size:1rem; }
.fd-city-card .fd-city-industries{ font-size:var(--fd-fs-xs); color:var(--fd-muted); line-height:1.7; margin:.55rem 0 0; }
.badge-soft{ background:var(--fd-paper); color:#41525f; border:1px solid var(--fd-line); font-weight:500; padding:.32rem .65rem; border-radius:var(--fd-r-pill); font-size:.75rem; }
.badge-accent{ background:var(--fd-accent-wash); color:var(--fd-accent-strong); border:1px solid rgba(169,133,63,.35); font-weight:600; padding:.32rem .65rem; border-radius:var(--fd-r-pill); font-size:.75rem; }
.badge-link{ background:var(--fd-ink); color:#fff; padding:.4rem .8rem; border-radius:var(--fd-r-pill); font-size:var(--fd-fs-xs); }
.badge-link:hover{ background:var(--fd-ink-3); color:#fff; }
.chip{ display:inline-flex; align-items:center; gap:.35rem; padding:.42rem .8rem; border-radius:var(--fd-r-pill); border:1px solid var(--fd-line); background:var(--fd-surface); color:var(--fd-ink); font-size:var(--fd-fs-sm); }
.chip:hover{ border-color:var(--fd-accent); color:var(--fd-accent-strong); background:var(--fd-accent-wash); }
.chip-static{ display:inline-flex; padding:.35rem .75rem; border-radius:var(--fd-r-pill); background:var(--fd-paper); color:var(--fd-muted); font-size:var(--fd-fs-xs); }
.service-icon{ width:2.6rem; height:2.6rem; border-radius:.85rem; background:var(--fd-accent-wash); color:#8a5f1c; display:inline-flex; align-items:center; justify-content:center; font-size:1.15rem; }
.cert-card{ border-left:3px solid var(--fd-accent); background:var(--fd-surface); border-radius:var(--fd-r-sm); padding:1rem 1.15rem; box-shadow:var(--fd-shadow-1); }
.industry-visual{
  border-radius:var(--fd-r-lg); padding:2rem; min-height:13.5rem;
  display:flex; flex-direction:column; justify-content:flex-end;
  color:#fff; position:relative; overflow:hidden; box-shadow:var(--fd-shadow-2);
}
.industry-visual .idx{ position:absolute; top:.4rem; right:1.2rem; font-size:5rem; font-weight:800; opacity:.15; line-height:1; }
.industry-visual.v0{ background:linear-gradient(150deg,var(--fd-ink),var(--fd-ink-3)); }
.industry-visual.v1{ background:linear-gradient(150deg,var(--fd-ink-2),#2c6c86); }
.industry-visual.v2{ background:linear-gradient(150deg,#191f2e,#415270); }
.visual-eyebrow{ font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.64); }
.cta-band{
  background:linear-gradient(140deg,var(--fd-ink),var(--fd-ink-3)); color:#fff;
  border-radius:var(--fd-r-lg); padding:clamp(1.75rem,3.4vw,2.75rem);
  box-shadow:var(--fd-shadow-2); position:relative; overflow:hidden;
}
.cta-band::after{ content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(169,133,63,.35),transparent 70%); }
.cta-band h2,.cta-band h3{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.78); margin-bottom:0; }
.lead-card{ border-radius:var(--fd-r); }

/* ---------- 08 表格 ---------- */
.table{ --bs-table-border-color:var(--fd-line); font-size:var(--fd-fs-sm); }
.table thead th{ font-weight:600; color:var(--fd-ink); background:var(--fd-paper); border-bottom:1px solid var(--fd-line-strong); }
.table tbody tr:hover{ background:#fbfcfe; }
.facts-table{ margin:0; }
.facts-table th{ width:32%; font-weight:600; color:var(--fd-muted); font-size:var(--fd-fs-sm); background:var(--fd-paper); border-color:var(--fd-line); vertical-align:top; }
.facts-table td{ color:var(--fd-text); border-color:var(--fd-line); }
.facts-table tr:last-child th,.facts-table tr:last-child td{ border-bottom:0; }

/* ---------- 09 价格 ---------- */
.price-card{ display:flex; flex-direction:column; height:100%; position:relative; }
.price-card .card-body{ display:flex; flex-direction:column; }
.price-card .btn{ margin-top:auto; }
.pricing-featured{ border:1px solid #d8b982; box-shadow:0 18px 44px rgba(169,133,63,.18); }
.pricing-featured::before{
  content:"最常选"; position:absolute; top:0; right:1.25rem; transform:translateY(-50%);
  background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2)); color:var(--fd-accent-ink);
  font-size:.72rem; font-weight:700; letter-spacing:.08em; padding:.22rem .65rem; border-radius:var(--fd-r-pill);
}

/* ---------- 10 FAQ ---------- */
.accordion{ --bs-accordion-border-color:var(--fd-line); --bs-accordion-border-radius:var(--fd-r); --bs-accordion-inner-border-radius:var(--fd-r); --bs-accordion-btn-focus-box-shadow:var(--fd-ring); }
.accordion-item{ border:1px solid var(--fd-line); border-radius:var(--fd-r) !important; margin-bottom:.75rem; overflow:hidden; background:var(--fd-surface); }
.accordion-button{ font-weight:600; color:var(--fd-ink); background:var(--fd-surface); padding:1.1rem 1.25rem; font-size:1rem; }
.accordion-button:not(.collapsed){ background:var(--fd-paper); color:var(--fd-ink); box-shadow:none; }
.accordion-body{ color:var(--fd-text-2); font-size:var(--fd-fs-sm); line-height:1.9; padding:1rem 1.25rem 1.25rem; }

/* ---------- 11 表单 ---------- */
.form-label{ font-weight:600; color:var(--fd-ink); font-size:var(--fd-fs-sm); margin-bottom:.35rem; }
.form-control,.form-select{
  border:1px solid var(--fd-line-strong); border-radius:var(--fd-r-sm);
  padding:.7rem .9rem; font-size:var(--fd-fs-sm); background:var(--fd-surface); color:var(--fd-text);
}
.form-control::placeholder{ color:var(--fd-muted-2); }
.form-control:focus,.form-select:focus{ border-color:var(--fd-accent); box-shadow:var(--fd-ring); }
.form-text{ color:var(--fd-muted); font-size:var(--fd-fs-xs); }
.form-check-input:checked{ background-color:var(--fd-ink); border-color:var(--fd-ink); }
.alert{ border-radius:var(--fd-r); border:1px solid var(--fd-line); font-size:var(--fd-fs-sm); }
.alert-warning{ background:var(--fd-accent-wash); border-color:var(--fd-line); color:var(--fd-accent-strong); }
.alert-success{ background:#eefaf2; border-color:#bfe6cd; color:#1c6b41; }
.alert-danger{ background:#fdf0ef; border-color:#f2c9c5; color:#8a2b22; }
.alert-info{ background:#eef5fd; border-color:#c9dcf5; color:#1b4a83; }

/* ---------- 12 按钮 ---------- */
.btn{ border-radius:var(--fd-r-pill); font-weight:600; padding:.55rem 1.2rem; font-size:var(--fd-fs-sm); }
.btn-lg{ padding:.78rem 1.6rem; font-size:1rem; }
.btn-sm{ padding:.38rem .85rem; font-size:var(--fd-fs-xs); }
.btn-accent{ background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2)); border:0; color:var(--fd-accent-ink); box-shadow:0 10px 24px rgba(169,133,63,.28); }
.btn-accent:hover{ color:var(--fd-accent-ink); filter:brightness(1.05); transform:translateY(-1px); }
.btn-dark{ background:var(--fd-ink); border-color:var(--fd-ink); }
.btn-dark:hover{ background:var(--fd-ink-3); border-color:var(--fd-ink-3); }
.btn-outline-dark{ border-color:var(--fd-line-strong); color:var(--fd-ink); }
.btn-outline-dark:hover{ background:var(--fd-ink); border-color:var(--fd-ink); color:#fff; }
.btn-outline-light{ border-color:rgba(255,255,255,.4); color:#fff; }
.btn-outline-light:hover{ background:#fff; border-color:#fff; color:var(--fd-ink); }
.btn-link{ color:var(--bs-link-color); }

/* ---------- 13 联系方式 ---------- */
.contact-bar{
  position:sticky; top:0; z-index:1000;
  background:var(--fd-ink); color:#e9f1f4; font-size:var(--fd-fs-sm);
  padding:.75rem 0; border-bottom:1px solid rgba(255,255,255,.09);
}
.contact-bar .contact-title{ font-weight:600; color:#fff; letter-spacing:.02em; }
.contact-item{ display:inline-flex; align-items:center; gap:.45rem; color:#d7e5ec; }
.contact-item:hover{ color:#fff; }
.contact-item .bi{ font-size:.9rem; opacity:.9; }
.contact-cta{ display:inline-flex; align-items:center; gap:.4rem; background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2)); color:var(--fd-accent-ink); font-weight:600; padding:.45rem 1.15rem; border-radius:var(--fd-r-pill); white-space:nowrap; }
.contact-cta:hover{ color:var(--fd-accent-ink); filter:brightness(1.05); }
.contact-wechat{ background:none; border:0; padding:0; font:inherit; cursor:pointer; }
.contact-wechat .bi{ color:#4fc36b; }
.wechat-qr{ width:240px; max-width:100%; height:auto; border-radius:12px; border:1px solid var(--fd-line); background:#fff; }
.contact-fixed{ display:none; }
.qr-preview{ width:180px; height:180px; object-fit:contain; border:1px dashed var(--fd-line-strong); border-radius:var(--fd-r-sm); background:#fff; }

/* ---------- 14 页脚 ---------- */
.fd-footer{ background:var(--fd-ink); color:rgba(255,255,255,.72); padding:clamp(2.5rem,4.5vw,4rem) 0 1.5rem; border-top:1px solid rgba(255,255,255,.08); }
.fd-footer a{ color:rgba(255,255,255,.72); }
.fd-footer a:hover{ color:#fff; }
.fd-footer .fd-footer-title{ color:#fff; font-weight:600; font-size:var(--fd-fs-sm); letter-spacing:.06em; text-transform:uppercase; margin-bottom:.9rem; }
.fd-footer .footer-links{ list-style:none; padding:0; margin:0; font-size:var(--fd-fs-sm); }
.fd-footer .footer-links li{ margin-bottom:.4rem; }
.fd-footer .fd-footer-legal{ border-top:1px solid rgba(255,255,255,.12); margin-top:2rem; padding-top:1.25rem; font-size:var(--fd-fs-xs); color:rgba(255,255,255,.55); }
.footer{ background:var(--fd-ink); color:rgba(255,255,255,.72); }
.footer a{ color:rgba(255,255,255,.72); }
.footer a:hover{ color:#fff; }
.footer-links{ list-style:none; padding:0; margin:0; }

/* ---------- 15 城市切换（原生 details，不依赖 JS 初始化） ---------- */
.city-switch{ position:relative; }
.city-switch > summary{ list-style:none; cursor:pointer; }
.city-switch > summary::-webkit-details-marker{ display:none; }
.city-switch > summary::after{ content:"\25BE"; font-size:.62rem; margin-left:.4rem; vertical-align:middle; opacity:.7; }
.city-switch[open] > summary::after{ content:"\25B4"; }
.city-switch-panel{
  position:absolute; right:0; top:calc(100% + .8rem); z-index:1060;
  width:min(440px,88vw); max-height:70vh; overflow-y:auto;
  background:var(--fd-surface); border:1px solid var(--fd-line);
  border-radius:var(--fd-r); box-shadow:var(--fd-shadow-3); padding:.6rem;
}
.city-switch-head{ font-size:.72rem; letter-spacing:.1em; color:var(--fd-muted); text-transform:uppercase; margin:.35rem .75rem .5rem; }
.city-switch-item{ display:flex; justify-content:space-between; gap:.75rem; padding:.55rem .75rem; border-radius:var(--fd-r-sm); color:var(--fd-ink); font-size:var(--fd-fs-sm); }
.city-switch-item:hover,.city-switch-item:focus{ background:var(--fd-paper); color:var(--fd-ink); }
.city-switch-item.active{ background:var(--fd-ink); color:#fff; }
.city-switch-all{ display:block; margin-top:.4rem; padding:.7rem .75rem .35rem; border-top:1px solid var(--fd-line); color:var(--bs-link-color); font-size:var(--fd-fs-sm); }
#citySwitchWrap{ padding-top:1rem; }
#citySwitchWrap .alert{ align-items:center; }

/* ---------- 16 状态页 ---------- */
.fd-status{ min-height:64vh; display:flex; align-items:center; }
.fd-status-code{ font-size:clamp(3rem,7vw,5rem); font-weight:800; letter-spacing:-.04em; color:var(--fd-accent-wash); line-height:1; margin-bottom:.5rem; }

/* ---------- 17 密度与结构族 ---------- */
body[data-density="compact"] main > section{ padding-top:2.25rem; padding-bottom:2.25rem; }
body[data-density="compact"] main > section h2{ font-size:1.35rem; }
body[data-density="normal"] main > section{ padding-top:3.5rem; padding-bottom:3.5rem; }
body[data-density="airy"] main > section{ padding-top:5.5rem; padding-bottom:5.5rem; }
body[data-density="airy"] main > section h2{ font-size:2.1rem; letter-spacing:-.02em; }
body[data-structure^="param"] .facts-table th{ background:#eef4f8; }
body[data-structure^="port"] .cta-band{ background:linear-gradient(140deg,var(--fd-ink),var(--fd-ink-3)); }

/* ---------- 18 响应式 ---------- */
@media (max-width:991.98px){
  .fd-navbar .navbar-collapse{ padding-top:.75rem; }
  .fd-navbar .nav-link{ padding:.65rem .75rem !important; }
  .city-switch-panel{ position:static; width:auto; max-height:none; box-shadow:none; border:1px solid var(--fd-line); margin-top:.5rem; padding:.5rem; }
  .fd-stat-cell{ border-right:0; border-bottom:1px solid var(--fd-line); }
  .fd-stat-cell:last-child{ border-bottom:0; }
  .fd-hero-panel{ margin-top:2rem; }
}
@media (max-width:767.98px){
  body{ font-size:1rem; }
  .section{ padding:2.75rem 0; }
  .fd-hero{ padding-top:2.5rem; }
  .contact-bar{ position:relative; font-size:var(--fd-fs-xs); padding:.6rem 0; }
  .contact-fixed{ display:grid; grid-template-columns:1fr 1fr; position:fixed; left:0; right:0; bottom:0; z-index:1040; background:var(--fd-ink); box-shadow:0 -6px 20px rgba(10,28,38,.25); }
  .contact-fixed a{ display:flex; align-items:center; justify-content:center; gap:.5rem; color:#fff; padding:.85rem .5rem; font-size:.9375rem; font-weight:600; }
  .contact-fixed a:first-child{ border-right:1px solid rgba(255,255,255,.15); }
  .contact-fixed a:last-child{ background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2)); color:var(--fd-accent-ink); }
  body{ padding-bottom:54px; }
  .city-switch-panel{ width:auto; }
  .modal-dialog.modal-sm{ max-width:88vw; margin:0 auto; }
  .wechat-qr{ width:100%; }
  .fd-hero-stats{ grid-template-columns:1fr 1fr; }
}

/* ---------- 19 组件别名：section 模板沿用旧类名，样式统一走设计系统 ---------- */
.hero{ position:relative; overflow:hidden; color:#fff;
  background:
    radial-gradient(900px 460px at 84% -16%, rgba(169,133,63,.30), transparent 62%),
    radial-gradient(880px 520px at 4% 116%, rgba(27,68,89,.55), transparent 62%),
    linear-gradient(158deg,var(--fd-ink) 0%,var(--fd-ink-2) 54%,var(--fd-ink-deep) 100%);
  padding:clamp(3rem,6vw,5.5rem) 0 clamp(2.5rem,4vw,4rem); }
.hero::before{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:72px 72px; mask-image:radial-gradient(64% 58% at 50% 38%,#000,transparent 88%); }
.hero > .container{ position:relative; z-index:2; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:.5rem; margin-bottom:1.25rem;
  font-size:var(--fd-fs-xs); letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.2); border-radius:var(--fd-r-pill); padding:.42rem .95rem; }
.hero-title{ font-size:var(--fd-fs-display); line-height:1.12; letter-spacing:-.03em; color:#fff; margin-bottom:1rem; }
.hero-sub{ font-size:var(--fd-fs-lead); font-weight:600; color:var(--fd-accent); margin-bottom:.9rem; }
.hero-lead{ color:rgba(255,255,255,.8); max-width:40rem; line-height:1.92; margin-bottom:1.6rem; }
.hero .btn-outline-light{ border-color:rgba(255,255,255,.4); color:#fff; }
.hero .btn-outline-light:hover{ background:#fff; color:var(--fd-ink); }
.hero-card{ border-radius:var(--fd-r-lg); border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.07); backdrop-filter:blur(10px); }
.stat-strip{ background:var(--fd-surface); border-bottom:1px solid var(--fd-line); }
.stat-cell{ padding:1.9rem 1.15rem; border-right:1px solid var(--fd-line); }
.stat-cell:last-child{ border-right:0; }
.stat-num{ display:block; font-size:clamp(1.85rem,3vw,2.5rem); font-weight:800; letter-spacing:-.03em; line-height:1.05; color:var(--fd-ink); }
.stat-num-sm{ font-size:1.0625rem; font-weight:700; color:var(--fd-ink); padding-top:.5rem; }
.stat-label{ display:block; font-size:var(--fd-fs-xs); color:var(--fd-muted); margin-top:.42rem; }
@media (max-width:991.98px){ .stat-cell{ border-right:0; border-bottom:1px solid var(--fd-line); } .stat-cell:last-child{ border-bottom:0; } }

/* 首屏事实句：接 keyword_map 的 facts 字段 */
.hero-facts{ color:rgba(255,255,255,.64); font-size:.9375rem; line-height:1.8; border-left:2px solid var(--fd-accent); padding-left:.85rem; max-width:38rem; }

/* 当前城市切换条（常驻，轻量，不做弹窗） */
.fd-cityswitch{background:var(--fd-paper);border-bottom:1px solid rgba(15,23,42,.08);font-size:13px;color:var(--fd-muted)}
.fd-cityswitch .container{padding-top:7px;padding-bottom:7px}
.fd-cityswitch-now{display:inline-flex;align-items:center;gap:6px}
.fd-cityswitch-now strong{color:var(--fd-ink)}
.fd-cityswitch-now i{color:var(--fd-link)}
.fd-cityswitch-link{display:inline-flex;align-items:center;text-decoration:none;color:var(--fd-link);font-weight:600}
.fd-cityswitch-link:hover{color:var(--fd-link-hover)}
.fd-cityswitch-link i{font-size:1.15em;line-height:1}

/* ---------- 深色卡片可读性（对比度 ≥4.5:1，字号与行距同步放大） ---------- */
:root{
  --fd-on-dark:#ffffff;
  --fd-on-dark-soft:rgba(255,255,255,.88);
  --fd-on-dark-mute:rgba(255,255,255,.8);
}
/* 首页首屏「站点包含什么」卡片 */
.fd-hero-panel{ padding:1.75rem 1.6rem; }
.fd-hero-panel h2,.fd-hero-panel h3{ font-size:1.15rem; letter-spacing:.01em; margin-bottom:1.15rem; }
.fd-hero-panel .profile-list li{ font-size:1rem; line-height:1.75; padding:.95rem 0; gap:1.5rem; }
.fd-hero-panel .profile-list span{ color:var(--fd-on-dark-soft); font-size:.95rem; letter-spacing:.01em; }
.fd-hero-panel .profile-list strong{ color:var(--fd-on-dark); font-weight:600; }
.fd-hero-panel .profile-list li{ border-bottom-color:rgba(255,255,255,.28); }
.fd-hero-stats span{ color:var(--fd-on-dark-soft); font-size:.875rem; line-height:1.55; display:block; margin-top:.2rem; }
.fd-hero-stats b{ font-size:1.6rem; }
/* 其它深色卡片：hero-card / stat 卡 / 首屏事实句 */
.hero .fd-stat-label,.fd-hero-panel .fd-stat-label,.hero-card .fd-stat-label{ color:var(--fd-on-dark-soft); font-size:.875rem; line-height:1.6; }
.hero-card{ background:rgba(255,255,255,.1); }
.hero-card .small,.hero-card .text-secondary{ color:var(--fd-on-dark-soft) !important; }
.hero-facts{ color:var(--fd-on-dark-soft); font-size:1rem; line-height:1.95; }
.fd-hero-lead{ color:var(--fd-on-dark-soft); }
.hero-lead{ color:var(--fd-on-dark-soft); }

/* ---------- 表格防挤压：右栏再窄也按词换行，不出现一字一行与横向滚动 ---------- */
.facts-table{ width:100%; table-layout:fixed; min-width:0; }
.facts-table th,.facts-table td{ white-space:normal; word-break:normal; overflow-wrap:break-word; word-wrap:break-word; hyphens:auto; }
.facts-table th{ width:34%; }
.table-responsive{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
@media (max-width:575.98px){
  .facts-table{ table-layout:auto; }
  .facts-table th{ width:42%; }
}

/* ---------- 「关键事实」表格不做内部滚动：按内容撑开，整表显示 ---------- */
.facts-wrap{ max-height:none; height:auto; overflow:visible; }
.facts-wrap > .facts-table{ margin-bottom:0; }
#facts .facts-wrap{ display:block; }
/* 兜底：任何残留的表格滚动容器都不在这种双列表格里限制高度 */
#facts .table-responsive{ max-height:none; overflow:visible; }

/* ---------- 深色卡片统一规范（含 hero-card「本地出口画像」） ---------- */
/* Bootstrap 的 .card 会写死深色文字，压在深色卡片上就成了暗字；这里统一改回浅色 */
.hero .card,.hero-card{
  color:var(--fd-on-dark);
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}
.hero .card .profile-list li,.hero-card .profile-list li{
  font-size:1rem; line-height:1.78; padding:.95rem 0;
  border-bottom:1px dashed rgba(255,255,255,.3);
}
.hero .card .profile-list li:last-child,.hero-card .profile-list li:last-child{ border-bottom:0; }
.hero .card .profile-list span,.hero-card .profile-list span{
  color:var(--fd-on-dark-soft);
  font-size:.98rem; letter-spacing:.01em;
}
.hero .card .profile-list strong,.hero-card .profile-list strong{
  color:var(--fd-on-dark); font-weight:600;
}
.hero .card .small,.hero .card .text-secondary,
.hero-card .small,.hero-card .text-secondary{ color:var(--fd-on-dark-soft) !important; }
.hero .card .btn-dark,.hero-card .btn-dark{ background:var(--fd-ink); border-color:rgba(255,255,255,.28); color:#fff; }
.hero .card .btn-dark:hover,.hero-card .btn-dark:hover{ background:#13293a; color:#fff; }
/* 深色区块里其它可能漏网的灰字 */
.hero .text-secondary,.section-dark .text-secondary,.cta-band .text-secondary{ color:var(--fd-on-dark-soft) !important; }
.section-dark,.cta-band{ color:var(--fd-on-dark); }
.section-dark a,.cta-band a{ color:#fff; }

/* ---------- 品牌标：去掉重复首字，只留一个几何色块 ---------- */
.fd-brand-mark,.brand-mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:8px; flex:0 0 auto;
  background:linear-gradient(140deg,var(--fd-accent),var(--fd-accent-2));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);
}
.fd-brand-mark::after,.brand-mark::after{
  content:""; width:9px; height:9px; border-radius:3px;
  background:var(--fd-ink); opacity:.72;
}

/* ============================================================
   视觉统一层（不换风格，只把节奏、组件、状态收口）
   1) 字阶 6 级 + 行高比例  2) 8px 间距  3) 组件一套
   ============================================================ */
:root{
  --fs-1:clamp(2rem,4.2vw,2.75rem);   /* H1 */
  --fs-2:clamp(1.5rem,2.6vw,2rem);    /* H2 */
  --fs-3:1.3125rem;                   /* H3 */
  --fs-4:1.0625rem;                   /* 正文强调 */
  --fs-5:.9375rem;                    /* 正文 */
  --fs-6:.8125rem;                    /* 辅助 */
  --lh-1:1.16; --lh-2:1.3; --lh-3:1.45; --lh-4:1.7; --lh-5:1.85; --lh-6:1.6;
  --sp-1:8px; --sp-2:16px; --sp-3:24px; --sp-4:32px; --sp-5:40px; --sp-6:48px; --sp-8:64px;
  --r-sm:8px; --r-md:12px; --r-lg:16px;
  --shadow-1:0 1px 2px rgba(15,23,42,.06);
  --shadow-2:0 6px 18px rgba(15,23,42,.08);
  --shadow-3:0 14px 34px rgba(15,23,42,.10);
  --dur:160ms; --ease:cubic-bezier(.2,.7,.2,1);
}
html{ -webkit-text-size-adjust:100%; }
body{ font-size:var(--fs-5); line-height:var(--lh-4); color:var(--fd-text); }
h1,.hero-title,.section-title{ font-size:var(--fs-1); line-height:var(--lh-1); letter-spacing:-.02em; }
h2,.h4{ font-size:var(--fs-2); line-height:var(--lh-2); }
h3,.h5{ font-size:var(--fs-3); line-height:var(--lh-3); }
h1,h2,h3,h4,h5{ margin-top:0; margin-bottom:var(--sp-2); font-weight:700; }
p{ margin-bottom:var(--sp-2); }
.lead{ font-size:var(--fs-4); line-height:var(--lh-5); }
.small,.text-secondary.small{ font-size:var(--fs-6); line-height:var(--lh-6); }
.section{ padding:var(--sp-8) 0; }
.section-sm{ padding:var(--sp-6) 0; }
.card-body{ padding:var(--sp-3); }
.row.g-4{ --bs-gutter-x:var(--sp-3); --bs-gutter-y:var(--sp-3); }

/* 按钮：主/次/描边统一圆角、阴影、悬停、焦点、禁用 */
.btn{
  --bs-btn-padding-y:.6rem; --bs-btn-padding-x:1.25rem; --bs-btn-font-size:var(--fs-5);
  border-radius:var(--r-sm); font-weight:600; letter-spacing:.01em;
  transition:background-color var(--dur) var(--ease),border-color var(--dur) var(--ease),color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease);
}
.btn:hover{ box-shadow:var(--shadow-2); transform:translateY(-1px); }
.btn:active{ transform:translateY(0); box-shadow:var(--shadow-1); }
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:2px solid var(--fd-accent); outline-offset:2px; border-radius:var(--r-sm);
}
.btn:disabled,.btn.disabled{ opacity:.55; box-shadow:none; transform:none; cursor:not-allowed; }

/* 卡片 / 表单 / 标签 / 表格 / 分页 / 面包屑：同一套 */
.card{ border-radius:var(--r-md); border:1px solid var(--fd-line); box-shadow:var(--shadow-1); transition:box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease); }
.card-hover:hover{ box-shadow:var(--shadow-3); transform:translateY(-2px); }
.card-img-top,.hero-photo img,.fd-city-card img{ aspect-ratio:16/10; object-fit:cover; width:100%; }
.form-control,.form-select{ border-radius:var(--r-sm); border-color:var(--fd-line-strong); padding:.7rem .9rem; font-size:var(--fs-5); }
.form-control:focus,.form-select:focus{ border-color:var(--fd-accent); box-shadow:0 0 0 3px rgba(169,133,63,.16); }
.form-label{ font-size:var(--fs-6); color:var(--fd-muted); margin-bottom:var(--sp-1); }
.badge-soft{ border-radius:999px; padding:.3rem .7rem; font-size:var(--fs-6); font-weight:600; }
.table{ font-size:var(--fs-5); }
.table th,.table td{ padding:.75rem .9rem; }
.breadcrumb{ font-size:var(--fs-6); margin-bottom:var(--sp-2); }
.breadcrumb-item + .breadcrumb-item::before{ opacity:.55; }
.pagination{ gap:.25rem; }
.page-link{ border-radius:var(--r-sm); border-color:var(--fd-line); color:var(--fd-text); }
.page-link:hover{ background:var(--fd-paper); }
.page-item.active .page-link{ background:var(--fd-ink); border-color:var(--fd-ink); color:#fff; }

/* 图标与链接细节 */
.bi{ font-size:1em; line-height:1; vertical-align:-.125em; }
a{ text-decoration-thickness:1px; text-underline-offset:.2em; }
a:hover{ text-decoration-color:currentColor; }
.prose a,.text-secondary a{ text-decoration:underline; text-decoration-color:rgba(37,99,235,.35); }
.prose a:hover,.text-secondary a:hover{ text-decoration-color:currentColor; }

/* 深色面板三级层次：标题 #fff / 正文 .88 / 辅助 .78（均 ≥4.5:1） */
.hero,.section-dark,.cta-band,.fd-footer{ color:rgba(255,255,255,.88); }
.hero h1,.hero h2,.hero h3,.section-dark h2,.section-dark h3,.cta-band h2,.cta-band h3{ color:#fff; }
.hero .small,.hero .text-secondary,.section-dark .small,.section-dark .text-secondary{ color:rgba(255,255,255,.78) !important; }
.fd-footer{ color:rgba(255,255,255,.78); }
.fd-footer a{ color:rgba(255,255,255,.8); }
.fd-footer .fd-footer-legal{ color:rgba(255,255,255,.62); }

/* 城市切换条（常驻，轻量） */
.fd-cityswitch{ background:var(--fd-paper); border-bottom:1px solid rgba(15,23,42,.08); font-size:var(--fs-6); color:var(--fd-muted); }
.fd-cityswitch .container{ padding-top:7px; padding-bottom:7px; }
.fd-cityswitch-now{ display:inline-flex; align-items:center; gap:6px; }
.fd-cityswitch-now strong{ color:var(--fd-ink); }
.fd-cityswitch-link{ display:inline-flex; align-items:center; text-decoration:none; color:var(--fd-link); font-weight:600; }
.fd-cityswitch-link:hover{ color:var(--fd-link-hover); text-decoration:underline; }

/* 响应式：320 / 768 / 1024 / 1440 */
@media (max-width:575.98px){
  :root{ --sp-8:40px; --sp-6:32px; }
  h1,.hero-title{ font-size:1.75rem; }
  .fd-hero-panel,.card-body{ padding:var(--sp-2); }
  .table-responsive{ overflow-x:auto; }
}
@media (min-width:576px) and (max-width:991.98px){ .section{ padding:48px 0; } }
@media (min-width:992px){ .container{ max-width:960px; } }
@media (min-width:1440px){ .container{ max-width:1200px; } h1,.hero-title{ font-size:2.85rem; } }

/* 减少动效偏好 */
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; animation:none !important; } .btn:hover,.card-hover:hover{ transform:none; } }

/* 页头城市切换：可展开、可搜索、移动端同样收在 details 里 */
.fd-cs{ position:relative; }
.fd-cs-summary{ list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:.4rem; padding:.15rem 0; }
.fd-cs-summary::-webkit-details-marker{ display:none; }
.fd-cs-summary::after{ content:"\25BE"; font-size:.6rem; opacity:.6; margin-left:.15rem; }
.fd-cs[open] .fd-cs-summary::after{ content:"\25B4"; }
.fd-cs-toggle{ color:var(--fd-link); font-weight:600; }
.fd-cs-panel{ position:absolute; z-index:60; top:calc(100% + 8px); left:0; width:min(360px,86vw); background:#fff; border:1px solid rgba(15,23,42,.1); border-radius:12px; box-shadow:0 14px 34px rgba(15,23,42,.14); padding:12px; }
.fd-cs-auto{ display:inline-flex; align-items:center; gap:.25rem; margin:0 0 10px; padding:.5rem 1.1rem; border-radius:var(--fd-r-pill); background:var(--fd-ink); color:#fff; font-weight:600; font-size:.875rem; text-decoration:none; }
.fd-cs-auto:hover{ background:var(--fd-ink-2); color:#fff; }
.fd-cs-hint{ font-size:.8125rem; color:var(--fd-muted); margin:0 0 10px; }
.fd-cs-hint{ font-size:.8125rem; color:var(--fd-muted); }
@media (max-width:575.98px){
  .fd-cs-panel{ position:static; width:auto; box-shadow:none; border:0; padding:8px 0 0; }
}

/* 可访问性与 CSP：行内 style 改成类，避免 style-src 严格模式下被浏览器忽略 */
.fd-footer-label{ color:rgba(255,255,255,.45); }
.fd-pointer{ cursor:pointer; }
.fd-eyebrow{ letter-spacing:.14em; color:var(--fd-muted); }
