/* ==========================================================================
   爱搜资源网 · 真正明亮现代的 Stripe 浅色极光设计系统 (Stripe Light Aurora)
   彻底告别死黑/深暗色，呈现顶级高雅清爽的纯白微透质感
   ========================================================================== */

:root {
    color-scheme: light;
    --light-bg-canvas: #f6f8fc;
    --light-bg-surface: rgba(255, 255, 255, 0.88);
    --light-bg-card: #ffffff;
    --light-bg-card-hover: #ffffff;
    
    --light-brand-primary: #4f46e5;
    --light-brand-hover: #4338ca;
    --light-brand-gradient: linear-gradient(110deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    
    --border-light-subtle: rgba(226, 232, 240, 0.8);
    --border-light-normal: #e2e8f0;
    --border-light-hover: rgba(79, 70, 229, 0.35);
    
    --text-heading: #0f172a;
    --text-content: #334155;
    --text-muted: #64748b;
    --text-caption: #94a3b8;
    
    --ghost-accent-color: #4f46e5;
}

/* 1. 彻底告别全黑：纯净清爽的浅灰白底色 + Stripe 标志性柔和流光极光 */
html, body, .gh-site {
    background: var(--light-bg-canvas) !important;
    background-color: var(--light-bg-canvas) !important;
    color: var(--text-content) !important;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

body {
    background-image: 
        radial-gradient(circle at 10% 0%, rgba(99, 102, 241, 0.08), transparent 38rem),
        radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.06), transparent 34rem),
        radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.05), transparent 45rem) !important;
    background-attachment: fixed !important;
}

/* 2. 顶栏导航（高雅纯白磨砂毛玻璃） */
.gh-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: var(--light-bg-surface) !important;
    border-bottom: 1px solid var(--border-light-normal) !important;
    backdrop-filter: saturate(180%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(16px) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.gh-head-logo {
    color: var(--text-heading) !important;
    font-weight: 850 !important;
    letter-spacing: -0.03em !important;
}

.gh-head .nav > li > a {
    color: var(--text-content) !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.gh-head .nav > li > a:hover,
.gh-head .nav > li.nav-current > a {
    color: var(--light-brand-primary) !important;
    background: #eef2ff !important;
}

/* Stripe 极光流光主按钮（顶栏注册 + 主行动点） */
.gh-head-btn.gh-btn, .gh-btn-primary, [data-portal="signup"], html body #gh-head a[href*="portal/signup"] {
    background: var(--light-brand-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
    border-radius: 9px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    transition: all 0.18s ease !important;
}

.gh-head-btn.gh-btn:hover, [data-portal="signup"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45) !important;
    filter: brightness(1.05);
}

/* 3. 二级分类导航栏（纯白微透半透明浮岛） */
.gh-outer-tags, body .gh-outer-tags, body .gh-outer-tags .gh-inner {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid var(--border-light-normal) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

.sub-nav-tags a {
    color: var(--text-muted) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

.sub-nav-tags a:hover {
    color: var(--light-brand-primary) !important;
}

.sub-nav-tags a.active {
    color: var(--light-brand-primary) !important;
    border-bottom: 2px solid var(--light-brand-primary) !important;
    font-weight: 750 !important;
}

.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
    padding: 6px !important;
}

.dropdown-menu a {
    color: var(--text-content) !important;
    border-radius: 7px !important;
}

.dropdown-menu a:hover {
    background: #eef2ff !important;
    color: var(--light-brand-primary) !important;
    padding-left: 20px !important;
}

/* 4. 文章卡片系统（高质感纯白水晶大卡片，彻底消灭黑背景） */
.post-feed > .post, .featured, .gh-card, .widget, .kg-card, .post-upgrade-cta {
    color: var(--text-content) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
    border-radius: 16px !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.post-feed > .post:hover {
    transform: translateY(-3px) !important;
    border-color: var(--border-light-hover) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 20px rgba(99, 102, 241, 0.12) !important;
}

.post-title, .post-title a, .post-feed h2, .article-title, .gh-article-title {
    color: var(--text-heading) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.32 !important;
}

.post-title a:hover {
    color: var(--light-brand-primary) !important;
}

.post-excerpt, .post-meta, .article-excerpt, .gh-content, .gh-content p {
    color: var(--text-content) !important;
    line-height: 1.8 !important;
}

/* 5. 分类标签徽章（浅蓝底深蓝字高雅 Badge） */
.post-tag, .gh-tag, .tag-link, .post-wrapper .post-tag, .post-feed .post-tag {
    background: #eef2ff !important;
    color: #4338ca !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

/* 6. 文章详情页与 TOC 目录 */
.gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4 {
    color: var(--text-heading) !important;
    font-weight: 800 !important;
}

.gh-content blockquote {
    color: #334155 !important;
    background: #f8fafc !important;
    border-left: 3px solid var(--light-brand-primary) !important;
    border-radius: 0 10px 10px 0 !important;
    border: 1px solid var(--border-light-normal) !important;
    border-left-width: 4px !important;
    padding: 1.1rem 1.4rem !important;
}

.gh-content pre {
    background: #0f172a !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
}

.iso-article-toc-panel {
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
    border-radius: 16px !important;
}

.iso-article-toc-heading {
    border-bottom: 1px solid var(--border-light-normal) !important;
    color: var(--text-heading) !important;
}

.iso-article-toc-list a {
    color: var(--text-muted) !important;
}

.iso-article-toc-list a:hover {
    color: var(--light-brand-primary) !important;
    background: #eef2ff !important;
}

.iso-article-toc-list a.is-active {
    color: var(--light-brand-primary) !important;
    background: #eef2ff !important;
    font-weight: 700 !important;
    border-left: 2px solid var(--light-brand-primary) !important;
}

/* ==========================================================================
   7. 商城系统（/shop/）彻底明亮现代化
   ========================================================================== */

body:has(#ghost-shop), body.is-shop-page {
    background: var(--light-bg-canvas) !important;
    background-color: var(--light-bg-canvas) !important;
    color: var(--text-content) !important;
}

/* 商城顶部 Mini Banner（Stripe 浅色极光幕布） */
.shop-mini-banner, .shop-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #ec4899 100%) !important;
    box-shadow: 0 20px 48px rgba(79, 70, 229, 0.25) !important;
    border-radius: 22px !important;
    color: #ffffff !important;
    border: 0 !important;
}

.shop-mini-banner h1, .shop-hero h1 {
    color: #ffffff !important;
    font-weight: 850 !important;
}

.shop-mini-banner p, .shop-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.shop-toolbar strong {
    color: var(--text-heading) !important;
}

.shop-toolbar span {
    color: var(--text-muted) !important;
}

.shop-link {
    color: var(--light-brand-primary) !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-weight: 650 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

/* 商城商品卡片（纯白大卡片，彻底消灭黑框） */
#ghost-shop .shop-card, .shop-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
    color: var(--text-content) !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

#ghost-shop .shop-card:hover, .shop-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--border-light-hover) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
}

#ghost-shop .shop-card:before, .shop-card:before {
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899) !important;
    height: 4px !important;
    border-radius: 18px 18px 0 0 !important;
}

#ghost-shop .shop-card h2, .shop-card h2 {
    color: var(--text-heading) !important;
    font-weight: 800 !important;
}

#ghost-shop .shop-card-desc, .shop-card-desc {
    color: var(--text-muted) !important;
}

#ghost-shop .shop-badge, .shop-badge {
    background: #eef2ff !important;
    color: #4338ca !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

#ghost-shop .shop-price strong, .shop-price strong {
    color: var(--light-brand-primary) !important;
    font-weight: 850 !important;
}

/* 购买按钮（Stripe 极光渐变按钮） */
#ghost-shop .shop-buy, .shop-buy {
    background: var(--light-brand-gradient) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-weight: 750 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}

/* 结算弹窗（纯白高阶浮层） */
#shop-dialog.shop-dialog, .shop-dialog {
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18) !important;
    border-radius: 20px !important;
    color: var(--text-content) !important;
}

#shop-dialog .shop-detail-head {
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border-light-normal) !important;
}

#shop-dialog .shop-detail-head h2 {
    color: var(--text-heading) !important;
}

#shop-dialog .shop-close {
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    color: var(--text-muted) !important;
}

#shop-dialog .shop-checkout input, 
#shop-dialog .shop-checkout select, 
#shop-dialog .shop-checkout textarea {
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    color: var(--text-heading) !important;
    border-radius: 8px !important;
}

#shop-dialog .shop-checkout input:focus, 
#shop-dialog .shop-checkout textarea:focus {
    border-color: var(--light-brand-primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

#shop-dialog .shop-method {
    background: #ffffff !important;
    border: 1px solid var(--border-light-normal) !important;
    color: var(--text-content) !important;
    border-radius: 10px !important;
}

#shop-dialog .shop-method:has(input:checked) {
    background: #eef2ff !important;
    border-color: var(--light-brand-primary) !important;
    box-shadow: 0 0 0 1px var(--light-brand-primary) !important;
}

#shop-dialog .shop-method strong {
    color: var(--light-brand-primary) !important;
}

#shop-dialog .shop-submit {
    background: var(--light-brand-gradient) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35) !important;
    border-radius: 10px !important;
    font-weight: 750 !important;
}

/* ===== 二级分类导航栏标准横向排列与高雅下拉菜单 ===== */
.gh-outer-tags {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    backdrop-filter: saturate(180%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(16px) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;
    position: relative !important;
    z-index: 50 !important;
}

body .gh-outer-tags, body .gh-outer-tags .gh-inner {
    background: transparent !important;
    color: #475569 !important;
}

.sub-nav-tags {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: var(--container-width, 1200px) !important;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    list-style: none !important;
}

.sub-nav-tags > li {
    position: relative !important;
    padding: 12px 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.sub-nav-tags > li::marker {
    display: none !important;
    content: "" !important;
}

.sub-nav-tags a {
    color: #475569 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: color 0.15s ease !important;
}

.sub-nav-tags a:hover {
    color: #4f46e5 !important;
}

.sub-nav-tags a.active {
    color: #4f46e5 !important;
    border-bottom: 2px solid #4f46e5 !important;
    font-weight: 750 !important;
}

.has-dropdown > a::after {
    content: "▾" !important;
    font-size: 1.1rem !important;
    opacity: 0.7 !important;
    transition: transform 0.2s ease !important;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg) !important;
    opacity: 1 !important;
}

/* 下拉菜单绝对定位与悬浮展开 */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    min-width: 170px !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 60 !important;
    list-style: none !important;
}

.has-dropdown:hover .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-menu a {
    padding: 8px 16px !important;
    font-size: 1.35rem !important;
    color: #334155 !important;
    font-weight: 550 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.dropdown-menu a:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    padding-left: 20px !important;
}

@media (max-width: 767px) {
    .sub-nav-tags {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 10px 16px !important;
        gap: 16px !important;
    }
    .sub-nav-tags::-webkit-scrollbar { display: none !important; }
    .dropdown-menu { display: none !important; }
}

/* ==========================================================================
   爱搜资源网 · 全局字阶与高对比度排版重构 (WCAG AAA 标准)
   彻底根治白底遮蔽文字问题，实现文字极度清晰锐利、主次分明
   ========================================================================== */

/* 1. 顶栏导航与 Logo（极致锐利深黑） */
html body .gh-head-logo {
    color: #090d16 !important;
    font-size: 2.3rem !important;
    font-weight: 850 !important;
    letter-spacing: -0.035em !important;
}

html body .gh-head .nav > li > a {
    color: #1e293b !important;
    font-size: 14.5px !important;
    font-weight: 650 !important;
}

html body .gh-head .nav > li > a:hover,
html body .gh-head .nav > li.nav-current > a {
    color: #4338ca !important;
    background: #eef2ff !important;
}

html body .gh-head-members a.gh-head-link {
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* 2. 二级分类导航栏（深铅灰高对比度排版） */
html body .sub-nav-tags a {
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

html body .sub-nav-tags a:hover {
    color: #4338ca !important;
}

html body .sub-nav-tags a.active {
    color: #4338ca !important;
    border-bottom: 2.5px solid #4338ca !important;
    font-weight: 850 !important;
}

/* 3. 文章卡片系统（彻底解决被白色背景遮蔽问题） */
html body .post-title,
html body .post-title a,
html body .post-feed h2,
html body .post-feed .post-title a {
    color: #090d16 !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 10px !important;
}

html body .post-title a:hover {
    color: #4338ca !important;
}

/* 摘要文字：由原本偏淡的浅蓝灰，全面加深为极其清晰易读的深铅灰 */
html body .post-excerpt,
html body .post-meta,
html body .article-excerpt {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.68 !important;
    font-weight: 450 !important;
}

/* 重点修复：「阅读更多」原来是纯白导致在白卡片上完全隐形遮蔽！ */
html body .post-more,
html body .post-feed .post-more {
    color: #4338ca !important;
    font-size: 13.5px !important;
    font-weight: 750 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

html body .post-more:after {
    content: "→" !important;
    font-size: 15px !important;
    transition: transform 0.15s ease !important;
}

html body .post:hover .post-more:after {
    transform: translateX(3px) !important;
}

/* 重点修复：分类徽章 Badge 原本是浅蓝淡字，升级为高对比度深蓝实体徽章 */
html body .post-tag,
html body .gh-tag,
html body .tag-link,
html body .post-wrapper .post-tag,
html body .post-feed .post-tag {
    background: #e0e7ff !important;
    color: #312e81 !important;
    border: 1px solid #c7d2fe !important;
    font-weight: 750 !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
    padding: 3px 9px !important;
    letter-spacing: 0.02em !important;
}

/* 4. 商城系统排版与文字重构 */
html body .shop-toolbar strong {
    color: #090d16 !important;
    font-size: 2.6rem !important;
    font-weight: 850 !important;
}

html body .shop-toolbar span {
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

html body #ghost-shop .shop-card h2,
html body .shop-card h2 {
    color: #090d16 !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

html body #ghost-shop .shop-card-desc,
html body .shop-card-desc {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

html body #ghost-shop .shop-badge,
html body .shop-badge {
    background: #e0e7ff !important;
    color: #312e81 !important;
    border: 1px solid #c7d2fe !important;
    font-weight: 750 !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
}

html body #ghost-shop .shop-price strong,
html body .shop-price strong {
    color: #4338ca !important;
    font-size: 2.2rem !important;
    font-weight: 850 !important;
}

html body #ghost-shop .shop-price small,
html body .shop-price small {
    color: #64748b !important;
    font-weight: 600 !important;
}

/* 5. 文章详情页排版强化 */
html body .gh-article-title,
html body .article-title {
    color: #090d16 !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
}

html body .gh-content,
html body .gh-content p,
html body .gh-content li {
    color: #1e293b !important;
    font-size: 1.15rem !important;
    line-height: 1.85 !important;
}

html body .gh-content h1,
html body .gh-content h2,
html body .gh-content h3 {
    color: #090d16 !important;
    font-weight: 800 !important;
}

html body .gh-article-meta {
    color: #475569 !important;
    font-weight: 600 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   爱搜资源网 · 文章详情页阅读体验终极重构 (彻底根治 11.5px 蚂蚁字与代码隐形)
   将阅读字阶拉升至 16px~17px 黄金比例，行内代码高对比显形
   ========================================================================== */

/* 1. 文章大标题与元信息 */
html body .gh-article-title,
html body .article-title {
    color: #090d16 !important;
    font-size: clamp(2.4rem, 4.5vw, 3.4rem) !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 24px !important;
}

html body .gh-article-meta {
    font-size: 14px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    margin-bottom: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

html body .gh-article-meta a {
    color: #4338ca !important;
    font-weight: 750 !important;
}

/* 2. 正文段落文字字号全面提升（彻底告别 11.5px 蚂蚁字） */
html body .gh-content,
html body .gh-content p {
    color: #1e293b !important;
    font-size: 1.7rem !important; /* 在 62.5% 基准下对应 17px 黄金字号！ */
    line-height: 1.85 !important;
    letter-spacing: 0.005em !important;
    margin-bottom: 2rem !important;
}

html body .gh-content li {
    color: #1e293b !important;
    font-size: 1.65rem !important; /* 16.5px */
    line-height: 1.8 !important;
    margin-bottom: 0.6rem !important;
}

/* 3. 正文标题层级大字体 */
html body .gh-content h1 {
    color: #090d16 !important;
    font-size: 2.8rem !important; /* 28px */
    font-weight: 850 !important;
    margin: 3.5rem 0 1.5rem !important;
    line-height: 1.25 !important;
}

html body .gh-content h2 {
    color: #090d16 !important;
    font-size: 2.3rem !important; /* 23px */
    font-weight: 800 !important;
    margin: 3.2rem 0 1.2rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
}

html body .gh-content h3 {
    color: #090d16 !important;
    font-size: 1.9rem !important; /* 19px */
    font-weight: 750 !important;
    margin: 2.5rem 0 1rem !important;
    line-height: 1.35 !important;
}

/* 4. 重点修复：行内代码块原来 10px 浅紫完全被白底遮蔽，现在升级为超清高亮实体标签！ */
html body .gh-content :not(pre) > code {
    color: #312e81 !important; /* 深邃靛蓝 */
    background: #e0e7ff !important; /* 浅蓝实体底色 */
    border: 1px solid #c7d2fe !important;
    font-size: 14px !important; /* 原来是 10.35px，拉升到 14px */
    font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace !important;
    font-weight: 650 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* 5. 导读块 blockquote 全面拉大字号与增强对比度 */
html body .gh-content blockquote {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #4338ca !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    margin: 2.5rem 0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

html body .gh-content blockquote p {
    font-size: 1.55rem !important; /* 15.5px */
    line-height: 1.75 !important;
    color: #334155 !important;
    margin-bottom: 0.8rem !important;
}

html body .gh-content blockquote p:last-child {
    margin-bottom: 0 !important;
}

html body .gh-content blockquote strong,
html body .gh-content blockquote b {
    color: #090d16 !important;
    font-weight: 750 !important;
}

html body .gh-content blockquote a {
    color: #4338ca !important;
    font-weight: 650 !important;
    text-decoration: underline !important;
}

/* 6. 文章侧边栏 TOC 目录大纲字体优化 */
html body .iso-article-toc-heading span {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #090d16 !important;
}

html body .iso-article-toc-list a {
    font-size: 13.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    padding: 6px 10px !important;
}

html body .iso-article-toc-list a:hover {
    color: #4338ca !important;
    background: #eef2ff !important;
}

html body .iso-article-toc-list a.is-active {
    color: #4338ca !important;
    background: #eef2ff !important;
    font-weight: 750 !important;
}
/* ==========================================================================
   爱搜资源网 · 全站字体、字阶与对比度深度整改规范 (全量修复审计问题)
   彻底消灭所有 <12px 偏小字号与低对比度模糊隐形元素
   ========================================================================== */

/* 1. 修复：全部分类标签 (.post-tag) 与商城徽章 (.shop-badge) 字号从 11.5px 提升至 13px */
html body .post-tag,
html body .gh-tag,
html body .tag-link,
html body .post-wrapper .post-tag,
html body .post-feed .post-tag,
html body .shop-badge,
html body #ghost-shop .shop-badge {
    font-size: 13px !important;
    padding: 4px 10px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    background: #e0e7ff !important;
    color: #312e81 !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* 2. 修复：商城工具栏按钮（我的订单 / 会员账户 / 刷新状态）从 11.6px 提升至 14px，颜色加深加粗 */
html body .shop-toolbar .shop-link,
html body #ghost-shop .shop-toolbar .shop-link,
html body button.shop-link {
    font-size: 14px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 16px !important;
    border-radius: 9px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.16s ease !important;
}

html body .shop-toolbar .shop-link:hover,
html body button.shop-link:hover {
    color: #4338ca !important;
    background: #f8fafc !important;
    border-color: #818cf8 !important;
    transform: translateY(-1px) !important;
}

/* 3. 修复：商城 Mini Banner 副标题从 10.5px 提升至 13px，字距拉伸更加大气 */
html body .shop-mini-banner span,
html body .shop-hero .shop-eyebrow {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.22em !important;
    color: #e0e7ff !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

/* 4. 修复：代码块右上角复制按钮从 11.5px 提升至 13px，语言徽章从 10px 提升至 12px 且取消 0.4 半透明 */
html body .iso-code-copy-btn {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
}

html body .iso-code-copy-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

html body .iso-code-lang-badge {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    opacity: 0.9 !important; /* 彻底告别 0.4 几乎看不清的半透明 */
    letter-spacing: 0.08em !important;
}

/* 5. 修复：文章底部上下篇导航标签（PREVIOUS / NEXT）从 11px 浅灰提升至 13px 加深加粗 */
html body .navigation-label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #475569 !important; /* 告别 #aaa 浅灰 */
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

html body .navigation-title {
    color: #090d16 !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
}

html body .navigation-item:hover .navigation-title {
    color: #4338ca !important;
}

/* 6. 文章页正文所有超链接：强化对比度 */
html body .gh-content a {
    color: #4338ca !important;
    font-weight: 650 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

html body .gh-content a:hover {
    color: #312e81 !important;
}

/* 7. 底栏版权与链接高对比度强化 */
html body .gh-foot {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 14px !important;
}

html body .gh-foot a {
    color: #334155 !important;
    font-weight: 650 !important;
}

html body .gh-foot a:hover {
    color: #4338ca !important;
}
