/* ============================================================
   AI 工具导航 - 仿猫目网布局
   顶栏 + 左侧固定分类侧边栏 + 封面卡片网格 + 黑色页脚
   ============================================================ */
:root {
    --brand: #0E8A5F;
    --brand-hover: #0B6F4D;
    --bg: #f8fafc;
    --card: #ffffff;
    --ink: #292e36;
    --muted: #626a78;
    --muted-bg: #f5f6f8;
    --border: #e8eaee;
    --input: #dfe3e9;
    --accent: #e9edf2;
    --footer-bg: #000000;
    --footer-muted: #a3a3a3;
    --footer-hover: #7FD4AE;
    --rail: 236px;
    --header-h: 64px;
    --ad-h: 40px;
    --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
button, input { font: inherit; }

/* ---------- 顶部广告通栏（猫目精确：40px 青→紫渐变） ---------- */
.top-ad {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--ad-h); font-size: 13px; line-height: 20px; color: #fff;
    background: linear-gradient(90deg, #2FBF83, #0E8A5F);
}
.top-ad a { color: #fff; }
.top-ad .ad-tag {
    padding: 0 5px; border: 1px solid rgba(255,255,255,.75); border-radius: 4px; font-size: 10px; line-height: 16px;
}

/* ---------- 顶栏 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--card);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    width: min(100% - 48px, 1480px);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-inline: auto;
}
.header-menu {
    display: none;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    cursor: pointer;
}
.header-menu span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.header-menu span::before, .header-menu span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.header-menu span::before { top: -6px; }
.header-menu span::after { top: 6px; }

.brand { display: flex; align-items: center; gap: 9px; flex: 0 0 188px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .brand-logo-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand .cover-logo {
    width: 34px !important; height: 34px !important; border-radius: 50% !important;
    font-size: 15px !important; background: #111 !important; color: #7ef0c0 !important;
    box-shadow: none !important; font-weight: 800 !important;
}
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; color: var(--ink); }

.header-search {
    display: flex; align-items: center; flex: 1 1 auto; max-width: 560px; height: 38px;
    margin-inline: auto;
    border: 1px solid var(--input); border-radius: 999px; background: var(--card);
    padding-left: 14px; overflow: hidden; transition: border-color .15s;
}
.header-search:focus-within { border-color: var(--brand); }
.header-search .search-icon { flex: 0 0 auto; color: var(--muted); }
.header-search input {
    flex: 1; min-width: 0; height: 100%; padding: 0 10px;
    border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px;
}
.header-search input::placeholder { color: #9aa1ac; }
.header-search button {
    flex: 0 0 auto; height: 100%; padding: 0 20px; border: 0; cursor: pointer;
    background: var(--brand); color: #fff; font-size: 13px; font-weight: 500;
}
.header-search button:hover { background: var(--brand-hover); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: auto; }
.header-text-link { font-size: 13px; color: var(--ink); white-space: nowrap; }
.header-text-link:hover { color: var(--brand); }
.header-submit {
    padding: 7px 15px; border-radius: 999px; background: var(--brand); color: #fff;
    font-size: 13px; font-weight: 500; white-space: nowrap;
}
.header-submit:hover { background: var(--brand-hover); color: #fff; }
.header-login {
    flex: 0 0 auto; font-size: 13px; color: var(--ink); background: transparent;
    border: 0; cursor: pointer; white-space: nowrap;
}
.header-login:hover { color: var(--brand); }

/* ---------- 框架：侧边栏 + 主内容 ---------- */
.site-frame { display: flex; align-items: flex-start; }
.sidebar {
    position: sticky; top: var(--header-h);
    flex: 0 0 var(--rail); width: var(--rail);
    height: calc(100vh - var(--header-h));
    overflow-y: auto; overflow-x: hidden;
    border-right: 1px solid var(--border); background: #f7f8fa;
    padding: 14px 12px 24px; scrollbar-width: thin;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--input); border-radius: 3px; }
.side-group { margin-bottom: 16px; }
.side-group-title {
    padding: 8px 12px 4px; margin-bottom: 2px;
    font-size: 12px; font-weight: 500; color: var(--muted);
}
.side-link {
    display: flex; align-items: center; gap: 11px;
    min-height: 44px; padding: 8px 12px; border-radius: 9px;
    font-size: 14px; font-weight: 400; color: #3a4049; transition: background .12s, color .12s;
}
.side-link:hover { background: var(--muted-bg); color: var(--brand); }
.side-link.active { background: #EAF6F0; color: var(--brand); font-weight: 600; }
.side-link.active:hover { background: #EAF6F0; color: var(--brand); }
.side-icon { flex: 0 0 20px; width: 20px; height: 20px; text-align: center; font-size: 16px; opacity: .85; }
.side-badge {
    margin-left: auto; padding: 1px 5px; border-radius: 3px;
    font-size: 10px; line-height: 15px; color: #fff; background: #e11d2e; font-weight: 500;
}
.side-arrow { margin-left: auto; font-size: 16px; color: var(--muted); }
.side-foot {
    display: flex; align-items: center; gap: 8px; padding: 14px 12px 6px;
    border-top: 1px solid var(--border); margin-top: 6px;
    font-size: 12px; color: var(--muted);
}
.side-foot a { color: var(--muted); }
.side-foot a:hover { color: var(--brand); }
.sf-dot { opacity: .5; }

.main-area { flex: 1; min-width: 0; padding: 28px 40px 64px; }
.wrap { width: min(100%, 1480px); margin: 0 auto; }

/* ---------- 页面标题 ---------- */
.page-intro { margin-bottom: 26px; }
.page-intro h1 { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.page-intro p { color: var(--muted); font-size: 13px; }
.breadcrumb { margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 通用区块标题 ---------- */
.block { margin-bottom: 30px; }
.block-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.block-head h2 { font-size: 17px; font-weight: 700; color: var(--ink); }
.block-more { font-size: 12px; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.block-more:hover { text-decoration: underline; }

/* ---------- 封面卡片网格 ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1400px) { .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .tool-grid { grid-template-columns: 1fr; gap: 14px; } }

.tool-card {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--card); overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tool-card:hover {
    border-color: var(--brand); box-shadow: 0 8px 24px rgba(14, 138, 95, .12); transform: translateY(-2px);
}
.tool-badge {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    display: none;
    padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 700;
    color: #fff; background: #f43f3f; box-shadow: 0 2px 8px rgba(244,63,63,.28);
}
/* 最新收录按更新时间排序，前 5 张打 New 标（与猫目一致） */
.tool-grid .tool-card:nth-child(-n+5) .tool-badge { display: block; }
.tool-cover {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(160deg, #f8faff 0%, #eef2fd 100%);
}
/* 封面：正式站 logo 为正方形，用 contain 居中显示，避免拉伸变形 */
.cover-image {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: top center; display: block;
    image-rendering: -webkit-optimize-contrast;
}
.cover-image.is-logo { object-fit: contain; object-position: center; padding: 8%; background: #fff; }
.tool-cover::after { content: none; }
.cover-fallback {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 42px; font-weight: 700; color: var(--brand);
    background: linear-gradient(135deg, #EAF6F0, #DEF3E8);
}
@media (max-width: 820px) { .cover-fallback { font-size: 34px; } }

.tool-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.tool-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tool-logo {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; overflow: hidden;
    display: grid; place-items: center; background: var(--muted-bg);
    font-size: 12px; font-weight: 600; color: var(--muted);
}
.tool-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #fff; }
.tool-heading h3 {
    font-size: 13px; font-weight: 600; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tool-summary {
    margin-top: 8px; font-size: 11px; line-height: 1.6; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 35px;
}
.tool-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: auto; padding-top: 10px;
}
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; overflow: hidden; }
.tool-tags span {
    padding: 1px 7px; border-radius: 6px; background: var(--muted-bg);
    font-size: 10px; color: var(--muted); white-space: nowrap;
}
.tool-action { flex: 0 0 auto; color: var(--muted); transition: transform .15s, color .15s; }
.tool-card:hover .tool-action { color: var(--brand); transform: translateX(3px); }

/* ---------- 顶部推广区（猫目真实图片布局） ---------- */
.spotlight {
    display: grid; grid-template-columns: 2.05fr 1fr; gap: 14px; margin-bottom: 16px;
}
@media (max-width: 1100px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight-lead { min-width: 0; }
.spot-banner {
    display: block; position: relative; width: 100%; aspect-ratio: 3.2 / 1;
    border-radius: 14px; overflow: hidden; background: #dfe7ff;
}
.spot-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-width: 0; }
.spot-poster {
    display: block; position: relative; width: 100%; min-height: 90px;
    border-radius: 14px; overflow: hidden; background: #0f172a;
}
.spot-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-tool {
    display: grid; grid-template-columns: 1fr 40%; gap: 10px; align-items: center;
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
    background: var(--card); padding: 12px 14px; min-height: 90px;
}
.spot-tool-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.spot-tool-id { display: flex; align-items: center; gap: 7px; }
.spot-tool-id img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.spot-tool-id strong { font-size: 15px; font-weight: 700; }
.spot-tool-sum { font-size: 11.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-tool-go { font-size: 11px; color: var(--muted); }
.spot-tool-art { height: 100%; border-radius: 8px; overflow: hidden; }
.spot-tool-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 首页快捷入口 5 张小卡 ---------- */
.discovery-strip {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px;
}
@media (max-width: 1100px) { .discovery-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .discovery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.discovery-item {
    position: relative; display: flex; align-items: center; gap: 10px; min-width: 0;
    height: 74px; border-radius: 12px; overflow: hidden; padding: 0 12px 0 8px;
    background: #0f172a; color: #fff;
}
.di-art { position: absolute; inset: 0; opacity: .55; }
.di-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.di-logo {
    position: relative; z-index: 1; flex: 0 0 34px; width: 34px; height: 34px;
    border-radius: 9px; background: #fff; overflow: hidden; display: grid; place-items: center;
}
.di-logo img { width: 100%; height: 100%; object-fit: cover; }
.di-title { position: relative; z-index: 1; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.discovery-item:hover .di-art { opacity: .72; }

/* ---------- 热门工具（紧凑网格，无边框） ---------- */
.hot-grid {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
}
@media (max-width: 1400px) { .hot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .hot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .hot-grid { grid-template-columns: 1fr; } }
.hot-card {
    display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 76px; padding: 12px 11px;
    border: 1px solid transparent; border-radius: 12px; background: var(--card);
    transition: border-color .18s, box-shadow .18s;
}
.hot-card:hover { border-color: var(--border); box-shadow: 0 6px 16px rgba(24,34,60,.06); }
.hot-logo {
    flex: 0 0 39px; width: 39px; height: 39px; border-radius: 10px; overflow: hidden;
    display: grid; place-items: center; background: var(--muted-bg); font-size: 15px; font-weight: 700; color: var(--brand);
}
.hot-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #fff; }
.hot-copy { min-width: 0; }
.hot-title { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hot-desc { margin-top: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ---------- 分类筛选标签栏 ---------- */
.filter-tabbar {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 18px;
}
.filter-tab {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
    border: 1px solid var(--border); border-radius: 7px; background: var(--card);
    font-size: 12px; color: var(--ink); white-space: nowrap;
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand); }
.filter-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-tab .ft-icon { font-size: 12px; opacity: .8; }

/* ---------- Hero 搜索区 ---------- */
.hero-band {
    border-radius: 16px; padding: 30px 32px; margin-bottom: 28px;
    background: linear-gradient(120deg, #292e36, #3a4150); color: #fff;
}
.hero-band h1 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.hero-band p { color: #c9ced8; font-size: 13px; margin-bottom: 18px; }
.hero-search { display: flex; max-width: 560px; height: 44px; border-radius: 22px; overflow: hidden; background: #fff; }
.hero-search input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; color: var(--ink); font-size: 14px; }
.hero-search button { flex: 0 0 auto; padding: 0 24px; border: 0; cursor: pointer; background: var(--brand); color: #fff; font-weight: 500; }
.hero-search button:hover { background: var(--brand-hover); }

/* ---------- 分类胶囊 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
    background: var(--card); color: var(--ink); font-size: 12px;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip small { color: var(--muted); font-size: 10px; }
.chip.active small { color: rgba(255,255,255,.8); }

/* ---------- 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px;
    padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); font-size: 12px;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 详情页 ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.detail-main { padding: 24px; }
.detail-head { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.detail-logo {
    flex: 0 0 72px; width: 72px; height: 72px; border-radius: 16px; overflow: hidden;
    display: grid; place-items: center; background: var(--accent); font-size: 28px; font-weight: 700; color: var(--brand);
}
.detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.detail-head h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.detail-desc { color: var(--muted); font-size: 13px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border-radius: 9px; font-size: 13px; font-weight: 500; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.detail-content { font-size: 14px; line-height: 1.9; }
.detail-content img { max-width: 100%; border-radius: 8px; }
.detail-content p { margin-bottom: 14px; }
.detail-content h2 { font-size: 18px; font-weight: 700; line-height: 1.5; margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.detail-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.detail-content h3 { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.detail-content ul, .detail-content ol { margin: 0 0 14px; padding-left: 22px; }
.detail-content li { margin-bottom: 6px; }
.detail-content strong, .detail-content b { font-weight: 700; }
.detail-content a { color: var(--brand); text-decoration: none; }
.detail-content blockquote { margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--accent); border-radius: 0 8px 8px 0; }
.detail-side { display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 18px; }
.info-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.info-list { display: grid; grid-template-columns: 70px 1fr; gap: 10px 8px; margin: 0; font-size: 13px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.mini-list { display: flex; flex-direction: column; gap: 9px; }
.mini-list a { font-size: 13px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.mini-list a:hover { color: var(--brand); }
.mini-list i { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ---------- 详情页（猫目风格重构） ---------- */
.detail-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 30px; padding: 4px 0 26px; border-bottom: 1px solid var(--border); align-items: start;
}
@media (max-width: 1000px) { .detail-hero { grid-template-columns: 1fr; } }
.detail-hero-top { display: flex; gap: 16px; align-items: flex-start; }
.detail-big-logo {
    flex: 0 0 76px; width: 76px; height: 76px; border-radius: 18px; overflow: hidden;
    display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--brand), #12A970);
}
.detail-big-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.detail-hero-copy { min-width: 0; }
.detail-hero-copy h1 { font-size: 30px; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; margin: 2px 0 10px; }
.detail-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-chip { display: inline-block; padding: 3px 9px; border-radius: 5px; background: #f1f5f9; color: #64748b; font-size: 12px; }
.detail-lead { margin: 20px 0 8px; font-size: 16px; font-weight: 600; line-height: 1.6; color: #1e293b; }
.detail-blurb { font-size: 13px; line-height: 1.85; color: #64748b; }
.detail-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 14px; }
.detail-actions .btn { padding: 10px 20px; border-radius: 8px; font-size: 13px; }
.detail-host { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; word-break: break-all; }
.detail-host .host-dot { width: 13px; height: 13px; border: 1.5px solid #94a3b8; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; }
.detail-hero-media {
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #f8fafc;
    min-height: 260px; display: flex; flex-direction: column; justify-content: center;
}
.detail-hero-media .media-frame {
    flex: 1; min-height: 220px; display: grid; place-items: center;
    background: linear-gradient(135deg, #EAF6F0 0%, #DEF3E8 50%, #B9EBD6 100%);
}
.detail-hero-media .media-frame img { max-width: 62%; max-height: 210px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.14)); }
.detail-hero-media .media-frame .media-letter { font-size: 86px; font-weight: 800; color: rgba(255,255,255,.85); }
.detail-hero-media .media-caption { padding: 9px 14px; font-size: 11px; color: #94a3b8; text-align: center; background: #fff; }
.detail-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; margin-top: 26px; align-items: start; }
@media (max-width: 980px) { .detail-body-grid { grid-template-columns: 1fr; } }
.detail-article { min-width: 0; }
.detail-article h2 { font-size: 19px; font-weight: 700; margin: 0 0 16px; }
.detail-article .detail-content { font-size: 14px; line-height: 1.95; color: #334155; }
.detail-article .detail-content h2 { font-size: 17px; margin: 22px 0 10px; }
.detail-article .detail-content h3 { font-size: 15px; margin: 18px 0 8px; }
.detail-side-stack { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 82px; }
@media (max-width: 980px) { .detail-side-stack { position: static; } }
.toc-card { padding: 16px 14px; }
.toc-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-list a { display: block; padding: 7px 10px; font-size: 12px; color: #64748b; border-radius: 6px; border-left: 2px solid transparent; }
.toc-list a:hover, .toc-list a.active { background: #EAF6F0; color: var(--brand); border-left-color: var(--brand); }
.resource-link { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed var(--border); }
.resource-link:last-child { border-bottom: 0; }
.resource-link span { color: var(--muted); }
.resource-link a { color: var(--brand); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-meta-top { display: flex; justify-content: flex-end; gap: 16px; font-size: 11px; color: #94a3b8; margin-bottom: 14px; }

.empty-state { padding: 60px 20px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.empty-state strong { font-size: 16px; }
.empty-state p { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* ---------- 页脚（黑色） ---------- */
.site-footer { margin-top: 40px; background: var(--footer-bg); color: var(--footer-foreground, #fff); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 38px 28px 26px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 28px; border-bottom: 1px solid #1f1f1f; }
.footer-brand { min-width: 220px; flex: 1; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 10px; color: var(--footer-muted); font-size: 12px; max-width: 320px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; margin-bottom: 12px; color: #fff; }
.footer-col a { display: block; margin-bottom: 8px; font-size: 12px; color: var(--footer-muted); }
.footer-col a:hover { color: var(--footer-hover); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; color: var(--footer-muted); font-size: 12px; }

/* ---------- 提示页 ---------- */
.notice-card { max-width: 520px; margin: 60px auto; padding: 44px 32px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.notice-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.notice-icon.ok { color: #15803d; background: #dcfce7; }
.notice-icon.err { color: #b91c1c; background: #fee2e2; }
.notice-card h1 { font-size: 20px; margin-bottom: 8px; }
.notice-card p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.notice-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .header-menu { display: flex; }
    .header-nav { display: none; }
    .sidebar { display: none; position: fixed; left: 0; top: var(--header-h); z-index: 90; box-shadow: 8px 0 30px rgba(0,0,0,.08); }
    .sidebar.is-open { display: block; }
    .header-login { display: none; }
    .main-area { padding: 20px 16px 48px; }
}
@media (max-width: 600px) {
    .brand-name { display: none; }
    .header-search { flex-basis: 200px; }
    .hero-band { padding: 24px 20px; }
    .hero-band h1 { font-size: 20px; }
    .page-intro h1 { font-size: 22px; }
    .detail-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- 工具目录页（对齐 maomu.com/ai-tools） ---------- */
.top-ad .ad-go { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.header-nav { display: none; align-items: center; gap: 2px; height: 100%; flex: 0 0 auto; }
.header-nav a {
    position: relative; display: inline-flex; align-items: center; gap: 4px;
    height: 100%; padding: 0 12px; font-size: 14px; color: #3a4049; white-space: nowrap;
}
.header-nav a:hover { color: var(--brand); }
.header-nav a.is-active { color: var(--brand); font-weight: 600; }
.header-nav a.is-active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
    height: 2px; border-radius: 2px; background: var(--brand);
}
.header-nav .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .65; }
.header-nav .side-badge { margin-left: 2px; }

.side-tools { display: none; }
.side-back {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px 16px; margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
    font-size: 13px; color: var(--muted);
}
.side-back span { font-size: 16px; }
.side-back:hover { color: var(--brand); }
.side-tools .side-icon { font-size: 0; }
.side-tools .side-icon::before { content: "◈"; font-size: 15px; }
.side-tools .side-link:nth-child(2) .side-icon::before { content: "✦"; }
.side-tools .side-link:nth-child(3) .side-icon::before { content: "✎"; }
.side-tools .side-link:nth-child(4) .side-icon::before { content: "▧"; }
.side-tools .side-link:nth-child(5) .side-icon::before { content: "▷"; }
.side-tools .side-link:nth-child(6) .side-icon::before { content: "♪"; }
.side-tools .side-link:nth-child(7) .side-icon::before { content: "◫"; }
.side-tools .side-link:nth-child(8) .side-icon::before { content: "⌘"; }
.side-tools .side-link:nth-child(9) .side-icon::before { content: "◉"; }
.side-tools .side-link:nth-child(10) .side-icon::before { content: "▤"; }
.side-tools .side-link:nth-child(11) .side-icon::before { content: "◎"; }
.side-tools .side-link:nth-child(12) .side-icon::before { content: "▦"; }
.side-tools .side-link:nth-child(13) .side-icon::before { content: "▣"; }
.side-tools .side-link:nth-child(14) .side-icon::before { content: "✧"; }

.is-toolspage .header-nav { display: flex; }
.is-toolspage .header-search { display: none; }
.is-toolspage .header-ad-link { display: none; }
.is-toolspage .brand { flex: 0 0 auto; }
.is-toolspage .side-home { display: none; }
.is-toolspage .side-tools { display: block; }

/* 广告通栏：首页 / 工具目录页分别对应猫目两条在投广告 */
.ad-slot-tools { display: none; }
.is-toolspage .ad-slot-home { display: none; }
.is-toolspage .ad-slot-tools { display: inline; }

/* ---------- 工具目录页 Hero（对齐猫目 /ai-tools） ---------- */
.explore-hero { position: relative; padding: 126px 0 4px; overflow: hidden; }
.eh-cloud {
    position: absolute; top: 2px; left: 0; right: 0; height: 168px;
    background-image: url("/static/aitool/hero-logos.png");
    background-repeat: repeat-x; background-position: center top;
    background-size: 1080px auto; opacity: .5; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 88%);
    mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 88%);
}
.eh-main { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; text-align: center; padding: 0 0 6px; }
.eh-title { font-size: 34px; line-height: 1.28; font-weight: 800; letter-spacing: -.6px; color: var(--ink); }
.eh-accent { color: var(--brand); }
.eh-totals { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.eh-totals strong { color: var(--ink); font-weight: 700; margin: 0 2px; }
.eh-search {
    display: flex; align-items: center; gap: 8px;
    margin: 20px auto 0; max-width: 424px; height: 50px; padding: 0 8px 0 13px;
    background: #fff; border: 1px solid var(--input); border-radius: 14px;
    box-shadow: 0 6px 18px rgba(24, 34, 60, .05);
}
.eh-brand img { width: 22px; height: 22px; }
.eh-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 14px; color: var(--ink); }
.eh-input::placeholder { color: #98a0ad; }
.eh-submit {
    flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center;
    border: 0; border-radius: 9px; background: transparent; color: #8b93a1; cursor: pointer;
}
.eh-submit:hover { color: var(--brand); background: var(--muted-bg); }

/* 工具页分节标题 */
.explore-section { margin-top: 26px; }
.explore-section + .tp-group { margin-top: 30px; }
.explore-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.explore-head h2 { font-size: 17px; font-weight: 700; color: var(--ink); }
.explore-more { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--muted); }
.explore-more:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 820px) {
    .explore-hero { padding-top: 84px; }
    .eh-title { font-size: 23px; }
    .eh-cloud { height: 118px; background-size: 760px auto; opacity: .42; }
}

/* 顶部热门横条 */
.tp-hot {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
    margin-bottom: 26px;
}
.tp-hot-item {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--card); transition: border-color .15s, box-shadow .15s;
}
.tp-hot-item:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(14,138,95,.08); }
.tp-hot-logo {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; overflow: hidden;
    display: grid; place-items: center; background: var(--accent);
    font-size: 15px; font-weight: 700; color: var(--brand);
}
.tp-hot-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #fff; }
.tp-hot-copy { min-width: 0; }
.tp-hot-copy strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-hot-copy > span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 分类分块 */
.tp-group { margin-bottom: 30px; scroll-margin-top: 82px; }
.tp-group-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.tp-group-head h2 { font-size: 18px; font-weight: 700; color: var(--ink); }
.tp-count { font-size: 12px; color: var(--muted); }
.tp-more { margin-left: auto; font-size: 12px; color: var(--brand); white-space: nowrap; }
.tp-more:hover { text-decoration: underline; }
.tp-tags .tp-more { align-self: center; display: inline-flex; align-items: center; flex: 0 0 auto; position: sticky; right: 0; background: var(--card); padding-left: 8px; }
.tp-tags {
    display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 14px; align-items: center;
    overflow-x: auto; scrollbar-width: none;
}
.tp-tags::-webkit-scrollbar { display: none; }
.tp-tag {
    flex: 0 0 auto;
    padding: 5px 12px; border: 1px solid transparent; border-radius: 8px;
    background: var(--muted-bg); font-size: 12px; color: #555d69; white-space: nowrap;
}
.tp-tag:hover { border-color: var(--brand); color: var(--brand); }
.tp-tag.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 紧凑小卡网格（对齐 maomu /ai-tools：6 列、gap 12px、卡高 76px） */
.mini-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mini-tool {
    display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 76px;
    padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--card); transition: border-color .15s, box-shadow .15s;
}
.mini-tool:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(14,138,95,.08); }
.mini-logo {
    flex: 0 0 39px; width: 39px; height: 39px; border-radius: 9px; overflow: hidden;
    display: grid; place-items: center; background: var(--accent);
    font-size: 14px; font-weight: 700; color: var(--brand);
}
.mini-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #fff; }
/* 白底 logo 在白色卡片上需要一圈内描边，否则看起来像空白 */
.mini-logo, .hot-logo, .tool-logo, .tp-hot-logo { box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .07); }
.mini-copy { min-width: 0; }
.mini-copy strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-copy > span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.to-top {
    position: fixed; right: 24px; bottom: 28px; z-index: 60;
    width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--card); color: var(--muted); font-size: 17px; cursor: pointer;
    box-shadow: 0 4px 16px rgba(20,26,38,.08); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--brand); border-color: var(--brand); }

/* 首页最新收录标题数字 */
.block-title { display: flex; align-items: baseline; gap: 10px; }
.block-count { font-size: 12px; color: var(--muted); font-weight: 400; }

@media (max-width: 1400px) { .mini-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tp-hot { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tp-hot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tp-hot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .header-nav { display: none !important; } }
@media (max-width: 520px)  { .mini-grid { grid-template-columns: 1fr; } .tp-hot { grid-template-columns: 1fr; } }
@media (max-width: 980px)  { .is-toolspage .header-nav { display: none; } }

/* ============================================================
   分类页（对齐 maomu /category/{id}）：左侧全分类树 + 主区网格
   ============================================================ */
.cat-layout {
    display: grid; grid-template-columns: 238px minmax(0, 1fr);
    gap: 22px; align-items: start; padding: 18px 0 44px;
}
/* 分类页对齐 maomu：桌面端只保留一列分类树，隐藏全局导航栏（移动端仍保留抽屉） */
@media (min-width: 981px) { body.is-catpage .sidebar { display: none; } }
.cat-side {
    position: sticky; top: calc(var(--header-h) + var(--ad-h) + 14px);
    max-height: calc(100vh - var(--header-h) - var(--ad-h) - 34px);
    overflow-y: auto; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 10px 12px 14px;
    scrollbar-width: thin;
}
.cat-side::-webkit-scrollbar { width: 5px; }
.cat-side::-webkit-scrollbar-thumb { background: #dfe3e9; border-radius: 3px; }
.cs-title {
    position: sticky; top: 0; z-index: 2; background: var(--card);
    font-size: 13px; font-weight: 700; color: var(--ink);
    padding: 4px 2px 10px; border-bottom: 1px solid var(--border); margin-bottom: 2px;
}
.cs-group { border-bottom: 1px dashed var(--border); }
.cs-group:last-child { border-bottom: 0; }
.cs-parent {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 9px 2px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.cs-parent:hover { color: var(--brand); }
.cs-caret {
    flex: 0 0 auto; width: 6px; height: 6px; margin-right: 3px;
    border-right: 1.5px solid #b9c0cc; border-bottom: 1.5px solid #b9c0cc;
    transform: rotate(-45deg); transition: transform .18s;
}
.cs-group.open .cs-caret { transform: rotate(45deg); }
.cs-children { display: none; padding: 0 0 8px; }
.cs-group.open .cs-children { display: block; }
.cs-children a {
    display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted);
    padding: 6px 8px; border-radius: 6px; word-break: break-word; transition: background .15s, color .15s;
}
.cs-children a:hover { background: var(--muted-bg); color: var(--brand); }
.cs-children a.on { background: #EAF6F0; color: var(--brand); font-weight: 600; }
.cs-children a.cs-all { color: var(--brand); font-weight: 500; }
.cat-empty {
    margin-top: 10px; padding: 46px 20px; text-align: center; line-height: 1.9;
    background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
    color: var(--muted); font-size: 13.5px;
}
.cat-empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.cat-empty a { color: var(--brand); }

.cat-main { min-width: 0; }
/* 分类页顶部横幅（对齐 maomu 深色 hero） */
.cat-hero {
    position: relative; overflow: hidden; border-radius: 18px;
    padding: 34px 36px 30px; color: #fff;
    background:
        radial-gradient(760px 300px at 84% 14%, rgba(18,169,112,.40), transparent 64%),
        radial-gradient(560px 300px at 8% 100%, rgba(14,138,95,.30), transparent 62%),
        linear-gradient(122deg, #0a1024 0%, #111a35 46%, #1a2450 100%);
}
.cat-hero h1 {
    font-size: clamp(26px, 2.6vw, 38px); font-weight: 800;
    letter-spacing: -.6px; line-height: 1.25; margin-bottom: 12px;
}
.cat-hero-desc {
    font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.74); max-width: 740px;
}
.cat-hero-num {
    display: inline-block; margin-top: 16px; font-size: 12.5px;
    color: rgba(255,255,255,.62); letter-spacing: .2px;
}
@media (max-width: 620px) {
    .cat-hero { padding: 24px 20px 22px; border-radius: 14px; }
    .cat-hero-desc { font-size: 13px; }
}
.cat-head { margin-bottom: 4px; }
.cat-head h1 { font-size: 23px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 8px; }
.cat-desc { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.cat-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat-sub {
    font-size: 12.5px; color: var(--muted); background: var(--card);
    border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px;
}
.cat-sub:hover, .cat-sub.on { color: var(--brand); border-color: #C7E9D9; background: #F2FAF6; }
.cat-bar {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 12px; flex-wrap: wrap; margin: 18px 0 14px;
}
.cat-bar-num { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   详情页（1:1 对齐 maomu /p/{slug}）
   hero: 左文案 1fr + 右官网预览 46%，gap clamp(32,5vw,76)
   正文: 780px + 236px 目录栏，prose 16px/2.0
   ============================================================ */
.pd-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 0 72px; }

.pd-topline {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 12px;
}
.pd-crumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    font-size: 12px; line-height: 1.6; color: var(--muted);
}
.pd-crumb a { color: var(--muted); }
.pd-crumb a:hover { color: var(--brand); }
.pd-crumb span { color: var(--muted); }
.pd-crumb em { font-style: normal; color: var(--ink); }
.pd-credit { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---------- hero ---------- */
.pd-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    align-items: center; gap: clamp(32px, 5vw, 76px);
    padding: 52px 0 48px;
}
.pd-hero.no-shot { grid-template-columns: minmax(0, 820px); }
.pd-hero-copy { min-width: 0; }

.pd-identity { display: flex; align-items: center; gap: 20px; }
.pd-logo {
    flex: none; width: 64px; height: 64px; border-radius: 15px;
    background: var(--muted-bg); display: grid; place-items: center; overflow: hidden;
}
.pd-logo img { width: 100%; height: 100%; object-fit: contain; }
.pd-logo { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.25; padding: 4px; word-break: break-all; }
.pd-identity h1 {
    min-width: 0; margin: 0; font-size: clamp(34px, 3.8vw, 52px);
    font-weight: 680; line-height: 1.17; letter-spacing: -.035em;
    overflow-wrap: anywhere; color: var(--ink);
}

.pd-cats {
    display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px;
    font-size: 12px; line-height: 1.7; color: var(--muted);
}
.pd-cats a {
    color: inherit; text-decoration: underline;
    text-decoration-color: var(--border); text-underline-offset: 4px;
}
.pd-cats a:hover { color: var(--brand); text-decoration-color: currentColor; }

.pd-tagline {
    margin-top: 26px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 480;
    line-height: 1.65; letter-spacing: -.01em; color: var(--ink);
}
.pd-summary {
    max-width: 36em; margin-top: 14px; font-size: 15px;
    line-height: 1.9; color: var(--muted);
}
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.pd-actions .btn { min-height: 48px; padding: 0 18px; }
.pd-domain {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 17px;
    font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 100%;
    overflow-wrap: anywhere;
}
.pd-domain:hover { color: var(--brand); }

/* ---------- 官网预览 ---------- */
.pd-preview { min-width: 0; margin: 0; }
.pd-preview-btn {
    display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
    background: var(--muted-bg); border-radius: 14px; overflow: hidden; position: relative;
}
.pd-preview-btn img {
    display: block; width: 100%; height: auto; aspect-ratio: 1.57;
    object-fit: contain; object-position: center;
    transition: filter .24s cubic-bezier(.16, 1, .3, 1);
}
.pd-preview-btn:hover img { filter: brightness(.95); }
.pd-preview-expand {
    position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px;
    display: grid; place-items: center; border-radius: 8px;
    background: var(--card); color: var(--ink); font-size: 14px; line-height: 1;
}
.pd-preview figcaption {
    display: flex; align-items: flex-start; gap: 16px; margin-top: 14px;
    font-size: 12px; line-height: 1.75; color: var(--muted);
}
.pd-preview figcaption strong { color: var(--ink); font-weight: 550; white-space: nowrap; margin-right: 4px; }

/* ---------- 正文 + 目录 ---------- */
.pd-reading {
    display: grid; grid-template-columns: minmax(0, 780px) 236px;
    justify-content: space-between; gap: 70px; padding-top: 42px;
    border-top: 1px solid var(--border);
}
.pd-article { min-width: 0; }

.pd-article-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 24px;
}
.pd-article-head h2 {
    margin: 0; font-size: 24px; font-weight: 650; line-height: 1.5;
    letter-spacing: -.02em; color: var(--ink);
}
.pd-article-head span {
    flex: none; display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--muted);
}

.pd-prose { font-size: 16px; line-height: 2; color: #2b3038; overflow-wrap: anywhere; }
.pd-prose > * + * { margin-top: 20px; }
.pd-prose :is(h2, h3, h4, h5, h6) { color: var(--ink); }
.pd-prose h2 {
    margin: 48px 0 18px; font-size: 23px; font-weight: 640;
    line-height: 1.55; letter-spacing: -.02em;
}
.pd-prose h3 { margin: 30px 0 12px; font-size: 17px; font-weight: 580; line-height: 1.75; }
.pd-prose h4, .pd-prose h5, .pd-prose h6 { margin-top: 26px; font-size: 16px; font-weight: 580; }
.pd-prose :is(h2, h3, h4, h5, h6) + *, .pd-prose > :first-child { margin-top: 0; }
.pd-prose p { margin-bottom: 18px; }
.pd-prose strong, .pd-prose b { color: var(--ink); font-weight: 550; }
.pd-prose ul { padding-left: 1.3em; list-style: outside; margin-bottom: 18px; }
.pd-prose ol { padding-left: 1.5em; list-style: decimal; margin-bottom: 18px; }
.pd-prose li { margin-block: 10px; padding-left: 5px; }
.pd-prose li > p { margin: 0; }
.pd-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.pd-prose blockquote {
    margin: 24px 0; padding: 18px 22px;
    border-left: 1px solid var(--border); background: var(--muted-bg); color: var(--muted);
}
.pd-prose img { display: block; max-width: 100%; height: auto; margin: 24px 0; border-radius: 12px; }
.pd-prose table { border-collapse: collapse; max-width: 100%; font-size: 14px; display: block; overflow-x: auto; }
.pd-prose :is(th, td) { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.pd-prose th { background: var(--muted-bg); font-weight: 580; }

/* 主要能力：标题 + 描述两栏（对齐 maomu highlightList） */
.pd-highlights { margin-top: 4px; }
.pd-hl {
    display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 26px; padding: 22px 0; border-top: 1px solid var(--border);
}
.pd-hl h3 { margin: 0; font-size: 16px; font-weight: 580; line-height: 1.8; color: var(--ink); }
.pd-hl p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--muted); }
.pd-hl + .pd-hl { margin-top: 0; }

/* 无长正文时的编辑维护说明（对齐 maomu editorNote） */
.pd-editor-note { padding: 28px 0 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.pd-editor-note h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.pd-editor-note p { margin-top: 7px; }
.pd-editor-note a { color: var(--brand); }
.pd-editor-note a:hover { text-decoration: underline; }

/* ---------- 右栏 ---------- */
.pd-side { display: flex; flex-direction: column; gap: 26px; }
.pd-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-toc h3 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pd-toc-list a {
    display: block; padding: 6px 0 6px 12px; font-size: 13px; line-height: 1.6;
    color: var(--muted); border-left: 1px solid var(--border); overflow-wrap: anywhere;
}
.pd-toc-list a:hover { color: var(--ink); }
.pd-toc-list a.active { color: var(--brand); border-left-color: var(--brand); font-weight: 500; }
.pd-toc-list a + a { margin-top: 2px; }

.info-card { padding: 18px; }
.info-card h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }

/* ---------- 相关工具 / 页脚说明 ---------- */
.pd-related { padding: 26px 0 8px; border-top: 1px solid var(--border); margin-top: 44px; }
.pd-note {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
    font-size: 12.5px; color: var(--muted); background: var(--muted-bg);
    border-radius: 10px; padding: 15px 18px; margin-top: 22px;
}
.pd-note a { color: var(--brand); }
.pd-note a:hover { text-decoration: underline; }

.resource-link {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--border);
}
.resource-link:last-child { border-bottom: 0; }
.resource-link > span:first-child { color: var(--muted); flex: 0 0 auto; }
.resource-link > span:last-child, .resource-link a { color: var(--ink); text-align: right; word-break: break-all; }
.resource-link a:hover { color: var(--brand); }

@media (max-width: 1180px) {
    .pd-reading { grid-template-columns: minmax(0, 1fr) 210px; gap: 40px; }
}
@media (max-width: 980px) {
    .cat-layout { grid-template-columns: 1fr; gap: 16px; }
    .cat-side { position: static; max-height: none; }
    .pd-hero { grid-template-columns: 1fr; gap: 28px; padding: 30px 0 24px; }
    .pd-hero.no-shot { grid-template-columns: 1fr; }
    .pd-preview { order: -1; }               /* 移动端预览图置顶，对齐 maomu */
    .pd-reading { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
    .pd-side { flex-direction: column-reverse; }
    .pd-toc { position: static; }
    .pd-identity h1 { font-size: 30px; }
    .pd-logo { width: 52px; height: 52px; border-radius: 13px; }
}

/* 分类页主区：栅格比首页窄，降一列 */
.cat-main .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .cat-main .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px)  { .cat-main .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* === pagination fix 20261128m === */
.pagination { list-style: none; margin-left: 0; padding-left: 0; align-items: center; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination li { list-style: none; margin: 0; padding: 0; display: block; }
.pagination li > a, .pagination li > span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px;
    padding: 0 10px; border: 1px solid var(--border); border-radius: 8px;
    background: var(--card); font-size: 12px; color: inherit; text-decoration: none; white-space: nowrap;
}
.pagination li > a:hover { border-color: var(--brand); color: var(--brand); }
.pagination li.active > a, .pagination li.active > span {
    background: var(--brand); border-color: var(--brand); color: #fff;
}
.pagination li.disabled > a { opacity: .4; pointer-events: none; }
/* === end pagination fix === */

/* ============================================================
   分类页横幅（对齐 maomu page-banner-module）
   规格取自 maomu：min-height 264 / padding 30 clamp(24,3vw,42)
   copy 宽 58% max 680；h1 白色；desc 14px/1.7；meta 12px
   ============================================================ */
.cat-main .page-banner {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; order: -3;
    min-height: 264px; margin: 16px 0 28px;
    padding: 30px clamp(24px, 3vw, 42px);
    border-radius: 16px; background: #17212f; color: #fff;
}
.cat-main .page-banner::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(680px 340px at 86% 26%, rgba(47,191,131, .26), transparent 62%),
        radial-gradient(560px 320px at 62% 96%, rgba(18,169,112, .20), transparent 66%),
        radial-gradient(420px 240px at 96% 88%, rgba(47,191,131, .14), transparent 70%),
        linear-gradient(112deg, #0a1018 0%, #17212f 44%, #1e2d42 100%);
}
.cat-main .page-banner::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    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: 46px 46px;
    -webkit-mask-image: radial-gradient(125% 105% at 88% 18%, #000 18%, transparent 76%);
    mask-image: radial-gradient(125% 105% at 88% 18%, #000 18%, transparent 76%);
}
.pb-copy { width: 58%; max-width: 680px; min-width: 0; }
.cat-main .page-banner h1 {
    font-size: clamp(24px, 2.6vw, 34px); font-weight: 800;
    letter-spacing: -.6px; line-height: 1.25; color: #fff; margin: 0;
}
.pb-desc {
    margin-top: 12px; max-width: 72ch;
    font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .87);
}
.pb-search { display: flex; gap: 8px; margin-top: 22px; max-width: 420px; }
.pb-search input[type="text"] {
    flex: 1 1 auto; min-width: 0; height: 40px;
    padding: 0 14px; border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px; background: #fff; color: #17212f; font-size: 14px;
}
.pb-search input[type="text"]::placeholder { color: #8b95a5; }
.pb-search button {
    flex: 0 0 auto; height: 40px; padding: 0 20px; border: 0; cursor: pointer;
    border-radius: 8px; background: #0E8A5F; color: #fff;
    font-size: 14px; font-weight: 500;
}
.pb-search button:hover { background: #0B6F4D; }
.pb-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pb-subs a {
    padding: 5px 10px; border-radius: 7px; font-size: 12.5px;
    background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .92);
}
.pb-subs a:hover { background: rgba(255, 255, 255, .22); }
.pb-subs a.on { background: #fff; color: #17212f; font-weight: 600; }
.pb-meta { margin-top: 16px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.pb-meta strong { color: #fff; font-weight: 700; font-size: 13px; margin-right: 2px; }

@media (max-width: 980px) {
    .cat-main .page-banner { display: block; min-height: 0; padding: 26px 20px; border-radius: 14px; }
    .cat-main .page-banner::after { display: none; }
    .pb-copy { width: 100%; max-width: none; }
    .pb-desc { font-size: 13px; }
    .pb-search { max-width: none; }
}

/* ============================================================
   分类页侧栏（对齐 maomu category-product-sidebar）
   返回首页 + 全部分类 + 原生 details 折叠组
   ============================================================ */
.cs-back {
    display: flex; align-items: center; gap: 8px;
    padding: 2px 2px 12px; margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 13px; color: var(--muted);
}
.cs-back:hover { color: var(--brand); }
.cs-back-i { font-size: 15px; line-height: 1; }
a.cs-title { display: block; text-decoration: none; }
a.cs-title:hover { color: var(--brand); }

/* details 折叠组：去掉系统三角，自绘箭头 */
details.cs-group > summary.cs-parent {
    list-style: none; cursor: pointer; user-select: none;
}
details.cs-group > summary.cs-parent::-webkit-details-marker { display: none; }
details.cs-group > summary.cs-parent::marker { content: ""; }
details.cs-group > summary.cs-parent::after {
    content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-right: 5px;
    border-right: 1.5px solid #b9c0cc; border-bottom: 1.5px solid #b9c0cc;
    transform: rotate(45deg); transition: transform .18s;
}
details.cs-group[open] > summary.cs-parent::after { transform: rotate(-135deg); }
/* 覆盖旧的 .cs-children{display:none}：折叠交给 details 原生行为 */
details.cs-group > .cs-children { display: block; }

/* ===== align6：横幅真图 + 面包屑 ===== */
.cat-main .page-banner{
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.cat-main .page-banner[style*="background-image"] .pb-glow,
.cat-main .page-banner[style*="background-image"] .pb-grid{ display: none; }
.cat-main .page-banner[style*="background-image"]::after{
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        rgba(9,15,24,.94) 0%,
        rgba(9,15,24,.88) 34%,
        rgba(9,15,24,.45) 58%,
        rgba(9,15,24,0) 78%);
    pointer-events: none; z-index: 1;
}
.cat-main .page-banner .pb-copy,
.cat-main .page-banner .pb-search,
.cat-main .page-banner .pb-meta,
.cat-main .page-banner .pb-subs{ position: relative; z-index: 2; }

.page-intro .breadcrumb{
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 6px; font-size: 13px; color: #8a94a3;
}
.page-intro .breadcrumb a{ color: #8a94a3; text-decoration: none; }
.page-intro .breadcrumb a:hover{ color: var(--accent, #0E8A5F); }
.page-intro .breadcrumb .bc-sep{ font-style: normal; color: #c3cad6; }
.page-intro .breadcrumb .bc-cur{ font-weight: 600; color: #1b2430; }

@media (max-width: 720px){
    .cat-main .page-banner[style*="background-image"]{ background-position: 68% center; }
    .cat-main .page-banner[style*="background-image"]::after{
        background: linear-gradient(180deg, rgba(9,15,24,.72) 0%, rgba(9,15,24,.9) 55%, rgba(9,15,24,.95) 100%);
    }
}
/* ===== align7: 浏览次数 + 分类内搜索 ===== */
.tool-card .tool-hits{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:1;color:#8a94a6;font-weight:500;white-space:nowrap;letter-spacing:0}
.tool-card .tool-hits svg{flex:0 0 auto;opacity:.75}
.tool-card:hover .tool-hits{color:#F1511A}
.tool-grid .grid-empty{grid-column:1 / -1;padding:72px 0;text-align:center;color:#8a94a6;font-size:14px}
.pb-search .pb-clear{display:inline-block;margin-left:10px;font-size:13px;color:#F1511A;text-decoration:none}
.pb-search .pb-clear:hover{text-decoration:underline}

/* ===== align8: 分类内搜索 ===== */
.tool-grid.c404-hide,.pagination.c404-hide{display:none!important}
.tool-grid.c404-res{margin-top:0}

/* ===== align11: /ai/ 首页 maomu 版 ===== */
/* ============================================================
   align10：首页对齐 maomu.com/ai-tools
   hero（logo 墙 + 标题 + 收录数 + 搜索框）/ 12 个大类段 / 侧栏锚点
   ============================================================ */

/* ---------- hero ---------- */
.ex-hero {
    position: relative; overflow: hidden; margin-bottom: 24px;
    padding: 6px 0 10px; border: 0; border-radius: 0; background: none;
}
.ex-marquee {
    display: grid; gap: 14px; opacity: .9; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 22%, #000 100%);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 22%, #000 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ex-mrow { display: flex; gap: 14px; width: max-content; animation: exScroll 72s linear infinite; }
.ex-mrow.rev { animation-direction: reverse; }
.ex-mlogo {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #fff;
    display: grid; place-items: center; box-shadow: 0 2px 10px rgba(20, 30, 60, .07);
}
.ex-mlogo img { width: 26px; height: 26px; object-fit: contain; }
@keyframes exScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ex-hero-main { position: relative; text-align: center; padding: 22px 24px 0; }
.ex-hero h1 {
    font-size: clamp(28px, 3.3vw, 44px); font-weight: 800; letter-spacing: -.025em;
    line-height: 1.18; color: #0f172a;
}
.ex-accent {
    background: linear-gradient(96deg, #0E8A5F, #12A970 62%, #2FBF83);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ex-totals { margin-top: 12px; color: var(--muted); font-size: 14px; }
.ex-totals strong { color: var(--ink); font-weight: 700; margin: 0 2px; }

.ex-search {
    display: flex; align-items: center; gap: 8px; margin: 20px auto 0; max-width: 640px;
    padding: 6px 14px 6px 20px; border: 1px solid var(--input); border-radius: 999px;
    background: #fff; box-shadow: 0 6px 20px rgba(20, 30, 60, .08);
}
.ex-search-ico { color: var(--muted); display: grid; place-items: center; }
.ex-search input[type="search"] {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 14px; padding: 10px 0; color: var(--ink);
}
.ex-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.ex-search .ex-search-btn {
    flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px;
    border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer;
    padding: 0;
}
.ex-search .ex-search-btn:hover { background: var(--muted-bg); color: var(--brand); }

/* ---------- 大类段 ---------- */
.ex-sec { margin-bottom: 34px; scroll-margin-top: 110px; }
.ex-sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.ex-sec-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.ex-sec-head span { font-size: 12px; color: var(--muted); }
.ex-more {
    margin-left: auto; font-size: 12px; color: var(--brand); white-space: nowrap;
    display: inline-flex; align-items: center; gap: 3px;
}
.ex-more:hover { text-decoration: underline; }

.ex-dir { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-width: 0; }
.ex-tabs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ex-tabs a {
    font-size: 12px; line-height: 1; color: var(--muted); background: var(--muted-bg);
    padding: 7px 11px; border-radius: 8px; transition: background .15s, color .15s;
}
.ex-tabs a:hover { background: #EAF6F0; color: var(--brand); }
.ex-tabs a[aria-current="true"] { background: var(--brand); color: #fff; font-weight: 600; }

.ex-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ex-grid .hot-card { min-height: 64px; padding: 10px 9px; gap: 8px; }
.ex-grid .hot-logo { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; }
.ex-grid .hot-title { font-size: 12.5px; }
.ex-grid .hot-desc { font-size: 11px; margin-top: 3px; }

@media (max-width: 1400px) { .ex-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .ex-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .ex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ex-dir { flex-wrap: wrap; } .ex-tabs { max-height: 78px; overflow: hidden; } }
@media (max-width: 520px)  { .ex-grid { grid-template-columns: 1fr; } .ex-hero { padding-top: 18px; } }

/* ---------- 侧栏（.side-tools 由 is-toolspage 打开）---------- */
.is-toolspage .side-tools .side-group-title { padding: 4px 10px 10px; font-size: 12px; color: var(--muted); }
.is-toolspage .side-tools .side-link { padding: 8px 10px; }
.is-toolspage .side-tools .side-icon { width: 18px; display: inline-grid; place-items: center; }

/* ---------- align12：侧栏图标改 SVG 后 ---------- */
.is-toolspage .side-tools .side-group-title { display: none; }
.is-toolspage .side-tools .side-icon::before { content: none; }
.is-toolspage .side-tools .side-icon { font-size: 0; color: var(--muted); }
.is-toolspage .side-tools .side-icon svg { width: 17px; height: 17px; display: block; }
.is-toolspage .side-tools .side-link { gap: 10px; padding: 9px 10px; border-radius: 10px; }
.is-toolspage .side-tools .side-link.active .side-icon,
.is-toolspage .side-tools .side-link:hover .side-icon { color: var(--brand); }
.is-toolspage .side-tools .side-back { margin-bottom: 8px; }

/* ===== align13 2026-11-28：段头与方向 chip 对齐 maomu（数值取自 maomu 线上 CSS）===== */
.ex-sec { margin-bottom: 50px; }
.ex-sec-head { align-items: baseline; gap: 9px; margin-bottom: 13px; }
.ex-sec-head h2 { font-size: 26px; font-weight: 730; letter-spacing: -.025em; }
.ex-sec-head span { font-size: 12px; }
.ex-dir { align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ex-tabs { flex: 1; align-items: center; gap: 6px; padding: 2px 1px; }
.ex-tabs a {
    border: 1px solid var(--border, #e6e8ec); background: #fff; color: var(--ink);
    min-height: 28px; padding: 4px 10px; font-size: 12px; line-height: 1.4;
    border-radius: 8px; transition: background .15s, color .15s, border-color .15s;
}
.ex-tabs a:hover { background: #fff; border-color: var(--brand); color: var(--brand); }
.ex-tabs a[aria-current="true"] { border-color: var(--brand); background: var(--brand); color: #fff; font-weight: 600; }
.ex-dir .ex-more { flex: none; margin-top: 8px; }
.ex-grid { gap: 12px; }
.ex-grid .hot-card { min-height: 76px; padding: 11px 12px; gap: 10px;
    border: 1px solid var(--border, #e6e8ec); background: #fff; }
.ex-grid .hot-card:hover { border-color: var(--brand); background: #fff; }
.ex-grid .hot-logo { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; }
.ex-grid .hot-logo img { width: 100%; height: 100%; object-fit: contain; }
.ex-grid .hot-title { font-size: 13px; }
.ex-grid .hot-desc { font-size: 11px; line-height: 1.5; margin-top: 3px; }
@media (max-width: 900px) { .ex-sec-head h2 { font-size: 23px; } }
@media (max-width: 640px) {
    .ex-sec { margin-bottom: 34px; }
    .ex-grid { gap: 8px; }
    .ex-grid .hot-card { min-height: 66px; padding: 8px; gap: 8px; }
    .ex-grid .hot-logo { flex: 0 0 34px; width: 34px; height: 34px; }
}
/* ---------- 落地页 pg-*（build_pages 20261128） ---------- */
.pg-main { display: block; }
.pg-wrap { max-width: 1520px; margin: 0 auto; padding: 30px 32px 64px; }
.pg-hero { margin-bottom: 32px; }
.pg-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.pg-hero p { margin-top: 9px; max-width: 780px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.pg-sec { margin-bottom: 40px; }
.pg-sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.pg-sec-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.pg-sec-head span { font-size: 12px; color: var(--muted); }
.pg-sec-head a { margin-left: auto; font-size: 13px; color: var(--brand); font-weight: 600; }
.pg-sec-head a:hover { text-decoration: underline; }
.pg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pg-grid .hot-card { min-height: 74px; padding: 11px 10px; }
.pg-empty { grid-column: 1 / -1; padding: 26px 0; text-align: center; font-size: 13px; color: var(--muted); }
.pg-note { max-width: 860px; padding: 26px 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.pg-note h3 { margin: 22px 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.pg-note h3:first-child { margin-top: 0; }
.pg-note p, .pg-note li { font-size: 14px; line-height: 1.9; color: #4a5468; }
.pg-note p + p { margin-top: 8px; }
.pg-note ul, .pg-note ol { padding-left: 20px; margin: 6px 0; }
.pg-note ul li { list-style: disc; }
.pg-note a { color: var(--brand); }
.pg-note a:hover { text-decoration: underline; }
.pg-steps { list-style: none !important; padding-left: 0 !important; counter-reset: pgs; }
.pg-steps li { position: relative; margin-bottom: 12px; padding-left: 34px; counter-increment: pgs; list-style: none !important; }
.pg-steps li::before { content: counter(pgs); position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 1180px) { .pg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pg-hero h1 { font-size: 24px; } }
@media (max-width: 560px)  { .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-note { padding: 20px 18px; } }

/* AI 资讯 hover 下拉 20261129b */
.nav-drop{position:relative;display:inline-block}
.nav-drop-t{white-space:nowrap}
.nav-drop-m{display:none;position:absolute;top:100%;left:-14px;min-width:196px;background:#fff;border:1px solid #eceef1;border-radius:10px;box-shadow:0 10px 28px rgba(24,34,60,.13);padding:6px;z-index:80}
.nav-drop:hover .nav-drop-m,.nav-drop:focus-within .nav-drop-m{display:block}
.nav-drop-m:before{content:"";position:absolute;top:-8px;left:0;right:0;height:8px}
.nav-drop-m a{display:block;padding:9px 12px;border-radius:7px;color:#2b303a;font-size:13px;white-space:nowrap;text-decoration:none}
.nav-drop-m a:hover{background:#EAF6F0;color:var(--brand)}
.nav-drop-m a span{display:block;margin-top:2px;color:#9aa1ad;font-size:11px}
.nav-drop-m a:hover span{color:var(--brand)}
@media(max-width:820px){.nav-drop-m{left:auto;right:0}}
/* c404-rank-nav 2026-11-29 */
@media(min-width:981px){
  .header-nav{display:flex!important}
  .header-search{display:none}
  .header-ad-link{display:none}
  .header-inner{max-width:1280px;padding:0 24px}
  .header-nav a{padding:0 10px;font-size:14px}
}
/* c404-navbold */
.header-nav a,.header-nav a.is-active{font-weight:700}
