/* JUMP Watch Live v2 — workspace-branded theater (domain colors, fonts + accent) */

.watch-live-v2 {
    /* Workspace branding (base.twig :root) */
    --jump-font: var(--font, sans-serif);
    --jump-heading-font: var(--hfont, sans-serif);
    --jump-accent: var(--accent_color, #46B16E);
    --jump-accent-hover: color-mix(in srgb, var(--jump-accent) 78%, black);
    --jump-accent-soft-08: color-mix(in srgb, var(--jump-accent) 8%, transparent);
    --jump-accent-soft-15: color-mix(in srgb, var(--jump-accent) 15%, transparent);
    --jump-accent-soft-18: color-mix(in srgb, var(--jump-accent) 18%, transparent);
    --jump-accent-soft-20: color-mix(in srgb, var(--jump-accent) 20%, transparent);
    --jump-accent-soft-35: color-mix(in srgb, var(--jump-accent) 35%, transparent);
    --jump-accent-soft-55: color-mix(in srgb, var(--jump-accent) 55%, transparent);
    --jump-accent-glow: color-mix(in srgb, var(--jump-accent) 40%, transparent);

    /* Theater surfaces — follow domain theme (light or dark workspace) */
    --jump-theater-bg: var(--bg_color, #ffffff);
    --jump-surface: var(--card-bg-color, color-mix(in srgb, var(--bg_color, #ffffff) 96%, var(--hd_color, #383838)));
    --jump-surface-raised: color-mix(in srgb, var(--card-bg-color, var(--bg_color, #ffffff)) 90%, var(--hd_color, #383838) 10%);
    --jump-surface-hover: color-mix(in srgb, var(--card-bg-color, var(--bg_color, #ffffff)) 84%, var(--hd_color, #383838) 16%);
    --jump-text: var(--card-text-color, var(--hd_color, #383838));
    --jump-text-muted: color-mix(in srgb, var(--jump-text) 62%, var(--jump-theater-bg));
    --jump-danger: #FF2A38;
    --jump-border: color-mix(in srgb, var(--jump-text) 14%, transparent);
    --jump-border-strong: color-mix(in srgb, var(--jump-text) 22%, transparent);
    --jump-radius: 30px;
    --jump-radius-md: 20px;
    --jump-radius-sm: 12px;
    --jump-player-radius: 0;
    --jump-shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.28);
    --jump-shadow-accent: 0 8px 28px var(--jump-accent-glow);
    --jump-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --jump-duration: 0.22s;

    background: var(--jump-theater-bg);
    color: var(--jump-text);
    font-family: var(--jump-font);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.watch-live-v2 h1,
.watch-live-v2 h2,
.watch-live-v2 h3,
.watch-live-v2 h4,
.watch-live-v2 h5,
.watch-live-v2 h6,
.watch-live-v2 .jump-live-title,
.watch-live-v2 .jump-panel-label,
.watch-live-v2 .jump-info-heading,
.watch-live-v2 .jump-info-toggle {
    font-family: var(--jump-heading-font);
    color: var(--jump-text);
}

.watch-live-v2 :focus-visible {
    outline: 2px solid var(--jump-accent);
    outline-offset: 2px;
}

.watch-live-v2 button:focus:not(:focus-visible) {
    outline: none;
}

/* Domain fonts on all watch UI text (not icon fonts) */
.watch-live-v2 button,
.watch-live-v2 input,
.watch-live-v2 textarea,
.watch-live-v2 select,
.watch-live-v2 .form-control,
.watch-live-v2 .form-label,
.watch-live-v2 .form-check-label,
.watch-live-v2 .jump-btn-send,
.watch-live-v2 .jump-chat-input,
.watch-live-v2 .jump-share-btn,
.watch-live-v2 .jump-reaction-btn,
.watch-live-v2 .jump-related-card__title,
.watch-live-v2 .jump-info-description,
.watch-live-v2 .jump-theater-muted,
.watch-live-v2 .modal-content,
.watch-live-v2 .modal-body,
.watch-live-v2 .modal-footer {
    font-family: var(--jump-font);
}

.watch-live-v2 .jump-live-title,
.watch-live-v2 .jump-panel-label,
.watch-live-v2 .jump-info-heading,
.watch-live-v2 .jump-info-toggle,
.watch-live-v2 .modal-title,
.watch-live-v2 .jump-moments__heading,
.watch-live-v2 .jump-poll-title {
    font-family: var(--jump-heading-font);
}

.watch-live-v2 .jump-theater-muted {
    color: var(--jump-text-muted);
}

/* ── Theater / player ── */
.watch-live-v2 .jump-theater {
    background: var(--jump-theater-bg);
    position: relative;
    width: 100%;
}

.watch-live-v2 .jump-theater--in-grid {
    margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
    .watch-live-v2 .jump-theater--in-grid {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        position: sticky;
        top: 0;
        z-index: 200;
        margin-bottom: 0;
    }

    .watch-live-v2 .jump-yt-main {
        padding-top: 0;
    }

    .watch-live-v2 .jump-theater-content {
        padding-top: 0;
    }
}

.watch-live-v2 .jump-player-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #000;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.watch-live-v2 .jump-player-wrap--vertical {
    aspect-ratio: 9 / 16;
    height: min(78vh, 820px);
    width: min(100%, 420px, calc(min(78vh, 820px) * 9 / 16));
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.watch-live-v2.watch-live-v2--vertical .jump-theater--in-grid {
    display: flex;
    justify-content: center;
    background: transparent;
}

@media (max-width: 991.98px) {
    /* Vertical: keep phone-frame size, don't full-bleed to 100vw height */
    .watch-live-v2.watch-live-v2--vertical .jump-theater--in-grid {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        position: relative;
        top: auto;
        z-index: auto;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }

    .watch-live-v2 .jump-player-wrap--vertical {
        height: min(72vh, 720px);
        width: min(100%, 360px, calc(min(72vh, 720px) * 9 / 16));
        max-width: 360px;
    }
}

.watch-live-v2 .jump-player-wrap.video-player,
.watch-live-v2 .jump-player-wrap.card {
    border: none !important;
    border-radius: var(--jump-player-radius) !important;
    box-shadow: none !important;
    min-height: 0 !important;
    backdrop-filter: none !important;
    background: #000 !important;
}

.watch-live-v2 .jump-player-wrap .redbee-player-container,
.watch-live-v2 .jump-player-wrap video,
.watch-live-v2 .jump-player-wrap ._3ANvu {
    border-radius: 0 !important;
}

/* JW Player: Chromecast / AirPlay icons (custom skins often hide the SVG) */
.watch-live-v2 #video-wrapper .jw-icon-cast,
.watch-live-v2 #video-wrapper .jw-icon-airplay {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.watch-live-v2 #video-wrapper .jw-icon-cast .jw-svg-icon,
.watch-live-v2 #video-wrapper .jw-icon-airplay .jw-svg-icon {
    fill: #fff !important;
    color: #fff !important;
}

@media (min-width: 992px) {
    .watch-live-v2 .jump-theater--in-grid {
        margin-bottom: 0.85rem;
    }

    .watch-live-v2 .jump-player-wrap {
        border-radius: var(--jump-radius-md);
        aspect-ratio: 16 / 9;
        box-shadow: var(--jump-shadow-soft);
    }

    .watch-live-v2 .jump-player-wrap--vertical {
        aspect-ratio: 9 / 16;
        height: min(78vh, 820px);
        width: min(100%, 420px, calc(min(78vh, 820px) * 9 / 16));
        max-width: 420px;
        border-radius: var(--jump-radius-md);
        box-shadow: var(--jump-shadow-soft);
    }

    .watch-live-v2 .jump-player-wrap .redbee-player-container,
    .watch-live-v2 .jump-player-wrap video {
        border-radius: var(--jump-radius-md) !important;
    }
}

/* ── Content area ── */
.watch-live-v2 .jump-theater-content {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.watch-live-v2 .jump-meta-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.watch-live-v2 .jump-meta-primary {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    flex: 1 1 12rem;
    min-width: 0;
}

.watch-live-v2 .jump-viewer-count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--jump-surface);
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius);
    padding: 0.35rem 0.65rem;
    font-family: var(--jump-font);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--jump-text-muted);
    margin-top: 0.35rem;
    min-height: 32px;
}

.watch-live-v2 .jump-viewer-count i {
    color: var(--jump-text-muted);
    font-size: 0.7rem;
}

.watch-live-v2 .jump-viewer-count #jumpViewerCount {
    color: var(--jump-text);
}

.watch-live-v2 .jump-viewer-label {
    font-weight: 400;
    font-size: 0.68rem;
}

.watch-live-v2 .jump-action-bar__tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-left: 0.55rem;
    margin-left: 0.1rem;
    border-left: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-action-bar__scroll {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.watch-live-v2 .jump-action-bar__scroll::-webkit-scrollbar {
    display: none;
}

.watch-live-v2 .jump-action-pill {
    font-family: var(--jump-font);
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.4rem;
    white-space: nowrap;
}

.watch-live-v2 .jump-action-pill i {
    font-size: 0.82rem;
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-action-pill__label {
    line-height: 1;
}

.watch-live-v2 .jump-pip-btn.jump-reaction-btn {
    cursor: pointer;
}

.watch-live-v2 .jump-pip-btn--active {
    border-color: var(--jump-accent);
    background: var(--jump-accent-soft-20);
    color: var(--jump-accent);
}

.watch-live-v2 .jump-live-title {
    font-family: var(--jump-heading-font);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--jump-text);
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    line-height: 1.3;
    margin: 0;
    min-width: 0;
}

/* ── YouTube-style layout ── */
.watch-live-v2 .jump-yt-layout {
    align-items: flex-start;
}

.watch-live-v2 .jump-yt-main {
    min-width: 0;
}

.watch-live-v2 .jump-yt-chat-col {
    position: sticky;
    top: 1rem;
    align-self: flex-start;
}

.watch-live-v2 .jump-yt-chat-panel {
    border-radius: var(--jump-radius-md);
    padding: 0;
    overflow: hidden;
    min-height: calc(((100vw - 2rem) * 0.666) * 9 / 16);
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    background: var(--jump-surface);
    border: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-yt-chat-header {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--jump-border);
    flex-shrink: 0;
}

.watch-live-v2 .jump-yt-chat-panel #jumpChatPanel,
.watch-live-v2 .jump-yt-chat-panel #jumpChatDesktopHost {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 0.85rem 0.85rem;
}

.watch-live-v2 .jump-yt-chat-panel .jump-chat-messages {
    max-height: none;
    flex: 1;
    min-height: 120px;
}

/* Video meta under player (YouTube-style) */
.watch-live-v2 .jump-video-meta {
    padding: 0.5rem 0 0.75rem;
}

.watch-live-v2 .jump-meta-top {
    margin-bottom: 0.35rem;
}

.watch-live-v2 .jump-meta-top .jump-live-title {
    display: block;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    text-transform: none;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.watch-live-v2 .jump-meta-stats {
    font-family: var(--jump-font);
    font-size: 0.8125rem;
    color: var(--jump-text-muted);
    margin: 0 0 0.85rem;
}

.watch-live-v2 .jump-meta-stats #jumpViewerCount {
    color: var(--jump-text);
    font-weight: 700;
}

.watch-live-v2 .jump-action-bar {
    display: flex;
    align-items: center;
    padding: 0.65rem 0 0.75rem;
    border-bottom: 1px solid var(--jump-border);
    margin-bottom: 0.85rem;
}

.watch-live-v2 .jump-action-bar__share {
    flex-shrink: 0;
}

.watch-live-v2 .jump-share-buttons--compact {
    gap: 0.35rem;
}

.watch-live-v2 .jump-share-btn--compact {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    border-radius: 50%;
    background: var(--jump-surface);
    border: 1px solid var(--jump-border);
    transition: border-color var(--jump-duration) var(--jump-ease),
        background var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-share-btn--compact:hover:not(:disabled) {
    border-color: var(--jump-border-strong);
    background: var(--jump-surface-raised);
}

.watch-live-v2 .jump-share-btn--compact:active:not(:disabled) {
    background: var(--jump-surface-hover);
}

.watch-live-v2 .jump-poll-slot {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--jump-surface);
    border-radius: var(--jump-radius);
    border: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-moments {
    margin-bottom: 0.85rem;
}

.watch-live-v2 .jump-moments__heading {
    font-family: var(--jump-heading-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jump-text-muted);
    margin: 0 0 0.5rem;
}

.watch-live-v2 .jump-moments__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
}

.watch-live-v2 .jump-moments__list::-webkit-scrollbar {
    display: none;
}

.watch-live-v2 .jump-moment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    border: 1px solid var(--jump-border);
    border-radius: 30px;
    background: var(--jump-surface);
    color: var(--jump-text);
    font-family: var(--jump-font);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    min-height: 38px;
    cursor: pointer;
    transition: border-color var(--jump-duration) var(--jump-ease),
        background var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-moment-chip:hover {
    border-color: var(--jump-border-strong);
    background: var(--jump-surface-raised);
    transform: translateY(-1px);
}

.watch-live-v2 .jump-moment-chip:active {
    transform: translateY(0);
}

.watch-live-v2 .jump-moment-chip__emoji {
    font-size: 0.95rem;
    line-height: 1;
}

.watch-live-v2 .jump-moment-chip__time {
    color: var(--jump-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.watch-live-v2 .jump-moment-chip__label {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.watch-live-v2 .jump-moment-chip__clip {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--jump-text-muted);
    border: 1px solid var(--jump-border);
    border-radius: 30px;
    padding: 0.1rem 0.4rem;
    line-height: 1.3;
}

.watch-live-v2 .jump-poll-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.watch-live-v2 .jump-poll-toggle__text {
    flex: 1;
    min-width: 0;
}

.watch-live-v2 .jump-poll-toggle__meta {
    display: block;
    font-size: 0.68rem;
    color: var(--jump-text-muted);
    margin-top: 0.15rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.watch-live-v2 .jump-poll-chevron {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--jump-text-muted);
    transition: transform 0.2s ease;
}

.watch-live-v2 .jump-poll--collapsed .jump-poll-chevron {
    transform: rotate(-90deg);
}

.watch-live-v2 .jump-poll--collapsed .jump-poll-body {
    display: none;
}

.watch-live-v2 .jump-poll-body {
    margin-top: 0.65rem;
}

.watch-live-v2 .jump-yt-details {
    padding-top: 0.25rem;
}

.watch-live-v2 .jump-yt-details .jump-info-description {
    margin-top: 0;
}

/* ── Desktop grid: primary + chat sidebar (legacy hooks) ── */
.watch-live-v2 .jump-layout-row {
    align-items: flex-start;
}

.watch-live-v2 .jump-poll-slot .jump-poll-heading {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--jump-text-muted);
    margin-bottom: 0;
}

.watch-live-v2 .jump-poll-slot .jump-poll-meta {
    font-size: 0.68rem;
    color: var(--jump-text-muted);
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.watch-live-v2 .jump-poll-slot .jump-poll-bars {
    min-width: 0;
    width: 100%;
    gap: 0.4rem;
}

.watch-live-v2 .jump-poll-slot .jump-poll-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.watch-live-v2 .jump-poll-option {
    flex: 0 0 auto;
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius);
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    background: var(--jump-surface-raised);
    color: var(--jump-text);
    font-family: var(--jump-font);
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color var(--jump-duration) var(--jump-ease),
        background var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-poll-option:hover {
    border-color: var(--jump-border-strong);
    transform: translateY(-1px);
}

.watch-live-v2 .jump-poll-option.selected {
    border-color: var(--jump-accent);
    background: var(--jump-surface-raised);
}

.watch-live-v2 .jump-reactions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.watch-live-v2 .jump-poll-bars {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    width: 100%;
}

.watch-live-v2 .jump-poll-bar-row {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 1.75rem;
}

.watch-live-v2 .jump-poll-bar-row--clickable {
    cursor: pointer;
}

.watch-live-v2 .jump-poll-bar-track {
    position: absolute;
    inset: 0;
    background: var(--jump-surface-raised);
    border-radius: 20px;
}

.watch-live-v2 .jump-poll-bar-fill {
    height: 100%;
    background: var(--jump-surface-hover);
    border-radius: 20px;
    transition: width 0.45s ease;
}

.watch-live-v2 .jump-poll-bar-row.selected .jump-poll-bar-fill {
    background: color-mix(in srgb, var(--jump-accent) 28%, var(--jump-surface-hover));
}

.watch-live-v2 .jump-poll-bar-row.selected {
    outline: 1px solid var(--jump-accent);
    outline-offset: 1px;
}

.watch-live-v2 .jump-poll-bar-labels {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
    line-height: 1.2;
}

.watch-live-v2 .jump-poll-bar-label {
    color: var(--jump-text);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-live-v2 .jump-poll-bar-pct {
    color: var(--jump-text-muted);
    font-size: 0.65rem;
    flex-shrink: 0;
}

.watch-live-v2 .jump-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--jump-border);
    border-radius: 999px;
    background: var(--jump-surface);
    padding: 0.38rem 0.72rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--jump-text);
    min-height: 38px;
    transition: border-color var(--jump-duration) var(--jump-ease),
        background var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease),
        box-shadow var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-reaction-btn:hover:not(:disabled) {
    border-color: var(--jump-border-strong);
    background: var(--jump-surface-raised);
}

.watch-live-v2 .jump-reaction-btn.active {
    border-color: var(--jump-accent);
    background: var(--jump-surface-raised);
    box-shadow: inset 0 0 0 1px var(--jump-accent-soft-20);
}

.watch-live-v2 .jump-reaction-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.watch-live-v2 .jump-reaction-count {
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--jump-font);
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-reaction-btn.active .jump-reaction-count {
    color: var(--jump-text);
}

/* ── Chat panel ── */
.watch-live-v2 .jump-engagement-panel {
    background: var(--jump-surface);
    border-radius: var(--jump-radius);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--jump-border);
    color: var(--jump-text);
}

.watch-live-v2 .jump-panel-label {
    font-family: var(--jump-heading-font);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: var(--jump-text);
    margin: 0 0 0.65rem;
}

.watch-live-v2 .jump-chat-panel {
    min-height: 280px;
}

@media (min-width: 992px) {
    .watch-live-v2 .jump-sidebar-col .jump-chat-panel {
        min-height: calc(100vh - 280px);
        max-height: calc(100vh - 200px);
    }
}

.watch-live-v2 #jumpChatPanel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

/* ── Stream-style chat messages ── */
.watch-live-v2 .jump-chat-stream-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.watch-live-v2 .jump-chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 160px;
    max-height: 340px;
    padding: 0.25rem 0;
    scroll-behavior: smooth;
}

@media (min-width: 992px) {
    .watch-live-v2 .jump-chat-messages {
        max-height: none;
        flex: 1;
    }
}

.watch-live-v2 .jump-chat-message {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    border-radius: 0;
    background: transparent;
    margin-bottom: 0;
}

.watch-live-v2 .jump-chat-message:hover .jump-chat-mod-actions {
    opacity: 1;
}

.watch-live-v2 .jump-chat-body {
    min-width: 0;
}

.watch-live-v2 .jump-chat-author {
    font-family: var(--jump-font);
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--jump-text);
    margin-right: 0.4rem;
}

.watch-live-v2 .jump-chat-text {
    color: var(--jump-text-muted);
    word-break: break-word;
}

.watch-live-v2 .jump-chat-mod-bar {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--jump-radius-sm);
    background: color-mix(in srgb, var(--jump-accent) 10%, var(--jump-surface-raised));
    border: 1px solid color-mix(in srgb, var(--jump-accent) 22%, transparent);
}

.watch-live-v2 .jump-chat-mod-badge {
    flex-shrink: 0;
    font-family: var(--jump-font);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--jump-accent);
}

.watch-live-v2 .jump-chat-mod-hint {
    font-family: var(--jump-font);
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-chat-mod-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.35rem;
    opacity: 0;
    transition: opacity var(--jump-duration) var(--jump-ease);
}

@media (hover: none) {
    .watch-live-v2 .jump-chat-mod-actions {
        opacity: 1;
    }
}

.watch-live-v2 .jump-chat-mod-btn {
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius-sm);
    background: var(--jump-surface);
    color: var(--jump-text-muted);
    font-family: var(--jump-font);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    cursor: pointer;
    line-height: 1.3;
}

.watch-live-v2 .jump-chat-mod-btn--delete:hover {
    border-color: var(--jump-danger);
    color: var(--jump-danger);
}

.watch-live-v2 .jump-chat-mod-btn--ban:hover {
    border-color: #383838;
    color: var(--jump-text);
}

.watch-live-v2 .jump-chat-jump-latest {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--jump-accent);
    color: #fff;
    border: none;
    border-radius: var(--jump-radius);
    padding: 0.4rem 0.9rem;
    font-family: var(--jump-font);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--jump-shadow-accent);
    white-space: nowrap;
    min-height: 36px;
    transition: background var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-chat-jump-latest:hover {
    background: var(--jump-accent-hover);
    color: #fff;
}

.watch-live-v2 .jump-chat-new-count {
    background: #fff;
    color: var(--jump-accent);
    border-radius: var(--jump-radius);
    padding: 0.05rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
}

/* ── Chat compose ── */
.watch-live-v2 .jump-chat-compose {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-chat-compose-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.watch-live-v2 .jump-chat-input {
    flex: 1;
    min-width: 0;
    border-radius: var(--jump-radius) !important;
    border: 1px solid var(--jump-border) !important;
    background: var(--jump-surface-raised) !important;
    color: var(--jump-text) !important;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
}

.watch-live-v2 .jump-chat-input::placeholder {
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-chat-input:disabled {
    opacity: 0.55;
}

.watch-live-v2 .jump-btn-send {
    background: var(--jump-accent);
    border: none;
    border-radius: var(--jump-radius);
    color: #fff;
    font-family: var(--jump-font);
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease),
        box-shadow var(--jump-duration) var(--jump-ease);
    box-shadow: 0 4px 14px var(--jump-accent-glow);
}

.watch-live-v2 .jump-btn-send:hover:not(:disabled) {
    background: var(--jump-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--jump-shadow-accent);
}

.watch-live-v2 .jump-btn-send:disabled {
    background: #555;
    opacity: 0.6;
    cursor: not-allowed;
}

.watch-live-v2 .jump-btn-send-icon .jump-btn-send-text {
    display: none;
}

@media (min-width: 992px) {
    .watch-live-v2 .jump-btn-send-icon {
        padding: 0.55rem 1.1rem;
    }

    .watch-live-v2 .jump-btn-send-icon i {
        display: none;
    }

    .watch-live-v2 .jump-btn-send-icon .jump-btn-send-text {
        display: inline;
    }
}

.watch-live-v2 .jump-chat-login-prompt {
    font-size: 0.8125rem;
    margin: 0.5rem 0 0;
}

.watch-live-v2 .jump-chat-login-prompt a {
    color: var(--jump-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.watch-live-v2 .jump-chat-login-prompt a:hover {
    color: var(--jump-accent);
}

.watch-live-v2 .jump-chat-rules-banner {
    background: var(--jump-surface-raised);
    border-radius: 20px;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.65rem;
    color: var(--jump-text-muted);
    font-size: 0.8125rem;
    border: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-chat-closed {
    background: var(--jump-surface-raised);
    border-radius: var(--jump-radius);
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
    color: var(--jump-text-muted);
    font-size: 0.8125rem;
    text-align: center;
}

/* ── Info / share (collapsible mobile) ── */
.watch-live-v2 .jump-info-collapse {
    margin-top: 1rem;
}

.watch-live-v2 .jump-info-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--jump-surface);
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius);
    color: var(--jump-text);
    padding: 0.75rem 1rem;
    font-family: var(--jump-heading-font);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    min-height: 44px;
    transition: background var(--jump-duration) var(--jump-ease),
        border-color var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-info-toggle:hover {
    background: var(--jump-surface-raised);
    border-color: var(--jump-border-strong);
}

.watch-live-v2 .jump-info-toggle:not(.collapsed) .jump-info-chevron {
    transform: rotate(180deg);
}

.watch-live-v2 .jump-info-chevron {
    transition: transform 0.2s;
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-info-body {
    padding: 1rem 0 0;
}

.watch-live-v2 .jump-info-heading {
    font-family: var(--jump-heading-font);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: var(--jump-text);
    margin: 0 0 0.65rem;
}

.watch-live-v2 .jump-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.watch-live-v2 .jump-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--jump-surface);
    border: 1px solid var(--jump-border);
    color: var(--jump-text);
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--jump-duration) var(--jump-ease),
        border-color var(--jump-duration) var(--jump-ease),
        color var(--jump-duration) var(--jump-ease),
        transform var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-share-btn:hover:not(:disabled) {
    background: var(--jump-surface-hover);
    border-color: var(--jump-border-strong);
    color: var(--jump-text);
    transform: translateY(-1px);
}

.watch-live-v2 .jump-share-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.watch-live-v2 .jump-tag {
    display: inline-block;
    background: var(--jump-surface-raised);
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius);
    padding: 0.22rem 0.7rem;
    font-family: var(--jump-font);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jump-text-muted);
    margin: 0 0.3rem 0.35rem 0;
    transition: border-color var(--jump-duration) var(--jump-ease), color var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-tag:hover {
    border-color: var(--jump-accent);
    color: var(--jump-text);
}

.watch-live-v2 .jump-info-card {
    background: var(--jump-surface);
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius);
    padding: 1rem 1.15rem;
}

.watch-live-v2 .jump-info-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-info-card__share .jump-share-buttons {
    justify-content: flex-end;
}

.watch-live-v2 .jump-info-description-wrap {
    margin-top: 0.15rem;
}

.watch-live-v2 .jump-info-empty {
    font-size: 0.875rem;
    margin: 0;
}

.watch-live-v2 .jump-info-description {
    color: var(--jump-text-muted);
    font-family: var(--jump-font);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.watch-live-v2 #video_description {
    font-family: var(--jump-font) !important;
    font-weight: 400 !important;
}

.watch-live-v2 .jump-info-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-info-share-row .jump-info-heading {
    margin-bottom: 0;
}

.watch-live-v2 .jump-info-share-row .jump-share-buttons {
    justify-content: flex-end;
}

.watch-live-v2 .jump-tag-list {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.watch-live-v2 .jump-related {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
}

@media (min-width: 768px) {
    .watch-live-v2 .jump-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem 0.65rem;
    }
}

.watch-live-v2--no-chat .jump-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .watch-live-v2--no-chat .jump-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .watch-live-v2--no-chat .jump-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.watch-live-v2 .jump-related-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.watch-live-v2 .jump-related-card:focus-visible {
    outline: 2px solid var(--jump-accent);
    outline-offset: 3px;
    border-radius: var(--jump-radius-sm);
}

.watch-live-v2 .jump-related-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--jump-radius-sm);
    overflow: hidden;
    border: 1px solid var(--jump-border);
    transition: border-color var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-related-card:hover .jump-related-card__media,
.watch-live-v2 .jump-related-card:focus-visible .jump-related-card__media {
    border-color: var(--jump-border-strong);
}

.watch-live-v2 .jump-related-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-related-card:hover .jump-related-card__thumb,
.watch-live-v2 .jump-related-card:focus-visible .jump-related-card__thumb {
    opacity: 0.88;
}

.watch-live-v2 .jump-related-card__badge {
    position: absolute;
    left: 0.4rem;
    bottom: 0.4rem;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-family: var(--jump-font);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
}

.watch-live-v2 .jump-related-card__badge--live {
    background: color-mix(in srgb, var(--jump-danger) 88%, #000);
}

.watch-live-v2 .jump-related-card__title {
    margin: 0;
    min-height: 2.5em;
    font-family: var(--jump-font);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--jump-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-related-card:hover .jump-related-card__title,
.watch-live-v2 .jump-related-card:focus-visible .jump-related-card__title {
    color: var(--jump-text);
}

/* ── Layout zonder live chat ── */
.watch-live-v2--no-chat .jump-yt-layout--solo {
    justify-content: center;
}

.watch-live-v2--no-chat .jump-theater--in-grid {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .watch-live-v2--no-chat .jump-info-card {
        padding: 1.15rem 1.35rem;
    }

    .watch-live-v2--no-chat .jump-theater.jump-theater--in-grid::after {
        display: none;
    }
}

.watch-live-v2 .jump-sidebar-ad,
.watch-live-v2 .jump-mobile-ad {
    margin-top: 1rem;
}

.watch-live-v2 .jump-modal-content {
    border-radius: var(--jump-radius) !important;
}

.watch-live-v2 #jumpChatRulesModal {
    z-index: 10060;
}

/* Override legacy video-content min-height inside v2 */
.watch-live-v2 .video-content {
    min-height: 0;
    position: static;
}

/* ── Reaction burst animations ── */
.watch-live-v2 .jump-reaction-burst-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 400;
    overflow: hidden;
}

.watch-live-v2 .jump-reaction-burst,
.jump-reaction-burst-layer .jump-reaction-burst {
    position: fixed;
    font-size: 1.35rem;
    line-height: 1;
    pointer-events: none;
    animation: jump-reaction-float 0.85s ease-out forwards;
    z-index: 401;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

@keyframes jump-reaction-float {
    0% {
        opacity: 1;
        transform: translateY(0) scale(0.85);
    }
    100% {
        opacity: 0;
        transform: translateY(-72px) scale(1.15);
    }
}

.watch-live-v2 .jump-reaction-btn.jump-reaction-pop {
    animation: jump-reaction-pop 0.35s ease;
}

@keyframes jump-reaction-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* ── Mini player bar (scroll back to video) ── */
.watch-live-v2 .jump-mini-player-bar {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 56px);
    left: 0;
    right: 0;
    z-index: 190;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: color-mix(in srgb, var(--jump-surface) 92%, transparent);
    border: none;
    border-bottom: 1px solid var(--jump-border);
    color: var(--jump-text);
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-height: 44px;
    text-align: left;
    box-shadow: var(--jump-shadow-soft);
    font-family: var(--jump-font);
}

.watch-live-v2 .jump-mini-player-badge {
    flex-shrink: 0;
    background: var(--jump-danger);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: var(--jump-radius);
}

.watch-live-v2 .jump-mini-player-title {
    flex: 1;
    min-width: 0;
    font-family: var(--jump-font);
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-live-v2 .jump-mini-player-icon {
    flex-shrink: 0;
    color: var(--jump-accent);
    font-size: 0.85rem;
}

body.jump-mini-player-active {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 100px);
}

@media (min-width: 992px) {
    .watch-live-v2 .jump-mini-player-bar {
        top: calc(env(safe-area-inset-top, 0px) + 64px);
        left: auto;
        right: 1rem;
        width: min(360px, calc(100vw - 2rem));
        border-radius: var(--jump-radius);
        border: 1px solid var(--jump-border);
    }
}

/* ── Landscape mobile: chat overlay on video ── */
@media (max-width: 991.98px) and (orientation: landscape) {
    body.jump-live-landscape .watch-live-v2 .jump-theater {
        position: relative;
        z-index: 100;
    }

    body.jump-live-landscape .watch-live-v2 .jump-video-meta,
    body.jump-live-landscape .watch-live-v2 .jump-action-bar {
        display: none;
    }

    body.jump-live-landscape .watch-live-v2 .jump-chat-panel--mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 260;
        max-height: min(48vh, 220px);
        min-height: 0;
        margin: 0;
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--jump-border);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 75%, rgba(0, 0, 0, 0.72));
        padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    body.jump-live-landscape .watch-live-v2 .jump-chat-panel--mobile .jump-panel-label {
        display: none;
    }

    body.jump-live-landscape .watch-live-v2 .jump-chat-messages {
        max-height: min(28vh, 120px);
        min-height: 72px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 100%);
    }

    body.jump-live-landscape .watch-live-v2 .jump-info-collapse,
    body.jump-live-landscape .watch-live-v2 .jump-mobile-ad {
        margin-top: min(48vh, 220px);
    }

    body.jump-live-landscape .watch-live-v2 .jump-reaction-burst-layer {
        z-index: 300;
    }
}

.watch-live-v2 .jump-clip-input,
.watch-live-v2 .jump-clip-input.form-select {
    border-radius: var(--jump-radius);
    background: var(--jump-surface-raised);
    border: 1px solid var(--jump-border);
    color: var(--jump-text);
}

.watch-live-v2 .jump-clip-use-time {
    border-radius: var(--jump-radius);
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
}

.watch-live-v2 .jump-clip-list {
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.85rem;
    background: var(--jump-surface);
    border-radius: 12px;
    border: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-clip-list__heading {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--jump-text-muted);
    margin-bottom: 0.5rem;
}

.watch-live-v2 .jump-clip-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.45rem 0;
    border-top: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-clip-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.watch-live-v2 .jump-clip-item__title {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
}

.watch-live-v2 .jump-clip-item__range,
.watch-live-v2 .jump-clip-item__status {
    font-size: 0.68rem;
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-clip-item__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.watch-live-v2 .jump-clip-item__download {
    font-size: 0.72rem;
    color: var(--jump-accent);
    text-decoration: none;
    font-weight: 700;
}

.watch-live-v2 .jump-clip-item__shorts {
    font-size: 0.68rem;
    color: var(--jump-accent);
}

/* Page shell: inherit workspace body background (svg pattern + bg_color) */

/* ── Ambient workspace accent (desktop) ── */
@media (min-width: 992px) {
    .watch-live-v2 .jump-theater.jump-theater--in-grid {
        position: relative;
    }

    .watch-live-v2 .jump-theater.jump-theater--in-grid::after {
        content: '';
        position: absolute;
        left: 5%;
        right: 5%;
        top: -12%;
        height: 55%;
        background: radial-gradient(ellipse at 50% 100%, var(--jump-accent-soft-15), transparent 72%);
        pointer-events: none;
        z-index: 0;
    }

    .watch-live-v2 .jump-theater.jump-theater--in-grid .jump-player-wrap {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 991.98px) {
    .watch-live-v2 .jump-theater-content {
        padding-top: 0;
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }

    .watch-live-v2 .jump-video-meta {
        padding: 0.75rem 0.15rem 0.5rem;
    }

    .watch-live-v2 .jump-action-bar {
        padding-bottom: 0.65rem;
        margin-bottom: 0.65rem;
    }

    .watch-live-v2 .jump-action-pill__label {
        display: none;
    }

    .watch-live-v2 .jump-action-pill {
        padding-left: 0.72rem;
        padding-right: 0.72rem;
    }

    .watch-live-v2 .jump-chat-panel--mobile {
        margin-top: 0.75rem;
        border-radius: var(--jump-radius-md);
        min-height: min(52vh, 420px);
        max-height: min(58vh, 480px);
    }

    .watch-live-v2 .jump-chat-panel--mobile .jump-chat-messages {
        min-height: 140px;
        max-height: none;
    }

    .watch-live-v2 .jump-info-collapse {
        margin-top: 0.85rem;
    }

    .watch-live-v2 .jump-info-toggle {
        border-radius: var(--jump-radius-md);
        background: var(--jump-surface);
    }

    .watch-live-v2 .jump-info-body {
        padding: 0.85rem 0 0;
    }

    .watch-live-v2 .jump-info-body .jump-info-card {
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .watch-live-v2 .jump-poll-slot {
        border-radius: var(--jump-radius-md);
    }

    .watch-live-v2 .jump-clip-list {
        border-radius: var(--jump-radius-md);
    }
}

/* ── On-demand v2 (same theater, no chat) ── */
.watch-vod-v2 .jump-action-bar--vod {
    padding-top: 0.35rem;
}

.watch-vod-v2 .jump-vod-like-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.watch-vod-v2 .jump-vod-like-btn .fa-heart {
    color: var(--jump-text-muted);
}

.watch-vod-v2 .jump-vod-like-btn:not([disabled]):hover {
    border-color: var(--jump-border-strong);
    background: var(--jump-surface-raised);
}

.watch-vod-v2 .jump-related {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jump-border);
}

/* ── Also live now (horizontal rail) ── */
.watch-live-v2 .jump-also-live {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--jump-border);
}

.watch-live-v2 .jump-also-live__head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.watch-live-v2 .jump-also-live__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jump-danger);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--jump-danger) 45%, transparent);
    animation: jump-live-pulse 1.8s ease-out infinite;
}

.watch-live-v2 .jump-also-live__scroll {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.watch-live-v2 .jump-also-live-card {
    flex: 0 0 168px;
    width: 168px;
    text-decoration: none;
    color: inherit;
}

.watch-live-v2 .jump-also-live-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--jump-radius-sm);
    overflow: hidden;
    border: 1px solid var(--jump-border);
    background: #000;
}

.watch-live-v2 .jump-also-live-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.watch-live-v2 .jump-also-live-card__badge {
    position: absolute;
    left: 0.35rem;
    bottom: 0.35rem;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: color-mix(in srgb, var(--jump-danger) 88%, #000);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.watch-live-v2 .jump-also-live-card__title {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--jump-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── On-demand: next video ── */
.watch-live-v2 .jump-next-video {
    margin: 0.85rem 0 0.25rem;
}

.watch-live-v2 .jump-next-video__label {
    margin: 0 0 0.45rem;
    font-family: var(--jump-heading-font);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--jump-text);
}

.watch-live-v2 .jump-next-video__card {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    padding: 0.55rem;
    border-radius: var(--jump-radius);
    border: 1px solid var(--jump-border);
    background: var(--jump-surface-raised);
    transition: border-color var(--jump-duration) var(--jump-ease), background var(--jump-duration) var(--jump-ease);
}

.watch-live-v2 .jump-next-video__card:hover,
.watch-live-v2 .jump-next-video__card:focus-visible {
    border-color: var(--jump-border-strong);
    background: var(--jump-surface-hover);
}

.watch-live-v2 .jump-next-video__media {
    flex: 0 0 128px;
    width: 128px;
    aspect-ratio: 16 / 9;
    border-radius: var(--jump-radius-sm);
    overflow: hidden;
    background: #000;
}

@media (min-width: 768px) {
    .watch-live-v2 .jump-next-video__media {
        flex-basis: 168px;
        width: 168px;
    }
}

.watch-live-v2 .jump-next-video__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.watch-live-v2 .jump-next-video__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.watch-live-v2 .jump-next-video__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--jump-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watch-live-v2 .jump-next-video__cta {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--jump-accent);
}

.watch-live-v2 .jump-next-video__cta i {
    font-size: 0.75rem;
    margin-left: 0.15rem;
}

/* Up-next overlay when VOD ends */
.watch-live-v2 .jump-vod-upnext {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.watch-live-v2 .jump-vod-upnext__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.watch-live-v2 .jump-vod-upnext__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 1rem;
    border-radius: var(--jump-radius);
    border: 1px solid var(--jump-border);
    background: var(--jump-surface);
}

.watch-live-v2 .jump-vod-upnext__eyebrow {
    margin: 0 0 0.25rem;
    font-family: var(--jump-heading-font);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--jump-text);
}

.watch-live-v2 .jump-vod-upnext__countdown {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: var(--jump-text-muted);
}

.watch-live-v2 .jump-vod-upnext__card {
    margin-bottom: 0.85rem;
}

.watch-live-v2 .jump-vod-upnext__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.watch-live-v2 .jump-vod-upnext__cancel {
    border: 1px solid var(--jump-border);
    border-radius: var(--jump-radius);
    background: transparent;
    color: var(--jump-text-muted);
    font-family: var(--jump-font);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
}

.watch-live-v2 .jump-vod-upnext__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
}

@keyframes jump-live-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--jump-danger) 45%, transparent); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .watch-live-v2 .jump-reaction-btn,
    .watch-live-v2 .jump-share-btn,
    .watch-live-v2 .jump-share-btn--compact,
    .watch-live-v2 .jump-btn-send,
    .watch-live-v2 .jump-poll-option,
    .watch-live-v2 .jump-chat-jump-latest {
        transition: none;
    }
}

