/* roulang page: index */
:root {
            --brand-primary: #1e40af;
            --brand-primary-hover: #172554;
            --brand-accent: #2563eb;
            --brand-cyan: #0284c7;
            --brand-light: #eff6ff;
            --brand-bg: #f8fafc;
            --text-heading: #0f172a;
            --text-body: #334155;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --card-radius: 14px;
            --card-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.05), 0 8px 10px -6px rgba(30, 64, 175, 0.05);
            --sidebar-width: 260px;
        }
        * { box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background-color: var(--brand-bg);
            color: var(--text-body);
            line-height: 1.65;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
        }
        a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
        .app-layout { display: flex; min-height: 100vh; }
        .sidebar {
            width: var(--sidebar-width);
            background: #ffffff;
            border-right: 1px solid var(--border-color);
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            z-index: 1020;
            display: flex;
            flex-direction: column;
        }
        .sidebar-brand {
            height: 76px;
            padding: 0 24px;
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }
        .brand-logo-badge {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 20px;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .brand-text {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-heading);
            line-height: 1.3;
        }
        .sidebar-menu {
            padding: 24px 16px;
            flex-grow: 1;
            overflow-y: auto;
        }
        .nav-category-title {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 0 12px 8px;
            margin-top: 12px;
        }
        .nav-link-custom {
            display: flex;
            align-items: center;
            padding: 10px 14px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-body);
            border-radius: 8px;
            margin-bottom: 4px;
            position: relative;
            transition: all 0.2s ease;
        }
        .nav-link-custom i {
            font-size: 18px;
            margin-right: 12px;
            color: var(--text-muted);
            transition: all 0.2s ease;
        }
        .nav-link-custom:hover {
            background-color: var(--brand-light);
            color: var(--brand-primary);
        }
        .nav-link-custom:hover i {
            color: var(--brand-primary);
        }
        .nav-link-custom.active {
            background-color: var(--brand-light);
            color: var(--brand-primary);
            font-weight: 600;
        }
        .nav-link-custom.active i {
            color: var(--brand-primary);
        }
        .nav-link-custom.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 6px;
            bottom: 6px;
            width: 3px;
            background-color: var(--brand-accent);
            border-radius: 0 3px 3px 0;
        }
        .sidebar-footer-card {
            margin: 16px;
            padding: 16px;
            background: var(--brand-light);
            border-radius: 10px;
            border: 1px solid #dbeafe;
        }
        .main-wrapper {
            flex: 1;
            margin-left: var(--sidebar-width);
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .top-subbar {
            height: 64px;
            background: #ffffff;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 36px;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .mobile-header { display: none; }
        .content-area {
            padding: 0 36px;
            max-width: 1440px;
            width: 100%;
            margin: 0 auto;
        }
        .section-padding {
            padding-top: 72px;
            padding-bottom: 72px;
        }
        .section-header {
            margin-bottom: 40px;
        }
        .section-title {
            font-size: 26px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }
        .section-subtitle {
            font-size: 15px;
            color: var(--text-muted);
            max-width: 860px;
            margin: 0;
            line-height: 1.7;
        }
        .custom-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: var(--card-radius);
            box-shadow: var(--card-shadow);
            padding: 28px;
            transition: all 0.25s ease-in-out;
            height: 100%;
        }
        .custom-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 25px -5px rgba(30, 64, 175, 0.08), 0 10px 10px -5px rgba(30, 64, 175, 0.04);
            border-color: #cbd5e1;
        }
        .hero-banner-metric {
            background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 48px;
            box-shadow: var(--card-shadow);
            margin-top: 36px;
        }
        .hero-title {
            font-size: 34px;
            font-weight: 800;
            color: var(--text-heading);
            letter-spacing: -0.03em;
            margin-bottom: 16px;
            line-height: 1.35;
        }
        .hero-desc {
            font-size: 16px;
            color: var(--text-body);
            max-width: 980px;
            line-height: 1.8;
            margin-bottom: 32px;
        }
        .metric-badge-box {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
        }
        .metric-val {
            font-size: 28px;
            font-weight: 800;
            color: var(--brand-primary);
            line-height: 1.1;
        }
        .metric-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            margin-top: 6px;
        }
        .tag-pill {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 600;
            border-radius: 6px;
            background: var(--brand-light);
            color: var(--brand-accent);
        }
        .btn-brand {
            background-color: var(--brand-accent);
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            font-weight: 600;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        .btn-brand:hover {
            background-color: var(--brand-primary);
            color: #ffffff;
        }
        .btn-brand-soft {
            background-color: var(--brand-light);
            color: var(--brand-primary);
            border: 1px solid #bfdbfe;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 600;
            font-size: 14px;
        }
        .btn-brand-soft:hover {
            background-color: #dbeafe;
            color: var(--brand-primary-hover);
        }
        .table-custom {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            overflow: hidden;
            background: #ffffff;
        }
        .table-custom th {
            background: #f8fafc;
            color: var(--text-heading);
            font-weight: 700;
            font-size: 14px;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }
        .table-custom td {
            padding: 16px 20px;
            font-size: 14px;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-body);
        }
        .table-custom tr:last-child td {
            border-bottom: none;
        }
        .timeline-box {
            position: relative;
            padding-left: 28px;
            border-left: 2px solid #bfdbfe;
        }
        .timeline-item {
            position: relative;
            margin-bottom: 32px;
        }
        .timeline-item::before {
            content: "";
            position: absolute;
            left: -35px;
            top: 4px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #ffffff;
            border: 3px solid var(--brand-accent);
        }
        .accordion-custom .accordion-item {
            border: 1px solid var(--border-color);
            border-radius: 12px !important;
            margin-bottom: 16px;
            background: #ffffff;
            box-shadow: var(--card-shadow);
            overflow: hidden;
        }
        .accordion-custom .accordion-button {
            font-weight: 600;
            font-size: 16px;
            color: var(--text-heading);
            padding: 20px 24px;
            background: #ffffff;
            box-shadow: none;
        }
        .accordion-custom .accordion-button:not(.collapsed) {
            color: var(--brand-primary);
            background: var(--brand-light);
            box-shadow: inset 0 -1px 0 var(--border-color);
        }
        .accordion-custom .accordion-body {
            padding: 20px 24px;
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.8;
        }
        .footer-custom {
            background: #ffffff;
            border-top: 1px solid var(--border-color);
            padding: 48px 36px 36px;
            margin-top: auto;
        }
        @media (max-width: 991.98px) {
            .sidebar { display: none; }
            .main-wrapper { margin-left: 0; }
            .mobile-header {
                display: flex;
                height: 64px;
                background: #ffffff;
                border-bottom: 1px solid var(--border-color);
                align-items: center;
                justify-content: space-between;
                padding: 0 20px;
                position: sticky;
                top: 0;
                z-index: 1030;
            }
            .content-area { padding: 0 16px; }
            .hero-banner-metric { padding: 28px 20px; }
            .hero-title { font-size: 26px; }
            .top-subbar { display: none; }
            .section-padding { padding-top: 48px; padding-bottom: 48px; }
        }

/* roulang page: category1 */
:root {
        --brand-primary: #1e40af;
        --brand-primary-hover: #172554;
        --brand-accent: #2563eb;
        --brand-cyan: #0284c7;
        --brand-light: #eff6ff;
        --brand-bg: #f8fafc;
        --text-heading: #0f172a;
        --text-body: #334155;
        --text-muted: #64748b;
        --border-color: #e2e8f0;
        --card-radius: 14px;
        --card-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.05), 0 8px 10px -6px rgba(30, 64, 175, 0.05);
        --sidebar-width: 260px;
    }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
        background-color: var(--brand-bg);
        color: var(--text-body);
        line-height: 1.65;
        margin: 0;
        padding: 0;
        -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
    .layout-container {
        display: flex;
        min-height: 100vh;
    }
    .sidebar-wrapper {
        width: var(--sidebar-width);
        background: #ffffff;
        border-right: 1px solid var(--border-color);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: flex;
        flex-direction: column;
    }
    .sidebar-brand {
        height: 76px;
        padding: 0 24px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
    }
    .brand-logo-badge {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 20px;
        margin-right: 12px;
        flex-shrink: 0;
    }
    .brand-badge {
        width: 28px;
        height: 28px;
        background: var(--brand-light);
        color: var(--brand-accent);
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
    .brand-text {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-heading);
        line-height: 1.3;
    }
    .sidebar-menu {
        padding: 24px 16px;
        flex-grow: 1;
        overflow-y: auto;
    }
    .nav-category-title {
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0 12px 8px;
        margin-top: 12px;
    }
    .nav-link-custom {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-body);
        border-radius: 8px;
        margin-bottom: 4px;
        position: relative;
        transition: all 0.2s ease;
    }
    .nav-link-custom i {
        font-size: 18px;
        margin-right: 12px;
        color: var(--text-muted);
        transition: all 0.2s ease;
    }
    .nav-link-custom:hover {
        background-color: var(--brand-light);
        color: var(--brand-primary);
    }
    .nav-link-custom:hover i {
        color: var(--brand-primary);
    }
    .nav-link-custom.active {
        background-color: var(--brand-light);
        color: var(--brand-primary);
        font-weight: 600;
    }
    .nav-link-custom.active i {
        color: var(--brand-primary);
    }
    .nav-link-custom.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        bottom: 6px;
        width: 3px;
        background-color: var(--brand-accent);
        border-radius: 0 3px 3px 0;
    }
    .sidebar-footer-card {
        margin: 16px;
        padding: 16px;
        background: var(--brand-light);
        border-radius: 10px;
        border: 1px solid #dbeafe;
    }
    .main-wrapper {
        flex: 1;
        margin-left: var(--sidebar-width);
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .mobile-header { display: none; }
    .top-bar-panel {
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 14px 36px;
    }
    .content-area {
        padding: 0 36px;
        max-width: 1440px;
        width: 100%;
        margin: 0 auto;
    }
    .section-padding {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .section-header {
        margin-bottom: 32px;
    }
    .section-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-heading);
        margin-bottom: 10px;
        letter-spacing: -0.02em;
    }
    .section-subtitle {
        font-size: 14px;
        color: var(--text-muted);
        max-width: 820px;
        margin: 0;
        line-height: 1.7;
    }
    .custom-card {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--card-radius);
        box-shadow: var(--card-shadow);
        padding: 24px;
        transition: all 0.25s ease-in-out;
        height: 100%;
    }
    .custom-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -5px rgba(30, 64, 175, 0.08), 0 10px 10px -5px rgba(30, 64, 175, 0.04);
        border-color: #cbd5e1;
    }
    .category-hero-panel {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 36px 40px;
        margin-top: 32px;
        box-shadow: var(--card-shadow);
    }
    .category-page-title {
        font-size: 30px;
        font-weight: 800;
        color: var(--text-heading);
        letter-spacing: -0.02em;
        margin-bottom: 12px;
    }
    .category-page-desc {
        font-size: 15px;
        color: var(--text-body);
        max-width: 900px;
        margin-bottom: 24px;
        line-height: 1.75;
    }
    .filter-pills-bar {
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
        align-items: center;
    }
    .filter-group {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .filter-group-label {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-muted);
    }
    .filter-pill-btn {
        font-size: 13px;
        padding: 6px 14px;
        border-radius: 20px;
        background: #f1f5f9;
        color: var(--text-body);
        font-weight: 500;
        border: 1px solid transparent;
        display: inline-block;
        transition: all 0.2s ease;
    }
    .filter-pill-btn:hover {
        background: var(--brand-light);
        color: var(--brand-primary);
    }
    .filter-pill-btn.active {
        background: var(--brand-primary);
        color: #ffffff;
        font-weight: 600;
    }
    .media-card {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--card-radius);
        overflow: hidden;
        box-shadow: var(--card-shadow);
        transition: all 0.25s ease-in-out;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .media-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -5px rgba(30, 64, 175, 0.08), 0 10px 10px -5px rgba(30, 64, 175, 0.04);
        border-color: #cbd5e1;
    }
    .media-thumb-area {
        height: 170px;
        background: linear-gradient(135deg, #1e293b, #334155);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
    }
    .media-thumb-area .preview-watermark {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        opacity: 0.85;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .media-res-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(4px);
        color: #38bdf8;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 4px;
        border: 1px solid rgba(56, 189, 248, 0.3);
    }
    .media-heat-badge {
        position: absolute;
        bottom: 12px;
        left: 12px;
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        font-size: 11px;
        padding: 2px 8px;
        border-radius: 4px;
    }
    .media-body {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .media-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-heading);
        margin-bottom: 8px;
        line-height: 1.4;
    }
    .media-snippet {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 16px;
        flex-grow: 1;
    }
    .media-scores {
        background: #f8fafc;
        border: 1px solid #edf2f7;
        border-radius: 8px;
        padding: 10px 12px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 14px;
        font-size: 12px;
    }
    .score-item-val {
        font-weight: 700;
        color: var(--brand-primary);
    }
    .media-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 16px;
    }
    .tag-pill {
        display: inline-flex;
        align-items: center;
        padding: 3px 8px;
        font-size: 11px;
        font-weight: 600;
        border-radius: 4px;
        background: var(--brand-light);
        color: var(--brand-accent);
    }
    .btn-brand-sm {
        background-color: var(--brand-accent);
        color: #ffffff;
        border: none;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        padding: 8px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        transition: all 0.2s ease;
    }
    .btn-brand-sm:hover {
        background-color: var(--brand-primary);
        color: #ffffff;
    }
    .editorial-card {
        background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
        border: 1px solid #bfdbfe;
        border-radius: 16px;
        padding: 36px;
        box-shadow: var(--card-shadow);
    }
    .editorial-badge {
        background: var(--brand-accent);
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 6px;
        display: inline-block;
        margin-bottom: 12px;
    }
    .editorial-title {
        font-size: 22px;
        font-weight: 700;
        color: var(--text-heading);
        margin-bottom: 14px;
    }
    .editorial-content {
        font-size: 14px;
        color: var(--text-body);
        line-height: 1.8;
    }
    .metric-counter-card {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 24px;
        text-align: center;
        box-shadow: var(--card-shadow);
    }
    .metric-number {
        font-size: 32px;
        font-weight: 800;
        color: var(--brand-primary);
        line-height: 1;
        margin-bottom: 8px;
    }
    .metric-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-heading);
        margin-bottom: 4px;
    }
    .metric-sub {
        font-size: 12px;
        color: var(--text-muted);
    }
    .topic-card {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 20px;
        box-shadow: var(--card-shadow);
        transition: all 0.2s ease;
        height: 100%;
        display: flex;
        gap: 16px;
        align-items: center;
    }
    .topic-card:hover {
        border-color: var(--brand-accent);
        transform: translateY(-2px);
    }
    .topic-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        background: var(--brand-light);
        color: var(--brand-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        flex-shrink: 0;
    }
    .topic-name {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-heading);
        margin-bottom: 4px;
    }
    .topic-desc {
        font-size: 12px;
        color: var(--text-muted);
        line-height: 1.5;
    }
    .faq-block {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 16px;
        box-shadow: var(--card-shadow);
    }
    .faq-question {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-heading);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .faq-answer {
        font-size: 14px;
        color: var(--text-body);
        line-height: 1.7;
    }
    .review-bubble {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 22px;
        box-shadow: var(--card-shadow);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .stars-line {
        color: #f59e0b;
        font-size: 13px;
        margin-bottom: 12px;
    }
    .review-text {
        font-size: 13px;
        color: var(--text-body);
        line-height: 1.7;
        margin-bottom: 16px;
    }
    .reviewer-meta {
        font-size: 12px;
        color: var(--text-muted);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed var(--border-color);
        padding-top: 12px;
    }
    @media (max-width: 991.98px) {
        .sidebar-wrapper { display: none; }
        .main-wrapper { margin-left: 0; }
        .mobile-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
            padding: 0 20px;
            background: #ffffff;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1030;
        }
        .content-area { padding: 0 16px; }
        .category-hero-panel { padding: 24px 20px; margin-top: 20px; }
        .category-page-title { font-size: 24px; }
        .section-padding { padding-top: 48px; padding-bottom: 48px; }
        .top-bar-panel { padding: 12px 16px; }
    }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
