/* =========================================================
   一块剪贴板 · 设计系统 (2026 高保真)
   参考：Ardot 设计稿 1440 宽
   主色 teal #0D9488 / 辅助 coral #F43F5E / 墨字 #0F1B2D
   字体 Outfit(标题) + Manrope(正文)
   ========================================================= */

:root {
  --bg: #F5F7FA;
  --ink: #0F1B2D;
  --teal: #0D9488;
  --teal-dark: #0B7C72;
  --teal-soft: #0E7C6F;
  --coral: #F43F5E;
  --coral-dark: #E11D48;
  --gray-1: #64748B;
  --gray-2: #94A3B8;
  --border: #E8EDF4;
  --border-strong: #E6EBF2;
  --teal-tint: #EAFBF5;
  --white: #FFFFFF;
  --shadow: 0 14px 34px rgba(15, 27, 45, 0.07);
  --shadow-sm: 0 4px 14px rgba(15, 27, 45, 0.04);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1300px;
  --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---------- 基础 ---------- */
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
a { color: var(--teal); text-decoration: none; }
a:hover, a:focus { color: var(--teal-dark); text-decoration: none; }
img { max-width: 100%; }

.lp-container { max-width: var(--max); margin: 0 auto; }
@media (max-width: 1340px) { .lp-container { padding-left: 24px; padding-right: 24px; } }

.wrap { min-height: auto; height: auto; margin: 0; padding: 0; }
.wrap > .container { padding-top: 0; }
.container { max-width: 1200px; }
.lp-page { padding-top: 30px; padding-bottom: 56px; }

/* =========================================================
   顶部 Header
   ========================================================= */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border-strong);
}
.lp-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; }
.lp-brand .lp-logo { width: 30px; height: 30px; display: block; flex: 0 0 auto; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.lp-brand-text b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.lp-brand-text i {
  font-style: normal;
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.04em;
}
.lp-nav { display: flex; align-items: center; gap: 28px; }
.lp-nav > a { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.lp-nav > a:hover { color: var(--teal); }
.lp-nav .lp-cta {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  margin-left: 2px;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.22);
  transition: background .15s ease;
}
.lp-nav .lp-cta:hover { background: var(--teal-dark); color: #fff; }
.lp-nav .lp-cta-ghost {
  background: #fff;
  color: var(--teal-dark);
  font-weight: 600;
  padding: 9px 18px;
  border: 1.5px solid rgba(13, 148, 136, 0.45);
  border-radius: 10px;
  margin-left: 2px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lp-nav .lp-cta-ghost:hover {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: var(--teal-dark);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.15);
}

/* 移动端汉堡按钮（桌面隐藏） */
.lp-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-nav-toggle:hover,
.lp-nav-toggle:focus {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.12);
  outline: none;
}
.lp-nav-toggle-bars { display: block; width: 18px; }
.lp-nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.lp-nav-toggle-bars i + i { margin-top: 4px; }
.lp-nav-toggle.is-active { border-color: rgba(13, 148, 136, 0.45); }
.lp-nav-toggle.is-active .lp-nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav-toggle.is-active .lp-nav-toggle-bars i:nth-child(2) { opacity: 0; }
.lp-nav-toggle.is-active .lp-nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero 第一行：指向 ykjtb.com 的二维码，醒目且移动端始终可见 */
.lp-hero-qr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 20px 12px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.10);
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
  max-width: max-content;
}
.lp-hero-qr:hover {
  background: #fff;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.18);
  transform: translateY(-1px);
}
.lp-hero-qr img {
  width: 76px;
  height: 76px;
  display: block;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 1px 4px rgba(15, 27, 45, 0.14);
  flex: 0 0 auto;
}
.lp-hero-qr-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.lp-hero-qr-text b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: .01em;
}
.lp-hero-qr-text i {
  font-style: normal;
  font-size: 13px;
  color: var(--teal-dark);
  letter-spacing: .02em;
}
.lp-hero-qr-text em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--gray-2);
}

/* =========================================================
   Hero
   ========================================================= */
.lp-hero {
  background: linear-gradient(180deg, #ECFDF9 0%, #F0FBF9 54%, #F5F7FA 100%);
  padding: 52px 0 56px;
}
.lp-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 44px;
  align-items: center;
}
.lp-hero-copy { max-width: 590px; }
.lp-eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lp-eyebrow-dot::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
}
.lp-hero h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 18px 0 20px;
  color: var(--ink);
}
.lp-hero-sub {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--gray-1);
  max-width: 520px;
  margin: 0 0 26px;
}
.lp-hero-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  padding: 13px 26px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.lp-btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px rgba(13, 148, 136, 0.22); }
.lp-btn-primary:hover { background: var(--teal-dark); color: #fff; }
.lp-btn-ghost { background: #fff; color: var(--ink); border: 1px solid #E2E8F0; }
.lp-btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.lp-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gray-2);
  margin: 0;
}
.lp-hero-note svg { color: var(--teal); flex: 0 0 auto; }

/* Hero 视觉面板 */
.lp-hero-visual { position: relative; width: 100%; max-width: 528px; height: 512px; margin-left: auto; }
.lp-visual-panel {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(124deg, #E9FAF4 0%, #EFF7F2 42%, #FBE8DA 100%);
  box-shadow: 0 30px 64px rgba(13, 148, 136, 0.12), 0 2px 8px rgba(15, 27, 45, 0.04);
}
.lp-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lp-sync-card {
  position: absolute;
  top: 86px;
  left: 42px;
  width: 300px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px 18px;
  box-shadow: 0 20px 46px rgba(15, 27, 45, 0.13);
}
.lp-sync-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.lp-sync-title .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.lp-sync-url {
  margin-top: 10px;
  background: var(--teal-tint);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--teal-soft);
  letter-spacing: 0.01em;
}
.lp-sync-chips { display: flex; gap: 8px; margin-top: 12px; }
.lp-sync-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-tint);
  color: var(--teal-soft);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}
.lp-badge-expire {
  position: absolute;
  right: 34px;
  bottom: 60px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(15, 27, 45, 0.13);
}

/* =========================================================
   通用区块标题
   ========================================================= */
.lp-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.lp-h2 {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 12px;
}
.lp-section-sub {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray-1);
  margin: 0;
  max-width: 660px;
}

/* =========================================================
   三步流程
   ========================================================= */
.lp-steps { background: #fff; padding: 78px 0 84px; }
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.lp-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px 28px;
  box-shadow: var(--shadow-sm);
}
.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.lp-step h3 { font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.lp-step p { font-size: 14px; line-height: 1.7; color: var(--gray-1); margin: 0; }

/* =========================================================
   功能（为什么用）
   ========================================================= */
.lp-features { background: var(--bg); padding: 88px 0 24px; }
.lp-feat-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.lp-feat-lead { font-size: 15.5px; line-height: 1.7; color: var(--gray-1); margin: 0; }
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.lp-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
}
.lp-feature h3 { font-size: 19px; font-weight: 700; margin: 16px 0 8px; }
.lp-feature p { font-size: 14.5px; line-height: 1.7; color: var(--gray-1); margin: 0; }
.lp-feature-ico { color: var(--teal); display: inline-flex; }
.lp-feature-ico.coral { color: var(--coral); }
.lp-feature-teal {
  grid-row: span 2;
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  padding: 34px 36px;
}
.lp-feature-teal .lp-feature-ico { color: #fff; }
.lp-feature-teal h3 { color: #fff; font-size: 24px; margin: 22px 0 10px; }
.lp-feature-teal p { color: rgba(255, 255, 255, 0.84); font-size: 15px; max-width: 430px; }
.lp-flow { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px; }
.lp-flow span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 999px;
}
.lp-flow svg { color: rgba(255, 255, 255, 0.75); }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lp-tags span {
  background: var(--teal-tint);
  color: var(--teal-soft);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 7px;
}
.lp-mock-input {
  margin-top: 16px;
  background: #F1F5F9;
  border-radius: 9px;
  padding: 10px 14px;
  color: #B6C2D1;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.lp-mock-input i {
  width: 1.5px; height: 15px;
  background: var(--teal);
  display: inline-block;
  margin-left: 3px;
}

/* =========================================================
   剪贴板问答
   ========================================================= */
.lp-faq { background: var(--bg); padding: 64px 0 92px; }
.lp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.lp-faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 3px 12px rgba(15, 27, 45, 0.03);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.lp-faq-card:hover {
  border-color: var(--teal);
  box-shadow: 0 14px 30px rgba(15, 27, 45, 0.08);
  transform: translateY(-2px);
}
.lp-faq-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lp-faq-title { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.lp-faq-card:hover .lp-faq-title { color: var(--teal-dark); }
.lp-faq-arrow { color: var(--teal); flex: 0 0 auto; margin-top: 2px; opacity: 0.85; }
.lp-faq-body { display: flex; flex-direction: column; gap: 8px; }
.lp-faq-tag {
  align-self: flex-start;
  background: var(--teal-tint);
  color: var(--teal-soft);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
}
.lp-faq-date { font-size: 12px; color: #A6B3C4; }
.lp-faq-more { text-align: center; margin-top: 34px; }
.lp-faq-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
}
.lp-faq-more a:hover { color: var(--teal-dark); }

/* =========================================================
   Footer
   ========================================================= */
.lp-footer {
  position: relative;
  background: var(--ink);
  color: #B9C4D2;
  overflow: hidden;
  padding: 86px 0 60px;
}
.lp-footer::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -300px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 128, 118, 0.78) 0%, rgba(12, 84, 78, 0.72) 44%, rgba(13, 148, 136, 0) 72%);
  pointer-events: none;
}
.lp-footer-inner { position: relative; z-index: 1; }
.lp-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.lp-footer-brand .lp-brand-text b { color: #fff; }
.lp-footer-brand .lp-brand-text i { color: #7E8DA0; }
.lp-footer-brand p { color: #8C9AAC; font-size: 14px; margin: 16px 0 0; }
.lp-footer-nav { display: flex; gap: 30px; padding-top: 6px; }
.lp-footer-nav a { color: #C7D0DC; font-size: 14.5px; }
.lp-footer-nav a:hover { color: #fff; }
.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 38px;
  color: #6F7E91;
  font-size: 13px;
}
.lp-footer-bottom a { color: #6F7E91; }
.lp-footer-bottom a:hover { color: #C7D0DC; }

/* =========================================================
   问答列表页
   ========================================================= */
.wenda-default-index {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 15px 64px;
  text-align: left;
}
.wenda-head { margin: 0 0 28px; }
.wenda-head .eyebrow { margin-bottom: 8px; }
.wenda-head h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 10px;
}
.wenda-head .wenda-sub {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--gray-1);
  margin: 0;
  max-width: 640px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
}
.wenda-list { display: flex; flex-direction: column; gap: 14px; }

/* 列表条目：标题 + 摘要 + 元信息 + 箭头，整卡可点击 */
.wenda-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.wenda-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.wenda-item-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wenda-item-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.4;
}
/* 整卡可点：标题链接铺满卡片；标签 pill 提层，仍可独立点击 */
.wenda-item-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.wenda-item .tag-pill { position: relative; z-index: 2; }
.wenda-item:hover .wenda-item-title { color: var(--teal-dark); }
.wenda-item-excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wenda-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-2);
}
.wenda-item-meta .dot { color: var(--gray-2); }
.wenda-item-arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.wenda-item:hover .wenda-item-arrow {
  background: var(--teal);
  color: #fff;
  transform: translateX(3px);
}

/* 标签筛选条 */
.wenda-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 16px;
  background: var(--teal-tint);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--teal-soft);
}
.wenda-filter b { font-weight: 700; }
.wenda-filter a {
  margin-left: auto;
  font-weight: 600;
  color: var(--teal);
}
.wenda-filter a:hover { color: var(--teal-dark); }
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: var(--teal-tint);
  color: var(--teal-soft);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* =========================================================
   问答详情页
   ========================================================= */
.yitem-view.container {
  max-width: 820px;
  padding-top: 24px;
  padding-bottom: 56px;
  text-align: left;
}
.wenda-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 8px 16px 8px 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal);
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.wenda-back:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.yitem-view h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 16px;
  line-height: 1.25;
}
.wenda-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-1);
  margin-bottom: 24px;
}
.wenda-meta .dot { color: var(--gray-2); }
.wenda-meta .tag-pill { font-size: 13px; }
.wenda-content {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-1);
  word-break: break-all;
}
.wenda-content p { margin: 0 0 14px; }
.wenda-content p:last-child { margin-bottom: 0; }
.wenda-content a { color: var(--teal); word-break: break-all; }

/* 文末：同标签更多 + 下一篇 */
.wenda-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.wenda-more-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--teal-tint);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal-soft);
}
.wenda-more-tag:hover { color: var(--teal-dark); }
.wenda-next { margin: 0 0 0 auto; }
.wenda-next .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: #fff;
  box-shadow: none;
}
.wenda-next .btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* =========================================================
   按钮 / 表单 / 面板（兼容贴一块、找一块、分享页）
   ========================================================= */
.btn {
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 26px;
  line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary, .btn-success {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.22);
}
.btn-primary:hover, .btn-primary:focus,
.btn-success:hover, .btn-success:focus { background: var(--teal-dark); color: #fff; }
.btn-default { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-default:hover, .btn-default:focus { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-lg { padding: 15px 32px; font-size: 17px; }

.form-control {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  min-height: 46px;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12); }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.panel-default > .panel-heading {
  background: var(--teal-tint);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--radius) var(--radius) 0 0;
}

.viewcontent {
  font-size: 1.05em;
  min-height: 5em;
  word-break: break-all;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  text-align: left;
  padding: 28px 26px;
  color: var(--gray-1);
  line-height: 1.85;
}
.viewtip { color: var(--gray-1); font-style: normal; font-size: 14px; }

/* ---------- 分页器 ----------
   ListView 自动生成 <ul class="pagination">。
   注意：审核页曾误用 <div class="pagination"> 当按钮容器，已改回 .yitem-actions，
   因此下列规则一律限定 ul.pagination，避免误伤。 */
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wenda-list > ul.pagination { margin-top: 24px; }
ul.pagination > li { display: block; float: none; }
ul.pagination > li > a,
ul.pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-1);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
ul.pagination > li > a:hover,
ul.pagination > li > a:focus {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: var(--teal-dark);
}
ul.pagination > li.active > a,
ul.pagination > li.active > span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.22);
}
ul.pagination > li.active > a:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
ul.pagination > li.disabled > span,
ul.pagination > li.disabled > a {
  color: var(--gray-2);
  background: var(--white);
  border-color: var(--border);
  cursor: not-allowed;
}

/* 贴一块 / 找一块 基础排版 */
.yitem-create h1, .yitem-search h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 22px;
}

/* =========================================================
   内页通用：表单卡片 / 提示列表（找一块、贴一块、分享页）
   与首页 .panel 白卡保持同一设计语言（圆角 / 描边 / 浅阴影）
   注意：AppAsset 依赖 Bootstrap，.row/.form-group 带 Bootstrap 行为，
   这里仅在必要时覆盖，不依赖 Bootstrap 栅格。
   ========================================================= */
.yitem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 38px;
  max-width: 600px;
  margin: 0 auto;
}
.yitem-card .eyebrow { margin-bottom: 10px; }
.yitem-card h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.yitem-lead {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-1);
  margin: 0 0 26px;
}
.yitem-form { margin: 0; }
.yitem-form .form-group { margin-bottom: 18px; }
/* 覆盖 Bootstrap .control-label 的默认 padding，统一为块级标签 */
.yitem-form label,
.yitem-create label,
.yitem-search label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}
.yitem-form .help-block {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-2);
  margin-top: 6px;
}
.yitem-form textarea.form-control,
.yitem-form input.form-control { width: 100%; }
.yitem-form .btn-lg { width: 100%; margin-top: 4px; }

/* 提示列表：圆点 + 分隔线，呼应首页功能卡语气 */
.yitem-tips {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 11px;
}
.yitem-tips li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-1);
}
.yitem-tips li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.yitem-tips li p { margin: 0; }
.yitem-tips a { color: var(--teal); font-weight: 600; }
.yitem-tips a:hover { color: var(--teal-dark); }

/* 分享页：二维码 + 操作 区卡片化（替代 Bootstrap .row，避免负边距） */
.yitem-view .yitem-sharecard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-bottom: 22px;
}
.yitem-view .yitem-sharecard img {
  width: 132px; height: 132px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.yitem-view .yitem-sharecard .viewtip {
  flex: 1 1 220px;
  margin: 0;
}
.yitem-view .yitem-sharecard .form-group {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
}
.yitem-view .viewcontent {
  margin-left: 0;
  margin-right: 0;
}
.yitem-view .ycontent a { word-break: break-all; }

/* =========================================================
   按钮：覆盖 Bootstrap 的蓝/绿，全站主操作统一 teal
   ========================================================= */
.btn-primary,
.btn-success {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 10px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-primary:hover, .btn-primary:focus,
.btn-success:hover, .btn-success:focus {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.22);
}
.btn-primary:active, .btn-success:active,
.btn-primary.active, .btn-success.active,
.open > .dropdown-toggle.btn-primary,
.open > .dropdown-toggle.btn-success {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}
/* 危险/严肃操作（如确认投诉）用辅助色 coral */
.btn-danger {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
}
.btn-danger:hover, .btn-danger:focus {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.22);
}
/* 次要操作：白底描边 */
.btn-default {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--gray-1);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
}
.btn-default:hover, .btn-default:focus {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: var(--teal-dark);
}

/* 按钮组：主次并排 */
.yitem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.yitem-actions .btn { margin: 0; }
.yitem-form .yitem-actions .btn-lg { width: auto; min-width: 132px; }

/* 投诉类型选择：pill 化（替代 Bootstrap 竖排 radio） */
.yitem-radiolist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.yitem-radiolist label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 17px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-1);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.yitem-radiolist label:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-tint);
}
.yitem-radiolist input[type="radio"] {
  margin: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--teal);
}
.yitem-radiolist label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-tint);
  color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* =========================================================
   状态消息卡（投诉结果 / 冻结 / 过期等纯提示页）
   ========================================================= */
.yitem-state {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px 38px 34px;
  text-align: center;
}
.yitem-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.yitem-state-icon svg { width: 30px; height: 30px; color: var(--teal); }
.yitem-state--warn .yitem-state-icon { background: #FFF1F3; }
.yitem-state--warn .yitem-state-icon svg { color: var(--coral); }
.yitem-state h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.yitem-state-msg {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray-1);
  margin: 0 0 24px;
}
.yitem-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.yitem-state-actions .btn { min-width: 128px; }
/* 状态卡整体居中，但提示列表保持左对齐便于阅读 */
.yitem-state .yitem-tips { text-align: left; margin-top: 24px; }

/* =========================================================
   404 / 错误页（views/site/error.php）
   ========================================================= */
.yitem-error-page { padding: 20px 0 8px; }
.yitem-state-note {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-1);
  margin: -10px 0 26px;
}
.yitem-error-qr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 10px 18px 10px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.yitem-error-qr img {
  display: block;
  width: 76px;
  height: 76px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.yitem-error-qr span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.32;
}
.yitem-error-qr b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--teal-dark);
}
.yitem-error-qr i {
  font-style: normal;
  font-size: 12.5px;
  color: var(--teal);
  letter-spacing: .02em;
}

/* 分享页底部操作：投诉入口 */
.yitem-view-foot {
  margin-top: 24px;
  display: flex;
  align-items: center;
}
.yitem-report {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 17px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-1);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.yitem-report svg { width: 15px; height: 15px; }
.yitem-report:hover {
  border-color: var(--coral);
  background: #FFF1F3;
  color: var(--coral-dark);
}

@media (max-width: 760px) {
  .yitem-card { padding: 26px 20px; border-radius: 14px; }
  .yitem-card h1 { font-size: 26px; }
  .yitem-lead { font-size: 15px; margin-bottom: 22px; }
  .yitem-view .yitem-sharecard { gap: 16px; padding: 20px; }
  .yitem-view .yitem-sharecard img { width: 108px; height: 108px; }
  .yitem-view .yitem-sharecard .form-group { margin-left: 0; width: 100%; }
  .yitem-view .yitem-sharecard .form-group .btn { width: 100%; }
  ul.pagination { gap: 6px; }
  ul.pagination > li > a,
  ul.pagination > li > span { min-width: 38px; height: 38px; padding: 0 11px; font-size: 14px; }
  .yitem-state { padding: 30px 20px 26px; border-radius: 14px; }
  .yitem-state h1 { font-size: 22px; }
  .yitem-state-icon { width: 54px; height: 54px; }
  .yitem-error-page { padding: 6px 0 0; }
  .yitem-error-qr { gap: 11px; padding: 9px 14px 9px 9px; }
  .yitem-error-qr img { width: 64px; height: 64px; }
  .yitem-error-qr b { font-size: 13.5px; }
  .yitem-state-icon svg { width: 26px; height: 26px; }
  .yitem-state-actions { flex-direction: column; }
  .yitem-state-actions .btn { width: 100%; }
  .yitem-actions { flex-direction: column; }
  .yitem-form .yitem-actions .btn-lg { width: 100%; }
  .yitem-radiolist label { padding: 8px 14px; font-size: 14px; }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1100px) {
  .lp-hero h1 { font-size: 46px; }
  .lp-features-grid { gap: 18px; }
}
@media (max-width: 980px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-copy { max-width: 640px; }
  .lp-hero-visual { height: 440px; }
  .lp-steps-grid { grid-template-columns: 1fr; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-feature-teal { grid-row: auto; }
  .lp-hero { padding: 48px 0 60px; }
}
@media (max-width: 760px) {
  .lp-header-inner { height: 64px; position: relative; gap: 12px; }

  /* 汉堡按钮 + 点击展开的堆叠菜单 */
  .lp-nav-toggle { display: inline-flex; }
  .lp-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(15, 27, 45, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .lp-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .lp-nav > a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    color: var(--ink);
  }
  .lp-nav > a:active { background: var(--bg); }
  .lp-nav .lp-cta,
  .lp-nav .lp-cta-ghost {
    display: block;
    margin-left: 0;
    text-align: center;
    font-size: 15px;
  }
  .lp-nav .lp-cta-ghost { margin-top: 6px; padding: 11px 16px; }
  .lp-nav .lp-cta { margin-top: 6px; padding: 12px 16px; box-shadow: none; }
  .lp-nav .lp-cta:hover { color: #fff; }

  .lp-hero-qr { margin-top: 22px; padding: 10px 16px 10px 10px; gap: 12px; }
  .lp-hero-qr img { width: 64px; height: 64px; }
  .lp-hero-qr-text b { font-size: 14px; }
  .lp-hero-qr-text i { font-size: 12px; }
  .lp-hero h1 { font-size: 36px; }
  .lp-hero-sub { font-size: 15.5px; }
  .lp-h2 { font-size: 27px; }
  .lp-faq-grid { grid-template-columns: 1fr; }
  .lp-hero-visual { height: 380px; }
  .lp-sync-card { width: 260px; top: 60px; left: 24px; }
  .lp-footer-top { flex-direction: column; }
  .lp-footer-bottom { flex-direction: column; gap: 8px; }
  .wenda-item { gap: 12px; padding: 18px; }
  .wenda-item-title { font-size: 15.5px; }
  .wenda-item-excerpt { font-size: 13.5px; -webkit-line-clamp: 3; line-clamp: 3; }
  .wenda-item-arrow { width: 28px; height: 28px; }
  .wenda-meta { gap: 10px; font-size: 13px; }
  .wenda-content { padding: 24px 20px; }
  .wenda-foot { gap: 10px; }
  .wenda-next { margin-left: 0; width: 100%; }
  .wenda-next .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   小工具版块（/tools/base64）
   ========================================================= */
.tool-page { padding: 40px 20px 64px; }
.tool-card { max-width: 760px; padding: 34px 36px; margin-bottom: 24px; }

.tool-local-badge {
  display: flex; align-items: flex-start; gap: 9px;
  background: var(--teal-tint); border: 1px solid rgba(13,148,136,.28);
  color: var(--teal-dark); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 13.5px; line-height: 1.55; margin-bottom: 22px;
}
.tool-local-badge svg { flex: 0 0 auto; margin-top: 2px; }

.tool-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.tool-tab {
  appearance: none; -webkit-appearance: none; background: none; border: 0;
  border-bottom: 2px solid transparent; font-family: var(--font-body);
  font-size: 15px; font-weight: 600; color: var(--gray-1);
  padding: 8px 4px 10px; margin-bottom: -1px; cursor: pointer;
}
.tool-tab:hover { color: var(--teal-dark); }
.tool-tab.is-active { color: var(--teal-dark); border-bottom-color: var(--teal); }

.tool-panel { margin-top: 4px; }
.tool-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--gray-1);
  margin: 0 0 7px; letter-spacing: .01em;
}
.tool-area {
  display: block; width: 100%; box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
  font-size: 14px; line-height: 1.6; color: var(--ink);
  background: #FBFCFE; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 12px 14px;
  resize: vertical; outline: none; transition: border-color .15s, box-shadow .15s;
}
.tool-area:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.tool-area[readonly] { background: #F7F9FC; }
.tool-area::placeholder { color: var(--gray-2); font-family: var(--font-body); font-size: 14px; }

.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.tool-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: #fff; color: var(--ink); transition: all .15s;
}
.tool-btn:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-dark); }
.tool-btn:disabled { opacity: .45; cursor: not-allowed; }
.tool-btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.tool-btn-primary:hover:not(:disabled) { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.tool-btn-ghost { background: transparent; color: var(--gray-1); }

.tool-opts { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 22px; }
.tool-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--gray-1); cursor: pointer; }
.tool-check input { width: 15px; height: 15px; accent-color: var(--teal); flex: 0 0 auto; }
.tool-check code { background: #F1F5F9; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }

.tool-resultbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.tool-stat { font-size: 13px; color: var(--gray-1); }

.tool-error {
  margin-top: 12px; padding: 11px 14px; border-radius: var(--radius-sm);
  background: #FEF2F4; border: 1px solid rgba(244,63,94,.3);
  color: var(--coral-dark); font-size: 13.5px; line-height: 1.55;
}

.tool-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--teal-tint); border: 1px solid rgba(13,148,136,.28);
  font-size: 14px; color: var(--teal-dark);
}
.tool-cta-btn {
  display: inline-block; background: var(--teal); color: #fff !important;
  padding: 8px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.tool-cta-btn:hover { background: var(--teal-dark); }

.tool-sub { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.tool-hr { border: 0; border-top: 1px solid var(--border); margin: 26px 0; }

.tool-drop {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  background: #FBFCFE; padding: 26px 18px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s; margin-bottom: 14px;
}
.tool-drop:hover, .tool-drop.is-over { border-color: var(--teal); background: var(--teal-tint); }
.tool-drop svg { color: var(--teal); }
.tool-drop-main { margin: 8px 0 3px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tool-drop-sub { margin: 0; font-size: 12.5px; color: var(--gray-2); }

.tool-imgwrap { margin-bottom: 14px; text-align: center; }
.tool-imgwrap img { max-width: 100%; max-height: 260px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.tool-imgmeta { font-size: 12.5px; color: var(--gray-1); margin-top: 8px; word-break: break-all; }

.tool-seo h2 {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  color: var(--ink); margin: 26px 0 10px;
}
.tool-seo h2:first-child { margin-top: 0; }
.tool-seo p { font-size: 15px; line-height: 1.75; color: #334155; margin: 0 0 12px; }
.tool-seo code { background: #F1F5F9; padding: 1.5px 6px; border-radius: 4px; font-size: 13.5px; color: var(--teal-dark); }
.tool-faq { margin-top: 14px; }
.tool-faq details { border-bottom: 1px solid var(--border); padding: 12px 0; }
.tool-faq summary {
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink);
  list-style: none; outline: none;
}
.tool-faq summary::-webkit-details-marker { display: none; }
.tool-faq summary::before { content: '+'; color: var(--teal); font-weight: 700; margin-right: 9px; }
.tool-faq details[open] summary::before { content: '−'; }
.tool-faq details p { margin: 9px 0 0 18px; font-size: 14.5px; color: var(--gray-1); }

@media (max-width: 760px) {
  .tool-page { padding: 24px 14px 48px; }
  .tool-card { padding: 24px 20px; }
  .tool-area { font-size: 16px; }   /* 防 iOS 聚焦自动放大 */
  .tool-actions { gap: 8px; }
  .tool-btn { flex: 1 1 calc(50% - 4px); padding: 11px 10px; text-align: center; }
  .tool-opts { gap: 12px; }
  .tool-resultbar { flex-direction: column; align-items: stretch; }
  .tool-resultbar .tool-btn { width: 100%; flex: none; }
  .tool-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .tool-cta-btn { width: 100%; box-sizing: border-box; }
  .tool-seo h2 { font-size: 18px; }
  .tool-seo p { font-size: 14.5px; }
}

/* =========================================================
   小工具中心 · 列表页（/tools）
   ========================================================= */
.tool-back { margin: -8px 0 18px; font-size: 13.5px; }
.tool-back a { color: var(--gray-1); }
.tool-back a:hover { color: var(--teal-dark); }

.toolhub-head { text-align: left; }
.toolhub-count-total {
  margin: 0; font-size: 13.5px; color: var(--gray-1);
  padding-top: 14px; border-top: 1px solid var(--border);
}

.toolhub-grid {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.toolhub-item { display: flex; }

.toolhub-card {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; padding: 22px 22px 18px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.toolhub-card:hover {
  border-color: var(--teal); box-shadow: 0 6px 20px rgba(13,148,136,.10);
  transform: translateY(-2px); text-decoration: none; color: inherit;
}
.toolhub-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.toolhub-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--teal-tint); color: var(--teal-dark); flex: 0 0 auto;
}
.toolhub-icon svg { width: 21px; height: 21px; }

.toolhub-body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.toolhub-name {
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  color: var(--ink); line-height: 1.35;
}
.toolhub-intro { font-size: 14px; line-height: 1.6; color: var(--gray-1); }

.toolhub-kw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.toolhub-kw i {
  font-style: normal; font-size: 12px; line-height: 1;
  color: var(--gray-1); background: #F5F7FA;
  padding: 5px 8px; border-radius: 999px;
}

.toolhub-meta {
  display: flex; align-items: center; gap: 7px;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--gray-2);
}
.toolhub-cat { color: var(--teal-dark); font-weight: 600; }
.toolhub-arrow { width: 16px; height: 16px; margin-left: auto; color: var(--gray-2); flex: 0 0 auto; }
.toolhub-card:hover .toolhub-arrow { color: var(--teal); }

@media (max-width: 760px) {
  .toolhub-grid { grid-template-columns: 1fr; gap: 12px; }
  .toolhub-card { padding: 18px 18px 15px; }
  .toolhub-name { font-size: 16px; }
}

/* =========================================================
   小工具 · 通用增强组件
   ========================================================= */
.tool-field { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--gray-1); }
.tool-field select {
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 6px 10px; outline: none; cursor: pointer;
}
.tool-field select:focus { border-color: var(--teal); }

.tool-hint { margin: -4px 0 14px; font-size: 13px; color: var(--gray-2); line-height: 1.6; }
.tool-resultbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 统计数字网格（字数统计） */
.tool-metrics {
  display: grid; gap: 10px; margin-bottom: 24px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
.tool-metric {
  background: #FBFCFE; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 12px; text-align: center;
}
.tool-metric b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 24px; color: var(--teal-dark); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.tool-metric span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--gray-1); }

/* 对照表（字数上限 / 检测结果） */
.tool-limits { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 4px; }
.tool-limits th, .tool-limits td {
  text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border);
  font-weight: 400; color: var(--gray-1);
}
.tool-limits th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tool-limits tr:last-child th, .tool-limits tr:last-child td { border-bottom: 0; }
.tool-limits td:last-child { text-align: right; }
.tool-limits tr.is-over td:last-child { color: var(--coral-dark); font-weight: 600; }
.tool-limits tr.is-full td:last-child { color: var(--teal-dark); font-weight: 600; }

/* 不可见字符卡片（blankchar） */
.char-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 6px; }
.char-card {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #FBFCFE; padding: 12px 13px;
}
.char-swatch {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px;
  border: 1px dashed var(--border-strong); background: #fff;
}
.char-body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.char-body b { font-size: 14px; font-weight: 600; color: var(--ink); }
.char-body code { font-size: 12px; color: var(--teal-dark); background: none; padding: 0; }
.char-desc { font-size: 12px; color: var(--gray-2); line-height: 1.45; }
.char-copy { flex: 0 0 auto; padding: 7px 12px !important; font-size: 13px !important; }

.tool-scan { margin: 4px 0 16px; font-size: 14px; }
.tool-scan.is-empty {
  background: var(--teal-tint); border: 1px solid rgba(13,148,136,.28);
  color: var(--teal-dark); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13.5px;
}
.tool-scan-head { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.tool-scan-head b { color: var(--coral-dark); }

/* 双栏输入（diff） */
.tool-diffpair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
.tool-diffpair > div { min-width: 0; }

.diff-out {
  max-height: 420px; overflow: auto; margin-bottom: 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #FBFCFE;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
  font-size: 13.5px; line-height: 1.65;
}
.diff-line { display: flex; gap: 8px; padding: 2px 12px; white-space: pre-wrap; word-break: break-all; }
.diff-sign { flex: 0 0 auto; width: 10px; color: var(--gray-2); user-select: none; }
.diff-line.is-add { background: #E7F7EF; }
.diff-line.is-add .diff-sign { color: #0B7C72; }
.diff-line.is-del { background: #FDEEF1; }
.diff-line.is-del .diff-sign { color: var(--coral-dark); }
.diff-line.is-same { color: var(--gray-1); }

@media (max-width: 760px) {
  .tool-diffpair { grid-template-columns: 1fr; }
  .tool-metrics { grid-template-columns: repeat(2, 1fr); }
  .char-grid { grid-template-columns: 1fr; }
  .diff-out { max-height: 320px; font-size: 12.5px; }
  .tool-resultbar-actions { width: 100%; }
  .tool-resultbar-actions .tool-btn { flex: 1 1 auto; }
}

/* =========================================================
   小工具 · 第二期通用组件（listfmt / jsonfmt / textclean /
   urlclean / extract / replace 共用）
   ========================================================= */

/* 单行文本输入（前缀 / 后缀 / 连接符 / 查找 / 替换） */
.tool-input {
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 6px 10px; outline: none; width: 100%; box-sizing: border-box;
  min-width: 0; transition: border-color .15s, box-shadow .15s;
}
.tool-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }

/* 多规则列表（批量查找替换） */
.tool-rules { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.tool-rule {
  display: grid; gap: 10px; align-items: center;
  grid-template-columns: 1fr auto 1fr auto;
}
.tool-rule .tool-input { min-width: 0; }
.tool-rule-arrow { color: var(--gray-2); font-size: 16px; flex: 0 0 auto; }
.tool-rule .tool-btn { padding: 6px 14px !important; font-size: 13px !important; white-space: nowrap; }

/* 使用提醒（合规提示条） */
.tool-notice {
  margin-bottom: 20px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #FFF7ED; border: 1px solid rgba(217,119,6,.28);
  color: #7C4A12; font-size: 13.5px; line-height: 1.6;
}
.tool-notice b { color: #92400E; }

@media (max-width: 760px) {
  .tool-rule { grid-template-columns: 1fr auto; }
  .tool-rule-arrow { display: none; }
  .tool-rule .tool-btn { grid-column: 1 / -1; width: 100%; text-align: center; }
}
