:root {
    --brand-primary: #f59e0b;
    --brand-secondary: #ef4444;
    --brand-blue: #3b82f6;
    --brand-purple: #8b5cf6;
    --bg-base: #0a0a0f;
    --bg-surface: #111118;
    --bg-elevated: #1a1a26;
    --bg-card: #16161f;
    --bg-hover: #1f1f2e;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --text-accent: #f59e0b;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-display: 'Arial Black', 'Impact', 'Haettenschweiler', sans-serif;
    --font-body: 'Segoe UI', 'Trebuchet MS', 'Tahoma', sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1400px;
    --nav-height: 72px;
    --bg-secondary: #0f0f1a
}

body.light {
    --bg-base: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-elevated: #f1f3f5;
    --bg-card: #ffffff;
    --bg-hover: #e9ecef;
    --bg-secondary: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.1)
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow)
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700
}

h1 {
    font-size: clamp(1.74rem, 3.05vw, 2.26rem)
}

h2 {
    font-size: clamp(1.18rem, 2.1vw, 1.65rem)
}

h3 {
    font-size: clamp(1rem, 1.6vw, 1.28rem)
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition)
}

a:hover {
    color: var(--brand-primary)
}

a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
    border-radius: 4px
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--brand-primary);
    color: #000;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 9999;
    transition: top .2s
}

.skip-link:focus {
    top: 16px
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 48px 0
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border)
}

.section-title {
    font-size: clamp(1.08rem, 1.7vw, 1.38rem);
    font-weight: 700;
    line-height: 1.28;
    display: flex;
    align-items: center;
    gap: 8px
}

.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--brand-primary);
    border-radius: 2px;
    display: inline-block
}

.section-header .text-muted {
    font-size: .84rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none
}

.btn-primary {
    background: var(--brand-primary);
    color: #000
}

.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, .4)
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border)
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary)
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary)
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-elevated)
}

.view-all-link {
    color: var(--brand-primary);
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none
}

.btn-primary {
    background: var(--brand-primary);
    color: #000
}

.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, .4)
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border)
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary)
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary)
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-elevated)
}

.view-all-link {
    color: var(--brand-primary);
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px
}

.view-all-link::after {
    content: "â†’";
    transition: transform var(--transition)
}

.view-all-link:hover::after {
    transform: translateX(4px)
}

.hero-section {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a00 50%, #0a0a0f 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 158, 11, .12) 0%, transparent 70%);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .3);
    color: var(--brand-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f59e0b 60%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.category-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 8px
}

.category-pills::-webkit-scrollbar {
    display: none
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none
}

.category-pill:hover,
.category-pill.active {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary);
    transform: translateY(-1px)
}

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

.video-grid-hero {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))
}

.video-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative
}

.video-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover)
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-elevated)
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow)
}

.video-card:hover .video-thumb img {
    transform: scale(1.06)
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, .85);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .5px
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition)
}

.video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, .3)
}

.video-play-overlay svg {
    opacity: 0;
    transform: scale(.8);
    transition: all var(--transition)
}

.video-card:hover .video-play-overlay svg {
    opacity: 1;
    transform: scale(1)
}

.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px
}

.badge-trending {
    background: #ef4444;
    color: #fff
}

.badge-featured {
    background: var(--brand-primary);
    color: #000
}

.video-info {
    padding: 14px
}

.video-channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px
}

.channel-name {
    font-size: .8rem;
    color: var(--text-secondary);
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.verified-icon {
    color: #3b82f6;
    font-size: .8rem
}

.video-title {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px
}

.video-title:hover {
    color: var(--brand-primary)
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
    color: var(--text-muted)
}

.video-meta-left {
    display: flex;
    gap: 10px
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 600;
    background: rgba(245, 158, 11, .12);
    color: var(--brand-primary);
    border: 1px solid rgba(245, 158, 11, .2)
}

.cat-link {
    text-decoration: none
}

.ad-container {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.ad-container::before {
    content: attr(aria-label);
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: .65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px
}

.ad-leaderboard {
    margin-bottom: 0;
    min-height: 90px
}

.ad-rectangle {
    min-height: 250px
}

.ad-footer-banner {
    margin-top: 40px
}

.ad-in-content {
    margin: 32px 0
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: .9rem;
    transition: all var(--transition);
    text-decoration: none
}

.page-btn:hover,
.page-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #000
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
    border-radius: var(--radius-md)
}

@keyframes skeleton-pulse {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.breadcrumb ol {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 20px
}

.breadcrumb ol li+li::before {
    content: '/';
    margin-right: 8px;
    opacity: .4
}

.breadcrumb a:hover {
    color: var(--brand-primary)
}

.text-center {
    text-align: center
}

.hidden {
    display: none !important
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

.legal-content h2 {
    margin: 28px 0 12px;
    font-size: 1.2rem;
    color: var(--brand-primary)
}

.legal-content p,
.legal-content li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7
}

.legal-content ul {
    padding-left: 20px
}

.legal-lang-switcher {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border)
}

.legal-lang-switcher a {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: .8rem;
    color: var(--text-muted)
}

.legal-lang-switcher a.active,
.legal-lang-switcher a:hover {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary)
}

@media(max-width:768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px
    }

    .hero-section {
        padding: 60px 0 40px
    }

    .section {
        padding: 32px 0
    }

    .container {
        padding: 0 14px
    }

    .section-title {
        font-size: clamp(1rem, 4.2vw, 1.2rem)
    }

    .section-title::before {
        height: 14px
    }
}

@media(max-width:480px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .video-title {
        font-size: .82rem
    }
}

body.light {
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.16);
    --border-hover: rgba(15, 23, 42, 0.24)
}

.scroll-top-btn {
    position: fixed;
    right: 26px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.96);
    transition: opacity var(--transition), transform var(--transition), border-color var(--transition), color var(--transition), background-color var(--transition)
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1)
}

.scroll-top-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--bg-card)
}

.scroll-top-btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px
}

.scroll-top-icon {
    display: block;
    transform: rotate(90deg);
    margin-top: -1px
}

@media(max-width:768px) {
    .scroll-top-btn {
        right: 16px;
        bottom: 14px;
        width: 40px;
        height: 40px;
        font-size: 1.08rem
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
    text-align: center
}

.stat-card.highlight {
    border-color: var(--brand-primary)
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary)
}

.stat-label {
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: 4px
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}

.channel-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover)
}

.channel-banner {
    aspect-ratio: 16/5;
    background: linear-gradient(135deg, #1a1a26, #0a0a0f);
    position: relative;
    overflow: hidden
}

.channel-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.channel-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    background: var(--bg-elevated);
    position: absolute;
    bottom: -20px;
    left: 20px;
    object-fit: cover
}

.channel-info {
    padding: 28px 20px 16px;
    flex: 1
}

.channel-info-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary)
}

.channel-info-meta {
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px
}

.channel-info-desc {
    font-size: .85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.search-result-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition)
}

.search-result-card:hover {
    border-color: var(--brand-primary);
    transform: translateX(4px)
}

.search-result-thumb {
    aspect-ratio: 16/9;
    overflow: hidden
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow)
}

.search-result-card:hover .search-result-thumb img {
    transform: scale(1.04)
}

.search-result-info {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.search-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.search-result-meta {
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.search-result-desc {
    font-size: .85rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    max-width: 640px;
    margin: 0 auto
}

.form-group {
    margin-bottom: 20px
}

.form-label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary)
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: .92rem;
    transition: border-color var(--transition);
    outline: none
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-primary)
}

.form-textarea {
    min-height: 120px;
    resize: vertical
}

.form-success {
    background: rgba(16, 185, 129, .12);
    border: 1px solid #10b981;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: #10b981;
    margin-top: 12px
}

.form-error {
    background: rgba(239, 68, 68, .12);
    border: 1px solid #ef4444;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: #ef4444;
    margin-top: 12px
}

.about-hero {
    text-align: center;
    padding: 60px 0 40px
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 1px;
    color: var(--brand-primary);
    margin-bottom: 16px
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin: 40px 0
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    text-align: center
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px
}

.about-card h3 {
    margin-bottom: 8px;
    color: var(--text-primary)
}

.about-card p {
    font-size: .88rem;
    color: var(--text-secondary)
}

.trending-hero {
    background: linear-gradient(135deg, #1a0505, #0a0a0f);
    padding: 40px 0 32px;
    text-align: center;
    border-bottom: 1px solid var(--border)
}

.trending-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted)
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: .4
}

.empty-state h2 {
    margin-bottom: 8px;
    color: var(--text-secondary)
}

@media(max-width:991px) {
    .channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .search-result-card {
        grid-template-columns: 120px 1fr
    }

    .channel-grid {
        grid-template-columns: 1fr
    }
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
    padding: 3rem 0 2rem
}

.footer-nav-col h3 {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-muted);
    margin-bottom: .8rem
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem
}

.footer-nav-col ul a {
    font-size: .85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s
}

.footer-nav-col ul a:hover {
    color: var(--brand-primary)
}

.footer-support-col {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

@media(max-width:900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .footer-top {
        grid-template-columns: 1fr
    }
}

.dv-carousel {
    position: relative;
    padding: 0 44px;
    overflow: hidden;
    --dv-carousel-gap: 14px;
    --dv-carousel-cols: 4
}

.dv-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, calc((100% - (var(--dv-carousel-gap) * (var(--dv-carousel-cols) - 1))) / var(--dv-carousel-cols)));
    gap: var(--dv-carousel-gap);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch
}

.dv-carousel-track::-webkit-scrollbar {
    display: none
}

.dv-carousel-item {
    display: flex;
    min-width: 0;
    width: 100%;
    align-self: stretch;
    scroll-snap-align: start
}

.dv-carousel-track>.dv-carousel-item,
.dv-carousel-track>a.dv-carousel-item {
    width: 100%
}

.dv-carousel-item>* {
    width: 100%
}

.dv-carousel-item .video-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column
}

.dv-carousel-item .vc-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1
}

.dv-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border, #1e1e3a);
    background: rgba(7, 11, 20, 0.92);
    color: var(--text-primary, #fff);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2
}

.dv-carousel-btn:hover {
    border-color: var(--brand-primary, #f59e0b)
}

.dv-carousel-btn:disabled {
    opacity: .35;
    cursor: default
}

.dv-carousel-btn.prev {
    left: 0
}

.dv-carousel-btn.next {
    right: 0
}

.related-channels-section {
    margin-top: 20px
}

.fixed-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.rec-channel-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 100%;
    padding: 16px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)), var(--bg-card, #1a1a2e);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    width: 100%
}

.rec-channel-card:hover {
    border-color: var(--brand-primary, #f59e0b);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
    transform: translateY(-2px)
}

.rec-channel-top {
    display: flex;
    align-items: center;
    gap: 10px
}

.rec-channel-avatar {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    overflow: visible;
    flex-shrink: 0;
    background: var(--bg-secondary, #0f0f1a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary, #fff);
    font-size: .92rem;
    font-weight: 700;
    position: relative
}

.rec-channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px
}

.rec-channel-verified {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card, #1a1a2e)
}

.rec-channel-headings strong {
    display: block;
    color: var(--text-primary, #fff);
    line-height: 1.35;
    font-size: .94rem
}

.rec-channel-headings small {
    display: block;
    color: var(--text-muted, #64748b);
    margin-top: 3px;
    font-size: .78rem
}

.rec-channel-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px
}

.rec-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.08), rgba(148, 163, 184, 0.06));
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 10px;
    padding: 7px 8px;
    min-width: 0;
    transition: background .2s ease, border-color .2s ease, color .2s ease
}

.rec-stat-pill em {
    font-style: normal;
    font-size: .67rem;
    line-height: 1.2;
    color: var(--text-secondary, #cbd5e1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%
}

.rec-stat-pill strong {
    font-size: .9rem;
    line-height: 1.2;
    color: var(--text-primary, #fff);
    font-weight: 700
}

.rec-stat-likes {
    border-color: rgba(245, 158, 11, 0.38);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04))
}

body.light .rec-stat-pill {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: rgba(15, 23, 42, 0.14)
}

body.light .rec-stat-pill em {
    color: #334155
}

body.light .rec-stat-pill strong {
    color: #0f172a
}

body.light .rec-channel-headings small {
    color: #475569
}

body.light .rec-stat-likes {
    border-color: rgba(217, 119, 6, 0.34);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.07))
}

.ai-inline-image {
    margin: 14px 0
}

.ai-inline-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border, #1e1e3a);
    display: block
}

@media(max-width:1100px) {
    .dv-carousel {
        padding: 0 30px;
        --dv-carousel-cols: 2
    }

    .dv-carousel-track {
        grid-auto-columns: minmax(0, calc((100% - var(--dv-carousel-gap)) / 2))
    }
}

@media(max-width:768px) {
    .dv-carousel {
        --dv-carousel-cols: 1
    }

    .dv-carousel-track {
        grid-auto-columns: minmax(0, 100%)
    }
}

@media(max-width:560px) {
    .dv-carousel {
        padding: 0 24px
    }

    .dv-carousel-btn {
        width: 30px;
        height: 30px
    }
}

@media(max-width:991px) {
    .fixed-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:640px) {
    .fixed-grid-4 {
        grid-template-columns: 1fr
    }

    .rec-channel-stats {
        grid-template-columns: 1fr
    }
}

.donation-widget {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: .95rem;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)), var(--bg-card, rgba(9, 13, 26, 0.88));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2)
}

body.light .donation-widget {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03), rgba(15, 23, 42, 0)), #ffffff;
    border-color: rgba(15, 23, 42, 0.12)
}

.donation-header {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .1rem
}

.donation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .52rem;
    padding: .62rem .95rem;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s, filter .2s;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
    text-shadow: none;
    color: #f8fafc !important
}

.donation-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03)
}

.donation-btn--patreon {
    background: linear-gradient(135deg, #ff4e61, #e83a52);
    border-color: #d62f48;
    color: #fff4f6 !important;
    box-shadow: 0 12px 26px rgba(232, 58, 82, 0.34);
    text-shadow: none
}

.donation-btn--bmc {
    background: linear-gradient(135deg, #ffdd00, #ffc300);
    border-color: #d8a800;
    color: #251d00 !important;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(255, 195, 0, 0.3);
    text-shadow: none
}

.donation-btn--bmc:hover,
.donation-btn--patreon:hover {
    filter: brightness(1.07)
}

.donation-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.dv-share-wrap {
    margin: 20px 0 18px
}

.dv-share-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    background: var(--bg-card, #1a1a2e);
    margin-bottom: 24px
}

.dv-share-label {
    color: var(--text-secondary, #94a3b8);
    font-size: .85rem;
    font-weight: 600;
    margin-right: 2px
}

.dv-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border, #1e1e3a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22)
}

.dv-share-btn i {
    font-style: normal;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1
}

.dv-share-btn i::before {
    content: ''
}

.dv-share-btn .fa-whatsapp::before {
    content: 'WA'
}

.dv-share-btn .fa-facebook-f::before {
    content: 'FB'
}

.dv-share-btn .fa-x-twitter::before {
    content: 'X'
}

.dv-share-btn .fa-pinterest-p::before {
    content: 'P'
}

.dv-share-btn .fa-tumblr::before {
    content: 'T'
}

.dv-share-btn .fa-envelope::before {
    content: '@'
}

.dv-share-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08)
}

.dv-share-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.dv-share-wa {
    background: #25d366;
    border-color: #1ebd59
}

.dv-share-fb {
    background: #1877f2;
    border-color: #0f5ec7
}

.dv-share-x {
    background: #0f172a;
    border-color: #334155
}

.dv-share-pin {
    background: #e60023;
    border-color: #b3001b
}

.dv-share-tumblr {
    background: #36465d;
    border-color: #2a374a
}

.dv-share-mail {
    background: #7c3aed;
    border-color: #6d28d9
}

@media(max-width:680px) {
    .dv-share-container {
        justify-content: center
    }

    .dv-share-label {
        width: 100%;
        text-align: center;
        margin-right: 0
    }
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px
}

.post-card {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    overflow: hidden
}

.post-card-link {
    display: block;
    color: inherit;
    text-decoration: none
}

.post-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.post-body {
    padding: 12px
}

.post-top-meta {
    margin-bottom: 8px
}

.post-category {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    background: rgba(15, 23, 42, 0.6);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease
}

a.post-category:hover {
    color: var(--text-primary, #fff);
    border-color: rgba(245, 158, 11, 0.52);
    background: rgba(245, 158, 11, 0.14)
}

body.light .post-category {
    color: #334155;
    border-color: rgba(148, 163, 184, 0.58);
    background: #f8fafc
}

body.light a.post-category:hover {
    color: #0f172a;
    border-color: rgba(245, 158, 11, 0.58);
    background: #fff3db
}

.post-title {
    margin: 0 0 8px;
    font-size: .96rem;
    color: var(--text-primary, #fff);
    line-height: 1.45
}

.post-title-link {
    color: inherit;
    text-decoration: none
}

.post-title-link:hover {
    color: var(--brand-primary, #f59e0b)
}

.post-excerpt {
    margin: 0 0 8px;
    color: var(--text-secondary, #94a3b8);
    font-size: .84rem;
    line-height: 1.6
}

.post-date {
    color: var(--text-muted, #64748b);
    font-size: .74rem
}

.post-meta-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.post-reading-time {
    color: var(--text-muted, #64748b);
    font-size: .74rem
}

.post-meta-inline .post-author-link {
    color: var(--text-muted, #64748b);
    font-size: .74rem;
    font-weight: 500;
    text-decoration: none
}

.post-meta-inline .post-author-link:hover {
    color: var(--text-secondary, #94a3b8)
}

.post-meta-inline>.post-author-link:not(:first-child)::before,
.post-meta-inline>.post-reading-time:not(:first-child)::before,
.post-meta-inline>.post-date:not(:first-child)::before {
    content: "\2022";
    margin-right: 8px;
    color: var(--text-muted, #64748b)
}

.post-page-wrap {
    padding-top: 32px
}

.post-article {
    margin-bottom: 16px
}

.post-page-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.3
}

.post-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px
}

.post-article .post-meta-row {
    margin: 0 0 14px
}

.post-article .post-meta-row .post-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(100, 116, 139, 0.34);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.52);
    color: var(--text-secondary, #94a3b8);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease
}

.post-article .post-meta-row .post-meta-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .38;
    flex: 0 0 7px
}

.post-article .post-meta-row a.post-meta-chip:hover {
    color: var(--text-primary, #fff);
    border-color: rgba(245, 158, 11, 0.52);
    background: rgba(245, 158, 11, 0.14);
    transform: translateY(-1px)
}

.post-article .post-meta-row .post-meta-chip-category {
    color: var(--text-secondary, #94a3b8)
}

.post-article .post-meta-row .post-meta-chip-author {
    color: var(--brand-primary, #f59e0b);
    font-weight: 600;
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08)
}

.post-article .post-meta-row .post-meta-chip-date,
.post-article .post-meta-row .post-meta-chip-reading {
    color: var(--text-muted, #64748b)
}

@media (max-width:640px) {
    .post-article .post-meta-row {
        gap: 7px
    }

    .post-article .post-meta-row .post-meta-chip {
        min-height: 28px;
        padding: 4px 9px;
        font-size: .74rem
    }
}

.post-featured-media {
    margin: 0 0 18px
}

.post-featured-media img {
    width: 100%;
    max-height: min(58vh, 520px);
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border, #1e1e3a);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24)
}

.post-excerpt-lead {
    margin: 0 0 14px;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.75
}

.post-content {
    margin-top: 0
}

.post-content p {
    margin: 0 0 12px
}

.post-content p:last-child {
    margin-bottom: 0
}

.post-recommended-wrap {
    padding: 8px 0 8px
}

.post-recommended-header {
    margin: 20px 0 12px
}

.post-recommended-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

@media (max-width:1024px) {
    .post-recommended-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media (max-width:900px) {
    .post-recommended-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:640px) {
    .post-recommended-grid {
        grid-template-columns: 1fr
    }
}

.static-page-wrap {
    padding-top: 32px;
    width: 100%
}

.static-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px
}

.static-page-icon {
    font-size: 2.3rem
}

.static-page-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary, #fff);
    margin: 0
}

.static-featured-media {
    margin: 0 0 16px
}

.static-featured-media img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border, #1e1e3a);
    background: var(--bg-card, #1a1a2e)
}

.static-page-body {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 14px;
    padding: 26px 28px
}

.static-page-body h2 {
    margin: 18px 0 8px;
    font-size: 1.1rem;
    color: var(--text-primary, #fff)
}

.static-page-body p {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: .95rem
}

.static-page-body p:last-child {
    margin-bottom: 0
}

.static-page-body a {
    color: var(--brand-primary, #f59e0b);
    text-decoration: none
}

.static-page-body a:hover {
    text-decoration: underline
}

.static-page-body strong {
    color: var(--text-primary, #fff)
}

@media (max-width:680px) {
    .static-page-wrap {
        max-width: 100%
    }

    .static-page-header {
        align-items: flex-start
    }

    .static-page-body {
        padding: 18px 16px
    }
}

.blog-page-wrap {
    padding-top: 32px
}

.blog-page-header {
    margin-bottom: 18px
}

.blog-page-intro {
    margin-bottom: 14px
}

.page-top-spacing {
    padding-top: 32px
}

.section-header-compact {
    margin-bottom: 18px
}

.section-header-compact .section-title {
    font-size: clamp(1.02rem, 1.55vw, 1.26rem)
}

.section-header-compact .text-muted {
    font-size: .82rem
}

.section-title-gap-lg {
    margin-bottom: 28px
}

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

.cat-card {
    --cat-color: #f59e0b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    transition: all .2s;
    border-top: 3px solid var(--cat-color, #f59e0b)
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
    border-color: var(--cat-color, #f59e0b)
}

.cat-card-icon {
    font-size: 2.2rem
}

.cat-card-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary, #fff)
}

.cat-card-desc {
    font-size: .75rem;
    color: var(--text-muted, #64748b);
    line-height: 1.4
}

.channels-filter-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 40px;
    align-items: end
}

.channels-filter-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0
}

.channels-filter-form label span {
    min-height: 18px
}

.channels-filter-form input,
.channels-filter-form select {
    border: 1px solid var(--border, #1e1e3a);
    background: var(--bg-elevated, #10141c);
    color: var(--text-primary, #fff);
    border-radius: 8px;
    padding: 7px 8px;
    min-height: 40px;
    width: 100%
}

.channels-filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
    min-width: 0;
    padding-top: 22px
}

.channels-filter-actions .btn {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.channels-filter-actions .btn:first-child:last-child {
    grid-column: 1 / -1
}

.channels-page-wrap .channel-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all .2s
}

.channels-page-wrap .channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
    border-color: var(--brand-primary, #f59e0b)
}

.channels-page-wrap .channel-card-body {
    padding: 14px 16px 16px
}

.channels-page-wrap .channel-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: visible;
    border: 3px solid var(--bg-card, #1a1a2e);
    margin-top: 0;
    position: relative;
    background: var(--bg-secondary, #0f0f1a);
    display: flex;
    align-items: center;
    justify-content: center
}

.channels-page-wrap .channel-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover
}

.channels-page-wrap .channel-card-initials {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary, #f59e0b)
}

.channels-page-wrap .channel-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #3b82f6;
    color: #fff;
    font-size: .6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card, #1a1a2e)
}

.channels-page-wrap .channel-card-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin: 10px 0 4px
}

.channels-page-wrap .channel-card-desc {
    font-size: .78rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.channels-page-wrap .channel-card-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px
}

.channels-page-wrap .channel-stat-pill {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    padding: 7px 8px
}

.channels-page-wrap .channel-stat-pill em {
    margin: 0;
    font-style: normal;
    font-size: .66rem;
    line-height: 1.2;
    color: var(--text-secondary, #94a3b8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%
}

.channels-page-wrap .channel-stat-pill strong {
    color: var(--text-primary, #fff);
    font-size: .85rem;
    line-height: 1.2;
    font-weight: 700
}

.channels-page-wrap .channel-stat-pill-likes {
    border-color: rgba(245, 158, 11, 0.42);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.05))
}

body.light .channels-page-wrap .channel-stat-pill {
    border-color: rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.92)
}

body.light .channels-page-wrap .channel-stat-pill-likes {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.09))
}

.channels-page-wrap .channel-card-category {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted, #64748b);
    font-size: .76rem
}

@media (max-width:640px) {
    .channels-page-wrap .channel-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .channels-page-wrap .channel-stat-pill-likes {
        grid-column: 1 / -1
    }
}

.authors-page-wrap .channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px
}

.authors-page-wrap .channel-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease
}

.authors-page-wrap .channel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.35)
}

.authors-page-wrap .channel-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
    padding: 16px
}

.authors-page-wrap .channel-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(148, 163, 184, 0.35);
    display: flex;
    align-items: center;
    justify-content: center
}

.authors-page-wrap .channel-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.authors-page-wrap .channel-card-initials {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary, #f59e0b)
}

.authors-page-wrap .channel-card-name {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--text-primary, #fff)
}

.authors-page-wrap .channel-card-desc {
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--text-secondary, #cbd5e1);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.authors-page-wrap .channel-card-stats {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.authors-page-wrap .channel-stat-pill {
    min-width: 110px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    padding: 7px 9px
}

body.light .authors-page-wrap .channel-stat-pill {
    border-color: rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.92)
}

.authors-page-wrap .channel-stat-pill em {
    margin: 0;
    font-style: normal;
    font-size: .67rem;
    color: var(--text-secondary, #94a3b8)
}

.authors-page-wrap .channel-stat-pill strong {
    color: var(--text-primary, #fff);
    font-size: .86rem;
    line-height: 1.2
}

.author-hero-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px
}

.author-hero-card .author-hero-media {
    width: 100%
}

.author-hero-card .author-hero-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.24)
}

body.light .author-hero-card {
    background: linear-gradient(155deg, #ffffff, #f8fafc);
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08)
}

body.light .author-hero-card .author-hero-media img {
    border-color: rgba(15, 23, 42, 0.2)
}

.author-detail-wrap .author-hero-content .post-page-title {
    margin-bottom: 8px
}

.author-detail-wrap .author-hero-content .post-meta-row {
    margin-bottom: 10px
}

@media (max-width:860px) {
    .author-hero-card {
        grid-template-columns: 1fr;
        text-align: center
    }

    .author-hero-card .author-hero-media {
        max-width: 220px;
        margin: 0 auto
    }

    .author-detail-wrap .author-hero-content .post-meta-row {
        justify-content: center
    }
}

.search-page-form {
    margin-bottom: 28px
}

.search-page-input-wrap {
    display: flex;
    gap: 0;
    max-width: 640px
}

.search-page-input {
    flex: 1;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 14px 18px;
    color: var(--text-primary, #fff);
    font-size: 1rem;
    outline: none
}

.search-page-input:focus {
    border-color: var(--brand-primary, #f59e0b)
}

.search-page-btn {
    background: var(--brand-primary, #f59e0b);
    color: #000;
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity .2s
}

.search-page-btn:hover {
    opacity: .85
}

.search-results-header {
    margin-bottom: 8px
}

.search-results-grid {
    margin-top: 20px
}

.cat-pills-bar {
    background: var(--bg-secondary, #0f0f1a);
    border-bottom: 1px solid var(--border, #1e1e3a);
    padding: 12px 0
}

.cat-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px
}

.cat-pills-scroll::-webkit-scrollbar {
    display: none
}

.cat-pill {
    --cat-color: #f59e0b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    color: var(--text-secondary, #94a3b8);
    white-space: nowrap;
    text-decoration: none
}

.cat-pill:hover {
    border-color: var(--cat-color, #f59e0b);
    color: var(--text-primary, #fff)
}

.cat-pill-trending {
    border-color: #ef4444;
    color: #ef4444
}

.cat-pill-channels {
    border-color: #3b82f6;
    color: #3b82f6
}

.portal-section {
    padding: 20px 0;
}

.portal-section-dark {
    background: var(--bg-secondary, #0f0f1a)
}

.see-all {
    text-decoration: none;
    color: var(--brand-primary, #f59e0b);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em
}

.see-all:hover {
    text-decoration: underline;
    text-underline-offset: 2px
}

.latest-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 16px
}

.latest-filter-form,
.latest-tools .channel-ajax-controls {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 10px;
    background: var(--bg-card, #1a1a2e);
    min-width: 0
}

.latest-filter-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: end
}

.latest-filter-form label,
.latest-tools .channel-ajax-controls label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0
}

.latest-filter-form select,
.latest-tools .channel-ajax-controls select,
.latest-tools .channel-ajax-controls input {
    border: 1px solid var(--border, #1e1e3a);
    background: var(--bg-elevated, #10141c);
    color: var(--text-primary, #fff);
    border-radius: 8px;
    padding: 7px 8px;
    min-height: 40px;
    width: 100%
}

.latest-tools .channel-ajax-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end
}

.latest-tools .channel-search-control {
    min-width: 0 !important;
    width: 100%
}

.latest-tools .channel-sort-control {
    min-width: 0 !important;
    width: 100%;
    justify-self: stretch
}

.channels-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px
}

.channel-strip-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card, #1a1a2e)
}

.channel-strip-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary, #0f0f1a);
    display: flex;
    align-items: center;
    justify-content: center
}

.channel-strip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.channel-strip-name {
    display: block;
    font-weight: 600
}

.channel-strip-verified {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    margin-left: 6px;
    background: #3b82f6;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    vertical-align: middle
}

.channel-strip-subs {
    color: var(--text-muted, #64748b);
    font-size: .85rem
}

.faq-accordion {
    margin: 18px 0 34px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 14px;
    background: var(--bg-card, #1a1a2e);
    padding: 14px
}

.faq-accordion-title {
    margin: 0 0 12px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-primary, #fff)
}

.faq-item {
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 10px;
    background: var(--bg-elevated, #0f1422);
    overflow: hidden
}

.faq-item+.faq-item {
    margin-top: 8px
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 11px 14px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    position: relative;
    padding-right: 40px
}

.faq-question::-webkit-details-marker {
    display: none
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary, #94a3b8);
    font-weight: 700
}

.faq-item[open] .faq-question::after {
    content: '-'
}

.faq-answer {
    border-top: 1px solid var(--border, #1e1e3a);
    padding: 10px 14px 12px
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.72
}

@media (max-width:980px) {
    .channels-filter-form {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .channels-filter-actions {
        grid-column: 1 / -1
    }
}

@media (max-width:920px) {
    .latest-tools {
        grid-template-columns: 1fr
    }

    .latest-filter-row,
    .channel-filter-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .latest-tools .channel-ajax-controls {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        align-items: end
    }

    .latest-tools .channel-search-control,
    .latest-tools .channel-sort-control {
        min-width: 0 !important;
        max-width: none;
        flex: unset !important
    }
}

@media (max-width:768px) {
    .video-page-wrap.video-page-layout {
        padding: 20px 16px 32px
    }
}

@media (max-width:640px) {
    .channels-filter-form {
        grid-template-columns: 1fr
    }

    .latest-filter-row,
    .channel-filter-row {
        grid-template-columns: 1fr
    }
}

@media (min-width:1024px) {
    .cat-pills-scroll {
        overflow: visible;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px
    }
}

.crypto-selector {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.crypto-label {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px
}

.crypto-select {
    width: 100%;
    background: var(--bg-elevated, #0f172a);
    border: 1px solid var(--border, #24324f);
    border-radius: 7px;
    padding: .45rem .7rem;
    color: var(--text-primary, #e2e8f0);
    font-size: .83rem;
    outline: none;
    cursor: pointer;
    transition: border-color .2s
}

.crypto-select:focus {
    border-color: var(--brand-primary, #f59e0b)
}

.crypto-address-box {
    background: var(--bg-elevated, #0f172a);
    border: 1px solid var(--border, #24324f);
    border-radius: 8px;
    padding: .6rem .8rem;
    margin-top: .2rem
}

.crypto-network-label {
    font-size: .72rem;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    margin-bottom: .3rem;
    text-transform: uppercase;
    letter-spacing: .4px
}

.crypto-address-row {
    display: flex;
    align-items: center;
    gap: .5rem
}

.crypto-address-text {
    font-size: .72rem;
    color: var(--text-secondary, #94a3b8);
    word-break: break-all;
    flex: 1;
    font-family: monospace
}

.copy-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #110b00;
    border: none;
    border-radius: 6px;
    padding: .3rem .6rem;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
    white-space: nowrap
}

.copy-btn:hover {
    opacity: .85
}

.copy-btn.copied {
    background: #10b981;
    color: #fff
}

.donation-btn span,
.donation-btn svg {
    color: inherit !important
}

.channel-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .8rem
}

.channel-social-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s
}

.channel-social-link:hover {
    opacity: .8
}

.channel-social-link.yt {
    background: rgba(255, 0, 0, .15);
    color: #ff4444
}

.channel-social-link.ig {
    background: rgba(225, 48, 108, .15);
    color: #e1306c
}

.channel-social-link.tw {
    background: rgba(29, 161, 242, .15);
    color: #1da1f2
}

.channel-social-link.tt {
    background: rgba(105, 201, 208, .15);
    color: #69c9d0
}

.channel-social-link.fb {
    background: rgba(24, 119, 242, .15);
    color: #1877f2
}

.channel-social-link.web {
    background: rgba(100, 116, 139, .15);
    color: #94a3b8
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.breadcrumb {
    min-width: 0
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: .82rem;
    color: var(--text-muted, #94a3b8);
    min-width: 0
}

.breadcrumb-list>.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: var(--text-muted, #94a3b8);
    opacity: .85;
    margin: 0 8px
}

.breadcrumb-item a {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    transition: color .15s;
    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block
}

.breadcrumb-item a:hover {
    color: var(--brand-primary, #f59e0b)
}

.breadcrumb-item>span[aria-current="page"] {
    color: var(--text-primary, #fff);
    font-weight: 500;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block
}

@media (max-width:600px) {
    .breadcrumb-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px
    }

    .breadcrumb {
        padding: 6px 0 10px;
        margin-bottom: 0;
        width: 100%
    }

    .breadcrumb-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: thin;
        scrollbar-color: rgba(100, 116, 139, .45) transparent
    }

    .breadcrumb-list::-webkit-scrollbar {
        height: 5px
    }

    .breadcrumb-list::-webkit-scrollbar-thumb {
        background: rgba(100, 116, 139, .45);
        border-radius: 999px
    }

    .breadcrumb-list>.breadcrumb-item+.breadcrumb-item::before {
        margin: 0 6px
    }

    .breadcrumb-item {
        flex: 0 0 auto;
        max-width: 72vw
    }

    .breadcrumb-item a,
    .breadcrumb-item>span[aria-current="page"] {
        max-width: 70vw
    }
}

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

.video-card {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4)
}

.vc-thumb-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden
}

.vc-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.video-card:hover .vc-thumb {
    transform: scale(1.04)
}

.vc-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s
}

.video-card:hover .vc-play {
    opacity: 1
}

.vc-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, .85);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px
}

.vc-cat-icon {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: .9rem;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .7)
}

.vc-info {
    padding: 12px
}

.vc-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary, #e2e8f0);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 8px
}

.vc-title:hover {
    color: var(--brand-primary, #f59e0b)
}

.vc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .75rem;
    color: var(--text-muted, #64748b);
    align-items: center
}

.vc-likes {
    color: var(--text-secondary, #94a3b8)
}

.vc-channel {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-weight: 500
}

.vc-channel:hover {
    color: var(--brand-primary, #f59e0b)
}

.vc-badge {
    color: #3b82f6;
    font-size: .75em;
    margin-left: 2px
}

.lang-flag-icon,
.mobile-flag-icon {
    width: 18px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    vertical-align: middle
}

.lang-flag-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 14px
}

.lang-current {
    gap: 8px
}

.mobile-lang .mobile-flag-icon {
    width: 18px;
    height: 14px
}

.site-header.scrolled .nav-container {
    height: 72px !important;
    gap: 16px !important;
    padding-left: 20px !important;
    padding-right: 20px !important
}

.site-header.scrolled .logo-icon {
    font-size: 1.8rem !important
}

.site-header.scrolled .logo-text {
    font-size: 1.4rem !important
}

.video-page-wrap.video-page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 24px 20px 40px
}

.video-page-main {
    min-width: 0
}

.video-player-wrap {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 8px
}

.video-player-embed {
    background: #000;
    aspect-ratio: 16 / 9
}

.video-player-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

.video-detail-info {
    padding: 18px 18px 20px
}

.video-detail-title {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.7vw, 2rem);
    line-height: 1.28;
    color: var(--text-primary, #fff)
}

.video-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px
}

.video-detail-channel,
.video-detail-cat {
    text-decoration: none
}

.video-detail-channel {
    color: var(--brand-primary, #f59e0b);
    font-size: .86rem;
    font-weight: 600
}

.video-detail-channel:hover {
    text-decoration: underline
}

.video-detail-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--border, #1e1e3a);
    color: var(--text-secondary, #94a3b8);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .78rem;
    font-weight: 600
}

.video-detail-stat {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted, #64748b);
    font-size: .78rem
}

.video-detail-desc p {
    margin: 0 0 10px;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.72
}

.video-seo-content {
    margin-top: 12px;
    background: var(--bg-elevated, #0f1422);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 16px
}

.video-seo-content h2,
.video-seo-content h3 {
    margin: 16px 0 8px;
    color: var(--text-primary, #fff)
}

.video-seo-content h2:first-child,
.video-seo-content h3:first-child {
    margin-top: 0
}

.video-seo-content p {
    margin: 0 0 12px;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.8
}

.video-seo-content p:last-child {
    margin-bottom: 0
}

.video-source-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    overflow-x: auto
}

.video-yt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 14px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: 1px solid #991b1b;
    font-size: .84rem;
    font-weight: 700
}

.video-yt-link:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border-color: #991b1b !important;
    text-decoration: none !important;
    filter: brightness(1.08)
}

.video-like-widget {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px 12px;
    align-items: center;
    margin-top: 0
}

.video-like-btn.is-liked {
    opacity: .92
}

.video-like-stats {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px 12px;
    color: var(--text-muted, #64748b);
    font-size: .78rem;
    white-space: nowrap
}

.video-like-sep {
    opacity: .75
}

.video-social-match {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.video-social-link {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600
}

.video-social-link.fb {
    background: rgba(24, 119, 242, .16);
    color: #1877f2
}

.video-social-link.ig {
    background: rgba(225, 48, 108, .16);
    color: #e1306c
}

.video-social-embed-wrap {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.video-social-embed-item {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 10px
}

.video-social-embed-item h3 {
    margin: 0 0 8px;
    color: var(--text-primary, #fff);
    font-size: .9rem
}

.video-social-embed-item iframe {
    width: 100%;
    min-height: 260px;
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 10px;
    background: #000
}

.video-related-title {
    margin: 20px 0 12px
}

.video-posts-section {
    padding: 18px 0 8px
}

.video-posts-header {
    margin: 20px 0 12px
}

.channel-page-wrap {
    padding-top: 32px
}

.channel-videos-header {
    margin: 28px 0 12px
}

.channel-load-sentinel {
    height: 1px
}

.channel-load-more-wrap {
    text-align: center;
    margin-top: 14px
}

.channel-related-header {
    margin: 20px 0 12px
}

.channel-posts-section {
    padding: 18px 0 8px
}

.channel-posts-header {
    margin: 20px 0 12px
}

.channel-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 16px
}

.channel-filter-form {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 10px 12px;
    width: 100%;
    height: 100%
}

.channel-ajax-controls {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 10px 12px;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end
}

.channel-filter-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: end
}

.channel-filter-row label,
.channel-ajax-controls label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0
}

.channel-filter-row select,
.channel-ajax-controls select,
.channel-ajax-controls input {
    border: 1px solid var(--border, #1e1e3a);
    background: var(--bg-elevated, #10141c);
    color: var(--text-primary, #fff);
    border-radius: 8px;
    padding: 7px 8px;
    min-height: 40px;
    width: 100%
}

.latest-tools .channel-ajax-controls input[type="search"],
.latest-tools .channel-ajax-controls select,
.channel-ajax-controls input[type="search"],
.channel-ajax-controls select {
    height: 42px;
    min-height: 42px;
    line-height: 1.2;
    box-sizing: border-box
}

.channel-filter-row .btn,
.latest-filter-row .btn {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.channel-search-control {
    min-width: 0 !important;
    max-width: none;
    width: 100%
}

.channel-sort-control {
    min-width: 0 !important;
    width: 100%;
    justify-self: stretch
}

.ch-header {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px
}

.ch-banner {
    height: 150px;
    overflow: hidden
}

.ch-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72
}

.ch-header-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px
}

.ch-avatar-wrap {
    position: relative;
    margin-top: 20px;
    width: 84px;
    min-width: 84px;
    flex-shrink: 0
}

.ch-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid var(--bg-card, #1a1a2e);
    object-fit: cover
}

.ch-avatar-placeholder {
    background: var(--bg-secondary, #0f0f1a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-primary, #f59e0b)
}

.ch-verified {
    position: absolute;
    bottom: 1px;
    right: 1px;
    background: #3b82f6;
    color: #fff;
    font-size: .7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card, #1a1a2e)
}

.ch-info {
    flex: 1;
    padding-top: 12px
}

.ch-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary, #fff);
    margin-bottom: 8px
}

.ch-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 10px
}

.ch-stat-link {
    color: var(--brand-primary, #f59e0b);
    text-decoration: none;
    font-weight: 600
}

.ch-stat-link:hover {
    text-decoration: underline
}

.ch-desc {
    font-size: .85rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
    margin-bottom: 12px
}

.ch-blog {
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 14px 0 12px
}

.ch-blog h2,
.ch-blog h3,
.ch-blog h4 {
    margin: 0 0 10px
}

.ch-blog p {
    margin: 0 0 12px;
    color: var(--text-secondary, #94a3b8);
    font-size: .85rem;
    line-height: 1.72
}

.ch-blog ul,
.ch-blog ol {
    margin: 0 0 12px;
    padding-left: 1.2rem
}

.ch-blog li {
    margin: 0 0 6px
}

.ch-blog>:last-child,
.ch-blog li:last-child {
    margin-bottom: 0
}

.ch-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.ch-social-btn {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s
}

.ch-social-btn:hover {
    opacity: .8
}

.ch-social-btn.yt {
    background: rgba(255, 0, 0, .15);
    color: #ff4444
}

.ch-social-btn.ig {
    background: rgba(225, 48, 108, .15);
    color: #e1306c
}

.ch-social-btn.fb {
    background: rgba(24, 119, 242, .15);
    color: #1877f2
}

.ch-social-btn.tw {
    background: rgba(29, 161, 242, .15);
    color: #1da1f2
}

.ch-social-btn.tt {
    background: rgba(105, 201, 208, .15);
    color: #69c9d0
}

.ch-social-btn.web {
    background: rgba(100, 116, 139, .15);
    color: #94a3b8
}

.category-page-wrap {
    padding-top: 32px
}

.cat-page-header {
    --cat-color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-left: 4px solid var(--cat-color);
    border-radius: 12px;
    margin-bottom: 28px
}

.cat-page-icon {
    font-size: 3rem
}

.cat-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary, #fff);
    margin: 0 0 4px
}

.cat-page-desc {
    font-size: .88rem;
    color: var(--text-muted, #64748b);
    margin: 0 0 6px
}

.cat-page-count {
    font-size: .8rem;
    color: var(--cat-color);
    font-weight: 600
}

.cat-blog {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0 18px
}

.cat-blog h2,
.cat-blog h3 {
    margin: 0 0 10px;
    color: var(--text-primary, #fff)
}

.cat-blog-content {
    color: var(--text-secondary, #94a3b8)
}

.cat-blog>:last-child,
.cat-blog-content>:last-child {
    margin-bottom: 0
}

.cat-blog p,
.cat-blog-content p,
.cat-blog ul,
.cat-blog ol,
.cat-blog-content ul,
.cat-blog-content ol,
.cat-blog blockquote,
.cat-blog-content blockquote,
.cat-blog pre,
.cat-blog-content pre {
    margin: 0 0 12px;
    line-height: 1.7
}

.cat-blog ul,
.cat-blog ol,
.cat-blog-content ul,
.cat-blog-content ol {
    padding-left: 1.25rem
}

.cat-blog li,
.cat-blog-content li {
    margin: 0 0 6px
}

.cat-blog li:last-child,
.cat-blog-content li:last-child {
    margin-bottom: 0
}

.cat-blog li p,
.cat-blog-content li p {
    margin-bottom: 6px
}

.cat-blog a,
.cat-blog-content a {
    text-decoration: underline;
    text-underline-offset: 2px
}

.page-intro-block {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px 0 18px
}

.page-intro-block h2 {
    margin: 0 0 10px;
    color: var(--text-primary, #fff)
}

.page-intro-block h1 {
    margin: 0 0 10px;
    color: var(--text-primary, #fff);
    font-size: clamp(1.36rem, 2.05vw, 1.8rem);
    line-height: 1.25
}

.page-intro-body {
    color: var(--text-secondary, #94a3b8)
}

.page-intro-block>:last-child,
.page-intro-body>:last-child {
    margin-bottom: 0
}

.category-load-sentinel {
    height: 1px
}

.category-load-more-wrap {
    text-align: center;
    margin-top: 14px
}

.category-related-header {
    margin: 20px 0 12px
}

.category-posts-section {
    padding: 18px 0 8px
}

.category-posts-header {
    margin: 20px 0 12px
}

@media (max-width:900px) {
    .channel-tools {
        grid-template-columns: 1fr
    }

    .ch-header-body {
        gap: 14px;
        padding: 20px 16px
    }

    .ch-avatar-wrap {
        width: 80px;
        min-width: 80px;
        margin-top: 20px
    }

    .ch-avatar {
        width: 72px;
        height: 72px
    }
}

@media (max-width:680px) {
    .video-social-embed-wrap {
        grid-template-columns: 1fr
    }

    .video-detail-info {
        padding: 14px
    }

    .channel-ajax-controls {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: end;
        gap: 10px
    }

    .channel-search-control,
    .channel-sort-control {
        min-width: 0 !important;
        max-width: none;
        margin-left: 0 !important
    }

    .channel-ajax-controls input,
    .channel-ajax-controls select {
        width: 100%
    }

    .ch-header-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px
    }

    .ch-info {
        width: 100%;
        padding-top: 4px
    }

    .ch-stats,
    .ch-socials {
        justify-content: center
    }

    .cat-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 16px
    }
}

:root {
    --dv-heading-h1: clamp(1.34rem, 2.12vw, 1.82rem);
    --dv-heading-h2: clamp(1.08rem, 1.72vw, 1.38rem);
    --dv-heading-h3: clamp(0.98rem, 1.42vw, 1.18rem);
    --dv-heading-h4: clamp(0.9rem, 1.18vw, 1.04rem)
}

.video-detail-title,
.ch-name,
.cat-page-title,
.post-page-title,
.static-page-title {
    font-size: var(--dv-heading-h1);
    line-height: 1.28
}

.dv-typography-scale h1 {
    font-size: var(--dv-heading-h1);
    line-height: 1.3
}

.dv-typography-scale h2 {
    font-size: var(--dv-heading-h2);
    line-height: 1.34
}

.dv-typography-scale h3 {
    font-size: var(--dv-heading-h3);
    line-height: 1.38
}

.dv-typography-scale h4 {
    font-size: var(--dv-heading-h4);
    line-height: 1.42
}

.dv-typography-scale h2,
.dv-typography-scale h3,
.dv-typography-scale h4 {
    margin-top: 1.1rem;
    margin-bottom: .6rem
}

.dv-typography-scale p,
.dv-typography-scale ul,
.dv-typography-scale ol,
.dv-typography-scale blockquote,
.dv-typography-scale pre {
    margin: 0 0 .85rem;
    line-height: 1.72
}

.dv-typography-scale ul,
.dv-typography-scale ol {
    padding-left: 1.25rem
}

.dv-typography-scale li {
    margin: 0 0 .4rem
}

.dv-typography-scale>:last-child,
.dv-typography-scale li:last-child {
    margin-bottom: 0
}

.page-intro-block.dv-typography-scale>h1:first-child,
.page-intro-block.dv-typography-scale>h2:first-child,
.page-intro-block.dv-typography-scale>h3:first-child,
.page-intro-block.dv-typography-scale>h4:first-child,
.page-intro-block.dv-typography-scale .page-intro-body>:first-child {
    margin-top: 0
}

body.light .cat-pill {
    background: #fff;
    border-color: rgba(15, 23, 42, .22);
    color: #334155
}

body.light .cat-pill:hover {
    border-color: #334155;
    color: #0f172a
}

body.light .cat-pill-trending {
    color: #b91c1c;
    border-color: #b91c1c
}

body.light .cat-pill-channels {
    color: #1d4ed8;
    border-color: #1d4ed8
}

body.light .see-all {
    color: #b45309;
    font-weight: 700
}

body.light .see-all:hover {
    color: #92400e
}

body.light .vc-meta,
body.light .channel-strip-subs,
body.light .post-date,
body.light .footer-bottom p,
body.light .footer-nav-col a,
body.light .footer-social a {
    color: var(--text-muted, #64748b)
}

.post-article .post-meta-row .post-meta-chip {
    border-color: rgba(148, 163, 184, .42);
    background: rgba(15, 23, 42, .68);
    color: #cbd5e1;
    font-weight: 600
}

.post-article .post-meta-row a.post-meta-chip:hover {
    color: #f8fafc;
    border-color: rgba(245, 158, 11, .58);
    background: rgba(245, 158, 11, .18)
}

.post-article .post-meta-row .post-meta-chip-category {
    color: #dbe7f6
}

.post-article .post-meta-row .post-meta-chip-author {
    color: #fbbf24;
    border-color: rgba(245, 158, 11, .48);
    background: rgba(245, 158, 11, .14)
}

.post-article .post-meta-row .post-meta-chip-date,
.post-article .post-meta-row .post-meta-chip-reading {
    color: #a7b4c7
}

body.light .post-article .post-meta-row .post-meta-chip {
    border-color: rgba(15, 23, 42, .16);
    background: #fff;
    color: #334155
}

body.light .post-article .post-meta-row a.post-meta-chip:hover {
    color: #0f172a;
    border-color: rgba(245, 158, 11, .48);
    background: #fff8e6
}

body.light .post-article .post-meta-row .post-meta-chip-category {
    color: #1e293b
}

body.light .post-article .post-meta-row .post-meta-chip-author {
    color: #92400e;
    border-color: rgba(245, 158, 11, .38);
    background: rgba(245, 158, 11, .16)
}

body.light .post-article .post-meta-row .post-meta-chip-date,
body.light .post-article .post-meta-row .post-meta-chip-reading {
    color: #475569
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s
}

.site-header.hide {
    transform: none
}

.site-header.scrolled {
    box-shadow: none;
    transform: none
}

body.light .site-header {
    background: rgba(248, 249, 250, .95)
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    height: 72px;
    max-width: 1400px;
    margin: 0 auto
}

.site-header.scrolled .nav-container {
    height: 72px;
    gap: 16px;
    padding: 0 20px
}

.site-header.scrolled .logo-icon {
    font-size: 1.8rem
}

.site-header.scrolled .logo-text {
    font-size: 1.4rem
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0
}

.logo-icon {
    font-size: 1.8rem
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--brand-primary)
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-link {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-elevated)
}

.has-dropdown {
    position: relative
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-hover)
}

.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: .88rem;
    transition: all var(--transition)
}

.dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary)
}

.cat-icon {
    font-size: 1rem
}

.nav-search {
    flex: 1;
    max-width: 300px;
    position: relative
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0
}

.search-input {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 8px 40px 8px 16px;
    color: var(--text-primary);
    font-size: .88rem;
    transition: all var(--transition);
    outline: none
}

.search-input:focus {
    border-color: var(--brand-primary);
    background: var(--bg-card)
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    z-index: 100;
    overflow: hidden;
    box-shadow: var(--shadow-card)
}

.search-autocomplete a {
    display: block;
    padding: 10px 14px;
    font-size: .88rem;
    color: var(--text-secondary);
    transition: all var(--transition)
}

.search-autocomplete a:hover {
    background: var(--bg-hover);
    color: var(--text-primary)
}

.lang-switcher {
    position: relative;
    flex-shrink: 0
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: .85rem;
    font-weight: 600;
    transition: all var(--transition)
}

.lang-current:hover {
    border-color: var(--brand-primary)
}

.lang-flag {
    font-size: 1.1rem
}

.lang-code {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase
}

.chevron {
    transition: transform var(--transition)
}

.lang-current[aria-expanded="true"] .chevron {
    transform: rotate(180deg)
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px;
    list-style: none;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 200;
    box-shadow: var(--shadow-hover);
    max-height: 320px;
    overflow-y: auto
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: .88rem;
    transition: all var(--transition)
}

.lang-option:hover,
.lang-option.active {
    background: var(--bg-hover);
    color: var(--text-primary)
}

.lang-option.active {
    font-weight: 700;
    color: var(--brand-primary)
}

.theme-toggle {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: all var(--transition);
    flex-shrink: 0
}

.theme-toggle:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition)
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
    display: none;
    padding: 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border)
}

.mobile-menu.open {
    display: block
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px
}

.mobile-nav-links a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: .95rem;
    transition: all var(--transition)
}

.mobile-nav-links a:hover {
    background: var(--bg-elevated);
    color: var(--text-primary)
}

.mobile-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch
}

.mobile-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1;
    box-sizing: border-box
}

.mobile-lang.active {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary)
}

.mobile-lang .lang-flag-wrap {
    width: 18px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.mobile-lang .mobile-flag-icon {
    width: 18px;
    height: 14px;
    display: block
}

.mobile-search {
    margin-top: 12px;
    width: 100%
}

.mobile-search-form {
    position: relative;
    width: 100%
}

.mobile-search-input {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 10px 42px 10px 14px;
    color: var(--text-primary);
    font-size: .9rem;
    outline: none
}

.mobile-search-input:focus {
    border-color: var(--brand-primary)
}

.mobile-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    margin-top: 60px
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 20px 24px
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none
}

.footer-logo-icon {
    font-size: 1.8rem
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--brand-primary)
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.6
}

.footer-adsense-note {
    color: var(--text-muted);
    font-size: .75rem
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.footer-social a {
    font-size: .85rem;
    color: var(--text-muted);
    transition: color var(--transition)
}

.footer-social a:hover {
    color: var(--brand-primary)
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.footer-nav-col h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.footer-legal-title {
    margin-top: 1.2rem
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.footer-nav-col a {
    font-size: .88rem;
    color: var(--text-muted);
    transition: color var(--transition)
}

.footer-nav-col a:hover {
    color: var(--brand-primary)
}

.footer-support-col .donation-widget {
    background: var(--bg-card) !important;
    border-color: var(--border) !important
}

body.light .footer-support-col .donation-widget {
    background: #fff !important;
    border-color: rgba(15, 23, 42, .15) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08) !important
}

.footer-support-col .donation-widget .donation-btn {
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important
}

.footer-support-col .donation-widget .donation-btn--patreon {
    color: #fff4f6 !important;
    -webkit-text-fill-color: #fff4f6 !important
}

.footer-support-col .donation-widget .donation-btn--bmc {
    color: #251d00 !important;
    -webkit-text-fill-color: #251d00 !important
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--border)
}

.footer-bottom p {
    font-size: .85rem;
    color: var(--text-muted)
}

.footer-disclaimer {
    font-size: .78rem !important
}

.footer-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px
}

.footer-lang-link {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: all var(--transition)
}

.footer-lang-link.active,
.footer-lang-link:hover {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary)
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    z-index: 9000;
    padding: 20px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .4)
}

.cookie-banner[hidden] {
    display: none !important
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap
}

.cookie-text {
    flex: 1;
    min-width: 200px
}

.cookie-text strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-primary)
}

.cookie-text p {
    font-size: .85rem;
    color: var(--text-secondary)
}

.cookie-text a {
    color: var(--brand-primary)
}

.cookie-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    width: 100%
}

.cookie-actions .btn {
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    padding: 10px 12px;
    min-height: 42px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere
}

.cookie-customize-panel {
    max-width: 1200px;
    margin: 16px auto 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border)
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: var(--text-secondary);
    cursor: pointer
}

.cookie-toggle input {
    accent-color: var(--brand-primary)
}

.cookie-manage-link {
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer
}

.cookie-manage-link:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary)
}

.video-page-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 24px 0 60px;
    align-items: start
}

.video-page-info {
    margin-top: 20px
}

.video-page-title {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px
}

.video-page-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px
}

.video-channel-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.channel-avatar-lg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-elevated)
}

.video-channel-name {
    font-weight: 600;
    color: var(--text-primary)
}

.video-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .88rem;
    color: var(--text-secondary)
}

.video-description {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.7;
    border: 1px solid var(--border)
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px
}

.share-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: .85rem;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
    text-decoration: none
}

.share-btn:hover {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary)
}

.lang-alternates {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--text-muted)
}

.lang-alt-link {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition)
}

.lang-alt-link.active,
.lang-alt-link:hover {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary)
}

.channel-cta-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
    margin-top: 20px
}

.cta-channel-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-elevated);
    flex-shrink: 0
}

.video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px
}

.related-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background var(--transition)
}

.related-card:hover {
    background: var(--bg-elevated)
}

.related-thumb {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16/9
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.related-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px
}

.related-title {
    font-size: .83rem;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3
}

.related-meta {
    font-size: .75rem;
    color: var(--text-muted)
}

@media(max-width:1100px) {
    .video-page-layout {
        grid-template-columns: 1fr
    }
}

@media(max-width:900px) {
    .footer-top {
        grid-template-columns: 1fr
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:1024px) {
    .nav-links {
        display: none
    }

    .hamburger {
        display: flex
    }

    .nav-search {
        display: none
    }

    .cookie-actions {
        grid-template-columns: 1fr
    }
}

@media(max-width:768px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr)
    }

    .cookie-banner {
        padding: 14px
    }

    .cookie-banner-inner {
        gap: 12px;
        align-items: stretch
    }

    .cookie-text {
        min-width: 0
    }

    .cookie-actions .btn {
        width: 100%;
        padding: 10px 12px
    }

    .cookie-customize-panel {
        gap: 10px;
        align-items: stretch
    }

    .cookie-customize-panel .btn {
        width: 100%
    }
}

@media(max-width:480px) {
    .nav-container {
        padding: 0 12px;
        gap: 10px;
        height: 64px
    }

    .nav-logo {
        gap: 6px
    }

    .logo-icon {
        font-size: 1.5rem
    }

    .logo-text {
        font-size: 1.08rem
    }

    .nav-actions {
        gap: 8px
    }

    .lang-current {
        padding: 6px 8px
    }

    .theme-toggle {
        padding: 6px
    }

    .mobile-menu {
        padding: 14px
    }

    .mobile-nav-links a {
        padding: 9px 10px;
        font-size: .9rem
    }

    .mobile-lang {
        flex: 0 0 38px;
        width: 38px;
        height: 30px
    }

    .footer-nav {
        grid-template-columns: 1fr
    }
}

@media(max-width:393px) {
    .nav-container {
        padding: 0 10px;
        gap: 8px;
        height: 60px
    }

    .logo-icon {
        font-size: 1.35rem
    }

    .logo-text {
        font-size: .98rem
    }

    .nav-actions {
        gap: 6px
    }

    .lang-current {
        padding: 5px 6px
    }

    .lang-code {
        display: none
    }

    .lang-current .chevron {
        display: none
    }

    .lang-dropdown {
        position: fixed;
        top: 68px;
        right: 8px;
        left: auto;
        min-width: 170px;
        max-width: calc(100vw - 16px);
        max-height: 60vh;
        z-index: 1200
    }

    .theme-toggle {
        padding: 5px
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px
    }

    .hamburger span {
        width: 20px
    }

    .mobile-menu {
        padding: 12px 10px
    }

    .mobile-search-input {
        font-size: .85rem;
        padding: 9px 38px 9px 12px
    }
}

body.light .site-header {
    background: rgba(255, 255, 255, .98)
}

body.light .logo-text,
body.light .footer-logo-text {
    color: #b45309
}.ai-generated-image{margin:20px 0;border-radius:5px}

/* overrides.css migrated into app.min.css */
.faq-accordion>h2.faq-accordion-title {
    margin-top: 0.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 20px 40px;
}

/* Post author bottom card */
.post-author-bottom-wrap {
    margin-top: 28px;
}

.post-author-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border, #1e1e3a);
    border-left: 3px solid var(--brand-primary, #f59e0b);
    border-radius: 12px;
}

.post-author-avatar-wrap {
    flex-shrink: 0;
}

.post-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border, #1e1e3a);
    display: block;
}

.post-author-info {
    flex: 1;
    min-width: 0;
}

.post-author-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--brand-primary, #f59e0b);
    margin: 0 0 3px;
}

.post-author-name {
    display: block;
    font-size: .98rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    text-decoration: none;
    margin-bottom: 6px;
}

a.post-author-name:hover {
    color: var(--brand-primary, #f59e0b);
}

.post-author-bio {
    font-size: .85rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.65;
    margin: 0;
}

.post-author-bio> :first-child {
    margin-top: 0;
}

.post-author-bio> :last-child {
    margin-bottom: 0;
}

.post-author-cred {
    margin: 2px 0 8px;
    font-size: .76rem;
    color: var(--text-muted, #64748b);
    letter-spacing: .02em;
}

/* Post detail content should read as a single article flow (no nested-card look) */
.post-article .post-content.video-seo-content {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.post-article .post-content.video-seo-content h2,
.post-article .post-content.video-seo-content h3 {
    margin-top: 1.2rem;
}

/* Extra social share networks */
.dv-share-btn .fa-linkedin-in::before {
    content: 'IN';
}

.dv-share-btn .fa-reddit-alien::before {
    content: 'R';
}

.dv-share-btn .fa-telegram::before {
    content: 'TG';
}

.dv-share-ln {
    background: #0a66c2;
    border-color: #084f96;
}

.dv-share-rd {
    background: #ff4500;
    border-color: #d23a00;
}

.dv-share-tg {
    background: #229ed9;
    border-color: #1a7fb0;
}

/* Unified AJAX filters: Home / Trending / Channels */
.latest-tools.latest-tools-unified {
    grid-template-columns: 1fr;
}

.latest-tools.latest-tools-unified .latest-filter-form {
    padding: 10px 12px;
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row {
    display: grid;
    gap: 10px;
    align-items: end;
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row label span {
    font-size: .78rem;
    line-height: 1.2;
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row select,
.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row input[type="search"] {
    min-height: 42px;
    height: 42px;
    border: 1px solid var(--border, #1e1e3a);
    background: var(--bg-elevated, #10141c);
    color: var(--text-primary, #fff);
    border-radius: 8px;
    padding: 7px 10px;
    width: 100%;
    box-sizing: border-box;
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-full {
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, .95fr) minmax(0, 1.5fr);
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
}

.latest-tools.latest-tools-category {
    margin-bottom: 16px;
}

.latest-tools.latest-tools-channel,
.latest-tools.latest-tools-videos {
    margin-bottom: 16px;
}

.latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-channel {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr);
}

@media (max-width: 1180px) {
    .latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-full {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-channel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-full,
    .latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-compact,
    .latest-tools.latest-tools-unified .latest-filter-row.unified-filter-row-channel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .latest-tools.latest-tools-home .latest-filter-row.unified-filter-row .filter-search,
    .latest-tools.latest-tools-category .latest-filter-row.unified-filter-row .filter-search,
    .latest-tools.latest-tools-channel .latest-filter-row.unified-filter-row .filter-search,
    .latest-tools.latest-tools-videos .latest-filter-row.unified-filter-row .filter-search {
        grid-column: 1 / -1;
    }
}

/* Header: keep desktop search next to language selector (separate from menu links) */
.nav-actions {
    flex: 1;
    justify-content: flex-end;
}

.nav-actions .nav-search {
    display: block;
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 360px;
}

.nav-actions .lang-switcher,
.nav-actions .theme-toggle,
.nav-actions .hamburger {
    flex-shrink: 0;
}

@media (max-width: 1280px) {
    .nav-actions .nav-search {
        min-width: 190px;
        max-width: 300px;
    }
}

/* Mobile nav readability bump (~10%) */
@media (max-width: 1024px) {
    .nav-actions .nav-search {
        display: none !important;
    }

    .logo-icon {
        font-size: 1.98rem;
    }

    .logo-text {
        font-size: 1.54rem;
    }

    .lang-flag-wrap,
    .lang-flag-icon {
        width: 20px;
        height: 16px;
    }

    .mobile-menu {
        padding: 22px 18px;
    }

    .mobile-nav-links a {
        font-size: 1.05rem;
        padding: 11px 16px;
    }

    .mobile-search-input {
        font-size: 0.99rem;
        padding: 11px 44px 11px 15px;
    }

    .mobile-search-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-lang {
        flex: 0 0 46px;
        width: 46px;
        height: 35px;
        font-size: .83rem;
    }

    .mobile-lang .lang-flag-wrap,
    .mobile-lang .mobile-flag-icon {
        width: 20px;
        height: 16px;
    }

    .lang-current {
        font-size: .94rem;
        padding: 8px 11px;
    }

    .theme-toggle {
        padding: 9px;
    }

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

    .hamburger span {
        width: 24px;
        height: 2.2px;
    }
}


