:root {
    color-scheme: dark;
    --bg: #0c0f14;
    --panel: #151a22;
    --panel-2: #1d232d;
    --panel-hover: #1c2436;
    --text: #f6f4ef;
    --muted: #b7afa3;
    --line: rgba(255, 255, 255, .1);
    --red: #d7263d;
    --gold: #f4b860;
    --green: #39b980;
    /* Depth / elevation */
    --shadow-card: 0 2px 8px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
    --shadow-card-hover: 0 8px 28px rgba(0,0,0,.65), 0 0 0 1px rgba(215,38,61,.28);
    --shadow-panel: 0 1px 4px rgba(0,0,0,.35);
    /* Extended palette */
    --red-dim: rgba(215,38,61,.16);
    --red-glow: rgba(215,38,61,.42);
    --gold-dim: rgba(244,184,96,.14);
    --green-dim: rgba(57,185,128,.16);
    --green-glow: rgba(57,185,128,.48);
    /* Transitions */
    --ease: cubic-bezier(.25,.46,.45,.94);
    --t-fast: 160ms var(--ease);
    --t-med: 260ms var(--ease);
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Remove focus outline triggered by mouse/touch clicks — keeps keyboard-nav outline intact */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Headings are not interactive — never show focus ring */
h1,
h2,
h3 {
    outline: none;
}

.video-copy {
    outline: none;
}

a {
    color: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary {
    border: 1px solid var(--red);
    background: var(--red);
    color: #fff;
    transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #f0304a;
    box-shadow: 0 0 0 3px var(--red-glow);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.04);
    color: #fff;
    transition: background var(--t-fast), border-color var(--t-fast);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.7);
}

.btn-subtle {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.025);
    color: rgba(246,244,239,.78);
}

.btn-subtle:hover,
.btn-subtle:focus-visible {
    color: #fff;
    border-color: rgba(255,255,255,.42);
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 56px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 -260px 160px rgba(0, 0, 0, .72),
                inset 0 60px 80px rgba(0, 0, 0, .38),
                inset 0 0 0 1px rgba(255,255,255,.08);
}

.hero-public {
    background-image: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.22)), url("https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=1600&q=85");
}

.hero-auth {
    background-image: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.18)), url("https://images.unsplash.com/photo-1517438322307-e67111335449?auto=format&fit=crop&w=1600&q=85");
}

.hero > div {
    width: min(760px, 100%);
}

.hero h1 {
    text-shadow: 0 2px 24px rgba(0,0,0,.9), 0 1px 4px rgba(0,0,0,.6);
}

.hero .eyebrow {
    color: var(--red);
}

.hero .eyebrow::before {
    background: var(--red);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    flex-shrink: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: 18px;
}

h2 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

h3 {
    font-weight: 700;
    letter-spacing: -.01em;
}

.hero-copy,
.page-heading p,
.video-copy p,
.login-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.feature-strip div {
    padding: 22px;
    background: var(--panel);
    transition: background var(--t-med);
    cursor: default;
}

.feature-strip div:first-child {
    border-top: 2px solid var(--red);
}

.feature-strip div:nth-child(2) {
    border-top: 2px solid var(--gold);
}

.feature-strip div:nth-child(3) {
    border-top: 2px solid var(--green);
}

.feature-strip div:hover {
    background: var(--panel-2);
}

.feature-strip strong,
.feature-strip span {
    display: block;
}

.feature-strip strong {
    font-weight: 800;
}

.feature-strip span {
    margin-top: 6px;
    color: var(--muted);
}

.public-stats {
    margin-bottom: 10px;
}

.public-section-header {
    margin-top: 56px;
}

.public-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.public-benefit {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 0 22px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow-card);
}

.public-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 118px;
    background:
        linear-gradient(180deg, rgba(12,15,20,.04), rgba(21,26,34,1));
    z-index: 0;
    pointer-events: none;
}

.public-benefit img {
    position: relative;
    z-index: 0;
    display: block;
    width: calc(100% + 44px);
    height: 118px;
    margin: 0 -22px 0;
    object-fit: cover;
    filter: saturate(.78) contrast(.95) brightness(.58);
}

.public-benefit span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    margin-top: -14px;
    margin-bottom: 18px;
    border-radius: 6px;
    background: var(--red-dim);
    color: #ffb2bd;
    font-size: .78rem;
    font-weight: 800;
}

.public-benefit h3,
.public-category-grid h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.public-benefit p,
.public-showcase p,
.public-mode-list span,
.public-category-grid p,
.public-access-flow span {
    position: relative;
    z-index: 1;
    color: var(--muted);
    line-height: 1.55;
}

.public-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    gap: 24px;
    align-items: center;
    margin-top: 56px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(110deg, rgba(215,38,61,.12), rgba(244,184,96,.06) 42%, rgba(255,255,255,.03)),
        var(--panel);
    box-shadow: var(--shadow-card);
}

.public-showcase h2,
.public-final-cta h2 {
    max-width: 640px;
}

.public-mode-list {
    display: grid;
    gap: 12px;
}

.public-mode-list article {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(12,15,20,.58);
}

.public-mode-list strong,
.public-mode-list span,
.public-access-flow strong,
.public-access-flow span {
    display: block;
}

.public-mode-list span {
    margin-top: 6px;
}

.public-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.public-category-grid article {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow-card);
    transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.public-category-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(244,184,96,.32);
    box-shadow: var(--shadow-card-hover);
}

.public-category-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.public-category-grid h3,
.public-category-grid p {
    padding: 0 16px;
}

.public-category-grid h3 {
    margin-top: 16px;
}

.public-category-grid p {
    margin-bottom: 18px;
}

.public-access-flow {
    display: grid;
    grid-template-columns: minmax(240px, .55fr) 1fr;
    gap: 24px;
    margin-top: 56px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.public-access-flow ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: access-step;
}

.public-access-flow li {
    position: relative;
    padding: 18px 18px 18px 52px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #10151d;
    counter-increment: access-step;
}

.public-access-flow li::before {
    content: counter(access-step);
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: #17110a;
    font-size: .75rem;
    font-weight: 900;
}

.public-access-flow span {
    margin-top: 6px;
}

.public-final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 56px;
    padding: 30px;
    border: 1px solid rgba(215,38,61,.32);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(215,38,61,.18), rgba(29,35,45,.94)),
        var(--panel);
}

.public-final-cta h2 {
    margin-bottom: 0;
}

.section-header,
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 44px 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.page-heading {
    display: block;
    max-width: 780px;
}

.section-header a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
    transition: color var(--t-fast);
}

.section-header a:hover {
    color: #fff;
}

.live-open-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 60px;
    margin: 44px 0 18px;
    padding: 0 22px;
    border: 1px solid var(--red);
    border-radius: 12px;
    background: var(--red-dim);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.live-open-btn:hover,
.live-open-btn:focus-visible {
    background: rgba(215, 38, 61, 0.26);
    box-shadow: 0 0 0 3px var(--red-glow);
    transform: translateY(-1px);
    outline: none;
}

.live-open-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.live-open-btn__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 1.05rem;
}

.live-open-btn__eyebrow {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}

.live-open-btn__dot {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px var(--red-dim);
    animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.live-open-btn__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    white-space: nowrap;
    font-size: .95rem;
}

.live-open-btn__arrow {
    transition: transform var(--t-fast);
}

.live-open-btn:hover .live-open-btn__arrow,
.live-open-btn:focus-visible .live-open-btn__arrow {
    transform: translateX(4px);
}

@media (max-width: 560px) {
    .live-open-btn__eyebrow {
        display: none;
    }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.media-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(215,38,61,.3);
}

.media-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform var(--t-med);
}

.media-card:hover img {
    transform: scale(1.04);
}

.media-card span {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0,0,0,.72);
    font-size: .8rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.1);
}

.media-card h3,
.media-card p {
    padding: 0 16px;
}

.media-card h3 {
    margin: 16px 0 8px;
    font-size: 1.05rem;
    line-height: 1.22;
    min-height: calc(1.22em * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card p {
    color: var(--muted);
    line-height: 1.45;
    margin: 0 0 18px;
    min-height: calc(1.45em * 4);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-list {
    display: grid;
    gap: 12px;
}

.event-row {
    display: grid;
    grid-template-columns: 112px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: inherit;
    text-decoration: none;
    transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.event-row:hover {
    background: var(--panel-hover);
    border-color: rgba(255,255,255,.18);
    box-shadow: var(--shadow-panel);
}

.event-row img {
    width: 112px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    transition: transform var(--t-med);
}

.event-row:hover img {
    transform: scale(1.03);
}

.event-row span,
.event-row small {
    display: block;
    color: var(--muted);
}

.event-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(57, 185, 128, .16);
    color: #a6f2ce !important;
    font-weight: 700;
}

.event-status--live {
    background: var(--green-dim);
    color: #a6f2ce !important;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-status--live::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: live-pulse 1.8s ease-out infinite;
    flex-shrink: 0;
}

@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 var(--green-glow); }
    60%  { box-shadow: 0 0 0 6px rgba(57,185,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(57,185,128,0); }
}

.live-channel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 34px;
}

.live-channel-player {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #05070a;
    box-shadow: var(--shadow-card);
}

.live-channel-player__embed {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.live-channel-player__embed iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* In fullscreen the shell fills the screen; centre the 16:9 embed so it is
   letterboxed evenly instead of pinned to the top with black below. */
.live-channel-player:fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #000;
}

.live-channel-player:-webkit-full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #000;
}

.live-channel-player:fullscreen .live-channel-player__embed {
    width: 100%;
    max-height: 100%;
    margin: auto;
}

.live-channel-player:-webkit-full-screen .live-channel-player__embed {
    width: 100%;
    max-height: 100%;
    margin: auto;
}

/* Full-bleed tap target: click anywhere on the video to play/pause */
.live-channel-player__tap {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

/* Big centre play badge when paused */
.live-channel-player__tap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%) scale(.9);
    border-radius: 50%;
    background: rgba(12, 15, 20, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center / 34px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
    opacity: 0;
    transition: opacity var(--t-med), transform var(--t-med);
    pointer-events: none;
}

.live-channel-player.is-paused .live-channel-player__tap::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.live-channel-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 48px 16px 16px;
    background: linear-gradient(to top, rgba(4,6,10,.92) 0%, rgba(4,6,10,.55) 42%, rgba(4,6,10,0) 100%);
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--t-med), transform var(--t-med);
}

/* Auto-hide the control bar while playing on hover-capable (desktop) devices */
@media (hover: hover) {
    .live-channel-player.is-playing .live-channel-controls {
        opacity: 0;
        transform: translateY(8px);
    }

    .live-channel-player.is-playing:hover .live-channel-controls,
    .live-channel-player.is-playing:focus-within .live-channel-controls {
        opacity: 1;
        transform: translateY(0);
    }

    .live-channel-player.is-playing:not(:hover):not(:focus-within) {
        cursor: none;
    }
}

.live-channel-controls__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-channel-controls__group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.live-ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
    -webkit-tap-highlight-color: transparent;
}

.live-ctrl:hover,
.live-ctrl:focus-visible {
    background: rgba(255,255,255,.16);
    transform: scale(1.06);
    outline: none;
}

.live-ctrl:active {
    transform: scale(.94);
}

.live-ctrl .ic {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
}

.live-ctrl--play {
    background: rgba(255,255,255,.14);
}

.live-channel-player.is-paused .live-ctrl--play {
    background: var(--red);
}

.live-channel-player.is-paused .live-ctrl--play:hover {
    background: #e23a4f;
}

/* Icon swapping driven by shell state classes.
   These selectors must out-specify `.live-ctrl .ic { display: block }` above,
   so each is qualified with `.live-ctrl`/`.live-channel-player`. */
.live-ctrl .ic-pause,
.live-ctrl .ic-muted,
.live-ctrl .ic-collapse {
    display: none;
}

.live-channel-player.is-playing .ic-play {
    display: none;
}

.live-channel-player.is-playing .ic-pause {
    display: block;
}

.live-channel-player.is-muted .ic-volume {
    display: none;
}

.live-channel-player.is-muted .ic-muted {
    display: block;
}

.live-channel-player.is-fullscreen .ic-expand {
    display: none;
}

.live-channel-player.is-fullscreen .ic-collapse {
    display: block;
}

.live-ctrl-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(215, 38, 61, .22);
    border: 1px solid rgba(215, 38, 61, .5);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.live-ctrl-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 var(--red-glow);
    animation: live-pulse 1.8s infinite;
}

.live-channel-progress {
    position: relative;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    pointer-events: none;
}

.live-channel-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transition: width 1s linear;
}

.live-channel-progress-label {
    padding-left: 4px;
    color: rgba(255,255,255,.92);
    font-size: .82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.live-channel-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow-card);
}

.live-channel-panel h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 4rem);
}

.live-channel-now {
    display: grid;
    gap: 6px;
    margin: 22px 0;
    padding: 16px;
    border-radius: 8px;
    background: rgba(215, 38, 61, .12);
    border: 1px solid rgba(215, 38, 61, .28);
}

.live-channel-now span,
.live-channel-meta dt {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.live-channel-meta {
    display: grid;
    gap: 12px;
    margin: 0;
}

.live-channel-meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.live-channel-meta dd {
    margin: 0;
    font-weight: 800;
}

.live-progress {
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.live-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
}

.live-channel-schedule {
    margin-bottom: 36px;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading-row h2 {
    margin: 0;
}

.schedule-link {
    flex-shrink: 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--t-fast), border-color var(--t-fast);
}

.schedule-link:hover,
.schedule-link:focus-visible {
    color: var(--text);
    border-bottom-color: var(--muted);
}

.login-shell {
    min-height: calc(100vh - 160px);
    display: grid;
    grid-template-columns: 1fr minmax(300px, 420px);
    align-items: center;
    gap: 44px;
}

.login-card {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: var(--shadow-card);
}

.login-card label {
    font-weight: 700;
}

.login-card input {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    background: #0f131a;
    color: var(--text);
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.login-card input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-dim);
}

.login-card input::placeholder {
    color: rgba(183,175,163,.4);
}

.form-error {
    color: #ff9ca8;
}

.demo-link {
    color: var(--gold);
    text-align: center;
    text-decoration: none;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

.player-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

.player-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-copy,
.related-panel,
.live-now {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.video-copy h1 {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    letter-spacing: -.015em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.related-panel {
    margin-top: 0;
}

.related-panel a {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color var(--t-fast);
}

.related-panel a:last-child {
    border-bottom: none;
}

.related-panel a:hover {
    color: var(--gold);
}

.related-panel img {
    width: 92px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    transition: transform var(--t-med);
}

.related-panel a:hover img {
    transform: scale(1.04);
}

.live-now {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 1fr;
    gap: 20px;
    margin: 0 0 22px;
}

.empty-state {
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.empty-state.compact {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
}

.info-panel {
    display: grid;
    gap: 14px;
    max-width: 860px;
}

.info-panel article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.info-panel h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.info-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.info-content {
    max-width: 860px;
    line-height: 1.7;
    color: var(--muted);
}

.info-content h1 {
    margin-bottom: 12px;
    font-size: 2rem;
    color: var(--text);
}

.info-content h2 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--text);
}

.info-content h3 {
    margin-top: 20px;
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: var(--text);
}

.info-content p {
    margin: 0 0 14px;
}

.info-content ul,
.info-content ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.info-content li {
    margin-bottom: 6px;
}

.info-content a {
    color: var(--accent, #e23);
    text-decoration: underline;
}

.info-content strong {
    color: var(--text);
}

.account-grid {
    display: grid;
    gap: 20px;
    max-width: 640px;
}

.account-panel {
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.account-panel--danger {
    border-color: rgba(179, 38, 30, 0.55);
}

.account-panel h2 {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.account-meta {
    display: grid;
    margin: 0;
}

.account-meta div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.account-meta div:first-child {
    border-top: none;
}

.account-meta dt {
    color: var(--muted);
    font-weight: 500;
}

.account-meta dd {
    margin: 0;
    text-align: right;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.account-note {
    margin: 4px 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.account-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(120, 120, 120, 0.2);
    font-size: 0.85rem;
}

.account-status--active {
    background: rgba(46, 160, 67, 0.2);
    color: #2ea043;
}

.btn-danger {
    background: #b3261e;
    color: #fff;
}

.btn-secondary {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
}

@media (max-width: 860px) {
    .hero {
        min-height: 460px;
        padding: 28px;
    }

    .feature-strip,
    .public-benefit-grid,
    .public-showcase,
    .public-category-grid,
    .public-access-flow,
    .public-access-flow ol,
    .login-shell,
    .player-layout,
    .live-now,
    .live-channel-hero {
        grid-template-columns: 1fr;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }

    .public-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 2.3rem;
    }

    .content {
        width: min(100% - 24px, 1180px);
    }

    .event-row {
        grid-template-columns: 86px 1fr;
    }

    .event-row img {
        width: 86px;
    }

    .event-status {
        grid-column: 2;
        width: max-content;
    }

    .live-channel-controls {
        padding: 40px 10px 12px;
        gap: 9px;
    }

    .live-ctrl {
        width: 38px;
        height: 38px;
    }

    .live-ctrl .ic {
        width: 22px;
        height: 22px;
    }

    /* Save horizontal room on phones: drop the LIVE pill, keep the timecode + all controls */
    .live-ctrl-badge {
        display: none;
    }

    .live-channel-progress-label {
        font-size: .76rem;
    }

    .public-showcase,
    .public-access-flow,
    .public-final-cta {
        padding: 22px;
    }
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    background: #0c0f14;
    color: var(--text);
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-right: 1px solid var(--line);
    background: #090c11;
}

.admin-brand {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar a,
.admin-sidebar button {
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: #ddd7ce;
    font: inherit;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}

.admin-sidebar button {
    width: 100%;
    cursor: pointer;
}

.admin-main {
    padding: 26px;
}

.admin-panel {
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px;
}

.admin-field {
    display: grid;
    gap: 6px;
}

.admin-field.wide {
    grid-column: span 2;
}

.admin-field.full {
    grid-column: 1 / -1;
}

.admin-field label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    background: #0f131a;
    color: var(--text);
}

.admin-field textarea {
    min-height: 80px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

.admin-table th,
.admin-table td {
    padding: 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}

.admin-table th {
    color: var(--gold);
    font-size: .78rem;
    text-transform: uppercase;
}

.admin-error {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 156, 168, .4);
    border-radius: 8px;
    color: #ffb7c0;
    background: rgba(215,38,61,.1);
}

.admin-success {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(120, 220, 150, .4);
    border-radius: 8px;
    color: #b7f0c6;
    background: rgba(38,215,110,.1);
}

.admin-test-grid {
    display: grid;
    gap: 18px;
}

.admin-response {
    min-height: 120px;
    max-height: 360px;
    overflow: auto;
    margin: 16px 0 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0,0,0,.28);
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-field.wide {
        grid-column: auto;
    }
}
