/* ============================================================
   TongDog 工作室 · 暗色科技风主题层
   覆盖 simpleboot3 —— 仅前端视觉，全部 td- 前缀命名
   总开关: body.td-page
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
    --td-bg: #0a0e1a;
    --td-surface: #111827;
    --td-surface-2: #0f1523;
    --td-line: rgba(148, 163, 184, .16);
    --td-cyan: #22d3ee;
    --td-violet: #8b5cf6;
    --td-pink: #f472b6;
    --td-green: #34d399;
    --td-text: #e5e7eb;
    --td-muted: #94a3b8;
    --td-grad: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 55%, #f472b6 120%);
}

/* ---------- 2. 基础 ---------- */
body.td-page {
    background: #0a0e1a;
    background: var(--td-bg);
    color: #e5e7eb;
    color: var(--td-text);
    font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.td-page ::selection { background: rgba(34, 211, 238, .35); color: #fff; }
body.td-page ::-webkit-scrollbar { width: 10px; height: 10px; }
body.td-page ::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 5px; }
body.td-page ::-webkit-scrollbar-thumb:hover { background: #334155; }
body.td-page ::-webkit-scrollbar-track { background: #0a0e1a; }
body.td-page a { color: #22d3ee; }
body.td-page a:hover, body.td-page a:focus { color: #67e8f9; }
body.td-page .td-mono { font-family: "SF Mono", Menlo, Consolas, "Courier New", monospace; }

/* 通用渐变文字 */
.td-grad {
    color: #22d3ee;
    background: linear-gradient(90deg, #22d3ee, #8b5cf6, #f472b6);
    background: var(--td-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- 3. 导航 ---------- */
body.td-page .navbar.td-nav {
    background: rgba(10, 14, 26, .82);
    background: rgba(10, 14, 26, .82);
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    min-height: 64px;
    z-index: 1030;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
body.td-page .td-nav .navbar-brand {
    height: 64px;
    line-height: 34px;
    color: #e5e7eb;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 15px 15px 15px 0;
}
.td-brand b { color: #22d3ee; font-weight: 800; }
.td-brand .td-brand-grad {
    background: linear-gradient(90deg, #8b5cf6, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.td-brand .td-brand__cn { font-size: 14px; color: #94a3b8; font-weight: 400; margin-left: 6px; }
body.td-page .td-nav .navbar-brand:hover { color: #fff; }

/* 菜单项 */
body.td-page .td-menu > li > a {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 34px;
    padding: 15px 14px;
    position: relative;
    transition: color .25s ease;
}
body.td-page .td-menu > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 9px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #22d3ee, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
body.td-page .td-menu > li > a:hover, body.td-page .td-menu > li > a:focus {
    color: #fff;
    background: transparent;
}
body.td-page .td-menu > li > a:hover::after { transform: scaleX(1); }
body.td-page .td-menu > li.active > a {
    color: #fff;
    background: transparent;
}
body.td-page .td-menu > li.active > a::after { transform: scaleX(1); }

/* 移动端折叠按钮 */
body.td-page .td-nav .navbar-toggle { border-color: rgba(148, 163, 184, .3); margin-top: 15px; }
body.td-page .td-nav .navbar-toggle .icon-bar { background: #cbd5e1; }
body.td-page .td-nav .navbar-toggle:hover, body.td-page .td-nav .navbar-toggle:focus {
    background: rgba(34, 211, 238, .1);
    border-color: #22d3ee;
}

/* 右侧搜索与登录 */
body.td-page .td-nav .navbar-form { margin-top: 14px; margin-bottom: 14px; }
body.td-page .td-nav .navbar-form .form-control {
    background: rgba(17, 24, 39, .8);
    border: 1px solid rgba(148, 163, 184, .22);
    color: #e5e7eb;
    border-radius: 20px;
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}
body.td-page .td-nav .navbar-form .form-control:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .15);
}
body.td-page .td-nav .navbar-form .btn-primary {
    background: linear-gradient(135deg, #0891b2, #7c3aed);
    border: none;
    border-radius: 20px;
}
body.td-page .td-menu-user > li > a { color: #cbd5e1; line-height: 34px; padding-top: 15px; padding-bottom: 15px; }
body.td-page .td-menu-user > li > a:hover, body.td-page .td-menu-user > li > a:focus { color: #fff; background: transparent; }
body.td-page .td-menu-user .dropdown-menu {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, .18);
}
body.td-page .td-menu-user .dropdown-menu > li > a { color: #cbd5e1; }
body.td-page .td-menu-user .dropdown-menu > li > a:hover { background: rgba(34, 211, 238, .1); color: #fff; }
body.td-page .td-menu-user .divider { background-color: rgba(148, 163, 184, .18); }

/* ---------- 4. Hero ---------- */
.td-hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 110px;
    margin-top: 0;
    background: radial-gradient(ellipse at 50% -10%, rgba(139, 92, 246, .12), transparent 55%),
                radial-gradient(ellipse at 85% 110%, rgba(34, 211, 238, .08), transparent 50%),
                #0a0e1a;
}
.td-hero__grid {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: -webkit-radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    animation: tdGridMove 26s linear infinite;
    pointer-events: none;
}
@keyframes tdGridMove { to { background-position: 44px 44px; } }

.td-hero__orb {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .4;
    pointer-events: none;
}
.td-hero__orb--c {
    background: radial-gradient(circle, #22d3ee, transparent 70%);
    top: -120px; left: -80px;
    animation: tdFloat 11s ease-in-out infinite alternate;
}
.td-hero__orb--v {
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    bottom: -140px; right: -60px;
    animation: tdFloat 14s ease-in-out infinite alternate-reverse;
}
@keyframes tdFloat { to { transform: translate(40px, -30px) scale(1.12); } }

.td-hero__inner { position: relative; z-index: 2; }
.td-hero__kicker {
    display: inline-block;
    font-family: "SF Mono", Menlo, Consolas, "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 3px;
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, .35);
    background: rgba(34, 211, 238, .07);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 26px;
}
.td-blink {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34d399;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(52, 211, 153, .9);
    animation: tdBlink 1.6s ease-in-out infinite;
}
@keyframes tdBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.td-hero__title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
}
.td-hero__sub {
    font-size: 17px;
    line-height: 1.9;
    color: #94a3b8;
    margin-bottom: 34px;
}
.td-hero__btns .td-btn { margin-right: 14px; margin-bottom: 12px; }

/* 终端窗口 */
.td-term {
    background: rgba(15, 21, 35, .9);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(34, 211, 238, .06);
    overflow: hidden;
    animation: tdTermIn .8s cubic-bezier(.2, .7, .3, 1) both .3s;
}
@keyframes tdTermIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.td-term__bar {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    background: rgba(148, 163, 184, .06);
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.td-term__bar i {
    width: 11px; height: 11px;
    border-radius: 50%;
    margin-right: 7px;
}
.td-term__bar i:nth-child(1) { background: #f87171; }
.td-term__bar i:nth-child(2) { background: #fbbf24; }
.td-term__bar i:nth-child(3) { background: #34d399; }
.td-term__bar span {
    margin-left: 10px;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    color: #64748b;
}
.td-term__body {
    margin: 0;
    padding: 22px 24px;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 2.1;
    color: #a5f3fc;
    white-space: pre-wrap;
    word-break: break-all;
}
.td-term__body .td-ln { color: #8b5cf6; margin-right: 10px; }
.td-term__body .td-ok { color: #34d399; }
.td-term__body span { opacity: 0; animation: tdLineIn .5s ease both; }
.td-term__body span:nth-of-type(1) { animation-delay: .5s; }
.td-term__body span:nth-of-type(2) { animation-delay: .9s; }
.td-term__body span:nth-of-type(3) { animation-delay: 1.3s; }
.td-term__body span:nth-of-type(4) { animation-delay: 1.7s; }
.td-term__body span:nth-of-type(5) { animation-delay: 2.1s; }
@keyframes tdLineIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.td-cursor {
    display: inline-block;
    width: 8px; height: 16px;
    background: #22d3ee;
    vertical-align: -2px;
    animation: tdCursor 1s steps(1) infinite;
}
@keyframes tdCursor { 50% { opacity: 0; } }

/* ---------- 5. 按钮 ---------- */
.td-btn {
    display: inline-block;
    padding: 11px 30px;
    border-radius: 26px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-position .5s ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.td-btn:hover, .td-btn:focus { text-decoration: none; }
.td-btn--solid {
    color: #06121f;
    background: linear-gradient(120deg, #22d3ee, #8b5cf6, #22d3ee);
    background-size: 200% 100%;
    box-shadow: 0 6px 24px rgba(34, 211, 238, .28);
}
.td-btn--solid:hover, .td-btn--solid:focus {
    color: #06121f;
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(139, 92, 246, .4);
}
.td-btn--ghost {
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, .35);
    background: rgba(148, 163, 184, .05);
}
.td-btn--ghost:hover, .td-btn--ghost:focus {
    color: #fff;
    border-color: #22d3ee;
    background: rgba(34, 211, 238, .08);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(34, 211, 238, .18);
}
.td-btn--lg { padding: 14px 40px; font-size: 16px; border-radius: 30px; }

/* ---------- 6. 区块通用 + 业务卡 ---------- */
.td-section { padding: 90px 0; position: relative; }
.td-section--alt { background: #0c1120; }
.td-sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.td-sec-kicker {
    display: block;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    letter-spacing: 4px;
    color: #8b5cf6;
    margin-bottom: 14px;
}
.td-sec-title {
    font-size: 34px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.td-sec-desc { font-size: 16px; color: #94a3b8; line-height: 1.8; margin: 0; }

/* 玻璃卡基类 */
.td-card, .td-post, .td-term, .td-cta__panel, .td-contact-card, .td-side-box {
    background: rgba(17, 24, 39, .6);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* 业务领域：3×2 网格卡片 */
/* BS3 浮动栅格 flex 化：修复卡片高度不一时 float 参差导致的串行换行 */
.td-cards-row, .td-posts-row { display: flex; flex-wrap: wrap; }
.td-cards-row > [class*="col-"], .td-posts-row > [class*="col-"] { float: none; display: flex; }
.td-cards-row .td-card, .td-posts-row .td-post { width: 100%; }
.td-card {
    position: relative;
    display: block;
    flex: 1 1 auto;
    text-align: center;
    background: rgba(17, 24, 39, .6);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 16px;
    padding: 32px 26px 26px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), border-color .35s ease, box-shadow .35s ease;
}
.td-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .6), transparent);
    opacity: 0;
    transition: opacity .35s ease;
}
.td-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, .45);
    box-shadow: 0 14px 44px rgba(34, 211, 238, .14), 0 0 0 1px rgba(34, 211, 238, .2);
}
.td-card:hover::before { opacity: 1; }
.td-card__icon {
    width: 56px; height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, rgba(34, 211, 238, .9), rgba(139, 92, 246, .9));
    box-shadow: 0 8px 22px rgba(34, 211, 238, .25);
    margin: 0 auto 20px;
}
.td-card__no { display: none; }
.td-card__title { font-size: 19px; font-weight: 700; color: #f8fafc; margin: 0 0 10px; letter-spacing: .5px; }
.td-card__desc { font-size: 13.5px; color: #94a3b8; line-height: 1.85; margin-bottom: 16px; min-height: 50px; }
.td-card__tags { list-style: none; padding: 0; margin: 0; text-align: center; }
.td-card__tags li {
    display: inline-block;
    font-size: 12px;
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, .3);
    background: rgba(34, 211, 238, .06);
    border-radius: 14px;
    padding: 3px 11px;
    margin: 0 4px 7px;
}

/* ---------- 7. 文章卡 ---------- */
.td-post { margin-bottom: 30px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s ease, box-shadow .35s ease; }
.td-post:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, .45);
    box-shadow: 0 14px 44px rgba(139, 92, 246, .15);
}
.td-post__cover {
    display: block;
    position: relative;
    padding-bottom: 56%;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #0f1523;
}
.td-post__cover img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.td-post:hover .td-post__cover img { transform: scale(1.06); }
.td-post__body { padding: 20px 22px 24px; }
.td-post__meta {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}
.td-post__meta i { margin: 0 4px 0 10px; color: #22d3ee; }
.td-post__meta span { color: #334155; margin: 0 6px; }
.td-post__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.td-post__title a { color: #f1f5f9; }
.td-post__title a:hover { color: #22d3ee; text-decoration: none; }
.td-post__excerpt {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 空态 */
.td-empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed rgba(148, 163, 184, .25);
    border-radius: 16px;
    color: #64748b;
}
.td-empty i { font-size: 44px; color: #334155; margin-bottom: 18px; display: block; }
.td-empty p { font-size: 15px; margin: 0 0 6px; color: #94a3b8; }
.td-empty .td-mono { font-size: 12px; color: #475569; }

/* ---------- 8. CTA / 联系 / 页脚 ---------- */
.td-cta__panel {
    position: relative;
    padding: 60px 40px 56px;
    text-align: center;
    overflow: hidden;
}
.td-cta__panel::before {
    content: "";
    position: absolute;
    top: -1px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .7), rgba(139, 92, 246, .7), transparent);
}
.td-cta__title { font-size: 30px; font-weight: 800; color: #f8fafc; margin: 0 0 12px; }
.td-cta__sub { font-size: 15px; color: #94a3b8; margin: 0 0 40px; }
.td-cta__grid { margin-bottom: 38px; }
.td-cta__cell { padding: 10px 12px; }
.td-cta__cell i {
    font-size: 22px;
    color: #22d3ee;
    margin-bottom: 14px;
    display: block;
}
.td-cta__cell b {
    display: block;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.td-cta__cell a, .td-cta__cell span {
    font-size: 15px;
    color: #e5e7eb;
    word-break: break-all;
}
.td-cta__cell a:hover { color: #22d3ee; text-decoration: none; }

.td-footer {
    background: #070a13;
    border-top: 1px solid rgba(148, 163, 184, .12);
    padding: 56px 0 0;
    margin-top: 0;
    color: #94a3b8;
}
.td-footer .td-brand--footer { font-size: 20px; margin-bottom: 14px; color: #e5e7eb; }
.td-footer__desc { font-size: 13.5px; line-height: 1.9; color: #64748b; }
.td-footer h4 {
    font-size: 14px;
    color: #cbd5e1;
    letter-spacing: 2px;
    margin: 6px 0 18px;
    font-weight: 600;
}
.td-footer__contact p { font-size: 13.5px; margin: 0 0 10px; }
.td-footer__contact i { color: #22d3ee; width: 20px; }
.td-footer__contact a { color: #94a3b8; }
.td-footer__contact a:hover { color: #22d3ee; }
.td-links a {
    display: inline-block;
    color: #64748b;
    font-size: 13px;
    margin: 0 12px 8px 0;
}
.td-links a:hover { color: #22d3ee; text-decoration: none; }
.td-footer__bar {
    margin-top: 44px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(148, 163, 184, .1);
    font-size: 12.5px;
    color: #475569;
}
.td-footer__bar a { color: #64748b; margin: 0 8px; }
.td-footer__bar a:hover { color: #22d3ee; }
.td-footer__bar img { margin-right: 4px; vertical-align: -2px; }
.td-footer__pow { float: right; }

/* 返回顶部（覆写原样式） */
#backtotop { color: #22d3ee; text-shadow: 0 0 18px rgba(34, 211, 238, .55); }

/* ---------- 9. 文章页 ---------- */
body.td-page .td-article-wrap { margin-top: 100px; margin-bottom: 70px; }
.td-article__head { margin-bottom: 26px; }
.td-chip {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, .35);
    background: rgba(34, 211, 238, .07);
    border-radius: 16px;
    padding: 4px 14px;
    margin-bottom: 18px;
    font-family: "SF Mono", Menlo, Consolas, monospace;
}
.td-article__title {
    font-size: 32px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}
.td-article__meta {
    font-size: 13px;
    color: #64748b;
    display: block;
}
.td-article__meta > span, .td-article__meta > a {
    display: inline-block;
    margin-right: 20px;
    color: #64748b;
}
.td-article__meta i { color: #22d3ee; margin-right: 6px; }
.td-article__meta a:hover { color: #22d3ee; text-decoration: none; }

/* 近白阅读卡 */
.td-article__paper {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px 44px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
#article_content { word-wrap: break-word; color: #1f2937; }
#article_content img { max-width: 100% !important; height: auto !important; border-radius: 10px; }
#article_content p { font-size: 16px; line-height: 1.95; color: #1f2937; margin: 0 0 1.25em; }
#article_content h1, #article_content h2, #article_content h3, #article_content h4 {
    color: #0f172a; font-weight: 700; margin: 1.7em 0 .8em; line-height: 1.45;
}
#article_content h2 { font-size: 24px; padding-left: 12px; border-left: 4px solid #22d3ee; }
#article_content h3 { font-size: 20px; }
#article_content a { color: #0891b2; }
#article_content pre {
    background: #0f1523;
    color: #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    overflow: auto;
    font-size: 13.5px;
    line-height: 1.7;
    border: none;
}
#article_content code {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    background: rgba(34, 211, 238, .1);
    color: #0e7490;
    border-radius: 4px;
    padding: 2px 6px;
}
#article_content pre code { background: none; color: inherit; padding: 0; }
#article_content blockquote {
    border-left: 4px solid #8b5cf6;
    background: #f1f5f9;
    color: #475569;
    padding: 14px 22px;
    border-radius: 0 10px 10px 0;
    margin: 1.4em 0;
    font-size: 15px;
}
#article_content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
#article_content th, #article_content td { border: 1px solid #e2e8f0; padding: 10px 14px; font-size: 14px; }
#article_content th { background: #f1f5f9; color: #0f172a; }
#article_content ul, #article_content ol { padding-left: 1.6em; margin: 0 0 1.25em; }
#article_content li { line-height: 1.9; }

/* 侧栏 */
.td-side-box { padding: 26px 24px; margin-bottom: 26px; }
.td-side-box h3 {
    font-size: 16px;
    color: #f1f5f9;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 3px solid #22d3ee;
    letter-spacing: 1px;
}
.td-rank { list-style: none; padding: 0; margin: 0; }
.td-rank li { display: flex; align-items: flex-start; margin-bottom: 14px; }
.td-rank li:last-child { margin-bottom: 0; }
.td-rank li i {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    font-family: "SF Mono", Menlo, monospace;
    font-size: 12px;
    color: #64748b;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 6px;
    margin-right: 12px;
    margin-top: 2px;
}
.td-rank li.top3 i {
    color: #06121f;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    border: none;
    font-weight: 700;
}
.td-rank li a {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.65;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.td-rank li a:hover { color: #22d3ee; text-decoration: none; }
.td-side-about p { font-size: 13.5px; color: #94a3b8; line-height: 2; margin: 0 0 6px; }
.td-side-about i { color: #22d3ee; width: 18px; }
.td-side-about .td-btn { margin-top: 12px; padding: 8px 22px; font-size: 13px; }

/* ---------- 10. 列表/搜索/标签/单页 暗色覆写 ---------- */
.td-pagehead {
    position: relative;
    padding: 150px 0 54px;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, .1), transparent 60%), #0a0e1a;
    border-bottom: 1px solid rgba(148, 163, 184, .1);
    margin-bottom: 50px;
    overflow: hidden;
}
.td-pagehead h1 {
    font-size: 30px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 10px;
}
.td-pagehead .td-sec-kicker { margin-bottom: 10px; }
.td-pagehead p { color: #94a3b8; font-size: 15px; margin: 0; }

body.td-page .list-boxes {
    background: rgba(17, 24, 39, .6);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    padding: 26px 30px;
    margin-bottom: 24px;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
body.td-page .list-boxes:hover {
    border-color: rgba(34, 211, 238, .4);
    box-shadow: 0 10px 34px rgba(34, 211, 238, .1);
    transform: translateY(-3px);
}
body.td-page .list-boxes h2 { margin: 0 0 12px; font-size: 20px; }
body.td-page .list-boxes h2 a { color: #f1f5f9; }
body.td-page .list-boxes h2 a:hover { color: #22d3ee; text-decoration: none; }
body.td-page .list-boxes p { color: #94a3b8; font-size: 14px; line-height: 1.85; }
body.td-page .list-boxes .fa { color: #64748b; }
body.td-page .list-boxes .label { background: rgba(34, 211, 238, .12); color: #a5f3fc; border: 1px solid rgba(34, 211, 238, .3); }

body.td-page .tc-box { background: rgba(17, 24, 39, .6); border: 1px solid rgba(148, 163, 184, .16); border-radius: 14px; }
body.td-page .headtitle h2 { color: #f1f5f9; border-bottom: 1px solid rgba(148, 163, 184, .14); }
body.td-page .ranking li { border-top: 1px dashed rgba(148, 163, 184, .12); }
body.td-page .ranking li a { color: #cbd5e1; }
body.td-page .ranking li i { background: rgba(148, 163, 184, .12); color: #94a3b8; border-radius: 6px; }
body.td-page .ranking li.top3 i { background: linear-gradient(135deg, #22d3ee, #8b5cf6); color: #06121f; font-weight: 700; }
body.td-page .dl-horizontal dt { color: #94a3b8; }
body.td-page .dl-horizontal dd a { color: #cbd5e1; }
body.td-page .main-title h3 { color: #f1f5f9; }

/* 分页 */
body.td-page .pagination > li > a,
body.td-page .pagination > li > span {
    background: rgba(17, 24, 39, .7);
    border: 1px solid rgba(148, 163, 184, .2);
    color: #cbd5e1;
}
body.td-page .pagination > li > a:hover {
    background: rgba(34, 211, 238, .12);
    border-color: rgba(34, 211, 238, .4);
    color: #22d3ee;
}
body.td-page .pagination > .active > a,
body.td-page .pagination > .active > span,
body.td-page .pagination > .active > a:hover {
    background: linear-gradient(135deg, #0891b2, #7c3aed);
    border-color: transparent;
    color: #fff;
}
body.td-page .pagination > .disabled > a, body.td-page .pagination > .disabled > span {
    background: rgba(17, 24, 39, .4);
    border-color: rgba(148, 163, 184, .12);
    color: #475569;
}

/* 联系页卡片 */
.td-contact-card { padding: 36px 30px; text-align: center; margin-bottom: 28px; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.td-contact-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .45); box-shadow: 0 12px 38px rgba(34, 211, 238, .13); }
.td-contact-card > i {
    width: 54px; height: 54px;
    line-height: 54px;
    border-radius: 14px;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, rgba(34, 211, 238, .9), rgba(139, 92, 246, .9));
    box-shadow: 0 8px 20px rgba(34, 211, 238, .25);
    margin: 0 auto 20px;
}
.td-contact-card h3 { font-size: 18px; color: #f8fafc; margin: 0 0 14px; }
.td-contact-card p { color: #94a3b8; font-size: 14px; margin: 0 0 6px; }
.td-contact-card a { color: #22d3ee; font-size: 15px; word-break: break-all; }
.td-contact-card a:hover { color: #67e8f9; }

/* ---------- 11. 动效 / reveal / 响应式 ---------- */
.td-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); }
.td-reveal.td-in { opacity: 1; transform: none; }
.td-reveal:nth-child(2) { transition-delay: .08s; }
.td-reveal:nth-child(3) { transition-delay: .16s; }
.no-js .td-reveal { opacity: 1; transform: none; }

@media (max-width: 991px) {
    .td-hero { padding: 100px 0 80px; }
    .td-hero__title { font-size: 34px; }
    .td-term { margin-top: 26px; }
    body.td-page .td-article-wrap { margin-top: 84px; }
    .td-sec-title { font-size: 28px; }
    .td-card__desc { min-height: 0; }
    body.td-page .td-nav .navbar-collapse {
        background: rgba(10, 14, 26, .97);
        border-top: 1px solid rgba(148, 163, 184, .12);
        margin: 0 -15px;
        padding: 0 15px 16px;
    }
}
@media (max-width: 767px) {
    .td-hero { padding: 84px 0 64px; }
    .td-hero__title { font-size: 28px; }
    .td-hero__sub { font-size: 15px; }
    .td-section { padding: 60px 0; }
    .td-sec-title { font-size: 24px; }
    .td-article__paper { padding: 26px 20px; }
    .td-article__title { font-size: 24px; }
    .td-pagehead { padding: 120px 0 40px; }
    .td-pagehead h1 { font-size: 24px; }
    .td-hero__orb { width: 260px; height: 260px; filter: blur(60px); }
    .td-footer__pow { float: none; display: block; margin-top: 6px; }
    .td-card__no { font-size: 20px; top: 20px; right: 16px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .td-hero__grid, .td-hero__orb, .td-blink, .td-cursor, .td-term__body span { animation: none; }
    .td-term__body span { opacity: 1; }
    .td-reveal { opacity: 1; transform: none; transition: none; }
}
