/* ═══════════════════════════════════════════════════════════════
   LinkFlix v2 — Modern CSS
   ═══════════════════════════════════════════════════════════════ */
:root {
    --ch-bg: #ffffff;
    --ch-bg-alt: #f8f9fc;
    --ch-bg-card: #ffffff;
    --ch-text: #1a1a2e;
    --ch-text-muted: #6b7280;
    --ch-primary: #6366f1;
    --ch-primary-dark: #4f46e5;
    --ch-accent: #f59e0b;
    --ch-border: #e5e7eb;
    --ch-shadow: 0 1px 3px rgba(0,0,0,.08);
    --ch-shadow-lg: 0 10px 40px rgba(0,0,0,.1);
    --ch-radius: 12px;
    --ch-radius-sm: 8px;
    --ch-nav-h: 64px;
    --ch-bottom-h: 68px;
    --ch-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ch-green: #10b981;
    --ch-red: #ef4444;
    --ch-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Dark Mode */
.linkflix-dark {
    --ch-bg: #0f0f1a;
    --ch-bg-alt: #1a1a2e;
    --ch-bg-card: #1e1e32;
    --ch-text: #e8e8f0;
    --ch-text-muted: #9ca3af;
    --ch-border: #2d2d44;
    --ch-shadow: 0 1px 3px rgba(0,0,0,.3);
    --ch-shadow-lg: 0 10px 40px rgba(0,0,0,.4);
}
.linkflix-dark #linkflix-theme-color { content: "#0f0f1a"; }

/* ═══ RESET & BASE ═══ */
.linkflix-app, .linkflix-app * { box-sizing: border-box; margin: 0; padding: 0; }
.linkflix-app {
    font-family: var(--ch-font);
    color: var(--ch-text);
    background: var(--ch-bg);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}
/* Force Blocksy/theme to go full width on plugin pages */
body.linkflix-page .site-main,
body.linkflix-page .entry-content,
body.linkflix-page .post-content,
body.linkflix-page .page-content,
body.linkflix-page article,
body.linkflix-page .ct-container,
body.linkflix-page .ct-container-narrow,
body.linkflix-page [class*="ct-container"] {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.linkflix-page .content-area,
body.linkflix-page .site-content,
body.linkflix-page #primary { max-width: 100% !important; width: 100% !important; float: none !important; }
/* Hide sidebar and theme footer on plugin pages */
body.linkflix-page .sidebar, body.linkflix-page #secondary { display: none !important; }

.linkflix-app a { color: var(--ch-primary); text-decoration: none; transition: all .2s; }
.linkflix-app a:hover { color: var(--ch-primary-dark); }
.linkflix-app img { max-width: 100%; display: block; }
.ch-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ═══ NAV ═══ */
.ch-nav { position: sticky; top: 0; z-index: 100; background: var(--ch-bg); border-bottom: 1px solid var(--ch-border); backdrop-filter: blur(12px); }
.ch-nav-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 0 20px; height: var(--ch-nav-h); }
.ch-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--ch-primary) !important; white-space: nowrap; }
.ch-logo i { font-size: 24px; }
.ch-search-bar { flex: 1; max-width: 480px; position: relative; display: flex; align-items: center; }
.ch-search-bar input[type="text"],
.ch-search-bar input { width: 100%; padding: 10px 16px 10px 48px !important; border: 1px solid var(--ch-border) !important; border-radius: 999px !important; background: var(--ch-bg-alt) !important; color: var(--ch-text) !important; font-size: 14px !important; outline: none !important; transition: all .2s; box-shadow: none !important; height: auto !important; margin: 0 !important; }
.ch-search-bar input:focus { border-color: var(--ch-primary) !important; box-shadow: 0 0 0 3px rgba(99,102,241,.15) !important; }
.ch-search-bar i.fa-search,
.ch-search-bar > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ch-text-muted); font-size: 13px; pointer-events: none; z-index: 10; }
.ch-search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: var(--ch-bg-card); border: 1px solid var(--ch-border); border-radius: var(--ch-radius); box-shadow: var(--ch-shadow-lg); display: none; max-height: 400px; overflow-y: auto; z-index: 200; }
.ch-search-dropdown.open { display: block; }
.ch-search-dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--ch-border); color: var(--ch-text) !important; }
.ch-search-dropdown a:hover { background: var(--ch-bg-alt); }
.ch-search-dropdown img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.ch-nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ch-nav-links a, .ch-nav-links button { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--ch-radius-sm); font-size: 14px; color: var(--ch-text-muted) !important; font-weight: 500; border: none; background: none; cursor: pointer; transition: all .2s; white-space: nowrap; }
.ch-nav-links a:hover, .ch-nav-links a.active { color: var(--ch-primary) !important; background: rgba(99,102,241,.08); }
.ch-icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ch-border); background: var(--ch-bg-alt); color: var(--ch-text-muted); cursor: pointer; font-size: 14px; transition: all .2s; }
.ch-icon-btn:hover { background: var(--ch-primary); color: #fff; border-color: var(--ch-primary); }
.ch-mobile-menu-btn { display: none; }
.ch-notif-trigger { position: relative; }
.ch-badge { position: absolute; top: -2px; right: -2px; background: var(--ch-red); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ═══ BUTTONS ═══ */
.ch-btn-primary, .ch-btn-primary-sm { background: var(--ch-gradient); color: #fff !important; border: none; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s; display: inline-flex; align-items: center; gap: 8px; }
.ch-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,.35); }
.ch-btn-primary-sm { padding: 8px 16px; font-size: 13px; }
.ch-btn-outline, .ch-btn-outline-sm { background: transparent; color: var(--ch-text) !important; border: 1px solid var(--ch-border); padding: 12px 24px; border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.ch-btn-outline:hover { border-color: var(--ch-primary); color: var(--ch-primary) !important; }
.ch-btn-outline-sm { padding: 8px 16px; font-size: 13px; }
.ch-btn-glass { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); color: #fff !important; border: 1px solid rgba(255,255,255,.2); padding: 12px 24px; border-radius: 999px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.ch-btn-glass:hover { background: rgba(255,255,255,.25); }
.ch-btn-full { width: 100%; justify-content: center; }

/* ═══ HERO ═══ */
.ch-hero { margin-top: 0; }
.ch-hero-swiper { height: 520px; }
.ch-hero-slide { background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.ch-hero-overlay { padding: 60px 40px 50px; width: 100%; background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.2) 80%, transparent 100%); color: #fff; }
.ch-hero-badge { background: var(--ch-primary); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; margin-bottom: 12px; }
.ch-hero-overlay h1 { font-size: 42px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; max-width: 600px; text-shadow: 0 2px 8px rgba(0,0,0,.7), 0 0 30px rgba(0,0,0,.5); color: #fff; }
.ch-hero-meta { display: flex; gap: 16px; font-size: 15px; margin-bottom: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ch-hero-meta i { color: var(--ch-accent); }
.ch-hero-overview { font-size: 15px; max-width: 550px; margin-bottom: 20px; line-height: 1.5; color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.ch-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ch-hero-pagination { bottom: 16px !important; }
.ch-hero-pagination .swiper-pagination-bullet { background: #fff; opacity: .5; width: 10px; height: 10px; }
.ch-hero-pagination .swiper-pagination-bullet-active { opacity: 1; width: 28px; border-radius: 5px; }

/* ═══ SECTIONS ═══ */
.ch-section { max-width: 1440px !important; margin: 40px auto !important; padding: 0 32px !important; }
.ch-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; max-width: 1400px; margin-left: auto; margin-right: auto; }
.ch-section-header h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.ch-section-header h2 i { color: var(--ch-primary); }
.ch-link { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* ═══ CARD GRID ═══ */
.ch-card-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.ch-card { border-radius: var(--ch-radius); overflow: hidden; transition: transform .25s, box-shadow .25s; background: var(--ch-bg-card); }
.ch-card:hover { transform: translateY(-4px); box-shadow: var(--ch-shadow-lg); }
.ch-card-poster { position: relative; display: block; aspect-ratio: 2/3; overflow: hidden; }
.ch-card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ch-card:hover .ch-card-poster img { transform: scale(1.05); }
.ch-card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; opacity: 0; transition: opacity .2s; }
.ch-card:hover .ch-card-overlay { opacity: 1; }
.ch-card-badge { background: var(--ch-primary); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; align-self: flex-start; }
.ch-card-vote { background: rgba(0,0,0,.7); color: var(--ch-accent); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; align-self: flex-end; }
.ch-card-vote i { font-size: 11px; }
.ch-card-info { padding: 10px 12px 6px; }
.ch-card-title { font-size: 14px; font-weight: 600; color: var(--ch-text) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.ch-card-year { font-size: 12px; color: var(--ch-text-muted); }
.ch-card-actions { display: flex; justify-content: center; gap: 4px; padding: 6px 10px 12px; }
.ch-card-actions button { background: none; border: 1px solid var(--ch-border); color: var(--ch-text-muted); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 14px; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.ch-card-actions button:hover, .ch-card-actions button.active { color: var(--ch-primary); border-color: var(--ch-primary); background: rgba(99,102,241,.08); }
.ch-card-actions button.active[data-list="favorites"] { color: var(--ch-red); border-color: var(--ch-red); }
.ch-card-actions button.active[data-list="favorites"] i { font-weight: 900; }

/* ═══ SWIPER ROW ═══ */
.ch-row-swiper { padding: 4px 0 20px; }
.ch-row-swiper .swiper-slide { width: 180px; }
.ch-row-swiper .swiper-button-next, .ch-row-swiper .swiper-button-prev { width: 40px; height: 40px; background: var(--ch-bg-card); border: 1px solid var(--ch-border); border-radius: 50%; box-shadow: var(--ch-shadow); color: var(--ch-text); }
.ch-row-swiper .swiper-button-next::after, .ch-row-swiper .swiper-button-prev::after { font-size: 16px; }

/* ═══ NEWS ═══ */
.ch-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ch-news-grid-full { max-width: 1280px; margin: 0 auto 60px; padding: 0 20px; }
.ch-news-card { border-radius: var(--ch-radius); overflow: hidden; background: var(--ch-bg-card); border: 1px solid var(--ch-border); transition: all .25s; color: var(--ch-text) !important; display: block; }
.ch-news-card:hover { transform: translateY(-4px); box-shadow: var(--ch-shadow-lg); }
.ch-news-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.ch-news-tag { position: absolute; top: 12px; left: 12px; background: var(--ch-primary); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.ch-news-body { padding: 16px; }
.ch-news-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.ch-news-body p { font-size: 13px; color: var(--ch-text-muted); line-height: 1.5; }
.ch-news-body time { font-size: 12px; color: var(--ch-text-muted); margin-top: 8px; display: block; }

/* ═══ USERS ROW ═══ */
.ch-users-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ch-user-chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius); background: var(--ch-bg-card); transition: all .2s; color: var(--ch-text) !important; min-width: 240px; }
.ch-user-chip:hover { border-color: var(--ch-primary); box-shadow: var(--ch-shadow); }
.ch-user-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ch-user-chip strong { font-size: 14px; display: block; }
.ch-user-chip span { font-size: 12px; color: var(--ch-text-muted); }

/* ═══ DETAIL PAGE ═══ */
.ch-detail-backdrop { height: 400px; background-size: cover; background-position: center top; position: relative; }
.ch-detail-backdrop-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, var(--ch-bg) 100%); }
.ch-detail-container { max-width: 1200px; margin: -120px auto 0; padding: 0 20px 60px; position: relative; z-index: 2; }
.ch-detail-main { display: flex; gap: 32px; }
.ch-detail-poster { flex-shrink: 0; width: 280px; }
.ch-detail-poster img { border-radius: var(--ch-radius); box-shadow: var(--ch-shadow-lg); width: 100%; }
.ch-trailer-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 12px; background: var(--ch-bg-card); border: 1px solid var(--ch-border); border-radius: var(--ch-radius-sm); font-weight: 600; color: var(--ch-primary) !important; transition: all .2s; }
.ch-trailer-btn:hover { background: var(--ch-primary); color: #fff !important; }
.ch-detail-info { flex: 1; min-width: 0; }
.ch-detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ch-detail-badges span { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ch-badge-type { background: var(--ch-primary); color: #fff; }
.ch-badge-cert { background: var(--ch-accent); color: #000; }
.ch-badge-year, .ch-badge-runtime { background: var(--ch-bg-alt); color: var(--ch-text-muted); border: 1px solid var(--ch-border); }
.ch-detail-title { font-size: 32px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.ch-detail-ratings { display: flex !important; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; padding: 16px; background: var(--ch-bg-alt); border-radius: var(--ch-radius-sm); border: 1px solid var(--ch-border); }
.ch-detail-ratings > div { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.ch-detail-ratings i { color: var(--ch-accent); }
.ch-detail-ratings strong { font-size: 18px; }
.ch-detail-ratings span { color: var(--ch-text-muted); font-size: 12px; }
.ch-detail-genres { display: flex !important; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ch-genre-tag { padding: 6px 14px; border-radius: 999px; font-size: 13px; background: var(--ch-bg-alt); border: 1px solid var(--ch-border); color: var(--ch-text-muted); }
.ch-detail-actions { display: flex !important; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ch-action-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ch-border); background: var(--ch-bg-card); color: var(--ch-text); font-size: 14px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all .2s; }
.ch-action-btn:hover, .ch-action-btn.active { border-color: var(--ch-primary); color: var(--ch-primary); background: rgba(99,102,241,.06); }
.ch-action-btn.active[data-list="favorites"] { color: var(--ch-red); border-color: var(--ch-red); }
.ch-detail-section { margin-bottom: 28px; }
.ch-detail-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.ch-detail-section h3 i { color: var(--ch-primary); }
.ch-detail-full { margin-top: 36px; }
.ch-providers { display: flex; flex-wrap: wrap; gap: 16px; }
.ch-provider-group { display: flex; align-items: center; gap: 8px; }
.ch-provider-label { font-size: 12px; font-weight: 600; color: var(--ch-text-muted); }
.ch-provider-logo { width: 40px; height: 40px; border-radius: 8px; }
.ch-cast-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.ch-cast-card { text-align: center; flex-shrink: 0; width: 100px; }
.ch-cast-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; }
.ch-cast-card strong { font-size: 13px; display: block; }
.ch-cast-card span { font-size: 11px; color: var(--ch-text-muted); }

/* ═══ REVIEWS ═══ */
.ch-review-form { background: var(--ch-bg-alt); padding: 20px; border-radius: var(--ch-radius); border: 1px solid var(--ch-border); }
.ch-review-form textarea { width: 100%; padding: 12px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius-sm); background: var(--ch-bg); color: var(--ch-text); font-family: var(--ch-font); resize: vertical; margin: 12px 0; }
.ch-star-rating { display: flex; gap: 4px; }
.ch-star-rating i { font-size: 28px; color: var(--ch-border); cursor: pointer; transition: color .15s; }
.ch-star-rating i.active, .ch-star-rating i:hover { color: var(--ch-accent); }
.ch-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; cursor: pointer; }
.ch-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.ch-review-card { background: var(--ch-bg-card); border: 1px solid var(--ch-border); border-radius: var(--ch-radius); padding: 16px; }
.ch-review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.ch-review-user, .ch-review-movie { display: flex; align-items: center; gap: 10px; color: var(--ch-text) !important; }
.ch-review-user img, .ch-review-movie img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ch-review-rating { color: var(--ch-accent); font-size: 14px; }
.ch-review-text { font-size: 14px; line-height: 1.6; color: var(--ch-text); }
.ch-review-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; color: var(--ch-text-muted); }
.ch-review-like-btn { background: none; border: 1px solid var(--ch-border); padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: 13px; color: var(--ch-text-muted); transition: all .2s; }
.ch-review-like-btn:hover { border-color: var(--ch-red); color: var(--ch-red); }
.ch-spoiler-alert { background: rgba(245,158,11,.1); border: 1px solid var(--ch-accent); padding: 8px 14px; border-radius: var(--ch-radius-sm); font-size: 13px; margin-bottom: 8px; }
.ch-spoiler-alert button { background: none; border: none; color: var(--ch-primary); cursor: pointer; font-weight: 600; }

/* ═══ PROFILE ═══ */
.ch-profile-cover { height: 250px; background: var(--ch-gradient); background-size: cover; background-position: center; position: relative; }
.ch-profile-cover-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--ch-bg)); }
.ch-profile-container { max-width: 1000px; margin: -80px auto 0; padding: 0 20px 60px; position: relative; z-index: 2; }
.ch-profile-header { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.ch-profile-avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--ch-bg); box-shadow: var(--ch-shadow-lg); object-fit: cover; flex-shrink: 0; }
.ch-profile-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 2px; }
.ch-profile-slug { color: var(--ch-text-muted); font-size: 15px; margin-bottom: 8px; }
.ch-profile-bio { font-size: 14px; margin-bottom: 12px; max-width: 480px; }
.ch-profile-stats { display: flex; gap: 24px; margin-bottom: 16px; }
.ch-profile-stats > div { text-align: center; }
.ch-profile-stats strong { display: block; font-size: 20px; font-weight: 700; }
.ch-profile-stats span { font-size: 12px; color: var(--ch-text-muted); }
.ch-profile-edit { background: var(--ch-bg-alt); padding: 24px; border-radius: var(--ch-radius); border: 1px solid var(--ch-border); margin-bottom: 24px; }
.ch-profile-edit input, .ch-profile-edit textarea { width: 100%; padding: 12px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius-sm); background: var(--ch-bg); color: var(--ch-text); font-family: var(--ch-font); margin-bottom: 12px; }
.ch-profile-tabs { display: flex; gap: 4px; margin-bottom: 24px; overflow-x: auto; border-bottom: 2px solid var(--ch-border); }
.ch-tab { padding: 12px 20px; font-size: 14px; font-weight: 600; border: none; background: none; color: var(--ch-text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; display: flex; align-items: center; gap: 6px; transition: all .2s; }
.ch-tab:hover { color: var(--ch-text); }
.ch-tab.active { color: var(--ch-primary); border-bottom-color: var(--ch-primary); }
.ch-tab-content { display: none; }
.ch-tab-content.active { display: block; }
.ch-empty-state { text-align: center; padding: 60px 20px; color: var(--ch-text-muted); }
.ch-empty-state i { font-size: 48px; margin-bottom: 16px; display: block; }
.ch-follow-btn { font-size: 14px; }

/* ═══ AUTH PAGES ═══ */
.ch-auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ch-bg-alt); padding: 20px; }
.ch-auth-card { width: 100%; max-width: 440px; background: var(--ch-bg-card); border-radius: 16px; padding: 40px; box-shadow: var(--ch-shadow-lg); border: 1px solid var(--ch-border); }
.ch-auth-header { text-align: center; margin-bottom: 32px; }
.ch-auth-header h1 { font-size: 28px; font-weight: 800; margin: 16px 0 6px; }
.ch-auth-header p { color: var(--ch-text-muted); font-size: 14px; }
.ch-form-group { margin-bottom: 16px; }
.ch-form-group label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ch-text-muted); }
.ch-form-group input { width: 100%; padding: 12px 16px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius-sm); background: var(--ch-bg); color: var(--ch-text); font-size: 15px; font-family: var(--ch-font); transition: all .2s; }
.ch-form-group input:focus { border-color: var(--ch-primary); box-shadow: 0 0 0 3px rgba(99,102,241,.15); outline: none; }
.ch-form-error { background: rgba(239,68,68,.1); color: var(--ch-red); padding: 10px 14px; border-radius: var(--ch-radius-sm); font-size: 14px; margin-bottom: 12px; }
.ch-auth-footer { text-align: center; margin-top: 24px; font-size: 14px; }
.ch-auth-footer a { font-weight: 600; }

/* ═══ EXPLORE ═══ */
.ch-page-header { text-align: center; padding: 48px 20px 24px; }
.ch-page-header h1 { font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 12px; }
.ch-page-header h1 i { color: var(--ch-primary); }
.ch-page-header p { color: var(--ch-text-muted); font-size: 15px; margin-top: 6px; }
.ch-explore-container { max-width: 1440px; margin: 0 auto; padding: 0 20px 60px; }
.ch-filters { margin-bottom: 28px; }
.ch-filter-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 12px; }
.ch-filter-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ch-border); background: var(--ch-bg-card); font-size: 14px; cursor: pointer; white-space: nowrap; transition: all .2s; font-weight: 500; }
.ch-filter-tab:hover { border-color: var(--ch-primary); }
.ch-filter-tab.active { background: var(--ch-primary); color: #fff; border-color: var(--ch-primary); }
.ch-filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ch-select { padding: 10px 16px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius-sm); background: var(--ch-bg-card); color: var(--ch-text); font-size: 14px; font-family: var(--ch-font); min-width: 160px; }
.ch-load-more-container { text-align: center; margin-top: 32px; }

/* ═══ SEARCH ═══ */
.ch-search-page { max-width: 1000px; margin: 0 auto; padding: 0 20px 60px; }
.ch-search-hero { text-align: center; padding: 48px 0 32px; }
.ch-search-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.ch-search-big { display: flex; max-width: 600px; margin: 0 auto; }
.ch-search-big input { flex: 1; padding: 16px 20px; font-size: 16px; border: 2px solid var(--ch-border); border-radius: 999px 0 0 999px; background: var(--ch-bg-card); color: var(--ch-text); font-family: var(--ch-font); }
.ch-search-big input:focus { border-color: var(--ch-primary); outline: none; }
.ch-search-big button { padding: 16px 28px; background: var(--ch-gradient); color: #fff; border: none; border-radius: 0 999px 999px 0; font-size: 18px; cursor: pointer; }

/* ═══ NOTIFICATIONS PANEL ═══ */
.ch-notif-panel { position: fixed; right: -400px; top: 0; width: 380px; height: 100vh; background: var(--ch-bg-card); box-shadow: -4px 0 24px rgba(0,0,0,.15); z-index: 300; transition: right .3s; overflow-y: auto; }
.ch-notif-panel.open { right: 0; }
.ch-notif-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--ch-border); }
.ch-notif-header h3 { font-size: 18px; font-weight: 700; }
.ch-notif-header button { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ch-text-muted); }
.ch-notif-list { padding: 12px; }
.ch-notif-item { display: flex; gap: 12px; padding: 12px; border-radius: var(--ch-radius-sm); transition: background .2s; }
.ch-notif-item:hover { background: var(--ch-bg-alt); }
.ch-notif-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ch-notif-item .ch-notif-body { flex: 1; }
.ch-notif-item strong { font-size: 14px; }
.ch-notif-item p { font-size: 13px; color: var(--ch-text-muted); }
.ch-notif-item time { font-size: 11px; color: var(--ch-text-muted); }
.ch-notif-empty { text-align: center; padding: 32px; color: var(--ch-text-muted); }

/* ═══ AI CHAT FAB ═══ */
.ch-ai-fab { position: fixed; bottom: 84px; right: 20px; z-index: 90; }
.ch-ai-fab-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--ch-gradient); color: #fff; border: none; font-size: 24px; cursor: pointer; box-shadow: 0 4px 16px rgba(99,102,241,.4); transition: transform .2s; }
.ch-ai-fab-btn:hover { transform: scale(1.1); }
.ch-ai-chat { display: none; position: absolute; bottom: 70px; right: 0; width: 360px; max-height: 500px; background: var(--ch-bg-card); border: 1px solid var(--ch-border); border-radius: 16px; box-shadow: var(--ch-shadow-lg); overflow: hidden; }
.ch-ai-chat.open { display: flex; flex-direction: column; }
.ch-ai-chat-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--ch-border); background: var(--ch-gradient); color: #fff; }
.ch-ai-chat-header h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.ch-ai-chat-header button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.ch-ai-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; max-height: 340px; }
.ch-ai-msg { padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; max-width: 85%; }
.ch-ai-msg-bot { background: var(--ch-bg-alt); align-self: flex-start; border-bottom-left-radius: 4px; }
.ch-ai-msg-user { background: var(--ch-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ch-ai-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--ch-border); }
.ch-ai-input input { flex: 1; padding: 10px 14px; border: 1px solid var(--ch-border); border-radius: 999px; background: var(--ch-bg); color: var(--ch-text); font-size: 14px; font-family: var(--ch-font); }
.ch-ai-input button { width: 40px; height: 40px; border-radius: 50%; background: var(--ch-gradient); color: #fff; border: none; font-size: 16px; cursor: pointer; }

/* ═══ USER GREETING BAR ═══ */
.ch-user-bar { background: var(--ch-gradient); color: #fff; padding: 10px 20px; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.ch-user-bar a { color: #fff !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ch-user-bar .ch-user-bar-name { font-weight: 700; }
.ch-user-bar .ch-user-bar-links { display: flex; gap: 16px; align-items: center; }
.ch-user-bar .ch-user-bar-links a { text-decoration: none; opacity: .9; display: flex; align-items: center; gap: 5px; }
.ch-user-bar .ch-user-bar-links a:hover { opacity: 1; }

/* ═══ GOOGLE LOGIN BUTTON ═══ */
.ch-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border-radius: var(--ch-radius-sm); border: 1px solid var(--ch-border); background: var(--ch-bg); color: var(--ch-text); font-size: 15px; font-weight: 600; font-family: var(--ch-font); cursor: pointer; transition: all .2s; margin-bottom: 16px; }
.ch-google-btn:hover { border-color: #4285f4; box-shadow: 0 2px 8px rgba(66,133,244,.2); }
.ch-google-btn img { width: 20px; height: 20px; }
.ch-auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ch-text-muted); font-size: 13px; }
.ch-auth-divider::before, .ch-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--ch-border); }

/* ═══ PASSWORD CHANGE ═══ */
.ch-password-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ch-border); }
.ch-password-section h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.ch-password-section .ch-form-group { margin-bottom: 12px; }

/* ═══ FOOTER ═══ */
.ch-footer { background: var(--ch-bg-alt); border-top: 1px solid var(--ch-border); padding: 40px 20px; margin-top: 40px; }
.ch-footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.ch-footer-brand { font-size: 20px; font-weight: 800; color: var(--ch-primary); margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ch-footer-brand span { font-size: 12px; font-weight: 400; color: var(--ch-text-muted); }
.ch-footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.ch-footer-links a { color: var(--ch-text-muted) !important; font-size: 14px; }
.ch-footer p { font-size: 12px; color: var(--ch-text-muted); }

/* ═══ MOBILE BOTTOM NAV ═══ */
.ch-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: var(--ch-bottom-h); background: var(--ch-bg); border-top: 1px solid var(--ch-border); z-index: 100; justify-content: space-around; align-items: center; padding: 0 8px; }
.ch-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--ch-text-muted) !important; font-weight: 500; padding: 8px; }
.ch-bottom-nav a i { font-size: 20px; }
.ch-bottom-nav a.active { color: var(--ch-primary) !important; }

/* ═══ LOADING ═══ */
.ch-loading-spinner { text-align: center; padding: 40px; color: var(--ch-text-muted); font-size: 15px; }
.ch-loading-spinner i { margin-right: 8px; }

/* ═══ TOAST ═══ */
.ch-toast { position: fixed; top: 80px; right: 20px; background: var(--ch-bg-card); border: 1px solid var(--ch-border); border-left: 4px solid var(--ch-green); padding: 14px 20px; border-radius: var(--ch-radius-sm); box-shadow: var(--ch-shadow-lg); z-index: 500; animation: chSlideIn .3s; font-size: 14px; max-width: 360px; }
.ch-toast.error { border-left-color: var(--ch-red); }
@keyframes chSlideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ═══ MOBILE NAV ═══ */
.ch-mobile-nav { display: none; position: fixed; top: var(--ch-nav-h); left: 0; right: 0; background: var(--ch-bg-card); border-bottom: 1px solid var(--ch-border); z-index: 99; padding: 12px 20px; box-shadow: var(--ch-shadow-lg); }
.ch-mobile-nav.open { display: flex; flex-direction: column; gap: 4px; }
.ch-mobile-nav a { padding: 12px 16px; border-radius: var(--ch-radius-sm); font-size: 15px; color: var(--ch-text) !important; display: flex; align-items: center; gap: 10px; }
.ch-mobile-nav a:hover { background: var(--ch-bg-alt); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .ch-nav-links > a span, .ch-nav-links .ch-btn-outline-sm, .ch-nav-links .ch-btn-primary-sm { display: none; }
    .ch-mobile-menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: none; font-size: 20px; color: var(--ch-text); cursor: pointer; }
    .ch-nav-links { display: none; }
    .ch-bottom-nav { display: flex; }
    .ch-hero-swiper { height: 380px; }
    .ch-hero-overlay h1 { font-size: 26px; }
    .ch-hero-overlay { padding: 40px 20px; }
    .ch-section { margin: 24px auto; }
    .ch-card-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .ch-row-swiper .swiper-slide { width: 150px; }
    .ch-detail-main { flex-direction: column; align-items: center; text-align: center; }
    .ch-detail-poster { width: 200px; }
    .ch-detail-title { font-size: 24px; }
    .ch-detail-actions { justify-content: center; }
    .ch-detail-genres { justify-content: center; }
    .ch-detail-ratings { justify-content: center; }
    .ch-profile-header { flex-direction: column; align-items: center; text-align: center; }
    .ch-profile-avatar { width: 100px; height: 100px; }
    .ch-footer { padding-bottom: calc(40px + var(--ch-bottom-h)); }
    .ch-ai-chat { width: calc(100vw - 40px); right: -10px; }
    .ch-notif-panel { width: 100%; }
    .ch-search-bar { display: none; }
    .ch-row-swiper .swiper-button-next, .ch-row-swiper .swiper-button-prev { display: none; }
}

@media (max-width: 480px) {
    .ch-card-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
    .ch-card-actions { display: none; }
    .ch-news-grid { grid-template-columns: 1fr; }
}

/* ═══ TRAILER MODAL ═══ */
.ch-trailer-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; pointer-events: none; }
.ch-trailer-modal.open { opacity: 1; pointer-events: all; }
.ch-trailer-modal-bg, .ch-trailer-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); cursor: pointer; }
.ch-trailer-modal-box, .ch-trailer-modal-content { position: relative; width: 92%; max-width: 960px; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.ch-trailer-modal-box iframe, .ch-trailer-modal-content iframe { width: 100%; height: 100%; border: none; }
.ch-trailer-close, .ch-trailer-modal-close { position: absolute; top: 12px; right: 12px; z-index: 10; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; border: none; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ch-trailer-close:hover, .ch-trailer-modal-close:hover { background: var(--ch-red); }

/* ═══ AI SKELETON LOADING ═══ */
.ch-ai-skeleton { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; width: 100%; }
.ch-ai-skel, .ch-ai-skeleton-card { aspect-ratio: 2/3; border-radius: var(--ch-radius); background: linear-gradient(110deg, var(--ch-bg-alt) 8%, var(--ch-border) 18%, var(--ch-bg-alt) 33%); background-size: 200% 100%; animation: chShimmer 1.5s linear infinite; }
@keyframes chShimmer { to { background-position-x: -200%; } }
.ch-ai-loading-text { text-align: center; color: var(--ch-primary); font-size: 15px; font-weight: 500; padding: 20px 0; animation: chPulse 2s ease-in-out infinite; }
@keyframes chPulse { 0%,100%{opacity:.6} 50%{opacity:1} }
.ch-badge-ai { background: linear-gradient(135deg, #10b981, #059669) !important; font-size: 10px !important; }
.ch-ai-reason { color: var(--ch-primary) !important; font-style: italic; font-size: 12px !important; display: flex; align-items: center; gap: 4px; }
@media (max-width: 768px) { .ch-ai-skeleton { grid-template-columns: repeat(3, 1fr); } }

/* ═══ MOBILE MENU FIX ═══ */
.ch-mobile-nav { display: none; position: fixed; top: var(--ch-nav-h); left: 0; right: 0; background: var(--ch-bg-card); border-bottom: 1px solid var(--ch-border); z-index: 999; padding: 12px 20px; box-shadow: var(--ch-shadow-lg); flex-direction: column; gap: 4px; }
.ch-mobile-nav.open { display: flex; }
.ch-mobile-nav a { padding: 14px 16px; border-radius: var(--ch-radius-sm); font-size: 16px; color: var(--ch-text) !important; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ch-border); }
.ch-mobile-nav a:last-child { border-bottom: none; }
.ch-mobile-nav a:hover { background: var(--ch-bg-alt); }

/* ═══ STREAMING NOT AVAILABLE ═══ */
.ch-no-streaming { padding: 16px 20px; background: var(--ch-bg-alt); border-radius: var(--ch-radius-sm); border: 1px solid var(--ch-border); color: var(--ch-text-muted); font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ch-no-streaming a { font-weight: 600; }


/* ═══ PROFILE URL DISPLAY ═══ */
.ch-profile-url { font-size: 12px; color: var(--ch-text-muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; background: var(--ch-bg-alt); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ch-border); }
.ch-share-profile-btn { cursor: pointer; }

/* ═══ CHOOSE USERNAME PAGE ═══ */
.ch-choose-card { max-width: 480px; }
.ch-choose-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 16px auto 8px; display: block; border: 3px solid var(--ch-primary); }
.ch-choose-preview { margin-top: 8px; padding: 10px 16px; background: var(--ch-bg-alt); border-radius: var(--ch-radius-sm); border: 1px solid var(--ch-border); font-size: 14px; color: var(--ch-text-muted); display: flex; align-items: center; gap: 8px; }
.ch-choose-preview strong { color: var(--ch-primary); }
.ch-choose-rules { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; }
.ch-rule { font-size: 13px; color: var(--ch-text-muted); display: flex; align-items: center; gap: 8px; transition: color .2s; }
.ch-rule.valid { color: var(--ch-green); }
.ch-rule.valid i { font-weight: 900; }
.ch-rule.invalid { color: var(--ch-red); }
.ch-suggestions { margin: 12px 0; }
.ch-suggestions p { font-size: 13px; color: var(--ch-text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ch-suggestions-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-suggestion-btn { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ch-primary); background: transparent; color: var(--ch-primary); font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--ch-font); transition: all .2s; }
.ch-suggestion-btn:hover { background: var(--ch-primary); color: #fff; }
.ch-form-success { background: rgba(16,185,129,.1); color: var(--ch-green); padding: 10px 14px; border-radius: var(--ch-radius-sm); font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

/* ═══ STREAMING PAGE ═══ */
.ch-streaming-page { max-width: 1440px; margin: 0 auto; padding: 0 24px 60px; }
.ch-streaming-tabs { display: flex !important; flex-wrap: wrap !important; gap: 10px; overflow-x: auto; padding-bottom: 16px; margin-bottom: 20px; }
.ch-streaming-tab { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ch-border); background: var(--ch-bg-card); cursor: pointer; white-space: nowrap; font-size: 14px; font-weight: 600; font-family: var(--ch-font); color: var(--ch-text); transition: all .2s; }
.ch-streaming-tab:hover { border-color: var(--ch-primary); }
.ch-streaming-tab.active { background: var(--ch-bg-alt); box-shadow: var(--ch-shadow); }
.ch-streaming-tab img { width: 28px; height: 28px; border-radius: 6px; }
.ch-streaming-type-toggle { display: flex; gap: 8px; margin-bottom: 24px; }
.ch-type-btn { padding: 10px 24px; border-radius: 999px; border: 1px solid var(--ch-border); background: var(--ch-bg-card); font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--ch-font); color: var(--ch-text-muted); transition: all .2s; display: flex; align-items: center; gap: 8px; }
.ch-type-btn.active { background: var(--ch-primary); color: #fff; border-color: var(--ch-primary); }
.ch-streaming-header { margin-bottom: 20px; }
.ch-streaming-header h2 { font-size: 24px; font-weight: 800; }
.ch-streaming-header span { font-size: 14px; color: var(--ch-text-muted); }

/* Home streaming section */
.ch-streaming-home { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 12px !important; overflow-x: auto !important; padding-bottom: 16px !important; -webkit-overflow-scrolling: touch; }
.ch-streaming-chip { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; padding: 14px 20px !important; border-radius: var(--ch-radius) !important; border: 1px solid var(--ch-border) !important; background: var(--ch-bg-card) !important; transition: all .2s; color: var(--ch-text) !important; white-space: nowrap !important; min-width: 180px !important; flex-shrink: 0 !important; text-decoration: none !important; }
.ch-streaming-chip:hover { border-color: var(--ch-primary) !important; box-shadow: var(--ch-shadow); transform: translateY(-2px); }
.ch-streaming-chip img { width: 40px !important; height: 40px !important; border-radius: 8px !important; flex-shrink: 0 !important; }
.ch-streaming-chip strong { font-size: 14px; display: block; }
.ch-streaming-chip span { font-size: 12px; color: var(--ch-text-muted); }

/* ═══ DETAIL PAGE REDESIGN ═══ */
.ch-detail-wrapper { max-width: 1200px !important; margin: -120px auto 0 !important; padding: 0 20px 60px !important; position: relative !important; z-index: 2; }
.ch-detail-top { display: flex !important; flex-direction: row !important; gap: 32px !important; margin-bottom: 36px !important; }
.ch-detail-orig { color: var(--ch-text-muted); font-size: 14px; font-style: italic; margin-bottom: 8px; }
.ch-detail-body { display: grid !important; grid-template-columns: 1fr 320px !important; gap: 36px !important; }
.ch-detail-content { min-width: 0; }
.ch-detail-synopsis { font-size: 15px; line-height: 1.7; }

/* Provider tabs */
.ch-provider-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.ch-provider-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ch-border); background: var(--ch-bg-card); font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--ch-font); color: var(--ch-text); transition: all .2s; display: flex; align-items: center; gap: 6px; }
.ch-provider-tab.active { background: var(--ch-primary); color: #fff; border-color: var(--ch-primary); }
.ch-provider-content { display: none; }
.ch-provider-content.active { display: block; }
.ch-provider-list { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; }
.ch-provider-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius); background: var(--ch-bg-card); min-width: 180px; }
.ch-provider-item img { width: 40px; height: 40px; border-radius: 8px; }
.ch-provider-item span { font-weight: 600; font-size: 14px; }

/* Videos grid */
.ch-videos-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 12px !important; }
.ch-video-thumb { position: relative; display: block; border-radius: var(--ch-radius-sm); overflow: hidden; aspect-ratio: 16/9; }
.ch-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ch-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.4); transition: background .2s; }
.ch-video-play i { font-size: 32px; color: #fff; }
.ch-video-thumb:hover .ch-video-play { background: rgba(99,102,241,.6); }
.ch-video-type { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.7); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* Cast grid (clickable) */
.ch-cast-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; }
.ch-cast-card { text-align: center; cursor: pointer; background: none; border: 1px solid transparent; padding: 8px; border-radius: var(--ch-radius); transition: all .2s; font-family: var(--ch-font); color: var(--ch-text); }
.ch-cast-card:hover { border-color: var(--ch-primary); background: var(--ch-bg-alt); }
.ch-cast-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; }
.ch-cast-card strong { font-size: 12px; display: block; line-height: 1.3; }
.ch-cast-card span { font-size: 11px; color: var(--ch-text-muted); display: block; }

/* Sidebar */
.ch-detail-sidebar { position: sticky; top: calc(var(--ch-nav-h) + 20px); align-self: start; }
.ch-sidebar-trailer { display: block; border-radius: var(--ch-radius); overflow: hidden; position: relative; margin-bottom: 20px; }
.ch-sidebar-trailer img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ch-sidebar-trailer span { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.7); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.ch-sidebar-info { background: var(--ch-bg-alt); border: 1px solid var(--ch-border); border-radius: var(--ch-radius); padding: 20px; }
.ch-sidebar-row { padding: 10px 0; border-bottom: 1px solid var(--ch-border); display: flex; flex-direction: column; gap: 2px; }
.ch-sidebar-row:last-child { border-bottom: none; }
.ch-sidebar-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ch-text-muted); letter-spacing: .5px; }
.ch-sidebar-value { font-size: 14px; }

/* Person modal */
.ch-person-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; }
.ch-person-modal.open { display: flex; }
.ch-person-modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.85); cursor: pointer; }
.ch-person-modal-box { position: relative; width: 90%; max-width: 700px; max-height: 85vh; overflow-y: auto; background: var(--ch-bg-card); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.4); padding: 32px; }
.ch-person-modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--ch-bg-alt); border: 1px solid var(--ch-border); color: var(--ch-text); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; }
.ch-person-header { display: flex; gap: 20px; margin-bottom: 20px; }
.ch-person-header img { width: 120px; height: 160px; border-radius: var(--ch-radius); object-fit: cover; }
.ch-person-header h2 { font-size: 24px; margin-bottom: 4px; }
.ch-person-meta { font-size: 13px; color: var(--ch-text-muted); }
.ch-person-bio { font-size: 14px; line-height: 1.6; margin-bottom: 20px; max-height: 150px; overflow-y: auto; }
.ch-person-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
.ch-person-film { text-align: center; }
.ch-person-film img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }
.ch-person-film strong { font-size: 12px; display: block; }
.ch-person-film span { font-size: 11px; color: var(--ch-text-muted); }

/* Rating boxes */
.ch-rating-box { padding: 10px 16px; background: var(--ch-bg-alt); border-radius: var(--ch-radius-sm); border: 1px solid var(--ch-border); text-align: center; min-width: 120px; }
.ch-rating-big { font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ch-rating-big i { color: var(--ch-accent); font-size: 16px; }
.ch-rating-label { font-size: 11px; color: var(--ch-text-muted); margin-top: 2px; }

/* Mobile detail */
@media (max-width: 768px) {
    .ch-detail-body { grid-template-columns: 1fr; }
    .ch-detail-sidebar { position: static; }
    .ch-detail-top { flex-direction: column; align-items: center; text-align: center; }
    .ch-detail-poster { width: 200px; }
    .ch-detail-ratings { flex-wrap: wrap; justify-content: center; }
    .ch-detail-genres { justify-content: center; }
    .ch-detail-actions { justify-content: center; }
    .ch-cast-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    .ch-videos-grid { grid-template-columns: repeat(2, 1fr); }
    .ch-person-header { flex-direction: column; align-items: center; text-align: center; }
}

/* ═══ BLOCKSY SPECIFIC FULL-WIDTH OVERRIDES ═══ */
body.linkflix-page .ct-container-full,
body.linkflix-page [data-content],
body.linkflix-page .ct-page-title,
body.linkflix-page .hero-section,
body.linkflix-page main#main,
body.linkflix-page .site-main,
body.linkflix-page .content-area { max-width: 100% !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.linkflix-page .ct-page-title { display: none !important; }
body.linkflix-page [data-page] { --page-content-max-width: 100% !important; }
body.linkflix-page .ct-container { --container-max-width: 100% !important; }

/* ═══ LARGE SCREEN FIXES ═══ */
@media (min-width: 1600px) {
    .ch-section, .ch-explore-container, .ch-streaming-page, .ch-detail-wrapper { max-width: 1440px !important; margin-left: auto !important; margin-right: auto !important; }
    .ch-card-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; }
    .ch-section-header { max-width: 100% !important; }
}
@media (min-width: 1200px) {
    #ch-ai-grid.ch-card-grid { grid-template-columns: repeat(6, 1fr) !important; }
}

/* ═══ STREAMING SECTION TITLES ═══ */
.ch-streaming-section-title { font-size: 15px; font-weight: 700; color: var(--ch-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ch-streaming-tab-free { border-style: dashed !important; }
.ch-streaming-tab-free.active { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; border-style: solid !important; }

/* ═══ IMPROVED EXPLORE FILTERS ═══ */
.ch-filter-tabs { display: flex !important; gap: 8px !important; overflow-x: auto !important; padding-bottom: 16px !important; margin-bottom: 16px !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ch-filter-tabs::-webkit-scrollbar { display: none; }
.ch-filter-tab { padding: 12px 22px !important; border-radius: 12px !important; border: 2px solid var(--ch-border) !important; background: var(--ch-bg-card) !important; font-size: 14px !important; cursor: pointer !important; white-space: nowrap !important; transition: all .2s !important; font-weight: 600 !important; font-family: var(--ch-font) !important; color: var(--ch-text) !important; display: flex !important; align-items: center !important; gap: 6px !important; }
.ch-filter-tab:hover { border-color: var(--ch-primary) !important; transform: translateY(-1px); }
.ch-filter-tab.active { background: var(--ch-primary) !important; color: #fff !important; border-color: var(--ch-primary) !important; box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.ch-filter-row { display: flex !important; gap: 12px !important; flex-wrap: wrap !important; margin-bottom: 24px !important; }
.ch-select { padding: 12px 18px !important; border: 2px solid var(--ch-border) !important; border-radius: 12px !important; background: var(--ch-bg-card) !important; color: var(--ch-text) !important; font-size: 14px !important; font-family: var(--ch-font) !important; font-weight: 500 !important; min-width: 180px !important; appearance: none !important; -webkit-appearance: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; padding-right: 40px !important; cursor: pointer !important; transition: all .2s !important; outline: none !important; }
.ch-select:focus, .ch-select:hover { border-color: var(--ch-primary) !important; }
.ch-explore-container { max-width: 1440px !important; margin: 0 auto !important; padding: 0 32px 60px !important; }

/* ═══ FREE STREAMING CHIPS ═══ */
.ch-streaming-chip-free { border-color: #10b981 !important; }
.ch-streaming-chip-free span { color: #10b981 !important; font-weight: 600 !important; }

/* ═══ STREAMING SEARCH ═══ */
.ch-streaming-search { margin-bottom: 20px; }
.ch-streaming-search-form { display: flex !important; gap: 8px !important; max-width: 500px; }
.ch-streaming-search-input { flex: 1 !important; padding: 12px 18px !important; border: 2px solid var(--ch-border) !important; border-radius: 12px !important; background: var(--ch-bg-card) !important; color: var(--ch-text) !important; font-size: 14px !important; font-family: var(--ch-font) !important; outline: none !important; }
.ch-streaming-search-input:focus { border-color: var(--ch-primary) !important; }

/* ═══ EXPLORE FILTERS FIX ═══ */
.ch-filter-row { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 12px !important; margin-bottom: 24px !important; align-items: stretch !important; }
.ch-filter-row .ch-select { flex: 1 1 200px !important; min-width: 160px !important; max-width: 300px !important; height: 48px !important; display: flex !important; align-items: center !important; }
.ch-filter-row .ch-btn-primary-sm { height: 48px !important; padding: 0 24px !important; white-space: nowrap !important; }
@media (max-width: 768px) {
    .ch-filter-row .ch-select { flex: 1 1 100% !important; max-width: 100% !important; }
}

/* ═══ EXPLORE TABS SIZE FIX ═══ */
.ch-filter-tabs .ch-filter-tab { padding: 10px 16px !important; font-size: 13px !important; border-radius: 10px !important; border-width: 1px !important; line-height: 1.2 !important; }
@media (max-width: 1400px) { .ch-filter-tabs .ch-filter-tab { padding: 8px 12px !important; font-size: 12px !important; } }

/* ═══ FREE WATCH BANNER ═══ */
.ch-free-watch-banner { background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important; border: 2px solid #10b981 !important; border-radius: 16px !important; padding: 20px 24px !important; margin-bottom: 20px !important; display: flex !important; flex-direction: column !important; gap: 14px !important; }
.linkflix-dark .ch-free-watch-banner { background: linear-gradient(135deg, #064e3b, #065f46) !important; }
.ch-free-watch-info { display: flex !important; align-items: center !important; gap: 12px !important; }
.ch-free-watch-info > i { font-size: 28px !important; color: #10b981 !important; }
.ch-free-watch-info strong { font-size: 16px !important; display: block !important; color: #065f46 !important; }
.linkflix-dark .ch-free-watch-info strong { color: #a7f3d0 !important; }
.ch-free-watch-info span { font-size: 13px !important; color: #047857 !important; }
.linkflix-dark .ch-free-watch-info span { color: #6ee7b7 !important; }
.ch-free-providers { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
.ch-free-provider-chip { display: flex !important; align-items: center !important; gap: 8px !important; padding: 8px 14px !important; background: rgba(255,255,255,.7) !important; border-radius: 10px !important; font-size: 14px !important; font-weight: 600 !important; }
.linkflix-dark .ch-free-provider-chip { background: rgba(0,0,0,.3) !important; }
.ch-free-provider-chip img { width: 32px !important; height: 32px !important; border-radius: 6px !important; }
.ch-btn-free-watch { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; padding: 14px 32px !important; background: #10b981 !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; border-radius: 12px !important; text-decoration: none !important; transition: all .2s !important; box-shadow: 0 4px 12px rgba(16,185,129,.3) !important; }
.ch-btn-free-watch:hover { background: #059669 !important; transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(16,185,129,.4) !important; color: #fff !important; }
.ch-btn-free-watch i { font-size: 18px !important; }

/* ═══ FREE PLAYER MODAL ═══ */
.ch-player-modal { position: fixed; inset: 0; z-index: 10001; display: none; flex-direction: column; }
.ch-player-modal.open { display: flex; }
.ch-player-modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.95); cursor: pointer; }
.ch-player-modal-box { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; z-index: 2; }
.ch-player-header { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 12px 20px !important; background: #111 !important; color: #fff !important; z-index: 3; }
.ch-player-header span { font-size: 15px; font-weight: 600; }
.ch-player-header-actions { display: flex !important; align-items: center !important; gap: 12px !important; }
.ch-player-external-btn { color: #999 !important; font-size: 13px !important; display: flex !important; align-items: center !important; gap: 6px !important; text-decoration: none !important; transition: color .2s; }
.ch-player-external-btn:hover { color: #fff !important; }
.ch-player-close { background: none !important; border: none !important; color: #fff !important; font-size: 22px !important; cursor: pointer !important; padding: 4px 8px !important; }
.ch-player-body { flex: 1; position: relative; background: #000; }
.ch-player-body iframe { width: 100% !important; height: 100% !important; border: none !important; position: absolute !important; inset: 0 !important; }
.ch-player-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; text-align: center; padding: 32px; background: #111; }
.ch-player-fallback i { font-size: 48px; color: var(--ch-primary); }
.ch-player-fallback p { font-size: 16px; color: #aaa; max-width: 400px; }
.ch-free-watch-buttons { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
.ch-btn-free-watch { display: inline-flex !important; align-items: center !important; gap: 8px !important; }

/* ═══════════════════════════════════════════════════════════════
   TV AO VIVO - PROFESSIONAL STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.ch-tv-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    padding: 60px 32px 48px;
    position: relative;
    overflow: hidden;
}
.ch-tv-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
    border-radius: 50%;
}
.ch-tv-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,.15) 0%, transparent 70%);
    border-radius: 50%;
}
.ch-tv-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}
.ch-tv-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(239,68,68,.2);
    border: 1px solid rgba(239,68,68,.4);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.ch-tv-live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}
.ch-tv-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.ch-tv-hero h1 i { color: #818cf8; }
.ch-tv-hero p {
    font-size: 16px;
    color: #a5b4fc;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}
.ch-tv-hero-providers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ch-tv-powered {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.ch-tv-provider-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ch-tv-provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* Container */
.ch-tv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

/* Category navigation */
.ch-tv-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ch-tv-categories::-webkit-scrollbar { display: none; }
.ch-tv-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid var(--ch-border);
    background: var(--ch-bg-card);
    color: var(--ch-text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    font-family: var(--ch-font);
}
.ch-tv-cat-btn:hover {
    border-color: var(--ch-primary);
    transform: translateY(-1px);
    color: var(--ch-text);
}
.ch-tv-cat-btn.active {
    background: var(--ch-primary);
    color: #fff;
    border-color: var(--ch-primary);
    box-shadow: 0 4px 12px rgba(99,102,241,.3);
}
.ch-tv-cat-btn i { font-size: 15px; }

/* Section header */
.ch-tv-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.ch-tv-section-info h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ch-text);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.ch-tv-section-info h2 i { color: var(--ch-primary); }
.ch-tv-section-info p {
    font-size: 14px;
    color: var(--ch-text-muted);
    margin: 4px 0 0;
}
.ch-tv-section-count {
    font-size: 13px;
    color: var(--ch-text-muted);
    font-weight: 600;
    background: var(--ch-bg-card);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--ch-border);
}

/* Channel grid */
.ch-tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}
.ch-tv-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-bottom: 16px;
}

/* Channel card */
.ch-tv-channel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--ch-bg-card);
    border: 1px solid var(--ch-border);
    border-radius: 14px;
    text-decoration: none;
    transition: all .25s;
    color: var(--ch-text);
    position: relative;
    overflow: hidden;
}
.ch-tv-channel-card:hover {
    border-color: var(--ch-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    color: var(--ch-text);
}
.linkflix-dark .ch-tv-channel-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ch-tv-channel-card-sm { padding: 12px 14px; }

/* Channel icon */
.ch-tv-channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.ch-tv-channel-icon-sm { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; }

/* Channel info */
.ch-tv-channel-info {
    flex: 1;
    min-width: 0;
}
.ch-tv-channel-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ch-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ch-tv-channel-provider {
    font-size: 12px;
    color: var(--ch-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

/* Live indicator */
.ch-tv-channel-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.ch-tv-live-indicator {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

/* Arrow */
.ch-tv-channel-arrow {
    color: var(--ch-text-muted);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all .2s;
    flex-shrink: 0;
}
.ch-tv-channel-card:hover .ch-tv-channel-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Other sections */
.ch-tv-other-section { margin-bottom: 36px; }
.ch-tv-section-header-sm { margin-bottom: 14px; }
.ch-tv-section-header-sm h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ch-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.ch-tv-section-header-sm h3 i { color: var(--ch-primary); font-size: 16px; }
.ch-tv-see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--ch-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
}
.ch-tv-see-all:hover { gap: 10px; }

/* Disclaimer */
.ch-tv-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--ch-bg-card);
    border: 1px solid var(--ch-border);
    border-radius: 12px;
    margin-top: 20px;
}
.ch-tv-disclaimer i { color: var(--ch-text-muted); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.ch-tv-disclaimer p { font-size: 13px; color: var(--ch-text-muted); margin: 0; line-height: 1.6; }

/* ═══ RESPONSIVE TV AO VIVO ═══ */
@media (max-width: 768px) {
    .ch-tv-hero { padding: 40px 20px 32px; }
    .ch-tv-hero h1 { font-size: 26px; }
    .ch-tv-hero p { font-size: 14px; }
    .ch-tv-container { padding: 20px 16px 80px; }
    .ch-tv-grid { grid-template-columns: 1fr; }
    .ch-tv-grid-compact { grid-template-columns: 1fr; }
    .ch-tv-section-info h2 { font-size: 18px; }
    .ch-tv-cat-btn { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
    .ch-tv-hero h1 { font-size: 22px; }
    .ch-tv-channel-card { padding: 12px 14px; gap: 10px; }
    .ch-tv-channel-icon { width: 40px; height: 40px; font-size: 17px; }
    .ch-tv-channel-info strong { font-size: 14px; }
}

/* ═══ PROFILE CLICKABLE STATS ═══ */
.ch-stat-clickable { cursor: pointer; transition: all .2s; border-radius: 8px; padding: 4px 8px; margin: -4px -8px; }
.ch-stat-clickable:hover { background: var(--ch-primary); }
.ch-stat-clickable:hover strong, .ch-stat-clickable:hover span { color: #fff !important; }

/* ═══ SOCIAL MODAL (Followers / Following) ═══ */
.ch-social-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; }
.ch-social-modal.open { display: flex; }
.ch-social-modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); cursor: pointer; }
.ch-social-modal-box { position: relative; z-index: 2; background: var(--ch-bg-card, #fff); border-radius: 20px; width: 90%; max-width: 480px; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; }
.ch-social-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--ch-border, #e5e7eb); }
.ch-social-modal-header h3 { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--ch-text, #1e293b); }
.ch-social-modal-header h3 i { color: var(--ch-primary, #6366f1); }
.ch-social-modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ch-text-muted, #94a3b8); padding: 4px 8px; border-radius: 8px; transition: all .2s; }
.ch-social-modal-close:hover { background: var(--ch-bg-hover, #f1f5f9); color: var(--ch-text, #1e293b); }
.ch-social-modal-list { overflow-y: auto; padding: 8px 0; max-height: 60vh; }
.ch-social-user-item { display: flex; align-items: center; gap: 14px; padding: 12px 24px; text-decoration: none; color: var(--ch-text, #1e293b); transition: background .15s; }
.ch-social-user-item:hover { background: var(--ch-bg-hover, #f8fafc); }
.ch-social-user-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--ch-border, #e5e7eb); }
.ch-social-user-info { flex: 1; min-width: 0; }
.ch-social-user-info strong { display: block; font-size: 15px; font-weight: 700; color: var(--ch-text, #1e293b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-social-user-info span { font-size: 13px; color: var(--ch-primary, #6366f1); font-weight: 600; }
.ch-social-user-stats small { font-size: 12px; color: var(--ch-text-muted, #94a3b8); white-space: nowrap; }
.ch-social-empty { text-align: center; padding: 40px 20px; color: var(--ch-text-muted, #94a3b8); }
.ch-social-empty i { font-size: 40px; margin-bottom: 12px; display: block; opacity: .4; }
.ch-social-empty p { margin: 0; font-size: 15px; }

@media (max-width: 480px) {
    .ch-social-modal-box { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 0; }
    .ch-social-user-item { padding: 10px 16px; gap: 10px; }
    .ch-social-user-avatar { width: 40px; height: 40px; }
}
