/**
 * Aristocrat Live TV — Compact Player (Audio Bar).
 *
 * Fixed bottom bar with mini video preview, audio controls, scrubber,
 * and volume. Replaces the full-screen player for a "listen while reading"
 * experience. Video stays visible for TOS compliance.
 */

/* ─────────── Bar Container ─────────── */
.ltv-audio-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #111115;
    display: flex;
    align-items: center;
    z-index: 999999;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ltv-audio-bar.ltv-audio-bar-visible {
    transform: translateY(0);
}

/* ─────────── Mini Video ─────────── */
.ltv-audio-bar-video {
    width: 114px;
    height: 64px;
    background: #000;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ltv-audio-bar-video iframe,
.ltv-audio-bar-video video {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    pointer-events: none;
}

.ltv-audio-bar-live {
    position: absolute;
    top: 4px;
    left: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(0,0,0,0.6);
    padding: 2px 5px;
    border-radius: 2px;
    z-index: 2;
}

.ltv-audio-bar-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e63946;
    animation: ltv-ab-pulse 1.8s infinite;
}

@keyframes ltv-ab-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ltv-audio-bar-live-text {
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.ltv-audio-bar-expand-icon {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: rgba(0,0,0,0.5);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #aaa;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 2;
}

.ltv-audio-bar-video:hover .ltv-audio-bar-expand-icon { opacity: 1; }

/* ─────────── Audio Visualizer ─────────── */
.ltv-audio-bar-viz {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 24px;
    padding: 0 12px;
    flex-shrink: 0;
}

.ltv-audio-bar-viz-bar {
    width: 3px;
    background: #e63946;
    border-radius: 2px;
    animation: ltv-ab-viz 0.8s ease-in-out infinite alternate;
}

.ltv-audio-bar-viz-bar:nth-child(1) { height: 35%; animation-delay: 0s; }
.ltv-audio-bar-viz-bar:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.ltv-audio-bar-viz-bar:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.ltv-audio-bar-viz-bar:nth-child(4) { height: 80%; animation-delay: 0.1s; }
.ltv-audio-bar-viz-bar:nth-child(5) { height: 55%; animation-delay: 0.25s; }

@keyframes ltv-ab-viz {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Paused state — freeze visualizer */
.ltv-audio-bar-paused .ltv-audio-bar-viz-bar {
    animation-play-state: paused;
}

/* ─────────── Channel + Title ─────────── */
.ltv-audio-bar-info {
    flex: 1;
    min-width: 0;
    padding: 0 4px;
}

.ltv-audio-bar-channel {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.ltv-audio-bar-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    letter-spacing: -0.1px;
    margin-top: 2px;
}

/* ─────────── Controls ─────────── */
.ltv-audio-bar-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    flex-shrink: 0;
}

.ltv-ab-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.06);
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    line-height: 1;
}

.ltv-ab-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }

.ltv-ab-btn-play {
    width: 36px;
    height: 36px;
    background: #e63946;
    color: #fff;
    font-size: 16px;
}

.ltv-ab-btn-play:hover { background: #d62839; }

/* ─────────── Time + Scrubber ─────────── */
.ltv-audio-bar-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    flex-shrink: 0;
}

.ltv-audio-bar-time-text {
    font-size: 11px;
    color: #555;
    font-variant-numeric: tabular-nums;
    min-width: 38px;
}

.ltv-audio-bar-scrubber {
    width: 160px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    padding: 8px 0;
    background-clip: content-box;
}

.ltv-audio-bar-scrubber-fill {
    height: 100%;
    width: 0%;
    background: #e63946;
    border-radius: 2px;
    pointer-events: none;
}

.ltv-audio-bar-scrubber-dot {
    position: absolute;
    top: 5px;
    left: 0%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    margin-left: -5px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}

.ltv-audio-bar-scrubber:hover .ltv-audio-bar-scrubber-dot { opacity: 1; }

/* ─────────── Volume ─────────── */
.ltv-audio-bar-vol {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    flex-shrink: 0;
}

.ltv-audio-bar-vol-icon {
    font-size: 14px;
    color: #888;
    cursor: pointer;
}

.ltv-audio-bar-vol-track {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    padding: 8px 0;
    background-clip: content-box;
}

.ltv-audio-bar-vol-fill {
    height: 100%;
    width: 70%;
    background: #888;
    border-radius: 2px;
    pointer-events: none;
}

/* ─────────── Expand Button ─────────── */
.ltv-audio-bar-full {
    padding: 0 16px 0 8px;
    flex-shrink: 0;
}

.ltv-audio-bar-full-btn {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.15s;
    background: none;
    font-family: inherit;
}

.ltv-audio-bar-full-btn:hover { color: #fff; border-color: #666; }

/* ─────────── Responsive ─────────── */
@media (max-width: 768px) {
    .ltv-audio-bar-time,
    .ltv-audio-bar-vol,
    .ltv-audio-bar-viz { display: none; }

    .ltv-audio-bar-info { padding: 0 8px; }
}

@media (max-width: 480px) {
    .ltv-audio-bar-video { width: 90px; height: 64px; }
    .ltv-audio-bar-title { font-size: 12px; }
    .ltv-audio-bar-full-btn { padding: 4px 8px; font-size: 10px; }
}

/* ─────────── Body class: collapse full player wrapper ─────────── */
body.ltv-compact-active .fwduvp-live-tv-wrap {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   COMPACT BAR ADD-ONS — channel switcher, guide + list panels, close
   Namespaced .ltv-cbar-* so nothing collides with the in-player guide.
   ═══════════════════════════════════════════════════════════════ */

/* ── Channel up / down (next to the mini video) ── */
.ltv-cbar-chan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0 10px 0 6px;
    flex-shrink: 0;
}
.ltv-cbar-ch {
    width: 30px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.05);
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}
.ltv-cbar-ch:hover { background: rgba(255,255,255,0.13); color: #fff; }
.ltv-cbar-ch svg { display: block; }
.ltv-cbar-ch-lbl {
    font-size: 7.5px;
    font-weight: 700;
    color: #777;
    letter-spacing: 0.6px;
    line-height: 1;
}

/* ── Guide / List buttons (sit in the right-hand button row) ── */
.ltv-cbar-gbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 6px 11px;
    border: 1px solid #333;
    border-radius: 4px;
    background: none;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}
.ltv-cbar-gbtn:hover { color: #fff; border-color: #666; }
.ltv-cbar-gbtn svg { width: 13px; height: 13px; display: block; }
.ltv-cbar-gbtn.ltv-cbar-on { background: #e63946; border-color: #e63946; color: #fff; }

/* ── Close (x) ── */
.ltv-cbar-close { padding: 0 14px 0 4px; flex-shrink: 0; }
.ltv-cbar-x {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #777;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.ltv-cbar-x:hover { background: rgba(230,57,70,0.16); color: #ff6b6b; }
.ltv-cbar-x svg { display: block; }

/* ── Reopen pill (close = "pill" mode) ── */
.ltv-cbar-reopen {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e63946;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px 17px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 8px 24px rgba(230,57,70,0.4);
}
.ltv-cbar-reopen:hover { background: #d62839; }
.ltv-cbar-reopen-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: ltv-ab-pulse 1.6s infinite;
}

/* ── Shared pop-up panel shell (slides up from the bar) ── */
.ltv-cbar-guide,
.ltv-cbar-list {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 64px;
    z-index: 999998;
    transform: translateY(16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s, opacity 0.18s, visibility 0.22s;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ltv-cbar-guide.ltv-cbar-open,
.ltv-cbar-list.ltv-cbar-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.ltv-cbar-guide-inner,
.ltv-cbar-list-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: #111115;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -16px 44px rgba(0,0,0,0.55);
    overflow: hidden;
}
.ltv-cbar-guide-head,
.ltv-cbar-list-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px 9px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ltv-cbar-guide-title,
.ltv-cbar-list-title { font-size: 15px; font-weight: 700; color: #fff; }
.ltv-cbar-guide-title b,
.ltv-cbar-list-title b { color: #e63946; }
.ltv-cbar-list-hint { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #777; }
.ltv-cbar-panel-x {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1c1c1c;
    color: #bbb;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ltv-cbar-panel-x:hover { background: #2a2a2a; color: #fff; }
.ltv-cbar-empty {
    padding: 26px 16px;
    text-align: center;
    color: #777;
    font-size: 13px;
}
.ltv-cbar-logo {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2a2a32, #16161b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
}
.ltv-cbar-logo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Grid guide ── */
.ltv-cbar-guide-colhead,
.ltv-cbar-guide-row {
    display: grid;
    grid-template-columns: 170px 1fr 1fr 1fr;
}
.ltv-cbar-guide-colhead {
    padding: 9px 16px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ltv-cbar-guide-col {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    align-self: center;
}
.ltv-cbar-guide-col-now { color: #e63946; }
.ltv-cbar-guide-scroll {
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}
.ltv-cbar-guide-scroll::-webkit-scrollbar { width: 8px; }
.ltv-cbar-guide-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
.ltv-cbar-guide-row {
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s;
}
.ltv-cbar-guide-row:hover { background: rgba(255,255,255,0.03); }
.ltv-cbar-guide-row.ltv-cbar-row-active {
    border-left-color: #e63946;
    background: rgba(230,57,70,0.10);
}
.ltv-cbar-guide-chan {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    min-width: 0;
}
.ltv-cbar-guide-cname {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ltv-cbar-guide-prog {
    padding: 9px 12px;
    border-left: 1px solid rgba(255,255,255,0.06);
    min-width: 0;
}
.ltv-cbar-guide-prog.ltv-cbar-guide-now { background: rgba(230,57,70,0.08); }
.ltv-cbar-guide-pt {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ltv-cbar-guide-pt.ltv-cbar-dim { color: #777; font-style: italic; }
.ltv-cbar-guide-ptime {
    color: #e6b021;
    font-size: 11.5px;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

/* ── List ── */
.ltv-cbar-list-scroll {
    max-height: 50vh;
    overflow-y: auto;
    padding: 6px;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}
.ltv-cbar-list-scroll::-webkit-scrollbar { width: 8px; }
.ltv-cbar-list-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
.ltv-cbar-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}
.ltv-cbar-list-row:hover { background: #1b1b21; }
.ltv-cbar-list-row.ltv-cbar-row-active { background: rgba(230,57,70,0.12); }
.ltv-cbar-list-meta { flex: 1; min-width: 0; }
.ltv-cbar-list-top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 4px;
}
.ltv-cbar-list-pill {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: #e63946;
    padding: 2px 8px;
    border-radius: 5px;
}
.ltv-cbar-list-num {
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 700;
    color: #777;
    letter-spacing: 0.5px;
}
.ltv-cbar-list-now {
    font-size: 13.5px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ltv-cbar-list-next {
    font-size: 11.5px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.ltv-cbar-list-next b { color: #aaa; font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .ltv-cbar-gbtn { padding: 6px 9px; }
}
@media (max-width: 600px) {
    .ltv-cbar-guide-colhead,
    .ltv-cbar-guide-row { grid-template-columns: 120px 1fr 1fr; }
    .ltv-cbar-guide-prog:last-child { display: none; }
    .ltv-cbar-guide-col:last-child { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   MOCKUP MATCH (v729) — gold accent + programme thumbnails + Watch icon,
   to match feature-mockups/compact-player-v11-guide-panel.html.
   Appended last so these win over the base .ltv-cbar-* rules above.
   ═══════════════════════════════════════════════════════════════ */

/* Watch button — fullscreen icon + label (was plain "Expand") */
.ltv-audio-bar-full-btn { display: inline-flex; align-items: center; gap: 6px; }
.ltv-audio-bar-full-btn svg { width: 13px; height: 13px; display: block; }

/* Guide panel — black inner + gold accents like the mockup */
.ltv-cbar-guide-inner { background: #000; border-color: #1d1d1d; }
.ltv-cbar-guide-title b { color: #ffc40d; }
.ltv-cbar-guide-col-now { color: #ffc40d; }
.ltv-cbar-guide-colhead,
.ltv-cbar-guide-row { grid-template-columns: 190px 1fr 1fr 1fr; }
.ltv-cbar-guide-colhead { padding-left: 190px; }
.ltv-cbar-guide-row { border-bottom: 1px solid #161616; border-left: none; }
.ltv-cbar-guide-row.ltv-cbar-row-active { border: 2px solid #ffc40d; border-radius: 7px; background: rgba(255,196,13,0.05); }
.ltv-cbar-guide-row:hover { background: rgba(255,255,255,0.03); }

/* Channel cell — number top-left, logo, name (mockup layout) */
.ltv-cbar-guide-chan { position: relative; gap: 6px; padding: 9px 8px 9px 22px; }
.ltv-cbar-guide-num { position: absolute; top: 6px; left: 5px; font-size: 11px; font-weight: 700; color: #8a8a8a; }
.ltv-cbar-guide-row .ltv-cbar-logo { width: 56px; height: 36px; border-radius: 3px; }

/* Programme cell — thumbnail + title + gold time, gold "NOW" highlight */
.ltv-cbar-guide-prog { display: flex; align-items: center; gap: 10px; border-left: 1px solid #161616; padding: 8px 10px; }
.ltv-cbar-guide-prog.ltv-cbar-guide-now { background: rgba(255,196,13,0.08); border-left: 3px solid #ffc40d; }
.ltv-cbar-guide-thumb { flex: 0 0 auto; width: 90px; height: 51px; border-radius: 3px; background-size: cover; background-position: center; background-color: #1a1a1a; box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.ltv-cbar-guide-ptxt { min-width: 0; }
.ltv-cbar-guide-ptime { color: #e6b021; font-size: 12px; margin-top: 5px; }

/* List — larger logo thumb to echo the mockup's channel tiles */
.ltv-cbar-list-row .ltv-cbar-logo { width: 66px; height: 42px; border-radius: 6px; }

/* Re-assert the mobile collapse AFTER the 4-col override above */
@media (max-width: 600px) {
    .ltv-cbar-guide-colhead,
    .ltv-cbar-guide-row { grid-template-columns: 120px 1fr 1fr; }
    .ltv-cbar-guide-colhead { padding-left: 120px; }
    .ltv-cbar-guide-prog:last-child { display: none; }
    .ltv-cbar-guide-col:last-child { display: none; }
    .ltv-cbar-guide-thumb { display: none; }
}

/* ── v733 pager — per-channel guide: 6-col grid + gold arrows (wins via cascade) ── */
.ltv-cbar-guide-colhead,
.ltv-cbar-guide-row { grid-template-columns: 190px 22px 1fr 1fr 1fr 22px; }
.ltv-cbar-guide-colhead { padding-left: 0; }
.ltv-cbar-guide-arrow {
    display: flex; align-items: center; justify-content: center;
    color: #ffc40d; cursor: pointer; font-size: 12px; line-height: 1;
    user-select: none; -webkit-user-select: none; transition: color .15s;
}
.ltv-cbar-guide-arrow:hover { color: #fff; }
.ltv-cbar-guide-arrow-disabled { opacity: .22; cursor: default; pointer-events: none; }
@media (max-width: 600px) {
    .ltv-cbar-guide-colhead,
    .ltv-cbar-guide-row { grid-template-columns: 92px 18px 1fr 1fr 1fr 18px; }
    .ltv-cbar-guide-colhead { padding-left: 0; }
}
/* ═══════════════════════════════════════════════════════════════
   v736 On-Now Feed — mobile guide layout. Inherits the slide-up panel
   shell + transition from .ltv-cbar-guide; only the inner layout differs.
   One card per channel: hero (NOW, tunes) + Next/Later chips (jump).
   ═══════════════════════════════════════════════════════════════ */
.ltv-cbar-feed-inner { background: #0c0c10; }
.ltv-cbar-feed-scroll { max-height: 64vh; overflow-y: auto; padding: 10px 12px 14px; -webkit-overflow-scrolling: touch; }
.ltv-cbar-feed-scroll::-webkit-scrollbar { width: 0; }
.ltv-cbar-feed-card { background: #15151b; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; margin-bottom: 14px; transition: border-color .2s; }
.ltv-cbar-feed-card.ltv-cbar-row-active { border-color: #e63946; }
.ltv-cbar-feed-chead { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.ltv-cbar-feed-chead .ltv-cbar-logo { width: 32px; height: 32px; border-radius: 8px; }
.ltv-cbar-feed-cname { font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltv-cbar-feed-cnum { font-size: 10.5px; color: #777; font-weight: 700; margin-left: auto; flex-shrink: 0; }
.ltv-cbar-feed-hero { position: relative; width: 100%; aspect-ratio: 16/9; cursor: pointer; overflow: hidden; background: #000; }
.ltv-cbar-feed-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltv-cbar-feed-nothumb { background: linear-gradient(135deg, #2a2a32, #16161b); }
.ltv-cbar-feed-nothumb::before { content: attr(data-glyph); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-weight: 800; font-size: 40px; letter-spacing: 2px; }
.ltv-cbar-feed-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.82), rgba(0,0,0,0) 56%); }
.ltv-cbar-feed-live { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.55); padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: 0.4px; color: #fff; }
.ltv-cbar-feed-live i { width: 5px; height: 5px; border-radius: 50%; background: #e63946; animation: ltv-ab-pulse 1.7s infinite; }
.ltv-cbar-feed-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(230,57,70,0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.5); }
.ltv-cbar-feed-play svg { width: 22px; height: 22px; color: #fff; display: block; margin-left: 2px; }
.ltv-cbar-feed-htitle { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 11px 12px; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,0.75); }
.ltv-cbar-feed-up { display: flex; gap: 8px; padding: 11px; }
.ltv-cbar-feed-chip { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,0.045); border-radius: 10px; padding: 7px; cursor: pointer; transition: background .15s; }
.ltv-cbar-feed-chip:hover { background: rgba(255,255,255,0.09); }
.ltv-cbar-feed-chipthumb { position: relative; width: 52px; height: 30px; border-radius: 5px; overflow: hidden; flex-shrink: 0; background: #000; }
.ltv-cbar-feed-chipthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltv-cbar-feed-chipthumb.ltv-cbar-feed-nothumb::before { font-size: 13px; letter-spacing: 1px; }
.ltv-cbar-feed-chipmeta { min-width: 0; }
.ltv-cbar-feed-chiplabel { font-size: 8.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #e6b021; }
.ltv-cbar-feed-chiptitle { font-size: 11.5px; font-weight: 600; color: #dcdce0; line-height: 1.25; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* The feed is mobile-first; on a wide screen cap its width so it doesn't sprawl. */
@media (min-width: 601px) { .ltv-cbar-feed-inner { max-width: 460px; } }
/* ═══════════════════════════════════════════════════════════════
   v737 mobile — resting mini-bar + Now Playing sheet (the v12 mobile flow).
   ≤600px: the bar collapses to thumbnail + title + one play control; the
   thumbnail/title expand the Now Playing sheet. Desktop is unchanged.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    /* Collapse the resting bar: keep thumbnail, info, play, and the close x.
       Everything else (prev/next, scrubber+time, volume, channel stepper,
       guide/list/watch) moves into the Now Playing sheet a tap away. */
    .ltv-audio-bar-time,
    .ltv-audio-bar-vol,
    .ltv-audio-bar-viz,
    .ltv-cbar-chan,
    .ltv-audio-bar-controls .ltv-ab-btn:not(.ltv-ab-btn-play),
    .ltv-cbar-guide-btn,
    .ltv-cbar-list-btn,
    .ltv-audio-bar-full-btn { display: none !important; }
    .ltv-audio-bar-info { padding: 0 10px; cursor: pointer; }
    .ltv-audio-bar-controls { padding: 0 6px; }
    .ltv-audio-bar-video { cursor: pointer; }
    /* a hint that the thumbnail expands */
    .ltv-audio-bar-video .ltv-audio-bar-expand-icon { opacity: 1; }
}

/* Now Playing sheet — full-screen card on mobile (mirrors the live player). */
.ltv-cbar-sheet {
    position: fixed; inset: 0; z-index: 1000000;
    background: rgba(6,6,9,0.55);
    opacity: 0; visibility: hidden; transition: opacity .26s, visibility .26s;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ltv-cbar-sheet.ltv-cbar-sheet-open { opacity: 1; visibility: visible; }
.ltv-cbar-sheet-inner {
    position: absolute; left: 0; right: 0; bottom: 0; top: 0;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, #15151b 0%, #0b0b0f 100%);
    transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding: 0 16px 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.ltv-cbar-sheet.ltv-cbar-sheet-open .ltv-cbar-sheet-inner { transform: translateY(0); }
.ltv-cbar-sheet-head { display: flex; align-items: center; gap: 10px; padding: 12px 2px 8px; }
.ltv-cbar-sheet-hlbl { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #8a8a90; }
.ltv-cbar-sheet-hlbl + .ltv-cbar-sheet-down { margin-left: auto; }
.ltv-cbar-sheet-down { width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,0.08); color: #cfcfd4; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.ltv-cbar-sheet-down:hover { background: rgba(255,255,255,0.16); color: #fff; }
.ltv-cbar-sheet-down svg { display: block; }
.ltv-cbar-sheet-video { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.ltv-cbar-sheet-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltv-cbar-sheet-noposter { background: linear-gradient(135deg, #2a2a32, #16161b); }
.ltv-cbar-sheet-live { position: absolute; top: 11px; left: 11px; z-index: 2; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.6); padding: 4px 9px; border-radius: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: #fff; }
.ltv-cbar-sheet-live i { width: 6px; height: 6px; border-radius: 50%; background: #e63946; animation: ltv-ab-pulse 1.7s infinite; }
.ltv-cbar-sheet-rocker { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ltv-cbar-sheet-rbtn { width: 34px; height: 26px; border: none; border-radius: 7px; background: rgba(0,0,0,0.5); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.ltv-cbar-sheet-rbtn:hover { background: rgba(0,0,0,0.78); }
.ltv-cbar-sheet-rbtn svg { display: block; }
.ltv-cbar-sheet-rlbl { font-size: 8px; font-weight: 800; color: rgba(255,255,255,0.7); letter-spacing: .6px; }
.ltv-cbar-sheet-meta { padding: 15px 2px 0; }
.ltv-cbar-sheet-pill { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; background: #e63946; padding: 3px 10px; border-radius: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ltv-cbar-sheet-title { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.26; margin-top: 10px; letter-spacing: -.2px; }
.ltv-cbar-sheet-times { display: flex; gap: 6px; font-size: 12.5px; color: #8a8a90; margin-top: 9px; font-variant-numeric: tabular-nums; }
.ltv-cbar-sheet-cur { color: #cfcfd4; }
.ltv-cbar-sheet-seek { padding: 14px 2px 4px; cursor: pointer; }
.ltv-cbar-sheet-rail { position: relative; height: 5px; background: rgba(255,255,255,0.16); border-radius: 3px; }
.ltv-cbar-sheet-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: #e63946; border-radius: 3px; }
.ltv-cbar-sheet-knob { position: absolute; top: 50%; left: 0%; width: 15px; height: 15px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.ltv-cbar-sheet-ctrls { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 0 6px; }
.ltv-cbar-sheet-c { position: relative; border: none; background: none; color: #dcdce0; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; }
.ltv-cbar-sheet-c:hover { color: #fff; }
.ltv-cbar-sheet-c svg { width: 30px; height: 30px; display: block; }
.ltv-cbar-sheet-cn { position: absolute; left: 50%; top: 56%; transform: translate(-50%,-50%); font-size: 8.5px; font-weight: 800; }
.ltv-cbar-sheet-bigplay { width: 64px; height: 64px; border-radius: 50%; background: #e63946; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ltv-cbar-sheet-bigplay svg { width: 26px; height: 26px; display: block; }
.ltv-cbar-sheet-volrow { display: flex; align-items: center; gap: 11px; padding: 12px 4px 4px; }
.ltv-cbar-sheet-volicon { color: #9a9aa0; display: flex; flex-shrink: 0; }
.ltv-cbar-sheet-volicon svg { display: block; }
.ltv-cbar-sheet-voltrack { flex: 1; cursor: pointer; padding: 8px 0; }
.ltv-cbar-sheet-volrail { position: relative; height: 5px; background: rgba(255,255,255,0.16); border-radius: 3px; }
.ltv-cbar-sheet-volfill { position: absolute; left: 0; top: 0; bottom: 0; width: 70%; background: #9a9aa0; border-radius: 3px; }
.ltv-cbar-sheet-actions { display: flex; gap: 8px; padding: 16px 0 4px; margin-top: auto; }
.ltv-cbar-sheet-action { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #333842; background: rgba(255,255,255,0.03); color: #cfcfd4; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 11px 4px; border-radius: 10px; cursor: pointer; }
.ltv-cbar-sheet-action:hover { color: #fff; border-color: #5a626e; }
.ltv-cbar-sheet-action svg { width: 15px; height: 15px; display: block; }
/* On a wide screen the sheet is never opened (mobile-only), but cap it just in case. */
@media (min-width: 601px) { .ltv-cbar-sheet-inner { max-width: 460px; margin: 0 auto; } }