/**
 * page.css - 卡片样式、网格、分类页、详情页组件
 * 仅包含页面级样式，全局基础样式已在 style.css 中定义
 */

/* ============================================================
   1. 内容卡片容器
   ============================================================ */
.dh-content {
    margin: 0 auto;
    width: 100%;
}
.content-item {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
    padding: 20px 24px !important;
    margin-bottom: 24px !important;
}

.content-item-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.content-item-head-left h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.content-item-head-left h4 i {
    color: #4a6cf7 !important;
}
.content-item-head a {
    color: #a0aec0 !important;
    font-size: 18px !important;
}
.content-item-head a:hover {
    color: #4a6cf7 !important;
}

/* ============================================================
   2. 卡片网格（PC & 手机）
   ============================================================ */
.content-item-urls {
    display: grid !important;
    gap: 12px !important;
    padding: 0 !important;
}
@media (min-width: 1025px) {
    .content-item-urls {
        grid-template-columns: repeat(7, 1fr) !important;
    }
    .content-urls-card {
        padding: 8px 10px !important;
        min-height: 50px !important;
    }
    .content-url-info strong {
        font-size: 13px !important;
    }
    .content-url-img {
        width: 32px !important;
        height: 32px !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .content-item-urls {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .content-item-urls {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
}
@media (max-width: 420px) {
    .content-item-urls {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
}

/* ============================================================
   3. 站点卡片
   ============================================================ */
.content-urls-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #eef2f6 !important;
    padding: 5px 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 58px !important;
    overflow: hidden !important;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.content-urls-card:hover {
    border-color: #4a6cf7 !important;
    box-shadow: 0 8px 24px rgba(74, 108, 247, 0.08) !important;
    transform: translateY(-4px) !important;
}
.content-urls-card.is-recommend {
    background: linear-gradient(145deg, #fffbeb, #fef3c7) !important;
    border-color: #f6e05e !important;
}
.content-urls-card.is-recommend:hover {
    border-color: #ecc94b !important;
    box-shadow: 0 8px 24px rgba(236, 201, 75, 0.15) !important;
}

/* 推荐标签 - 斜角渐变样式 */
.card-badge-recommend {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    z-index: 99 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 68px !important;
    padding: 3px 24px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #fff !important;
    background: linear-gradient(135deg, #f89250 10%, #f1404b 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    pointer-events: none !important;
    transform: translate(-18px, 32px) rotate(-45deg) translateZ(0) !important;
    transform-origin: 0 0 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transition: none !important;
    will-change: transform !important;
    box-shadow: none !important;
}
.content-urls-card:hover .card-badge-recommend {
    background: #e4415f !important;
}
@media (max-width: 768px) {
    .card-badge-recommend {
        min-width: 50px !important;
        padding: 2px 16px !important;
        font-size: 10px !important;
        transform: translate(-12px, 22px) rotate(-45deg) translateZ(0) !important;
    }
}

/* 通用卡片标签（用于非推荐标签） */
.card-badge {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    z-index: 99 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 68px !important;
    padding: 3px 24px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    pointer-events: none !important;
    transform: translate(-18px, 32px) rotate(-45deg) translateZ(0) !important;
    transform-origin: 0 0 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transition: none !important;
    will-change: transform !important;
    box-shadow: none !important;
}
.card-badge-recommend { background: linear-gradient(135deg, #f89250, #f1404b); }
.card-badge-hot { background: linear-gradient(135deg, #f56565, #e53e3e); }
.card-badge-default { background: linear-gradient(135deg, #4a6cf7, #6a8cff); }

/* 卡片主体 */
.content-urls-body {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
}
.content-url-flex {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    min-width: 0 !important;
}
.content-card-body {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 1 !important;
    gap: 10px !important;
}

/* 图标 */
.content-url-img {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: -3px -3px -3px -3px !important;
}
.content-url-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    transform: scale(1.05) !important;
    transition: transform 0.25s ease !important;
}
.content-urls-card:hover .content-url-img img {
    transform: scale(1.1) !important;
}
@media (max-width: 768px) {
    .content-url-img {
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    .content-url-img img {
        transform: scale(1) !important;
    }
    .content-urls-card:hover .content-url-img img {
        transform: scale(1) !important;
    }
}

/* 文字 */
.content-url-info {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
.content-url-info strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.2s !important;
}
.content-urls-card:hover .content-url-info strong {
    color: #4a6cf7 !important;
}
.content-url-info p {
    font-size: 12px !important;
    color: #718096 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 前往按钮 */
.content-url-togo {
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: #cbd5e0 !important;
    transition: all 0.3s ease !important;
    background: #f7fafc !important;
}
.content-url-togo:hover {
    color: #fff !important;
    background: #4a6cf7 !important;
    transform: rotate(45deg) scale(1.05) !important;
}
.content-url-togo svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
}

/* ============================================================
   4. 手机端卡片强制覆盖
   ============================================================ */
@media (max-width: 768px) {
    .content-item {
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-radius: 14px !important;
        padding: 14px 14px !important;
        margin-bottom: 14px !important;
    }
    .content-item-head h4 {
        font-size: 14px !important;
    }
    .content-urls-card {
        padding: 8px 10px !important;
        min-height: 48px !important;
        height: 48px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        border: 1px solid #edf2f7 !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
        transition: none !important;
        transform: none !important;
    }
    .content-urls-card:hover {
        transform: none !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
        border-color: #4a6cf7 !important;
    }
    .content-urls-card.is-recommend {
        background: rgba(255, 251, 235, 0.9) !important;
        border-color: #f6e05e !important;
    }
    .content-urls-body {
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    .content-card-body {
        gap: 6px !important;
    }
    .content-url-img {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        border: none !important;
        background: transparent !important;
        overflow: hidden !important;
        margin: 0 !important;
    }
    .content-url-img img {
        padding: 2px !important;
        transform: scale(1) !important;
    }
    .content-url-info strong {
        font-size: 12px !important;
        color: #1a202c !important;
    }
    .content-url-info p {
        display: none !important;
    }
    .content-url-togo {
        display: none !important;
    }
    .category-main .rank-sidebar {
        display: none !important;
    }
    .ai-tools-section {
        display: block !important;
    }
}
@media (max-width: 420px) {
    .content-urls-card {
        min-height: 42px !important;
        height: 42px !important;
        padding: 6px 8px !important;
    }
    .content-url-img {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
    }
    .content-url-info strong {
        font-size: 11px !important;
    }
}

/* ============================================================
   5. 分类页布局
   ============================================================ */
.category-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 16px 0 !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.category-header h1 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.category-header h1 i {
    color: #4a6cf7 !important;
    background: rgba(74, 108, 247, 0.10) !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
}
.category-header .category-count {
    font-size: 13px !important;
    color: #718096 !important;
    background: #edf2f7 !important;
    padding: 4px 16px !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
}

.group-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 16px 0 !important;
}
.group-tab {
    padding: 6px 18px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    background: #f1f4f9 !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}
.group-tab:hover {
    background: #e2e8f0 !important;
    color: #2d3748 !important;
}
.group-tab.active {
    background: #4a6cf7 !important;
    color: #fff !important;
    border-color: #4a6cf7 !important;
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.25) !important;
}
@media (max-width: 768px) {
    .group-tab {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

.group-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    margin: 0 0 10px 0 !important;
    padding: 4px 16px !important;
    background: linear-gradient(135deg, #f0f5ff, #e8edfc) !important;
    border-radius: 30px !important;
    border-left: 4px solid #4a6cf7 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.category-main {
    display: flex !important;
    gap: 24px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}
.category-main .main-list {
    flex: 1 !important;
    min-width: 0 !important;
}
.category-main .rank-sidebar {
    flex: 0 0 260px !important;
    width: 260px !important;
    position: sticky !important;
    top: 20px !important;
}
@media (max-width: 992px) {
    .category-main {
        flex-direction: column !important;
    }
    .category-main .rank-sidebar {
        width: 100% !important;
        position: static !important;
        margin-top: 16px !important;
    }
}
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 18px !important;
    }
    .category-header .category-count {
        font-size: 11px !important;
        padding: 2px 12px !important;
    }
    .group-tab {
        font-size: 12px !important;
        padding: 4px 14px !important;
    }
    .group-title {
        font-size: 13px !important;
        padding: 3px 12px !important;
    }
}

/* ============================================================
   6. 排行榜
   ============================================================ */
.rank-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    padding: 16px 18px !important;
}
.rank-card .rank-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #f0f4f8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.rank-card .rank-title i {
    color: #f6ad55 !important;
}
.rank-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.rank-list li {
    display: flex !important;
    align-items: center !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f7fafc !important;
}
.rank-list li:last-child {
    border-bottom: none !important;
}
.rank-list li:hover {
    background: #f7fafc !important;
    border-radius: 6px !important;
    padding-left: 6px !important;
}
.rank-num {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}
.rank-num.top1 { background: linear-gradient(135deg, #f6ad55, #ed8936) !important; }
.rank-num.top2 { background: linear-gradient(135deg, #a0aec0, #718096) !important; }
.rank-num.top3 { background: linear-gradient(135deg, #f6ad55, #dd6b20) !important; }
.rank-num.default { background: #e2e8f0 !important; color: #718096 !important; }
.rank-name {
    flex: 1 !important;
    font-size: 13px !important;
    color: #2d3748 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.rank-name a:hover {
    color: #4a6cf7 !important;
}
.rank-count {
    font-size: 11px !important;
    color: #a0aec0 !important;
    flex-shrink: 0 !important;
    background: #f7fafc !important;
    padding: 0 10px !important;
    border-radius: 30px !important;
}
.rank-empty {
    text-align: center !important;
    color: #a0aec0 !important;
    padding: 20px 0 !important;
}

/* ============================================================
   7. 分页
   ============================================================ */
.pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 20px !important;
    padding: 16px 0 0 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    justify-content: center !important;
}
.pagination .pagination-total {
    color: #a0aec0 !important;
    font-size: 12px !important;
    margin-right: 12px !important;
}
.pagination a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    color: #4a6cf7 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}
.pagination a:hover {
    background: #f0f5ff !important;
    border-color: #d0d9f0 !important;
}
.pagination .pagination-page.active {
    background: #4a6cf7 !important;
    color: #fff !important;
    border-color: #4a6cf7 !important;
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.2) !important;
}
@media (max-width: 768px) {
    .pagination .pagination-total {
        width: 100% !important;
        text-align: center !important;
        margin-right: 0 !important;
        margin-bottom: 4px !important;
        font-size: 11px !important;
    }
    .pagination a {
        min-width: 30px !important;
        height: 30px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }
}

/* ============================================================
   8. AI工具
   ============================================================ */
.ai-tools-section {
    display: block !important;
}
.ai-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 8px;
}
.ai-tab {
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #718096;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f7fafc;
    border: 1px solid transparent;
}
.ai-tab:hover {
    background: #edf2f7;
    color: #2d3748;
}
.ai-tab.active {
    background: #4a6cf7;
    color: #fff;
    border-color: #4a6cf7;
    box-shadow: 0 2px 8px rgba(74, 108, 247, 0.2);
}
.ai-tab-add {
    margin-left: auto;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #4a6cf7;
    background: #ebf0ff;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px dashed #4a6cf7;
}
.ai-tab-add:hover {
    background: #dce5ff;
}
@media (max-width: 768px) {
    .ai-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 6px !important;
        padding-bottom: 4px !important;
        border-bottom: 1px solid #eef2f6;
    }
    .ai-tab,
    .ai-tab-add {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 4px 12px !important;
        border-radius: 20px !important;
    }
    .ai-tab-add {
        background: #ebf0ff !important;
        border: 1px dashed #4a6cf7 !important;
        color: #4a6cf7 !important;
        margin-left: 0 !important;
    }
    .ai-tabs::-webkit-scrollbar {
        height: 3px;
    }
    .ai-tabs::-webkit-scrollbar-thumb {
        background: #cbd5e0;
        border-radius: 4px;
    }
}
.ai-tab-content {
    position: relative;
}
.ai-tab-panel {
    display: none;
    animation: fadeIn 0.25s ease;
}
.ai-tab-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-tools-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    padding: 4px 2px 8px 2px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.ai-tools-grid::-webkit-scrollbar {
    height: 6px;
}
.ai-tools-grid::-webkit-scrollbar-track {
    background: #f0f4f8;
    border-radius: 4px;
}
.ai-tools-grid::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}
.ai-tools-grid::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.ai-tool-card {
    flex: 0 0 auto !important;
    min-width: 120px !important;
    padding: 10px 16px !important;
    background: #f7fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #2d3748 !important;
    transition: all 0.25s ease !important;
    white-space: nowrap;
}
.ai-tool-card:hover {
    border-color: #4a6cf7 !important;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.08) !important;
    transform: translateY(-2px) !important;
    background: #ffffff !important;
}
.ai-tool-icon {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}
.ai-tool-card span {
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* ============================================================
   9. 首页分组标签
   ============================================================ */
.content-item-head-left {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 12px !important;
}
.home-group-tabs {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 6px !important;
    margin-left: 0 !important;
}
.home-group-tab {
    padding: 2px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    background: #edf2f7 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    line-height: 1.6 !important;
    border: none !important;
    user-select: none !important;
}
.home-group-tab:hover {
    background: #e2e8f0 !important;
    color: #2d3748 !important;
    transform: translateY(-1px) !important;
}
.home-group-tab.active {
    background: #4a6cf7 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(74, 108, 247, 0.25) !important;
}
.content-item-head-left h4 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}
@media (max-width: 768px) {
    .home-group-tab {
        padding: 1px 10px !important;
        font-size: 12px !important;
        border-radius: 16px !important;
    }
    .content-item-head-left {
        gap: 4px 8px !important;
    }
    .home-group-tabs {
        gap: 3px 4px !important;
    }
    .content-item-head {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        padding: 0 0 8px 0 !important;
    }
    .content-item-head-left {
        flex-wrap: nowrap !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .content-item-head-left h4 {
        flex: 0 0 auto !important;
        font-size: 15px !important;
        white-space: nowrap !important;
    }
    .content-item-head > a {
        flex: 0 0 auto !important;
        font-size: 18px !important;
        padding: 2px 6px !important;
        color: #4a6cf7 !important;
    }
    .home-group-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 2px 0 !important;
    }
    .home-group-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .home-group-tab {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 2px 10px !important;
    }
}

/* ============================================================
   10. AI 模态框
   ============================================================ */
.ai-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.ai-modal-overlay.active {
    display: flex;
}
.ai-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.ai-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-modal-title .close-btn {
    cursor: pointer;
    color: #a0aec0;
    font-size: 24px;
}
.ai-modal-title .close-btn:hover {
    color: #1a202c;
}
.ai-modal-box .form-group {
    margin-bottom: 14px;
}
.ai-modal-box label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 4px;
}
.ai-modal-box input[type="text"],
.ai-modal-box input[type="url"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}
.ai-modal-box input:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.08);
}
.ai-modal-box .btn-submit {
    width: 100%;
    padding: 10px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.ai-modal-box .btn-submit:hover {
    background: #3a5cd9;
}
@media (max-width: 768px) {
    .ai-modal-box {
        padding: 20px;
        width: 95%;
    }
    .ai-modal-title {
        font-size: 18px;
    }
}
body.dark-mode .ai-modal-box {
    background: #2d3748;
}
body.dark-mode .ai-modal-title {
    color: #e2e8f0;
}
body.dark-mode .ai-modal-title .close-btn {
    color: #a0aec0;
}
body.dark-mode .ai-modal-title .close-btn:hover {
    color: #fff;
}
body.dark-mode .ai-modal-box label {
    color: #cbd5e0;
}
body.dark-mode .ai-modal-box input[type="text"],
body.dark-mode .ai-modal-box input[type="url"] {
    background: #4a5568;
    border-color: #5a6b7a;
    color: #cbd5e0;
}
body.dark-mode .ai-modal-box input:focus {
    border-color: #4a6cf7;
}

/* ============================================================
   11. post.php 详情页样式
   ============================================================ */
.dh-breadcrumb {
    padding: 12px 0 16px 0;
    font-size: 14px;
    color: #888;
}
.dh-breadcrumb a {
    color: #4a6cf7;
    text-decoration: none;
}
.dh-breadcrumb a:hover {
    text-decoration: underline;
}
.dh-breadcrumb i {
    margin: 0 6px;
    font-size: 12px;
    color: #ccc;
}
@media (max-width: 768px) {
    .dh-breadcrumb {
        padding: 8px 0 12px 0 !important;
        font-size: 13px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }
    .dh-breadcrumb span {
        display: inline-block !important;
        max-width: 120px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        vertical-align: middle !important;
    }
}

.dh-site-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 24px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}
.dh-site-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #edf2f7;
}
.dh-site-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.dh-site-info {
    flex: 1;
    min-width: 200px;
}
.dh-site-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}
.dh-site-subtitle {
    font-size: 15px;
    color: #718096;
    margin-bottom: 10px;
    line-height: 1.6;
}
.dh-site-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #a0aec0;
    flex-wrap: wrap;
}
.dh-site-meta .dh-meta-item i {
    margin-right: 4px;
}
.dh-site-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-self: center;
}
.dh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.dh-btn-primary {
    background: #4a6cf7;
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 108, 247, 0.2);
}
.dh-btn-primary:hover {
    background: #3a5cd9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.3);
}
.dh-btn-outline {
    background: transparent;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}
.dh-btn-outline:hover {
    background: #f7fafc;
    border-color: #4a6cf7;
    color: #4a6cf7;
}
@media (max-width: 768px) {
    .dh-site-card {
        padding: 16px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .dh-site-avatar {
        width: 64px;
        height: 64px;
    }
    .dh-site-title {
        font-size: 20px;
    }
    .dh-site-actions {
        width: 100%;
        justify-content: center;
    }
    .dh-site-actions .dh-btn {
        padding: 8px 16px;
        font-size: 14px;
        flex: 1;
        justify-content: center;
    }
}
@media (max-width: 420px) {
    .dh-site-title {
        font-size: 18px !important;
    }
    .dh-site-avatar {
        width: 52px !important;
        height: 52px !important;
    }
    .dh-site-actions .dh-btn {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
}
body.dark-mode .dh-site-card {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .dh-site-title {
    color: #e2e8f0 !important;
}
body.dark-mode .dh-site-subtitle {
    color: #a0aec0 !important;
}
body.dark-mode .dh-site-meta {
    color: #a0aec0 !important;
}
body.dark-mode .dh-btn-outline {
    color: #a0aec0 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .dh-btn-outline:hover {
    background: #4a5568 !important;
}

.dh-entry {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    margin-top: 16px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02) !important;
}
.dh-entry-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dh-entry-title i {
    color: #4a6cf7;
}
.dh-entry-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.8;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.dh-entry-content p {
    margin: 0;
}
.dh-entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    display: block;
    margin: 10px 0;
}
.dh-entry-content iframe,
.dh-entry-content video {
    max-width: 100% !important;
    border-radius: 8px;
    margin: 10px 0;
}
.dh-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.dh-entry-content table th,
.dh-entry-content table td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    text-align: left;
}
.dh-entry-content table th {
    background: #f7fafc;
    font-weight: 600;
}
.dh-entry-content div,
.dh-entry-content p,
.dh-entry-content ul,
.dh-entry-content ol {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
@media (max-width: 768px) {
    .dh-entry {
        padding: 14px !important;
        margin-top: 12px !important;
    }
    .dh-entry-title {
        font-size: 15px !important;
    }
    .dh-entry-content {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .dh-entry-content img {
        border-radius: 6px;
        margin: 8px 0;
    }
    .dh-entry-content iframe,
    .dh-entry-content video {
        height: auto !important;
        min-height: 180px;
    }
}
@media (max-width: 420px) {
    .dh-entry {
        padding: 10px !important;
    }
}
body.dark-mode .dh-entry {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .dh-entry-title {
    color: #e2e8f0 !important;
}
body.dark-mode .dh-entry-content {
    color: #cbd5e0 !important;
}

.dh-entry-xinxi p {
    padding: 6px 0;
    border-bottom: 1px solid #f7fafc;
    font-size: 14px;
    color: #4a5568;
    word-break: break-all;
}
.dh-entry-xinxi p:last-child {
    border-bottom: none;
}
.dh-entry-xinxi a {
    color: #4a6cf7;
}
.dh-entry-xinxi a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .dh-entry-xinxi p {
        font-size: 13px !important;
        padding: 4px 0 !important;
        word-break: break-word !important;
    }
}
body.dark-mode .dh-entry-xinxi p {
    color: #cbd5e0 !important;
    border-bottom-color: #4a5568 !important;
}

.dh-entry-tips {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fffbeb;
    border-radius: 10px;
    font-size: 13px;
    color: #92400e;
    border-left: 4px solid #f6ad55;
}
.dh-entry-tips i {
    margin-right: 6px;
}
@media (max-width: 768px) {
    .dh-entry-tips {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}
body.dark-mode .dh-entry-tips {
    background: #3a3830 !important;
    color: #d69e2e !important;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin: 10px 0 16px 0;
}
.seo-item-box {
    background: #f7fafc;
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
}
.seo-item-box:hover {
    border-color: #4a6cf7;
    background: #f0f5ff;
    transform: translateY(-2px);
}
.seo-item-box i {
    font-size: 22px;
    color: #4a6cf7;
    display: block;
    margin-bottom: 4px;
}
.seo-item-box .seo-label {
    font-size: 11px;
    color: #a0aec0;
    display: block;
    margin-bottom: 2px;
}
.seo-item-box .seo-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    display: block;
}
.seo-item-box .seo-value.highlight {
    color: #4a6cf7;
}
@media (max-width: 768px) {
    .seo-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .seo-item-box {
        padding: 8px 4px !important;
    }
    .seo-item-box i {
        font-size: 18px !important;
    }
    .seo-item-box .seo-value {
        font-size: 16px !important;
    }
}
@media (max-width: 420px) {
    .seo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
body.dark-mode .seo-item-box {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .seo-item-box .seo-value {
    color: #e2e8f0 !important;
}

.query-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.query-links .ql-label {
    font-size: 14px;
    color: #a0aec0;
    margin-right: 4px;
    display: flex;
    align-items: center;
}
.query-links a {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: #4a6cf7;
    background: #f0f5ff;
    border: 1px solid #e0e8f5;
    transition: all 0.25s ease;
    text-decoration: none;
    font-weight: 500;
}
.query-links a:hover {
    background: #4a6cf7;
    color: #fff;
    border-color: #4a6cf7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 108, 247, 0.15);
}
@media (max-width: 768px) {
    .query-links {
        gap: 4px !important;
    }
    .query-links a {
        font-size: 12px !important;
        padding: 2px 10px !important;
    }
}
body.dark-mode .query-links a {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
    color: #6a8cff !important;
}
body.dark-mode .query-links a:hover {
    background: #4a6cf7 !important;
    color: #fff !important;
}

.dh-related-nav {
    margin-top: 0;
}
.dh-related-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.dh-related-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}
.dh-related-title i {
    margin-right: 8px;
    color: #4a6cf7;
}
.dh-reload-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #718096;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.dh-reload-btn:hover {
    background: #f7fafc;
    border-color: #4a6cf7;
    color: #4a6cf7;
}
.dh-related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.dh-related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fafbfc;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}
.dh-related-card:hover {
    border-color: #4a6cf7;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.06);
    background: #ffffff;
}
.dh-related-card.dh-card-recommend {
    border-color: #f6e05e;
    background: #fffbeb;
}
.dh-card-badge {
    position: absolute;
    top: -6px;
    right: 8px;
    background: #f56565;
    color: #fff;
    font-size: 9px;
    padding: 0 10px;
    border-radius: 30px;
    line-height: 18px;
    height: 18px;
}
.dh-card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}
.dh-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f7fafc;
}
.dh-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.dh-card-info {
    flex: 1;
    min-width: 0;
}
.dh-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dh-card-desc {
    font-size: 12px;
    color: #a0aec0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .dh-related-head {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .dh-related-title {
        font-size: 15px !important;
    }
    .dh-related-list {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .dh-related-card {
        padding: 10px 12px !important;
    }
    .dh-card-icon {
        width: 32px !important;
        height: 32px !important;
    }
    .dh-card-name {
        font-size: 13px !important;
    }
    .dh-card-desc {
        font-size: 11px !important;
    }
}
@media (max-width: 420px) {
    .dh-related-card {
        padding: 8px 10px !important;
    }
}
body.dark-mode .dh-related-card {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .dh-related-card:hover {
    background: #3a4460 !important;
    border-color: #4a6cf7 !important;
}
body.dark-mode .dh-card-name {
    color: #e2e8f0 !important;
}
body.dark-mode .dh-card-desc {
    color: #a0aec0 !important;
}
body.dark-mode .dh-reload-btn {
    color: #a0aec0 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .dh-reload-btn:hover {
    background: #4a5568 !important;
}

.post-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.post-main {
    flex: 1;
    min-width: 0;
}
.post-sidebar-right {
    flex: 0 0 260px;
    width: 260px;
    position: sticky;
    top: 20px;
}
@media (max-width: 768px) {
    .post-layout {
        flex-direction: column;
        gap: 0 !important;
    }
    .post-main {
        width: 100% !important;
    }
    .post-sidebar-right {
        width: 100% !important;
        flex: 1 !important;
        position: static !important;
        margin-top: 16px !important;
    }
}

/* ============================================================
   12. 福利社
   ============================================================ */
.welfare-card {
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
    border: 1px solid #f6e05e;
    border-radius: 16px;
    padding: 18px 20px;
}
.welfare-card .welfare-title {
    font-size: 16px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.welfare-card .welfare-title i {
    color: #f6ad55;
    font-size: 20px;
}
.welfare-card .welfare-title span {
    font-size: 12px;
    font-weight: 400;
    color: #b7791f;
    margin-left: auto;
}
.welfare-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.welfare-list .welfare-item {
    display: flex;
    align-items: center;
    gap: 12px !important;
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 10px !important;
    border: 1px solid #fef3c7 !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    transition: background 0.2s ease !important;
    margin-bottom: 6px !important;
}
.welfare-list .welfare-item:last-child {
    margin-bottom: 0 !important;
}
.welfare-list .welfare-item:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}
.welfare-list .welfare-item a,
.welfare-list .welfare-item span {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
}
.welfare-list .welfare-item .wi-icon {
    flex-shrink: 0 !important;
    width: 32px !important;
    text-align: center !important;
    font-size: 20px !important;
    color: #f6ad55 !important;
}
.welfare-list .welfare-item .wi-content {
    flex: 1 !important;
    min-width: 0 !important;
}
.welfare-list .welfare-item .wi-content h5 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}
.welfare-list .welfare-item .wi-content p {
    font-size: 12px !important;
    color: #a0aec0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}
@media (max-width: 768px) {
    .welfare-card {
        padding: 14px 16px !important;
    }
    .welfare-card .welfare-title {
        font-size: 15px !important;
    }
    .welfare-list .welfare-item {
        padding: 6px 10px !important;
    }
    .welfare-list .welfare-item .wi-icon {
        font-size: 18px !important;
        width: 26px !important;
    }
    .welfare-list .welfare-item .wi-content h5 {
        font-size: 13px !important;
    }
    .welfare-list .welfare-item .wi-content p {
        font-size: 11px !important;
    }
}
@media (max-width: 420px) {
    .welfare-list .welfare-item {
        padding: 4px 8px !important;
    }
    .welfare-list .welfare-item .wi-content h5 {
        font-size: 12px !important;
    }
}
body.dark-mode .welfare-card {
    background: linear-gradient(145deg, #3a3830, #2d3748) !important;
    border-color: #5a4a2a !important;
}
body.dark-mode .welfare-card .welfare-title {
    color: #d69e2e !important;
}
body.dark-mode .welfare-list .welfare-item {
    background: rgba(45, 55, 72, 0.7) !important;
    border-color: #4a5568 !important;
}
body.dark-mode .welfare-list .welfare-item:hover {
    background: rgba(45, 55, 72, 0.9) !important;
}
body.dark-mode .welfare-list .welfare-item .wi-content h5 {
    color: #e2e8f0 !important;
}
body.dark-mode .welfare-list .welfare-item .wi-content p {
    color: #a0aec0 !important;
}

/* ============================================================
   13. 反馈弹窗
   ============================================================ */
.dh-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.dh-modal-overlay.active {
    display: flex;
}
.dh-modal-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.dh-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dh-modal-title .close-btn {
    cursor: pointer;
    color: #a0aec0;
    font-size: 24px;
    transition: 0.2s;
}
.dh-modal-title .close-btn:hover {
    color: #1a202c;
}
.dh-modal-body .form-group {
    margin-bottom: 16px;
}
.dh-modal-body label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 4px;
}
.dh-modal-body .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dh-modal-body .radio-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: normal;
    cursor: pointer;
    background: #f7fafc;
    padding: 6px 16px;
    border-radius: 20px;
    transition: 0.2s;
    font-size: 14px;
}
.dh-modal-body .radio-group label:hover {
    background: #edf2f7;
}
.dh-modal-body .radio-group input[type="radio"] {
    accent-color: #4a6cf7;
}
.dh-modal-body textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: 0.2s;
    background: #f7fafc;
}
.dh-modal-body textarea:focus {
    border-color: #4a6cf7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.08);
}
.dh-modal-body .btn-submit-feedback {
    width: 100%;
    padding: 12px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.dh-modal-body .btn-submit-feedback:hover {
    background: #3a5cd9;
    transform: translateY(-1px);
}
.dh-modal-body .btn-submit-feedback:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.dh-feedback-success {
    text-align: center;
    padding: 20px 0;
}
.dh-feedback-success i {
    font-size: 48px;
    color: #48bb78;
    display: block;
    margin-bottom: 10px;
}
.dh-feedback-success p {
    font-size: 16px;
    color: #2d3748;
}
.feedback-tip {
    background: #ebf8ff;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 4px solid #4a6cf7;
    font-size: 14px;
    color: #2b6cb0;
    margin-bottom: 16px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .dh-modal-box {
        padding: 20px !important;
        width: 95% !important;
    }
    .dh-modal-title {
        font-size: 18px !important;
    }
    .dh-modal-body .radio-group label {
        font-size: 13px !important;
        padding: 4px 12px !important;
    }
    .dh-modal-body textarea {
        font-size: 13px !important;
    }
    .feedback-tip {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }
}
body.dark-mode .dh-modal-overlay .dh-modal-box {
    background: #2d3748 !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-title {
    color: #e2e8f0 !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-title .close-btn {
    color: #a0aec0 !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-title .close-btn:hover {
    color: #fff !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-body label {
    color: #cbd5e0 !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-body .radio-group label {
    background: #4a5568 !important;
    color: #cbd5e0 !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-body .radio-group label:hover {
    background: #5a6b7a !important;
}
body.dark-mode .dh-modal-overlay .dh-modal-body textarea {
    background: #4a5568 !important;
    border-color: #5a6b7a !important;
    color: #cbd5e0 !important;
}
body.dark-mode .dh-modal-overlay .feedback-tip {
    background: #2a3a4a !important;
    color: #6a8cff !important;
}

/* ============================================================
   14. 首页卡片 - 温和悬浮效果（增强版）
   ============================================================ */
.page-home .content-urls-card {
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.page-home .content-urls-card:hover {
    transform: translateY(-3px) !important;
    border-color: #4a6cf7 !important;
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.08) !important;
    background: #ffffff !important;
}
.page-home .content-urls-card.is-recommend:hover {
    background: linear-gradient(145deg, #fff8e7, #fef3c7) !important;
    border-color: #ecc94b !important;
    box-shadow: 0 6px 20px rgba(236, 201, 75, 0.15) !important;
}
.page-home .content-urls-card:hover .content-url-img img {
    transform: scale(1.04) !important;
    transition: transform 0.3s ease !important;
}
.page-home .content-urls-card:hover .content-url-info strong {
    color: #4a6cf7 !important;
}

/* ============================================================
   15. 深色模式（覆盖卡片部分）
   ============================================================ */
body.dark-mode .content-item {
    background: rgba(26, 32, 44, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
body.dark-mode .content-item-head-left h4 {
    color: #e2e8f0 !important;
}
body.dark-mode .content-urls-card {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .content-urls-card:hover {
    border-color: #4a6cf7 !important;
    background: #3a4460 !important;
}
body.dark-mode .content-urls-card.is-recommend {
    background: #3a3830 !important;
    border-color: #5a4a2a !important;
}
body.dark-mode .content-urls-card.is-recommend:hover {
    background: #3a3830 !important;
    border-color: #5a4a2a !important;
}
body.dark-mode .content-url-info strong {
    color: #e2e8f0 !important;
}
body.dark-mode .content-urls-card:hover .content-url-info strong {
    color: #6a8cff !important;
}
body.dark-mode .content-url-info p {
    color: #a0aec0 !important;
}
body.dark-mode .category-header {
    border-bottom-color: #4a5568 !important;
}
body.dark-mode .category-header h1 {
    color: #e2e8f0 !important;
}
body.dark-mode .category-header h1 i {
    background: rgba(74, 108, 247, 0.2) !important;
}
body.dark-mode .category-header .category-count {
    background: #4a5568 !important;
    color: #a0aec0 !important;
}
body.dark-mode .group-tab {
    color: #a0aec0 !important;
    background: #4a5568 !important;
}
body.dark-mode .group-tab:hover {
    background: #5a6b7a !important;
    color: #e2e8f0 !important;
}
body.dark-mode .group-tab.active {
    background: #4a6cf7 !important;
    color: #fff !important;
}
body.dark-mode .group-title {
    background: linear-gradient(135deg, #2d3748, #4a5568) !important;
    color: #e2e8f0 !important;
}
body.dark-mode .rank-card {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}
body.dark-mode .rank-card .rank-title {
    color: #e2e8f0 !important;
    border-bottom-color: #4a5568 !important;
}
body.dark-mode .rank-name {
    color: #cbd5e0 !important;
}
body.dark-mode .rank-list li {
    border-bottom-color: #4a5568 !important;
}
body.dark-mode .rank-list li:hover {
    background: #3a4460 !important;
}
body.dark-mode .rank-count {
    background: #4a5568 !important;
    color: #a0aec0 !important;
}
body.dark-mode .rank-num.default {
    background: #5a6b7a !important;
    color: #cbd5e0 !important;
}
body.dark-mode .pagination {
    border-top-color: #4a5568 !important;
}
body.dark-mode .pagination .pagination-total {
    color: #a0aec0 !important;
}
body.dark-mode .pagination a {
    color: #6a8cff !important;
}
body.dark-mode .pagination a:hover {
    background: #4a5568 !important;
    border-color: #5a6b7a !important;
}
body.dark-mode .pagination .pagination-page.active {
    background: #4a6cf7 !important;
    color: #fff !important;
}
body.dark-mode .ai-tool-card {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
    color: #cbd5e0 !important;
}
body.dark-mode .ai-tool-card:hover {
    background: #3a4460 !important;
    border-color: #4a6cf7 !important;
}
body.dark-mode .ai-tool-card span {
    color: #e2e8f0 !important;
}
body.dark-mode .content-url-img {
    background: #4a5568 !important;
    border-color: #5a6b7a !important;
}
body.dark-mode .content-url-togo {
    background: #4a5568 !important;
    color: #a0aec0 !important;
}
body.dark-mode .content-url-togo:hover {
    background: #4a6cf7 !important;
    color: #fff !important;
}
/* 手机端隐藏首页简介文字 */
@media (max-width: 768px) {
    .home-intro {
        display: none !important;
    }
}
/* ============================================================
   分类页 - 整个主内容区渐变色背景
   ============================================================ */
body.category-page .main-content {
    background: linear-gradient(145deg, #f0f6ff 0%, #dce5f5 50%, #c8d4ec 100%) !important;
    min-height: 100vh;
    padding-bottom: 40px !important;
}

/* 让内容容器透明，显示背景 */
body.category-page .dh-content {
    background: transparent !important;
}

/* 卡片保持半透明毛玻璃效果 */
body.category-page .content-item,
body.category-page .rank-card {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* 分类标题和分组标签透明，融入背景 */
body.category-page .category-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 16px 0 12px 0 !important;
}
body.category-page .group-tabs {
    background: transparent !important;
    padding: 0 0 16px 0 !important;
}

/* 深色模式适配 */
body.dark-mode.category-page .main-content {
    background: linear-gradient(145deg, #1a2848 0%, #0f1a2e 50%, #0a1520 100%) !important;
}
body.dark-mode.category-page .content-item,
body.dark-mode.category-page .rank-card {
    background: rgba(26, 32, 44, 0.8) !important;
}