/*
Theme Name: ToThinkAI Studio Pro
Theme URI: https://tothinkai.com
Author: ToThinkAI
Description: 苹果极简浅灰风（Light Studio）高质感、零内联样式的现代化 WordPress 主题
Version: 10.0.0
*/

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --accent-color: #0f172a;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 核心布局 */
.studio-layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.studio-main-content {
    flex: 1;
    min-width: 0;
}

/* 面包屑导航 */
.studio-breadcrumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.studio-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.studio-breadcrumb .delimiter {
    margin: 0 6px;
    color: var(--text-light);
}
.studio-breadcrumb .current {
    color: var(--text-main);
    font-weight: 600;
}

/* Hero 顶部通栏区 */
.studio-hero-dark {
    background: var(--hero-gradient);
    padding: 50px 0 40px;
    color: #ffffff;
    margin-bottom: 30px;
}
.studio-hero-light {
    background: var(--card-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}
.studio-hero-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    color: inherit;
}
.studio-hero-desc {
    font-size: 14px;
    color: var(--text-light);
    max-width: 650px;
    line-height: 1.6;
    margin: 0;
}

/* 胶囊导航标签栏 */
.studio-pills-bar {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    align-items: center;
}
.studio-pill {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transition: all 0.2s ease;
}
.studio-pill:hover, .studio-pill.active {
    background: #6366f1;
    color: #ffffff;
}

/* 基础卡片样式 */
.studio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}
.studio-card-gradient {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

/* 搜索框组件 */
.studio-search-box {
    width: 100%;
    max-width: 320px;
    position: relative;
}
.studio-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    outline: none;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}
.studio-search-input-light {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.studio-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* 按钮样式 */
.studio-btn-dark {
    background: var(--text-main);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border: none;
    cursor: pointer;
}
.studio-btn-light {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.studio-btn-light:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
}

/* 博客文章列表流 (Row List) */
.studio-article-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}
.studio-article-row:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.studio-article-row-content {
    flex-grow: 1;
    min-width: 0;
}
.studio-article-row-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.studio-article-row-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 6px 0;
}
.studio-article-row-title a {
    color: inherit;
    text-decoration: none;
}
.studio-article-row-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.studio-article-row-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

/* 正文与元数据栏 */
.studio-meta-bar {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.studio-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .studio-layout-container {
        flex-direction: column;
    }
    .studio-portal-grid {
        grid-template-columns: 1fr !important;
    }
    .studio-article-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .studio-article-row-right {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px dashed var(--border-color);
        padding-top: 10px;
    }
}

/* ==========================================================================
   ToThinkAI Studio - 全局侧边栏专用样式 (quanju.css)
   ========================================================================== */

/* 1. 侧边栏外层框架 */
.studio-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 2. 推荐编辑名片卡片 */
.studio-sidebar-author-card {
    padding: 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.studio-author-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 12px;
}

.studio-author-info-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.studio-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.studio-author-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 2px 0;
}

.studio-author-title {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.studio-author-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    word-break: break-all;
}

/* 3. 侧边栏通用区块与标题样式 */
.studio-sidebar-widget {
    padding: 20px;
    margin-bottom: 24px;
}

.studio-sidebar-title-tools {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--text-main);
}

.studio-sidebar-title-sop {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--text-muted);
}

.studio-sidebar-title-tags {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

/* 4. 榜单列表公用样式 */
.studio-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.studio-ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.studio-ranking-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-grow: 1;
}

.studio-ranking-num-top {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-num-normal {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-num-sop-top {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-num-sop-normal {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-link {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-ranking-link-grow {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* 5. 侧边栏胶囊与标签云 */
.studio-sidebar-pill {
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    color: var(--text-main);
    padding: 1px 6px;
    font-size: 10px;
    border-radius: 8px;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.studio-tags-cloud-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.studio-tag-cloud-item {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
}/*
Theme Name: ToThinkAI Light Studio Pro
Theme URI: https://tothinkai.com
Author: ToThinkAI
Description: 苹果极简浅灰风（Light Studio）高质感、零内联样式的现代化 WordPress 主题
Version: 11.0.0
*/

:root {
    /* 苹果 Light Studio 极简浅灰高级色彩系统 */
    --bg-main: #f8fafc;            /* 全局底色：极浅苹果科技灰 */
    --bg-card: #ffffff;            /* 卡片底色：纯净亮白 */
    --border-color: #e2e8f0;       /* 边框标准线：细腻浅灰 */
    --border-hover: #cbd5e1;       /* 边框悬停：深一格质感灰 */
    --text-main: #0f172a;          /* 主标题/重要文字：苹果深度碳黑 */
    --text-muted: #64748b;         /* 副标题/正文次要：优雅高档中灰 */
    --text-light: #94a3b8;         /* 极淡提示/时间：浅灰 */
    
    /* 品牌及交互色：苹果科技黑灰与克制微蓝 */
    --accent-color: #0f172a;       
    --accent-blue: #0284c7;        /* 极简风点缀蓝（冷色调） */
    
    /* 阴影：苹果柔和漫反射效果，告别厚重阴影 */
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    --card-shadow-hover: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
    
    /* 渐变：纯净无瑕的极浅灰白渐变 */
    --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 核心布局 */
.studio-layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.studio-main-content {
    flex: 1;
    min-width: 0;
}

/* 面包屑导航 */
.studio-breadcrumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.studio-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.studio-breadcrumb .delimiter {
    margin: 0 6px;
    color: var(--text-light);
}
.studio-breadcrumb .current {
    color: var(--text-main);
    font-weight: 600;
}

/* Hero 顶部通栏区（苹果浅灰风：纯白到浅灰渐变 + 极细边框） */
.studio-hero-dark,
.studio-home-hero {
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0 50px;
    color: var(--text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.studio-hero-light {
    background: var(--card-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}


/* 胶囊导航标签栏 */
.studio-pills-bar,
.studio-home-pills-bar {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.studio-pill,
.studio-home-tool-pill,
.studio-home-post-pill {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.studio-pill:hover, 
.studio-pill.active,
.studio-home-tool-pill:hover,
.studio-home-post-pill:hover {
    background: var(--text-main);
    color: #ffffff;
    border-color: var(--text-main);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

/* 基础卡片样式 */
.studio-card,
.studio-card-gradient,
.studio-brand-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.studio-card:hover,
.studio-card-gradient:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

/* 搜索框组件 */
.studio-search-box,
.studio-home-search-wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.studio-search-input,
.studio-home-search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.studio-search-input:focus,
.studio-home-search-input:focus {
    border-color: var(--text-main);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.studio-search-icon,
.studio-home-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

/* 按钮样式（苹果黑白极简风） */
.studio-btn-dark,
.studio-submit-btn {
    background: var(--text-main);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.studio-btn-dark:hover,
.studio-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.studio-btn-light {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.studio-btn-light:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    background: #f8fafc;
}

/* 博客文章列表流 (Row List) */
.studio-article-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}
.studio-article-row:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.studio-article-row-content {
    flex-grow: 1;
    min-width: 0;
}
.studio-article-row-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.studio-article-row-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 6px 0;
}
.studio-article-row-title a {
    color: inherit;
    text-decoration: none;
}
.studio-article-row-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.studio-article-row-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

/* 正文与元数据栏 */
.studio-meta-bar {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.studio-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .studio-layout-container,
    .studio-brand-grid,
    .studio-portal-cards-grid {
        flex-direction: column;
        grid-template-columns: 1fr !important;
    }
    .studio-article-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .studio-article-row-right {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px dashed var(--border-color);
        padding-top: 10px;
    }
}
/* ==========================================================================
   ToThinkAI Light Studio - 导航菜单内部结构样式
   ========================================================================== */

/* 桌面端导航列表容器 */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px; /* 菜单项之间的间距 */
}

/* 导航菜单单项 (Li) */
.main-nav li {
    position: relative;
}

/* 导航菜单链接 (A) */
.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    padding: 6px 4px;
    transition: color 0.2s ease;
    display: block;
}

/* 导航链接悬停效果 */
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--text-main, #0f172a);
}

/* 二级下拉菜单基础样式（如果您的菜单有子分类） */
.main-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 160px;
    flex-direction: column;
    display: none; /* 默认隐藏，悬停显示 */
    z-index: 100;
}

.main-nav li:hover > ul {
    display: flex;
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    padding: 8px 16px;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
}

.main-nav ul ul a:hover {
    background: #f8fafc;
    color: var(--text-main, #0f172a);
}

/* 移动端抽屉菜单内部样式适配 */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px dashed var(--border-color, #e2e8f0);
        padding-bottom: 8px;
    }

    .main-nav a {
        font-size: 15px;
        color: var(--text-main, #0f172a);
        padding: 6px 0;
    }

    .main-nav ul ul {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 15px;
    }
}/* ==========================================================================
   ToThinkAI Light Studio - 顶部导航栏 (header.php) 专用样式
   ========================================================================== */

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* 1. Logo 区 */
.site-logo {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-accent2 {
    color: #FF7D00;
}

/* 2. 手机端汉堡包图标按钮 */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px 8px;
}

/* 3. 主导航菜单 */
.main-nav {
    display: flex;
    align-items: center;
}

/* 4. 右侧提交按钮 */
.header-action {
    display: flex;
    align-items: center;
}

.btn-submit-tool {
    background: var(--text-main);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.btn-submit-tool:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 移动端响应式断点适配 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-sizing: border-box;
        display: none; /* 默认隐藏，通过 JS 切换 .is-active 显示 */
    }

    .main-nav.is-active {
        display: flex;
    }

    .header-action {
        display: none; /* 移动端隐藏顶部大提交按钮，可放入抽屉菜单内 */
    }
}/* ==========================================================================
   ToThinkAI Light Studio - AI 工具归档页专用样式 (archive-ai_tool.php)
   ========================================================================== */

/* 1. 归档页 Hero 头部 */
.studio-archive-hero {
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}

.studio-archive-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.studio-archive-badge {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.studio-archive-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.studio-archive-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* 2. 精选热门推荐区块 (Top Featured) */
.studio-featured-section {
    margin-bottom: 40px;
}

.studio-featured-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-featured-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 2px 8px;
    border-radius: 10px;
}

.studio-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.studio-featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.studio-featured-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.studio-featured-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-featured-content {
    flex-grow: 1;
    min-width: 0;
}

.studio-featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.studio-featured-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.studio-featured-badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--text-main);
    padding: 3px 10px;
    border-radius: 12px;
}

.studio-featured-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px 0;
}

.studio-featured-footer {
    font-size: 12px;
    color: var(--text-main);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3. 全量工具列表区 */
.studio-archive-list-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-archive-list-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}/* ==========================================================================
   ToThinkAI Light Studio - 分类归档页专用样式 (taxonomy-tool_cat.php)
   ========================================================================== */

/* 1. 分类 Hero 头部 */
.studio-cat-hero {
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}

.studio-cat-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.studio-cat-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.studio-cat-tag {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
    padding: 4px 12px;
    border-radius: 20px;
}

.studio-cat-count {
    font-size: 12px;
    color: var(--text-muted);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 12px;
}

.studio-cat-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.studio-cat-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
    margin: 0;
}

/* 2. 分类下最受关注精选工具 */
.studio-cat-featured-section {
    margin-bottom: 36px;
}

.studio-cat-featured-header {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-cat-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}

.studio-cat-featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.studio-cat-featured-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.studio-cat-featured-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-cat-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-cat-featured-content {
    flex-grow: 1;
    min-width: 0;
}

.studio-cat-featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.studio-cat-featured-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.studio-cat-featured-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 2px 8px;
    border-radius: 10px;
}

.studio-cat-featured-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px 0;
}

.studio-cat-featured-footer {
    font-size: 12px;
    color: var(--text-main);
    font-weight: 700;
}

/* 3. 分类全量列表头部 */
.studio-cat-list-header {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-cat-list-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}/* ==========================================================================
   ToThinkAI Light Studio - 标签归档页专用样式 (tag.php)
   ========================================================================== */

/* 1. 标签页 Hero 头部 Banner */
.studio-tag-hero {
    background: var(--hero-gradient);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 20px;
    color: var(--text-main);
    margin-bottom: 36px;
    box-shadow: var(--card-shadow);
}

.studio-tag-badge {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.studio-tag-title {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.studio-tag-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* 2. 模块区块头部通用样式 */
.studio-tag-section-header-ai {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--text-main);
    padding-left: 12px;
}

.studio-tag-section-header-sop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--text-muted);
    padding-left: 12px;
}

.studio-tag-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.studio-tag-section-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* 3. 空状态提示框 */
.studio-tag-empty-box {
    grid-column: 1 / -1;
    padding: 24px;
    background: var(--bg-card);
    border: 1px dashed var(--border-hover);
    border-radius: 12px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}
/* ==========================================================================
   ToThinkAI Light Studio - 普通文章单页专用样式 (single.php)
   ========================================================================== */

/* 1. 单页主体包裹卡片 */
.studio-single-article-box {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.03));
}

/* 2. 文章头部信息区 */
.studio-single-header {
    margin-bottom: 20px;
}

.studio-single-cat-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    background: #f1f5f9;
    border: 1px solid var(--border-hover, #cbd5e1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}

.studio-single-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.3;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.studio-single-meta {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
    padding-bottom: 16px;
}

/* 3. 文章正文排版 */
.studio-single-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

/* 4. 文章标签区 */
.studio-single-tags-box {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-hover, #cbd5e1);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.studio-single-tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
}

.studio-single-tag-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #475569);
    background: #ffffff;
    border: 1px solid var(--border-hover, #cbd5e1);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.studio-single-tag-pill:hover {
    border-color: var(--text-main, #0f172a);
    color: var(--text-main, #0f172a);
}

/* 5. 标签关联推荐区 */
.studio-related-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.studio-related-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0 0 16px 0;
}

.studio-related-grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.studio-related-item-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    text-decoration: none;
}

.studio-related-item-card:hover {
    border-color: var(--border-hover, #cbd5e1);
    box-shadow: var(--card-shadow, 0 4px 12px rgba(0,0,0,0.03));
}

.studio-related-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.studio-related-item-meta {
    font-size: 11px;
    color: var(--text-light, #94a3b8);
    border-top: 1px dashed #f1f5f9;
    padding-top: 8px;
    margin-top: 8px;
}/* ==========================================================================
   ToThinkAI Light Studio - 博客文章分类归档页专用样式 (category.php)
   ========================================================================== */

/* 1. 分类归档页 Hero 头部 */
.studio-cat-archive-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 40px 0 24px 0;
    margin-bottom: 30px;
}

.studio-cat-breadcrumb {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin-bottom: 16px;
}

.studio-cat-breadcrumb a {
    color: var(--text-muted, #64748b);
    text-decoration: none;
}

.studio-cat-breadcrumb span.separator {
    margin: 0 6px;
    color: var(--border-hover, #cbd5e1);
}

.studio-cat-breadcrumb span.current {
    color: var(--text-main, #0f172a);
    font-weight: 600;
}

.studio-cat-badge-wrap {
    margin-bottom: 12px;
}

.studio-cat-archive-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
}

.studio-cat-hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}

.studio-cat-hero-left {
    flex: 1;
    min-width: 280px;
}

.studio-cat-hero-title {
    font-size: 32px;
    font-weight: 950;
    color: var(--text-main, #0f172a);
    margin: 0 0 10px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.studio-cat-hero-desc {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    margin: 0;
    line-height: 1.6;
    max-width: 680px;
}

/* 栏目专属搜索框 */
.studio-cat-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
    flex-shrink: 0;
}

.studio-cat-search-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-hover, #cbd5e1);
    border-radius: 24px;
    padding: 9px 16px 9px 38px;
    font-size: 13px;
    color: var(--text-main, #0f172a);
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.studio-cat-search-input:focus {
    border-color: var(--text-main, #0f172a);
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

.studio-cat-search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light, #94a3b8);
    font-size: 14px;
    pointer-events: none;
}

/* 胶囊导航栏 */
.studio-cat-pills-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color, #e2e8f0);
}

.studio-pill-item {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.studio-pill-item.active {
    background: var(--text-main, #0f172a);
    color: #ffffff;
    border: 1px solid var(--text-main, #0f172a);
    font-weight: 700;
}

.studio-pill-item.default {
    background: #ffffff;
    color: #475569;
    border: 1px solid var(--border-color, #e2e8f0);
    font-weight: 600;
}

.studio-pill-item.default:hover {
    border-color: var(--border-hover, #cbd5e1);
    color: var(--text-main, #0f172a);
}

/* 2. 主体文章列表区域 */
.studio-cat-list-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.03));
}

.studio-cat-list-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-main, #0f172a);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-cat-list-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0;
}

.studio-cat-list-count {
    font-size: 12px;
    color: var(--text-muted, #64748b);
}

/* 横向图文卡片 */
.studio-article-row-card {
    background: var(--bg-card-alt, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.2s ease;
}

.studio-article-row-card:hover {
    border-color: var(--border-hover, #cbd5e1);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}

.studio-article-thumb-link {
    flex-shrink: 0;
    display: block;
    width: 180px;
    height: 115px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e2e8f0);
    background: #ffffff;
}

.studio-article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.studio-article-thumb-link:hover .studio-article-thumb-img {
    transform: scale(1.05);
}

.studio-article-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 115px;
}

.studio-article-sub-meta {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-article-sub-cat {
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--text-main, #0f172a);
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
}

.studio-article-author {
    font-size: 12px;
    color: var(--text-light, #94a3b8);
    font-weight: 500;
}

.studio-article-row-heading {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.4;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-article-row-heading a {
    text-decoration: none;
    color: inherit;
}

.studio-article-row-excerpt {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.studio-article-row-footer {
    font-size: 12px;
    color: var(--text-light, #94a3b8);
    border-top: 1px dashed var(--border-color, #e2e8f0);
    padding-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-article-read-more {
    color: var(--text-main, #0f172a);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}/* ==========================================================================
   ToThinkAI Light Studio - AI 工具全景归档页专用样式 (archive-ai_tool.php)
   ========================================================================== */

/* 1. 归档页 Hero 区域 */
.studio-archive-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.studio-archive-badge-pill {
    background: rgba(99, 102, 241, 0.3);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.4);
    margin-bottom: 10px;
    display: inline-block;
}

/* 2. 重磅精选工具推荐区 */
.studio-archive-featured-section {
    margin-bottom: 40px;
}

.studio-archive-section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-archive-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.studio-archive-featured-card {
    border: 2px solid #e0e7ff;
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.studio-archive-featured-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-archive-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-archive-featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.studio-archive-featured-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0;
}

.studio-archive-featured-badge {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 3px 10px;
    font-size: 11px;
}

.studio-archive-featured-excerpt {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px 0;
}

.studio-archive-featured-more {
    font-size: 12px;
    color: #6366f1;
    font-weight: 700;
}

/* 3. 全量工具列表头部卡片 */
.studio-archive-list-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.03));
}

.studio-archive-list-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-archive-list-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted, #64748b);
}/* ==========================================================================
   ToThinkAI Light Studio - 首页剩余内联样式清理补丁
   ========================================================================== */

/* 双入口卡片内部胶囊与图标 */
.studio-portal-pill-tool {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    background: #e0e7ff;
    padding: 3px 10px;
    border-radius: 12px;
    border: none;
    display: inline-block;
}

.studio-portal-pill-sop {
    font-size: 12px;
    font-weight: 700;
    color: #0891b2;
    background: #cff4fc;
    padding: 3px 10px;
    border-radius: 12px;
    border: none;
    display: inline-block;
}

.studio-portal-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 8px 0 6px 0;
}

.studio-portal-card-desc {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.studio-portal-icon {
    font-size: 32px;
}

/* 品牌背书面板去除底部边距 */
.studio-brand-grid-reset {
    margin-bottom: 0 !important;
}
/* ======================================
   Light Studio 苹果极简浅灰风 - 全站共用变量
====================================== */
:root {
  --color-base: #fafafa;
  --color-surface: #ffffff;
  --color-text-main: #1d1d1f;
  --color-text-sub: #6e6e73;
  --color-text-light: #86868b;
  --color-border: #e8e8ed;
  --color-accent: #6366f1;
  --color-accent-light: #eef2ff;
  --color-cyan: #0891b2;
  --color-cyan-light: #cff4fc;
  --shadow-soft: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}
body {
  background-color: var(--color-base);
  color: var(--color-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero 头部区域 ===== */
.studio-home-hero {
  background: var(--color-surface);
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.studio-home-hero-container {
  position: relative;
}
.studio-home-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  background: var(--text-main, #0f172a);
  color: #fff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.studio-home-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #ff7d00;
}
.studio-home-desc {
  font-size: 16px;
  color: var(--color-text-sub);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.studio-home-search-wrap {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.studio-home-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 18px;
}
.studio-home-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 15px;
  outline: none;
  box-shadow: var(--shadow-soft);
  color: var(--color-text-main);
  transition: box-shadow 0.2s ease;
}
.studio-home-search-input:focus {
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.studio-home-pills-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}
.studio-home-pills-label {
  font-size: 12px;
  color: var(--color-text-light);
  margin-right: 4px;
}
.studio-home-tool-pill,
.studio-home-post-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.studio-home-tool-pill {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.studio-home-post-pill {
  background: var(--color-cyan-light);
  color: var(--color-cyan);
}
.studio-home-tool-pill:hover,
.studio-home-post-pill:hover {
  opacity: 0.8;
}

/* ===== 主容器 ===== */
.studio-main-wrapper {
  padding-top: 50px;
  padding-bottom: 70px;
}

/* ===== 双入口卡片 ===== */
.studio-portal-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
  margin-top: 60px;
}
.studio-portal-card-tool,
.studio-portal-card-sop {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-soft);
}
.studio-portal-card-tool:hover,
.studio-portal-card-sop:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.studio-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.studio-portal-card-tool .studio-pill {
  color: var(--color-accent);
  background: var(--color-accent-light);
}
.studio-portal-card-sop .studio-pill {
  color: var(--color-cyan);
  background: var(--color-cyan-light);
}
.studio-portal-card-tool h3,
.studio-portal-card-sop h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 8px 0 6px;
}
.studio-portal-card-tool p,
.studio-portal-card-sop p {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
}
.studio-portal-card-tool > span,
.studio-portal-card-sop > span {
  font-size: 32px;
}

/* ===== 板块通用 ===== */
.studio-section-wrap {
  margin-bottom: 60px;
}
.studio-section-header-tool,
.studio-section-header-sop {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid;
}
.studio-section-header-tool {
  border-left-color: var(--color-accent);
}
.studio-section-header-sop {
  border-left-color: var(--color-cyan);
}
.studio-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0 0 4px;
}
.studio-section-sub {
  font-size: 13px;
  color: var(--color-text-sub);
  margin:0;
}
.studio-section-more-tool,
.studio-section-more-sop {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.studio-section-more-tool {
  color: var(--color-accent);
}
.studio-section-more-sop {
  color: var(--color-cyan);
}

/* ===== AI工具卡片网格 ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
}
.tool-card-link {
  position: absolute;
  inset: 0;
  z-index:1;
}
.tool-logo-box img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.tool-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
}
.tool-name {
  font-weight: 700;
  font-size:16px;
  color: var(--color-text-main);
}
.tool-tag {
  font-size:11px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding:2px 8px;
  border-radius: var(--radius-pill);
}
.tool-desc {
  font-size:13px;
  color: var(--color-text-sub);
  margin:0 0 12px;
  line-height:1.5;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.tool-footer {
  display: flex;
  justify-content: space-between;
  font-size:12px;
  color: var(--color-text-light);
  position:relative;
  z-index:2;
}
.tool-footer span:last-child {
  color: var(--color-accent);
  font-weight:600;
}

/* ===== 文章卡片网格 ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card-item {
  background: var(--color-surface);
  border:1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.article-card-item:hover {
  transform: translateY(-3px);
}
.article-card-item .cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.article-card-item .cat-badge {
  font-size:11px;
  font-weight:700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding:3px 10px;
  border-radius: var(--radius-pill);
}
.article-card-item .date-text {
  font-size:12px;
  color: var(--color-text-light);
}
.article-card-item h3 {
  font-size: 18px;
  font-weight:700;
  margin:0 0 10px;
  line-height:1.4;
}
.article-card-item h3 a {
  color: var(--color-text-main);
  text-decoration: none;
}
.article-card-item h3 a:hover {
  color: var(--color-accent);
}
.article-card-item .excerpt-text {
  font-size:13px;
  color: var(--color-text-sub);
  line-height:1.6;
  margin:0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.article-card-item .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size:12px;
  color: var(--color-text-light);
  border-top:1px dashed var(--color-border);
  padding-top:12px;
  margin-top:auto;
}
.article-card-item .card-footer a {
  color: #1d1d1f;
  font-weight:600;
  text-decoration:none;
}

/* ===== 品牌合作面板 ===== */
.studio-brand-panel {
  background: var(--color-surface);
  border:1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.studio-brand-grid {
  margin-bottom:0;
}
.studio-brand-pill {
  font-size:12px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding:4px 12px;
  border-radius: var(--radius-pill);
  font-weight:700;
}
.studio-brand-heading {
  font-size:26px;
  font-weight:800;
  color: var(--color-text-main);
  margin:12px 0 16px;
  line-height:1.3;
}
.studio-brand-text {
  font-size:14px;
  color: var(--color-text-sub);
  line-height:1.8;
  margin:0 0 16px;
}
.studio-brand-info {
  font-size:14px;
  color: var(--color-text-main);
  line-height:2;
}
.studio-submit-box {
  background: var(--color-base);
  border:1px solid var(--color-border);
  padding:28px;
  border-radius: var(--radius-md);
}
.studio-submit-title {
  font-size:18px;
  font-weight:700;
  color: var(--color-text-main);
  margin:0 0 12px;
}
.studio-submit-desc {
  font-size:13px;
  color: var(--color-text-sub);
  line-height:1.6;
  margin:0 0 16px;
}
.studio-submit-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size:13px;
  font-weight:700;
  padding:10px 20px;
  border-radius: var(--radius-pill);
  text-decoration:none;
  transition: opacity .2s;
}
.studio-submit-btn:hover {
  opacity:0.9;
}

/* ===== 空状态提示 ===== */
.empty-tip {
  grid-column: 1/-1;
  padding:30px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  text-align:center;
  color: var(--color-text-sub);
  border:1px solid var(--color-border);
  margin:0;
}

/* ===== 移动端响应式 ===== */
@media (max-width:992px){
  .tools-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:768px){
  .studio-home-title {
    font-size:30px;
  }
  .studio-portal-cards-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .studio-brand-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:480px){
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .studio-home-hero {
    padding:50px 0 40px;
  }
}


.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 深色Hero区块 ===== */
.studio-hero-dark {
  background: linear-gradient(135deg,#111827,#1f2937);
  padding: 50px 0;
  color:#fff;
}
.studio-breadcrumb {
  font-size:13px;
  color:#aaa;
  margin-bottom:20px;
}
.studio-hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.studio-pill {
  display: inline-block;
  font-size:12px;
  font-weight:700;
  border-radius: var(--radius-pill);
}
.studio-hero-dark .studio-pill {
  background: rgba(99, 102, 241, 0.3);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.4);
  margin-bottom: 10px;
}
.studio-hero-title {
  font-size:34px;
  font-weight:800;
  margin:0;
}
.studio-hero-desc {
  font-size:16px;
  color:#d1d5db;
  max-width:700px;
  margin:8px 0 0;
  line-height:1.6;
}
.studio-search-box {
  position:relative;
  width:320px;
}
.studio-search-input {
  width:100%;
  padding:12px 16px 12px 42px;
  border-radius: var(--radius-pill);
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08);
  color:#fff;
  font-size:14px;
  outline:none;
}
.studio-search-input::placeholder {
  color:#aaa;
}
.studio-search-icon {
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
}
.studio-pills-bar {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.studio-pills-bar .studio-pill {
  background:rgba(255,255,255,0.1);
  color:#e5e7eb;
  border:1px solid rgba(255,255,255,0.15);
  padding:6px 14px;
  text-decoration:none;
  transition:0.2s;
}
.studio-pills-bar .studio-pill.active {
  background: var(--color-accent);
  color:#fff;
  border-color: var(--color-accent);
}
.studio-pills-bar .studio-pill:hover:not(.active) {
  background:rgba(255,255,255,0.18);
}

/* ===== 精选工具区块 ===== */
.studio-featured-section {
  margin-bottom:40px;
}
.studio-featured-head {
  font-size:16px;
  font-weight:800;
  color: var(--color-text-main);
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.studio-featured-tag {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border:none;
  padding:2px 8px;
  font-size:12px;
}
.studio-featured-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap:20px;
}
.studio-card-gradient {
  border:2px solid #e0e7ff;
  position:relative;
  display:flex;
  gap:16px;
  align-items:flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding:20px;
}
.studio-card-gradient .tool-logo-wrap {
  width:56px;
  height:56px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--color-border);
  flex-shrink:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.studio-card-gradient .tool-logo-wrap img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.studio-card-gradient .tool-info-wrap {
  flex-grow:1;
  min-width:0;
}
.studio-card-gradient .tool-title-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}
.studio-card-gradient h3 {
  font-size:17px;
  font-weight:800;
  color: var(--color-text-main);
  margin:0;
}
.studio-card-gradient .tool-badge-grad {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color:#fff;
  border:none;
  padding:3px 10px;
  font-size:11px;
}
.studio-card-gradient .tool-excerpt {
  font-size:13px;
  color: var(--color-text-sub);
  line-height:1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  margin:0 0 10px 0;
}
.studio-card-gradient .tool-link-text {
  font-size:12px;
  color: var(--color-accent);
  font-weight:700;
}

/* ===== 主内容+侧边栏布局 ===== */
.studio-layout-container {
  display:grid;
  grid-template-columns: 1fr 300px;
  gap:30px;
}
.studio-main-content {
}
.studio-card {
  background: var(--color-surface);
  border:1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding:24px;
  box-shadow: var(--shadow-soft);
}
.studio-list-head {
  font-size:16px;
  font-weight:800;
  color: var(--color-text-main);
  margin-bottom:16px;
  padding-bottom:8px;
  border-bottom:2px solid var(--color-border);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.studio-list-head small {
  font-size:12px;
  font-weight:500;
  color: var(--color-text-sub);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tools-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
}
.tool-card-link {
  position: absolute;
  inset: 0;
  z-index:1;
}
.tool-logo-box img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.tool-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
}
.tool-name {
  font-weight: 700;
  font-size:16px;
  color: var(--color-text-main);
}
.tool-tag {
  font-size:11px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding:2px 8px;
  border-radius: var(--radius-pill);
}
.tool-desc {
  font-size:13px;
  color: var(--color-text-sub);
  margin:0 0 12px;
  line-height:1.5;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.tool-footer {
  display: flex;
  justify-content: space-between;
  font-size:12px;
  color: var(--color-text-light);
  position:relative;
  z-index:2;
}
.tool-footer .tool-more {
  color: var(--color-accent);
  font-weight:600;
}
.empty-grid-tip {
  grid-column: 1/-1;
  padding: 40px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--color-text-sub);
  border: 1px solid var(--color-border);
  margin: 0;
}
.studio-pagination-wrap {
  margin-top:40px;
  text-align:center;
}

/* ===== 响应式 ===== */
@media (max-width:992px){
  .studio-layout-container {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .studio-featured-grid {
    grid-template-columns: 1fr;
  }
  .studio-hero-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .studio-search-box {
    width:100%;
  }
}
@media (max-width:768px){
  .studio-hero-title {
    font-size:28px;
  }
}
@media (max-width:480px){
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .studio-hero-dark {
    padding:36px 0;
  }
}
/* cat-row 容器内所有a链接 */
.cat-row a {
    color: #0f172a;
    text-decoration: none;
    transition: all 0.22s ease;
}
.cat-row a:hover {
    color: #2563eb;
}
.cat-row a:active {
    color: #1d4ed8;
}
/* 侧边浮动容器 */
.fixed-toc {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    background:#f8fafc;
    padding:20px;
    border-radius:14px;
    border:1px solid #e2e8f0;
    z-index:99;
}
/* 移动端自动隐藏侧边悬浮目录，避免挡住页面 */
@media (max-width:1024px){
    .fixed-toc{
        display:none;
    }
}

/* 原有cat-row链接样式（保留你之前写的） */
.cat-row a {
    color: #0f172a;
    text-decoration: none;
    position: relative;
    transition: color 0.22s ease;
}
.cat-row a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:0.22s;
}
.cat-row a:hover{
    color:#2563eb;
}
.cat-row a:hover::after{
    width:100%;
}

/* NanoTOC列表重置 */
.cat-row ul.nanotoc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.cat-row ul.nanotoc-list > li {
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cat-row ul.nanotoc-list li ul {
    list-style:none;
    padding-left:18px;
    margin-top:6px;
}
.cat-row ul.nanotoc-list li ul li{
    padding:5px 0;
    border-bottom:none;
}
/* 当前阅读章节高亮 */
.cat-row .nanotoc-active a{
    color:#2563eb;
    font-weight:600;
}


/*
Theme Name: TothinkAI Model Hub
Theme URI: https://tothinkai.com/
Author: TothinkAI
Description: AI 大模型推荐与对比 WordPress 主题起步模板，包含模型目录、自定义模型内容类型、详情页和场景筛选。
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tothinkai-model-hub
*/
:root{--tmh-bg:#f6f8fc;--tmh-card:#fff;--tmh-text:#152238;--tmh-muted:#68758a;--tmh-line:#e4e9f2;--tmh-blue:#3867f4;--tmh-blue2:#234bd4;--tmh-dark:#101827;--tmh-radius:18px;--tmh-shadow:0 12px 36px rgba(25,42,75,.07)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tmh-bg);color:var(--tmh-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.7}
a{color:var(--tmh-blue);text-decoration:none}
a:hover{color:var(--tmh-blue2)}
img{max-width:100%;height:auto}
.tmh-container{width:min(1160px,calc(100% - 36px));margin-inline:auto}
.tmh-site-header{background:rgba(255,255,255,.92);border-bottom:1px solid var(--tmh-line);position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}
.tmh-header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tmh-brand{font-size:21px;font-weight:800;letter-spacing:-.6px;color:var(--tmh-text)}
.tmh-brand span{color:var(--tmh-blue)}
.tmh-nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:650}
.tmh-nav>li{list-style:none;margin:0;padding:0;position:relative}
.tmh-nav>li>a{display:block;padding:10px 0;color:#344157}
.tmh-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;margin:0;padding:8px;background:#fff;border:1px solid var(--tmh-line);border-radius:12px;box-shadow:var(--tmh-shadow);list-style:none;z-index:60}
.tmh-nav li:hover>.sub-menu,.tmh-nav li:focus-within>.sub-menu{display:block}
.tmh-nav .sub-menu li{list-style:none;margin:0}
.tmh-nav .sub-menu a{display:block;padding:9px 11px;border-radius:7px;white-space:nowrap;color:#344157}
.tmh-nav .sub-menu a:hover{background:#f2f5fc}
.tmh-nav a{color:#344157}
.tmh-nav a:hover{color:var(--tmh-blue)}
.tmh-menu-toggle{display:none;border:1px solid var(--tmh-line);background:#fff;border-radius:10px;padding:8px 12px}
.tmh-hero{padding:76px 0 54px;background:radial-gradient(circle at 80% 20%,rgba(78,112,255,.17),transparent 30%),linear-gradient(135deg,#101827 0%,#172748 62%,#203d79 100%);color:#fff;overflow:hidden}
.tmh-hero-grid{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:46px}
.tmh-eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);padding:6px 12px;border-radius:99px;color:#d9e3ff;font-size:12px;font-weight:700;letter-spacing:.5px}
.tmh-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.13;letter-spacing:-1.8px;margin:20px 0 18px;color:#fff}
.tmh-hero p{font-size:17px;max-width:650px;color:#c7d2e8;margin:0 0 26px}
.tmh-search{display:flex;max-width:650px;background:#fff;border-radius:14px;padding:6px;box-shadow:0 16px 40px rgba(0,0,0,.18)}
.tmh-search input{flex:1;min-width:0;border:0;outline:0;padding:12px 14px;font:inherit;color:var(--tmh-text);background:transparent}
.tmh-search button,.tmh-btn{border:0;border-radius:10px;background:var(--tmh-blue);color:#fff;padding:12px 19px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.tmh-search button:hover,.tmh-btn:hover{background:var(--tmh-blue2);color:#fff}
.tmh-hero-note{font-size:12px!important;color:#9eafd0!important;margin-top:12px!important}
.tmh-hero-panel{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);padding:24px;border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.12)}
.tmh-hero-panel h3{margin:0 0 14px;font-size:15px;color:#fff}
.tmh-mini-stat{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:13px;color:#c7d2e8}
.tmh-mini-stat:last-child{border-bottom:0}
.tmh-mini-stat strong{color:#fff}
.tmh-section{padding:54px 0}
.tmh-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.tmh-kicker{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:var(--tmh-blue);font-weight:800}
.tmh-section h2{font-size:clamp(25px,3vw,34px);line-height:1.25;letter-spacing:-.8px;margin:6px 0 0}
.tmh-section-intro{color:var(--tmh-muted);margin:8px 0 0;max-width:650px}
.tmh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tmh-card{background:var(--tmh-card);border:1px solid var(--tmh-line);border-radius:var(--tmh-radius);padding:22px;box-shadow:0 4px 16px rgba(25,42,75,.025);transition:transform .2s,box-shadow .2s;min-width:0}
.tmh-card:hover{transform:translateY(-3px);box-shadow:var(--tmh-shadow)}
.tmh-card-top{display:flex;align-items:center;gap:13px;margin-bottom:16px}
.tmh-model-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:14px;background:#edf2ff;color:var(--tmh-blue);font-weight:850;font-size:16px;overflow:hidden}
.tmh-model-icon img{width:100%;height:100%;object-fit:cover}
.tmh-card h3{font-size:19px;line-height:1.3;margin:0 0 3px}
.tmh-meta{font-size:12px;color:var(--tmh-muted)}
.tmh-card p{font-size:14px;color:#536176;margin:0 0 17px}
.tmh-tags{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
.tmh-tag{font-size:11px;font-weight:700;color:#435474;background:#f0f3f9;border-radius:7px;padding:4px 8px}
.tmh-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--tmh-line);padding-top:15px;font-size:13px}
.tmh-text-link{font-weight:800}
.tmh-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}
.tmh-filter{border:1px solid var(--tmh-line);background:#fff;color:#536176;padding:8px 13px;border-radius:99px;cursor:pointer;font:inherit;font-size:13px}
.tmh-filter.is-active,.tmh-filter:hover{background:var(--tmh-dark);border-color:var(--tmh-dark);color:#fff}
.tmh-feature-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tmh-feature{border-radius:16px;padding:22px;background:#fff;border:1px solid var(--tmh-line)}
.tmh-feature .tmh-feature-icon{font-size:24px;margin-bottom:12px}
.tmh-feature h3{font-size:17px;margin:0 0 7px}
.tmh-feature p{font-size:13px;color:var(--tmh-muted);margin:0}
.tmh-cta{border-radius:24px;background:linear-gradient(120deg,#16223a,#234b9a);padding:34px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tmh-cta h2{margin:0 0 8px;color:#fff;font-size:26px}
.tmh-cta p{margin:0;color:#c7d2e8}
.tmh-cta .tmh-btn{background:#fff;color:#17326e;white-space:nowrap}
.tmh-site-footer{background:#101827;color:#c7d2e8;padding:36px 0;margin-top:30px}
.tmh-footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
.tmh-site-footer a{color:#fff}
.tmh-footer-small{font-size:12px;color:#93a1ba;max-width:620px}
.tmh-breadcrumb{font-size:13px;color:var(--tmh-muted);padding:24px 0 0}
.tmh-page-head{padding:34px 0 22px}
.tmh-page-head h1{font-size:clamp(30px,4vw,44px);letter-spacing:-1px;line-height:1.2;margin:8px 0}
.tmh-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px}
.tmh-article{background:#fff;border:1px solid var(--tmh-line);border-radius:20px;padding:clamp(22px,4vw,42px);min-width:0}
.tmh-article h2{margin-top:34px;font-size:25px;line-height:1.35}
.tmh-article h3{margin-top:26px;font-size:19px}
.tmh-article p,.tmh-article li{color:#43516a}
.tmh-sidebar-box{background:#fff;border:1px solid var(--tmh-line);border-radius:16px;padding:20px;margin-bottom:16px}
.tmh-sidebar-box h3{font-size:15px;margin:0 0 12px}
.tmh-sidebar-box ul{margin:0;padding-left:18px;font-size:13px;color:var(--tmh-muted)}
.tmh-model-hero{padding:44px 0 34px;background:linear-gradient(135deg,#101827,#1c376d);color:#fff}
.tmh-model-hero h1{font-size:clamp(32px,4vw,46px);line-height:1.2;margin:10px 0}
.tmh-model-hero p{color:#c7d2e8;max-width:760px}
.tmh-model-meta{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:13px;color:#d7e0f3;margin-top:20px}
.tmh-model-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.tmh-model-actions .tmh-btn-alt{border:1px solid rgba(255,255,255,.3);border-radius:10px;padding:11px 17px;color:#fff;font-weight:700}
.tmh-model-actions .tmh-btn-alt:hover{background:rgba(255,255,255,.1)}
.tmh-procon{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tmh-procon>div{border:1px solid var(--tmh-line);border-radius:15px;padding:20px;background:#fff}
.tmh-procon h3{margin:0 0 10px;font-size:16px}
.tmh-procon ul{padding-left:18px;margin:0}
.tmh-empty{border:1px dashed #cdd6e6;border-radius:16px;padding:32px;text-align:center;color:var(--tmh-muted);background:#fff}
.tmh-pagination{margin-top:28px}
.tmh-pagination .page-numbers{display:inline-block;padding:8px 12px;background:#fff;border:1px solid var(--tmh-line);border-radius:8px;margin-right:5px}
.tmh-pagination .current{background:var(--tmh-blue);color:#fff}
.tmh-content{padding-bottom:50px}
@media(max-width:900px){.tmh-hero-grid{grid-template-columns:1fr}.tmh-hero-panel{max-width:600px}.tmh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmh-content-layout{grid-template-columns:1fr}.tmh-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tmh-sidebar-box{margin:0}}
@media(max-width:640px){.tmh-header-inner{min-height:64px;position:relative}.tmh-menu-toggle{display:block}.tmh-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;border-bottom:1px solid var(--tmh-line);padding:16px 20px;flex-direction:column;align-items:flex-start;gap:14px}.tmh-nav.is-open{display:flex}.tmh-nav>li{width:100%}.tmh-nav>li>a{padding:7px 0}.tmh-nav .sub-menu{display:block;position:static;box-shadow:none;border:0;border-left:2px solid var(--tmh-line);border-radius:0;margin:0 0 4px 8px;padding:2px 0 2px 8px}.tmh-nav .sub-menu a{white-space:normal}.tmh-hero{padding:52px 0 40px}.tmh-hero h1{letter-spacing:-1px}.tmh-grid,.tmh-feature-row{grid-template-columns:1fr}.tmh-section{padding:38px 0}.tmh-section-head{align-items:flex-start;flex-direction:column}.tmh-cta,.tmh-footer-inner{flex-direction:column;align-items:flex-start}.tmh-procon{grid-template-columns:1fr}.tmh-sidebar{display:block}.tmh-sidebar-box{margin-bottom:14px}.tmh-search button{padding:10px 12px}.tmh-card{padding:19px}}

/* 1.0.4 single tool detail UX refinement */
.tmh-single-model .tmh-model-hero{padding:30px 0 36px}
.tmh-single-model .tmh-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:12px;color:#c7d2e8}
.tmh-single-model .tmh-breadcrumb a{color:#e0e8fa;text-decoration:none}
.tmh-single-model .tmh-breadcrumb a:hover{color:#fff;text-decoration:underline}
.tmh-single-heading{display:flex;align-items:center;gap:18px;margin-top:24px}
.tmh-single-icon{width:68px;height:68px;flex:0 0 68px;font-size:22px;overflow:hidden}
.tmh-single-icon img{width:100%;height:100%;object-fit:cover}
.tmh-single-heading-copy h1{margin:7px 0 5px}
.tmh-single-developer{margin:0;color:#c7d2e8;font-size:14px}
.tmh-single-model .tmh-single-summary{max-width:780px;margin:22px 0 14px;color:#dbe5f8;font-size:16px;line-height:1.85}
.tmh-single-model .tmh-model-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.tmh-single-model .tmh-model-meta span{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.07);font-size:12px;color:#e1e9f8}
.tmh-single-model .tmh-model-actions{margin-top:20px}
.tmh-single-model .tmh-primary-cta{display:inline-flex;align-items:center;gap:8px;box-shadow:0 8px 22px rgba(0,0,0,.15)}
.tmh-single-section{padding-top:34px}
.tmh-single-article{min-width:0}
.tmh-article-intro h2{margin-top:7px}
.tmh-single-article .tmh-entry-content{font-size:16px;line-height:1.9;color:var(--tmh-text);overflow-wrap:anywhere}
.tmh-single-article .tmh-entry-content p{margin:0 0 1.1em}
.tmh-single-article .tmh-entry-content h2,.tmh-single-article .tmh-detail-section>h2{font-size:24px;line-height:1.4;letter-spacing:-.3px;margin:34px 0 15px}
.tmh-single-article .tmh-entry-content h3{font-size:19px;margin:24px 0 10px}
.tmh-single-article .tmh-entry-content a,.tmh-single-article .tmh-source-content a{color:var(--tmh-primary);text-decoration:underline;text-decoration-color:rgba(49,92,232,.35);text-underline-offset:3px}
.tmh-single-article .tmh-entry-content a:hover,.tmh-single-article .tmh-source-content a:hover{text-decoration-color:currentColor}
.tmh-single-article .tmh-detail-section{margin-top:30px}
.tmh-single-article .tmh-detail-section>h2{margin-top:0}
.tmh-single-article .tmh-procon{gap:12px}
.tmh-single-article .tmh-procon>div{padding:18px 20px;border-radius:14px;box-shadow:0 2px 10px rgba(20,40,80,.025)}
.tmh-single-article .tmh-procon h3{font-size:15px;line-height:1.5}
.tmh-single-article .tmh-procon ul,.tmh-single-article .tmh-clean-list{padding-left:20px}
.tmh-single-article li{margin:0 0 7px;line-height:1.75}
.tmh-single-article .tmh-usage-note{padding:20px 22px;background:#f7f9fd;border:1px solid var(--tmh-line);border-radius:14px}
.tmh-single-article .tmh-usage-note>h2{margin:0 0 8px;font-size:19px}
.tmh-single-article .tmh-usage-note p{margin:0;color:var(--tmh-muted);line-height:1.85}
.tmh-sources-section{margin-top:24px;border-top:1px solid var(--tmh-line);border-bottom:1px solid var(--tmh-line)}
.tmh-sources-section details{padding:15px 0}
.tmh-sources-section summary{cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:var(--tmh-text)}
.tmh-sources-section summary::-webkit-details-marker{display:none}
.tmh-sources-section summary:after{content:'+';float:right;color:var(--tmh-primary);font-size:18px;font-weight:400}
.tmh-sources-section details[open] summary:after{content:'−'}
.tmh-source-content{padding-top:12px;font-size:13px;color:var(--tmh-muted);overflow-wrap:anywhere}
.tmh-source-content ul{padding-left:19px}
.tmh-editorial-note{margin:20px 0 0!important;color:var(--tmh-muted);font-size:12px;line-height:1.8}
.tmh-single-sidebar{align-self:start;position:sticky;top:24px}
.tmh-single-sidebar .tmh-sidebar-box{padding:21px;border-radius:15px;margin-bottom:14px}
.tmh-single-sidebar .tmh-sidebar-box h2{font-size:16px;margin:0 0 16px;line-height:1.45}
.tmh-facts-list{margin:0}
.tmh-facts-list>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid #edf0f5}
.tmh-facts-list>div:first-child{padding-top:0}
.tmh-facts-list>div:last-child{border-bottom:0}
.tmh-facts-list dt{font-size:12px;color:var(--tmh-muted)}
.tmh-facts-list dd{margin:0;font-size:13px;line-height:1.65;color:var(--tmh-text);overflow-wrap:anywhere}
.tmh-single-sidebar .tmh-docs-link{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:13px;border-top:1px solid #edf0f5;color:var(--tmh-primary);font-size:13px;font-weight:700;text-decoration:none}
.tmh-single-sidebar .tmh-docs-link:hover,.tmh-single-sidebar .tmh-text-link:hover{text-decoration:underline;text-underline-offset:3px}
.tmh-checked-note{margin:13px 0 0;font-size:11px;color:var(--tmh-muted)}
.tmh-single-sidebar .tmh-related-card p{margin:0 0 12px;font-size:13px;line-height:1.8;color:var(--tmh-muted)}
.tmh-single-sidebar .tmh-text-link{font-size:13px;font-weight:700;text-decoration:none}
@media(max-width:900px){.tmh-single-sidebar{position:static}.tmh-single-sidebar .tmh-sidebar-box{margin:0}.tmh-single-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tmh-single-model .tmh-model-hero{padding:24px 0 28px}.tmh-single-heading{align-items:flex-start;gap:13px;margin-top:20px}.tmh-single-icon{width:54px;height:54px;flex-basis:54px}.tmh-single-heading-copy h1{font-size:29px;overflow-wrap:anywhere}.tmh-single-model .tmh-single-summary{font-size:15px;margin-top:16px}.tmh-single-model .tmh-model-actions .tmh-btn{width:100%;justify-content:center;text-align:center}.tmh-single-article .tmh-entry-content h2,.tmh-single-article .tmh-detail-section>h2{font-size:21px;margin-top:28px}.tmh-single-article .tmh-procon>div{padding:16px}.tmh-single-sidebar{display:block}.tmh-single-sidebar .tmh-sidebar-box{margin-bottom:13px}.tmh-facts-list>div{grid-template-columns:82px minmax(0,1fr)}}
