/* ═══════════════════════════════════════════════
   WatchTVList — Full Responsive Stylesheet
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary: #fdc003;
    --color-primary-dark: #e5ad02;
    --color-bg: #f9f9f8;
    --color-surface: #ffffff;
    --color-text: #111111;
    --color-text-muted: #888888;
    --color-border: #ebebea;
    --color-border-hover: #d0d0ce;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.06);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════ */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: var(--safe-top);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    flex-shrink: 0;
}

.site-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.site-nav a {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all .15s;
}

.site-nav a:hover { background: #f5f5f3; color: var(--color-text); }
.site-nav a.active { background: var(--color-primary); color: #1a1000; font-weight: 600; }

.header-search { margin-left: auto; }

.header-search-form {
    display: flex;
    align-items: center;
    background: #f5f5f3;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.header-search-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(253,192,3,.12);
}

.header-search-form input {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    width: 200px;
    font-family: inherit;
}

.header-search-form button {
    background: none;
    border: none;
    padding: 8px 12px;
    color: var(--color-text-muted);
    display: flex;
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: var(--color-text);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    margin-top: 60px;
    padding-bottom: var(--safe-bottom);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-logo { margin-bottom: 8px; }

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: #555;
    padding: 4px 0;
    transition: color .15s;
}

.footer-links a:hover { color: var(--color-primary-dark); }

.footer-newsletter {
    grid-column: 1 / -1;
    margin: 16px 0;
    text-align: center;
}
.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-newsletter .newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}
.footer-newsletter .newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    min-height: 44px;
}
.footer-newsletter .newsletter-form button {
    padding: 10px 18px;
    background: var(--color-primary);
    color: #1a1000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    min-height: 44px;
}
.footer-newsletter .newsletter-form button:hover {
    background: var(--color-primary-dark);
}
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
    background: var(--color-surface);
    padding: 64px 24px 48px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fef9e7;
    color: #ba7517;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    border: 1px solid rgba(186,117,23,.2);
    margin-bottom: 24px;
}

.hero-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #e5ad02;
    display: inline-block;
}

.hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 14px;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.hero h1 em {
    font-style: normal;
    color: var(--color-primary-dark);
}

.hero > p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0 auto 32px;
    max-width: 520px;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   SEARCH BOX
   ═══════════════════════════════════════════════ */
.search-wrap {
    display: flex;
    align-items: center;
    max-width: 580px;
    margin: 0 auto 28px;
    background: #f5f5f3;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.search-wrap:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(253,192,3,.12);
    background: var(--color-surface);
}

.search-icon {
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #aaa;
    pointer-events: none;
    flex-shrink: 0;
}

.search-wrap input {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    font-size: 14px;
    background: transparent;
    color: var(--color-text);
    border: none;
    outline: none;
    font-family: inherit;
}

.search-wrap input::placeholder { color: #b0b0ae; }

.search-wrap button {
    flex-shrink: 0;
    background: var(--color-primary);
    color: #1a1000;
    border: none;
    padding: 0 24px;
    min-height: 48px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .15s;
}

.search-wrap button:hover { background: var(--color-primary-dark); }

/* ═══════════════════════════════════════════════
   CATEGORY PILLS
   ═══════════════════════════════════════════════ */
.category-bar {
    display: flex;
    gap: 7px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 24px;
    margin-bottom: 24px;
}

.cat-pill {
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    color: #777;
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-family: inherit;
    transition: all .18s;
    text-decoration: none;
    white-space: nowrap;
}

.cat-pill:hover {
    background: #f5f5f3;
    color: var(--color-text);
    border-color: var(--color-border-hover);
}

.cat-pill.active {
    background: var(--color-primary);
    color: #1a1000;
    border-color: var(--color-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   GRID CONTROLS
   ═══════════════════════════════════════════════ */
.grid-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto 16px;
    padding: 0 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.grid-controls .left,
.grid-controls .right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.now-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: var(--color-primary);
    color: #1a1000;
    border: none;
    font-family: inherit;
}

.date-display {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.tz-label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.tz-select {
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font-size: 12px;
    font-family: inherit;
    background: var(--color-surface);
    max-width: 180px;
}

/* ═══════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════ */
.loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 0;
}

.loader {
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
    margin-top: 14px;
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════
   EPG GRID — Desktop Timeline
   ═══════════════════════════════════════════════ */
.epg-grid-wrapper {
    display: grid;
    grid-template-columns: 170px 1fr;
    max-width: 1320px;
    margin: 0 auto 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.grid-sidebar {
    border-right: 1px solid var(--color-border);
}

.grid-sidebar-header {
    height: 44px;
    border-bottom: 1px solid var(--color-border);
}

.grid-channel-row {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid #f5f5f3;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text);
    transition: background .15s;
}

.grid-channel-row:hover { background: #fafafa; }

.grid-channel-idx {
    font-size: 10px;
    color: #bbb;
    font-weight: 600;
    min-width: 18px;
}

.grid-body {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: thin;
}

.grid-timeline-header {
    display: flex;
    height: 44px;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-surface);
    z-index: 2;
}

.grid-time-slot {
    min-width: 200px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    border-right: 1px solid #f0f0ee;
}

.grid-content-rows { position: relative; }

.grid-programs-row {
    height: 48px;
    position: relative;
    border-bottom: 1px solid #f5f5f3;
}

.grid-program {
    position: absolute;
    height: 36px;
    top: 6px;
    background: #f5f5f3;
    border: 1px solid #e8e8e6;
    border-radius: 6px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: background .15s, box-shadow .15s;
    z-index: 1;
}

.grid-program:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(253,192,3,.25);
    z-index: 3;
}

.grid-program.live {
    background: var(--color-primary);
    border-color: var(--color-primary-dark);
    z-index: 2;
}

.grid-program h4 {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text);
}

.grid-program span {
    font-size: 10px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.grid-program.live h4,
.grid-program.live span { color: #1a1000; }

.grid-now-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e11d48;
    z-index: 10;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════
   MOBILE LIST — Channel Cards
   ═══════════════════════════════════════════════ */
.mobile-list {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px 24px;
}

.mobile-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f5f5f3;
    border: 1px solid #e8e8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    flex-shrink: 0;
}

.mobile-ch-name {
    font-size: 14px;
    font-weight: 600;
}

.mobile-prog-item {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f3;
}

.mobile-prog-item:last-child { border-bottom: none; }

.mobile-prog-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mobile-prog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #fde2e2;
    color: #dc2626;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-top: 10px;
    background: #f9f9f8;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    transition: background .15s;
}

.view-all-btn:hover { background: #f0f0ee; }

.view-all-badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--color-primary);
    color: #1a1000;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════
   CHANNEL PAGE — Single Channel Timeline
   ═══════════════════════════════════════════════ */
.channel-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
}

.channel-main {
    min-width: 0;
    overflow: hidden;
}

.channel-header h1 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 10px;
    line-height: 1.2;
}

.channel-header h1 span {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.85em;
}

.channel-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.badge-cat { background: #f5f5f3; color: #888; border: 1px solid #e8e8e6; }
.badge-country { background: #fef9e7; color: #ba7517; border: 1px solid rgba(186,117,23,.2); }

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0 20px;
    font-size: 13px;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-text-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--color-primary-dark); }
.breadcrumb .active { color: var(--color-text); font-weight: 500; }

/* ── Date Navigation ── */
.date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.date-nav .nav-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: all .15s;
}

.date-nav .nav-pill:hover { background: #f5f5f3; color: var(--color-text); }
.date-nav .nav-pill:active { background: #eee; transform: scale(0.95); }

.pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
    flex: 1;
    scroll-snap-type: x proximity;
}

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

.date-pill {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all .15s;
    flex-shrink: 0;
    min-height: 40px;
    scroll-snap-align: start;
}

.date-pill:hover { background: #f5f5f3; color: var(--color-text); }
.date-pill:active { transform: scale(0.97); }

.date-pill.active {
    background: var(--color-primary);
    color: #1a1000;
    border-color: var(--color-primary);
    font-weight: 600;
}

/* ── Schedule Header ── */
.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.schedule-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}

.tz-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Timeline Cards ── */
.timeline {
    position: relative;
    padding-left: 18px;
}

.timeline-line {
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.program-item {
    position: relative;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.program-time-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 50px;
    position: relative;
    z-index: 1;
}

.program-time {
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.program-icon-ring {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon-ring.live      { background: #fde2e2; color: #dc2626; }
.program-icon-ring.past      { background: #f3f4f6; color: #9ca3af; }
.program-icon-ring.upcoming  { background: #fef9e7; color: #ba7517; }

.program-card {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    padding: 16px;
    transition: box-shadow .2s, transform .2s;
    overflow: hidden;
}

.program-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-live {
    background: linear-gradient(135deg, #fef9e7 0%, #fff7e0 100%);
    border: 1px solid rgba(253,192,3,.3);
    box-shadow: 0 2px 12px rgba(253,192,3,.15);
}

.card-past {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    opacity: .75;
}

.card-upcoming {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.program-card .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.program-card .duration,
.program-card .time-range {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.program-card h2 {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    word-break: break-word;
}

.program-card .prog-desc {
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-card .badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.program-card .ch-badge {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.ch-badge-light { background: #f5f5f3; color: #888; }
.ch-badge-dark  { background: #1a1c1c; color: #fff; }
.ch-badge-muted { background: #f3f4f6; color: #9ca3af; }

/* ── Live Progress Bar ── */
.progress-bar-bg {
    height: 4px;
    background: rgba(0,0,0,.08);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary-dark);
    border-radius: 99px;
    transition: width 30s linear;
}

/* ── Live Badge ── */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════
   SEO BOX & FAQ
   ═══════════════════════════════════════════════ */
.seo-box {
    margin: 28px 0;
    padding: 20px;
    background: #f9f9f8;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

.seo-box strong { color: var(--color-text); }

.faq-section { margin: 32px 0; }

.faq-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    background: var(--color-surface);
    transition: background .15s;
    user-select: none;
    gap: 12px;
}

.faq-q:hover { background: #fafafa; }

.faq-icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform .2s;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-a-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-item.active .faq-a-wrap { max-height: 200px; }

.faq-a {
    padding: 0 16px 14px;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

/* ═══════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 18px;
    overflow: hidden;
}

.sidebar-widget .wtl-ad-sidebar {
    margin: 0 auto;
    padding: 0;
}

.sidebar-widget h2 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget .desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.channel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.channel-item {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text);
    background: #f9f9f8;
    transition: all .15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-item:hover { background: #f0f0ee; }
.channel-item.active { background: var(--color-primary); color: #1a1000; font-weight: 600; }

/* ═══════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════ */
.newsletter-card {
    background: linear-gradient(135deg, #fef9e7 0%, #fff7e0 100%);
    border: 1px solid rgba(253,192,3,.2);
}

.newsletter-card h2 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.newsletter-card .subtitle { font-size: 12px; color: var(--color-text-muted); margin-bottom: 14px; }

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.newsletter-form input[type="email"]:focus { border-color: var(--color-primary); }

.newsletter-form button {
    width: 100%;
    padding: 11px;
    background: var(--color-primary);
    color: #1a1000;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: background .15s;
}

.newsletter-form button:hover { background: var(--color-primary-dark); }

.newsletter-response {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    margin-top: 8px;
}

.bg-success { background: #ecfdf5; color: #065f46; padding: 8px; }
.bg-error   { background: #fef2f2; color: #991b1b; padding: 8px; }

/* ═══════════════════════════════════════════════
   SEO CONTENT & FAQ WRAPPERS
   ═══════════════════════════════════════════════ */
.seo-content-wrap {
    max-width: 900px;
    margin: 48px auto;
    padding: 0 24px;
}

.faq-wrap {
    max-width: 700px;
    margin: 24px auto 48px;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════
   SEARCH PAGE
   ═══════════════════════════════════════════════ */
.search-results-wrap {
    padding: 36px 24px 72px;
}

.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto 20px;
}

.search-results-label {
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.search-results-count {
    background: #fff;
    border: 1px solid var(--color-border);
    color: #777;
    padding: 4px 13px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
}

.ad-native-wrap {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 24px;
    text-align: center;
}

.search-seo-section {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 72px 24px;
}

.search-seo-inner {
    max-width: 780px;
    margin: 0 auto;
}

.search-seo-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.search-seo-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 40px 0 14px;
}

.search-seo-section p {
    font-size: 15px;
    line-height: 1.85;
    color: #666;
    margin-bottom: 14px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.channel-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

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

.channel-card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.channel-card-meta {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: auto;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════
   LIVE NOW — Sidebar Widget
   ═══════════════════════════════════════════════ */
.live-now-widget h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.live-now-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-now-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fafafa;
    transition: background .15s;
}

.live-now-item:hover { background: #f0f0ee; }

.live-now-ch {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
}

.live-now-prog {
    font-size: 11px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-now-item.no-listing .live-now-prog {
    color: #bbb;
    font-style: italic;
}

/* ═══════════════════════════════════════════════
   LIVE NOW — Home Section (full width)
   ═══════════════════════════════════════════════ */
.live-now-section {
    max-width: 1320px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

.live-now-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.live-now-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

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

.live-now-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.live-now-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.live-now-card-ch {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.live-now-card-prog {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-now-card.no-listing .live-now-card-prog {
    color: #bbb;
    font-style: italic;
}

.live-now-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.live-badge-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.live-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dc2626;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

.live-now-card-btn {
    display: block;
    text-align: center;
    padding: 8px 12px;
    margin-top: 4px;
    background: var(--color-primary);
    color: #1a1000;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .1s;
}

.live-now-card-btn:hover {
    background: #e6c300;
    transform: translateY(-1px);
}

.live-now-view-all {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.live-now-view-all:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   BROWSE CHANNELS SECTION
   ═══════════════════════════════════════════════ */
.browse-channels-section {
    max-width: 1320px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.browse-channels-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.browse-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.channel-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.channel-browse-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}

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

.channel-browse-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.channel-browse-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════
   SEO CONTENT SECTION
   ═══════════════════════════════════════════════ */
.seo-content-wrap {
    max-width: 1320px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.seo-content-wrap h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.seo-content-wrap h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--color-text);
}

.seo-content-wrap p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* SEO Features Grid */
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.seo-feature-card {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.seo-feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.seo-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.seo-feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* SEO Categories Grid */
.seo-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.seo-cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.seo-cat-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.seo-cat-card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.seo-cat-card p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* SEO Benefits Grid */
.seo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.seo-benefit-card {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
}

.seo-benefit-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #1a1000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.seo-benefit-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
}

.seo-benefit-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Subtitle */
.faq-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: -12px;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════
   AD SLOTS
   ═══════════════════════════════════════════════ */
.wtl-ad-leaderboard,
.wtl-ad-sidebar,
.wtl-ad-native,
.wtl-ad-skyscraper,
.wtl-ad-halfpage {
    text-align: center;
    margin: 16px auto;
    line-height: 0;
}

.wtl-ad-leaderboard {
    max-width: 728px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wtl-ad-sidebar     { max-width: 300px; min-height: 250px; }
.wtl-ad-native      { max-width: 100%; min-height: 90px; }
.wtl-ad-skyscraper  { max-width: 160px; min-height: 600px; }
.wtl-ad-halfpage    { max-width: 160px; min-height: 300px; }

.wtl-ad-desktop { display: block; }
.wtl-ad-mobile  { display: none; }

/* Program ad slot between program cards */
.program-ad-slot {
    margin: 24px 0;
    padding: 20px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #fafaf9;
    border-radius: var(--radius);
}
.program-ad-slot .wtl-ad-native {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Native ad in main content area */
.channel-main .wtl-ad-native,
.static-page .wtl-ad-native {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* Social Bar (sticky top notification) */
.wtl-social-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wtl-social-bar-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 1000;
    line-height: 1;
}

.wtl-social-bar-close:hover {
    color: var(--color-text);
}

/* Ad wrapper for search and tv-all pages */
/* ═══════════════════════════════════════════════
   STATIC PAGES (About, Privacy, Terms)
   ═══════════════════════════════════════════════ */
.static-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.static-page h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-text);
    line-height: 1.2;
}

.static-page .static-updated {
    font-size: 13px;
    color: #999;
    margin-bottom: 32px;
}

.static-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--color-text);
}

.static-page p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.static-page strong {
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════ */
.contact-form {
    margin: 24px 0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #f9f9f8;
    color: var(--color-text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(253,192,3,.12);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.contact-submit {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-primary);
    color: #1a1000;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.contact-submit:hover {
    background: #e6c300;
    transform: translateY(-1px);
}

.contact-response {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.contact-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.contact-list li {
    padding: 12px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid var(--color-border);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li strong {
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════ */
.error-page {
    text-align: center;
    padding: 80px 24px;
}

.error-page h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #ddd;
    margin-bottom: 8px;
}

.error-page h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.error-page p {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.error-page a {
    display: inline-block;
    padding: 10px 24px;
    background: var(--color-primary);
    color: #1a1000;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   DESKTOP PROGRAM CARDS (min-width: 1024px)
   ═══════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .program-item {
        gap: 16px;
        margin-bottom: 18px;
    }

    .program-time-col {
        min-width: 56px;
        gap: 8px;
    }

    .program-time {
        font-size: 13px;
    }

    .program-icon-ring {
        width: 30px;
        height: 30px;
    }

    .program-card {
        width: 100%;
        padding: 16px 20px;
        border-radius: 10px;
    }

    .program-card .meta-row {
        margin-bottom: 8px;
    }

    .program-card .duration,
    .program-card .time-range {
        font-size: 12px;
        letter-spacing: .03em;
    }

    .program-card h2 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.35;
    }

    .program-card .prog-desc {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }

    .program-card .badges {
        margin-top: 2px;
    }

    .program-card .ch-badge {
        padding: 4px 12px;
        font-size: 11px;
    }

    .badge-live {
        padding: 5px 14px;
        font-size: 11px;
        letter-spacing: .05em;
    }

    .progress-bar-bg {
        height: 5px;
        margin-top: 2px;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 900px)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .epg-grid-wrapper { display: none; }

    .channel-layout {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 24px;
    }

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE (max-width: 640px)
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
    /* ── Header ── */
    .header-inner {
        padding: 0 12px;
        height: 52px;
        gap: 8px;
    }

    .site-logo {
        font-size: 15px;
        gap: 6px;
        flex: 1;
    }

    .site-logo svg { width: 20px; height: 20px; }

    .site-nav {
        display: none;
        position: fixed;
        top: 52px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: 12px;
        z-index: 200;
        overflow-y: auto;
    }

    .site-nav.open { display: flex; }

    .site-nav a {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 10px;
        font-weight: 500;
    }

    .menu-toggle {
        display: flex;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        order: 10;
    }

    .search-toggle {
        display: flex;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        order: 11;
    }

    .header-search {
        display: none;
        position: fixed;
        top: 52px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        padding: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,.1);
        z-index: 200;
    }

    .header-search.open { display: block; }

    .header-search-form {
        width: 100%;
        border-radius: 12px;
    }

    .header-search-form input {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
    }

    .header-search-form button {
        padding: 14px 16px;
    }

    /* ── Hero ── */
    .hero {
        padding: 32px 16px 28px;
    }

    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hero > p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .hero-eyebrow {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    /* ── Search Box ── */
    .search-wrap {
        margin: 0 auto 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
    }

    .search-wrap input {
        padding: 14px 0 14px 14px;
        font-size: 15px;
    }

    .search-wrap button {
        padding: 0 20px;
        min-height: 48px;
        font-size: 12px;
        letter-spacing: .04em;
    }

    .search-icon { padding: 0 12px; }

    /* ── Category Pills ── */
    .category-bar {
        padding: 0 16px;
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 20px;
        scroll-snap-type: x proximity;
    }

    .category-bar::-webkit-scrollbar { display: none; }

    .cat-pill {
        padding: 8px 16px;
        font-size: 12px;
        flex-shrink: 0;
        scroll-snap-align: start;
        border-radius: 99px;
    }

    /* ── Grid Controls ── */
    .grid-controls {
        padding: 0 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .date-display { font-size: 13px; }

    .tz-select {
        max-width: 140px;
        font-size: 11px;
        padding: 6px 8px;
    }

    .now-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* ── Mobile Cards ── */
    .mobile-list {
        padding: 0 16px 24px;
        max-width: 100%;
    }

    .mobile-card {
        padding: 16px;
        border-radius: 14px;
        margin-bottom: 12px;
        box-shadow: var(--shadow-sm);
    }

    .mobile-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .mobile-logo {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        background: linear-gradient(135deg, #f5f5f3, #eee);
    }

    .mobile-ch-name {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: -.01em;
    }

    .mobile-prog-item {
        padding: 10px 0;
        border-bottom: 1px solid #f0f0ee;
    }

    .mobile-prog-item:last-child { border-bottom: none; }

    .mobile-prog-title {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .mobile-prog-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: var(--color-text-muted);
    }

    .live-badge {
        padding: 3px 10px;
        font-size: 10px;
        border-radius: 6px;
    }

    .view-all-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        margin-top: 12px;
        border-radius: 10px;
        font-size: 13px;
        min-height: 44px;
    }

    .view-all-badge {
        padding: 5px 12px;
        font-size: 11px;
        border-radius: 6px;
    }

    /* ── Channel Page ── */
    .channel-layout {
        padding: 12px;
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .channel-main { overflow: visible; }

    .channel-header h1 {
        font-size: 1.15rem;
        line-height: 1.25;
    }

    .channel-header h1 span {
        display: block;
        font-size: 0.75em;
        margin-top: 4px;
        color: var(--color-text-muted);
        font-weight: 400;
    }

    .breadcrumb {
        font-size: 12px;
        padding: 8px 0 12px;
        gap: 4px;
    }

    .breadcrumb svg { width: 12px; height: 12px; }

    .schedule-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .schedule-title { font-size: 14px; }

    .tz-container {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .tz-label { font-size: 11px; }
    .tz-select { flex: 1; max-width: none; width: 100%; }

    .date-nav { gap: 6px; }
    .date-pill { padding: 8px 14px; font-size: 12px; min-height: 38px; }
    .nav-pill { min-width: 42px; min-height: 42px; border-radius: 10px; }

    /* ── Timeline ── */
    .timeline { padding-left: 12px; }
    .timeline-line { left: 3px; }

    .program-item {
        gap: 10px;
        margin-bottom: 12px;
    }

    .program-time-col { min-width: 40px; }
    .program-time { font-size: 11px; font-weight: 700; }
    .program-icon-ring { width: 24px; height: 24px; }

    .program-card {
        padding: 14px;
        border-radius: 12px;
        max-width: none;
    }

    .program-card h2 {
        font-size: 0.95rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .program-card .prog-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .program-card .meta-row { margin-bottom: 6px; }
    .program-card .duration,
    .program-card .time-range { font-size: 11px; }

    .badge-live { padding: 4px 12px; font-size: 10px; }

    .progress-bar-bg { height: 5px; }

    /* ── Sidebar ── */
    .sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-widget {
        padding: 16px;
        border-radius: 12px;
    }

    .sidebar-widget h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .channel-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .channel-item {
        padding: 8px 10px;
        font-size: 11px;
        border-radius: 8px;
        min-height: 36px;
        display: flex;
        align-items: center;
    }

    .live-now-item { padding: 10px 12px; }
    .live-now-ch { font-size: 13px; }
    .live-now-prog { font-size: 12px; }

    /* ── Search Results ── */
    .search-results-wrap { padding: 24px 16px 40px; }
    .search-results-header { margin-bottom: 16px; }
    .ad-native-wrap { padding: 0 16px; }
    .search-seo-section { padding: 40px 16px; }
    .search-seo-section h2 { font-size: 1.2rem; }
    .search-seo-section h3 { font-size: 1rem; margin: 24px 0 10px; }
    .search-seo-section p { font-size: 13px; }

    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }

    .channel-card {
        padding: 14px;
        border-radius: 12px;
        min-height: 80px;
    }

    .channel-card-name { font-size: 13px; }

    /* ── Live Now Section ── */
    .live-now-section {
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .live-now-header h2 { font-size: 1.1rem; }

    .live-now-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .live-now-card {
        padding: 14px;
        border-radius: 12px;
    }

    .live-now-card-ch { font-size: 13px; }
    .live-now-card-prog { font-size: 12px; }

    /* ── Browse Channels ── */
    .browse-channels-section { padding: 0 16px; }
    .browse-channels-section h2 { font-size: 1.2rem; }

    .channel-browse-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .channel-browse-card {
        padding: 12px 14px;
    }

    .channel-browse-name { font-size: 13px; }

    /* ── SEO Content ── */
    .seo-content-wrap {
        padding: 0 16px;
        margin: 32px auto;
    }

    .seo-content-wrap h2 { font-size: 1.2rem; }
    .seo-content-wrap h3 { font-size: 1rem; }
    .seo-content-wrap p { font-size: 13px; }

    .faq-wrap {
        padding: 0 16px;
        margin: 16px auto 32px;
    }

    .faq-wrap h2 { font-size: 1.1rem; }

    /* ── Static Pages ── */
    .static-page { padding: 24px 16px 40px; }
    .static-page h1 { font-size: 1.5rem; }
    .static-page h2 { font-size: 1.1rem; }
    .static-page p { font-size: 14px; }

    .contact-submit { width: 100%; }

    /* ── Footer ── */
    .site-footer { margin-top: 40px; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px 20px;
    }

    .footer-brand { text-align: center; }
    .footer-brand p { font-size: 13px; }
    .footer-links { text-align: center; }
    .footer-links h4 { margin-bottom: 12px; }
    .footer-links a { font-size: 13px; padding: 6px 0; }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }

    .footer-bottom {
        padding-top: 16px;
        font-size: 12px;
    }

    /* ── FAQ ── */
    .faq-item { border-radius: 12px; }
    .faq-q { padding: 14px 16px; font-size: 13px; min-height: 48px; }
    .faq-a { padding: 0 16px 14px; font-size: 13px; }

    /* ── SEO Box ── */
    .seo-box {
        padding: 16px;
        font-size: 13px;
        border-radius: 12px;
    }

    /* ── SEO Content ── */
    .seo-content-wrap { padding: 0 16px; }
    .seo-content-wrap h2 { font-size: 1.2rem; }
    .seo-content-wrap h3 { font-size: 1rem; }
    .seo-content-wrap p { font-size: 13px; }

    .seo-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-feature-card { padding: 18px; }

    .seo-categories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .seo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-benefit-card { padding: 18px; }

    .faq-wrap { padding: 0 16px; }
    .faq-wrap h2 { font-size: 1.1rem; }

    /* ── Ads ── */
    .wtl-ad-leaderboard { max-width: 320px; min-height: 50px; }
    .wtl-ad-desktop { display: none !important; }
    .wtl-ad-mobile  { display: block !important; }
    .wtl-social-bar { padding: 6px; }
    .wtl-social-bar-close { font-size: 18px; top: 2px; right: 6px; }

    /* ── Newsletter ── */
    .newsletter-card { border-radius: 12px; }
    .newsletter-card h2 { font-size: 15px; }
    .newsletter-form input[type="email"] { padding: 14px; font-size: 14px; }
    .newsletter-form button { padding: 14px; font-size: 14px; }

    /* ── 404 ── */
    .error-page { padding: 60px 16px; }
    .error-page h1 { font-size: 3rem; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max-width: 380px)
   ═══════════════════════════════════════════════ */
@media (max-width: 380px) {
    .header-inner { padding: 0 10px; }

    .hero { padding: 24px 12px 20px; }
    .hero h1 { font-size: 1.25rem; }
    .hero > p { font-size: 12px; }

    .search-wrap input { padding: 12px 0 12px 12px; font-size: 14px; }
    .search-wrap button { padding: 0 16px; min-height: 44px; font-size: 11px; }

    .cat-pill { padding: 7px 14px; font-size: 11px; }

    .mobile-list { padding: 0 12px 20px; }
    .mobile-card { padding: 14px; }
    .mobile-logo { width: 40px; height: 40px; font-size: 14px; }

    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 12px 32px;
    }

    .channel-card { padding: 12px; min-height: 60px; }

    .live-now-grid { grid-template-columns: 1fr; gap: 8px; }

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

    .program-card { padding: 12px; max-width: none; }
    .program-card h2 { font-size: 0.9rem; }

    .error-page h1 { font-size: 2.5rem; }
}

/* ═══════════════════════════════════════════════
   LANDSCAPE MOBILE
   ═══════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 20px 16px; }
    .hero h1 { font-size: 1.2rem; }
    .hero > p { display: none; }
    .hero-eyebrow { margin-bottom: 12px; }
}

/* ═══════════════════════════════════════════════
   DARK MODE SUPPORT (optional)
   ═══════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
    /* Uncomment below to enable dark mode */
    /*
    :root {
        --color-bg: #111111;
        --color-surface: #1a1a1a;
        --color-text: #e0e0e0;
        --color-text-muted: #888888;
        --color-border: #2a2a2a;
        --color-border-hover: #3a3a3a;
    }
    */
}
