/* ==========================================================================
   CSB PODCAST
   LIVE EXPERIENCE — PREMIUM STUDIO 2028
   ========================================================================== */

.live-room {
    --live-bg:#07070A;
    --live-bg-soft:#0A090E;

    --live-panel:#0E0D13;
    --live-panel-2:#141119;
    --live-panel-3:#19151F;

    --live-white:#F7F7FB;
    --live-text:#DDD9E4;
    --live-muted:#8F8999;
    --live-muted-2:#696472;

    --live-violet:#8B43A8;
    --live-cyan:#12B4D6;
    --live-pink:#EA5B78;
    --live-red:#FF3B30;

    --live-line:rgba(255,255,255,.07);
    --live-line-strong:rgba(255,255,255,.12);

    --live-gradient:
        linear-gradient(
            115deg,
            #8B43A8 0%,
            #EA5B78 50%,
            #12B4D6 100%
        );

    --live-mouse-x:70%;
    --live-mouse-y:10%;

    position:relative;
    isolation:isolate;

    min-height:100vh;

    overflow:hidden;

    background:#07070A;

    color:var(--live-white);
}

.live-room *,
.live-room *::before,
.live-room *::after {
    box-sizing:border-box;
}

/* ==========================================================================
   BACKGROUND
   ========================================================================== */

.live-room::before {
    content:"";

    position:fixed;
    z-index:-5;

    inset:0;

    pointer-events:none;

    background:
        radial-gradient(
            circle at
            var(--live-mouse-x)
            var(--live-mouse-y),
            rgba(139,67,168,.11),
            transparent 24%
        ),
        radial-gradient(
            circle at 96% 8%,
            rgba(234,91,120,.085),
            transparent 28%
        ),
        radial-gradient(
            circle at 4% 65%,
            rgba(18,180,214,.035),
            transparent 28%
        ),
        #07070A;
}

.live-room::after {
    content:"";

    position:fixed;
    z-index:-4;

    inset:0;

    opacity:.20;

    pointer-events:none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.013) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.013) 1px,
            transparent 1px
        );

    background-size:88px 88px;

    mask-image:
        linear-gradient(
            #000 0%,
            transparent 84%
        );
}

.live-ambient {
    position:absolute;
    z-index:-3;

    inset:0;

    overflow:hidden;

    pointer-events:none;
}

.live-ambient i {
    position:absolute;

    display:block;

    border-radius:50%;

    filter:blur(60px);

    opacity:.35;

    animation:
        liveAmbientFloat
        16s ease-in-out
        infinite alternate;
}

.live-ambient i:nth-child(1) {
    top:3%;
    right:-9%;

    width:500px;
    height:500px;

    background:
        radial-gradient(
            circle,
            rgba(234,91,120,.14),
            transparent 68%
        );
}

.live-ambient i:nth-child(2) {
    top:39%;
    left:-15%;

    width:430px;
    height:430px;

    background:
        radial-gradient(
            circle,
            rgba(139,67,168,.12),
            transparent 68%
        );

    animation-delay:-6s;
}

.live-ambient i:nth-child(3) {
    bottom:-10%;
    left:44%;

    width:420px;
    height:420px;

    background:
        radial-gradient(
            circle,
            rgba(18,180,214,.07),
            transparent 70%
        );

    animation-delay:-10s;
}

/* ==========================================================================
   SHELL
   ========================================================================== */

.live-room-shell {
    width:
        min(
            1580px,
            calc(100% - 42px)
        );

    margin:0 auto;

    padding:
        30px 0
        90px;
}

/* ==========================================================================
   HERO — PLUS COMPACT ET PROFESSIONNEL
   ========================================================================== */

.live-room-header {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        180px;

    gap:
        clamp(
            30px,
            5vw,
            70px
        );

    align-items:center;

    min-height:0;

    padding:
        10px 0
        38px;
}

.live-room-copy {
    max-width:1160px;
}

.live-back {
    display:inline-flex;

    align-items:center;

    gap:7px;

    color:var(--live-muted);

    font-size:.57rem;

    font-weight:800;

    text-decoration:none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.live-back:hover {
    transform:translateX(-3px);

    color:var(--live-cyan);
}

/* ==========================================================================
   STATUS
   ========================================================================== */

.live-room-status {
    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:6px;

    margin-top:18px;
}

.live-state,
.live-provider,
.live-viewers {
    display:inline-flex;

    align-items:center;

    gap:6px;

    min-height:28px;

    padding:
        0
        9px;

    border:
        1px solid
        var(--live-line);

    border-radius:999px;

    background:
        rgba(255,255,255,.014);

    color:var(--live-muted);

    font-size:.47rem;

    font-weight:900;

    letter-spacing:.045em;

    backdrop-filter:blur(10px);
}

.state-live {
    border-color:
        rgba(234,91,120,.22);

    background:
        rgba(234,91,120,.055);

    color:#FF91AA;

    box-shadow:
        0 0 28px
        rgba(234,91,120,.045);
}

.state-scheduled {
    border-color:
        rgba(18,180,214,.18);

    color:var(--live-cyan);
}

.state-replay {
    border-color:
        rgba(139,67,168,.20);

    color:#C894DA;
}

.live-viewers i {
    width:6px;
    height:6px;

    border-radius:50%;

    background:var(--live-cyan);

    box-shadow:
        0 0 14px
        rgba(18,180,214,.6);
}

.live-viewers strong {
    color:var(--live-white);
}

/* ==========================================================================
   HERO TITLE
   ========================================================================== */

.live-room-header h1 {
    max-width:1100px;

    margin:
        15px 0
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            3.1rem,
            5.3vw,
            6rem
        );

    font-weight:700;

    line-height:.88;

    letter-spacing:-.065em;

    text-wrap:balance;
}

.live-room-header h1::after {
    content:"";

    display:block;

    width:
        clamp(
            100px,
            18vw,
            260px
        );

    height:2px;

    margin-top:18px;

    transform-origin:left;

    background:var(--live-gradient);

    animation:
        liveHeroLine
        .9s
        cubic-bezier(.2,.8,.2,1)
        both;
}

.live-room-header p {
    max-width:880px;

    margin:
        19px 0
        0;

    color:
        rgba(247,247,251,.50);

    font-size:.76rem;

    line-height:1.78;
}

/* ==========================================================================
   COVER
   ========================================================================== */

.live-room-cover {
    position:relative;

    width:180px;

    aspect-ratio:1;

    justify-self:end;

    overflow:hidden;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius:26px;

    transform:
        rotate(2deg);

    background:#111017;

    box-shadow:
        0 35px 90px
        rgba(0,0,0,.36);

    transition:
        transform .4s
        cubic-bezier(.2,.8,.2,1),
        box-shadow .4s ease;
}

.live-room-cover:hover {
    transform:
        rotate(0)
        translateY(-5px)
        scale(1.02);

    box-shadow:
        0 45px 110px
        rgba(0,0,0,.46);
}

.live-room-cover img {
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}

.live-room-cover::after {
    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            transparent 34%,
            rgba(7,7,10,.34)
        );
}

.live-room-cover span {
    position:absolute;
    z-index:2;

    right:10px;
    bottom:10px;

    padding:
        6px 8px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius:8px;

    background:
        rgba(7,7,10,.70);

    color:var(--live-pink);

    font-size:.42rem;

    font-weight:900;

    letter-spacing:.12em;

    backdrop-filter:blur(10px);
}

/* ==========================================================================
   KICKER
   ========================================================================== */

.live-kicker {
    color:var(--live-cyan);

    font-size:.48rem;

    font-weight:900;

    letter-spacing:.17em;
}

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */

.live-countdown {
    margin-bottom:14px;

    padding:18px;

    border:
        1px solid
        var(--live-line);

    border-radius:19px;

    background:
        linear-gradient(
            135deg,
            rgba(139,67,168,.035),
            rgba(18,180,214,.012)
        );

    text-align:center;
}

.live-countdown-grid {
    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:7px;

    width:min(620px,100%);

    margin:
        15px auto
        0;
}

.live-countdown-grid > div {
    padding:14px 8px;

    border:
        1px solid
        rgba(255,255,255,.05);

    border-radius:12px;

    background:
        rgba(7,7,10,.28);
}

.live-countdown-grid strong {
    display:block;

    font-size:
        clamp(
            1.5rem,
            3.5vw,
            2.8rem
        );

    font-variant-numeric:tabular-nums;
}

.live-countdown-grid span {
    color:var(--live-muted);

    font-size:.40rem;

    font-weight:900;
}

/* ==========================================================================
   LAYOUT STUDIO
   ========================================================================== */

.live-room-grid {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        390px;

    gap:14px;

    align-items:start;
}

.live-stage {
    min-width:0;
}

/* ==========================================================================
   PLAYER SHELL
   ========================================================================== */

.live-player-shell {
    --player-x:50%;
    --player-y:50%;

    position:relative;

    overflow:hidden;

    border:
        1px solid
        rgba(255,255,255,.085);

    border-radius:26px;

    background:
        radial-gradient(
            circle at
            var(--player-x)
            var(--player-y),
            rgba(139,67,168,.045),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.005)
        );

    box-shadow:
        0 45px 125px
        rgba(0,0,0,.26);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.live-player-shell:hover {
    border-color:
        rgba(139,67,168,.16);

    box-shadow:
        0 55px 145px
        rgba(0,0,0,.34);
}

.live-player-shell::before {
    content:"";

    position:absolute;
    z-index:10;

    top:0;
    left:8%;
    right:8%;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #EA5B78,
            #8B43A8,
            #12B4D6,
            transparent
        );

    opacity:.55;
}

/* ==========================================================================
   PLAYER TOPBAR
   ========================================================================== */

.live-player-topbar {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:18px;

    min-height:54px;

    padding:
        0
        16px;

    border-bottom:
        1px solid
        rgba(255,255,255,.05);

    background:
        rgba(10,9,14,.80);

    backdrop-filter:blur(18px);
}

.live-player-topbar > div {
    display:flex;

    align-items:center;

    gap:8px;
}

.live-player-topbar strong {
    font-size:.52rem;

    letter-spacing:.13em;
}

.live-player-dot {
    width:7px;
    height:7px;

    border-radius:50%;

    background:#68636F;
}

.live-player-dot.is-live {
    background:var(--live-pink);

    box-shadow:
        0 0 0 5px
        rgba(234,91,120,.055),
        0 0 18px
        rgba(234,91,120,.48);

    animation:
        livePulse
        1.5s ease
        infinite;
}

.live-player-meta span {
    color:var(--live-muted);

    font-size:.47rem;
}

.live-player-meta button {
    display:grid;

    place-items:center;

    width:34px;
    height:34px;

    border:
        1px solid
        var(--live-line);

    border-radius:9px;

    background:
        rgba(255,255,255,.018);

    color:var(--live-text);

    cursor:pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.live-player-meta button:hover {
    transform:scale(1.04);

    background:
        rgba(18,180,214,.05);

    color:var(--live-cyan);
}

/* ==========================================================================
   PLAYER BODY
   ========================================================================== */

.live-player {
    position:relative;

    min-height:
        clamp(
            450px,
            52vw,
            680px
        );

    overflow:hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(139,67,168,.055),
            transparent 31%
        ),
        #08070B;
}

.live-frame {
    position:absolute;

    inset:0;
}

.live-frame iframe {
    display:block;

    width:100%;
    height:100%;

    border:0;

    background:#000;
}

/* ==========================================================================
   NATIVE VIDEO
   ========================================================================== */

.live-native-video {
    position:absolute;

    inset:0;

    overflow:hidden;

    background:#000;
}

.live-native-video video {
    display:block;

    width:100%;
    height:100%;

    object-fit:contain;
}

.live-big-play {
    position:absolute;
    z-index:5;

    top:50%;
    left:50%;

    display:grid;

    place-items:center;

    width:80px;
    height:80px;

    transform:
        translate(-50%,-50%);

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius:25px;

    background:
        rgba(15,14,20,.70);

    color:white;

    cursor:pointer;

    backdrop-filter:blur(18px);

    box-shadow:
        0 25px 65px
        rgba(0,0,0,.38);

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.live-big-play span {
    margin-left:4px;

    font-size:1.4rem;
}

.live-player-shell.is-playing
.live-big-play {
    opacity:0;

    pointer-events:none;

    transform:
        translate(-50%,-50%)
        scale(.85);
}

/* ==========================================================================
   CUSTOM VIDEO CONTROLS
   ========================================================================== */

.live-native-controls {
    position:absolute;
    z-index:6;

    right:14px;
    bottom:14px;
    left:14px;

    display:grid;

    grid-template-columns:
        auto
        minmax(0,1fr)
        auto
        auto;

    align-items:center;

    gap:9px;

    padding:9px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius:14px;

    background:
        rgba(7,7,10,.72);

    backdrop-filter:
        blur(20px)
        saturate(130%);

    box-shadow:
        0 20px 55px
        rgba(0,0,0,.32);
}

.live-native-controls button {
    display:grid;

    place-items:center;

    width:38px;
    height:38px;

    border:
        1px solid
        rgba(255,255,255,.075);

    border-radius:10px;

    background:
        rgba(255,255,255,.018);

    color:white;

    cursor:pointer;
}

.live-player-time {
    display:grid;

    grid-template-columns:
        auto
        minmax(0,1fr)
        auto;

    align-items:center;

    gap:8px;

    min-width:0;

    color:
        rgba(247,247,251,.58);

    font-size:.47rem;

    font-variant-numeric:tabular-nums;
}

.live-player-time input {
    width:100%;
}

/* ==========================================================================
   WAITING
   ========================================================================== */

.live-waiting {
    display:grid;

    place-items:center;
    align-content:center;

    min-height:inherit;

    padding:40px;

    text-align:center;
}

.live-waiting-rings {
    position:relative;

    display:grid;

    place-items:center;

    width:100px;
    height:100px;
}

.live-waiting-rings span {
    position:absolute;

    inset:0;

    border:
        1px solid
        rgba(234,91,120,.17);

    border-radius:50%;

    animation:
        liveRing
        2s ease-out
        infinite;
}

.live-waiting-rings span:nth-child(2) {
    animation-delay:-1s;
}

.live-waiting-rings i {
    position:relative;
    z-index:2;

    display:grid;

    place-items:center;

    width:66px;
    height:66px;

    border:
        1px solid
        rgba(234,91,120,.17);

    border-radius:22px;

    background:
        linear-gradient(
            145deg,
            rgba(139,67,168,.13),
            rgba(234,91,120,.055)
        );

    color:var(--live-pink);

    font-style:normal;

    font-size:1.35rem;
}

.live-waiting .live-kicker {
    margin-top:21px;
}

.live-waiting h2 {
    max-width:700px;

    margin:
        11px 0
        0;

    font-family:Georgia,serif;

    font-size:
        clamp(
            2rem,
            4vw,
            3.7rem
        );

    line-height:.95;
}

.live-waiting p {
    max-width:610px;

    color:var(--live-muted);

    font-size:.67rem;

    line-height:1.7;
}

/* ==========================================================================
   PRIMARY
   ========================================================================== */

.live-primary {
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-height:43px;

    margin-top:13px;

    padding:
        0
        15px;

    border:0;

    border-radius:11px;

    background:var(--live-gradient);

    color:white;

    font-size:.62rem;

    font-weight:850;

    text-decoration:none;

    cursor:pointer;

    box-shadow:
        0 15px 38px
        rgba(139,67,168,.18);
}

/* ==========================================================================
   AUDIO
   ========================================================================== */

.live-audio {
    display:grid;

    grid-template-columns:
        290px
        minmax(0,1fr);

    gap:35px;

    align-items:center;

    min-height:inherit;

    padding:
        clamp(
            28px,
            5vw,
            58px
        );
}

.live-audio-art {
    position:relative;

    overflow:hidden;

    aspect-ratio:1;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius:28px;

    box-shadow:
        0 35px 95px
        rgba(0,0,0,.34);
}

.live-audio-art img {
    width:100%;
    height:100%;

    object-fit:cover;
}

.live-audio-art span {
    position:absolute;

    right:12px;
    bottom:12px;

    padding:
        6px
        8px;

    border-radius:8px;

    background:
        rgba(7,7,10,.68);

    color:var(--live-cyan);

    font-size:.42rem;

    font-weight:900;
}

.live-audio-copy h2 {
    margin:
        9px 0
        0;

    font-family:Georgia,serif;

    font-size:
        clamp(
            2rem,
            4vw,
            3.8rem
        );

    line-height:.95;
}

.live-wave {
    display:flex;

    align-items:center;

    gap:3px;

    height:65px;

    margin:21px 0;
}

.live-wave i {
    width:2px;
    height:15px;

    border-radius:99px;

    background:
        linear-gradient(
            to top,
            var(--live-violet),
            var(--live-cyan)
        );

    animation:
        liveWave
        .85s ease-in-out
        infinite alternate;
}

.live-wave i:nth-child(3n) {
    height:37px;

    animation-delay:-.4s;
}

.live-wave i:nth-child(4n) {
    height:24px;

    animation-delay:-.65s;
}

.live-wave i:nth-child(5n) {
    height:50px;

    animation-delay:-.25s;
}

.live-audio audio {
    width:100%;
}

/* ==========================================================================
   PLAYER FOOTER
   ========================================================================== */

.live-player-footer {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:20px;

    min-height:61px;

    padding:
        9px
        16px;

    border-top:
        1px solid
        rgba(255,255,255,.05);

    background:
        rgba(10,9,14,.84);
}

.live-player-footer span,
.live-player-footer strong {
    display:block;
}

.live-player-footer span {
    color:var(--live-pink);

    font-size:.41rem;

    font-weight:900;

    letter-spacing:.12em;
}

.live-player-footer strong {
    max-width:700px;

    margin-top:3px;

    overflow:hidden;

    color:
        rgba(247,247,251,.66);

    font-size:.56rem;

    text-overflow:ellipsis;

    white-space:nowrap;
}

.live-player-footer a {
    color:var(--live-cyan);

    font-size:.50rem;

    text-decoration:none;
}

/* ==========================================================================
   REACTIONS
   ========================================================================== */

.live-reactions {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:20px;

    margin-top:10px;

    padding:
        12px
        14px;

    border:
        1px solid
        var(--live-line);

    border-radius:16px;

    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,.012),
            rgba(139,67,168,.012)
        );
}

.live-reactions > div:first-child strong {
    display:block;

    margin-top:3px;

    color:
        rgba(247,247,251,.55);

    font-size:.57rem;
}

.live-reaction-buttons {
    display:flex;

    gap:5px;
}

.live-reaction-buttons button {
    display:flex;

    align-items:center;
    justify-content:center;

    gap:5px;

    min-width:53px;
    min-height:40px;

    padding:
        0
        9px;

    border:
        1px solid
        var(--live-line);

    border-radius:11px;

    background:
        rgba(255,255,255,.014);

    color:white;

    cursor:pointer;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.live-reaction-buttons button:hover {
    transform:
        translateY(-3px)
        scale(1.04);

    border-color:
        rgba(234,91,120,.20);

    background:
        rgba(234,91,120,.035);
}

.live-reaction-buttons button.is-reacting {
    transform:scale(1.14);
}

.live-reaction-buttons strong {
    color:var(--live-muted);

    font-size:.46rem;
}

/* ==========================================================================
   PARTNER
   ========================================================================== */

.live-partner {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    gap:4px 18px;

    margin-top:10px;

    padding:15px;

    border:
        1px solid
        rgba(18,180,214,.10);

    border-radius:16px;

    background:
        linear-gradient(
            110deg,
            rgba(18,180,214,.022),
            rgba(139,67,168,.022)
        );

    color:inherit;

    text-decoration:none;

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.live-partner:hover {
    transform:translateY(-2px);

    border-color:
        rgba(18,180,214,.20);
}

.live-partner span {
    grid-column:
        1 / -1;

    color:var(--live-cyan);

    font-size:.42rem;

    font-weight:900;

    letter-spacing:.12em;
}

.live-partner strong {
    font-size:.69rem;
}

.live-partner em {
    color:var(--live-cyan);

    font-style:normal;
}

/* ==========================================================================
   CHAT
   ========================================================================== */

.live-chat {
    position:sticky;

    top:103px;

    overflow:hidden;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius:24px;

    background:
        linear-gradient(
            145deg,
            rgba(15,14,20,.94),
            rgba(9,8,13,.92)
        );

    box-shadow:
        0 40px 110px
        rgba(0,0,0,.25);

    backdrop-filter:
        blur(22px)
        saturate(135%);
}

.live-chat > header {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:18px;

    min-height:82px;

    padding:
        16px
        18px;

    border-bottom:
        1px solid
        rgba(255,255,255,.05);
}

.live-chat h2 {
    margin:
        6px 0
        0;

    font-family:Georgia,serif;

    font-size:1.6rem;

    line-height:1;
}

.live-chat-pulse {
    color:var(--live-pink);

    text-shadow:
        0 0 20px
        rgba(234,91,120,.55);

    animation:
        livePulse
        1.5s ease-in-out
        infinite;
}

/* ==========================================================================
   MESSAGES
   ========================================================================== */

.live-chat-messages {
    display:flex;

    flex-direction:column;

    gap:7px;

    height:
        min(
            50vh,
            510px
        );

    min-height:330px;

    padding:
        12px;

    overflow-y:auto;

    overscroll-behavior:contain;

    scrollbar-width:thin;

    scrollbar-color:
        rgba(139,67,168,.32)
        transparent;
}

.live-chat-messages::-webkit-scrollbar {
    width:6px;
}

.live-chat-messages::-webkit-scrollbar-thumb {
    border-radius:999px;

    background:
        rgba(139,67,168,.30);
}

/* ==========================================================================
   COMMENT CARD
   ========================================================================== */

.live-message {
    display:grid;

    grid-template-columns:
        34px
        minmax(0,1fr);

    gap:9px;

    padding:
        10px;

    border:
        1px solid
        rgba(255,255,255,.05);

    border-radius:13px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.016),
            rgba(255,255,255,.004)
        );

    animation:
        liveMessageIn
        .32s
        cubic-bezier(.2,.8,.2,1)
        both;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.live-message:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(139,67,168,.12);

    background:
        rgba(139,67,168,.018);
}

.live-message-avatar {
    display:grid;

    place-items:center;

    width:34px;
    height:34px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius:10px;

    background:
        linear-gradient(
            145deg,
            rgba(139,67,168,.32),
            rgba(234,91,120,.14)
        );

    color:white;

    font-size:.62rem;

    font-weight:900;
}

.live-message > div:last-child {
    min-width:0;
}

.live-message-head {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:8px;
}

.live-message-head strong {
    min-width:0;

    overflow:hidden;

    color:var(--live-cyan);

    font-size:.54rem;

    font-weight:850;

    text-overflow:ellipsis;

    white-space:nowrap;
}

.live-message-head time {
    flex:0 0 auto;

    color:
        rgba(247,247,251,.24);

    font-size:.41rem;
}

/* ==========================================================================
   IMPORTANT — CORRECTION DES ESPACES DANS LES COMMENTAIRES
   ========================================================================== */

.live-message p,
.live-chat-messages p {
    display:block !important;

    width:auto !important;

    max-width:100% !important;

    margin:
        4px 0
        0 !important;

    padding:0 !important;

    color:
        rgba(247,247,251,.71) !important;

    font-family:
        Inter,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif !important;

    font-size:.66rem !important;

    font-weight:400 !important;

    line-height:1.52 !important;

    letter-spacing:normal !important;

    word-spacing:normal !important;

    text-align:left !important;

    text-align-last:left !important;

    text-justify:auto !important;

    white-space:pre-wrap !important;

    overflow-wrap:anywhere !important;

    word-break:normal !important;

    hyphens:none !important;
}

/* ==========================================================================
   CHAT FORM
   ========================================================================== */

.live-chat-form {
    padding:11px;

    border-top:
        1px solid
        rgba(255,255,255,.05);

    background:
        rgba(7,7,10,.28);
}

/* ==========================================================================
   EMOJIS
   ========================================================================== */

.live-emoji-toolbar {
    display:flex;

    gap:4px;

    padding:
        0
        1px
        7px;

    overflow-x:auto;

    scrollbar-width:none;
}

.live-emoji-toolbar::-webkit-scrollbar {
    display:none;
}

.live-emoji-toolbar button {
    display:grid;

    place-items:center;

    flex:
        0 0 31px;

    width:31px;
    height:31px;

    padding:0;

    border:
        1px solid
        rgba(255,255,255,.05);

    border-radius:9px;

    background:
        rgba(255,255,255,.010);

    font-size:.92rem;

    cursor:pointer;

    transition:
        transform .17s ease,
        background .17s ease,
        border-color .17s ease;
}

.live-emoji-toolbar button:hover {
    transform:
        translateY(-2px)
        scale(1.08);

    border-color:
        rgba(139,67,168,.20);

    background:
        rgba(139,67,168,.055);
}

/* ==========================================================================
   COMPOSER
   ========================================================================== */

.live-compose {
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    gap:7px;

    align-items:end;
}

.live-compose textarea {
    width:100%;

    min-height:84px;
    max-height:170px;

    padding:
        11px;

    resize:none;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius:12px;

    outline:0;

    background:
        rgba(7,7,10,.50);

    color:white;

    font-family:
        Inter,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif;

    font-size:.64rem;

    line-height:1.5;

    letter-spacing:normal;

    word-spacing:normal;

    text-align:left;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.live-compose textarea:focus {
    border-color:
        rgba(18,180,214,.24);

    background:
        rgba(18,180,214,.012);

    box-shadow:
        0 0 0 4px
        rgba(18,180,214,.024);
}

.live-compose textarea::placeholder {
    color:
        rgba(247,247,251,.25);
}

/* ==========================================================================
   SEND BUTTON
   ========================================================================== */

.live-send-button {
    position:relative;

    display:grid;

    place-items:center;

    min-width:72px;
    min-height:46px;

    padding:
        0
        10px;

    overflow:hidden;

    border:0;

    border-radius:11px;

    background:var(--live-gradient);

    color:white;

    font-size:.54rem;

    font-weight:850;

    cursor:pointer;

    box-shadow:
        0 13px 33px
        rgba(139,67,168,.17);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.live-send-button::before {
    content:"";

    position:absolute;

    top:-160%;
    left:-60%;

    width:40%;
    height:420%;

    transform:rotate(25deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.22),
            transparent
        );

    transition:
        left .65s ease;
}

.live-send-button:hover {
    transform:translateY(-2px);

    box-shadow:
        0 18px 42px
        rgba(139,67,168,.24);
}

.live-send-button:hover::before {
    left:130%;
}

.live-send-button:disabled {
    opacity:.5;

    cursor:wait;

    transform:none;
}

/* ==========================================================================
   FORM FOOTER
   ========================================================================== */

.live-compose-footer {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:8px;

    margin-top:6px;

    color:
        rgba(247,247,251,.27);

    font-size:.40rem;
}

.live-compose-footer
[data-chat-status][data-type="success"] {
    color:#69DDEF;
}

.live-compose-footer
[data-chat-status][data-type="error"] {
    color:#FF938D;
}

.live-compose-footer strong {
    color:
        rgba(247,247,251,.50);
}

/* ==========================================================================
   LOGIN / DISABLED
   ========================================================================== */

.live-login {
    display:block;

    margin:12px;

    padding:12px;

    border:
        1px solid
        rgba(18,180,214,.10);

    border-radius:11px;

    background:
        rgba(18,180,214,.022);

    color:var(--live-cyan);

    font-size:.56rem;

    font-weight:800;

    text-decoration:none;
}

.live-chat-disabled {
    display:grid;

    place-items:center;
    align-content:center;

    min-height:330px;

    padding:30px;

    text-align:center;
}

.live-chat-disabled > span {
    color:var(--live-muted);

    font-size:2rem;
}

.live-chat-disabled strong {
    margin-top:9px;
}

.live-chat-disabled p {
    max-width:280px;

    color:var(--live-muted);

    font-size:.60rem;

    line-height:1.55;
}

/* ==========================================================================
   FLOATING REACTIONS
   ========================================================================== */

.live-floating-reactions {
    position:fixed;

    z-index:10000;

    right:30px;
    bottom:28px;

    width:100px;
    height:300px;

    pointer-events:none;
}

.live-floating-reactions span {
    --reaction-x:0px;

    position:absolute;

    right:20px;
    bottom:0;

    font-size:2rem;

    filter:
        drop-shadow(
            0 10px 20px
            rgba(0,0,0,.25)
        );

    animation:
        liveReactionFloat
        2s
        cubic-bezier(.2,.7,.2,1)
        forwards;
}

/* ==========================================================================
   PREMIUM REVEAL
   ========================================================================== */

.live-room.live-2028
.live-premium-reveal {
    opacity:0;

    transform:
        translateY(25px)
        scale(.99);

    transition:
        opacity .7s
        cubic-bezier(.2,.8,.2,1),
        transform .7s
        cubic-bezier(.2,.8,.2,1);
}

.live-room.live-2028
.live-premium-reveal.is-visible {
    opacity:1;

    transform:none;
}

/* ==========================================================================
   FULLSCREEN
   ========================================================================== */

.live-player-shell:fullscreen {
    width:100vw;
    height:100vh;

    border:0;
    border-radius:0;

    background:#000;
}

.live-player-shell:fullscreen
.live-player {
    height:
        calc(
            100vh
            -
            115px
        );
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes liveHeroLine {
    from {
        opacity:0;

        transform:scaleX(0);
    }

    to {
        opacity:1;

        transform:scaleX(1);
    }
}

@keyframes liveAmbientFloat {
    from {
        transform:
            translate3d(
                -20px,
                -12px,
                0
            )
            scale(.96);
    }

    to {
        transform:
            translate3d(
                25px,
                22px,
                0
            )
            scale(1.06);
    }
}

@keyframes livePulse {
    0%,
    100% {
        opacity:.55;

        transform:scale(.90);
    }

    50% {
        opacity:1;

        transform:scale(1.12);
    }
}

@keyframes liveRing {
    from {
        opacity:.70;

        transform:scale(.65);
    }

    to {
        opacity:0;

        transform:scale(1.16);
    }
}

@keyframes liveWave {
    from {
        opacity:.52;

        transform:scaleY(.45);
    }

    to {
        opacity:1;

        transform:scaleY(1.2);
    }
}

@keyframes liveMessageIn {
    from {
        opacity:0;

        transform:
            translateY(6px)
            scale(.988);
    }

    to {
        opacity:1;

        transform:none;
    }
}

@keyframes liveReactionFloat {
    0% {
        opacity:0;

        transform:
            translate3d(
                0,
                0,
                0
            )
            scale(.55);
    }

    15% {
        opacity:1;
    }

    100% {
        opacity:0;

        transform:
            translate3d(
                var(--reaction-x),
                -280px,
                0
            )
            rotate(13deg)
            scale(1.35);
    }
}

/* ==========================================================================
   1200
   ========================================================================== */

@media(max-width:1200px) {

    .live-room-grid {
        grid-template-columns:
            minmax(0,1fr)
            350px;
    }

    .live-room-header h1 {
        font-size:
            clamp(
                3rem,
                5.5vw,
                5rem
            );
    }

    .live-player {
        min-height:510px;
    }
}

/* ==========================================================================
   980
   ========================================================================== */

@media(max-width:980px) {

    .live-room-grid {
        grid-template-columns:1fr;
    }

    .live-chat {
        position:relative;

        top:auto;
    }

    .live-chat-messages {
        height:430px;
    }

    .live-player {
        min-height:
            min(
                58vw,
                630px
            );
    }
}

/* ==========================================================================
   760
   ========================================================================== */

@media(max-width:760px) {

    .live-room-shell {
        width:
            calc(100% - 28px);
    }

    .live-room-header {
        grid-template-columns:1fr;

        gap:22px;
    }

    .live-room-cover {
        width:160px;

        justify-self:start;
    }

    .live-room-header h1 {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4.8rem
            );
    }

    .live-countdown-grid {
        grid-template-columns:
            1fr
            1fr;
    }

    .live-player {
        min-height:
            min(
                62vw,
                500px
            );
    }

    .live-audio {
        grid-template-columns:1fr;
    }

    .live-audio-art {
        width:
            min(
                290px,
                70vw
            );

        justify-self:center;
    }

    .live-native-controls {
        grid-template-columns:
            auto
            minmax(0,1fr)
            auto;
    }

    .live-native-controls
    > button:last-child {
        display:none;
    }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media(max-width:540px) {

    .live-room-shell {
        width:
            calc(100% - 20px);

        padding-top:20px;
    }

    .live-room-header {
        padding-bottom:26px;
    }

    .live-room-cover {
        width:130px;

        border-radius:18px;
    }

    .live-player-shell,
    .live-chat {
        border-radius:18px;
    }

    .live-player {
        min-height:
            62vw;
    }

    .live-player-topbar {
        min-height:48px;

        padding:
            0
            10px;
    }

    .live-player-footer {
        min-height:54px;

        padding:
            8px
            10px;
    }

    .live-player-footer strong {
        max-width:210px;
    }

    .live-waiting {
        min-height:340px;

        padding:24px;
    }

    .live-reactions {
        align-items:flex-start;

        flex-direction:column;
    }

    .live-reaction-buttons {
        display:grid;

        grid-template-columns:
            repeat(
                4,
                1fr
            );

        width:100%;
    }

    .live-reaction-buttons button {
        min-width:0;
    }

    .live-chat-messages {
        min-height:300px;

        height:390px;
    }

    .live-compose {
        grid-template-columns:1fr;
    }

    .live-send-button {
        width:100%;

        min-height:42px;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media(prefers-reduced-motion:reduce) {

    .live-room *,
    .live-room *::before,
    .live-room *::after {
        animation:none !important;

        transition-duration:.001ms !important;
    }

    .live-room.live-2028
    .live-premium-reveal {
        opacity:1;

        transform:none;
    }
}