/**
 * Impeccable · 进壳工具全局设计令牌与玻璃质感（P1/P2 DevHub / tool-modern-patch 共用）
 * 与 public/static/aitools/ai_theme.css 色系对齐；仅作用于 .static-shell--devhub / .static-shell--tool-modern-patch 作用域，避免污染首页裸 Bootstrap。
 */
.static-shell--devhub,
.static-shell--tool-modern-patch {
  --im-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --im-radius-xl: 24px;
  --im-radius-lg: 18px;
  --im-glass: rgba(255, 255, 255, 0.55);
  --im-glass-border: rgba(15, 23, 42, 0.08);
  --im-text: #0b1220;
  --im-muted: #5b6475;
  --im-accent: #3d5afe;
  --im-accent-2: #00b8d9;
  --im-shadow: 0 18px 48px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(61, 90, 254, 0.12);
  font-family: var(--im-font);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  color: var(--im-text);
}

.static-shell--devhub .shell-breadcrumb,
.static-shell--tool-modern-patch .shell-breadcrumb {
  margin-bottom: 16px !important;
  padding: 12px 18px !important;
  border-radius: var(--im-radius-lg) !important;
  background: var(--color-surface-raised, rgba(255, 255, 255, 0.92)) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--im-glass-border) !important;
  box-shadow: var(--im-shadow) !important;
  font-size: 13px !important;
}

.static-shell--devhub .shell-breadcrumb a,
.static-shell--tool-modern-patch .shell-breadcrumb a {
  color: var(--im-accent);
  font-weight: 600;
  text-decoration: none;
}

.static-shell--devhub .shell-breadcrumb a:hover,
.static-shell--tool-modern-patch .shell-breadcrumb a:hover {
  text-decoration: underline;
}

.static-shell--devhub .shell-breadcrumb > li + li::before,
.static-shell--tool-modern-patch .shell-breadcrumb > li + li::before {
  color: var(--im-muted);
}

.static-shell--devhub .tool-shell-manual,
.static-shell--tool-modern-patch .tool-shell-manual {
  border-radius: var(--im-radius-xl) !important;
  background: var(--color-surface-subtle, #f8fafc) !important;
  border: 1px solid var(--im-glass-border) !important;
  box-shadow: var(--im-shadow) !important;
}

.static-shell--devhub h1,
.static-shell--devhub .h1,
.static-shell--tool-modern-patch h1,
.static-shell--tool-modern-patch .h1 {
  letter-spacing: -0.03em;
}

/**
 * 全站：关闭 footer 内右侧 position:fixed 推广层，避免遮挡正文、下拉菜单与无障碍焦点。
 * 商业推广请改用正文内 ad_slot、或首页 .home-sidebar-ad--sticky 等版位。
 */
.lmcjl_right_fixed {
  display: none !important;
}

/* -------------------------------------------------------------------------
   胖页脚：合规链接 + 多列站点导航（与 home_sitemap 共用）
   ------------------------------------------------------------------------- */
.fat-footer-wrap {
  margin-top: 32px;
  padding: 28px 0 20px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.fat-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
}

.fat-footer-legal a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
}

.fat-footer-legal a:hover {
  text-decoration: underline;
}

.fat-footer-sitemap__title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.fat-footer-sitemap__inner {
  margin-bottom: 20px;
}

/* 旧版页脚多列导航（含 .footer-nav）；新版 Bento 站点地图不再使用此结构 */
@media (min-width: 992px) {
  .footer-nav.fat-footer-sitemap__nav {
    column-count: 4;
    column-gap: 28px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-nav.fat-footer-sitemap__nav {
    column-count: 2;
    column-gap: 22px;
  }
}

.footer-nav.fat-footer-sitemap__nav ul {
  break-inside: avoid;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.footer-nav.fat-footer-sitemap__nav .list-inline > li {
  display: block;
  margin: 2px 0;
}

.footer-nav.fat-footer-sitemap__nav h3 {
  margin: 10px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.footer-nav.fat-footer-sitemap__nav a {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
}

.footer-nav.fat-footer-sitemap__nav a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

.fat-footer-copy {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.fat-footer-copy a {
  color: #475569;
}
