/* ==============================================================
   tidy-base.css — 全站统一视觉层（2026-11-11，本地分支 feat/site-redesign）
   由后端 _render_page 注入到除首页外的所有对外页面（后台 admin 不经过）。
   与首页 tidy.css 共用同一套 token，目标是「全站像同一个模板」。
   ============================================================== */
:root {
    --td-primary:#4f7cff; --td-primary-2:#6f8cff; --td-accent:#8b5cf6;
    --td-success:#10b981; --td-success-2:#34d399;
    --td-text:#0f172a; --td-text-2:#334155; --td-muted:#64748b;
    --td-line:#e5e9f2; --td-bg:#f4f7ff; --td-card:#fff;
    --td-radius-lg:24px; --td-radius:16px;
    --td-shadow-card:0 24px 70px -34px rgba(24,50,120,.45), 0 0 0 1px rgba(229,233,242,.9);
    --td-shadow-soft:0 10px 30px -18px rgba(24,50,120,.35);
    --td-ease:cubic-bezier(.22,1,.36,1);
}
@keyframes tdFadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes tdCardIn { from{opacity:0;transform:translateY(26px) scale(.985)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes tdPulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,.55)} 70%{box-shadow:0 0 0 8px rgba(16,185,129,0)} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0)} }

/* ---------- 基础：字体 / 背景光晕（与首页完全一致） ---------- */
body {
    font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif !important;
    font-size:16px !important; line-height:1.6 !important; color:#0f172a !important;
    background-color:#f4f7ff !important; background-image:none !important;
}
body::before {
    content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
    background-image:
        radial-gradient(680px 460px at 8% -8%, rgba(79,124,255,.20), rgba(0,0,0,0) 70%),
        radial-gradient(620px 420px at 92% -4%, rgba(139,92,246,.18), rgba(0,0,0,0) 70%),
        radial-gradient(900px 560px at 50% 108%, rgba(16,185,129,.10), rgba(0,0,0,0) 70%);
}

/* ---------- 全站导航：64px 毛玻璃 + 浅蓝登录胶囊 ---------- */
.site-header {
    position:sticky; top:0; z-index:120; height:64px !important;
    background:rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter:saturate(180%) blur(16px); backdrop-filter:saturate(180%) blur(16px);
    border-bottom:1px solid var(--td-line) !important;
    box-shadow:0 10px 30px -22px rgba(24,50,120,.45);
}
.site-header > .wrap {
    max-width:1140px !important; height:64px !important; min-height:64px !important;
    padding:0 20px !important; box-sizing:border-box !important;
    display:flex; align-items:center; gap:12px;
}
.site-header .brand { flex:0 0 auto; }
.site-header .brand .name { font-size:17px; font-weight:800; color:var(--td-text); }
.site-header .brand em { font-size:12px; }
.site-header .nav { margin-left:auto; display:flex; align-items:center; gap:4px; }
.site-header .nav a, .site-header .nav-more-btn {
    margin:0; padding:8px 14px; border-radius:10px; border:0; background:none;
    font-size:14px; font-weight:500; color:var(--td-text-2); line-height:22.4px;
    transition:background .2s ease,color .2s ease; cursor:pointer;
}
.site-header .nav a:hover, .site-header .nav-more-btn:hover { background:rgba(79,124,255,.10); color:var(--td-primary); text-decoration:none; }
.site-header .hd-right { display:flex; align-items:center; gap:10px; }
.site-header .quota-pill { display:none !important; }
/* 导航胶囊：白底 + 深蓝字 + 蓝边。旧版浅蓝底（rgba(79,124,255,.10)）在浅蓝渐变
 * 头部上对比不足，已登录时「✓ 已签 + 💎 余额 + 个人中心」三件套糊成一片（用户实测）。
 * 白底胶囊与全站白卡/蓝紫主色一致，hover 轻微上浮。 */
.site-header .nav-acct {
    height:38px !important; padding:0 16px !important; border-radius:999px !important;
    background:rgba(255,255,255,.92) !important; color:#1F4FFF !important;
    border:1px solid rgba(31,79,255,.42) !important;
    box-shadow:0 4px 14px rgba(31,79,255,.12) !important;
    font-size:14px !important; font-weight:700 !important; letter-spacing:.2px !important;
    display:inline-flex !important; align-items:center !important; gap:6px;
    text-decoration:none; line-height:normal !important;
    transition:background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.site-header .nav-acct:hover {
    background:#fff !important; border-color:rgba(31,79,255,.68) !important;
    box-shadow:0 8px 20px rgba(31,79,255,.2) !important; transform:translateY(-1px);
}
.td-nav-toggle { display:none; }

/* ---------- 通用容器与标题 ---------- */
main.article, main.ap-main, main.acct-wrap, body.plat-page > main {
    display:block; width:100%; max-width:1140px; margin:0 auto; padding:1px 20px 70px;
}
.page-hero, .ap-hero, body.plat-page .hero { text-align:center; padding:54px 0 26px; }
.page-hero { display:block !important; }
.page-hero-main, .ap-hero-main { max-width:780px; margin:0 auto; }
.page-hero .breadcrumb { justify-content:center; font-size:13px; color:#94a3b8; margin-bottom:14px; }
.page-hero h1, .ap-hero h1, body.plat-page .plat-hero-main h1 {
    margin:18px 0 10px; font-size:clamp(26px,4.4vw,44px) !important; line-height:1.25 !important;
    font-weight:800 !important; letter-spacing:-1px !important; color:var(--td-text);
    animation:tdFadeUp .7s .05s var(--td-ease) both;
}
.page-hero h1 em, .ap-hero h1 em {
    background:linear-gradient(120deg,var(--td-primary) 10%,var(--td-accent) 90%);
    -webkit-background-clip:text; background-clip:text; color:transparent; font-style:normal;
}
.page-hero .lead, .page-hero-main > p, .ap-hero .ap-sub, body.plat-page .plat-hero-main .subtitle {
    margin:0 auto; max-width:620px; font-size:16px !important; line-height:1.6 !important;
    color:var(--td-muted) !important; animation:tdFadeUp .7s .12s var(--td-ease) both;
}
.page-hero-aside { display:none !important; }
.td-eyebrow {
    display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 14px;
    margin:0 auto 15px; border-radius:999px; font-size:12.5px; font-weight:700; letter-spacing:.5px;
    color:#3b5bdb; background:rgba(79,124,255,.10); border:1px solid rgba(79,124,255,.18);
}

/* ---------- 白卡 / 按钮 / 表单（与首页同语言） ---------- */
.td-content-card, .article .card, .ap-term, .ap-sec, .auth-card, .article .tool {
    background:var(--td-card); border:1px solid var(--td-line); border-radius:var(--td-radius-lg) !important;
    padding:30px; box-shadow:var(--td-shadow-card) !important;
}
.td-content-card { margin-top:8px; animation:tdCardIn .75s .16s var(--td-ease) both; }
.td-content-card h2, .article > .wrap > h2 { font-size:20px; font-weight:800; color:var(--td-text); margin:26px 0 12px; letter-spacing:-.3px; }
.td-content-card h2:first-child { margin-top:0; }
.td-content-card p, .td-content-card li, .article .card p, .article .tool p {
    font-size:15px; line-height:1.85; color:var(--td-text-2);
}
.td-content-card a, .article a { color:var(--td-primary); }
.btn, a.cta, .cta, button.cta {
    border-radius:16px !important; font-size:15px !important; font-weight:700 !important;
    transition:transform .18s var(--td-ease),box-shadow .2s ease,filter .2s ease;
}
.btn.primary, a.cta, .cta {
    background:linear-gradient(135deg,var(--td-primary),var(--td-primary-2)) !important;
    color:#fff !important; border:0 !important; box-shadow:0 12px 26px -14px rgba(79,124,255,1) !important;
    padding:12px 22px !important;
}
.btn.primary:hover, a.cta:hover, .cta:hover { transform:translateY(-2px); filter:brightness(1.06); }
.btn.ghost { background:#f1f5f9 !important; color:var(--td-text-2) !important; border:1px solid transparent !important; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], textarea, select {
    border:1px solid var(--td-line) !important; border-radius:16px !important;
    background:#f8fafd !important; color:var(--td-text) !important;
    font-size:15px !important; padding:12px 16px !important; line-height:1.5 !important;
    transition:border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
input:focus, textarea:focus, select:focus {
    border-color:var(--td-primary) !important; background:#fff !important;
    box-shadow:0 0 0 3px rgba(79,124,255,.12) !important; outline:none !important;
}

/* ---------- 深色页脚（全站统一） ---------- */
.site-footer, footer.site-footer, .plat-footer {
    position:relative; margin-top:64px !important; padding:0 !important; border-top:0 !important;
    color:#94a3b8 !important; font-size:13px;
    background:linear-gradient(180deg,#0f172a 0%,#0b1220 100%) !important;
    overflow:hidden;
}
.site-footer::before {
    content:""; position:absolute; right:-80px; top:-120px; width:420px; height:420px; border-radius:50%;
    background:radial-gradient(circle,rgba(79,124,255,.16),transparent 70%); pointer-events:none;
}
.site-footer > .wrap {
    position:relative; z-index:1; max-width:1140px !important; margin:0 auto;
    padding:38px 20px 24px !important;
}
.site-footer p, .site-footer a, .site-footer span, .site-footer .footer-group h4 {
    color:#94a3b8 !important; font-size:13px;
}
.site-footer a:hover { color:#fff !important; }
.site-footer .footer-brand .name, .site-footer h4 { color:#e2e8f0 !important; }

/* ---------- 平台页：与首页同模板 ---------- */
body.plat-page .plat-hero-grid { display:flex !important; flex-direction:column; align-items:stretch; max-width:1140px; margin:0 auto; }
body.plat-page .plat-hero-main { order:1; text-align:center; }
body.plat-page .plat-hero-aside { display:none !important; }
body.plat-page .plat-badge {
    display:inline-flex; align-items:center; gap:8px; height:32px; padding:0 14px; margin:0 auto;
    border-radius:999px; font-size:13px; font-weight:600; color:#3b5bdb;
    background:rgba(79,124,255,.10); border:1px solid rgba(79,124,255,.18);
    animation:tdFadeUp .6s var(--td-ease) both;
}
body.plat-page .plat-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:14px; }
body.plat-page .plat-tags > * {
    padding:4px 11px; border:1px solid #e8eef8; border-radius:999px; background:#f4f7fd;
    color:#56637a; font-size:12.5px; line-height:20px;
}
body.plat-page .parse-box {
    margin:30px auto 0; max-width:1100px; background:var(--td-card);
    border:1px solid var(--td-line); border-radius:var(--td-radius-lg);
    padding:26px; box-shadow:var(--td-shadow-card);
    animation:tdCardIn .75s .16s var(--td-ease) both;
}
body.plat-page .parse-box textarea {
    display:block; box-sizing:border-box; width:100%; height:56px; min-height:56px;
    padding:14px 16px !important; border:1px solid var(--td-line) !important; border-radius:16px !important;
    background:#f8fafd !important; color:var(--td-text); font-size:15px !important; line-height:1.5 !important;
    resize:none;
}
body.plat-page .parse-box .parse-actions { display:flex; gap:12px; margin-top:16px; }
body.plat-page .parse-box .parse-actions .btn { flex:1; height:50px; border-radius:16px !important; }
body.plat-page .parse-box .parse-actions .btn.primary { order:-1; }
body.plat-page .parse-box .parse-actions .btn.ghost { background:#f1f5f9 !important; }
body.plat-page .bookmark-hint { text-align:center; font-size:12.5px; color:#a3aec4; margin-top:12px; }
body.plat-page .status { text-align:center; margin-top:14px; font-size:14.5px; color:var(--td-muted); }
body.plat-page .plat-section { margin-top:62px; }
body.plat-page .plat-section > .wrap > h2 {
    text-align:center; font-size:clamp(20px,2.6vw,26px); font-weight:800; letter-spacing:-.5px;
    color:var(--td-text); margin:0 auto 24px;
}
body.plat-page .plat-steps, body.plat-page .plat-grid {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(234px,1fr)); gap:16px;
}
body.plat-page .plat-steps > *, body.plat-page .plat-grid > * {
    border:1.5px solid var(--td-line); border-radius:16px; background:linear-gradient(180deg,#fff,#fafbff);
    padding:22px 20px; transition:transform .28s var(--td-ease),box-shadow .28s ease,border-color .24s ease;
}
body.plat-page .plat-steps > *:hover, body.plat-page .plat-grid > *:hover {
    transform:translateY(-4px); box-shadow:var(--td-shadow-soft); border-color:rgba(79,124,255,.35);
}
body.plat-page .plat-section > .wrap { background:var(--td-card); border:1px solid var(--td-line); border-radius:var(--td-radius-lg); padding:30px; box-shadow:var(--td-shadow-card); }
body.plat-page .plat-faq details, body.plat-page .plat-faq .faq-item {
    border:1.5px solid var(--td-line) !important; border-radius:16px !important; background:#fff !important;
    padding:0 20px !important; margin-bottom:12px; overflow:hidden;
}
body.plat-page .plat-faq summary { padding:16px 0; font-size:15px; font-weight:700; color:var(--td-text); }
body.plat-page .plat-faq details[open] { border-color:rgba(79,124,255,.45) !important; box-shadow:var(--td-shadow-soft); }
body.plat-page .plat-faq p { padding-bottom:16px; font-size:14px; line-height:1.85; color:var(--td-text-2); }
body.plat-page .plat-related { border-radius:16px !important; background:linear-gradient(135deg,rgba(79,124,255,.07),rgba(139,92,246,.07)) !important; border:1px solid rgba(79,124,255,.15) !important; }
body.plat-page .result-card { border-radius:var(--td-radius-lg) !important; box-shadow:var(--td-shadow-card) !important; }

/* ---------- 教程列表 / API 文档 ---------- */
.guides-grid, .tutorial-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:16px; }
.guides .guide-card, .guide-card {
    border:1.5px solid var(--td-line) !important; border-radius:16px !important;
    background:linear-gradient(180deg,#fff,#fafbff) !important; padding:22px 20px !important;
    box-shadow:none !important; transition:transform .28s var(--td-ease),box-shadow .28s ease,border-color .24s ease;
}
.guides .guide-card:hover, .guide-card:hover { transform:translateY(-4px); box-shadow:var(--td-shadow-soft); border-color:rgba(79,124,255,.35); }
.article .tool { margin-top:16px; }
.article .keybox, .article .mcp-cfg {
    border:1px solid var(--td-line) !important; border-radius:16px !important; background:#f8fafd !important;
}
.article pre, .article code { border-radius:10px; }

/* ---------- 定价页：套餐卡对齐对方 vip-card ---------- */
.ap-hero .ap-ctas { display:flex; justify-content:center; gap:12px; margin-top:22px; flex-wrap:wrap; }
.ap-hero .ap-chips { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:18px; }
.ap-hero .ap-chips > * { padding:4px 11px; border:1px solid #e8eef8; border-radius:999px; background:#f4f7fd; color:#56637a; font-size:12.5px; }
.ap-sec { margin-top:26px; }
.ap-sec h2, .ap-term h2 { font-size:20px; font-weight:800; color:var(--td-text); }
.ap-plans, .ap-tiers, .pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:16px; }
.ap-plans > *, .ap-tiers > *, .pricing-grid > * {
    border:1.5px solid var(--td-line); border-radius:16px; background:linear-gradient(180deg,#fff,#fafbff);
    padding:24px 22px; transition:transform .28s var(--td-ease),box-shadow .28s ease,border-color .24s ease;
}
.ap-plans > *:hover, .ap-tiers > *:hover, .pricing-grid > *:hover { transform:translateY(-4px); box-shadow:var(--td-shadow-soft); border-color:rgba(79,124,255,.35); }

/* ---------- 账户页 ---------- */
.acct-wrap .auth-split { display:block; }
.acct-wrap .pitch { text-align:center; max-width:780px; margin:0 auto 26px; }
.acct-wrap .pitch h1 { font-size:clamp(26px,4.4vw,44px); font-weight:800; letter-spacing:-1px; }
.acct-wrap .auth-card { max-width:560px; margin:0 auto; }

/* ---------- 手机适配 ---------- */
@media (max-width:860px) {
    .site-header .nav {
        display:none; position:absolute; left:12px; right:12px; top:64px;
        flex-direction:column; align-items:stretch; gap:2px; margin:0; padding:10px;
        background:rgba(255,255,255,.98); border:1px solid var(--td-line); border-radius:16px;
        box-shadow:var(--td-shadow-card); backdrop-filter:blur(16px);
    }
    .site-header.td-nav-open .nav { display:flex; }
    .site-header .nav a { padding:11px 14px; }
    .site-header .brand { order:1; }
    .site-header .hd-right { order:2; margin-left:auto; }
    .td-nav-toggle {
        order:3; display:grid; place-items:center; flex:0 0 auto; width:38px; height:38px; margin-left:0;
        border:1px solid var(--td-line); border-radius:10px; background:#fff; color:var(--td-text);
        font-size:17px; cursor:pointer;
    }
}
@media (max-width:640px) {
    .page-hero, .ap-hero, body.plat-page .hero { padding:36px 0 20px; }
    .page-hero h1, .ap-hero h1, body.plat-page .plat-hero-main h1 { font-size:28px !important; letter-spacing:-.6px !important; }
    .page-hero .lead, .page-hero-main > p, body.plat-page .plat-hero-main .subtitle { font-size:14px !important; }
    .td-content-card, .article .card, .ap-term, .ap-sec, .auth-card, .article .tool,
    body.plat-page .plat-section > .wrap { padding:20px; border-radius:20px !important; }
    body.plat-page .parse-box { padding:18px; border-radius:20px; margin-top:22px; }
    body.plat-page .parse-box .parse-actions { gap:8px; }
    body.plat-page .parse-box .parse-actions .btn { height:46px; font-size:14px; padding:0 10px; }
    body.plat-page .plat-section { margin-top:44px; }
    .page-hero-aside { display:none !important; }
}
@media (prefers-reduced-motion:reduce) {
    .page-hero h1, .page-hero .lead, .page-hero-main > p, body.plat-page .plat-hero-main h1,
    body.plat-page .plat-hero-main .subtitle, body.plat-page .plat-badge,
    .td-content-card, body.plat-page .parse-box,
    .article .tut-hero .tut-eyebrow, .article .tut-hero .tut-eyebrow::before,
    .article .tut-hero h1, .article .tut-hero .tut-lead, .tut-search, .tut-filters { animation:none !important; }
    .tut-card, .tut-chip, .tut-arrow, .tut-cover::before { transition:none !important; }
    .btn, .guide-card, body.plat-page .plat-steps > *, body.plat-page .plat-grid > * { transition:none !important; }
}


/* ---------- tidy-base.css 补丁 1：页脚组件与嵌套卡片 ---------- */
.site-footer .td-footer-top {
    display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px;
    padding-bottom:22px; margin-bottom:18px; border-bottom:1px solid rgba(148,163,184,.16);
}
.site-footer .td-footer-brand { display:flex; align-items:center; gap:12px; }
.site-footer .td-logo { display:inline-flex; line-height:0; }
.site-footer .td-footer-brand div { display:grid; gap:3px; }
.site-footer .td-footer-brand b { font-size:15px; color:#e2e8f0; }
.site-footer .td-footer-brand span { font-size:12.5px; color:#7f8ea8; }
.site-footer .td-footer-links { display:flex; flex-wrap:wrap; gap:8px; }
.site-footer .td-footer-links a {
    padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.06);
    color:#94a3b8; font-size:12.5px; text-decoration:none; transition:background .2s ease,color .2s ease;
}
.site-footer .td-footer-links a:hover { background:rgba(79,124,255,.25); color:#fff; text-decoration:none; }
.td-content-card .tool, .td-content-card .card {
    background:#f8fafd !important; border:1px solid var(--td-line) !important;
    border-radius:16px !important; padding:20px !important; box-shadow:none !important;
}
.td-content-card .mcp-cfg { background:#fff !important; }
@media (max-width:640px) {
    .site-footer .td-footer-top { flex-direction:column; align-items:flex-start; }
}


/* ---------- tidy-base.css 补丁 2：品牌图（自有 icon.svg） ---------- */
.site-header .brand img.logo-mark {
    display:block; width:32px; height:32px; border-radius:8px; object-fit:cover;
    box-shadow:0 4px 14px -6px rgba(24,50,120,.55);
}
.site-footer img.td-logo { display:block; width:30px; height:30px; border-radius:8px; object-fit:cover; }


/* ---------- 滚动条样式（对齐参考站实测值） ---------- */
::-webkit-scrollbar { width:10px; height:10px; }
::-webkit-scrollbar-thumb {
    background:#c8d3e6; border-radius:10px; border:2px solid transparent; background-clip:content-box;
}
::-webkit-scrollbar-thumb:hover { background:#a9b8d3; background-clip:content-box; }
html { scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:#c8d3e6 transparent; }


/* ==============================================================
   教程中心（列表页 /guides + 详情页 34 个 how-to）——对齐参考站 tutorial
   仅作用于 .tut-* 类，不影响其它页面；列表页为静态 HTML，详情页由 tidy-base.js 增强
   ============================================================== */
.article.tut-list-page > .wrap { max-width: 1140px !important; }
/* hero —— 参数照抄参考站 tutorial/ 的 .hero / .hero-badge / .grad */
.article .tut-hero { display: block !important; text-align: center; padding: 54px 0 26px; }
.tut-eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; color: #3b5bdb; background: rgba(79,124,255,.10); border: 1px solid rgba(79,124,255,.18); }
.article .tut-hero .tut-eyebrow {
    gap: 8px; height: 32px; font-size: 13px; font-weight: 600; letter-spacing: 0;
    animation: tdFadeUp .6s var(--td-ease) both;
}
.article .tut-hero .tut-eyebrow::before {
    content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
    background: var(--td-success); box-shadow: 0 0 0 0 rgba(16,185,129,.6);
    animation: tdPulse 2s infinite;
}
.article .tut-hero h1 {
    margin: 18px 0 10px !important; font-size: clamp(26px,4.4vw,44px) !important;
    font-weight: 800; letter-spacing: -1px; line-height: 1.25; color: var(--td-text);
    animation: tdFadeUp .7s .05s var(--td-ease) both;
}
.tut-grad { background: linear-gradient(120deg,var(--td-primary) 10%,var(--td-accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.article .tut-hero .tut-lead {
    max-width: 620px !important; margin: 0 auto !important;
    font-size: clamp(13px,2.6vw,16px) !important; line-height: 1.6 !important;
    color: var(--td-muted) !important; animation: tdFadeUp .7s .12s var(--td-ease) both;
}

/* 搜索框 —— 参考站 .tutorial-search：560×54、16px 圆角、聚焦蓝边 + 4px 柔光 */
.tut-search {
    position: relative; display: flex; align-items: center; max-width: 560px;
    margin: 26px auto 0; animation: tdFadeUp .7s .18s var(--td-ease) both;
}
.tut-search > svg {
    position: absolute; left: 17px; width: 17px; height: 17px; color: var(--td-muted);
    opacity: .8; pointer-events: none; transition: color .2s ease, opacity .2s ease;
}
.tut-search input {
    width: 100%; height: 54px; padding: 0 52px 0 46px !important;
    font-size: 14.5px !important; color: var(--td-text); background: #fff !important;
    border: 1.5px solid var(--td-line) !important; border-radius: 16px !important;
    outline: none; box-shadow: 0 18px 40px -32px rgba(24,50,120,.9);
    transition: border-color .22s ease, box-shadow .22s ease;
}
.tut-search input::placeholder { color: #a3aec4; }
/* 全局 input:focus 规则特异性 0,3,1，这里提高特异性压过它，保证聚焦色与参考站一致 */
body .article.tut-list-page .tut-search input:focus {
    border-color: var(--td-primary) !important;
    box-shadow: 0 0 0 4px rgba(79,124,255,.13), 0 18px 40px -30px rgba(24,50,120,.9) !important;
}
.tut-search:focus-within > svg { color: var(--td-primary); opacity: 1; }
.tut-search input::-webkit-search-cancel-button { display: none; }
.tut-search-clear {
    position: absolute; right: 10px; width: 34px; height: 34px; display: none;
    place-items: center; border: 0; border-radius: 10px; background: #f1f5f9;
    color: var(--td-muted); font-size: 15px; line-height: 1; cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s var(--td-ease);
}
.tut-search-clear:hover { background: rgba(79,124,255,.12); color: var(--td-primary); }
.tut-search.has-q .tut-search-clear { display: grid; }

/* 筛选芯片 —— 参考站 .tutorial-filters / .filter-chip */
.tut-filter-title { display: none; }
.tut-filters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin: 30px 0 22px; animation: tdFadeUp .7s .24s var(--td-ease) both;
}
.tut-chip {
    height: 38px; padding: 0 18px; border: 1.5px solid var(--td-line); border-radius: 999px;
    background: #fff; color: var(--td-text-2); font-size: 13.5px; font-weight: 600;
    white-space: nowrap; cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease,
                transform .2s var(--td-ease), box-shadow .2s ease;
}
.tut-chip:hover { color: var(--td-primary); border-color: rgba(79,124,255,.42); transform: translateY(-1px); }
.tut-chip.is-active {
    color: #fff; border-color: transparent;
    background: linear-gradient(135deg,var(--td-primary),var(--td-accent));
    box-shadow: 0 12px 24px -16px rgba(79,124,255,1);
}
.tut-count { text-align: center; margin: 0 0 18px; font-size: 13px; color: var(--td-muted); }
.tut-count b { color: var(--td-primary); font-weight: 700; }

/* 卡片网格 —— 参考站 .tutorial-grid / .tutorial-card（封面 138px、大标题、方形箭头） */
.tut-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(288px,1fr)); gap: 18px; }
.tut-card {
    display: flex !important; flex-direction: column; background: #fff;
    border: 1.5px solid var(--td-line); border-radius: 16px; overflow: hidden;
    text-decoration: none !important; box-shadow: var(--td-shadow-soft);
    transition: transform .3s var(--td-ease), box-shadow .3s ease, border-color .24s ease;
}
.tut-card[hidden] { display: none !important; }
.tut-card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -28px rgba(15,23,42,.58); border-color: rgba(79,124,255,.35); }
.tut-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 138px; padding: 16px 18px; overflow: hidden; background: linear-gradient(135deg,var(--c1,#161823),var(--c2,#3a3f4b)); color: #fff; }
.tut-cover::before { content: ""; position: absolute; width: 158px; height: 158px; top: -66px; right: -58px; border-radius: 50%; background: rgba(255,255,255,.16); transition: transform .55s var(--td-ease); }
.tut-cover::after { content: ""; position: absolute; width: 96px; height: 96px; left: -44px; bottom: -56px; border-radius: 50%; background: rgba(255,255,255,.12); }
.tut-card:hover .tut-cover::before { transform: scale(1.16); }
.tut-cover-tag {
    position: absolute; z-index: 1; top: 16px; left: 18px; display: inline-flex; align-items: center;
    height: 24px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
    letter-spacing: .3px; line-height: 1; background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.34); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tut-cover-name { position: relative; z-index: 1; margin-top: 14px; font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1.2; text-shadow: 0 6px 20px rgba(0,0,0,.28); }
.tut-cover-sub { position: relative; z-index: 1; margin-top: 5px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.82); letter-spacing: 0; opacity: 1; }
.tut-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px; }
.tut-card-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.5; color: var(--td-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tut-card-desc { margin: 0 0 14px; font-size: 13.5px; line-height: 1.78; color: var(--td-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tut-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--td-line); font-size: 12.5px; font-weight: 600; color: var(--td-muted); }
.tut-arrow {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; background: #f4f7fd;
    color: var(--td-muted); display: grid; place-items: center; font-size: 15px;
    transition: color .22s ease, background .22s ease, transform .28s var(--td-ease);
}
.tut-card:hover .tut-arrow { color: #fff; background: linear-gradient(135deg,var(--td-primary),var(--td-accent)); transform: translateX(3px); }
.tut-empty {
    padding: 64px 24px; text-align: center; color: var(--td-muted); font-size: 13.5px;
    background: #fff; border: 1.5px dashed var(--td-line); border-radius: 24px;
}

/* CTA */
.tut-cta { margin: 56px 0 0; border-radius: 24px; background: linear-gradient(120deg,#4f7cff 0%,#7c5cff 55%,#8b5cf6 100%); padding: 38px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.tut-cta::before, .tut-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); }
.tut-cta::before { width: 220px; height: 220px; left: -70px; bottom: -110px; }
.tut-cta::after { width: 160px; height: 160px; right: -40px; top: -70px; }
.tut-cta-inner { position: relative; z-index: 1; }
.article .tut-cta h2 { color: #fff !important; font-size: clamp(20px,2.6vw,26px) !important; font-weight: 800; margin: 0 0 10px !important; max-width: none !important; }
.tut-cta p { color: rgba(255,255,255,.88) !important; font-size: 14px !important; margin: 0 0 20px !important; max-width: none !important; }
.tut-cta-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 26px; border-radius: 999px; background: #fff; color: #3b5bdb !important; font-size: 14.5px; font-weight: 700; text-decoration: none !important; box-shadow: 0 14px 30px -16px rgba(0,0,0,.45); transition: transform .2s var(--td-ease); }
.tut-cta-btn:hover { transform: translateY(-2px); }

/* FAQ */
.tut-faq { margin-top: 56px; }
.tut-faq-head { text-align: center; margin-bottom: 24px; }
.article .tut-faq-head h2 { font-size: clamp(20px,2.6vw,26px) !important; font-weight: 800; margin: 12px 0 8px !important; letter-spacing: -.4px; }
.tut-faq-head p { color: var(--td-muted); font-size: 14px; margin: 0; max-width: none !important; }
.tut-faq-card { background: #fff; border: 1px solid var(--td-line); border-radius: 24px; padding: 10px 18px; box-shadow: var(--td-shadow-card); }
.tut-faq-item { border-bottom: 1px solid var(--td-line); }
.tut-faq-item:last-of-type { border-bottom: 0; }
.tut-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; font-size: 14.5px; font-weight: 600; color: var(--td-text); }
.tut-faq-item summary::-webkit-details-marker { display: none; }
.tut-faq-plus { position: relative; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; background: rgba(79,124,255,.10); transition: background .2s ease; }
.tut-faq-plus::before, .tut-faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--td-primary); border-radius: 2px; }
.tut-faq-plus::before { width: 11px; height: 2px; }
.tut-faq-plus::after { width: 2px; height: 11px; transition: transform .25s var(--td-ease), opacity .2s ease; }
.tut-faq-item[open] .tut-faq-plus { background: rgba(79,124,255,.2); }
.tut-faq-item[open] .tut-faq-plus::after { transform: translate(-50%,-50%) scaleY(0); opacity: 0; }
.tut-faq-a { padding: 0 30px 16px 0; font-size: 13.5px !important; line-height: 1.85 !important; color: var(--td-text-2); max-width: none !important; }
/* 与首页 / 批量解析的 .td-seo-note 同一套视觉（含左侧蓝紫竖线、右侧蓝色装饰） */
.tut-note {
    position: relative; margin: 22px 0 6px; padding: 20px 84px 20px 26px;
    font-size: 13.5px !important; line-height: 1.9 !important; color: var(--td-muted);
    background: linear-gradient(135deg,rgba(79,124,255,.07),rgba(139,92,246,.07));
    border: 1px solid rgba(79,124,255,.15); border-radius: var(--td-radius);
    overflow: hidden; max-width: none !important;
}
.tut-note::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg,var(--td-primary),var(--td-accent));
}
.tut-note::after {
    content: ""; position: absolute; right: -46px; top: -76px; width: 230px; height: 230px;
    border-radius: 50%; background: radial-gradient(circle,rgba(79,124,255,.22),transparent 70%);
    pointer-events: none;
}
.tut-note b { color: var(--td-text-2); }
.tut-note-text { position: relative; z-index: 1; }
.tut-note-badge {
    position: absolute; right: 22px; top: 50%; transform: translateY(-50%); z-index: 1;
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    color: #fff; background: linear-gradient(135deg,var(--td-primary),var(--td-accent));
    box-shadow: 0 14px 28px -12px rgba(79,124,255,.8); pointer-events: none;
}
.tut-note-badge svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
    /* 手机端让蓝色徽章浮动在右上角、文字环绕，避免整块右侧留白把文字挤成窄条 */
    .tut-note { margin-top: 16px; padding: 16px 16px 16px 21px; font-size: 13px !important; }
    .tut-note::after { right: -30px; top: -50px; width: 170px; height: 170px; }
    .tut-note-badge {
        float: right; position: static; transform: none;
        width: 30px; height: 30px; border-radius: 10px; margin: 2px 0 6px 10px;
    }
    .tut-note-badge svg { width: 16px; height: 16px; }
}

/* 详情页：两栏 + 吸顶目录 + 编号步骤 */
body.tut-page .article > .wrap { max-width: 1140px !important; }
body.tut-page .article { padding-top: 34px !important; }
.article .tut-layout { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; margin-top: 26px; }
.tut-toc { position: sticky; top: 84px; background: #fff; border: 1px solid var(--td-line); border-radius: 18px; padding: 14px 12px; box-shadow: var(--td-shadow-soft); }
.tut-toc-t { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: .6px; padding: 0 8px 10px; border-bottom: 1px solid var(--td-line); margin-bottom: 8px; }
.tut-toc a { display: block; padding: 7px 8px; border-radius: 9px; font-size: 12.5px; line-height: 1.5; color: var(--td-text-2); text-decoration: none !important; overflow: hidden; text-overflow: ellipsis; }
.tut-toc a:hover { background: rgba(79,124,255,.08); color: var(--td-primary); }
.tut-toc a.is-active { background: rgba(79,124,255,.12); color: var(--td-primary); font-weight: 600; }
.tut-body { background: #fff; border: 1px solid var(--td-line); border-radius: 24px; padding: 32px; box-shadow: var(--td-shadow-card); min-width: 0; }
.article .tut-body h2 { position: relative; display: flex; align-items: center; padding-left: 52px !important; min-height: 38px; font-size: 19px !important; font-weight: 800; color: var(--td-text); margin: 30px 0 14px !important; max-width: none !important; }
.article .tut-body h2:first-child { margin-top: 0 !important; }
.tut-num { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg,var(--td-primary),var(--td-accent)); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 10px 20px -12px rgba(79,124,255,.9); }
.tut-body p, .tut-body li { font-size: 14.5px !important; line-height: 1.85 !important; color: var(--td-text-2); }
.tut-body .related { margin: 10px 0 18px; }
/* 教程配图（自有界面示意）：整幅、浅底、圆角；手机端横向可滑动，避免缩到看不清 */
.article .tut-body .tut-fig { margin: 18px 0 22px; }
.article .tut-body .tut-fig img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--td-line); background: #f5f7fb; }
.article .tut-body .tut-fig figcaption { margin-top: 8px; font-size: 12.5px; color: #94a3b8; text-align: center; line-height: 1.6; }
.article .tut-body .tut-fig img.narrow { max-width: 420px; margin-left: auto; margin-right: auto; }
.tut-zoom { display: none; }
@media (max-width: 640px) {
  .article .tut-body .tut-fig { overflow: visible; }
  .article .tut-body .tut-fig img { min-width: 0; width: 100%; }
  .article .tut-body .tut-fig figcaption { min-width: 0; text-align: center; }
  .tut-zoom { display: inline; color: #1F4FFF; margin-left: 6px; white-space: nowrap; }
}
.article .tut-cta-detail { margin-bottom: 8px; }

/* 手机适配 */
@media (max-width: 900px) {
    .tut-grid { grid-template-columns: 1fr 1fr; }
    .article .tut-layout { grid-template-columns: 1fr; }
    .tut-toc { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 10px; white-space: nowrap; scrollbar-width: none; }
    .tut-toc::-webkit-scrollbar { display: none; }
    .tut-toc-t { display: none; }
    .tut-toc a { flex: 0 0 auto; background: #f4f7fd; border: 1px solid var(--td-line); max-width: 190px; }
}
@media (max-width: 640px) {
    .article .tut-hero { padding: 34px 0 18px; }
    .article .tut-hero h1 { font-size: 26px !important; letter-spacing: -.6px; }
    .article .tut-hero h1 .tut-grad { display: inline-block; } /* 避免「使用教程中心」被逐字拆断 */
    .article .tut-hero .tut-lead { font-size: 14px !important; }
    .tut-search { margin-top: 20px; }
    .tut-search input { height: 50px !important; font-size: 14px !important; }
    .tut-filters { gap: 7px; margin: 22px 0 18px; }
    .tut-chip { height: 34px; padding: 0 14px; font-size: 12.5px; }
    .tut-grid { grid-template-columns: 1fr; gap: 14px; }
    .tut-cover { height: 122px; padding: 14px 16px; }
    .tut-cover-name { font-size: 22px; margin-top: 12px; }
    .tut-card-body { padding: 14px 16px; }
    .tut-cta { padding: 30px 18px; border-radius: 20px; margin-top: 40px; }
    .tut-faq { margin-top: 40px; }
    .tut-faq-card { padding: 6px 14px; border-radius: 20px; }
    .tut-body { padding: 20px; border-radius: 20px; }
    .article .tut-body h2 { padding-left: 44px !important; font-size: 17px !important; }
    .tut-num { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
    .tut-faq-a { padding-right: 6px; }
}


/* 教程正文：提示条 / 表格 / 小标题（迁移内容的 notice 与 FAQ 问题） */
.article .tut-warn { background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid #f59e0b; border-radius: 12px; padding: 12px 16px !important; color: #92400e !important; font-size: 13.5px !important; line-height: 1.8 !important; margin: 14px 0 !important; }
.article .tut-warn strong { color: #78350f; }
.article .tut-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.article .tut-body table th, .article .tut-body table td { border: 1px solid var(--td-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.article .tut-body table th { background: #f4f7fd; font-weight: 600; color: var(--td-text-2); }
.article .tut-body h3 { font-size: 15px !important; font-weight: 700; color: var(--td-text); margin: 18px 0 8px !important; }
.article .tut-body code { background: #f4f7fd; border: 1px solid var(--td-line); border-radius: 6px; padding: 1px 6px; font-size: 12.5px; color: #475569; }


/* ==============================================================
   全站页脚统一为首页完整版（深色三栏 + 全站索引 + 版权行）
   与 tidy.css 的 body.home .site-footer 规则同值，去掉首页作用域
   ============================================================== */
.site-footer { margin-top: 72px !important; padding: 0 !important; border-top: 0 !important; background: linear-gradient(180deg,#0f172a 0%,#0b1220 100%) !important; color: #94a3b8 !important; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle,rgba(79,124,255,.16),transparent 70%); pointer-events: none; }
.site-footer > .wrap { position: relative; z-index: 1; max-width: 1140px !important; margin: 0 auto !important; padding: 44px 20px 26px !important; }
.site-footer .footer-cols { display: grid !important; grid-template-columns: 1.6fr 1fr 1.4fr 1fr !important; gap: 36px !important; text-align: left !important; margin-bottom: 26px !important; }
.site-footer .footer-group h4 { color: #e2e8f0 !important; font-size: 14px !important; font-weight: 700 !important; margin: 0 0 14px !important; letter-spacing: .02em; }
.site-footer .footer-brand img { border-radius: 6px; }
.site-footer .footer-group p { color: #7f8ea8 !important; font-size: 13px !important; margin: 0 0 5px !important; }
.site-footer .footer-group ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.site-footer .footer-group li { margin-bottom: 8px !important; }
.site-footer .footer-group a { color: #94a3b8 !important; font-size: 13.5px !important; text-decoration: none !important; transition: color .2s ease !important; }
.site-footer .footer-group a:hover { color: #fff !important; text-decoration: none !important; }
.site-footer .footer-friends-apply a { color: #8ab0ff !important; }
.site-footer .footer-all { margin-top: 6px !important; border-top: 1px solid rgba(148,163,184,.16) !important; padding-top: 14px !important; }
.site-footer .footer-all > summary { color: #94a3b8 !important; font-size: 13px !important; cursor: pointer; }
.site-footer .footer-all[open] > summary { color: #cbd5e1 !important; }
.site-footer .footer-all-cols ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.site-footer .footer-all-cols li { margin-bottom: 6px !important; }
.site-footer .footer-all a { color: #94a3b8 !important; font-size: 12.5px !important; text-decoration: none !important; transition: color .2s ease !important; }
.site-footer .footer-all a:hover { color: #fff !important; }
.site-footer .footer-copy { border-top: 1px solid rgba(148,163,184,.16) !important; color: #7f8ea8 !important; text-align: center !important; padding-top: 20px !important; margin-top: 18px !important; }
@media (max-width: 860px) {
    .site-footer .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
    .site-footer .footer-brand { grid-column: 1 / -1 !important; }
}
@media (max-width: 520px) {
    .site-footer .footer-cols { grid-template-columns: 1fr !important; }
}


/* ==============================================================
   教程页 1:1 复刻增强（2026-11-12）
   参考：xiazaitu.com/tutorial/dy.html 内联样式 + parse.css 的 faq / notice 组件
   目录 01/02 编号、步骤卡编号徽章、手风琴 FAQ、版权提示卡
   ============================================================== */

/* ---------- 双栏：左 236px 编号目录 + 右正文白卡 ---------- */
body.tut-page .article .tut-layout {
    grid-template-columns: 236px minmax(0, 1fr); gap: 26px; margin-top: 28px;
}
body.tut-page .tut-toc {
    position: sticky; top: 84px; padding: 18px;
    background: #fff; border: 1.5px solid var(--td-line);
    border-radius: var(--td-radius); box-shadow: var(--td-shadow-soft);
    animation: tdFadeUp .7s .12s var(--td-ease) both;
}
body.tut-page .tut-toc h4 {
    margin: 0 0 12px; font-size: 12.5px; font-weight: 800;
    letter-spacing: .8px; color: var(--td-muted);
}
body.tut-page .tut-toc .tut-toc-t { display: none; }
body.tut-page .tut-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
body.tut-page .tut-toc li { counter-increment: toc; }
body.tut-page .tut-toc li + li { margin-top: 2px; }
body.tut-page .tut-toc a {
    display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px;
    border-radius: 10px; font-size: 13.5px; line-height: 1.5;
    color: var(--td-text-2); text-decoration: none !important;
    white-space: normal; overflow: visible; text-overflow: clip;
    transition: color .2s ease, background .2s ease;
}
body.tut-page .tut-toc a::before {
    content: counter(toc, decimal-leading-zero); flex: 0 0 auto;
    font-size: 11.5px; font-weight: 800; color: var(--td-muted);
    transform: translateY(2px); transition: color .2s ease;
}
body.tut-page .tut-toc a:hover,
body.tut-page .tut-toc a.active,
body.tut-page .tut-toc a.is-active {
    color: var(--td-primary); font-weight: 700; background: rgba(79,124,255,.10);
}
body.tut-page .tut-toc a:hover::before,
body.tut-page .tut-toc a.active::before,
body.tut-page .tut-toc a.is-active::before { color: var(--td-primary); }

body.tut-page .tut-body {
    min-width: 0; padding: 30px; background: #fff;
    border: 1.5px solid var(--td-line); border-radius: var(--td-radius-lg);
    box-shadow: var(--td-shadow-soft); animation: tdFadeUp .7s .16s var(--td-ease) both;
}

/* ---------- 步骤区块：编号徽章 + 虚线分隔 ---------- */
body.tut-page .tut-step, body.tut-page .tut-faq { scroll-margin-top: 92px; }
body.tut-page .tut-step + .tut-step,
body.tut-page .tut-step + .tut-faq {
    margin-top: 30px; padding-top: 30px; border-top: 1px dashed var(--td-line);
}
body.tut-page .tut-step-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
body.tut-page .tut-step-num {
    flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 12px; font-size: 14px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--td-primary), var(--td-accent));
    box-shadow: 0 12px 22px -14px rgba(79,124,255,1);
}
body.tut-page .article .tut-body h2 {
    position: static; display: block; min-height: 0;
    padding-left: 0 !important; margin: 0 !important;
    font-size: 19px !important; font-weight: 800; letter-spacing: -.4px;
    line-height: 1.4; color: var(--td-text); max-width: none !important;
}
body.tut-page .article .tut-body h2.tut-section-title {
    display: flex; align-items: center; gap: 10px; margin: 0 0 16px !important;
    font-size: 19px !important;
}
.tut-section-title .icon { width: 18px; height: 18px; color: var(--td-primary); }

/* ---------- 正文排版：蓝色圆点列表 / 加粗 / 链接 ---------- */
body.tut-page .tut-body p {
    margin: 0 0 13px; font-size: 14.5px !important; line-height: 1.95 !important;
    color: var(--td-text-2);
}
body.tut-page .tut-body p:last-child { margin-bottom: 0; }
body.tut-page .tut-body ul { margin: 0 0 14px; padding: 0; list-style: none; }
body.tut-page .tut-body ul li {
    position: relative; padding-left: 22px; margin-bottom: 8px;
    font-size: 14.5px !important; line-height: 1.9 !important; color: var(--td-text-2);
}
body.tut-page .tut-body ul li::before {
    content: ""; position: absolute; left: 4px; top: 11px;
    width: 7px; height: 7px; border-radius: 50%;
    background: linear-gradient(135deg, var(--td-primary), var(--td-accent));
}
body.tut-page .tut-body strong { color: var(--td-text); font-weight: 700; }
body.tut-page .tut-body a {
    color: var(--td-primary); font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- FAQ：独立圆角卡片 + 加号/减号（列表页与详情页共用） ---------- */
.tut-faq-card {
    display: flex; flex-direction: column; gap: 12px;
    background: transparent !important; border: 0 !important;
    border-radius: 0 !important; padding: 0 !important; box-shadow: none !important;
}
.tut-faq-item {
    margin: 0 !important; padding: 0 !important; overflow: hidden;
    border: 1.5px solid var(--td-line) !important; border-radius: var(--td-radius) !important;
    background: #fff !important; border-bottom: 1.5px solid var(--td-line) !important;
    transition: border-color .24s ease, box-shadow .28s ease, background .24s ease;
}
.tut-faq-item:hover { border-color: rgba(79,124,255,.32) !important; }
.tut-faq-item[open] {
    border-color: rgba(79,124,255,.45) !important;
    background: linear-gradient(180deg, #ffffff, #fafbff) !important;
    box-shadow: 0 18px 34px -26px rgba(24,50,120,.55);
}
.tut-faq-item summary {
    display: flex !important; align-items: center; justify-content: space-between; gap: 14px;
    padding: 17px 20px !important; font-size: 15px !important; font-weight: 600;
    color: var(--td-text); cursor: pointer; list-style: none; user-select: none;
}
.tut-faq-item summary::-webkit-details-marker { display: none !important; }
/* article.css 给所有 details 追加了 "+"/"−" 伪元素，这里只用自己的蓝色方块图标 */
.tut-faq-item summary::after,
.article details.tut-faq-item summary::after { content: none !important; display: none !important; }
.tut-faq-item summary:hover { color: var(--td-primary); }
.tut-faq-item summary h3,
body.tut-page .article .tut-body .tut-faq-item summary h3 {
    margin: 0 !important; font-size: inherit !important; font-weight: inherit !important;
    color: inherit !important; line-height: 1.5;
}
.tut-faq-plus {
    position: relative; flex: 0 0 auto; width: 24px; height: 24px;
    border-radius: 8px; background: rgba(79,124,255,.10); transition: background .2s ease;
}
.tut-faq-plus::before, .tut-faq-plus::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%,-50%); background: var(--td-primary); border-radius: 2px;
}
.tut-faq-plus::before { width: 11px; height: 2px; }
.tut-faq-plus::after { width: 2px; height: 11px; transition: transform .25s var(--td-ease), opacity .2s ease; }
.tut-faq-item[open] .tut-faq-plus { background: rgba(79,124,255,.20); }
.tut-faq-item[open] .tut-faq-plus::after { transform: translate(-50%,-50%) scaleY(0); opacity: 0; }
.tut-faq-a {
    padding: 0 20px 18px !important; font-size: 14px !important; line-height: 1.85 !important;
    color: var(--td-text-2); max-width: none !important;
    animation: tdFadeUp .3s var(--td-ease) both;
}
.tut-faq-a p { margin: 0 0 8px !important; max-width: none !important; }
.tut-faq-a p:last-child { margin-bottom: 0 !important; }

/* ---------- 版权提示卡（橙米警示） ---------- */
body.tut-page .notice {
    display: flex; align-items: flex-start; gap: 13px; margin-top: 20px;
    padding: 16px 18px; border-radius: 16px;
    background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.18);
}
body.tut-page .notice-icon {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 10px 20px -10px rgba(245,158,11,.9);
}
body.tut-page .notice-icon svg { width: 18px; height: 18px; }
body.tut-page .notice-title {
    margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--td-text);
}
body.tut-page .notice-desc {
    margin: 5px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--td-muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    body.tut-page .article .tut-layout { grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
    body.tut-page .tut-toc {
        position: static; display: block; padding: 14px;
        white-space: normal; overflow: visible;
    }
    body.tut-page .tut-toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
    body.tut-page .tut-toc li + li { margin-top: 0; }
    body.tut-page .tut-toc a {
        align-items: center; flex: 0 0 auto; max-width: none; padding: 7px 13px;
        border: 0; border-radius: 999px; background: #f4f7fd; font-size: 13px;
    }
    body.tut-page .tut-toc a::before { display: none; }
}
@media (max-width: 640px) {
    body.tut-page .tut-body { padding: 18px 16px; border-radius: 20px; }
    body.tut-page .tut-step + .tut-step,
    body.tut-page .tut-step + .tut-faq { margin-top: 24px; padding-top: 24px; }
    body.tut-page .tut-step-head { gap: 10px; margin-bottom: 12px; }
    body.tut-page .tut-step-num { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
    body.tut-page .article .tut-body h2,
    body.tut-page .article .tut-body h2.tut-section-title { font-size: 16.5px !important; }
    body.tut-page .tut-body p, body.tut-page .tut-body ul li { font-size: 14px !important; line-height: 1.9 !important; }
    .tut-faq-item summary { padding: 15px 16px !important; font-size: 14.5px !important; }
    .tut-faq-a { padding: 0 16px 16px !important; font-size: 13.5px !important; }
    body.tut-page .notice { padding: 14px 15px; gap: 11px; border-radius: 14px; }
    body.tut-page .notice-icon { width: 32px; height: 32px; border-radius: 10px; }
    body.tut-page .notice-title { font-size: 14.5px; }
    body.tut-page .notice-desc { font-size: 13px; }
}
