.lplc-shell,
.lplc-shell *{box-sizing:border-box}
.lplc-shell{
    --lplc-shell-bg:#fff;
    --lplc-teal:#204856;
    --lplc-teal-2:#2f5f66;
    --lplc-navy:#17366f;
    --lplc-text:#4f6370;
    --lplc-muted:#81919a;
    --lplc-border:#dbe4e7;
    --lplc-soft:#f7f9f9;
    --lplc-accent:#F8B861;
    --lplc-live:#ea3347;
    --lplc-like:#2f74ed;
    --lplc-love:#ef334e;
    --lplc-height:640px;
    --lplc-video-pct:69%;
    --lplc-chat-pct:31%;
    --lplc-gap:16px;
    --lplc-radius:26px;
    width:100%;
    height:var(--lplc-height);
    display:grid;
    grid-template-columns:minmax(0,var(--lplc-video-pct)) minmax(300px,1fr);
    gap:var(--lplc-gap);
    padding:18px;
    border:1px solid var(--lplc-border);
    border-radius:calc(var(--lplc-radius) + 6px);
    background:var(--lplc-shell-bg);
    box-shadow:0 20px 60px rgba(28,69,82,.12),0 3px 12px rgba(28,69,82,.06);
    font-family:Inter,Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--lplc-text);
    overflow:hidden;
}
.lplc-shell--player-only{grid-template-columns:1fr}
.lplc-player,.lplc-chat{height:100%;min-height:0}
.lplc-player{position:relative;overflow:hidden;border-radius:var(--lplc-radius);background:#0d171b;color:#fff;isolation:isolate}
.lplc-media,.lplc-youtube,.lplc-youtube iframe{position:absolute;inset:0;width:100%;height:100%}
.lplc-youtube iframe{border:0;display:block}
.lplc-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lplc-poster--loading{z-index:2;transition:opacity .35s ease}
.lplc-player.is-ready .lplc-poster--loading{opacity:0;pointer-events:none}
.lplc-player:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(180deg,rgba(5,18,22,.33) 0%,rgba(5,18,22,0) 28%,rgba(5,18,22,0) 54%,rgba(4,17,21,.56) 100%)}
.lplc-player-topbar{position:absolute;z-index:8;left:22px;right:22px;top:20px;display:flex;justify-content:space-between;gap:14px;pointer-events:none}
.lplc-player-topbar__left,.lplc-player-topbar__right{display:flex;align-items:center;gap:10px;min-width:0}
.lplc-status-pill,.lplc-location-pill,.lplc-viewers-pill,.lplc-featured-pill{height:39px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:700;font-size:12px;line-height:1;background:rgba(11,27,31,.76);border:1px solid rgba(255,255,255,.16);box-shadow:0 6px 18px rgba(0,0,0,.14);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.lplc-status-pill--live{background:#fff;color:var(--lplc-navy);border-color:#fff}
.lplc-status-pill--live i,.lplc-chat-live-dot,.lplc-control-live i{width:8px;height:8px;border-radius:50%;background:var(--lplc-live);box-shadow:0 0 0 4px rgba(234,51,71,.12)}
.lplc-status-pill--upcoming{background:rgba(243,163,70,.92);color:#1b3540;border-color:transparent}
.lplc-status-pill--replay{background:rgba(255,255,255,.92);color:#213f4b;border-color:transparent}
.lplc-location-pill svg,.lplc-viewers-pill svg,.lplc-featured-pill svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex:0 0 auto}
.lplc-featured-pill{color:#ffc760;border-color:rgba(255,199,96,.5)}
.lplc-featured-pill svg{fill:currentColor;stroke:none}
.lplc-player-bottom{position:absolute;z-index:8;left:22px;right:22px;bottom:88px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;pointer-events:none}
.lplc-player-meta,.lplc-engagement{pointer-events:auto;background:rgba(13,30,36,.72);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.lplc-player-meta{display:flex;align-items:center;gap:14px;min-width:280px;max-width:58%;padding:13px 17px;border-radius:18px}
.lplc-meta-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(32,72,86,.86);border:1px solid rgba(255,255,255,.18);flex:0 0 auto}
.lplc-meta-icon svg{width:24px;height:24px;fill:currentColor}
.lplc-meta-copy{min-width:0;display:block}
.lplc-meta-copy strong,.lplc-meta-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lplc-meta-copy strong{font-size:19px;line-height:1.25;font-weight:750;color:#fff}
.lplc-meta-copy small{margin-top:4px;font-size:12px;color:rgba(255,255,255,.76)}
.lplc-engagement{display:flex;align-items:center;border-radius:18px;overflow:hidden}
.lplc-engagement-button{height:58px;min-width:82px;padding:0 17px;border:0;border-right:1px solid rgba(255,255,255,.12);display:inline-flex;align-items:center;justify-content:center;gap:9px;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:650;cursor:pointer;transition:background .2s ease,transform .2s ease}
.lplc-engagement-button:last-child{border-right:0}
.lplc-engagement-button:hover{background:rgba(255,255,255,.08)}
.lplc-engagement-button:active{transform:scale(.97)}
.lplc-engagement-button[disabled]{opacity:.55;cursor:not-allowed}
.lplc-engagement-button svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;fill:none}
.lplc-engagement-button[data-lplc-reaction="like"] svg{fill:var(--lplc-like);stroke:var(--lplc-like)}
.lplc-engagement-button[data-lplc-reaction="love"] svg{fill:var(--lplc-love);stroke:var(--lplc-love)}
.lplc-engagement-button.is-active{background:rgba(255,255,255,.11)}
.lplc-controls{position:absolute;z-index:9;left:0;right:0;bottom:0;height:70px;padding:0 20px;display:flex;align-items:center;gap:13px;background:linear-gradient(180deg,rgba(9,26,31,.5),rgba(9,26,31,.96));border-top:1px solid rgba(255,255,255,.08)}
.lplc-control{width:38px;height:38px;border:0;border-radius:10px;padding:0;display:grid;place-items:center;color:#fff;background:transparent;cursor:pointer;transition:background .2s ease}
.lplc-control:hover{background:rgba(255,255,255,.09)}
.lplc-control svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9}
.lplc-control[data-lplc-play] svg{fill:currentColor;stroke:none}
.lplc-control--text{font-weight:800;border:1px solid rgba(255,255,255,.55);width:auto;height:28px;padding:0 7px;border-radius:6px}
.lplc-control-live{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:750;white-space:nowrap}
.lplc-progress{height:4px;flex:1;min-width:60px;border-radius:999px;background:rgba(255,255,255,.26);overflow:hidden;position:relative}
.lplc-progress span{display:block;width:82%;height:100%;background:var(--lplc-live);border-radius:inherit;box-shadow:0 0 12px rgba(234,51,71,.55);transition:width .3s linear}
.lplc-settings-menu{position:absolute;right:60px;bottom:59px;min-width:170px;padding:7px;background:#fff;border:1px solid var(--lplc-border);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.2);color:#203e49}
.lplc-settings-menu a,.lplc-settings-menu button{width:100%;display:block;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}
.lplc-settings-menu a:hover,.lplc-settings-menu button:hover{background:#f3f6f6}
.lplc-floating-reactions{position:absolute;z-index:8;top:118px;right:28px;bottom:160px;width:58px;pointer-events:none;overflow:visible}
.lplc-float-reaction{position:absolute;right:0;bottom:0;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 9px 22px rgba(0,0,0,.22);animation:lplcFloat 2.8s ease-out forwards}
.lplc-float-reaction svg{width:21px;height:21px;fill:#fff;stroke:#fff}
.lplc-float-reaction--like{background:var(--lplc-like)}
.lplc-float-reaction--love{background:var(--lplc-love)}
@keyframes lplcFloat{0%{opacity:0;transform:translate3d(0,12px,0) scale(.72)}15%{opacity:1}70%{opacity:1}100%{opacity:0;transform:translate3d(var(--drift,0px),-230px,0) scale(1.12)}}
.lplc-upcoming-screen{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:100px 30px 140px;background:linear-gradient(180deg,rgba(11,31,36,.48),rgba(11,31,36,.72));color:#fff}
.lplc-upcoming-kicker{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#ffc66b}
.lplc-upcoming-screen>strong{font-size:28px;max-width:650px;margin-top:10px}
.lplc-countdown{display:flex;gap:8px;margin-top:22px}
.lplc-countdown span{min-width:76px;padding:12px 10px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(10px)}
.lplc-countdown b,.lplc-countdown small{display:block}
.lplc-countdown b{font-size:24px;color:#fff}.lplc-countdown small{margin-top:2px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.7)}

.lplc-chat{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--lplc-border);border-radius:var(--lplc-radius);background:#fff;color:var(--lplc-text)}
.lplc-chat-header{min-height:70px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--lplc-teal);color:#fff;flex:0 0 auto}
.lplc-chat-header>div:first-child{display:flex;align-items:center;gap:9px;white-space:nowrap}.lplc-chat-header strong{font-size:20px;letter-spacing:-.02em}.lplc-chat-header__activity{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:11px;color:rgba(255,255,255,.86);text-align:right}.lplc-chat-header__activity b{font-weight:700}.lplc-chat-separator{opacity:.55}
.lplc-pinned{margin:13px 13px 0;padding:12px 14px;border:1px solid #d7e0e3;border-radius:14px;background:#fbfcfc;flex:0 0 auto}
.lplc-pinned__title{display:flex;align-items:center;gap:8px;color:#284a56;font-size:12px}.lplc-pinned__title svg{width:15px;height:15px;fill:currentColor}.lplc-pinned p{margin:7px 0 0;font-size:12px;line-height:1.45;color:#526770}
.lplc-messages{flex:1;min-height:0;overflow-y:auto;padding:10px 13px 14px;scrollbar-width:thin;scrollbar-color:#c9d4d7 transparent}
.lplc-message{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:10px 4px 12px;border-bottom:1px solid #edf1f2;}.lplc-message:last-child{border-bottom:0}
.lplc-message-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;background:#e8eff0;display:grid;place-items:center;color:#315560;font-weight:800;font-size:12px}.lplc-message-avatar img{width:100%;height:100%;object-fit:cover}
.lplc-message-body{min-width:0}.lplc-message-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.lplc-message-name{font-size:12px;font-weight:800;color:var(--lplc-navy)}.lplc-message-time{font-size:10px;color:#92a0a8}.lplc-mod-badge{padding:2px 5px;border-radius:4px;background:#2f74ed;color:#fff;font-size:9px;font-weight:800;line-height:1.2}
.lplc-message-text{margin:4px 0 0;font-size:12px;line-height:1.48;color:#435b66;white-space:pre-wrap;word-break:break-word}.lplc-message.is-tombstone .lplc-message-text{font-style:italic;color:#9aa6ac}
.lplc-reply-quote{margin:2px 0 6px;padding:6px 8px;border-left:2px solid #7fa5ae;border-radius:0 7px 7px 0;background:#f4f7f8;font-size:10px;color:#62777f}.lplc-reply-quote strong{display:block;color:#34535e;font-size:10px}.lplc-reply-quote span{display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lplc-message-actions{display:flex;align-items:center;gap:9px;margin-top:6px}.lplc-message-actions button{border:0;padding:0;background:transparent;color:#526b76;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.lplc-message-actions button:hover{color:var(--lplc-navy)}

.lplc-chat-loading{height:100%;display:flex;align-items:center;justify-content:center;gap:5px}.lplc-chat-loading span{width:7px;height:7px;border-radius:50%;background:#8aa2aa;animation:lplcPulse 1s infinite alternate}.lplc-chat-loading span:nth-child(2){animation-delay:.15s}.lplc-chat-loading span:nth-child(3){animation-delay:.3s}@keyframes lplcPulse{to{opacity:.25;transform:translateY(-3px)}}
.lplc-empty-chat{height:100%;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#87979e;padding:20px}.lplc-empty-chat strong{color:#4d6872;font-size:13px}.lplc-empty-chat p{font-size:11px;margin:4px 0 0}
.lplc-login-panel{margin:0 12px 12px;padding:14px;border:1px solid var(--lplc-border);border-radius:16px;background:#fbfcfc;display:grid;grid-template-columns:45px minmax(0,1fr);column-gap:11px;row-gap:10px;flex:0 0 auto}.lplc-login-lock{grid-row:1/3;width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #dce5e7;color:var(--lplc-teal)}.lplc-login-lock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.lplc-login-copy strong{display:block;color:#172f5f;font-size:13px}.lplc-login-copy p{margin:5px 0 0;font-size:10.5px;line-height:1.45;color:#657982}.lplc-login-actions{grid-column:2;display:flex;gap:7px}.lplc-primary-button,.lplc-secondary-button{min-height:36px;padding:0 15px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;font-size:11px;transition:transform .2s ease,filter .2s ease}.lplc-primary-button{background:var(--lplc-accent);color:#17354a}.lplc-primary-button:hover{filter:brightness(.97);transform:translateY(-1px)}.lplc-secondary-button{border:1px solid #d8e1e4;background:#fff;color:#274b58}
.lplc-readonly-panel{margin:0 12px 12px;padding:13px 14px;display:flex;align-items:flex-start;gap:11px;border:1px solid var(--lplc-border);border-radius:15px;background:#f8fafa;flex:0 0 auto}.lplc-readonly-panel>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#536f79;border:1px solid #dce5e7}.lplc-readonly-panel svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.lplc-readonly-panel strong{display:block;color:#294b56;font-size:12px}.lplc-readonly-panel p{margin:3px 0 0;font-size:10.5px;line-height:1.4;color:#70828a}
.lplc-composer-wrap{padding:0 12px 12px;border-top:1px solid #eef2f3;background:#fff;flex:0 0 auto}.lplc-reply-preview{margin-top:8px;padding:7px 9px;border-radius:9px;background:#f2f6f7;display:flex;align-items:center;justify-content:space-between;gap:10px}.lplc-reply-preview small,.lplc-reply-preview strong{display:block}.lplc-reply-preview small{font-size:9px;color:#83939a}.lplc-reply-preview strong{font-size:10px;color:#3b5964}.lplc-reply-preview button{border:0;background:transparent;font-size:20px;line-height:1;color:#647983;cursor:pointer}
.lplc-composer{position:relative;margin-top:10px;min-height:48px;border:1px solid #d5e0e3;border-radius:999px;background:#f9fbfb;display:flex;align-items:center;padding:4px 5px 4px 8px}.lplc-composer:focus-within{border-color:#8daeb6;box-shadow:0 0 0 3px rgba(32,72,86,.08)}.lplc-composer textarea{flex:1;min-width:0;max-height:90px;resize:none;border:0;outline:0;box-shadow:none;background:transparent;padding:9px 8px;font:inherit;font-size:11px;line-height:1.35;color:#38515b}.lplc-composer textarea::placeholder{color:#95a4aa}.lplc-emoji-toggle,.lplc-send{border:0;cursor:pointer;flex:0 0 auto}.lplc-emoji-toggle{width:30px;height:30px;border-radius:50%;background:transparent;color:#637b84;font-size:18px}.lplc-send{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--lplc-accent);color:#17354a}.lplc-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.lplc-send[disabled]{opacity:.5;cursor:wait}.lplc-emoji-picker{position:absolute;z-index:30;left:0;bottom:56px;width:190px;padding:8px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;border:1px solid var(--lplc-border);border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(31,68,80,.18)}.lplc-emoji-picker button{border:0;border-radius:7px;background:transparent;font-size:18px;cursor:pointer;padding:4px}.lplc-emoji-picker button:hover{background:#f1f5f5}.lplc-composer-status{min-height:14px;margin:5px 4px 0;font-size:9px;color:#7a8d94}.lplc-composer-status.is-error{color:#c83c4b}.lplc-composer-status.is-success{color:#2f7659}
.lplc-notice,.lplc-stream-gate{padding:30px;border:1px solid #dce5e7;border-radius:20px;background:#fff;color:#435f69;text-align:center}.lplc-shell--gate{display:flex;align-items:stretch}.lplc-stream-gate{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f9fbfb}.lplc-gate-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d8e2e4;color:var(--lplc-teal)}.lplc-gate-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8}.lplc-eyebrow{margin-top:14px;color:#788b93;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.lplc-stream-gate h3{margin:7px 0 0;color:var(--lplc-navy);font-size:24px}.lplc-stream-gate p{margin:7px 0 16px;font-size:13px;color:#6d8088}
@media(max-width:1024px){.lplc-shell{grid-template-columns:minmax(0,64%) minmax(300px,36%);padding:13px;--lplc-gap:12px}.lplc-player-topbar{left:16px;right:16px;top:15px}.lplc-featured-pill{display:none}.lplc-player-bottom{left:16px;right:16px}.lplc-player-meta{min-width:230px}.lplc-meta-copy strong{font-size:16px}.lplc-engagement-button{min-width:64px;padding:0 12px}.lplc-viewers-text{display:none}.lplc-chat-header{padding:0 15px}.lplc-chat-header__activity>span:first-child,.lplc-chat-separator{display:none}}
@media(max-width:767px){.lplc-shell{height:auto;display:flex;flex-direction:column;padding:8px;border-radius:20px;overflow:visible;gap:10px}.lplc-player{height:auto;aspect-ratio:16/10;border-radius:18px;min-height:320px}.lplc-chat{height:560px;max-height:70vh;border-radius:18px}.lplc-player-topbar{left:11px;right:11px;top:11px}.lplc-player-topbar__left,.lplc-player-topbar__right{gap:6px}.lplc-status-pill,.lplc-location-pill,.lplc-viewers-pill{height:32px;padding:0 10px;font-size:10px}.lplc-location-pill span{max-width:110px;overflow:hidden;text-overflow:ellipsis}.lplc-player-bottom{left:10px;right:10px;bottom:61px;gap:8px}.lplc-player-meta{min-width:0;max-width:58%;padding:9px 10px;border-radius:12px;gap:8px}.lplc-meta-icon{width:32px;height:32px}.lplc-meta-icon svg{width:18px;height:18px}.lplc-meta-copy strong{font-size:12px}.lplc-meta-copy small{font-size:9px}.lplc-engagement{border-radius:12px}.lplc-engagement-button{height:42px;min-width:46px;padding:0 9px;font-size:11px}.lplc-engagement-button svg{width:17px;height:17px}.lplc-share-button span{display:none}.lplc-controls{height:53px;padding:0 10px;gap:6px}.lplc-control{width:31px;height:31px}.lplc-control svg{width:18px;height:18px}.lplc-control-live{font-size:10px}.lplc-control--text{font-size:10px;width:auto;height:24px}.lplc-floating-reactions{top:80px;right:12px;bottom:125px}.lplc-float-reaction{width:31px;height:31px}.lplc-float-reaction svg{width:17px;height:17px}.lplc-upcoming-screen{padding:80px 18px 105px}.lplc-upcoming-screen>strong{font-size:20px}.lplc-countdown span{min-width:54px;padding:8px 6px}.lplc-countdown b{font-size:18px}.lplc-chat-header{min-height:61px}.lplc-chat-header strong{font-size:17px}}
@media(max-width:480px){.lplc-player{min-height:285px;aspect-ratio:1.35}.lplc-location-pill{display:none}.lplc-player-meta{max-width:54%}.lplc-meta-icon{display:none}.lplc-engagement-button{min-width:42px;padding:0 8px}.lplc-progress{min-width:30px}.lplc-control[data-lplc-hd]{display:none}.lplc-chat{height:520px;max-height:none}.lplc-login-panel{grid-template-columns:38px minmax(0,1fr);padding:11px}.lplc-login-lock{width:38px;height:38px}.lplc-login-actions{grid-column:1/-1}.lplc-primary-button,.lplc-secondary-button{flex:1}}

/* v1.0.1 — custom player + resilient chat */
.lplc-shell [hidden]{display:none}
.lplc-youtube iframe{pointer-events:none;user-select:none}
.lplc-player.is-ready .lplc-poster--loading{opacity:1;pointer-events:none}
.lplc-player.is-playing .lplc-poster--loading,.lplc-poster--loading.is-hidden{opacity:0;pointer-events:none}
.lplc-player:before{content:"";position:absolute;z-index:4;left:0;right:0;top:0;height:96px;pointer-events:none;background:linear-gradient(180deg,rgba(4,18,22,.74) 0%,rgba(4,18,22,.36) 52%,rgba(4,18,22,0) 100%)}
.lplc-player:after{z-index:4;background:linear-gradient(180deg,rgba(5,18,22,.18) 0%,rgba(5,18,22,0) 38%,rgba(5,18,22,0) 58%,rgba(4,17,21,.68) 100%)}
.lplc-player-topbar,.lplc-floating-reactions,.lplc-player-bottom,.lplc-controls{z-index:10}

.lplc-autoplay-gate{position:absolute;z-index:12;inset:0;display:grid;place-items:center;background:rgba(4,17,21,.16);backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}
.lplc-autoplay-gate button{min-width:152px;height:54px;padding:0 21px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(9,28,34,.86);box-shadow:0 15px 42px rgba(0,0,0,.28);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.lplc-autoplay-gate button svg{width:21px;height:21px;fill:currentColor;stroke:none}
.lplc-sound-notice{position:absolute;z-index:13;left:50%;top:78px;transform:translateX(-50%);height:36px;padding:0 13px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(10,31,37,.82);color:#fff;display:flex;align-items:center;gap:8px;font:inherit;font-size:10.5px;font-weight:750;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.lplc-sound-notice svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.lplc-player-error{position:absolute;z-index:14;left:50%;top:50%;transform:translate(-50%,-50%);max-width:420px;padding:16px 18px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(15,36,42,.94);color:#fff;text-align:center;font-size:13px;line-height:1.45;box-shadow:0 18px 50px rgba(0,0,0,.28)}

.lplc-controls{height:74px;padding:0 17px;gap:9px;background:linear-gradient(180deg,rgba(8,25,30,.44),rgba(8,25,30,.98) 45%);border-top:1px solid rgba(255,255,255,.09)}
.lplc-control{width:36px;height:36px;border-radius:10px}



.lplc-control-live{font-size:11px;gap:6px}
.lplc-control-live i{width:7px;height:7px}











.lplc-time-label{min-width:42px;text-align:center;color:rgba(255,255,255,.82);font-size:10px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
.lplc-go-live{height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.19);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:9px;font-weight:850;cursor:pointer;white-space:nowrap}
.lplc-go-live i{width:7px;height:7px;border-radius:50%;background:var(--lplc-live);box-shadow:0 0 0 4px rgba(234,51,71,.12)}
.lplc-settings-menu{right:54px;bottom:63px;min-width:184px;padding:8px;border-radius:14px}
.lplc-settings-menu>strong{display:block;padding:7px 10px 5px;color:#799096;font-size:9px;text-transform:uppercase;letter-spacing:.1em}

.lplc-chat{box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.lplc-chat-header{min-height:68px;padding:0 18px;background:linear-gradient(135deg,var(--lplc-teal),#2f5f66)}
.lplc-chat-header strong{font-size:19px;font-weight:800}
.lplc-chat-header__activity{gap:6px;font-size:10.5px}
.lplc-chat-connection{width:14px;height:14px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);margin-left:1px}
.lplc-chat-connection i{width:6px;height:6px;border-radius:50%;background:#e4ad56;box-shadow:0 0 0 3px rgba(228,173,86,.12)}
.lplc-chat-connection.is-connected i{background:#68c893;box-shadow:0 0 0 3px rgba(104,200,147,.13)}
.lplc-chat-connection.is-error i{background:#e85a68;box-shadow:0 0 0 3px rgba(232,90,104,.13)}
.lplc-pinned{margin:12px 12px 0;padding:12px 13px;border-color:#d7e3e6;background:linear-gradient(180deg,#fbfdfd,#f8fbfb);box-shadow:0 4px 13px rgba(31,72,86,.035)}
.lplc-pinned__title{font-size:11px;font-weight:800}
.lplc-pinned p{font-size:11.5px;line-height:1.5}
.lplc-messages{padding:10px 12px 13px}
.lplc-message{padding:8px 2px;column-gap:9px;}
.lplc-message-avatar{width:36px;height:36px}
.lplc-message-name{font-size:11.5px}
.lplc-message-text{font-size:11.5px;line-height:1.48}
.lplc-chat-error{gap:7px}
.lplc-chat-error button{margin-top:4px;min-width:84px;height:32px;padding:0 14px;border:1px solid #d5e0e3;border-radius:999px;background:#fff;color:var(--lplc-teal);font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.lplc-login-panel{margin:0 11px 11px;padding:13px;border-radius:15px;background:linear-gradient(180deg,#fcfdfd,#f7fafb);box-shadow:0 -7px 22px rgba(32,72,86,.04)}
.lplc-login-copy strong{font-size:12.5px}
.lplc-login-copy p{font-size:10px}
.lplc-primary-button{background:var(--lplc-accent);box-shadow:0 5px 13px rgba(243,163,70,.18)}
.lplc-composer-wrap{padding:9px 11px 11px;border-top:1px solid #edf2f3}
.lplc-composer{margin-top:0;background:#fbfcfc}

.lplc-player:fullscreen,.lplc-player:-webkit-full-screen{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0;background:#000}
.lplc-player:fullscreen .lplc-media,.lplc-player:-webkit-full-screen .lplc-media{inset:0}
.lplc-player:fullscreen .lplc-controls,.lplc-player:-webkit-full-screen .lplc-controls{height:82px;padding-left:24px;padding-right:24px}
.lplc-player:fullscreen .lplc-player-bottom,.lplc-player:-webkit-full-screen .lplc-player-bottom{bottom:98px}

@media(max-width:1024px){
    .lplc-time-label{display:none}
    
    .lplc-sound-notice{top:66px}
}
@media(max-width:767px){
    .lplc-controls{height:57px;padding:0 9px;gap:5px}
    
    .lplc-go-live{height:27px;padding:0 8px;font-size:8px}
    .lplc-sound-notice{top:56px;height:31px;font-size:9px}
    .lplc-autoplay-gate button{height:48px;min-width:135px;font-size:11px}
    .lplc-chat-header__activity>span:first-child,.lplc-chat-separator{display:none}
}
@media(max-width:480px){
    .lplc-go-live{font-size:0;width:28px;padding:0;justify-content:center}
    .lplc-go-live i{margin:0}
    .lplc-settings-menu{right:8px}
}

/* =========================================================
   v1.0.2 — LaunchPoint custom player + AJAX live chat refresh
   ========================================================= */
.lplc-shell{
    --lplc-shell-bg:#ffffff;
    --lplc-teal:#315b60;
    --lplc-teal-2:#426b6f;
    --lplc-navy:#173b83;
    --lplc-text:#4f616d;
    --lplc-muted:#8a989f;
    --lplc-border:#dce5e8;
    --lplc-soft:#f7f9fa;
    --lplc-accent:#F8B861;
    --lplc-live:#e7444f;
    --lplc-like:#367cf5;
    --lplc-love:#ee4253;
    font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    padding:12px;
    gap:12px;
    border-radius:24px;
    border-color:#e0e7ea;
    box-shadow:0 18px 50px rgba(22,63,77,.10),0 2px 8px rgba(22,63,77,.05);
}
.lplc-player,.lplc-chat{border-radius:18px}
.lplc-player{background:#071116}
.lplc-media,.lplc-youtube,.lplc-youtube iframe{overflow:hidden;border-radius:inherit}
.lplc-youtube iframe{pointer-events:none;user-select:none;-webkit-user-select:none;border:0}

/* Covers any native YouTube title / control chrome that the iframe may draw. */
.lplc-youtube-mask{position:absolute;left:0;right:0;z-index:6;pointer-events:none}
.lplc-youtube-mask--top{top:0;height:72px;background:linear-gradient(180deg,rgba(4,16,21,.94) 0%,rgba(4,16,21,.62) 48%,rgba(4,16,21,0) 100%)}
.lplc-youtube-mask--bottom{bottom:0;height:76px;background:linear-gradient(180deg,rgba(5,18,23,0) 0%,rgba(5,18,23,.82) 42%,rgba(5,18,23,.99) 100%)}
.lplc-player:before{height:64px;background:linear-gradient(180deg,rgba(4,16,21,.24),rgba(4,16,21,0));z-index:7}
.lplc-player:after{background:linear-gradient(180deg,rgba(5,18,22,.03),rgba(5,18,22,0) 68%,rgba(4,17,21,.14) 100%)}

/* Sleek top chrome */
.lplc-player-topbar{z-index:12;top:14px;left:14px;right:14px;gap:8px}
.lplc-player-topbar__left,.lplc-player-topbar__right{gap:7px}
.lplc-status-pill,.lplc-location-pill,.lplc-viewers-pill,.lplc-featured-pill{
    height:32px;padding:0 11px;border-radius:999px;font-size:10.5px;font-weight:800;
    background:rgba(8,26,31,.76);border:1px solid rgba(255,255,255,.14);box-shadow:none;
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)
}
.lplc-status-pill--live{background:#fff;color:var(--lplc-navy);border-color:#fff}
.lplc-status-pill--live i{width:7px;height:7px}
.lplc-location-pill svg,.lplc-viewers-pill svg,.lplc-featured-pill svg{width:14px;height:14px}
.lplc-featured-pill{background:rgba(22,28,25,.76);color:#ffc45f;border-color:rgba(255,196,95,.40)}

/* Reactions / share: compact, no large meta card over the video. */
.lplc-player-actions{
    position:absolute;z-index:13;right:14px;bottom:68px;display:flex;align-items:center;gap:6px;
    padding:5px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(7,24,29,.74);
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 8px 26px rgba(0,0,0,.17)
}
.lplc-action-button{
    height:36px;min-width:48px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:#fff;
    display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:11px;font-weight:800;cursor:pointer;
    transition:background .18s ease,transform .18s ease
}
.lplc-action-button:hover{background:rgba(255,255,255,.10)}
.lplc-action-button:active{transform:scale(.96)}
.lplc-action-button[disabled]{opacity:.45;cursor:not-allowed}
.lplc-action-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}
.lplc-action-button[data-lplc-reaction="like"] svg{fill:var(--lplc-like);stroke:var(--lplc-like)}
.lplc-action-button[data-lplc-reaction="love"] svg{fill:var(--lplc-love);stroke:var(--lplc-love)}
.lplc-action-button.is-active{background:rgba(255,255,255,.11)}
.lplc-action-button--share{min-width:42px}

/* Custom player controls */
.lplc-controls{
    z-index:14;height:58px;padding:0 12px;gap:7px;
    background:rgba(6,20,25,.97);border-top:1px solid rgba(255,255,255,.09);box-shadow:0 -10px 28px rgba(0,0,0,.10)
}
.lplc-control{width:32px;height:32px;border-radius:9px;color:#fff}
.lplc-control:hover{background:rgba(255,255,255,.10)}
.lplc-control svg{width:19px;height:19px}


.lplc-control-live{font-size:9.5px;font-weight:850;letter-spacing:.02em;gap:5px}
.lplc-control-live i{width:7px;height:7px;box-shadow:none}





.lplc-time-label{min-width:56px;font-size:9.5px;font-weight:800;color:rgba(255,255,255,.76)}
.lplc-go-live{height:27px;font-size:8.5px;font-weight:850;padding:0 8px}
.lplc-control--quality{width:auto;min-width:42px;height:28px;padding:0 8px;border:1px solid rgba(255,255,255,.30);border-radius:8px;font-size:8.5px;font-weight:900;letter-spacing:.02em}
.lplc-settings-menu{z-index:30;right:48px;bottom:50px;min-width:154px;padding:7px;border-radius:12px;background:#fff;border:1px solid #dbe4e7;box-shadow:0 14px 38px rgba(0,0,0,.22);color:#25454f}
.lplc-settings-menu>strong{padding:6px 8px 5px;font-size:8.5px;color:#829197}
.lplc-settings-menu button{padding:8px 9px;border-radius:8px;font-size:10.5px;font-weight:700}
.lplc-settings-menu button.is-active{background:#eef4f5;color:var(--lplc-teal);font-weight:850}
.lplc-quality-options{display:grid;gap:2px}

/* Floating reactions: smaller / lighter. */
.lplc-floating-reactions{z-index:11;top:74px;right:15px;bottom:112px;width:42px}
.lplc-float-reaction{width:31px;height:31px;box-shadow:0 7px 18px rgba(0,0,0,.17)}
.lplc-float-reaction svg{width:17px;height:17px}

/* Autoplay / sound */
.lplc-sound-notice{z-index:16;top:auto;bottom:68px;left:14px;transform:none;height:31px;padding:0 10px;font-size:9px;background:rgba(7,24,29,.80);box-shadow:none}
.lplc-autoplay-gate{z-index:18;background:rgba(4,17,21,.28)}
.lplc-autoplay-gate button{height:46px;min-width:135px;font-size:11px}

/* Chat */
.lplc-chat{border:1px solid var(--lplc-border);background:#fff;box-shadow:none}
.lplc-chat-header{min-height:58px;padding:0 15px;background:var(--lplc-teal);border-bottom:1px solid rgba(255,255,255,.10)}
.lplc-chat-header strong{font-size:17px;font-weight:850;letter-spacing:-.02em}
.lplc-chat-live-dot{width:7px;height:7px;box-shadow:none}
.lplc-chat-header__activity{font-size:9.5px;gap:5px;color:rgba(255,255,255,.82)}
.lplc-chat-connection{width:12px;height:12px;background:rgba(255,255,255,.10)}
.lplc-chat-connection i{width:5px;height:5px}
.lplc-pinned{margin:9px 9px 0;padding:9px 11px;border-radius:11px;border-color:#dce6e8;background:#fafcfc;box-shadow:none}
.lplc-pinned__title{font-size:9.5px;color:#315b60;font-weight:850}
.lplc-pinned__title svg{width:13px;height:13px}
.lplc-pinned p{margin-top:5px;font-size:10.5px;line-height:1.42;color:#61727a}

.lplc-messages-wrap{position:relative;display:flex;flex:1;min-height:0;overflow:hidden}
.lplc-messages{height:100%;width:100%;flex:1;min-height:0;overflow-y:auto;padding:8px 10px 12px;scroll-behavior:smooth;overscroll-behavior:contain}
.lplc-message{grid-template-columns:32px minmax(0,1fr) 22px;column-gap:8px;padding:7px 2px;border-radius:10px;}
.lplc-message:hover{background:#fafcfc;}
.lplc-message-avatar{width:32px;height:32px;font-size:10px;font-weight:800;border:1px solid rgba(49,91,96,.08)}
.lplc-message-name{font-size:10.5px;font-weight:850;color:#173b83}
.lplc-message-time{font-size:8.5px;color:#94a1a7}
.lplc-mod-badge{font-size:7px;padding:2px 4px;border-radius:4px}
.lplc-message-text{margin:3px 0 0;font-size:10.5px;line-height:1.42;color:#50636e}
.lplc-message-actions{margin-top:4px}
.lplc-message-actions button{font-size:8.5px;font-weight:800;color:#385762}



.lplc-reply-quote{padding:6px 8px;border-radius:8px;font-size:9px;background:#f5f8f8}
.lplc-new-messages{position:absolute;z-index:5;left:50%;bottom:9px;transform:translateX(-50%);height:30px;padding:0 13px;border:1px solid #d6e2e5;border-radius:999px;background:#fff;color:var(--lplc-teal);box-shadow:0 8px 22px rgba(31,72,86,.15);font:inherit;font-size:9.5px;font-weight:850;cursor:pointer}

.lplc-login-panel{margin:0 9px 9px;padding:11px;border-radius:12px;background:#fafcfc;border:1px solid #e0e8ea;box-shadow:none;grid-template-columns:40px minmax(0,1fr);gap:8px 10px}
.lplc-login-lock{width:40px;height:40px;background:#fff;border:1px solid #d7e3e6;color:var(--lplc-teal)}
.lplc-login-lock svg{width:18px;height:18px}
.lplc-login-copy strong{font-size:11.5px;font-weight:850;color:#173b83}
.lplc-login-copy p{margin-top:3px;font-size:9px;line-height:1.4;color:#74858d}
.lplc-login-actions{grid-column:1/-1;display:flex;gap:7px;margin-top:1px}
.lplc-primary-button,.lplc-secondary-button{min-height:34px;border-radius:9px;padding:0 13px;font-size:9.5px;font-weight:850;box-shadow:none}
.lplc-primary-button{background:var(--lplc-accent);color:#173b83}
.lplc-secondary-button{background:#fff;color:var(--lplc-teal);border:1px solid #d4e0e3}
.lplc-readonly-panel{margin:0 9px 9px;padding:10px;border-radius:11px;font-size:10px}
.lplc-composer-wrap{padding:8px 9px 9px;border-top:1px solid #edf2f3;background:#fff}
.lplc-composer{min-height:42px;border:1px solid #d9e3e6;border-radius:12px;background:#fafcfc;padding:4px 5px 4px 8px}
.lplc-composer:focus-within{border-color:#98b5bb;box-shadow:0 0 0 3px rgba(49,91,96,.08)}
.lplc-composer textarea{font-size:10.5px;line-height:1.4;color:#425761;padding:7px 3px}
.lplc-emoji-toggle{width:28px;height:28px;font-size:16px;color:#6a7d85}
.lplc-send{width:32px;height:32px;border-radius:9px;background:var(--lplc-accent);color:#173b83}
.lplc-send svg{width:16px;height:16px}
.lplc-composer-status{font-size:8.5px;margin:4px 3px 0}

/* Fullscreen stays custom: our masks / controls cover YouTube chrome. */
.lplc-player:fullscreen .lplc-player-actions,.lplc-player:-webkit-full-screen .lplc-player-actions{right:22px;bottom:82px}
.lplc-player:fullscreen .lplc-controls,.lplc-player:-webkit-full-screen .lplc-controls{height:68px;padding:0 22px}
.lplc-player:fullscreen .lplc-youtube-mask--bottom,.lplc-player:-webkit-full-screen .lplc-youtube-mask--bottom{height:90px}

@media(max-width:1024px){
    .lplc-shell{padding:9px;gap:9px}
    .lplc-featured-pill{display:none}
    .lplc-player-actions{right:10px;bottom:64px}
    .lplc-action-button{height:34px;min-width:43px;padding:0 8px}
    .lplc-action-share-text{display:none}
    .lplc-time-label{display:none}
}
@media(max-width:767px){
    .lplc-shell{padding:6px;gap:8px;border-radius:17px}
    .lplc-player,.lplc-chat{border-radius:14px}
    .lplc-player{min-height:300px;aspect-ratio:16/10}
    .lplc-chat{height:560px;max-height:72vh}
    .lplc-player-topbar{top:9px;left:9px;right:9px}
    .lplc-status-pill,.lplc-location-pill,.lplc-viewers-pill{height:29px;padding:0 8px;font-size:9px}
    .lplc-player-actions{right:8px;bottom:56px;padding:4px;gap:3px;border-radius:11px}
    .lplc-action-button{height:31px;min-width:38px;padding:0 7px;font-size:9.5px}
    .lplc-action-button svg{width:15px;height:15px}
    .lplc-controls{height:50px;padding:0 7px;gap:4px}
    .lplc-control{width:29px;height:29px}
    
    .lplc-control--quality{min-width:38px;width:auto;font-size:7.5px}
    .lplc-control-live{font-size:8px}
    
    .lplc-go-live{font-size:0;width:28px;padding:0;justify-content:center}
    .lplc-sound-notice{left:8px;bottom:57px;height:29px;font-size:8px}
    .lplc-floating-reactions{right:8px;top:58px;bottom:98px}
}
@media(max-width:480px){
    .lplc-location-pill{display:none}
    .lplc-viewers-text{display:none}
    .lplc-action-button--share{display:none}
    .lplc-player-actions{bottom:54px}
    .lplc-chat{height:520px;max-height:none}
    .lplc-chat-header__activity>span:first-child,.lplc-chat-separator{display:none}
    .lplc-login-panel{grid-template-columns:36px minmax(0,1fr)}
    .lplc-login-lock{width:36px;height:36px}
}


/* =========================================================
   v1.0.3 — hard-hide YouTube chrome + block native clicks
   ========================================================= */
/*
 * YouTube no longer exposes a supported parameter that removes every title /
 * channel / native chrome overlay. We therefore treat the iframe as a video
 * source only: it is overscanned behind the LaunchPoint viewport and a local
 * interaction shield owns all pointer input. This keeps YouTube links and
 * native overlays from ever becoming clickable.
 */
.lplc-player .lplc-media{
    z-index:1;
    overflow:hidden;
    background:#071116;
}
.lplc-player .lplc-youtube{
    position:absolute;
    z-index:1;
    left:50%;
    top:50%;
    right:auto;
    bottom:auto;
    width:120%;
    height:120%;
    transform:translate(-50%,-50%);
    overflow:hidden;
    pointer-events:none;
    border-radius:0;
}
.lplc-player .lplc-youtube iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    pointer-events:none;
    user-select:none;
    -webkit-user-select:none;
    border:0;
}
/* Transparent shield: all video-area clicks stay inside LaunchPoint. */
.lplc-youtube-interaction-shield{
    position:absolute;
    z-index:5;
    inset:0 0 58px 0;
    background:transparent;
    pointer-events:auto;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}
/*
 * Solid safe zones cover any remaining native title/control chrome while our
 * own controls remain above them. The fade keeps the player cinematic rather
 * than looking like a hard black rectangle.
 */
.lplc-youtube-mask{
    z-index:6;
    pointer-events:none;
}
.lplc-youtube-mask--top{
    top:0;
    height:92px;
    background:linear-gradient(180deg,rgba(7,17,22,.52) 0%,rgba(7,17,22,.34) 24%,rgba(7,17,22,.16) 52%,rgba(7,17,22,0) 100%);
}
.lplc-youtube-mask--bottom{
    bottom:0;
    height:90px;
    background:linear-gradient(180deg,rgba(7,17,22,0) 0%,rgba(7,17,22,.12) 38%,rgba(7,17,22,.34) 70%,rgba(7,17,22,.56) 100%);
}
/* Our UI always wins the stacking order. */
.lplc-player-topbar{z-index:15}
.lplc-floating-reactions{z-index:12}
.lplc-player-actions{z-index:16}
.lplc-sound-notice{z-index:17}
.lplc-autoplay-gate{z-index:18}
.lplc-player-error{z-index:19}
.lplc-controls{z-index:20}
.lplc-settings-menu{z-index:30}

/* In fullscreen the iframe is overscanned a touch more to prevent YouTube
   chrome from peeking around desktop safe areas. */
.lplc-player:fullscreen .lplc-youtube,
.lplc-player:-webkit-full-screen .lplc-youtube{
    width:124%;
    height:124%;
}
.lplc-player:fullscreen .lplc-youtube-interaction-shield,
.lplc-player:-webkit-full-screen .lplc-youtube-interaction-shield{
    inset:0 0 68px 0;
}
.lplc-player:fullscreen .lplc-youtube-mask--top,
.lplc-player:-webkit-full-screen .lplc-youtube-mask--top{height:82px}
.lplc-player:fullscreen .lplc-youtube-mask--bottom,
.lplc-player:-webkit-full-screen .lplc-youtube-mask--bottom{height:78px}

@media(max-width:767px){
    .lplc-player .lplc-youtube{width:124%;height:124%}
    .lplc-youtube-mask--top{height:58px;background:linear-gradient(180deg,rgba(7,17,22,.44) 0%,rgba(7,17,22,.22) 42%,rgba(7,17,22,0) 100%)}
    .lplc-youtube-mask--bottom{height:58px;background:linear-gradient(180deg,rgba(7,17,22,0) 0%,rgba(7,17,22,.18) 50%,rgba(7,17,22,.48) 100%)}
    .lplc-youtube-interaction-shield{inset:0 0 50px 0}
}

/* =========================================================
   v1.0.4 — robust DVR timeline + live AJAX chat polish
   ========================================================= */
.lplc-quality-auto{
    height:28px;min-width:42px;padding:0 8px;border:1px solid rgba(255,255,255,.22);
    border-radius:8px;display:inline-flex;align-items:center;justify-content:center;
    color:rgba(255,255,255,.72);font-size:8.5px;font-weight:900;letter-spacing:.05em;
    user-select:none;cursor:help;background:rgba(255,255,255,.04)
}

/* Timeline now behaves like a real scrubber. The native range owns mouse,
   touch and keyboard dragging; visual layers never intercept interaction. */








.lplc-time-label{font-variant-numeric:tabular-nums;letter-spacing:.01em}
.lplc-go-live{transition:background .15s ease,transform .15s ease}
.lplc-go-live:active{transform:scale(.96)}

/* Chat: smooth incremental inserts, clearer reading rhythm, no hard jumps. */
.lplc-messages{scroll-behavior:smooth;overflow-anchor:none;padding-top:10px;padding-bottom:14px}
.lplc-message{
    opacity:1;transition:opacity .2s ease,transform .2s ease,background .16s ease;
    }
.lplc-message.is-entering{opacity:0;transform:translateY(8px)}
.lplc-message-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.lplc-message-name{font-size:11px;line-height:1.2}
.lplc-message-time{font-variant-numeric:tabular-nums}
.lplc-message-text{font-size:11px;line-height:1.48;word-break:break-word}
.lplc-message-actions button{min-height:24px;padding:2px 0;background:none;border:0;cursor:pointer}
.lplc-chat-connection.is-connected{background:rgba(121,211,162,.16)}
.lplc-chat-connection.is-connected i{background:#7bd39f;box-shadow:0 0 0 3px rgba(123,211,159,.12)}
.lplc-chat-connection.is-error{background:rgba(234,51,71,.12)}
.lplc-chat-connection.is-error i{background:var(--lplc-live)}
.lplc-chat-loading{min-height:70px;display:flex;align-items:center;justify-content:center;gap:5px}
.lplc-chat-loading span{width:6px;height:6px;border-radius:50%;background:#9fb1b8;animation:lplcChatPulse .9s ease-in-out infinite}
.lplc-chat-loading span:nth-child(2){animation-delay:.12s}.lplc-chat-loading span:nth-child(3){animation-delay:.24s}
@keyframes lplcChatPulse{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
.lplc-new-messages{animation:lplcNewMessageBtn .18s ease-out both}
@keyframes lplcNewMessageBtn{from{opacity:0;transform:translate(-50%,7px)}to{opacity:1;transform:translate(-50%,0)}}
.lplc-composer textarea{resize:none}
.lplc-send:disabled{opacity:.55;cursor:wait}

@media(max-width:767px){
    .lplc-quality-auto{min-width:36px;height:26px;font-size:7.5px;padding:0 6px}
    
    
}

@media(prefers-reduced-motion:reduce){
    .lplc-message,.lplc-new-messages,.lplc-chat-loading span,.lplc-timeline input[type="range"]::-webkit-slider-thumb{animation:none;transition:none;}
    .lplc-messages{scroll-behavior:auto}
}

/* =========================================================
   v1.0.5 — modern engagement, share sheet, compact social chat
   ========================================================= */
.lplc-shell{position:relative;transition:grid-template-columns .24s ease,gap .24s ease}
.lplc-shell--chat-collapsed{grid-template-columns:minmax(0,1fr) 0;gap:0}
.lplc-shell--chat-collapsed .lplc-chat{display:none}

/* Player reactions are intentionally small and out of the content path. */
.lplc-player-actions{
    right:12px;bottom:67px;padding:3px;gap:2px;border-radius:999px;
    background:rgba(5,18,23,.72);border:1px solid rgba(255,255,255,.10);
    box-shadow:0 8px 24px rgba(0,0,0,.14);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)
}
.lplc-action-button{
    height:32px;min-width:42px;padding:0 9px;border-radius:999px;gap:5px;
    font-size:10px;font-weight:850;color:rgba(255,255,255,.92)
}
.lplc-action-button svg{width:15px;height:15px}
.lplc-action-button[data-lplc-reaction="like"] svg{fill:#fff;stroke:#fff}
.lplc-action-button[data-lplc-reaction="love"] svg{fill:#fff;stroke:#fff}
.lplc-action-button[data-lplc-reaction="like"].is-active{background:#2f74ed;color:#fff}
.lplc-action-button[data-lplc-reaction="love"].is-active{background:#ef334e;color:#fff}
.lplc-action-button:not(.is-active):hover{background:rgba(255,255,255,.12)}

/* Share and chat live in the actual player control strip now. */
.lplc-control--share,.lplc-control--chat{position:relative}
.lplc-control--share:hover,.lplc-control--chat:hover,.lplc-control--chat.is-active{background:rgba(255,255,255,.12)}
.lplc-control--share svg,.lplc-control--chat svg{width:18px;height:18px}
.lplc-control--chat svg{fill:none;stroke:currentColor;stroke-width:1.8}

/* YouTube-like share sheet. */
.lplc-share-sheet{position:absolute;z-index:80;inset:0;display:grid;place-items:center;padding:18px}
.lplc-share-backdrop{position:absolute;inset:0;border:0;background:rgba(3,13,17,.66);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);cursor:default}
.lplc-share-dialog{
    position:relative;z-index:1;width:min(620px,calc(100% - 20px));max-height:calc(100% - 24px);overflow:auto;
    padding:18px;border-radius:18px;background:#fff;color:#17366f;border:1px solid #dbe4e7;
    box-shadow:0 24px 70px rgba(0,0,0,.30);opacity:0;transform:translateY(8px) scale(.985);
    transition:opacity .14s ease,transform .14s ease
}
.lplc-share-dialog.is-open{opacity:1;transform:none}
.lplc-share-dialog__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}
.lplc-share-dialog__header>div{min-width:0}.lplc-share-dialog__header small{display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#81919a}.lplc-share-dialog__header strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;line-height:1.25;color:#17366f}
.lplc-share-dialog__header button{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:#f4f7f8;color:#526a73;cursor:pointer}.lplc-share-dialog__header button:hover{background:#eaf0f2}.lplc-share-dialog__header svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9}
.lplc-share-platforms{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.lplc-share-platform{min-width:0;border:0;background:transparent;padding:4px 1px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#4f6370;font:inherit;cursor:pointer}
.lplc-share-platform>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#f3f6f7;color:#315b60;transition:transform .15s ease,box-shadow .15s ease}.lplc-share-platform:hover>span{transform:translateY(-2px);box-shadow:0 8px 18px rgba(28,69,82,.13)}
.lplc-share-platform svg{width:22px;height:22px;fill:currentColor;stroke:currentColor;stroke-width:1.6}.lplc-share-platform small{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:800}
.lplc-share-platform--facebook>span{background:#eaf1ff;color:#1877f2}.lplc-share-platform--x>span{background:#edf0f1;color:#111}.lplc-share-platform--whatsapp>span{background:#e9fbf0;color:#18a957}.lplc-share-platform--telegram>span{background:#eaf7fd;color:#229ed9}.lplc-share-platform--instagram>span{background:#fff0f7;color:#d62976}.lplc-share-platform--reddit>span{background:#fff0ea;color:#ff4500}.lplc-share-platform--linkedin>span{background:#edf6fb;color:#0a66c2}.lplc-share-platform--email>span,.lplc-share-platform--more>span{background:#eef4f5;color:#315b60}
.lplc-share-link-row{margin-top:18px;padding:5px 5px 5px 12px;display:flex;align-items:center;gap:8px;border:1px solid #dbe4e7;border-radius:12px;background:#f8fafb}.lplc-share-link-row input{flex:1;min-width:0;border:0;outline:0;box-shadow:none;background:transparent;color:#657982;font:inherit;font-size:10.5px;padding:8px 0}.lplc-share-link-row button{height:34px;padding:0 12px;border:0;border-radius:9px;display:inline-flex;align-items:center;gap:6px;background:#315b60;color:#fff;font:inherit;font-size:9.5px;font-weight:850;cursor:pointer}.lplc-share-link-row button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.lplc-share-status{min-height:14px;margin:6px 2px 0;color:#70838b;font-size:9px;text-align:right}

/* Compact, modern live-chat chrome. */
.lplc-chat{background:#fff;border-color:#dfe7e9}
.lplc-chat-header{min-height:52px;padding:0 10px 0 13px}
.lplc-chat-header strong{font-size:15px;font-weight:900}
.lplc-chat-header__activity{gap:5px;font-size:8.5px;white-space:nowrap}
.lplc-chat-audience{max-width:88px;overflow:hidden;text-overflow:ellipsis}
.lplc-chat-collapse{width:30px;height:30px;margin-left:2px;border:0;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.09);color:#fff;cursor:pointer;transition:background .15s ease}.lplc-chat-collapse:hover{background:rgba(255,255,255,.16)}.lplc-chat-collapse svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.lplc-pinned{margin:7px 8px 3px;padding:8px 9px;border-radius:9px;background:#f8fafb}
.lplc-pinned__title{font-size:9px}.lplc-pinned p{margin-top:3px;font-size:9.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lplc-messages{padding:4px 7px 8px;scroll-padding:50px 0}
.lplc-message{grid-template-columns:28px minmax(0,1fr) 20px;column-gap:7px;padding:5px 3px;border-radius:8px;transition:background .14s ease,opacity .18s ease,transform .18s ease;}
.lplc-message:hover{background:#f8fafb;}.lplc-message.is-highlighted{background:#edf5f6;box-shadow:inset 3px 0 #315b60}
.lplc-message-avatar{width:28px;height:28px;font-size:9px;border:0;background:#edf3f4}
.lplc-message-head{min-height:16px;display:flex;align-items:center;gap:5px;min-width:0}
.lplc-message-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.15;font-weight:900;color:#17366f}
.lplc-message-time{font-size:7.5px;line-height:1;color:#9aa6ab;margin-left:1px}
.lplc-mod-badge{padding:1px 4px;border-radius:4px;font-size:6.5px;line-height:1.4;background:#367cf5;color:#fff}
.lplc-message-text{margin:1px 0 0;font-size:10px;line-height:1.38;color:#4d606b}

.lplc-reply-quote{width:100%;margin:2px 0 3px;padding:4px 7px;border:0;border-left:2px solid #a8bcc1;border-radius:3px 6px 6px 3px;background:#f5f8f8;text-align:left;color:#60737c;cursor:pointer;display:flex;align-items:center;gap:5px;min-width:0}
.lplc-reply-quote>span{flex:0 0 auto;font-size:8px;color:#315b60}.lplc-reply-quote em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:8.5px;color:#7b8c93}.lplc-reply-quote:hover{background:#eef4f5}
.lplc-message-actions{margin-top:2px;display:flex;align-items:center;gap:2px;min-height:22px}
.lplc-message-action{height:22px;min-width:22px;padding:0 5px;border:0;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:3px;background:transparent;color:#6f8189;font-size:7.5px;font-weight:850;line-height:1;cursor:pointer}
.lplc-message-action:hover{background:#edf3f4;color:#315b60}.lplc-message-action svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}.lplc-message-action--reply{padding-left:2px}
.lplc-message-react.is-active[data-lplc-message-reaction="like"]{background:#edf3ff;color:#2f74ed}.lplc-message-react.is-active[data-lplc-message-reaction="dislike"]{background:#f1f3f4;color:#344c56}.lplc-message-react[disabled]{opacity:.5;cursor:wait}
.lplc-message-reply-count{margin-left:2px;font-size:7.5px;font-weight:800;color:#91a0a6;white-space:nowrap}

.lplc-new-messages{bottom:7px;height:27px;padding:0 11px;font-size:8.5px}

/* Reply composer now shows actual context instead of only a name. */
.lplc-composer-wrap{padding:6px 8px 8px}
.lplc-reply-preview{margin:0 0 5px;padding:6px 8px;border-radius:8px;background:#f1f5f6}.lplc-reply-preview>span{min-width:0}.lplc-reply-preview small{font-size:7.5px;color:#71858d}.lplc-reply-preview small strong{display:inline;color:#315b60;font-size:7.5px}.lplc-reply-preview em{display:block;max-width:100%;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:8.5px;color:#536a74}.lplc-reply-preview button{font-size:17px}
.lplc-composer{margin-top:0;min-height:40px;padding:3px 4px 3px 6px;border-radius:11px}.lplc-composer textarea{font-size:10px;padding:7px 4px}.lplc-emoji-toggle{width:27px;height:27px;font-size:15px}.lplc-send{width:31px;height:31px;border-radius:8px}.lplc-send svg{width:14px;height:14px}.lplc-composer-status{margin:3px 2px 0;font-size:7.5px}
.lplc-login-panel{margin:0 8px 8px;padding:9px;grid-template-columns:34px minmax(0,1fr);gap:6px 8px;border-radius:10px}.lplc-login-lock{width:34px;height:34px}.lplc-login-copy strong{font-size:10.5px}.lplc-login-copy p{font-size:8.5px;line-height:1.35}.lplc-login-actions{gap:5px}.lplc-primary-button,.lplc-secondary-button{min-height:31px;padding:0 10px;border-radius:8px;font-size:8.5px}.lplc-login-panel.is-attention{animation:lplcLoginAttention .85s ease}@keyframes lplcLoginAttention{0%,100%{box-shadow:none}40%{box-shadow:0 0 0 4px rgba(243,163,70,.22)}}

@media(max-width:1024px){
    .lplc-share-platforms{grid-template-columns:repeat(5,minmax(64px,1fr));overflow-x:auto;padding-bottom:4px}
    .lplc-share-platform{min-width:64px}
}
@media(max-width:767px){
    .lplc-shell--chat-collapsed{display:flex}.lplc-shell--chat-collapsed .lplc-player{width:100%}
    .lplc-player-actions{right:7px;bottom:55px}.lplc-action-button{height:29px;min-width:36px;padding:0 7px;font-size:8.5px}
    .lplc-share-sheet{padding:8px}.lplc-share-dialog{width:calc(100% - 8px);padding:14px;border-radius:14px}.lplc-share-platforms{grid-template-columns:repeat(4,minmax(58px,1fr));gap:8px;overflow:visible}.lplc-share-platform>span{width:43px;height:43px}.lplc-share-platform svg{width:20px;height:20px}
    .lplc-chat-header{min-height:48px}.lplc-chat-header strong{font-size:14px}.lplc-chat-collapse{width:28px;height:28px}.lplc-chat-audience{display:none}
}
@media(max-width:480px){
    .lplc-share-platforms{grid-template-columns:repeat(4,1fr)}.lplc-share-dialog__header strong{font-size:15px}.lplc-share-link-row{margin-top:13px}
    .lplc-quality-auto{display:none}.lplc-control--share,.lplc-control--chat{display:grid}
    .lplc-message-name{max-width:105px}.lplc-message-reply-count{display:none}
}
@media(prefers-reduced-motion:reduce){.lplc-share-dialog,.lplc-shell,.lplc-message{transition:none;}}
.lplc-share-platform svg{fill:none;stroke:currentColor;stroke-width:1.8}
.lplc-share-platform--facebook svg,.lplc-share-platform--x svg,.lplc-share-platform--whatsapp svg,.lplc-share-platform--telegram svg,.lplc-share-platform--linkedin svg,.lplc-share-platform--more svg{fill:currentColor;stroke:none}

/* =========================================================
   v1.0.6 — Interaction color lock
   Never inherit Elementor/theme accent states inside LPLC.
   ========================================================= */
.lplc-shell,
.lplc-shell *{-webkit-tap-highlight-color:transparent}
.lplc-shell{accent-color:var(--lplc-teal)}
.lplc-shell button,
.lplc-shell a,
.lplc-shell input,
.lplc-shell textarea,
.lplc-shell select,
.lplc-shell [role="button"],
.lplc-share-modal button,
.lplc-share-modal a,
.lplc-share-modal input{caret-color:var(--lplc-teal);text-decoration-color:currentColor}
.lplc-shell button:focus,
.lplc-shell button:focus-visible,
.lplc-shell a:focus,
.lplc-shell a:focus-visible,
.lplc-shell input:focus,
.lplc-shell input:focus-visible,
.lplc-shell textarea:focus,
.lplc-shell textarea:focus-visible,
.lplc-shell select:focus,
.lplc-shell select:focus-visible,
.lplc-shell [role="button"]:focus,
.lplc-shell [role="button"]:focus-visible,
.lplc-share-modal button:focus,
.lplc-share-modal button:focus-visible,
.lplc-share-modal a:focus,
.lplc-share-modal a:focus-visible,
.lplc-share-modal input:focus,
.lplc-share-modal input:focus-visible{outline:2px solid var(--lplc-teal);outline-offset:2px;box-shadow:0 0 0 3px rgba(49,91,96,.16)}
.lplc-player .lplc-control:focus,
.lplc-player .lplc-control:focus-visible,
.lplc-player .lplc-action-button:focus,
.lplc-player .lplc-action-button:focus-visible,
.lplc-player .lplc-engagement-button:focus,
.lplc-player .lplc-engagement-button:focus-visible,
.lplc-player .lplc-go-live:focus,
.lplc-player .lplc-go-live:focus-visible{outline:2px solid rgba(255,255,255,.96);outline-offset:2px;box-shadow:0 0 0 4px rgba(49,91,96,.42)}
.lplc-shell button:active,
.lplc-shell a:active,
.lplc-shell [role="button"]:active{outline-color:var(--lplc-teal)}
.lplc-shell a:link,
.lplc-shell a:visited{text-decoration-color:currentColor}
.lplc-primary-button,
.lplc-primary-button:hover,
.lplc-primary-button:focus,
.lplc-primary-button:focus-visible,
.lplc-primary-button:active,
.lplc-send,
.lplc-send:hover,
.lplc-send:focus,
.lplc-send:focus-visible,
.lplc-send:active{background-color:var(--lplc-accent);color:var(--lplc-navy);border-color:transparent}
.lplc-secondary-button,
.lplc-secondary-button:hover,
.lplc-secondary-button:focus,
.lplc-secondary-button:focus-visible,
.lplc-secondary-button:active{background:#fff;color:var(--lplc-teal);border-color:#d4e0e3}
.lplc-message-actions button:hover,
.lplc-message-actions button:focus,
.lplc-message-actions button:focus-visible,
.lplc-message-actions button:active{color:var(--lplc-navy)}


.lplc-composer:focus-within{border-color:#98b5bb;box-shadow:0 0 0 3px rgba(49,91,96,.12)}
.lplc-composer textarea:focus,
.lplc-composer textarea:focus-visible,
.lplc-share-link-row input:focus,
.lplc-share-link-row input:focus-visible{outline:0;box-shadow:none;border-color:transparent}


.lplc-share-link-row button,
.lplc-share-link-row button:hover,
.lplc-share-link-row button:focus,
.lplc-share-link-row button:focus-visible,
.lplc-share-link-row button:active{background:#315b60;color:#fff}


/* =========================================================
   v1.0.7 — compact live chat, collapsed reply threads, emoji popover
   ========================================================= */
.lplc-chat{--lplc-chat-text:#243b45;--lplc-chat-muted:#7d9098;--lplc-chat-soft:#f5f8f8;--lplc-chat-line:#e4ebed}
.lplc-chat-header{min-height:48px;padding:0 9px 0 12px}
.lplc-chat-header strong{font-size:14px;letter-spacing:-.015em}
.lplc-chat-header__activity{font-size:8px;gap:4px}
.lplc-pinned{margin:7px 8px 4px;padding:7px 9px;border-radius:9px;background:#f6f9f9;border-color:#e2eaec}
.lplc-pinned__title{gap:5px;font-size:8.5px}.lplc-pinned__title svg{width:12px;height:12px}.lplc-pinned p{margin:3px 0 0;font-size:9.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lplc-messages{padding:4px 6px 8px;scroll-behavior:smooth;overflow-anchor:none}
.lplc-message{grid-template-columns:27px minmax(0,1fr) 18px;column-gap:7px;padding:5px 3px;border-radius:7px;align-items:start;}
.lplc-message:hover{background:#f8fafb;}.lplc-message.is-entering{animation:lplcCompactEnter .18s ease-out both}
@keyframes lplcCompactEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.lplc-message-avatar{width:27px;height:27px;font-size:8px;background:#edf3f4}
.lplc-message-head{gap:4px;min-height:14px}.lplc-message-name{font-size:10px;line-height:1.15;font-weight:850;color:var(--lplc-navy)}.lplc-message-time{font-size:7.5px;color:#99a6ab}
.lplc-mod-badge{font-size:6.5px;line-height:13px;height:13px;padding:0 4px;border-radius:4px;background:#eaf0ff;color:#315dc7}
.lplc-message-text{margin:1px 0 0;font-size:10px;line-height:1.36;color:#4b606a}
.lplc-message-actions{margin-top:2px;gap:1px;min-height:21px;flex-wrap:wrap}
.lplc-message-action{height:21px;min-width:21px;padding:0 4px;gap:2px;border-radius:6px;font-size:7.5px;color:#71838a}
.lplc-message-action svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.85}.lplc-message-react svg path,.lplc-message-react svg rect{fill:none}
.lplc-message-action:hover{background:#edf3f4;color:var(--lplc-teal)}.lplc-message-react.is-active[data-lplc-message-reaction="like"]{background:#edf4ff;color:#2f74ed}.lplc-message-react.is-active[data-lplc-message-reaction="dislike"]{background:#eef2f3;color:#344c56}
.lplc-thread-toggle{height:21px;padding:0 5px;border:0;border-radius:6px;background:transparent;color:var(--lplc-teal);font:inherit;font-size:7.5px;font-weight:850;cursor:pointer}.lplc-thread-toggle:hover{background:#edf4f4}

.lplc-thread{margin:3px 0 1px 1px;padding:2px 0 1px 8px;border-left:1px solid #d8e3e5}
.lplc-thread-list{display:grid;gap:0}.lplc-message--reply{grid-template-columns:22px minmax(0,1fr) 16px;padding:4px 1px;background:transparent}.lplc-message--reply .lplc-message-avatar{width:22px;height:22px;font-size:7px}.lplc-message--reply .lplc-message-name{font-size:9px}.lplc-message--reply .lplc-message-text{font-size:9px;line-height:1.34}.lplc-message--reply .lplc-message-actions{min-height:19px}.lplc-message--reply .lplc-message-action{height:19px;min-width:19px;font-size:7px}.lplc-message--reply .lplc-message-action svg{width:10px;height:10px}
.lplc-thread-loading{height:28px;display:flex;align-items:center;gap:4px;padding-left:4px}.lplc-thread-loading span{width:4px;height:4px;border-radius:50%;background:#91a6ad;animation:lplcChatPulse .9s ease-in-out infinite}.lplc-thread-loading span:nth-child(2){animation-delay:.12s}.lplc-thread-loading span:nth-child(3){animation-delay:.24s}.lplc-thread-error{padding:5px 3px;font-size:8px;color:#74878e}.lplc-thread-error button{border:0;background:none;color:var(--lplc-teal);font:inherit;font-weight:850;cursor:pointer}
.lplc-composer-wrap{position:relative;padding:5px 7px 7px;border-top:1px solid var(--lplc-chat-line);background:#fff}.lplc-composer{position:relative;min-height:38px;padding:3px 4px;border:1px solid #dbe5e7;border-radius:12px;background:#f8fafb;box-shadow:none}.lplc-composer:focus-within{border-color:#9bb8bd;box-shadow:0 0 0 2px rgba(49,91,96,.10)}.lplc-composer textarea{min-height:30px;max-height:76px;padding:6px 3px;font-size:10px;line-height:1.45;color:#314b56}.lplc-composer textarea::placeholder{color:#92a0a6}
.lplc-emoji-toggle{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#627b84}.lplc-emoji-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.lplc-emoji-toggle:hover,.lplc-emoji-toggle[aria-expanded="true"]{background:#eaf1f2;color:var(--lplc-teal)}
.lplc-send{width:31px;height:31px;border-radius:9px;background:var(--lplc-orange);color:#132e3a;box-shadow:none}.lplc-send svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.lplc-send:disabled{opacity:.38;cursor:not-allowed;filter:none}
.lplc-emoji-picker{position:absolute;z-index:80;left:7px;bottom:51px;width:min(250px,calc(100% - 14px));padding:7px;border:1px solid #dce6e8;border-radius:13px;background:#fff;box-shadow:0 14px 36px rgba(22,56,68,.16)}.lplc-emoji-picker__head{display:flex;align-items:center;justify-content:space-between;padding:0 2px 6px}.lplc-emoji-picker__head strong{font-size:9px;color:#38535d}.lplc-emoji-picker__head button{width:24px;height:24px;border:0;border-radius:7px;background:transparent;color:#778990;display:grid;place-items:center;cursor:pointer}.lplc-emoji-picker__head button:hover{background:#eef3f4;color:var(--lplc-teal)}.lplc-emoji-picker__head svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}.lplc-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}.lplc-emoji-grid button{aspect-ratio:1;border:0;border-radius:7px;background:transparent;font-size:16px;line-height:1;cursor:pointer}.lplc-emoji-grid button:hover{background:#eef3f4}
.lplc-reply-preview{margin:0 0 4px;padding:5px 7px;border-left:2px solid var(--lplc-teal);border-radius:5px 8px 8px 5px;background:#f2f6f6}.lplc-reply-preview small,.lplc-reply-preview small strong{font-size:7.5px}.lplc-reply-preview em{font-size:8px}
.lplc-login-panel{padding:8px}.lplc-login-copy strong{font-size:10px}.lplc-login-copy p{font-size:8px;line-height:1.35}.lplc-login-actions a{min-height:30px;font-size:8.5px}
.lplc-chat-connection.is-connected i{background:#63c88a;box-shadow:0 0 0 3px rgba(99,200,138,.12)}
.lplc-new-messages{height:27px;font-size:8.5px;bottom:7px}
@media(max-width:767px){.lplc-emoji-grid{grid-template-columns:repeat(6,1fr)}.lplc-emoji-picker{width:min(230px,calc(100% - 14px))}.lplc-message{grid-template-columns:25px minmax(0,1fr) 18px;}.lplc-message-avatar{width:25px;height:25px}.lplc-message-text{font-size:10px}}
@media(prefers-reduced-motion:reduce){.lplc-message.is-entering{animation:none}.lplc-thread-loading span{animation:none}}


/* =========================================================
   v1.0.9 — interaction reliability, real fullscreen, gold UI
   Accent requested for LaunchPoint controls: #F8B861
   ========================================================= */
.lplc-shell{
    --lplc-accent:#F8B861;
    --lplc-orange:#F8B861;
    --lplc-focus:#F8B861;
}

/* Keep the site's broad global button rules from overriding this module. */
.lplc-shell button,
.lplc-shell [type="button"],
.lplc-shell [type="submit"],
.lplc-shell a.lplc-primary-button,
.lplc-shell a.lplc-secondary-button{
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
    pointer-events:auto;
    font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.lplc-controls,
.lplc-player-actions,
.lplc-chat-header,
.lplc-composer-wrap,
.lplc-share-sheet{pointer-events:auto}

/* Player control hover/focus: one consistent LaunchPoint gold interaction. */
.lplc-shell .lplc-control:hover,
.lplc-shell .lplc-control:focus,
.lplc-shell .lplc-control:focus-visible,
.lplc-shell .lplc-chat-collapse:hover,
.lplc-shell .lplc-chat-collapse:focus,
.lplc-shell .lplc-chat-collapse:focus-visible,
.lplc-shell .lplc-emoji-toggle:hover,
.lplc-shell .lplc-emoji-toggle:focus,
.lplc-shell .lplc-emoji-toggle:focus-visible,
.lplc-shell .lplc-message-action:hover,
.lplc-shell .lplc-message-action:focus,
.lplc-shell .lplc-message-action:focus-visible,
.lplc-shell .lplc-thread-toggle:hover,
.lplc-shell .lplc-thread-toggle:focus,
.lplc-shell .lplc-thread-toggle:focus-visible,
.lplc-shell .lplc-new-messages:hover,
.lplc-shell .lplc-new-messages:focus,
.lplc-shell .lplc-new-messages:focus-visible{
    background:#F8B861;
    border-color:#F8B861;
    color:#173B83;
    outline:0;
    box-shadow:0 0 0 3px rgba(248,184,97,.24);
}
.lplc-shell .lplc-control:active,
.lplc-shell .lplc-chat-collapse:active,
.lplc-shell .lplc-message-action:active,
.lplc-shell .lplc-thread-toggle:active,
.lplc-shell .lplc-emoji-toggle:active{
    background:#F8B861;
    color:#173B83;
    transform:scale(.96);
}

/* CTA/send state. */
.lplc-shell .lplc-send,
.lplc-shell .lplc-primary-button,
.lplc-shell .lplc-share-link-row button{
    background:#F8B861;
    border-color:#F8B861;
    color:#173B83;
}
.lplc-shell .lplc-send:hover,
.lplc-shell .lplc-send:focus,
.lplc-shell .lplc-send:focus-visible,
.lplc-shell .lplc-primary-button:hover,
.lplc-shell .lplc-primary-button:focus,
.lplc-shell .lplc-primary-button:focus-visible,
.lplc-shell .lplc-share-link-row button:hover,
.lplc-shell .lplc-share-link-row button:focus,
.lplc-shell .lplc-share-link-row button:focus-visible{
    background:#F8B861;
    border-color:#F8B861;
    color:#173B83;
    outline:0;
    box-shadow:0 0 0 3px rgba(248,184,97,.28);
    filter:brightness(.97);
}

/* Emoji popover buttons stay compact but use the same interaction accent. */
.lplc-shell .lplc-emoji-grid button:hover,
.lplc-shell .lplc-emoji-grid button:focus,
.lplc-shell .lplc-emoji-grid button:focus-visible,
.lplc-shell [data-lplc-emoji-close]:hover,
.lplc-shell [data-lplc-emoji-close]:focus,
.lplc-shell [data-lplc-emoji-close]:focus-visible{
    background:#F8B861;
    color:#173B83;
    outline:0;
    box-shadow:none;
}

/* Comment reactions keep their semantic active colors, but focus never leaks theme color. */
.lplc-shell .lplc-message-react:focus,
.lplc-shell .lplc-message-react:focus-visible{
    outline:0;
    box-shadow:0 0 0 2px rgba(248,184,97,.35);
}

/* Native fullscreen and fallback fullscreen share one layout. */
html.lplc-fullscreen-lock,
body.lplc-fullscreen-lock{overflow:hidden}
.lplc-player.lplc-pseudo-fullscreen{
    position:fixed;
    inset:0;
    z-index:2147483000;
    width:100vw;
    height:100vh;
    max-width:none;
    max-height:none;
    border-radius:0;
    background:#000;
}
.lplc-player.is-lplc-fullscreen,
.lplc-player:fullscreen,
.lplc-player:-webkit-full-screen{
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    border-radius:0;
    background:#000;
}
.lplc-player.is-lplc-fullscreen .lplc-controls,
.lplc-player:fullscreen .lplc-controls,
.lplc-player:-webkit-full-screen .lplc-controls{
    height:68px;
    padding:0 20px;
}
.lplc-player.is-lplc-fullscreen .lplc-youtube,
.lplc-player:fullscreen .lplc-youtube,
.lplc-player:-webkit-full-screen .lplc-youtube{
    width:124%;
    height:124%;
}
.lplc-player.is-lplc-fullscreen .lplc-youtube-interaction-shield{
    inset:0 0 68px 0;
}

/* Make the chat controls explicitly clickable above every content layer. */
.lplc-chat{position:relative}
.lplc-chat-header{position:relative;z-index:12}
.lplc-pinned{position:relative;z-index:3}
.lplc-messages-wrap{z-index:1}
.lplc-composer-wrap{z-index:20}
.lplc-emoji-picker{z-index:120}


/* Compact chat refinements. */
.lplc-chat-header{min-height:46px}
.lplc-pinned{margin:6px 7px 3px;padding:6px 8px}
.lplc-messages{padding:3px 5px 7px}
.lplc-message{padding:4px 3px;}
.lplc-message-actions{margin-top:1px}
.lplc-message-action,.lplc-thread-toggle{min-height:20px;height:20px}
.lplc-composer-wrap{padding:5px 7px 7px}
.lplc-composer{min-height:38px}

/* Absolutely forbid inherited pink/theme focus backgrounds inside the module. */
.lplc-shell button:focus,
.lplc-shell button:focus-visible,
.lplc-shell [type="button"]:focus,
.lplc-shell [type="button"]:focus-visible,
.lplc-shell [type="submit"]:focus,
.lplc-shell [type="submit"]:focus-visible{
    outline-color:#F8B861;
}

/* v1.0.9 final interaction polish */

.lplc-shell .lplc-share-platform:hover, .lplc-shell .lplc-share-platform:focus, .lplc-shell .lplc-share-platform:focus-visible, .lplc-shell .lplc-secondary-button:hover, .lplc-shell .lplc-secondary-button:focus, .lplc-shell .lplc-secondary-button:focus-visible{
    background:#F8B861;
    border-color:#F8B861;
    color:#173B83;
    outline:0;
    box-shadow:0 0 0 3px rgba(248,184,97,.24);
}
.lplc-shell .lplc-action-button:focus,
.lplc-shell .lplc-action-button:focus-visible{
    outline:0;
    box-shadow:0 0 0 3px rgba(248,184,97,.30);
}
.lplc-shell .lplc-action-button:not(.is-active):hover{
    background:#F8B861;
    color:#173B83;
}
.lplc-shell .lplc-action-button:not(.is-active):hover svg{fill:currentColor;stroke:currentColor}

/* =========================================================
   v1.0.10 — fullscreen Live Chat + immersive shell
   Fullscreen now targets the complete Live Cam shell so the
   custom LaunchPoint chat remains available over the video.
   ========================================================= */

/* Native fullscreen target: the complete shell. */
.lplc-shell.is-player-fullscreen,
.lplc-shell:fullscreen,
.lplc-shell:-webkit-full-screen,
.lplc-shell.lplc-pseudo-fullscreen{
    position:relative;
    width:100%;
    height:100%;
    min-width:100%;
    min-height:100%;
    max-width:none;
    max-height:none;
    padding:0;
    margin:0;
    display:block;
    overflow:hidden;
    border:0;
    border-radius:0;
    background:#07171b;
    box-shadow:none;
}

/* Fallback fullscreen when the native API is unavailable/refused. */
.lplc-shell.lplc-pseudo-fullscreen{
    position:fixed;
    inset:0;
    z-index:2147483000;
    width:100vw;
    height:100vh;
}

/* Video remains the full fullscreen canvas; chat floats above it. */
.lplc-shell.is-player-fullscreen > .lplc-player,
.lplc-shell:fullscreen > .lplc-player,
.lplc-shell:-webkit-full-screen > .lplc-player,
.lplc-shell.lplc-pseudo-fullscreen > .lplc-player{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    max-width:none;
    max-height:none;
    border:0;
    border-radius:0;
    background:#000;
    overflow:hidden;
    z-index:1;
}

/* Fullscreen Live Chat: premium compact floating drawer. */
.lplc-shell.is-player-fullscreen > .lplc-chat,
.lplc-shell:fullscreen > .lplc-chat,
.lplc-shell:-webkit-full-screen > .lplc-chat,
.lplc-shell.lplc-pseudo-fullscreen > .lplc-chat{
    position:absolute;
    top:14px;
    right:14px;
    bottom:82px;
    left:auto;
    width:clamp(320px,29vw,410px);
    height:auto;
    max-height:none;
    min-height:0;
    display:flex;
    z-index:60;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.24);
    border-radius:18px;
    background:rgba(250,252,252,.96);
    box-shadow:0 18px 56px rgba(0,0,0,.34),0 1px 0 rgba(255,255,255,.35) inset;
    -webkit-backdrop-filter:blur(18px) saturate(1.05);
    backdrop-filter:blur(18px) saturate(1.05);
}

/* Respect the user's Hide Chat control even in fullscreen. */
.lplc-shell.is-player-fullscreen.lplc-shell--chat-collapsed > .lplc-chat,
.lplc-shell:fullscreen.lplc-shell--chat-collapsed > .lplc-chat,
.lplc-shell:-webkit-full-screen.lplc-shell--chat-collapsed > .lplc-chat,
.lplc-shell.lplc-pseudo-fullscreen.lplc-shell--chat-collapsed > .lplc-chat{
    display:none;
}

/* The chat toggle remains visible in the player controls and reflects state. */
.lplc-shell.is-player-fullscreen .lplc-control--chat,
.lplc-shell:fullscreen .lplc-control--chat,
.lplc-shell:-webkit-full-screen .lplc-control--chat,
.lplc-shell.lplc-pseudo-fullscreen .lplc-control--chat{
    display:grid;
}

/* Fullscreen chat header and body: denser than the normal sidebar. */
.lplc-shell.is-player-fullscreen .lplc-chat-header,
.lplc-shell:fullscreen .lplc-chat-header,
.lplc-shell:-webkit-full-screen .lplc-chat-header,
.lplc-shell.lplc-pseudo-fullscreen .lplc-chat-header{
    min-height:50px;
    padding:0 8px 0 13px;
    background:linear-gradient(135deg,#315B60,#244a50);
}
.lplc-shell.is-player-fullscreen .lplc-pinned,
.lplc-shell:fullscreen .lplc-pinned,
.lplc-shell:-webkit-full-screen .lplc-pinned,
.lplc-shell.lplc-pseudo-fullscreen .lplc-pinned{
    margin:6px 7px 2px;
    padding:6px 8px;
    border-radius:10px;
}
.lplc-shell.is-player-fullscreen .lplc-messages,
.lplc-shell:fullscreen .lplc-messages,
.lplc-shell:-webkit-full-screen .lplc-messages,
.lplc-shell.lplc-pseudo-fullscreen .lplc-messages{
    padding:3px 6px 8px;
}
.lplc-shell.is-player-fullscreen .lplc-composer-wrap,
.lplc-shell:fullscreen .lplc-composer-wrap,
.lplc-shell:-webkit-full-screen .lplc-composer-wrap,
.lplc-shell.lplc-pseudo-fullscreen .lplc-composer-wrap{
    padding:6px 7px 7px;
    background:rgba(255,255,255,.98);
}

/* Keep all player controls usable above the fullscreen video. */
.lplc-shell.is-player-fullscreen .lplc-controls,
.lplc-shell:fullscreen .lplc-controls,
.lplc-shell:-webkit-full-screen .lplc-controls,
.lplc-shell.lplc-pseudo-fullscreen .lplc-controls{
    z-index:80;
    height:68px;
    padding:0 18px;
}
.lplc-shell.is-player-fullscreen .lplc-player-topbar,
.lplc-shell:fullscreen .lplc-player-topbar,
.lplc-shell:-webkit-full-screen .lplc-player-topbar,
.lplc-shell.lplc-pseudo-fullscreen .lplc-player-topbar,
.lplc-shell.is-player-fullscreen .lplc-player-actions,
.lplc-shell:fullscreen .lplc-player-actions,
.lplc-shell:-webkit-full-screen .lplc-player-actions,
.lplc-shell.lplc-pseudo-fullscreen .lplc-player-actions{
    z-index:75;
}

/* Share and emoji/menu UI must be above fullscreen chat/video layers. */
.lplc-shell.is-player-fullscreen .lplc-share-sheet,
.lplc-shell:fullscreen .lplc-share-sheet,
.lplc-shell:-webkit-full-screen .lplc-share-sheet,
.lplc-shell.lplc-pseudo-fullscreen .lplc-share-sheet{z-index:140}
.lplc-shell.is-player-fullscreen .lplc-emoji-picker, .lplc-shell:fullscreen .lplc-emoji-picker, .lplc-shell:-webkit-full-screen .lplc-emoji-picker, .lplc-shell.lplc-pseudo-fullscreen .lplc-emoji-picker{z-index:145}

/* Tablet/mobile fullscreen: chat becomes a bottom-sheet overlay rather than
   squeezing the video into a narrow column. */
@media(max-width:767px){
    .lplc-shell.is-player-fullscreen > .lplc-chat,
    .lplc-shell:fullscreen > .lplc-chat,
    .lplc-shell:-webkit-full-screen > .lplc-chat,
    .lplc-shell.lplc-pseudo-fullscreen > .lplc-chat{
        top:auto;
        left:8px;
        right:8px;
        bottom:60px;
        width:auto;
        height:min(54%,460px);
        max-height:460px;
        border-radius:16px 16px 12px 12px;
    }
    .lplc-shell.is-player-fullscreen .lplc-controls,
    .lplc-shell:fullscreen .lplc-controls,
    .lplc-shell:-webkit-full-screen .lplc-controls,
    .lplc-shell.lplc-pseudo-fullscreen .lplc-controls{
        height:56px;
        padding:0 9px;
    }
    .lplc-shell.is-player-fullscreen .lplc-chat-header,
    .lplc-shell:fullscreen .lplc-chat-header,
    .lplc-shell:-webkit-full-screen .lplc-chat-header,
    .lplc-shell.lplc-pseudo-fullscreen .lplc-chat-header{min-height:44px}
}

@media(max-width:480px){
    .lplc-shell.is-player-fullscreen > .lplc-chat,
    .lplc-shell:fullscreen > .lplc-chat,
    .lplc-shell:-webkit-full-screen > .lplc-chat,
    .lplc-shell.lplc-pseudo-fullscreen > .lplc-chat{
        left:5px;
        right:5px;
        bottom:56px;
        height:min(58%,430px);
    }
}

/* ========================================================================
   v1.0.11 — robust share system, compact chat, centered controls
   LaunchPoint interaction accent: #F8B861
   ======================================================================== */
.lplc-shell{
    --lplc-accent:#F8B861;
    --lplc-accent-soft:rgba(248,184,97,.16);
    --lplc-accent-ring:rgba(248,184,97,.30);
    --lplc-navy:#173B83;
    --lplc-teal:#315B60;
    --lplc-border:#E2E8EA;
    --lplc-muted:#74848B;
}

/* Kill inherited theme button geometry/colors inside the plugin. */
.lplc-shell button,
.lplc-shell [type="button"],
.lplc-shell [type="submit"]{
    box-sizing:border-box;
    font-family:inherit;
    -webkit-appearance:none;
    appearance:none;
    -webkit-tap-highlight-color:transparent;
    text-transform:none;
    letter-spacing:normal;
}
.lplc-shell button:focus,
.lplc-shell button:focus-visible,
.lplc-shell [type="button"]:focus,
.lplc-shell [type="button"]:focus-visible,
.lplc-shell [type="submit"]:focus,
.lplc-shell [type="submit"]:focus-visible{
    outline:2px solid var(--lplc-accent);
    outline-offset:2px;
    box-shadow:0 0 0 3px var(--lplc-accent-ring);
}

/* Equal geometry for icon-only controls. */
.lplc-shell .lplc-control, .lplc-shell .lplc-chat-collapse, .lplc-shell .lplc-emoji-toggle, .lplc-shell .lplc-send, .lplc-shell .lplc-share-dialog__header>button, .lplc-shell .lplc-reply-preview>button{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    padding:0;
    margin:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    flex:0 0 38px;
    border-radius:10px;
}
.lplc-shell .lplc-control svg, .lplc-shell .lplc-chat-collapse svg, .lplc-shell .lplc-emoji-toggle svg, .lplc-shell .lplc-send svg, .lplc-shell .lplc-share-dialog__header>button svg, .lplc-shell .lplc-reply-preview>button svg{
    width:18px;
    height:18px;
    margin:0;
    display:block;
}
.lplc-shell .lplc-control:hover, .lplc-shell .lplc-control:focus, .lplc-shell .lplc-control:focus-visible, .lplc-shell .lplc-chat-collapse:hover, .lplc-shell .lplc-chat-collapse:focus, .lplc-shell .lplc-chat-collapse:focus-visible, .lplc-shell .lplc-emoji-toggle:hover, .lplc-shell .lplc-emoji-toggle:focus, .lplc-shell .lplc-emoji-toggle:focus-visible{
    background:var(--lplc-accent);
    border-color:var(--lplc-accent);
    color:var(--lplc-navy);
}
.lplc-shell .lplc-send,
.lplc-shell .lplc-send:hover,
.lplc-shell .lplc-send:focus,
.lplc-shell .lplc-send:focus-visible{
    background:var(--lplc-accent);
    border-color:var(--lplc-accent);
    color:var(--lplc-navy);
}
.lplc-shell .lplc-send:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}

/* Player engagement becomes a clean, small floating pill. */
.lplc-player-actions{
    right:14px;
    bottom:72px;
    padding:4px;
    gap:3px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    background:rgba(8,18,23,.70);
    box-shadow:0 8px 24px rgba(0,0,0,.18);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
.lplc-action-button{
    min-width:42px;
    height:34px;
    padding:0 10px;
    gap:6px;
    border:0;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    color:#fff;
    font-size:10px;
    font-weight:800;
}
.lplc-action-button svg{width:16px;height:16px;margin:0}
.lplc-action-button:hover,
.lplc-action-button:focus,
.lplc-action-button:focus-visible,
.lplc-action-button.is-active{
    background:var(--lplc-accent);
    color:var(--lplc-navy);
}

/* Controls: consistent center alignment and spacing. */
.lplc-controls{
    min-height:58px;
    height:58px;
    padding:0 12px;
    gap:7px;
    align-items:center;
}
.lplc-control{
    border:1px solid transparent;
    background:transparent;
    color:#fff;
}


.lplc-quality-auto{height:28px;padding:0 8px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}

/* Share sheet */
.lplc-share-sheet[hidden],.lplc-share-more[hidden]{display:none}
.lplc-share-sheet{z-index:150;padding:18px}
.lplc-share-backdrop,
.lplc-share-backdrop:hover,
.lplc-share-backdrop:focus,
.lplc-share-backdrop:focus-visible{
    background:rgba(8,19,24,.62);
    border:0;
    outline:0;
    box-shadow:none;
}
.lplc-share-dialog{
    width:min(590px,calc(100% - 24px));
    max-height:calc(100% - 28px);
    overflow:auto;
    padding:20px;
    border:1px solid #E3E8EA;
    border-radius:20px;
    background:#fff;
    box-shadow:0 26px 70px rgba(10,35,44,.24);
}
.lplc-share-dialog__header{margin-bottom:14px;align-items:center}
.lplc-share-dialog__header small{color:#7B898F;font-size:9px;letter-spacing:.08em}
.lplc-share-dialog__header strong{font-size:17px;color:var(--lplc-navy)}
.lplc-share-dialog__header>button,
.lplc-share-dialog__header>button:hover,
.lplc-share-dialog__header>button:focus,
.lplc-share-dialog__header>button:focus-visible{
    background:#F4F6F7;
    color:#50636B;
}
.lplc-share-dialog__header>button:hover,
.lplc-share-dialog__header>button:focus,
.lplc-share-dialog__header>button:focus-visible{background:var(--lplc-accent);color:var(--lplc-navy)}

.lplc-share-platforms{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    overflow:visible;
}
.lplc-share-platform,
.lplc-share-platform:hover,
.lplc-share-platform:focus,
.lplc-share-platform:focus-visible,
.lplc-share-platform:active{
    min-width:0;
    min-height:76px;
    padding:6px 3px;
    border:0;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:transparent;
    color:#4E626B;
    box-shadow:none;
}
.lplc-share-platform>span{
    width:46px;
    height:46px;
    min-width:46px;
    min-height:46px;
    padding:0;
    border:1px solid #E4EAEC;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#F7F9FA;
    transition:transform .14s ease,background-color .14s ease,border-color .14s ease;
}
.lplc-share-platform>span svg{width:21px;height:21px;margin:0}
.lplc-share-platform small{font-size:9px;font-weight:800;line-height:1.1;color:#536870}
.lplc-share-platform:hover>span,
.lplc-share-platform:focus>span,
.lplc-share-platform:focus-visible>span,
.lplc-share-platform.is-active>span{
    transform:translateY(-1px);
    background:var(--lplc-accent);
    border-color:var(--lplc-accent);
    color:var(--lplc-navy);
    box-shadow:0 7px 16px rgba(23,59,131,.10);
}
.lplc-share-platform--facebook>span{color:#1877F2}
.lplc-share-platform--x>span{color:#111}
.lplc-share-platform--whatsapp>span{color:#159E52}
.lplc-share-platform--telegram>span{color:#229ED9}
.lplc-share-platform--instagram>span{color:#C13584}
.lplc-share-platform--reddit>span{color:#FF4500}
.lplc-share-platform--linkedin>span{color:#0A66C2}
.lplc-share-platform--email>span,.lplc-share-platform--more>span{color:var(--lplc-teal)}
.lplc-share-platform:hover>span,.lplc-share-platform:focus>span,.lplc-share-platform:focus-visible>span{color:var(--lplc-navy)}

.lplc-share-more{
    margin-top:12px;
    padding:10px;
    border:1px solid #E4EAEC;
    border-radius:14px;
    background:#F8FAFA;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
}
.lplc-share-more-option,
.lplc-share-more-option:hover,
.lplc-share-more-option:focus,
.lplc-share-more-option:focus-visible{
    min-height:54px;
    padding:8px 10px;
    border:1px solid transparent;
    border-radius:11px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
    background:#fff;
    color:var(--lplc-teal);
    text-align:left;
    box-shadow:none;
}
.lplc-share-more-option:hover,.lplc-share-more-option:focus,.lplc-share-more-option:focus-visible{background:var(--lplc-accent);border-color:var(--lplc-accent);color:var(--lplc-navy)}
.lplc-share-more-option>svg{width:20px;height:20px;flex:0 0 20px;margin:0;fill:none;stroke:currentColor;stroke-width:1.8}
.lplc-share-more-option>span{display:flex;min-width:0;flex-direction:column;gap:1px}
.lplc-share-more-option strong{font-size:10px;line-height:1.15;color:inherit}
.lplc-share-more-option small{font-size:8px;line-height:1.25;color:#788A91}
.lplc-share-more-option:hover small,.lplc-share-more-option:focus small{color:rgba(23,59,131,.72)}

.lplc-share-link-row{margin-top:12px;padding:4px 4px 4px 11px;min-height:44px;border-color:#DDE5E7;border-radius:12px;background:#F8FAFA}
.lplc-share-link-row button,
.lplc-share-link-row button:hover,
.lplc-share-link-row button:focus,
.lplc-share-link-row button:focus-visible{
    height:36px;
    min-height:36px;
    padding:0 13px;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:var(--lplc-accent);
    color:var(--lplc-navy);
}
.lplc-share-status{min-height:15px;margin:7px 2px 0;color:#667B83;font-size:9px;text-align:left}

/* Chat header / presence */
.lplc-chat-header{min-height:56px;height:56px;padding:0 10px 0 13px}
.lplc-chat-header strong{font-size:15px;font-weight:800}
.lplc-chat-header__activity{gap:6px;font-size:9px}
.lplc-chat-presence{display:inline-flex;align-items:center;gap:4px;color:rgba(255,255,255,.88)}
.lplc-presence-avatars{display:inline-flex;align-items:center;padding-left:4px}
.lplc-presence-avatars>span{width:19px;height:19px;margin-left:-5px;border:2px solid var(--lplc-teal);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#EAF0F1;color:var(--lplc-teal);font-size:7px;font-weight:900}
.lplc-presence-avatars img{width:100%;height:100%;object-fit:cover}

/* Compact pinned notice */
.lplc-pinned{padding:9px 11px;border-radius:0;background:#F8FAFA;border-bottom:1px solid #E8EDEF}
.lplc-pinned__title{gap:5px;margin-bottom:3px}.lplc-pinned__title svg{width:12px;height:12px}.lplc-pinned__title strong{font-size:9px}.lplc-pinned p{font-size:10px;line-height:1.35;margin:0}

/* Compact message feed */
.lplc-messages{padding:5px 6px 7px;scrollbar-width:thin;scrollbar-color:#CCD7DA transparent}
.lplc-message{
    grid-template-columns:30px minmax(0,1fr) 28px;
    gap:7px;
    padding:6px 5px;
    margin:0;
    border:0;
    border-radius:10px;
    background:transparent;
    transition:background-color .15s ease,transform .15s ease;
}
.lplc-message:hover{background:#F7F9FA;}
.lplc-message.is-host{background:rgba(248,184,97,.08)}
.lplc-message.is-mentioned{background:rgba(23,59,131,.07);box-shadow:inset 3px 0 0 var(--lplc-accent)}
.lplc-message-avatar{width:30px;height:30px;font-size:8px;border-radius:50%}
.lplc-message-head{min-height:16px;gap:5px;align-items:center}
.lplc-message-name,
button.lplc-message-name{
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    color:#263E49;
    font:inherit;
    font-size:10px;
    line-height:1.2;
    font-weight:850;
    cursor:default;
}
button.lplc-message-name{cursor:pointer}
button.lplc-message-name:hover,button.lplc-message-name:focus,button.lplc-message-name:focus-visible{background:transparent;color:var(--lplc-navy);outline:0;box-shadow:none;text-decoration:underline;text-decoration-color:var(--lplc-accent);text-underline-offset:2px}
.lplc-message-time{font-size:8px;color:#92A0A5}
.lplc-mod-badge,.lplc-host-badge{height:15px;padding:0 5px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:7px;line-height:1;font-weight:900;letter-spacing:.04em}
.lplc-host-badge{background:var(--lplc-accent);color:var(--lplc-navy)}
.lplc-mod-badge{background:#E7EEF9;color:var(--lplc-navy)}
.lplc-message-text{margin:2px 0 2px;font-size:10.5px;line-height:1.36;color:#435960;word-break:break-word}
.lplc-mention{padding:0 2px;border-radius:3px;background:var(--lplc-accent-soft);color:var(--lplc-navy);font-weight:800}
.lplc-message-actions{min-height:22px;gap:3px;margin-top:1px;align-items:center}
.lplc-message-action,.lplc-thread-toggle{
    min-height:24px;
    height:24px;
    padding:0 6px;
    border:0;
    border-radius:7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    background:transparent;
    color:#75868C;
    font-size:8.5px;
    font-weight:800;
    box-shadow:none;
}
.lplc-message-action svg{width:13px;height:13px;margin:0}
.lplc-message-action:hover,.lplc-message-action:focus,.lplc-message-action:focus-visible,.lplc-thread-toggle:hover,.lplc-thread-toggle:focus,.lplc-thread-toggle:focus-visible,.lplc-message-action.is-active{background:var(--lplc-accent);color:var(--lplc-navy)}








/* Threads stay hidden until explicitly opened and remain one compact level deep. */
.lplc-thread{margin:5px 0 0;padding:3px 0 0 7px;border-left:2px solid #E4EAEC}
.lplc-thread .lplc-message{grid-template-columns:26px minmax(0,1fr) 26px;padding:5px 3px}
.lplc-thread .lplc-message-avatar{width:26px;height:26px}

/* Typing indicator */
.lplc-typing{min-height:27px;padding:4px 11px;display:flex;align-items:center;gap:7px;border-top:1px solid #EEF1F2;background:#FBFCFC;color:#77888E;font-size:8.5px}
.lplc-typing-dots{display:inline-flex;gap:2px}.lplc-typing-dots i{width:4px;height:4px;border-radius:50%;background:var(--lplc-teal);animation:lplcTypingDot .9s infinite ease-in-out}.lplc-typing-dots i:nth-child(2){animation-delay:.12s}.lplc-typing-dots i:nth-child(3){animation-delay:.24s}@keyframes lplcTypingDot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}

/* Composer */
.lplc-composer-wrap{padding:7px 8px 8px;border-top:1px solid #E9EEF0;background:#fff}
.lplc-composer{min-height:42px;padding:2px 3px;border:1px solid #DCE5E7;border-radius:12px;background:#F8FAFA;display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:3px;align-items:end}
.lplc-composer:focus-within{border-color:var(--lplc-accent);box-shadow:0 0 0 3px var(--lplc-accent-soft)}
.lplc-composer textarea{min-height:36px;max-height:88px;padding:9px 4px;border:0;outline:0;box-shadow:none;background:transparent;color:#334A53;font-size:11px;line-height:1.35;resize:none}
.lplc-emoji-toggle{background:transparent;color:#6E8188;border:0}
.lplc-send{border:0}
.lplc-reply-preview{margin:0 0 5px;padding:6px 7px 6px 9px;border-left:3px solid var(--lplc-accent);border-radius:8px;background:#F8FAFA}
.lplc-reply-preview small{font-size:8px}.lplc-reply-preview em{font-size:8.5px}
.lplc-reply-preview>button{width:28px;height:28px;min-width:28px;min-height:28px;flex-basis:28px;background:transparent;color:#71838A}
.lplc-reply-preview>button:hover,.lplc-reply-preview>button:focus{background:var(--lplc-accent);color:var(--lplc-navy)}
.lplc-composer-status{min-height:12px;margin:4px 3px 0;font-size:8px}

/* Emoji picker */
.lplc-emoji-picker{right:0;bottom:48px;width:252px;padding:8px;border:1px solid #E1E7E9;border-radius:13px;background:#fff;box-shadow:0 16px 38px rgba(10,38,47,.18)}
.lplc-emoji-picker__head{min-height:28px}.lplc-emoji-picker__head strong{font-size:9px;color:var(--lplc-navy)}.lplc-emoji-picker__head button{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:0;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#F4F7F8;color:#667A82}.lplc-emoji-picker__head button:hover,.lplc-emoji-picker__head button:focus{background:var(--lplc-accent);color:var(--lplc-navy)}
.lplc-emoji-grid{grid-template-columns:repeat(6,1fr);gap:3px}.lplc-emoji-grid button,.lplc-emoji-grid button:hover,.lplc-emoji-grid button:focus,.lplc-emoji-grid button:focus-visible{width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border:0;border-radius:8px;display:flex;align-items:center;justify-content:center;background:transparent;font-size:18px;box-shadow:none}.lplc-emoji-grid button:hover,.lplc-emoji-grid button:focus,.lplc-emoji-grid button:focus-visible{background:var(--lplc-accent)}

/* New messages button */
.lplc-new-messages,.lplc-new-messages:hover,.lplc-new-messages:focus,.lplc-new-messages:focus-visible{min-height:30px;padding:0 11px;border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--lplc-accent);color:var(--lplc-navy);font-size:8.5px;font-weight:900}

/* Login/read-only panels */
.lplc-login-panel{padding:10px;gap:8px}.lplc-login-lock{width:34px;height:34px}.lplc-login-copy strong{font-size:10px}.lplc-login-copy p{font-size:8.5px;line-height:1.35}.lplc-login-actions{gap:5px}.lplc-primary-button,.lplc-primary-button:hover,.lplc-primary-button:focus,.lplc-primary-button:focus-visible{background:var(--lplc-accent);border-color:var(--lplc-accent);color:var(--lplc-navy)}.lplc-secondary-button:hover,.lplc-secondary-button:focus,.lplc-secondary-button:focus-visible{background:var(--lplc-accent);border-color:var(--lplc-accent);color:var(--lplc-navy)}

/* Fullscreen keeps all overlays clickable and balanced. */
.lplc-shell.is-player-fullscreen .lplc-player-actions,
.lplc-shell:fullscreen .lplc-player-actions,
.lplc-shell:-webkit-full-screen .lplc-player-actions,
.lplc-shell.lplc-pseudo-fullscreen .lplc-player-actions{right:18px;bottom:78px}
.lplc-shell.is-player-fullscreen .lplc-chat,
.lplc-shell:fullscreen .lplc-chat,
.lplc-shell:-webkit-full-screen .lplc-chat,
.lplc-shell.lplc-pseudo-fullscreen .lplc-chat{box-shadow:0 18px 50px rgba(0,0,0,.28)}

@media(max-width:767px){
    .lplc-share-dialog{width:calc(100% - 8px);padding:14px;border-radius:16px}
    .lplc-share-platforms{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
    .lplc-share-platform{min-height:68px}.lplc-share-platform>span{width:42px;height:42px;min-width:42px;min-height:42px}
    .lplc-share-more{grid-template-columns:1fr}
    .lplc-controls{gap:3px;padding:0 7px}
    .lplc-shell .lplc-control{width:34px;height:34px;min-width:34px;min-height:34px;flex-basis:34px;border-radius:9px}
    .lplc-shell .lplc-control svg{width:17px;height:17px}
    .lplc-time-label{font-size:8px}
    .lplc-player-actions{right:8px;bottom:64px}
    .lplc-chat-presence{display:none}
    .lplc-message{grid-template-columns:28px minmax(0,1fr) 26px;padding:6px 3px;}.lplc-message-avatar{width:28px;height:28px}
}

@media(max-width:480px){
    .lplc-share-platforms{grid-template-columns:repeat(3,minmax(0,1fr))}
    .lplc-share-link-row{padding-left:8px}.lplc-share-link-row input{font-size:9px}
    .lplc-quality-auto{display:none}
    .lplc-control-live{display:none}
}

/* ========================================================================
   v1.0.12 — balanced LaunchPoint palette + branded Share system
   Gold (#F8B861) is intentionally reserved for premium/high-priority accents.
   General controls use LaunchPoint teal/navy + neutral interaction states.
   ======================================================================== */
.lplc-shell{
    --lplc-gold:#F8B861;
    --lplc-gold-soft:rgba(248,184,97,.18);
    --lplc-navy:#173B83;
    --lplc-teal:#315B60;
    --lplc-teal-hover:#274A4F;
    --lplc-teal-soft:#EAF1F2;
    --lplc-focus:#315B60;
    --lplc-focus-ring:rgba(49,91,96,.20);
    --lplc-accent:#315B60;
    --lplc-orange:#F8B861;
}

/* General plugin focus/hover language: teal/neutral, not gold everywhere. */
.lplc-shell button:focus,
.lplc-shell button:focus-visible,
.lplc-shell [type="button"]:focus,
.lplc-shell [type="button"]:focus-visible,
.lplc-shell [type="submit"]:focus,
.lplc-shell [type="submit"]:focus-visible{
    outline:2px solid var(--lplc-focus);
    outline-offset:2px;
    box-shadow:0 0 0 3px var(--lplc-focus-ring);
}

/* Dark player controls stay subtle and cinematic. */
.lplc-shell .lplc-control,
.lplc-shell .lplc-control:hover,
.lplc-shell .lplc-control:focus,
.lplc-shell .lplc-control:focus-visible,
.lplc-shell .lplc-control:active{
    background:transparent;
    border-color:transparent;
    color:#fff;
}
.lplc-shell .lplc-control:hover,
.lplc-shell .lplc-control:focus,
.lplc-shell .lplc-control:focus-visible{
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.12);
    box-shadow:none;
}
.lplc-shell .lplc-control:active{background:rgba(255,255,255,.18);transform:scale(.96)}
.lplc-shell .lplc-control--share:hover,
.lplc-shell .lplc-control--share:focus,
.lplc-shell .lplc-control--share:focus-visible{background:rgba(49,91,96,.88);color:#fff}

/* Chat/icon buttons use clean neutral + teal interaction states. */
.lplc-shell .lplc-chat-collapse:hover, .lplc-shell .lplc-chat-collapse:focus, .lplc-shell .lplc-chat-collapse:focus-visible, .lplc-shell .lplc-emoji-toggle:hover, .lplc-shell .lplc-emoji-toggle:focus, .lplc-shell .lplc-emoji-toggle:focus-visible, .lplc-shell .lplc-thread-toggle:hover, .lplc-shell .lplc-thread-toggle:focus, .lplc-shell .lplc-thread-toggle:focus-visible, .lplc-shell .lplc-message-action:hover, .lplc-shell .lplc-message-action:focus, .lplc-shell .lplc-message-action:focus-visible{
    background:var(--lplc-teal-soft);
    border-color:#D6E2E4;
    color:var(--lplc-teal);
    box-shadow:none;
}

/* Gold is reserved for a small set of primary/high-value actions. */
.lplc-featured-pill{color:var(--lplc-gold);border-color:rgba(248,184,97,.46)}
.lplc-shell .lplc-send,
.lplc-shell .lplc-send:hover,
.lplc-shell .lplc-send:focus,
.lplc-shell .lplc-send:focus-visible{
    background:var(--lplc-gold);
    border-color:var(--lplc-gold);
    color:var(--lplc-navy);
}
.lplc-shell .lplc-send:hover{filter:brightness(.96)}

/* Like/Love are semantic instead of both becoming gold. */
.lplc-action-button:not(.is-active):hover,
.lplc-action-button:not(.is-active):focus,
.lplc-action-button:not(.is-active):focus-visible{background:rgba(255,255,255,.12);color:#fff}
.lplc-action-button[data-lplc-reaction="like"].is-active{background:#1877F2;color:#fff}
.lplc-action-button[data-lplc-reaction="love"].is-active{background:#E14B69;color:#fff}

/* ------------------------------------------------------------------------
   Branded Share sheet
   ------------------------------------------------------------------------ */
.lplc-share-platforms{
    gap:10px;
}
.lplc-share-platform,
.lplc-share-platform:hover,
.lplc-share-platform:focus,
.lplc-share-platform:focus-visible,
.lplc-share-platform:active{
    min-height:78px;
    padding:5px 2px;
    background:transparent;
    border:0;
    box-shadow:none;
    color:#536870;
}
.lplc-share-platform>span{
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    padding:0;
    margin:0;
    border:0;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:0;
    color:#fff;
    background:#315B60;
    box-shadow:0 6px 14px rgba(17,46,57,.12);
    transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.lplc-share-platform>span svg{
    width:22px;
    height:22px;
    min-width:22px;
    min-height:22px;
    margin:0;
    padding:0;
    color:#fff;
}
.lplc-share-platform small{
    margin:0;
    padding:0;
    color:#52656D;
    font-size:9px;
    font-weight:800;
    line-height:1.15;
    text-align:center;
}
.lplc-share-platform:hover>span,
.lplc-share-platform:focus>span,
.lplc-share-platform:focus-visible>span,
.lplc-share-platform.is-active>span{
    transform:translateY(-2px) scale(1.03);
    border-color:transparent;
    color:#fff;
    filter:brightness(.95);
    box-shadow:0 9px 20px rgba(17,46,57,.20);
}
.lplc-share-platform:hover small,
.lplc-share-platform:focus small,
.lplc-share-platform:focus-visible small{color:var(--lplc-navy)}

/* Authentic platform colors. */
.lplc-share-platform--facebook>span{background:#1877F2;color:#fff}
.lplc-share-platform--x>span{background:#000;color:#fff}
.lplc-share-platform--whatsapp>span{background:#25D366;color:#fff}
.lplc-share-platform--telegram>span{background:#229ED9;color:#fff}
.lplc-share-platform--instagram>span{
    background:linear-gradient(135deg,#F58529 0%,#DD2A7B 38%,#8134AF 70%,#515BD4 100%);
    color:#fff;
}
.lplc-share-platform--reddit>span{background:#FF4500;color:#fff}
.lplc-share-platform--linkedin>span{background:#0A66C2;color:#fff}
.lplc-share-platform--email>span{background:#315B60;color:#fff}
.lplc-share-platform--more>span{background:#173B83;color:#fff}
.lplc-share-platform--more.is-active>span{background:#173B83;color:#fff;filter:brightness(.90)}

/* Correct icon rendering on branded circles. */
.lplc-share-platform--facebook svg,
.lplc-share-platform--x svg,
.lplc-share-platform--telegram svg,
.lplc-share-platform--linkedin svg,
.lplc-share-platform--more svg{fill:#fff;stroke:none}
.lplc-share-platform--whatsapp svg{fill:none;stroke:#fff;stroke-width:1.8}
.lplc-share-platform--instagram svg,
.lplc-share-platform--reddit svg,
.lplc-share-platform--email svg{fill:none;stroke:#fff;stroke-width:1.8}

/* Expanded More choices receive their own purposeful colors. */
.lplc-share-more{background:#F7F9FA;border-color:#E1E8EA}
.lplc-share-more-option,
.lplc-share-more-option:hover,
.lplc-share-more-option:focus,
.lplc-share-more-option:focus-visible{
    background:#fff;
    border:1px solid #E4EAEC;
    color:#315B60;
    box-shadow:none;
}
.lplc-share-more-option:hover,
.lplc-share-more-option:focus,
.lplc-share-more-option:focus-visible{
    background:#F3F7F8;
    border-color:#C9D8DB;
    color:#173B83;
}
.lplc-share-more-option>svg{
    width:36px;
    height:36px;
    min-width:36px;
    min-height:36px;
    padding:8px;
    border-radius:10px;
    box-sizing:border-box;
    color:#fff;
    background:#173B83;
    stroke:currentColor;
}
.lplc-share-more-option[data-lplc-share-platform="native"]>svg{background:#173B83}
.lplc-share-more-option[data-lplc-share-platform="copy"]>svg{background:#315B60}
.lplc-share-more-option[data-lplc-share-platform="sms"]>svg{background:#34C759}
.lplc-share-more-option[data-lplc-share-platform="pinterest"]>svg{background:#E60023;fill:#fff;stroke:none}
.lplc-share-more-option[data-lplc-share-platform="tumblr"]>svg{background:#35465C;fill:#fff;stroke:none}
.lplc-share-more-option small{color:#7B8B91}
.lplc-share-more-option:hover small,
.lplc-share-more-option:focus small{color:#667A82}

/* Copy URL is a utility action: LaunchPoint teal, not gold. */
.lplc-shell .lplc-share-link-row button,
.lplc-shell .lplc-share-link-row button:hover,
.lplc-shell .lplc-share-link-row button:focus,
.lplc-shell .lplc-share-link-row button:focus-visible,
.lplc-shell .lplc-share-link-row button:active{
    background:#315B60;
    border-color:#315B60;
    color:#fff;
    box-shadow:none;
}
.lplc-shell .lplc-share-link-row button:hover{background:#274A4F;border-color:#274A4F}

/* Share dialog close is intentionally neutral. */
.lplc-share-dialog__header>button,
.lplc-share-dialog__header>button:hover,
.lplc-share-dialog__header>button:focus,
.lplc-share-dialog__header>button:focus-visible{
    background:#F2F5F6;
    border-color:#E2E8EA;
    color:#526970;
}
.lplc-share-dialog__header>button:hover,
.lplc-share-dialog__header>button:focus,
.lplc-share-dialog__header>button:focus-visible{background:#E8EFF0;color:#315B60}

/* Compact, perfectly centered share icons across responsive sizes. */
@media(max-width:767px){
    .lplc-share-platforms{gap:7px}
    .lplc-share-platform{min-height:70px;padding:4px 1px}
    .lplc-share-platform>span{width:44px;height:44px;min-width:44px;min-height:44px}
    .lplc-share-platform>span svg{width:20px;height:20px;min-width:20px;min-height:20px}
}

@media(prefers-reduced-motion:reduce){
    .lplc-share-platform>span{transition:none}
}

/* ========================================================================
   v1.0.13 — Live Chat UI/UX refinement
   Compact comments, long-comment expansion, semantic reactions, balanced
   colors, modern composer, and consistent icon/button geometry.
   ======================================================================== */
.lplc-shell{
    --lplc-like:#2F80ED;
    --lplc-like-hover:#236BC9;
    --lplc-like-soft:#EEF5FF;
    --lplc-love:#E5526D;
    --lplc-love-hover:#C9405B;
    --lplc-love-soft:#FFF0F3;
    --lplc-dislike:#66747C;
    --lplc-dislike-hover:#4D5A62;
    --lplc-dislike-soft:#F0F3F4;
    --lplc-surface:#FFFFFF;
    --lplc-surface-soft:#F7F9FA;
    --lplc-line:#E7ECEE;
    --lplc-text:#354B54;
    --lplc-muted:#7A8B92;
}

/* Keep gold selective: Featured/accent only. Core interaction is teal/navy. */
.lplc-featured-pill{color:#F8B861}
.lplc-shell .lplc-send,
.lplc-shell .lplc-primary-button{
    background:var(--lplc-teal);
    border-color:var(--lplc-teal);
    color:#fff;
}
.lplc-shell .lplc-send:hover,
.lplc-shell .lplc-send:focus,
.lplc-shell .lplc-send:focus-visible,
.lplc-shell .lplc-primary-button:hover,
.lplc-shell .lplc-primary-button:focus,
.lplc-shell .lplc-primary-button:focus-visible{
    background:var(--lplc-teal-hover);
    border-color:var(--lplc-teal-hover);
    color:#fff;
    box-shadow:0 0 0 3px rgba(49,91,96,.16);
}
.lplc-shell .lplc-secondary-button:hover,
.lplc-shell .lplc-secondary-button:focus,
.lplc-shell .lplc-secondary-button:focus-visible{
    background:#F1F5F6;
    border-color:#D9E3E5;
    color:var(--lplc-teal);
}

/* Player Like/Love: semantic colors with a restrained glass container. */
.lplc-player-actions{
    padding:3px;
    gap:2px;
    background:rgba(6,18,24,.72);
    border:1px solid rgba(255,255,255,.14);
    border-radius:13px;
    box-shadow:0 8px 22px rgba(0,0,0,.20);
}
.lplc-action-button{
    min-width:40px;
    height:34px;
    padding:0 9px;
    gap:5px;
    border-radius:10px;
    background:transparent;
    font-size:10px;
    font-weight:800;
    transition:background-color .15s ease,color .15s ease,transform .15s ease;
}
.lplc-action-button svg{width:16px;height:16px}
.lplc-action-button[data-lplc-reaction="like"]{color:#70AFFF}
.lplc-action-button[data-lplc-reaction="love"]{color:#FF8296}
.lplc-action-button[data-lplc-reaction="like"] svg{fill:currentColor;stroke:currentColor}
.lplc-action-button[data-lplc-reaction="love"] svg{fill:currentColor;stroke:currentColor}
.lplc-action-button[data-lplc-reaction="like"]:not(.is-active):hover,
.lplc-action-button[data-lplc-reaction="like"]:not(.is-active):focus,
.lplc-action-button[data-lplc-reaction="like"]:not(.is-active):focus-visible{
    background:rgba(47,128,237,.20);
    color:#8EC0FF;
}
.lplc-action-button[data-lplc-reaction="love"]:not(.is-active):hover,
.lplc-action-button[data-lplc-reaction="love"]:not(.is-active):focus,
.lplc-action-button[data-lplc-reaction="love"]:not(.is-active):focus-visible{
    background:rgba(229,82,109,.20);
    color:#FF9AAA;
}
.lplc-action-button[data-lplc-reaction="like"].is-active{
    background:var(--lplc-like);
    color:#fff;
}
.lplc-action-button[data-lplc-reaction="love"].is-active{
    background:var(--lplc-love);
    color:#fff;
}
.lplc-action-button:active{transform:scale(.96)}

/* Player controls: equal geometry, centered icons, no arbitrary accent fills. */
.lplc-shell .lplc-control{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    flex:0 0 38px;
    padding:0;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.lplc-shell .lplc-control svg{width:18px;height:18px;margin:0}
.lplc-shell .lplc-control:hover,
.lplc-shell .lplc-control:focus,
.lplc-shell .lplc-control:focus-visible{
    background:rgba(255,255,255,.11);
    border-color:rgba(255,255,255,.10);
    color:#fff;
    box-shadow:none;
}
.lplc-shell .lplc-control--share:hover,
.lplc-shell .lplc-control--share:focus,
.lplc-shell .lplc-control--share:focus-visible,
.lplc-shell .lplc-control--chat:hover,
.lplc-shell .lplc-control--chat:focus,
.lplc-shell .lplc-control--chat:focus-visible{
    background:rgba(49,91,96,.92);
    border-color:rgba(255,255,255,.08);
    color:#fff;
}

/* Chat shell: cleaner hierarchy and calmer surfaces. */
.lplc-chat{
    background:#fff;
    color:var(--lplc-text);
}
.lplc-chat-header{
    min-height:52px;
    height:52px;
    padding:0 9px 0 12px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.lplc-pinned{
    margin:6px 7px 4px;
    padding:7px 8px;
    border:1px solid #E1E9EB;
    border-radius:9px;
    background:#F8FAFA;
    box-shadow:none;
}
.lplc-messages{padding:2px 6px 7px}

/* Comment card is compact without feeling microscopic. */
.lplc-message{
    grid-template-columns:30px minmax(0,1fr) 24px;
    column-gap:7px;
    padding:6px 3px;
    border-radius:8px;
    border-bottom:1px solid transparent;
    transition:background-color .15s ease;
}
.lplc-message:hover{background:#F8FAFA;}
.lplc-message-avatar{
    width:30px;
    height:30px;
    border-radius:50%;
    font-size:8px;
    box-shadow:0 0 0 1px #E4EAEC;
}
.lplc-message-head{min-height:14px;gap:4px;align-items:center}
.lplc-message-name{
    max-width:145px;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    color:var(--lplc-navy);
    font-size:10.5px;
    line-height:1.15;
    font-weight:850;
}
button.lplc-message-name:hover,
button.lplc-message-name:focus,
button.lplc-message-name:focus-visible{
    background:transparent;
    color:var(--lplc-teal);
    box-shadow:none;
    text-decoration:underline;
    text-underline-offset:2px;
}
.lplc-message-time{font-size:7.5px;color:#99A6AB}
.lplc-host-badge,.lplc-mod-badge{height:14px;padding:0 4px;border-radius:4px;font-size:6.5px;line-height:14px}

/* Long comments clamp to four lines until explicitly expanded. */
.lplc-message-text{
    margin:2px 0 0;
    font-size:10.5px;
    line-height:1.42;
    color:#425861;
    overflow-wrap:anywhere;
}
.lplc-message-text.is-clamped{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    overflow:hidden;
}
.lplc-message--reply .lplc-message-text.is-clamped{-webkit-line-clamp:3}
.lplc-message-text.is-expanded{display:block;overflow:visible}
.lplc-message-readmore,
.lplc-message-readmore:hover,
.lplc-message-readmore:focus,
.lplc-message-readmore:focus-visible{
    min-height:18px;
    height:18px;
    margin:1px 0 0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--lplc-teal);
    font-size:8.5px;
    line-height:18px;
    font-weight:850;
    text-decoration:none;
    box-shadow:none;
    cursor:pointer;
}
.lplc-message-readmore:hover,
.lplc-message-readmore:focus,
.lplc-message-readmore:focus-visible{color:var(--lplc-navy);text-decoration:underline;text-underline-offset:2px}

/* Actions: Reply is deliberately simple; reactions carry semantic colors. */
.lplc-message-actions{
    min-height:22px;
    margin-top:2px;
    gap:3px;
    flex-wrap:wrap;
}
.lplc-message-action,.lplc-thread-toggle{
    height:22px;
    min-height:22px;
    min-width:22px;
    padding:0 5px;
    gap:3px;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#7B8A90;
    font-size:8px;
    font-weight:800;
    line-height:1;
    box-shadow:none;
}
.lplc-message-action svg{width:12px;height:12px;margin:0;fill:none;stroke:currentColor;stroke-width:1.85}
.lplc-message-action--reply{
    min-width:auto;
    padding:0 3px;
    color:#75868D;
}
.lplc-message-action--reply:hover,
.lplc-message-action--reply:focus,
.lplc-message-action--reply:focus-visible{
    background:transparent;
    color:var(--lplc-teal);
    box-shadow:none;
    text-decoration:underline;
    text-underline-offset:2px;
}
.lplc-message-react{padding:0 6px;border:1px solid transparent}
.lplc-message-react--like:hover,
.lplc-message-react--like:focus,
.lplc-message-react--like:focus-visible,
.lplc-message-react--like.is-active{
    background:var(--lplc-like-soft);
    border-color:#D7E7FF;
    color:var(--lplc-like);
    box-shadow:none;
}
.lplc-message-react--like.is-active{font-weight:900}
.lplc-message-react--dislike:hover,
.lplc-message-react--dislike:focus,
.lplc-message-react--dislike:focus-visible,
.lplc-message-react--dislike.is-active{
    background:var(--lplc-dislike-soft);
    border-color:#E0E6E8;
    color:var(--lplc-dislike);
    box-shadow:none;
}
.lplc-thread-toggle{
    min-width:auto;
    padding:0 3px;
    color:var(--lplc-teal);
}
.lplc-thread-toggle:hover,
.lplc-thread-toggle:focus,
.lplc-thread-toggle:focus-visible{
    background:transparent;
    color:var(--lplc-navy);
    text-decoration:underline;
    text-underline-offset:2px;
    box-shadow:none;
}

/* Message overflow menu remains a neutral utility action. */





/* Replies remain one-level, compact, and visually attached to the parent. */
.lplc-thread{
    margin:4px 0 1px;
    padding:2px 0 0 8px;
    border-left:2px solid #DCE6E8;
}
.lplc-thread-list{gap:0}
.lplc-message--reply{
    grid-template-columns:24px minmax(0,1fr) 22px;
    padding:5px 1px;
    border-radius:6px;
}
.lplc-message--reply .lplc-message-avatar{width:24px;height:24px;font-size:7px}
.lplc-message--reply .lplc-message-name{font-size:9.5px}
.lplc-message--reply .lplc-message-text{font-size:9.8px;line-height:1.38}

/* Modern composer: lighter shell, modern emoji-plus trigger, teal send. */
.lplc-composer-wrap{padding:6px 7px 7px;border-top:1px solid #E8EDEF;background:#fff}
.lplc-composer{
    min-height:42px;
    padding:3px;
    grid-template-columns:36px minmax(0,1fr) 36px;
    gap:2px;
    border:1px solid #DCE5E7;
    border-radius:13px;
    background:#F8FAFA;
}
.lplc-composer:focus-within{border-color:#8FB0B6;box-shadow:0 0 0 3px rgba(49,91,96,.10)}
.lplc-composer textarea{
    min-height:34px;
    max-height:90px;
    padding:8px 4px;
    color:#334B54;
    font-size:10.5px;
    line-height:1.4;
}
.lplc-emoji-toggle,
.lplc-send{
    width:36px;height:36px;min-width:36px;min-height:36px;padding:0;
    border-radius:10px;display:inline-flex;align-items:center;justify-content:center;
}
.lplc-emoji-toggle{background:transparent;color:#647B84}
.lplc-emoji-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75}
.lplc-emoji-toggle:hover,
.lplc-emoji-toggle:focus,
.lplc-emoji-toggle:focus-visible,
.lplc-emoji-toggle[aria-expanded="true"]{background:#EAF1F2;color:var(--lplc-teal);box-shadow:none}
.lplc-send{background:var(--lplc-teal);color:#fff}
.lplc-send svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
.lplc-send:hover,.lplc-send:focus,.lplc-send:focus-visible{background:var(--lplc-teal-hover);color:#fff}
.lplc-send:disabled{background:#DCE5E7;color:#95A4AA;opacity:1;cursor:not-allowed}

/* Emoji popover is a clean utility surface, not a large accent block. */
.lplc-emoji-picker{
    width:250px;
    padding:8px;
    border:1px solid #DFE7E9;
    border-radius:14px;
    background:#fff;
    box-shadow:0 16px 38px rgba(12,39,48,.18);
}
.lplc-emoji-grid{grid-template-columns:repeat(6,1fr);gap:3px}
.lplc-emoji-grid button{
    width:35px;height:35px;min-width:35px;min-height:35px;padding:0;
    border-radius:9px;background:transparent;font-size:18px;
}
.lplc-emoji-grid button:hover,
.lplc-emoji-grid button:focus,
.lplc-emoji-grid button:focus-visible{background:#EEF3F4;color:inherit;box-shadow:none}
.lplc-emoji-picker__head button:hover,
.lplc-emoji-picker__head button:focus,
.lplc-emoji-picker__head button:focus-visible{background:#EEF3F4;color:var(--lplc-teal);box-shadow:none}

/* Reply preview: compact context, no oversized decoration. */
.lplc-reply-preview{
    margin:0 0 4px;
    padding:5px 6px 5px 8px;
    border-left:2px solid var(--lplc-teal);
    border-radius:7px;
    background:#F5F8F8;
}
.lplc-reply-preview small,.lplc-reply-preview small strong{font-size:7.5px}
.lplc-reply-preview em{max-width:100%;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Utility states use navy/teal; semantic colors stay semantic. */
.lplc-new-messages,
.lplc-new-messages:hover,
.lplc-new-messages:focus,
.lplc-new-messages:focus-visible{
    background:var(--lplc-navy);
    color:#fff;
    box-shadow:0 8px 18px rgba(23,59,131,.14);
}
.lplc-mention{background:#EEF3FF;color:var(--lplc-navy)}
.lplc-message.is-mentioned{background:#FFF9EE}

/* Keep buttons centered and resist broad theme/Elementor button rules. */
.lplc-shell button,
.lplc-shell [type="button"],
.lplc-shell [type="submit"]{
    box-sizing:border-box;
    line-height:1;
    font-family:inherit;
    -webkit-tap-highlight-color:transparent;
}
.lplc-shell button:focus,
.lplc-shell button:focus-visible,
.lplc-shell [type="button"]:focus,
.lplc-shell [type="button"]:focus-visible,
.lplc-shell [type="submit"]:focus,
.lplc-shell [type="submit"]:focus-visible{
    outline:2px solid var(--lplc-teal);
    outline-offset:2px;
}

@media(max-width:767px){
    .lplc-message{grid-template-columns:28px minmax(0,1fr) 23px;column-gap:6px;padding:5px 2px;}
    .lplc-message-avatar{width:28px;height:28px}
    .lplc-message-text{font-size:10.25px}
    .lplc-message-text.is-clamped{-webkit-line-clamp:3}
    .lplc-player-actions{right:7px;bottom:62px}
    .lplc-action-button{height:32px;min-width:37px;padding:0 8px}
    .lplc-composer{grid-template-columns:34px minmax(0,1fr) 34px}
    .lplc-emoji-toggle,.lplc-send{width:34px;height:34px;min-width:34px;min-height:34px}
}

@media(prefers-reduced-motion:reduce){
    .lplc-action-button,.lplc-message,.lplc-share-platform>span{transition:none;}
}

/* ========================================================================
   v1.0.14 — dedicated player + Live Chat UI/UX cleanup
   Three-zone chat hierarchy, compact presence popover, calmer comments,
   zero-count suppression, stronger composer, and grouped player controls.
   ======================================================================== */
.lplc-shell{
    --lplc-bg:#fff;
    --lplc-soft:#F6F8F9;
    --lplc-soft-2:#EEF3F4;
    --lplc-border:#E2E8EA;
    --lplc-text:#344B54;
    --lplc-muted:#7D8D93;
    --lplc-teal:#315B60;
    --lplc-teal-hover:#274A4F;
    --lplc-navy:#173B83;
    --lplc-gold:#F8B861;
    --lplc-like:#2F80ED;
    --lplc-love:#E5526D;
    --lplc-dislike:#69777E;
}

/* PLAYER — one control system, grouped by purpose. */
.lplc-controls{
    height:58px;
    padding:0 13px;
    display:grid;
    grid-template-columns:auto minmax(110px,1fr) auto;
    align-items:center;
    gap:12px;
    background:linear-gradient(180deg,rgba(5,17,22,.34),rgba(5,17,22,.96) 48%);
}
.lplc-controls__left,.lplc-controls__right{
    min-width:0;
    display:flex;
    align-items:center;
    gap:5px;
}
.lplc-controls__right{justify-content:flex-end}
.lplc-controls__timeline{
    min-width:0;
    display:grid;
    grid-template-columns:minmax(80px,1fr) auto;
    align-items:center;
    gap:8px;
}

.lplc-time-label{
    min-width:42px;
    color:rgba(255,255,255,.82);
    font-size:9px;
    font-variant-numeric:tabular-nums;
    text-align:right;
    white-space:nowrap;
}
.lplc-control-live{margin:0 1px;font-size:9px;white-space:nowrap}
.lplc-quality-auto{height:28px;min-width:42px;padding:0 8px;border-radius:8px;font-size:8px;letter-spacing:.04em}
.lplc-go-live{height:30px;min-height:30px;padding:0 9px;border-radius:999px;font-size:8px;font-weight:850;white-space:nowrap}
.lplc-shell .lplc-control{
    width:34px;height:34px;min-width:34px;min-height:34px;flex:0 0 34px;
    border-radius:9px;
}
.lplc-shell .lplc-control svg{width:17px;height:17px}


/* Player reactions stay compact and secondary to the video. */
.lplc-player-actions{
    right:12px;
    bottom:67px;
    padding:2px;
    gap:1px;
    border-radius:11px;
    background:rgba(5,17,22,.74);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 8px 20px rgba(0,0,0,.17);
    backdrop-filter:blur(8px);
}
.lplc-action-button{height:30px;min-width:36px;padding:0 8px;border-radius:9px;font-size:9.5px;gap:4px}
.lplc-action-button svg{width:15px;height:15px}
.lplc-action-button[data-lplc-reaction="like"]{color:#76B0FF}
.lplc-action-button[data-lplc-reaction="love"]{color:#FF879B}
.lplc-action-button[data-lplc-reaction="like"].is-active{background:var(--lplc-like);color:#fff}
.lplc-action-button[data-lplc-reaction="love"].is-active{background:var(--lplc-love);color:#fff}

/* CHAT ZONE 1 — header/presence. */
.lplc-chat{position:relative;background:#fff;border-color:#DDE5E7}
.lplc-chat-header{
    height:50px;min-height:50px;
    padding:0 7px 0 12px;
    background:var(--lplc-teal);
    border-bottom:0;
}
.lplc-chat-header__title{display:flex;align-items:center;gap:7px;min-width:0}
.lplc-chat-header__title strong{font-size:15px;line-height:1;font-weight:850;letter-spacing:-.015em}
.lplc-chat-live-dot{width:6px;height:6px;box-shadow:0 0 0 3px rgba(255,255,255,.10)}
.lplc-chat-header__activity{gap:5px;font-size:8.5px;white-space:nowrap}
.lplc-chat-watchers{color:rgba(255,255,255,.82)}
.lplc-chat-watchers b{color:#fff;font-weight:850}
.lplc-chat-connection{width:16px;height:16px;display:grid;place-items:center}
.lplc-chat-connection i{width:6px;height:6px}
.lplc-chat-collapse{
    width:30px;height:30px;min-width:30px;min-height:30px;flex:0 0 30px;
    padding:0;border:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;
    background:rgba(255,255,255,.11);color:#fff;
}
.lplc-chat-collapse svg{width:14px;height:14px;margin:0}
.lplc-chat-collapse:hover,.lplc-chat-collapse:focus,.lplc-chat-collapse:focus-visible{background:rgba(255,255,255,.19);color:#fff;box-shadow:none}
.lplc-chat-presence{
    width:auto;height:28px;min-height:28px;padding:0 7px;border:1px solid rgba(255,255,255,.15);border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;gap:4px;background:rgba(255,255,255,.09);color:#fff;box-shadow:none;
}
.lplc-chat-presence svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7}
.lplc-chat-presence b{font-size:8px;font-weight:900}
.lplc-chat-presence:hover,.lplc-chat-presence:focus,.lplc-chat-presence:focus-visible,.lplc-chat-presence[aria-expanded="true"]{background:rgba(255,255,255,.18);color:#fff;box-shadow:none}
.lplc-presence-popover{
    position:absolute;z-index:85;top:45px;right:8px;width:220px;max-width:calc(100% - 16px);
    padding:8px;border:1px solid var(--lplc-border);border-radius:12px;background:#fff;box-shadow:0 16px 38px rgba(9,34,43,.20);
}
.lplc-presence-popover__head{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 3px 5px 5px;border-bottom:1px solid #EEF2F3}
.lplc-presence-popover__head strong{font-size:10px;color:var(--lplc-navy)}
.lplc-presence-popover__head button{width:26px;height:26px;min-width:26px;min-height:26px;padding:0;border:0;border-radius:7px;display:grid;place-items:center;background:#F2F5F6;color:#647880}
.lplc-presence-popover__head button svg{width:13px;height:13px}
.lplc-presence-popover__head button:hover,.lplc-presence-popover__head button:focus{background:#E8EFF0;color:var(--lplc-teal)}
.lplc-presence-list{padding-top:5px;display:grid;gap:2px}
.lplc-presence-person{min-height:36px;padding:4px 5px;border-radius:8px;display:grid;grid-template-columns:27px minmax(0,1fr) 7px;align-items:center;gap:7px}
.lplc-presence-person:hover{background:#F6F8F9}
.lplc-presence-person__avatar{width:27px;height:27px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#E8EFF0;color:var(--lplc-teal);font-size:8px;font-weight:900}
.lplc-presence-person__avatar img{width:100%;height:100%;object-fit:cover}
.lplc-presence-person strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344C55;font-size:9.5px;font-weight:800}
.lplc-presence-person>i{width:6px;height:6px;border-radius:50%;background:#46A66F}
.lplc-presence-more{padding:7px;color:#7C8D93;font-size:8.5px;text-align:center}

/* CHAT ZONE 2 — pinned note + conversation. */
.lplc-pinned{
    margin:6px 7px 3px;padding:6px 8px;border:1px solid #E1E8EA;border-radius:8px;background:#FAFBFB;box-shadow:none;
}
.lplc-pinned__title{gap:5px;margin:0;color:#47616A}
.lplc-pinned__title svg{width:11px;height:11px}
.lplc-pinned__title strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;font-weight:850}
.lplc-pinned p{margin:2px 0 0;font-size:9.5px;line-height:1.32;color:#61747B;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.lplc-messages-wrap{min-height:0;position:relative}
.lplc-messages{padding:3px 5px 8px;scrollbar-width:thin;scrollbar-color:#D7E0E2 transparent;scroll-behavior:smooth}
.lplc-messages::-webkit-scrollbar{width:5px}.lplc-messages::-webkit-scrollbar-track{background:transparent}.lplc-messages::-webkit-scrollbar-thumb{background:#D5DEE0;border-radius:999px}.lplc-messages::-webkit-scrollbar-thumb:hover{background:#BFCBCD}
.lplc-message{
    grid-template-columns:30px minmax(0,1fr) 26px;column-gap:7px;padding:7px 4px;border-radius:8px;background:transparent;border:0;
}
.lplc-message:hover{background:#F8FAFA;}
.lplc-message.is-host{background:rgba(248,184,97,.055);box-shadow:inset 2px 0 0 rgba(248,184,97,.78)}
.lplc-message.is-mentioned{background:#F3F6FB;box-shadow:inset 2px 0 0 rgba(23,59,131,.55)}
.lplc-message-avatar{width:30px;height:30px;box-shadow:0 0 0 1px #E4EAEC}
.lplc-message-head{min-height:15px;gap:4px;align-items:center;flex-wrap:nowrap}
.lplc-message-name,button.lplc-message-name{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243E49;font-size:11.5px;line-height:1.15;font-weight:850}
.lplc-message-time{font-size:8.5px;color:#96A3A8;white-space:nowrap}
.lplc-host-badge,.lplc-mod-badge{height:14px;padding:0 4px;border-radius:4px;font-size:6.5px;line-height:14px;font-weight:900}
.lplc-host-badge{background:#FFF3DD;color:#8A5B17;border:1px solid #F5D69E}
.lplc-mod-badge{background:#EAF0FA;color:var(--lplc-navy);border:1px solid #D8E3F4}
.lplc-message-text{margin:3px 0 0;font-size:11.5px;line-height:1.42;color:#405761}
.lplc-message-text.is-clamped{-webkit-line-clamp:4}
.lplc-message--reply .lplc-message-text.is-clamped{-webkit-line-clamp:3}
.lplc-message-readmore,.lplc-message-readmore:hover,.lplc-message-readmore:focus,.lplc-message-readmore:focus-visible{
    height:18px;min-height:18px;margin:0;padding:0;border:0;background:transparent;color:var(--lplc-teal);font-size:8.5px;font-weight:850;box-shadow:none;text-decoration:none;
}
.lplc-message-readmore:hover,.lplc-message-readmore:focus{color:var(--lplc-navy);text-decoration:underline;text-underline-offset:2px}
.lplc-message-actions{min-height:21px;margin-top:2px;gap:7px;flex-wrap:wrap}
.lplc-message-action,.lplc-thread-toggle{
    height:21px;min-height:21px;min-width:0;padding:0 1px;border:0;border-radius:0;background:transparent;color:#7A898F;font-size:8.5px;font-weight:750;gap:3px;box-shadow:none;
}
.lplc-message-action svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}
.lplc-message-action--reply{color:#687C84}
.lplc-message-action--reply:hover,.lplc-message-action--reply:focus,.lplc-message-action--reply:focus-visible{background:transparent;color:var(--lplc-teal);text-decoration:none}
.lplc-message-react--like{color:#84939A}
.lplc-message-react--like:hover,.lplc-message-react--like:focus,.lplc-message-react--like.is-active{background:transparent;border:0;color:var(--lplc-like)}
.lplc-message-react--dislike{color:#89969B}
.lplc-message-react--dislike:hover,.lplc-message-react--dislike:focus,.lplc-message-react--dislike.is-active{background:transparent;border:0;color:var(--lplc-dislike)}
.lplc-message-react span[hidden]{display:none}
.lplc-thread-toggle{color:var(--lplc-teal);font-weight:850}
.lplc-thread-toggle:hover,.lplc-thread-toggle:focus{background:transparent;color:var(--lplc-navy);text-decoration:none}



.lplc-thread{margin:4px 0 0;padding:2px 0 0 8px;border-left:1px solid #DCE5E7}
.lplc-message--reply{grid-template-columns:25px minmax(0,1fr) 24px;padding:5px 2px}
.lplc-message--reply .lplc-message-avatar{width:25px;height:25px}
.lplc-message--reply .lplc-message-name{font-size:10.5px}
.lplc-message--reply .lplc-message-text{font-size:10.7px;line-height:1.4}
.lplc-new-messages{
    position:absolute;z-index:12;right:10px;bottom:8px;height:29px;min-height:29px;padding:0 10px;border-radius:999px;background:var(--lplc-navy);color:#fff;font-size:8.5px;font-weight:850;box-shadow:0 8px 20px rgba(23,59,131,.18);
}
.lplc-new-messages:hover,.lplc-new-messages:focus{background:#102D69;color:#fff}

/* CHAT ZONE 3 — typing/reply/composer. */
.lplc-composer-wrap{padding:4px 7px 7px;border-top:1px solid #E8EDEF;background:#fff}
.lplc-typing{min-height:20px;padding:0 4px 3px;border:0;background:transparent;color:#839198;font-size:8px}
.lplc-typing-dots i{width:3px;height:3px}
.lplc-reply-preview{margin:0 0 4px;padding:5px 7px;border-left:2px solid var(--lplc-teal);border-radius:7px;background:#F5F8F8}
.lplc-reply-preview small,.lplc-reply-preview small strong{font-size:7.5px}.lplc-reply-preview em{font-size:8px}
.lplc-composer{
    min-height:44px;padding:4px;border:1px solid #D8E2E4;border-radius:13px;background:#fff;
    grid-template-columns:34px minmax(0,1fr) 34px;gap:3px;box-shadow:0 1px 2px rgba(14,44,54,.025);
}
.lplc-composer:focus-within{border-color:#8DADB4;box-shadow:0 0 0 3px rgba(49,91,96,.09)}
.lplc-composer textarea{min-height:34px;padding:8px 3px;color:#334A53;font-size:11px;line-height:1.4}
.lplc-composer textarea::placeholder{color:#9AA7AC}
.lplc-emoji-toggle,.lplc-send{width:34px;height:34px;min-width:34px;min-height:34px;border-radius:10px;padding:0;display:grid;place-items:center}
.lplc-emoji-toggle{background:#F2F5F6;color:#627981}
.lplc-emoji-toggle:hover,.lplc-emoji-toggle:focus,.lplc-emoji-toggle[aria-expanded="true"]{background:#E7EFF0;color:var(--lplc-teal)}
.lplc-send{background:var(--lplc-teal);color:#fff}
.lplc-send:hover,.lplc-send:focus{background:var(--lplc-teal-hover);color:#fff}
.lplc-send:disabled{background:#EEF2F3;color:#B1BDC1;opacity:1}
.lplc-emoji-picker{bottom:49px;width:248px;border-radius:13px}

/* Keep every icon button centered and immune to broad theme button styling. */
.lplc-shell .lplc-control, .lplc-shell .lplc-chat-collapse, .lplc-shell .lplc-chat-presence, .lplc-shell .lplc-emoji-toggle, .lplc-shell .lplc-send, .lplc-shell .lplc-presence-popover__head button{
    box-sizing:border-box;line-height:1;-webkit-tap-highlight-color:transparent;
}

/* Fullscreen chat remains dense but readable. */
.lplc-shell.is-player-fullscreen .lplc-chat-header,.lplc-shell:fullscreen .lplc-chat-header,.lplc-shell.lplc-pseudo-fullscreen .lplc-chat-header{height:50px;min-height:50px}
.lplc-shell.is-player-fullscreen .lplc-controls,.lplc-shell:fullscreen .lplc-controls,.lplc-shell.lplc-pseudo-fullscreen .lplc-controls{height:62px;padding:0 18px}
.lplc-shell.is-player-fullscreen .lplc-player-actions,.lplc-shell:fullscreen .lplc-player-actions,.lplc-shell.lplc-pseudo-fullscreen .lplc-player-actions{bottom:72px}

@media(max-width:1050px){
    .lplc-controls{grid-template-columns:auto minmax(70px,1fr) auto;gap:7px;padding:0 9px}
    .lplc-controls__left,.lplc-controls__right{gap:3px}
    .lplc-shell .lplc-control{width:32px;height:32px;min-width:32px;min-height:32px;flex-basis:32px}
    .lplc-quality-auto{min-width:36px;padding:0 6px}
    .lplc-chat-watchers{display:none}
}
@media(max-width:767px){
    .lplc-controls{height:54px;grid-template-columns:auto minmax(60px,1fr) auto;gap:5px;padding:0 7px}
    .lplc-control-live{display:none}
    .lplc-quality-auto{display:none}
    .lplc-go-live{padding:0 7px}
    .lplc-time-label{min-width:35px;font-size:8px}
    .lplc-player-actions{right:7px;bottom:62px}
    .lplc-chat-header{height:48px;min-height:48px}
    .lplc-chat-header__title strong{font-size:14px}
    .lplc-message{grid-template-columns:28px minmax(0,1fr) 24px;column-gap:6px;padding:6px 3px;}
    .lplc-message-avatar{width:28px;height:28px}
    .lplc-message-name{font-size:11px}.lplc-message-text{font-size:11px}
    .lplc-message-text.is-clamped{-webkit-line-clamp:3}
    .lplc-presence-popover{top:43px;right:6px}
}
@media(max-width:480px){
    
    .lplc-controls{grid-template-columns:auto minmax(50px,1fr) auto}
    .lplc-shell .lplc-control{width:30px;height:30px;min-width:30px;min-height:30px;flex-basis:30px}
    .lplc-controls__right{gap:2px}
}


/* =========================================================
   v1.0.15 — lighter video scrims; preserve footage brightness
   ========================================================= */
.lplc-youtube-mask--top{
    height:68px;
    background:linear-gradient(180deg,rgba(7,17,22,.46) 0%,rgba(7,17,22,.28) 26%,rgba(7,17,22,.10) 58%,rgba(7,17,22,0) 100%);
}
.lplc-youtube-mask--bottom{
    height:66px;
    background:linear-gradient(180deg,rgba(7,17,22,0) 0%,rgba(7,17,22,.08) 36%,rgba(7,17,22,.22) 68%,rgba(7,17,22,.44) 100%);
}
.lplc-player:before{
    height:58px;
    background:linear-gradient(180deg,rgba(4,16,21,.18) 0%,rgba(4,16,21,.08) 42%,rgba(4,16,21,0) 100%);
}
.lplc-player:after{
    background:linear-gradient(180deg,rgba(5,18,22,.02) 0%,rgba(5,18,22,0) 76%,rgba(4,17,21,.10) 100%);
}
.lplc-player:fullscreen .lplc-youtube-mask--top,
.lplc-player:-webkit-full-screen .lplc-youtube-mask--top{height:74px}
.lplc-player:fullscreen .lplc-youtube-mask--bottom,
.lplc-player:-webkit-full-screen .lplc-youtube-mask--bottom{height:70px}
@media(max-width:767px){
    .lplc-youtube-mask--top{height:54px;background:linear-gradient(180deg,rgba(7,17,22,.40) 0%,rgba(7,17,22,.18) 48%,rgba(7,17,22,0) 100%)}
    .lplc-youtube-mask--bottom{height:54px;background:linear-gradient(180deg,rgba(7,17,22,0) 0%,rgba(7,17,22,.14) 52%,rgba(7,17,22,.40) 100%)}
    .lplc-player:before{height:50px}
}

/* =========================================================
   v1.0.17 — playback quality preference menu + high-quality bias
   ========================================================= */
.lplc-quality-control{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    z-index:34;
}
.lplc-control--quality{
    width:auto;
    min-width:62px;
    height:32px;
    min-height:32px;
    padding:0 9px;
    gap:5px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgba(8,25,31,.56);
    color:#fff;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.lplc-control--quality svg{
    width:14px;
    height:14px;
    flex:0 0 auto;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}
.lplc-control--quality span{
    font-size:8px;
    line-height:1;
    font-weight:900;
    letter-spacing:.055em;
    color:inherit;
}
.lplc-control--quality:hover,
.lplc-control--quality:focus,
.lplc-control--quality:focus-visible,
.lplc-control--quality[aria-expanded="true"]{
    background:rgba(49,91,96,.92);
    border-color:rgba(255,255,255,.32);
    color:#fff;
    outline:none;
    box-shadow:0 0 0 3px rgba(49,91,96,.22);
}
.lplc-quality-menu{
    position:absolute;
    right:0;
    bottom:calc(100% + 10px);
    z-index:120;
    width:246px;
    max-width:min(246px,calc(100vw - 24px));
    padding:8px;
    border:1px solid rgba(28,64,75,.16);
    border-radius:15px;
    background:rgba(255,255,255,.985);
    color:#233f49;
    box-shadow:0 18px 48px rgba(10,31,38,.24);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.lplc-quality-menu[hidden]{display:none}
.lplc-quality-menu__head{
    padding:7px 8px 8px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    border-bottom:1px solid #edf1f2;
    margin-bottom:4px;
}
.lplc-quality-menu__head strong{
    font-size:11px;
    line-height:1.2;
    font-weight:800;
    color:#173b83;
}
.lplc-quality-menu__head small{
    font-size:8.5px;
    line-height:1.2;
    font-weight:700;
    color:#71848b;
    white-space:nowrap;
}
.lplc-quality-choice{
    width:100%;
    min-height:43px;
    margin:0;
    padding:6px 8px;
    border:0;
    border-radius:10px;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    text-align:left;
    cursor:pointer;
    color:#294852;
    box-shadow:none;
}
.lplc-quality-choice>span{
    min-width:0;
    display:grid;
    gap:2px;
}
.lplc-quality-choice strong{
    font-size:10.5px;
    line-height:1.2;
    font-weight:800;
    color:#294852;
}
.lplc-quality-choice small{
    font-size:8.5px;
    line-height:1.25;
    font-weight:500;
    color:#7a8d94;
}
.lplc-quality-choice>i{
    width:16px;
    height:16px;
    flex:0 0 16px;
    border:1.5px solid #c8d4d7;
    border-radius:50%;
    background:#fff;
    position:relative;
}
.lplc-quality-choice.is-selected{
    background:#eef5f5;
}
.lplc-quality-choice.is-selected strong{color:#173b83}
.lplc-quality-choice.is-selected>i{border-color:#315b60}
.lplc-quality-choice.is-selected>i:after{
    content:"";
    position:absolute;
    inset:3px;
    border-radius:50%;
    background:#315b60;
}
.lplc-quality-choice:hover,
.lplc-quality-choice:focus,
.lplc-quality-choice:focus-visible{
    background:#f2f6f7;
    outline:none;
    box-shadow:none;
}
.lplc-quality-menu>p{
    margin:6px 7px 2px;
    padding-top:7px;
    border-top:1px solid #edf1f2;
    font-size:8px;
    line-height:1.4;
    color:#87979d;
}
/* Best-effort quality bias: render the YouTube iframe in a larger virtual
   viewport, then scale it back into the LaunchPoint player. This encourages
   adaptive HD while keeping the custom UI at normal size. YouTube still owns
   the final rendition selection. */
.lplc-player .lplc-youtube.is-quality-biased iframe{
    inset:auto;
    left:50%;
    top:50%;
    width:var(--lplc-quality-vw,1920px);
    height:var(--lplc-quality-vh,1080px);
    transform:translate(-50%,-50%) scale(var(--lplc-quality-scale,1));
    transform-origin:center center;
    max-width:none;
    max-height:none;
}
@media(max-width:900px){
    .lplc-control--quality{min-width:56px;padding:0 8px}
    .lplc-quality-menu{width:226px}
}
@media(max-width:767px){
    .lplc-control--quality{min-width:48px;height:30px;min-height:30px;padding:0 7px;gap:4px}
    .lplc-control--quality svg{width:13px;height:13px}
    .lplc-control--quality span{font-size:7.5px}
    .lplc-quality-menu{right:-6px;bottom:calc(100% + 8px);width:min(224px,calc(100vw - 20px))}
    .lplc-quality-choice{min-height:41px}
}

/* =========================================================
   v1.0.18 — truthful quality state + clearer actual/preferred UI
   ========================================================= */
.lplc-control--quality.is-quality-limited{
    border-color:rgba(248,184,97,.56);
}
.lplc-quality-menu__head{
    align-items:center;
}
.lplc-quality-menu__head small{
    padding:3px 7px;
    border-radius:999px;
    background:#eef5f5;
    color:#315b60;
    font-size:8px;
    font-weight:800;
}
.lplc-quality-choice.is-current:not(.is-selected){
    background:#f7fafb;
}
.lplc-quality-choice.is-current:not(.is-selected) strong:after{
    content:" · actual";
    color:#315b60;
    font-size:7px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.lplc-quality-status{
    margin:6px 7px 2px;
    padding:8px 0 0;
    border-top:1px solid #edf1f2;
    font-size:8px;
    line-height:1.45;
    color:#71848b;
}
.lplc-quality-status.is-limited{
    color:#8a5a18;
}

/* =========================================================
   v1.0.19 — dynamic YouTube-reported quality menu
   ========================================================= */
.lplc-quality-available{
    display:grid;
    gap:2px;
}
.lplc-quality-empty{
    margin:4px 2px 2px;
    padding:10px 9px;
    border-radius:10px;
    background:#f7fafb;
    color:#71848b;
    font-size:8.5px;
    line-height:1.4;
    font-weight:600;
}
.lplc-quality-choice--dynamic.is-current{
    background:#f2f7f7;
}
.lplc-quality-choice--dynamic.is-current strong:after{
    content:" · CURRENT";
    color:#315b60;
    font-size:7px;
    font-weight:900;
    letter-spacing:.045em;
}
.lplc-quality-status{
    color:#71848b;
}
.lplc-control--quality.is-quality-limited{
    border-color:rgba(255,255,255,.18);
}

/* =========================================================
   v1.0.20 — Direct HLS playback + true manual quality switching
   ========================================================= */
.lplc-hls-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    background:#071116;
    border:0;
    border-radius:inherit;
    pointer-events:none;
    user-select:none;
    -webkit-user-select:none;
}
.lplc-quality-empty--youtube{
    display:grid;
    gap:3px;
    padding:10px;
    border:1px solid #e7edef;
    background:#f8fafb;
}
.lplc-quality-empty--youtube strong{
    color:#173b83;
    font-size:9px;
    line-height:1.2;
    font-weight:850;
}
.lplc-quality-empty--youtube span{
    color:#6e8189;
    font-size:8px;
    line-height:1.45;
    font-weight:550;
}
.lplc-quality-choice--dynamic.is-current{
    box-shadow:inset 0 0 0 1px rgba(49,91,96,.18);
}
.lplc-quality-choice--dynamic.is-selected.is-current{
    background:#eaf4f3;
    box-shadow:inset 0 0 0 1px rgba(49,91,96,.28);
}
.lplc-quality-menu[data-engine="hls"] .lplc-quality-status{
    color:#315b60;
}


/* =========================================================
   v1.1.0 — compact DM Sans chat + premium player controls
   ========================================================= */
.lplc-shell,
.lplc-shell button,
.lplc-shell input,
.lplc-shell textarea,
.lplc-shell select{
    font-family:"DM Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.lplc-shell{
    animation:lplcPremiumShellIn .5s cubic-bezier(.22,1,.36,1) both;
}
.lplc-chat{
    border:1px solid #dce6e8;
    background:linear-gradient(180deg,#fff 0%,#fbfdfd 100%);
    box-shadow:0 16px 46px rgba(24,57,68,.08);
    overflow:hidden;
}
.lplc-chat-header{
    min-height:52px;
    padding:0 10px 0 14px;
    background:linear-gradient(135deg,#284f54 0%,#315b60 62%,#37666b 100%);
    box-shadow:0 5px 18px rgba(24,57,68,.14);
}
.lplc-chat-header strong{
    font-size:15px;
    line-height:1;
    font-weight:700;
    letter-spacing:-.025em;
}
.lplc-chat-live-dot{animation:lplcPremiumLivePulse 1.8s ease-in-out infinite}
.lplc-chat-header__activity{font-size:9px;font-weight:500;letter-spacing:0}
.lplc-chat-collapse,.lplc-chat-presence{
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.08);
    transition:transform .22s cubic-bezier(.22,1,.36,1),background .22s ease,border-color .22s ease;
}
.lplc-chat-collapse:hover,.lplc-chat-presence:hover{transform:translateY(-1px);background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.2)}
.lplc-pinned{
    margin:8px 8px 3px;
    padding:8px 10px;
    border:1px solid #dfe9ea;
    border-left:3px solid #315b60;
    border-radius:10px;
    background:linear-gradient(135deg,#f5f9f9,#fbfdfd);
    box-shadow:none;
}
.lplc-pinned__title strong{font-size:9px;font-weight:700;letter-spacing:.01em}
.lplc-pinned p{margin-top:2px;font-size:9.5px;line-height:1.38;font-weight:400}
.lplc-messages{padding:5px 7px 9px;scrollbar-width:thin;scrollbar-color:#c4d2d5 transparent}
.lplc-messages::-webkit-scrollbar{width:5px}.lplc-messages::-webkit-scrollbar-track{background:transparent}.lplc-messages::-webkit-scrollbar-thumb{border-radius:999px;background:#c4d2d5}
.lplc-message{
    grid-template-columns:30px minmax(0,1fr) 20px;
    column-gap:8px;
    padding:6px 4px;
    border-radius:10px;
    transition:background .2s ease,transform .2s cubic-bezier(.22,1,.36,1),opacity .2s ease;
}
.lplc-message:hover{background:#f3f7f8;}
.lplc-message.is-entering{animation:lplcPremiumMessageIn .3s cubic-bezier(.22,1,.36,1) both}
.lplc-message-avatar{width:30px;height:30px;font-size:9px;font-weight:700;box-shadow:0 0 0 1px rgba(49,91,96,.08)}
.lplc-message-head{min-height:15px;gap:5px}
.lplc-message-name{font-size:10.5px;line-height:1.15;font-weight:700;letter-spacing:-.012em}
.lplc-message-time{font-size:8px;line-height:1;font-weight:400}
.lplc-message-text{margin-top:2px;font-size:10.5px;line-height:1.42;font-weight:400;color:#425861}
.lplc-message-action{font-size:8px;font-weight:600;transition:background .18s ease,color .18s ease,transform .18s ease}
.lplc-message-action:hover{transform:translateY(-1px)}


.lplc-mod-badge,.lplc-host-badge{font-family:"DM Sans",sans-serif;font-weight:700;letter-spacing:.025em}
.lplc-typing{font-size:8.5px;font-weight:500;color:#60767e}
.lplc-composer-wrap{
    padding:6px 8px 8px;
    border-top:1px solid #e6edef;
    background:rgba(255,255,255,.98);
    box-shadow:0 -8px 24px rgba(25,58,69,.035);
}
.lplc-reply-preview{animation:lplcPremiumReplyIn .22s cubic-bezier(.22,1,.36,1) both}
.lplc-composer{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto 36px;
    align-items:end;
    gap:3px;
    min-height:44px;
    padding:4px 5px;
    border:1px solid #d5e1e4;
    border-radius:14px;
    background:#f8fbfb;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
    transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.lplc-composer:focus-within{
    border-color:#7fa3aa;
    background:#fff;
    box-shadow:0 0 0 3px rgba(49,91,96,.1),0 10px 26px rgba(26,61,72,.07);
}
.lplc-composer textarea{
    align-self:center;
    min-height:32px;
    max-height:86px;
    padding:7px 3px;
    font-size:11px;
    line-height:1.42;
    font-weight:400;
    color:#263f49;
}
.lplc-composer textarea::placeholder{color:#8c9ca2;font-weight:400}
.lplc-character-count{
    align-self:center;
    min-width:29px;
    color:#9aa8ad;
    font-size:7px;
    line-height:1;
    font-weight:600;
    font-variant-numeric:tabular-nums;
    opacity:0;
    transition:opacity .18s ease,color .18s ease;
}
.lplc-composer:focus-within .lplc-character-count,.lplc-composer textarea:not(:placeholder-shown)+.lplc-character-count{opacity:1}
.lplc-character-count.is-near-limit{color:#b74955}
.lplc-emoji-toggle{
    align-self:center;
    width:32px;
    height:32px;
    border:1px solid transparent;
    border-radius:10px;
    background:transparent;
    color:#607880;
    transition:transform .2s cubic-bezier(.22,1,.36,1),background .2s ease,color .2s ease,border-color .2s ease;
}
.lplc-emoji-toggle svg{width:18px;height:18px;stroke-width:1.75}
.lplc-emoji-toggle:hover,.lplc-emoji-toggle:focus-visible,.lplc-emoji-toggle[aria-expanded="true"]{
    transform:translateY(-1px) scale(1.03);
    border-color:#d3e1e3;
    background:#eaf2f3;
    color:#315b60;
}
.lplc-send{
    align-self:center;
    width:34px;
    height:34px;
    border-radius:11px;
    background:linear-gradient(135deg,#315b60,#244b50);
    color:#fff;
    box-shadow:0 7px 16px rgba(39,81,87,.2);
    transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s ease,filter .2s ease;
}
.lplc-send:hover:not(:disabled){transform:translateY(-1px) scale(1.035);box-shadow:0 10px 22px rgba(39,81,87,.27);filter:brightness(1.05)}
.lplc-send:active:not(:disabled){transform:translateY(0) scale(.97)}
.lplc-send:disabled{background:#c8d3d6;color:#f7f9f9;box-shadow:none;opacity:.72}
.lplc-send svg{width:15px;height:15px;stroke-width:1.9;transform:translateX(1px)}
.lplc-composer-status{min-height:10px;margin:3px 3px 0;font-size:8px;line-height:1.25;font-weight:500}

.lplc-emoji-picker{
    left:7px;
    bottom:57px;
    width:min(320px,calc(100% - 14px));
    height:min(390px,70vh);
    padding:10px;
    border:1px solid #d8e3e5;
    border-radius:16px;
    background:rgba(255,255,255,.98);
    box-shadow:0 22px 60px rgba(19,51,62,.2),0 3px 10px rgba(19,51,62,.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    overflow:hidden;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto minmax(0,1fr);
    gap:8px;
    transform-origin:bottom left;
}
.lplc-emoji-picker.is-opening{animation:lplcPremiumPickerIn .24s cubic-bezier(.22,1,.36,1) both}
.lplc-emoji-picker__head{padding:0 1px}
.lplc-emoji-picker__head>div{display:grid;gap:1px}
.lplc-emoji-picker__head strong{font-size:11px;font-weight:700;color:#29454f}
.lplc-emoji-picker__head small{font-size:8px;font-weight:400;color:#84959b}
.lplc-emoji-picker__head button{width:27px;height:27px;border:1px solid transparent;border-radius:8px;transition:background .18s ease,transform .18s ease}
.lplc-emoji-picker__head button:hover{background:#edf3f4;transform:rotate(4deg)}
.lplc-emoji-search{
    min-height:35px;
    display:grid;
    grid-template-columns:18px minmax(0,1fr) 24px;
    align-items:center;
    gap:4px;
    padding:0 6px 0 9px;
    border:1px solid #dce6e8;
    border-radius:10px;
    background:#f7fafb;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.lplc-emoji-search:focus-within{border-color:#88a9af;background:#fff;box-shadow:0 0 0 3px rgba(49,91,96,.08)}
.lplc-emoji-search>svg{width:15px;height:15px;fill:none;stroke:#71868e;stroke-width:1.8}
.lplc-emoji-search input{width:100%;height:31px;padding:0;border:0;outline:0;background:transparent;box-shadow:none;color:#314b55;font-size:10px;font-weight:400}
.lplc-emoji-search input::-webkit-search-cancel-button{display:none}
.lplc-emoji-search button{width:22px;height:22px;padding:0;border:0;border-radius:6px;background:transparent;color:#7f9096;display:grid;place-items:center}
.lplc-emoji-search button:hover{background:#e9f0f1;color:#315b60}
.lplc-emoji-search button svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2}
.lplc-emoji-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:3px;border-radius:11px;background:#f2f6f7}
.lplc-emoji-tabs button{height:31px;padding:0;border:0;border-radius:8px;background:transparent;font-size:15px;line-height:1;cursor:pointer;filter:grayscale(.22);transition:background .18s ease,transform .18s cubic-bezier(.22,1,.36,1),filter .18s ease}
.lplc-emoji-tabs button:hover{background:rgba(255,255,255,.8);transform:translateY(-1px);filter:none}
.lplc-emoji-tabs button[aria-selected="true"]{background:#fff;box-shadow:0 2px 8px rgba(31,68,80,.1);filter:none;transform:translateY(-1px)}
.lplc-emoji-results{min-height:0;overflow-y:auto;padding:0 2px 3px;scrollbar-width:thin;scrollbar-color:#c7d4d7 transparent}
.lplc-emoji-results::-webkit-scrollbar{width:4px}.lplc-emoji-results::-webkit-scrollbar-thumb{border-radius:99px;background:#c7d4d7}
.lplc-emoji-section>strong{display:block;margin:2px 2px 6px;color:#758991;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.lplc-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}
.lplc-emoji-grid button{aspect-ratio:1;min-width:0;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;font-size:19px;line-height:1;transition:background .15s ease,border-color .15s ease,transform .18s cubic-bezier(.22,1,.36,1)}
.lplc-emoji-grid button:hover,.lplc-emoji-grid button:focus-visible{border-color:#dce6e8;background:#eef4f5;transform:translateY(-2px) scale(1.08)}
.lplc-emoji-empty{margin:26px 0;text-align:center;color:#82949a;font-size:10px;font-weight:500}

.lplc-controls{
    grid-template-columns:auto minmax(110px,440px) auto;
    gap:9px;
    height:58px;
    padding:0 14px;
}
.lplc-controls__timeline{width:100%;max-width:440px;justify-self:center;gap:7px}







.lplc-time-label{min-width:48px;font-size:10px;font-weight:600}
.lplc-control,.lplc-go-live{
    height:34px;
    min-width:34px;
    border-radius:10px;
    transition:transform .2s cubic-bezier(.22,1,.36,1),background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.lplc-control:hover,.lplc-go-live:hover{transform:translateY(-1px);background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.25);box-shadow:0 7px 16px rgba(0,0,0,.14)}
.lplc-control:active,.lplc-go-live:active{transform:translateY(0) scale(.96)}



.lplc-control[data-lplc-volume] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75}
.lplc-control[data-lplc-volume].is-muted{background:rgba(231,68,79,.12);border-color:rgba(255,154,164,.3);color:#fff}
.lplc-control[data-lplc-volume].is-muted:hover{background:rgba(231,68,79,.2);border-color:rgba(255,172,180,.46)}
.lplc-quality-control{font-family:"DM Sans",sans-serif}
.lplc-control--quality,.lplc-control--quality-readonly{
    min-width:58px;
    gap:4px;
    padding:0 9px;
    font-size:10px;
    line-height:1;
    font-weight:700;
    letter-spacing:0;
    text-transform:none;
}
.lplc-control--quality>svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s ease}
.lplc-control--quality[aria-expanded="true"]>svg{transform:rotate(180deg)}
.lplc-control--quality-readonly{cursor:default;color:rgba(255,255,255,.88)}
.lplc-control--quality-readonly>svg{display:none}
.lplc-quality-menu{border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.24);animation:lplcPremiumPickerIn .2s cubic-bezier(.22,1,.36,1) both}
.lplc-quality-menu__head strong,.lplc-quality-choice strong{font-family:"DM Sans",sans-serif;font-weight:700}

@keyframes lplcPremiumShellIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes lplcPremiumMessageIn{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}
@keyframes lplcPremiumPickerIn{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
@keyframes lplcPremiumReplyIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes lplcPremiumLivePulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(255,255,255,.18)}50%{opacity:.62;box-shadow:0 0 0 5px rgba(255,255,255,0)}}

@media(max-width:767px){
    .lplc-controls{grid-template-columns:auto minmax(70px,1fr) auto;height:52px;padding:0 8px;gap:5px}
    .lplc-controls__timeline{gap:5px}.lplc-time-label{min-width:40px;font-size:9px}
    
    .lplc-control--quality,.lplc-control--quality-readonly{min-width:48px;padding:0 7px;font-size:9px}
    .lplc-emoji-picker{width:min(300px,calc(100% - 14px));height:min(370px,68vh)}
    .lplc-emoji-grid{grid-template-columns:repeat(7,1fr)}
}
@media(max-width:480px){
    .lplc-message{grid-template-columns:27px minmax(0,1fr) 18px;}.lplc-message-avatar{width:27px;height:27px}
    .lplc-composer{grid-template-columns:32px minmax(0,1fr) auto 34px}.lplc-character-count{display:none}
    .lplc-emoji-grid{grid-template-columns:repeat(6,1fr)}.lplc-emoji-grid button{font-size:18px}
    .lplc-controls__timeline{min-width:0}.lplc-time-label{display:none}.lplc-control--quality>svg{display:none}
}
@media(prefers-reduced-motion:reduce){
    .lplc-shell,.lplc-message,.lplc-emoji-picker,.lplc-reply-preview,.lplc-chat-live-dot,.lplc-control,.lplc-send,.lplc-emoji-grid button{animation:none;transition:none;scroll-behavior:auto;}
}

/* v1.2.0 — multi-angle switching and final interaction polish */
.lplc-angle-stage{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;border-radius:inherit;transition:opacity .22s ease,transform .28s cubic-bezier(.22,1,.36,1)}
.lplc-angle-stage .lplc-hls-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#071014}
.lplc-player.is-angle-switching .lplc-angle-stage{opacity:.38;transform:scale(1.012)}
.lplc-angle-transition{position:absolute;z-index:9;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#fff;background:rgba(5,19,24,.25);backdrop-filter:blur(2px);pointer-events:none}
.lplc-angle-transition[hidden]{display:none}
.lplc-angle-transition span{width:30px;height:30px;border:2px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:lplcAngleSpin .72s linear infinite}
.lplc-angle-transition strong{padding:6px 10px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(9,28,34,.68);font-size:10px;font-weight:600;letter-spacing:.01em}
@keyframes lplcAngleSpin{to{transform:rotate(360deg)}}

.lplc-player-topbar__center{position:absolute;left:50%;top:0;transform:translateX(-50%);pointer-events:auto;min-width:0}
.lplc-angle-toggle{height:34px;max-width:220px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(7,25,31,.7);color:#fff;box-shadow:0 7px 20px rgba(0,0,0,.14);backdrop-filter:blur(12px);font:600 10px/1 "DM Sans",sans-serif;cursor:pointer;transition:transform .2s cubic-bezier(.22,1,.36,1),background .2s ease,border-color .2s ease}
.lplc-angle-toggle:hover,.lplc-angle-toggle:focus-visible,.lplc-angle-toggle[aria-expanded="true"]{background:rgba(20,50,58,.9);border-color:rgba(255,255,255,.34);transform:translateY(-1px);outline:0;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.lplc-angle-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lplc-angle-toggle svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.75}
.lplc-angle-toggle svg:last-child{width:12px;height:12px;transition:transform .2s ease}.lplc-angle-toggle[aria-expanded="true"] svg:last-child{transform:rotate(180deg)}
.lplc-angle-menu{position:absolute;top:42px;left:50%;width:230px;max-height:min(330px,60vh);padding:7px;overflow-x:hidden;overflow-y:auto;transform:translateX(-50%);border:1px solid rgba(214,226,228,.95);border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 20px 48px rgba(8,34,43,.24);backdrop-filter:blur(18px);color:#29454f;transform-origin:top center;animation:lplcAngleMenuIn .2s cubic-bezier(.22,1,.36,1) both}
.lplc-angle-menu[hidden]{display:none}@keyframes lplcAngleMenuIn{from{opacity:0;transform:translateX(-50%) translateY(-5px) scale(.97)}to{opacity:1;transform:translateX(-50%)}}
.lplc-angle-menu__head{display:grid;gap:2px;padding:5px 7px 8px;border-bottom:1px solid #edf2f3}.lplc-angle-menu__head strong{font-size:11px;font-weight:700}.lplc-angle-menu__head small{font-size:8px;color:#83949a}
.lplc-angle-choice{width:100%;min-width:0;display:grid;grid-template-columns:27px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:7px;border:0;border-radius:9px;background:transparent;color:#405c65;text-align:left;font:600 10px/1.2 "DM Sans",sans-serif;cursor:pointer;transition:background .17s ease,transform .17s ease,color .17s ease}
.lplc-angle-choice:hover,.lplc-angle-choice:focus-visible{background:#eef4f5;color:#244f55;outline:0;transform:translateX(1px)}
.lplc-angle-choice>span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f0f5f5}.lplc-angle-choice>span svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}
.lplc-angle-choice>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lplc-angle-choice>i{opacity:0;color:#315b60}.lplc-angle-choice>i svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2}.lplc-angle-choice.is-selected>i{opacity:1}.lplc-angle-choice.is-selected{background:#f3f7f7;color:#244f55}

.lplc-message-angle{display:inline-flex;align-items:center;max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 6px;border-radius:99px;background:#eff4f5;color:#789097;font-size:7px;font-weight:600;letter-spacing:.01em;cursor:default}

.lplc-emoji-picker{max-width:calc(100% - 14px);overflow:hidden;overscroll-behavior:contain}
.lplc-emoji-tabs{grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden}
.lplc-emoji-results,.lplc-emoji-section,.lplc-emoji-grid{min-width:0;max-width:100%;overflow-x:hidden}
.lplc-emoji-section:not([hidden]){animation:lplcEmojiSectionIn .18s cubic-bezier(.22,1,.36,1) both}
@keyframes lplcEmojiSectionIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.lplc-emoji-search input,.lplc-emoji-search input:hover,.lplc-emoji-search input:focus,.lplc-emoji-search input:focus-visible,.lplc-emoji-search input:active{width:100%;min-width:0;border:0;outline:0;box-shadow:none;background:transparent;-webkit-appearance:none;appearance:none}
.lplc-emoji-search:focus-within{outline:0;border-color:#7e9fa5;box-shadow:0 0 0 3px rgba(49,91,96,.1)}
.lplc-emoji-grid button{width:100%;max-width:100%;overflow:hidden}

@media(max-width:767px){
    .lplc-player-topbar__center{top:40px}.lplc-angle-toggle{height:30px;max-width:170px;padding:0 9px;font-size:9px}.lplc-angle-menu{top:36px;width:min(220px,70vw)}
}
@media(max-width:480px){.lplc-angle-toggle{max-width:145px}.lplc-emoji-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.lplc-angle-stage,.lplc-angle-toggle,.lplc-angle-choice,.lplc-angle-menu,.lplc-angle-transition span,.lplc-emoji-section:not([hidden]){animation:none;transition:none}}

/* =========================================================
   v1.2.8 — canonical player controls + live DVR interaction layer
   One source of truth. No forced-priority overrides.
   ========================================================= */

/* Core overflow safety. */
.lplc-chat,
.lplc-messages-wrap,
.lplc-messages,
.lplc-message,
.lplc-message-body,
.lplc-message-head,
.lplc-message-text,
.lplc-reply-quote,
.lplc-composer-wrap,
.lplc-composer{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
}
.lplc-chat,
.lplc-messages-wrap,
.lplc-messages{overflow-x:hidden}
.lplc-message-text,
.lplc-reply-quote,
.lplc-reply-quote span{
    overflow-wrap:anywhere;
    word-break:break-word;
}
.lplc-message-text a,
.lplc-reply-quote a{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-all;
}

/* Message action menu stays attached to its message and the open row owns the stack. */
.lplc-message.has-open-menu{
    position:relative;
    z-index:60;
    overflow:visible;
}
.lplc-message-menu-wrap{
    position:relative;
    z-index:2;
    align-self:start;
    width:28px;
    min-width:28px;
    display:grid;
    place-items:center;
    overflow:visible;
}
.lplc-message-menu-toggle{
    width:28px;
    height:28px;
    min-width:28px;
    min-height:28px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#7b8d93;
    cursor:pointer;
    transition:background .16s ease,color .16s ease;
}
.lplc-message-menu-toggle:hover,
.lplc-message-menu-toggle:focus-visible,
.lplc-message-menu-toggle[aria-expanded="true"]{
    background:#edf3f4;
    color:#315b60;
    outline:0;
}
.lplc-message-menu-toggle svg{
    width:16px;
    height:16px;
    display:block;
    margin:0;
    fill:currentColor;
    stroke:none;
}
.lplc-message-menu{
    position:absolute;
    z-index:3;
    top:calc(100% + 6px);
    right:0;
    width:166px;
    max-width:calc(100vw - 32px);
    padding:5px;
    overflow:hidden;
    border:1px solid #dce5e7;
    border-radius:10px;
    background:#fff;
    color:#405860;
    box-shadow:0 14px 34px rgba(8,34,43,.2);
}
.lplc-message-menu[hidden]{display:none}
.lplc-message-menu.opens-up{
    top:auto;
    bottom:calc(100% + 6px);
}
.lplc-message-menu button{
    width:100%;
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:0 10px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#4c626a;
    font:650 10px/1.2 "DM Sans",sans-serif;
    text-align:left;
    cursor:pointer;
}
.lplc-message-menu button:hover,
.lplc-message-menu button:focus-visible{
    background:#eef4f5;
    color:#244f55;
    outline:0;
}
.lplc-message-menu button.is-danger{color:#a94349}
.lplc-message-menu button.is-danger:hover,
.lplc-message-menu button.is-danger:focus-visible{
    background:#fff1f2;
    color:#94313b;
}
.lplc-message{overflow:visible;}













/* Composer is a single centered control row. */
.lplc-composer-wrap{
    display:flex;
    flex-direction:column;
    align-items:stretch;
}
.lplc-composer{
    grid-template-columns:34px minmax(0,1fr) auto 34px;
    align-items:center;
    min-height:46px;
    padding:5px 6px;
}
.lplc-composer textarea{
    align-self:center;
    min-height:32px;
    margin:0;
    padding:7px 4px;
    line-height:18px;
}
.lplc-emoji-toggle,
.lplc-send,
.lplc-character-count{
    align-self:center;
    margin:0;
}
.lplc-emoji-toggle{
    display:grid;
    place-items:center;
    padding:0;
}
.lplc-emoji-toggle svg{
    width:19px;
    height:19px;
    margin:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* Angle selector only exists when there is a real choice. */
.lplc-player-topbar__center[hidden],
[data-lplc-angle-selector][hidden]{display:none}

/* Player controls: neutral visual language, one live accent only. */
.lplc-shell .lplc-controls{
    position:absolute;
    z-index:20;
    left:0;
    right:0;
    bottom:0;
    height:62px;
    padding:12px 16px 10px;
    display:grid;
    grid-template-columns:auto minmax(100px,1fr) auto;
    grid-template-areas:"left timeline right";
    align-items:center;
    gap:10px;
    border:0;
    border-radius:0;
    background:linear-gradient(180deg,rgba(5,17,21,0) 0%,rgba(5,17,21,.72) 34%,rgba(5,17,21,.96) 100%);
    box-shadow:none;
    overflow:visible;
}
.lplc-controls__left,
.lplc-controls__right{
    display:flex;
    align-items:center;
    min-width:0;
    gap:4px;
}
.lplc-controls__left{grid-area:left;justify-content:flex-start}
.lplc-controls__right{grid-area:right;justify-content:flex-end}
.lplc-controls__timeline{
    grid-area:timeline;
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(70px,1fr) auto;
    align-items:center;
    gap:9px;
}

.lplc-shell .lplc-control{
    width:32px;
    min-width:32px;
    height:32px;
    min-height:32px;
    padding:0;
    display:grid;
    place-items:center;
    border:0;
    border-radius:8px;
    background:transparent;
    color:rgba(255,255,255,.92);
    box-shadow:none;
    cursor:pointer;
    transition:background .16s ease,color .16s ease,transform .12s ease;
}
.lplc-shell .lplc-controls .lplc-control:hover,
.lplc-shell .lplc-controls .lplc-control:focus-visible{
    border-color:transparent;
    background:#315b60;
    color:#fff;
    outline:0;
    box-shadow:none;
}
.lplc-shell .lplc-controls .lplc-control:active{
    border-color:transparent;
    background:#244a4f;
    color:#fff;
    box-shadow:none;
    transform:scale(.94);
}
.lplc-shell .lplc-controls .lplc-control.is-active,
.lplc-shell .lplc-controls .lplc-control[aria-expanded="true"]{
    border-color:transparent;
    background:#315b60;
    color:#fff;
    box-shadow:none;
}
.lplc-shell .lplc-control svg{
    width:18px;
    height:18px;
    margin:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.lplc-shell .lplc-control[data-lplc-play] svg{
    width:17px;
    height:17px;
    fill:currentColor;
    stroke:none;
}
.lplc-shell .lplc-control[data-lplc-volume].is-muted{
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.84);
}
.lplc-shell .lplc-controls .lplc-control[data-lplc-volume].is-muted:hover,
.lplc-shell .lplc-controls .lplc-control[data-lplc-volume].is-muted:focus-visible{background:#315b60;color:#fff}
.lplc-shell .lplc-controls .lplc-control[data-lplc-volume].is-muted:active{background:#244a4f;color:#fff}

/* Rewind control: icon and 30 are one centered visual unit. */
.lplc-shell .lplc-control--skip{
    width:34px;
    min-width:34px;
    position:relative;
    display:grid;
    place-items:center;
    padding:0;
}
.lplc-shell .lplc-control--skip svg{
    grid-area:1/1;
    width:22px;
    height:22px;
    margin:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.75;
}
.lplc-shell .lplc-control--skip__seconds{
    grid-area:1/1;
    display:block;
    margin:0;
    padding:0;
    color:currentColor;
    font:800 8px/1 "DM Sans",sans-serif;
    font-variant-numeric:tabular-nums;
    letter-spacing:-.04em;
    text-align:center;
    pointer-events:none;
}




/* Timeline: one interaction surface for click, drag, touch and keyboard seeking. */
.lplc-timeline{
    position:relative;
    width:100%;
    min-width:0;
    height:24px;
    display:flex;
    align-items:center;
    isolation:isolate;
    cursor:pointer;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
}
.lplc-timeline:before,
.lplc-timeline-loaded,
.lplc-timeline-played{
    position:absolute;
    left:0;
    top:50%;
    height:3px;
    transform:translateY(-50%);
    border-radius:999px;
    pointer-events:none;
}
.lplc-timeline:before{
    content:"";
    z-index:0;
    right:0;
    background:rgba(255,255,255,.22);
}
.lplc-timeline-loaded{z-index:1;width:0;background:rgba(255,255,255,.34)}
.lplc-timeline-played{z-index:2;width:0;background:rgba(255,255,255,.92);box-shadow:none}
.lplc-timeline:hover:before,
.lplc-timeline.is-previewing:before{height:5px;background:rgba(255,255,255,.28)}
.lplc-timeline:hover .lplc-timeline-loaded,
.lplc-timeline:hover .lplc-timeline-played,
.lplc-timeline.is-previewing .lplc-timeline-loaded,
.lplc-timeline.is-previewing .lplc-timeline-played{height:5px}
.lplc-timeline input[type="range"]{
    position:absolute;
    z-index:3;
    inset:0;
    width:100%;
    height:24px;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    appearance:none;
    -webkit-appearance:none;
    pointer-events:none;
}
.lplc-timeline input[type="range"]:focus{outline:0}
.lplc-timeline:has(input[type="range"]:focus-visible):after{
    content:"";
    position:absolute;
    z-index:0;
    inset:5px -3px;
    border:1px solid rgba(255,255,255,.38);
    border-radius:999px;
    pointer-events:none;
}
.lplc-timeline input[type="range"]::-webkit-slider-runnable-track{height:3px;background:transparent;border:0}
.lplc-timeline input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:12px;
    height:12px;
    margin-top:-4.5px;
    border:2px solid rgba(6,21,27,.82);
    border-radius:50%;
    background:#fff;
    box-shadow:0 1px 6px rgba(0,0,0,.32);
}
.lplc-timeline input[type="range"]::-moz-range-track{height:3px;background:transparent;border:0}
.lplc-timeline input[type="range"]::-moz-range-progress{background:transparent}
.lplc-timeline input[type="range"]::-moz-range-thumb{
    width:10px;
    height:10px;
    border:2px solid rgba(6,21,27,.82);
    border-radius:50%;
    background:#fff;
    box-shadow:0 1px 6px rgba(0,0,0,.32);
}
.lplc-timeline-preview{
    position:absolute;
    z-index:6;
    left:0;
    bottom:calc(100% + 7px);
    min-width:56px;
    max-width:132px;
    padding:5px 7px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:7px;
    background:rgba(5,18,23,.96);
    color:#fff;
    box-shadow:0 7px 18px rgba(0,0,0,.24);
    font:750 9px/1 "DM Sans",sans-serif;
    font-variant-numeric:tabular-nums;
    text-align:center;
    white-space:nowrap;
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,4px);
    transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
    pointer-events:none;
}
.lplc-timeline-preview:after{
    content:"";
    position:absolute;
    left:50%;
    top:100%;
    width:6px;
    height:6px;
    background:rgba(5,18,23,.96);
    border-right:1px solid rgba(255,255,255,.14);
    border-bottom:1px solid rgba(255,255,255,.14);
    transform:translate(-50%,-3px) rotate(45deg);
}
.lplc-timeline-preview.is-visible{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}
.lplc-timeline-preview.is-active{border-color:rgba(255,255,255,.25)}

/* Live-edge control: red only means actually LIVE; GO LIVE is a neutral action. */
.lplc-live-edge{
    min-width:48px;
    height:28px;
    padding:0 5px;
    display:inline-flex;
    align-items:center;
    justify-content:flex-end;
    gap:5px;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:#ff5967;
    font:800 8px/1 "DM Sans",sans-serif;
    letter-spacing:.035em;
    white-space:nowrap;
    cursor:default;
    transition:background .15s ease,border-color .15s ease,color .15s ease,transform .1s ease;
}
.lplc-live-edge i{
    width:6px;
    height:6px;
    flex:0 0 6px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 0 3px rgba(255,89,103,.13);
}
.lplc-live-edge.is-behind{
    min-width:58px;
    padding:0 8px;
    border-color:rgba(255,255,255,.1);
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.92);
    cursor:pointer;
}
.lplc-live-edge.is-behind i{display:none}
.lplc-live-edge.is-behind:hover,
.lplc-live-edge.is-behind:focus-visible{
    border-color:#3f6f75;
    background:#315b60;
    color:#fff;
    outline:0;
    box-shadow:none;
}
.lplc-live-edge.is-behind:active{
    border-color:#244a4f;
    background:#244a4f;
    color:#fff;
    box-shadow:none;
    transform:scale(.96);
}




.lplc-time-label{
    min-width:78px;
    color:rgba(255,255,255,.82);
    font-size:9px;
    line-height:1;
    font-weight:650;
    font-variant-numeric:tabular-nums;
    text-align:right;
    white-space:nowrap;
}

/* Quality: YouTube = read-only value; HLS = compact selector. */
.lplc-quality-control{
    position:relative;
    height:32px;
    display:flex;
    align-items:center;
    flex:0 0 auto;
}
.lplc-quality-control>[hidden]{display:none}
.lplc-quality-readout{
    min-width:44px;
    height:26px;
    padding:0 7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:7px;
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.86);
    cursor:default;
    user-select:none;
}
.lplc-quality-readout small{display:none}
.lplc-quality-readout strong{
    font-size:8px;
    line-height:1;
    font-weight:750;
    white-space:nowrap;
}
.lplc-shell .lplc-control--quality{
    width:auto;
    min-width:52px;
    padding:0 7px;
    display:inline-flex;
    gap:4px;
    font-size:8px;
    font-weight:750;
}
.lplc-shell .lplc-control--quality>svg:first-child{display:none}
.lplc-shell .lplc-control--quality>svg:last-child{width:11px;height:11px}
.lplc-shell[data-engine="youtube"] [data-lplc-quality-toggle],
.lplc-shell[data-engine="youtube"] [data-lplc-quality-menu]{display:none}
.lplc-quality-menu{right:0;bottom:40px}

.lplc-player-bottom{bottom:72px}

/* Tablet: preserve one row and allow the timeline to absorb width first. */
@media(max-width:900px){
    .lplc-live-edge{min-width:44px}
    .lplc-live-edge.is-behind{min-width:54px}
    .lplc-shell .lplc-controls{
        height:58px;
        padding:10px 10px 8px;
        grid-template-columns:auto minmax(70px,1fr) auto;
        gap:6px;
    }
    .lplc-controls__timeline{gap:6px}
    .lplc-controls__left,.lplc-controls__right{gap:2px}
    .lplc-time-label{min-width:62px;font-size:8px}
    
    
    .lplc-quality-readout{min-width:41px;padding-inline:5px}
}

/* Phones: timeline owns row one; controls own row two. No horizontal scrolling. */
@media(max-width:560px){
    .lplc-shell .lplc-control--skip{width:31px;min-width:31px}
    .lplc-live-edge{height:26px;min-width:44px}
    .lplc-live-edge.is-behind{min-width:52px;padding-inline:6px}
    .lplc-shell .lplc-controls{
        left:0;
        right:0;
        bottom:0;
        height:88px;
        padding:7px 9px 8px;
        grid-template-columns:auto minmax(0,1fr) auto;
        grid-template-rows:28px 36px;
        grid-template-areas:
            "timeline timeline timeline"
            "left . right";
        row-gap:4px;
        column-gap:4px;
    }
    .lplc-controls__timeline{
        width:100%;
        grid-template-columns:minmax(0,1fr) auto;
        gap:6px;
    }
    .lplc-controls__left,.lplc-controls__right{gap:2px}
    .lplc-shell .lplc-control{
        width:30px;
        min-width:30px;
        height:30px;
        min-height:30px;
    }
    
    .lplc-shell .lplc-control svg{width:17px;height:17px}
    .lplc-quality-control{height:30px}
    .lplc-quality-readout{height:26px;min-width:40px;padding-inline:5px}
    .lplc-shell .lplc-control--quality{min-width:44px;padding-inline:5px}
    .lplc-time-label{min-width:64px;font-size:8px}
    
    
    .lplc-player-bottom{bottom:98px}
}

@media(max-width:380px){
    .lplc-shell .lplc-control--skip{width:29px;min-width:29px}
    .lplc-shell .lplc-control--skip__seconds{font-size:7.5px}
    .lplc-shell .lplc-controls{padding-inline:6px}
    .lplc-shell .lplc-control{width:28px;min-width:28px;height:28px;min-height:28px}
    
    .lplc-quality-readout{min-width:38px;padding-inline:4px}
    .lplc-shell .lplc-control--quality{min-width:40px;padding-inline:4px}
    .lplc-controls__left,.lplc-controls__right{gap:1px}
}

@media(prefers-reduced-motion:reduce){
    .lplc-shell .lplc-control,
    .lplc-live-edge{transition:none}
}


/* =========================================================
   v1.2.13 — authoritative mobile + fullscreen responsive layer
   Keeps desktop behavior intact while making phone portrait/landscape,
   native fullscreen and pseudo-fullscreen use one predictable layout.
   ========================================================= */
.lplc-shell{
    --lplc-safe-top:env(safe-area-inset-top,0px);
    --lplc-safe-right:env(safe-area-inset-right,0px);
    --lplc-safe-bottom:env(safe-area-inset-bottom,0px);
    --lplc-safe-left:env(safe-area-inset-left,0px);
}
html.lplc-fullscreen-lock,
body.lplc-fullscreen-lock{
    overscroll-behavior:none;
    -webkit-overflow-scrolling:auto;
}

/* General phone layout: no accidental horizontal overflow and more usable controls. */
@media(max-width:767px){
    .lplc-shell{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        overflow-x:hidden;
    }
    .lplc-player,.lplc-chat{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
    .lplc-player{isolation:isolate}
    .lplc-player-topbar{left:9px;right:9px;top:9px;gap:6px}
    .lplc-location-pill,.lplc-featured-pill{display:none}
    .lplc-status-pill,.lplc-viewers-pill{height:30px;padding:0 9px;font-size:9px}
    .lplc-viewers-text{display:none}
    .lplc-player-topbar__center{top:37px}
    .lplc-angle-toggle{height:30px;max-width:min(150px,46vw)}
    .lplc-angle-menu{width:min(230px,calc(100vw - 24px));max-height:min(300px,52vh)}

    .lplc-shell .lplc-controls{
        overflow:visible;
        box-sizing:border-box;
    }
    .lplc-timeline{min-height:30px;height:30px}
    .lplc-timeline input[type="range"]{height:30px}
    .lplc-timeline input[type="range"]::-webkit-slider-thumb{width:15px;height:15px;margin-top:-6px}
    .lplc-timeline input[type="range"]::-moz-range-thumb{width:13px;height:13px}
    .lplc-timeline-preview{bottom:calc(100% + 4px);font-size:8.5px}

    .lplc-chat{
        min-height:0;
        overscroll-behavior:contain;
    }
    .lplc-messages-wrap,.lplc-messages{min-height:0;overscroll-behavior:contain}
    .lplc-composer-wrap{padding-bottom:max(8px,var(--lplc-safe-bottom))}
    .lplc-composer textarea{font-size:16px;line-height:1.3} /* prevents iOS focus zoom */
    .lplc-emoji-picker{max-width:calc(100vw - 28px)}
}

@media(max-width:560px){
    .lplc-shell .lplc-controls{
        height:94px;
        padding:7px 9px 9px;
        grid-template-rows:30px 40px;
        row-gap:5px;
    }
    .lplc-shell .lplc-control{
        width:36px;
        min-width:36px;
        height:36px;
        min-height:36px;
        border-radius:9px;
    }
    .lplc-shell .lplc-control--skip{width:36px;min-width:36px}
    .lplc-controls__left,.lplc-controls__right{gap:2px}
    .lplc-quality-control{height:36px}
    .lplc-quality-readout{height:28px;min-width:40px}
    .lplc-shell .lplc-control--quality{height:36px;min-width:44px}
    .lplc-player-bottom{bottom:104px}
    .lplc-player-actions{bottom:102px}
}

@media(max-width:420px){
    .lplc-shell[data-engine="youtube"] .lplc-quality-readout{display:none}
    .lplc-shell .lplc-controls{padding-inline:7px}
    .lplc-shell .lplc-control{width:34px;min-width:34px;height:34px;min-height:34px}
    .lplc-shell .lplc-control--skip{width:34px;min-width:34px}
    .lplc-controls__left,.lplc-controls__right{gap:1px}
}

/* Every fullscreen mode gets the measured visual viewport. This avoids 100vh
   jumps on mobile browsers and remains stable when browser chrome changes. */
.lplc-shell.is-lplc-fullscreen-shell{
    width:100vw;
    max-width:none;
    height:var(--lplc-viewport-height,100vh);
    max-height:var(--lplc-viewport-height,100vh);
    min-height:var(--lplc-viewport-height,100vh);
    padding:0;
    border:0;
    border-radius:0;
    background:#000;
    overflow:hidden;
    overscroll-behavior:none;
}
@supports(height:100dvh){
    .lplc-shell.is-lplc-fullscreen-shell{
        height:var(--lplc-viewport-height,100dvh);
        max-height:var(--lplc-viewport-height,100dvh);
        min-height:var(--lplc-viewport-height,100dvh);
    }
}
.lplc-shell.lplc-pseudo-fullscreen{
    position:fixed;
    top:var(--lplc-viewport-offset-top,0px);
    left:var(--lplc-viewport-offset-left,0px);
    right:auto;
    bottom:auto;
    width:var(--lplc-viewport-width,100vw);
    height:var(--lplc-viewport-height,100vh);
    max-width:none;
    max-height:none;
    z-index:2147483000;
}
.lplc-shell.is-lplc-fullscreen-shell > .lplc-player{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    max-height:none;
    aspect-ratio:auto;
    border-radius:0;
}
.lplc-shell.is-lplc-fullscreen-shell .lplc-media,
.lplc-shell.is-lplc-fullscreen-shell .lplc-angle-stage{inset:0;width:100%;height:100%}

/* Phone fullscreen — shared portrait + landscape fundamentals. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-player-topbar{
    top:calc(var(--lplc-safe-top) + 8px);
    left:calc(var(--lplc-safe-left) + 8px);
    right:calc(var(--lplc-safe-right) + 8px);
    z-index:90;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-location-pill,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-featured-pill,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-viewers-text{display:none}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-status-pill,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-viewers-pill{
    height:30px;
    padding:0 9px;
    font-size:9px;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-player-topbar__center{
    top:38px;
    max-width:50vw;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-angle-toggle{
    height:30px;
    max-width:min(150px,46vw);
    border-radius:9px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-angle-menu{
    top:35px;
    width:min(230px,calc(var(--lplc-viewport-width,100vw) - 24px));
    max-height:min(300px,50vh);
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-floating-reactions{
    top:calc(var(--lplc-safe-top) + 74px);
    right:calc(var(--lplc-safe-right) + 8px);
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-sound-notice{
    top:calc(var(--lplc-safe-top) + 52px);
    max-width:calc(100% - var(--lplc-safe-left) - var(--lplc-safe-right) - 24px);
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-autoplay-gate{padding:20px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-youtube,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-youtube iframe{
    width:100%;
    height:100%;
}

/* Portrait fullscreen: timeline first row, large touch controls second row,
   chat as a contained bottom sheet above the controls. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-controls{
    height:calc(96px + var(--lplc-safe-bottom));
    padding:7px calc(8px + var(--lplc-safe-right)) calc(8px + var(--lplc-safe-bottom)) calc(8px + var(--lplc-safe-left));
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-rows:30px 40px;
    grid-template-areas:"timeline timeline timeline" "left . right";
    row-gap:5px;
    column-gap:4px;
    background:linear-gradient(180deg,rgba(4,14,18,0) 0%,rgba(4,14,18,.76) 30%,rgba(4,14,18,.97) 100%);
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-controls__timeline{
    width:100%;
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-control{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    border-radius:10px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-control--skip{width:38px;min-width:38px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-controls__left,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-controls__right{gap:2px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-quality-control{height:38px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-quality-readout{height:28px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-control--quality{height:38px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-player-actions{
    right:calc(var(--lplc-safe-right) + 8px);
    bottom:calc(104px + var(--lplc-safe-bottom));
    z-index:82;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-youtube-interaction-shield{
    bottom:calc(96px + var(--lplc-safe-bottom));
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait > .lplc-chat{
    top:auto;
    left:calc(var(--lplc-safe-left) + 8px);
    right:calc(var(--lplc-safe-right) + 8px);
    bottom:calc(102px + var(--lplc-safe-bottom));
    width:auto;
    height:min(48%,430px);
    max-height:calc(var(--lplc-viewport-height,100vh) * .52);
    border-radius:16px;
    z-index:84;
}

/* Landscape fullscreen: reclaim vertical space with a single-row control bar
   and move chat to a right-side drawer. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-controls{
    height:calc(62px + var(--lplc-safe-bottom));
    padding:9px calc(10px + var(--lplc-safe-right)) calc(7px + var(--lplc-safe-bottom)) calc(10px + var(--lplc-safe-left));
    grid-template-columns:auto minmax(90px,1fr) auto;
    grid-template-rows:1fr;
    grid-template-areas:"left timeline right";
    gap:7px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-controls__timeline{
    grid-template-columns:minmax(60px,1fr) auto;
    gap:6px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-control{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-control--skip{width:36px;min-width:36px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-quality-control{height:36px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-player-actions{
    right:calc(var(--lplc-safe-right) + 8px);
    bottom:calc(70px + var(--lplc-safe-bottom));
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-youtube-interaction-shield{
    bottom:calc(62px + var(--lplc-safe-bottom));
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-player-topbar__center{
    top:0;
    max-width:40vw;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape .lplc-angle-toggle{max-width:min(155px,38vw)}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape > .lplc-chat{
    top:calc(var(--lplc-safe-top) + 8px);
    right:calc(var(--lplc-safe-right) + 8px);
    bottom:calc(70px + var(--lplc-safe-bottom));
    left:auto;
    width:clamp(260px,36vw,350px);
    height:auto;
    max-height:none;
    border-radius:16px;
    z-index:84;
}

/* Fullscreen chat itself: compact but touch friendly. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-chat-header{
    height:46px;
    min-height:46px;
    padding:0 8px 0 12px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-chat-header strong{font-size:14px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-chat-collapse{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-messages{padding:5px 6px 8px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-message{padding:6px 4px}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-message-text{font-size:11px;line-height:1.4}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-composer-wrap{
    padding:6px 7px max(7px,var(--lplc-safe-bottom));
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-composer{
    min-height:46px;
    grid-template-columns:40px minmax(0,1fr) 40px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-emoji-toggle,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-send{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone > .lplc-chat .lplc-emoji-picker{
    left:7px;
    right:7px;
    bottom:54px;
    width:auto;
    max-width:none;
    max-height:min(330px,55vh);
    overflow:auto;
}

/* Fullscreen share becomes a mobile bottom sheet instead of a tiny centered card. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-share-sheet{
    place-items:end center;
    padding:0;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-share-dialog{
    width:100%;
    max-width:100%;
    max-height:calc(var(--lplc-viewport-height,100vh) - var(--lplc-safe-top) - 12px);
    margin:0;
    padding:16px 14px calc(14px + var(--lplc-safe-bottom));
    border-radius:20px 20px 0 0;
    overflow:auto;
    overscroll-behavior:contain;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-share-platforms{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Keyboard/open-menu resilience. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-quality-menu,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-angle-menu,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone .lplc-emoji-picker{
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}

@media(max-width:360px){
    .lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-control{
        width:35px;
        min-width:35px;
        height:35px;
        min-height:35px;
    }
    .lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-control--skip{width:35px;min-width:35px}
    .lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-portrait .lplc-controls{padding-inline:6px}
}


/* =========================================================
   v1.2.14 — mobile fullscreen stack + stable YouTube DVR
   Fullscreen phone chat is a true video-above/chat-below layout.
   The live action never steals width from the seek bar.
   ========================================================= */

/* Once the live video has rendered, the loading poster must never reappear
   during pause/buffering. Keep its own aspect ratio instead of cropping it. */
.lplc-player .lplc-poster--loading.is-hidden{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
}
.lplc-poster--loading{
    object-fit:contain;
    object-position:center;
    background:#000;
}
.lplc-angle-stage .lplc-hls-video{
    object-fit:contain;
    object-position:center;
    background:#000;
}

/* YouTube adaptive quality should see the real rendered player size. Disable
   the old virtual-1080p transform if an earlier rule/class is still present. */
.lplc-player .lplc-youtube.is-quality-biased iframe{
    left:0;
    top:0;
    width:100% !important;
    height:100% !important;
    transform:none !important;
}

/* A fixed live-action slot means LIVE and GO LIVE can never resize/squeeze
   the timeline. The detailed DVR time stays in the floating scrub preview. */
.lplc-controls__timeline{
    grid-template-columns:minmax(0,1fr) 66px;
}
.lplc-live-edge,
.lplc-live-edge.is-behind{
    width:66px;
    min-width:66px;
    max-width:66px;
    padding:0 6px;
    justify-content:center;
    overflow:hidden;
    text-overflow:clip;
}
.lplc-live-edge span{
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:clip;
    white-space:nowrap;
}

/* Phone fullscreen with chat OPEN: no floating/drawer chat. The video owns
   the top region and chat owns the remaining lower region, so both stay
   visible and usable at the same time. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only){
    display:flex !important;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0 !important;
    padding:0 !important;
    overflow:hidden;
    background:#000;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-player{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    flex:0 0 auto;
    width:100%;
    height:38%;
    min-height:220px;
    max-height:390px;
    aspect-ratio:auto;
    border-radius:0;
    z-index:1;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-chat{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    flex:1 1 auto;
    width:100% !important;
    height:auto !important;
    min-height:0;
    max-height:none !important;
    border-left:0;
    border-right:0;
    border-bottom:0;
    border-radius:0;
    box-shadow:none;
    z-index:2;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-media,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-angle-stage,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-youtube,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-youtube iframe{
    width:100%;
    height:100%;
}

/* Chat CLOSED: make the video a centered proportional fullscreen canvas
   instead of pinning it to an edge. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.lplc-shell--chat-collapsed,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.lplc-shell--player-only{
    display:flex !important;
    align-items:center;
    justify-content:center;
    padding:0 !important;
    background:#000;
    overflow:hidden;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.lplc-shell--chat-collapsed > .lplc-player,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.lplc-shell--player-only > .lplc-player{
    position:relative !important;
    inset:auto !important;
    width:min(100%,calc(var(--lplc-viewport-height,100vh) * 1.7777778));
    height:auto !important;
    max-width:100%;
    max-height:100%;
    min-height:0;
    aspect-ratio:16/9;
    border-radius:0;
}

/* In stacked fullscreen the controls belong to the top video only. Keep
   enough touch area while reclaiming vertical space for conversation. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-controls{
    height:78px;
    padding:5px calc(7px + var(--lplc-safe-right)) calc(6px + var(--lplc-safe-bottom)) calc(7px + var(--lplc-safe-left));
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-rows:27px 36px;
    grid-template-areas:"timeline timeline timeline" "left . right";
    row-gap:3px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-controls__timeline{
    grid-template-columns:minmax(0,1fr) 62px;
    gap:5px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-live-edge,
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-live-edge.is-behind{
    width:62px;
    min-width:62px;
    max-width:62px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-control{
    width:34px;
    min-width:34px;
    height:34px;
    min-height:34px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-control--skip{
    width:34px;
    min-width:34px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-player-actions{
    bottom:84px;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) .lplc-youtube-interaction-shield{
    bottom:78px;
}

/* Landscape still follows the requested top/bottom pattern, but shares the
   smaller viewport more evenly so chat remains readable. */
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-player{
    height:52%;
    min-height:0;
    max-height:none;
}
.lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone.is-lplc-landscape:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-chat{
    height:48% !important;
    flex:0 0 48%;
}

@media(max-width:420px){
    .lplc-controls__timeline{grid-template-columns:minmax(0,1fr) 62px}
    .lplc-live-edge,.lplc-live-edge.is-behind{width:62px;min-width:62px;max-width:62px}
    .lplc-shell.is-lplc-fullscreen-shell.is-lplc-phone:not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-player{
        height:36%;
        min-height:210px;
    }
}

/* =========================================================
   v1.2.15 — desktop fullscreen sidebar + iPhone containment
   Desktop fullscreen uses the same structural pattern as the normal layout:
   video and chat are siblings, never overlapping. Mobile stacked fullscreen
   from v1.2.14 is intentionally left unchanged.
   ========================================================= */

/* Desktop/tablet fullscreen: real right-hand chat column, never a floating
   overlay over the player. This intentionally wins over the legacy drawer
   rules from the older fullscreen implementation. */
@media (min-width:768px){
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone):not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only){
        display:grid !important;
        grid-template-columns:minmax(0,1fr) clamp(320px,27vw,430px) !important;
        grid-template-rows:minmax(0,1fr);
        align-items:stretch;
        gap:12px !important;
        padding:12px !important;
        background:#07171b;
        overflow:hidden;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone):not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-player{
        position:relative !important;
        inset:auto !important;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        bottom:auto !important;
        width:100% !important;
        height:100% !important;
        min-width:0;
        min-height:0;
        max-width:none;
        max-height:none;
        border-radius:16px;
        z-index:1;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone):not(.lplc-shell--chat-collapsed):not(.lplc-shell--player-only) > .lplc-chat{
        position:relative !important;
        inset:auto !important;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        bottom:auto !important;
        display:flex !important;
        width:100% !important;
        height:100% !important;
        min-width:0;
        min-height:0;
        max-width:none !important;
        max-height:none !important;
        overflow:hidden;
        border:1px solid var(--lplc-border);
        border-radius:16px;
        background:#fff;
        box-shadow:none;
        -webkit-backdrop-filter:none;
        backdrop-filter:none;
        z-index:2;
    }
    /* Keep fullscreen desktop chat visually consistent with the normal sidebar,
       not the old compact floating-drawer treatment. */
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone) > .lplc-chat .lplc-chat-header{
        min-height:58px;
        height:58px;
        padding:0 12px 0 15px;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone) > .lplc-chat .lplc-pinned{
        margin:10px 10px 0;
        padding:9px 10px;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone) > .lplc-chat .lplc-messages{
        padding:7px 9px 10px;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone) > .lplc-chat .lplc-composer-wrap{
        padding:8px 9px 10px;
        background:#fff;
    }

    /* Chat hidden/disabled: player may use the complete fullscreen canvas. */
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone).lplc-shell--chat-collapsed,
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone).lplc-shell--player-only{
        display:block !important;
        padding:0 !important;
        gap:0 !important;
        background:#000;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone).lplc-shell--chat-collapsed > .lplc-player,
    .lplc-shell.is-lplc-fullscreen-shell:not(.is-lplc-phone).lplc-shell--player-only > .lplc-player{
        position:absolute !important;
        inset:0 !important;
        width:100% !important;
        height:100% !important;
        border-radius:0;
    }
}

/* iPhone / narrow-container containment. A host theme or Elementor container
   must never be able to make the player wider than the visible page. */
@media (max-width:767px){
    .lplc-shell,
    .lplc-shell > .lplc-player,
    .lplc-shell > .lplc-chat,
    .lplc-shell .lplc-media,
    .lplc-shell .lplc-angle-stage,
    .lplc-shell .lplc-youtube,
    .lplc-shell .lplc-youtube iframe,
    .lplc-shell .lplc-hls-video{
        min-width:0 !important;
        max-width:100% !important;
        box-sizing:border-box;
    }
    .lplc-shell:not(.lplc-pseudo-fullscreen){
        width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;
        overflow-x:hidden !important;
    }
    .lplc-shell .lplc-player{
        overflow:hidden !important;
        contain:layout paint;
    }
    .lplc-shell .lplc-youtube,
    .lplc-shell .lplc-youtube iframe,
    .lplc-shell .lplc-hls-video{
        left:0 !important;
        right:0 !important;
        width:100% !important;
    }
    .lplc-shell.lplc-pseudo-fullscreen{
        width:var(--lplc-viewport-width,100vw) !important;
        max-width:var(--lplc-viewport-width,100vw) !important;
        overflow:hidden !important;
    }
    .lplc-shell.is-lplc-fullscreen-shell:not(.lplc-pseudo-fullscreen){
        width:100% !important;
        max-width:100% !important;
        overflow:hidden !important;
    }
}

/* Authoritative LIVE / GO LIVE interaction colors. Prevent host-theme button
   hover/active styles from leaking into this control. */
.lplc-shell .lplc-live-edge:not(.is-behind),
.lplc-shell .lplc-live-edge:not(.is-behind):hover,
.lplc-shell .lplc-live-edge:not(.is-behind):focus,
.lplc-shell .lplc-live-edge:not(.is-behind):focus-visible,
.lplc-shell .lplc-live-edge:not(.is-behind):active{
    border-color:transparent !important;
    background:transparent !important;
    color:#ff5967 !important;
    outline:0 !important;
    box-shadow:none !important;
    transform:none !important;
}
.lplc-shell .lplc-live-edge.is-behind:hover,
.lplc-shell .lplc-live-edge.is-behind:focus,
.lplc-shell .lplc-live-edge.is-behind:focus-visible{
    border-color:#0E2D7B !important;
    background:#0E2D7B !important;
    color:#fff !important;
    outline:0 !important;
    box-shadow:0 0 0 3px rgba(248,184,97,.22) !important;
}
.lplc-shell .lplc-live-edge.is-behind:active{
    border-color:#173B83 !important;
    background:#173B83 !important;
    color:#fff !important;
    box-shadow:none !important;
    transform:scale(.96) !important;
}


/* =========================================================
   v1.2.16 — authoritative mobile YouTube centering fix
   v1.2.15 constrained the phone iframe to 100% width but an older centered
   overscan transform could still translate that now-left-aligned layer by
   -50%, placing half the video outside the player. Reset the entire YouTube
   source layer to the player box on phones. The iframe itself will handle
   its own proportional video/letterboxing internally.
   ========================================================= */
@media (max-width:767px){
    .lplc-shell .lplc-media,
    .lplc-shell .lplc-angle-stage{
        min-width:0 !important;
        max-width:100% !important;
        overflow:hidden !important;
    }
    .lplc-shell .lplc-youtube{
        position:absolute !important;
        inset:0 !important;
        left:0 !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        width:100% !important;
        height:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        min-height:0 !important;
        max-height:100% !important;
        margin:0 !important;
        transform:none !important;
        transform-origin:center center !important;
        overflow:hidden !important;
    }
    .lplc-shell .lplc-youtube iframe{
        position:absolute !important;
        inset:0 !important;
        left:0 !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        width:100% !important;
        height:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        min-height:0 !important;
        max-height:100% !important;
        margin:0 !important;
        transform:none !important;
        transform-origin:center center !important;
    }
}
