/* PROMPT F: the Live section (/live-stream) and the TV view (/live-stream/tv). Shared theme tokens only (tokens.css, both themes), so it
   switches with the light / dark toggle; no colour codes. The page sits on the shared background (soft gold light, no logo pattern) around
   the player and panels. Phones (one column): the stream on top at 16:9, a slim status bar, then the chat; the message box and quick actions
   are pinned at the bottom above the six-tab strip, and the strip steps aside while the box is being typed in so the box sits right above
   the keyboard. Desktop: the stream with a chat sidebar, Theatre and Full Screen. Every control is at least 44px; presses take 150 ms. */
.live-page main.live-main{max-width:1280px;margin:0 auto;padding:var(--sp-3) var(--sp-3) var(--sp-4);box-sizing:border-box}
.live-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--sp-3);min-width:0}
.live-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- The stage: Kick's player and our overlay ---------- */
.live-stage{position:relative;min-width:0;overflow:hidden;border:1px solid var(--edge);border-radius:var(--r-lg);background:var(--sunken)}
.live-frame{position:relative;width:100%;aspect-ratio:16/9;background:var(--sunken)}
.live-frame iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.live-overlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:space-between;gap:var(--sp-2);padding:max(var(--sp-3),env(safe-area-inset-top,0px)) max(var(--sp-3),env(safe-area-inset-right,0px)) max(var(--sp-3),env(safe-area-inset-bottom,0px)) max(var(--sp-3),env(safe-area-inset-left,0px));pointer-events:none;transition:opacity var(--dur) var(--ease)}
.live-overlay[hidden]{display:none}
/* Hidden after a few seconds; the first tap or mouse move over the video brings it back (and is caught here, not passed to the player). */
.live-overlay.live-idle{opacity:0;pointer-events:auto;cursor:none}
.live-overlay.live-idle .live-ov-bar,.live-overlay.live-idle .live-check{pointer-events:none}
.live-ov-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2);padding:var(--sp-2);border-radius:var(--r-md);background:var(--scrim);color:var(--on-scrim);pointer-events:auto}
.live-ov-space{flex:1 1 0}
.live-ov-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:0 14px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:transparent;color:var(--on-scrim);font:inherit;font-size:var(--fs-sm);font-weight:700;text-decoration:none;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-ov-button:active{transform:scale(.96)}
.live-ov-button[aria-pressed=true]{border-color:var(--gold);background:var(--gold-metal,var(--gold));color:var(--on-gold)}
.live-overlay .live-check{align-self:center;pointer-events:auto;box-shadow:var(--shadow)}
.live-overlay .live-status{color:var(--on-scrim);font-size:var(--fs-sm)}

/* ---------- Chips, counters, buttons ---------- */
.live-chip{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 10px;box-sizing:border-box;border:1px solid var(--edge-strong);border-radius:var(--r-pill);background:var(--raised);color:var(--text-soft);font-size:var(--fs-xs);font-weight:800;letter-spacing:.06em}
.live-chip[data-live=true]{border-color:var(--live);background:var(--live);color:var(--on-live)}
.live-chip:empty{width:72px;border-color:var(--edge);background:var(--edge)}
.live-coin{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--on-gold);color:var(--coin);font:900 13px/1 var(--font)}
.live-earn{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px 0 5px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-pill);background:var(--gold-tint);color:var(--gold-text);font-size:var(--fs-sm);font-weight:800;white-space:nowrap}
.live-earn[hidden]{display:none}
.live-tool,.live-quick-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:0 14px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:transparent;color:var(--gold-text);font:inherit;font-size:var(--fs-sm);font-weight:700;text-decoration:none;cursor:pointer;transition:transform var(--dur-press) var(--ease),background var(--dur) var(--ease)}
.live-tool:hover,.live-quick-button:hover{background:var(--gold-hover)}
.live-tool:active,.live-quick-button:active,.live-check:active,.live-signin:active,.live-send button:active{transform:scale(.97)}
.live-tool[aria-pressed=true]{border-color:var(--gold);background:var(--gold-tint)}
.live-tool[hidden],.live-check[hidden],.live-signin[hidden]{display:none}
.live-check{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:0 18px;box-sizing:border-box;border:0;border-radius:var(--r-pill);background:var(--gold-metal,var(--gold));color:var(--on-gold);font:inherit;font-weight:800;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-signin{display:inline-flex;align-items:center;gap:8px;min-height:var(--tap);padding:0 16px 0 8px;box-sizing:border-box;border-radius:var(--r-pill);background:var(--gold-metal,var(--gold));color:var(--on-gold);font-weight:800;text-decoration:none;transition:transform var(--dur-press) var(--ease)}
:is(.live-tool,.live-quick-button,.live-check,.live-signin,.live-ov-button,.live-send button,.live-send input):focus-visible{outline:2px solid var(--focus);outline-offset:2px}

/* ---------- The status bar under the player ---------- */
.live-bar{display:grid;gap:var(--sp-2);min-width:0;padding:var(--sp-3);border:1px solid var(--edge);border-radius:var(--r-lg);background:var(--surface)}
.live-bar-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2);min-width:0}
.live-bar-head h1{margin:0;color:var(--gold-text);font-size:var(--fs-lg);line-height:1.2;overflow-wrap:anywhere}
.live-next{flex:1 1 100%;margin:0;color:var(--text-muted);font-size:var(--fs-sm);overflow-wrap:anywhere}
.live-next:empty{flex:0 0 60%;height:14px;border-radius:var(--r-sm);background:var(--edge)}
.live-bar-tools{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.live-bar-tools .live-theatre{display:none}
.live-earning{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2);min-width:0}
.live-status{color:var(--text-soft);font-size:var(--fs-sm);overflow-wrap:anywhere}
.live-status:empty{display:none}

/* ---------- Chat ---------- */
.live-chat{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid var(--edge);border-radius:var(--r-lg);background:var(--surface)}
.live-chat-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-3);border-bottom:1px solid var(--line)}
.live-chat-head h2{margin:0;color:var(--gold-text);font-size:var(--fs-md)}
.live-me{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;margin:0;color:var(--text-soft);font-size:var(--fs-sm);font-weight:700}
.live-me[hidden]{display:none}
.live-me .live-coin{width:18px;height:18px;font-size:11px}
.live-chat-list{flex:1 1 auto;min-height:220px;margin:0;padding:var(--sp-2) var(--sp-3);overflow-y:auto;overscroll-behavior:contain;list-style:none}
.live-msg{padding:4px 0;color:var(--text);font-size:var(--fs-sm);line-height:1.45;overflow-wrap:anywhere}
.live-msg-who strong{margin-right:6px;color:var(--gold-text)}
.live-badge{display:inline-block;margin-right:4px;padding:0 6px;border:1px solid var(--edge-strong);border-radius:var(--r-sm);color:var(--text-soft);font-size:var(--fs-xs);font-weight:700;line-height:18px;vertical-align:1px}
.live-badge-fb{border-color:var(--text-muted);color:var(--text-muted)}
.live-chat-empty{padding:var(--sp-3) 0;color:var(--text-muted);font-size:var(--fs-sm)}
.live-chat-foot{display:grid;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3) var(--sp-3);border-top:1px solid var(--line);background:var(--surface)}
.live-quick{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.live-quick[hidden],.live-send[hidden]{display:none}
.live-send{display:flex;gap:var(--sp-2);min-width:0}
.live-send input{flex:1 1 auto;min-width:0;min-height:var(--tap);padding:0 12px;box-sizing:border-box;border:1px solid var(--edge-strong);border-radius:var(--r-md);background:var(--sunken);color:var(--text);font:inherit;font-size:16px}
.live-send button{flex:0 0 auto;min-width:76px;min-height:var(--tap);padding:0 16px;border:0;border-radius:var(--r-md);background:var(--gold-metal,var(--gold));color:var(--on-gold);font:inherit;font-weight:800;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-send button:disabled{opacity:.6;cursor:default}
.live-chat-note{margin:0;color:var(--text-muted);font-size:var(--fs-sm)}
/* LIVE CHAT 24/7: a quiet note in the chat heading while a dropped connection comes back. */
.live-chat-conn{color:var(--text-muted);font-size:var(--fs-xs);font-weight:700}
.live-chat-conn[hidden]{display:none}
/* LIVE PAGE FIXES (Aaron, 28 Oct): the phone Tap To Chat bar (hidden on desktop, where the box stays open). */
.live-chat-bar{display:none;align-items:center;width:100%;min-height:var(--tap);margin:0;padding:0 14px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:var(--on-gold);color:var(--gold-strong);font:inherit;font-size:var(--fs-sm);font-weight:700;text-align:left;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-chat-bar:active{transform:scale(.98)}
.live-chat-bar:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.live-chat-note:empty{display:none}
.live-connect,.live-chat-foot .live-signin{justify-self:start}
.live-tv-link{margin:var(--sp-3) 0 0;color:var(--text-muted);font-size:var(--fs-sm)}
.live-tv-link a{color:var(--gold-text);font-weight:700}

/* ---------- Our full screen (Fullscreen API on the stage), and the full-viewport mode for iPhone Safari ---------- */
.live-stage:fullscreen,.live-stage.live-full{display:flex;border:0;border-radius:0;background:var(--sunken)}
.live-stage:-webkit-full-screen{display:flex;width:100%;height:100%}
.live-full .live-frame{flex:1 1 auto;min-width:0;aspect-ratio:auto;height:100%}
body.live-viewport-full{overflow:hidden}
body.live-viewport-full .live-stage{position:fixed;inset:0;z-index:60;height:100vh;height:100dvh;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);box-sizing:border-box}
/* The slim chat inside full screen: beside the video when wide, under it when tall. */
.live-stage.live-stage-chat .live-chat{flex:0 0 min(320px,38%);height:100%;border:0;border-left:1px solid var(--edge);border-radius:0}
.live-stage.live-stage-chat .live-chat-foot{position:static}
.live-stage.live-stage-chat .live-chat-list{min-height:0}
@media(orientation:portrait){.live-stage.live-stage-chat{flex-direction:column}.live-stage.live-stage-chat .live-chat{flex:0 0 45%;height:auto;border-left:0;border-top:1px solid var(--edge)}}

/* ---------- Phones and small tablets: one column, the message box pinned at the bottom ---------- */
@media(max-width:1023px){
 .live-page:not(.live-tv) main.live-main{padding-bottom:calc(var(--live-foot-h,128px) + var(--sp-4))}
 .live-layout>.live-chat .live-chat-list{height:max(220px,calc(100dvh - var(--viewer-header-h,60px) - var(--site-notice-h,0px) - var(--live-foot-h,128px) - 64px - 180px - (100vw - 24px)*9/16))}
 .live-layout>.live-chat .live-chat-foot{position:fixed;left:0;right:0;bottom:var(--live-kb,0px);z-index:38;border-top:1px solid var(--gold-line);box-shadow:var(--shadow)}
}
@media(max-width:768px){
 .live-layout>.live-chat .live-chat-foot{bottom:calc(64px + env(safe-area-inset-bottom,0px))}
 /* While typing, the six-tab strip steps aside (it comes back when the box loses focus). */
 body.live-typing .viewer-tabs{display:none}
 body.live-typing .live-layout>.live-chat .live-chat-foot{bottom:var(--live-kb,0px)}
 /* LIVE PAGE FIXES: with Kick sign-in, the closed state is just the Tap To Chat bar (plus any send note); tapping it opens the box and the
    one-tap actions right on the keyboard, and the six-tab strip steps aside until the box closes. */
 .live-layout>.live-chat .live-chat-foot[data-can-chat=true] .live-chat-bar{display:flex}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true] :is(.live-quick,.live-send){display:none}
 body.live-composing .live-layout>.live-chat .live-chat-foot .live-chat-bar{display:none}
 body.live-composing .viewer-tabs{display:none}
 body.live-composing .live-layout>.live-chat .live-chat-foot{bottom:var(--live-kb,0px);padding-bottom:max(var(--sp-2),env(safe-area-inset-bottom,0px))}
 .live-bar-head h1{font-size:var(--fs-md)}
}
@media(max-width:400px){.live-bar-tools .live-tool{flex:1 1 auto}.live-earning .live-check{flex:1 1 100%}}

/* ---------- Desktop: Theatre is the layout (Aaron, 27 Oct). The whole width under the top bar: Live Chat pinned on the far right at full
   height (its own scroll, Sign In To Chat or the send box at its bottom); to its left the stream as big as fits at 16:9, sized so the
   player and the card under it fill the screen height with no page scroll and no gap; the card spans the player's width. The footer
   follows below the layout. There is no narrower "standard" view any more, so the Theatre button stays hidden. ---------- */
@media(min-width:1024px){
 .live-page:not(.live-tv) main.live-main{max-width:none;padding:var(--sp-3)}
 .live-layout{--live-chat-w:clamp(340px,24vw,380px);--live-avail-h:calc(100dvh - var(--viewer-header-h,72px) - var(--site-notice-h,0px) - 2*var(--sp-3));
  --live-player-w:min(100%,calc((var(--live-avail-h) - var(--live-bar-h,220px) - var(--sp-3))*16/9));
  grid-template-columns:minmax(0,1fr) var(--live-chat-w);grid-template-rows:auto minmax(0,1fr);gap:var(--sp-3);height:var(--live-avail-h);min-height:420px;align-items:start}
 .live-layout>.live-stage{grid-column:1;grid-row:1;justify-self:center;width:var(--live-player-w);box-sizing:border-box}
 .live-layout>.live-bar{grid-column:1;grid-row:2;justify-self:center;width:var(--live-player-w);box-sizing:border-box}
 /* A compact card to save height: badge, title and next stream on the left; TV View, Full Screen, Watch On Kick and Sign In on the
    right (they wrap under on a narrow window). */
 .live-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--sp-2) var(--sp-3);padding:var(--sp-2) var(--sp-3)}
 .live-bar-head{flex:1 1 240px}
 .live-bar-head h1{font-size:var(--fs-md)}
 .live-bar-tools{flex:0 0 auto;flex-wrap:nowrap}
 .live-earning{flex:0 1 auto}
 .live-layout>.live-chat{grid-column:2;grid-row:1 / span 2;align-self:stretch;height:100%;min-height:0}
 .live-layout>.live-chat .live-chat-list{min-height:0}
}
.live-bar-tools .live-theatre{display:none!important}

/* ---------- The TV view: the stream only, filling the screen (no site menu, so it sets its own font and margins) ---------- */
body.live-tv{margin:0;overflow:hidden;color:var(--text);font-family:var(--font)}
.live-tv main.live-main{max-width:none;padding:0}
.live-tv .live-stage{position:fixed;inset:0;border:0;border-radius:0}
.live-tv .live-frame{height:100vh;height:100dvh;aspect-ratio:auto}

@media(prefers-reduced-motion:reduce){.live-overlay,.live-tool,.live-quick-button,.live-check,.live-signin,.live-ov-button,.live-send button{transition:none}:is(.live-tool,.live-quick-button,.live-check,.live-signin,.live-ov-button,.live-send button):active{transform:none}}
/* LIVE PAGE BUTTONS (Aaron, 27 Oct): Full Screen and Open On Kick are exactly the same size, with no stray margin (bucks.css gives every
   <button> a 16px top margin, which squashed Full Screen), centred as a pair in the card. Phones: two equal halves; desktop: 150px each
   (Theatre is hidden now). Full Screen stays the outlined secondary, Open On Kick the gold primary. */
.live-bar-tools{justify-content:center;align-items:center}
.live-bar-tools .live-tool{flex:0 1 150px;min-width:0;height:var(--tap);min-height:var(--tap);margin:0;padding:0 14px;box-sizing:border-box;border-width:1px;border-style:solid;border-radius:var(--r-md);font:inherit;font-size:var(--fs-sm);font-weight:700;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-bar-tools .live-kick-link{border-color:var(--gold);background:var(--gold-metal,var(--gold));color:var(--on-gold)}
.live-bar-tools .live-kick-link:hover{border-color:var(--gold-metal-edge,var(--gold-strong));background:var(--gold-metal-hover,var(--gold-strong));color:var(--on-gold-metal,var(--on-gold))}
@media(max-width:1023px){.live-bar-tools .live-tool{flex:1 1 0}}
/* LIVE CHAT SIGN-IN (Aaron, 27 Oct): "Sign In To Chat" is a full-width 44px gold button where the send box goes; the helper line under
   it shows only when Kick sign-in is reached and isn't set up yet. */
.live-chat-cta{display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--tap);margin:0;padding:0 16px;box-sizing:border-box;border:1px solid var(--gold);border-radius:var(--r-md);background:var(--gold-metal,var(--gold));color:var(--on-gold);font:inherit;font-weight:800;text-decoration:none;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-chat-cta:hover{border-color:var(--gold-metal-edge,var(--gold-strong));background:var(--gold-metal-hover,var(--gold-strong));color:var(--on-gold-metal,var(--on-gold))}
.live-chat-cta:active{transform:scale(.98)}
.live-chat-cta:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.live-chat-cta[hidden],.live-chat-help[hidden]{display:none}
.live-chat-help{margin:0;color:var(--text-muted);font-size:var(--fs-sm);text-align:center}
@media(prefers-reduced-motion:reduce){.live-chat-cta{transition:none}.live-chat-cta:active{transform:none}}
/* LIVE PAGE (Aaron, 27 Oct 2:11 PM): exactly three equal buttons in a row, centred: TV View, Full Screen, Watch On Kick (the gold primary).
   Sign In stays its own element beside them. On a narrow phone the three stay equal thirds; a label may take two lines. */
.live-bar-tools{flex-wrap:nowrap}
@media(min-width:1024px){.live-bar .live-bar-tools .live-tool{flex:0 0 150px}}
@media(max-width:419px){.live-bar-tools .live-tool{padding:0 6px;white-space:normal;line-height:1.15;text-align:center}}
/* TV View: Back To Live (top right, gold) returns to the Theatre layout on /live-stream; it hides with the other controls after 3 seconds idle. */
.live-ov-button.live-back{border-color:var(--gold);background:var(--gold-metal,var(--gold));color:var(--on-gold)}
/* TV View: .live-ov-button sets display:inline-flex, which beat the hidden attribute, so Earn On This Screen showed all the time (and did
   nothing, with no other screen earning). Hidden really hides it now; it shows only while another screen has the earning. */
.live-ov-button[hidden]{display:none}
/* LIVE REPLAY (Aaron, 27 Oct): offline, the frame plays TheBuddha's latest Kick VOD (a native video) or shows our own offline panel, never
   Kick's offline screen. A small card in the bottom-left corner shows Offline, the next stream and Last Stream; it lets every tap through. */
.live-frame iframe[hidden]{display:none}
.live-frame .live-replay,.live-frame .live-own{position:absolute;inset:0;display:block;width:100%;height:100%;background:var(--scrim);object-fit:contain}
body.live-casting .live-frame .live-own{display:none}
/* POP OUT (v166, Aaron 4 Nov 2026): on phones a slim Pop Out pill top left of the player floats the stream (or replay) in a small window over
   other apps. It shows and hides with the corner speaker (a tap on the player). 30px to look at, a 44px tap. */
.live-ico-btn{position:absolute;top:8px;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;box-sizing:border-box;border:1px solid var(--gold-metal-edge,var(--gold-line));border-radius:50%;background:var(--scrim);cursor:pointer;box-shadow:var(--shadow);-webkit-tap-highlight-color:transparent;transition:opacity var(--dur-slow) var(--ease),visibility 0s,transform var(--dur-fast,180ms) var(--ease)}
.live-ico-btn::before{content:'';width:24px;height:24px;background:var(--gold-metal,var(--gold));-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.live-pip{left:8px;--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10V5.5A1.5 1.5 0 0 0 18.5 4h-13A1.5 1.5 0 0 0 4 5.5v13A1.5 1.5 0 0 0 5.5 20H9'/%3E%3Cpath d='M7.5 7.5l4 4M7.5 11.5h4v-4'/%3E%3Crect x='12.5' y='13' width='8.5' height='7' rx='1.3'/%3E%3C/svg%3E")}
.live-fs-btn{right:8px;--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7l-2.6-2.6-3.9 3.9-1.8-1.8 3.9-3.9zM10 21H3v-7l2.6 2.6 3.9-3.9 1.8 1.8-3.9 3.9z'/%3E%3C/svg%3E")}
.live-ico-btn:active{transform:scale(.94)}
.live-ico-btn:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:3px}
.live-ico-btn[hidden],body.live-casting .live-ico-btn,.live-full .live-ico-btn{display:none}
@media(max-width:768px){body.live-page[data-live-mode=page]:not(.live-bar-open) .live-frame:not(.live-ctl-on):not(.live-vod-stopped) .live-ico-btn{opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--dur-slow) var(--ease),visibility 0s var(--dur-slow)}}
@media(prefers-reduced-motion:reduce){.live-ico-btn{transition:none}.live-ico-btn:active{transform:none}}
.live-offline{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:var(--sp-3) var(--sp-3) 64px;box-sizing:border-box;text-align:center;background:radial-gradient(ellipse at 50% 38%,var(--gold-glow),transparent 62%),var(--sunken);color:var(--text)}
.live-offline-mark{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--gold-metal,var(--gold));color:var(--on-gold);font-size:28px;font-weight:900}
.live-offline-title{margin:4px 0 0;color:var(--text);font-size:clamp(16px,4.5vw,24px);font-weight:800}
.live-offline-line{margin:0;color:var(--text-muted);font-size:var(--fs-sm)}
.live-off-card{position:absolute;left:10px;bottom:10px;z-index:1;display:flex;flex-direction:column;gap:4px;max-width:min(calc(100% - 20px),440px);padding:7px 10px;box-sizing:border-box;border-left:3px solid var(--gold);border-radius:var(--r-md);background:var(--scrim);color:var(--on-scrim);font-size:12px;line-height:1.3;pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.live-off-card[hidden],.live-off-next[hidden],.live-off-last[hidden]{display:none}
/* LIVE PAGE FIXES (Aaron, 28 Oct): over a playing replay the card fades after 3 seconds; pause or the end brings it back. */
.live-off-card{transition:opacity .4s var(--ease)}
.live-off-card.live-off-gone{opacity:0}
@media(prefers-reduced-motion:reduce){.live-off-card{transition:none}}
.live-off-card[data-view=replay]{bottom:58px}
.live-off-top,.live-off-last{display:flex;align-items:center;gap:8px;min-width:0}
.live-off-pill{flex:none;display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:var(--r-pill);background:color-mix(in srgb,var(--on-scrim) 24%,transparent);color:var(--on-scrim);font-size:11px;font-weight:800;letter-spacing:.04em}
.live-off-next,.live-off-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-off-next{font-weight:700}
.live-off-label{flex:none;color:var(--gold);font-weight:800}
.live-off-title{color:color-mix(in srgb,var(--on-scrim) 85%,transparent)}
@media (max-width:480px){.live-off-card{left:6px;bottom:6px;max-width:calc(100% - 12px);padding:5px 8px;font-size:11px}.live-off-card[data-view=replay]{bottom:48px}}
/* SUBSCRIBE (Aaron, 28 Oct): a gold Subscribe pill beside the Live Stream title opens Kick's subscribe page for TheBuddhaX
   (https://kick.com/thebuddhax/subscribe) in a new tab. It sits in the title row so TV View, Full Screen and Watch On Kick stay three equal buttons. */
.live-bar-head .live-subscribe{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto;min-height:var(--tap);padding:0 18px;box-sizing:border-box;border:1px solid var(--gold);border-radius:var(--r-pill);background:var(--gold-metal,var(--gold));color:var(--on-gold);font:inherit;font-size:var(--fs-sm);font-weight:800;text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-bar-head .live-subscribe:hover{border-color:var(--gold-metal-edge,var(--gold-strong));background:var(--gold-metal-hover,var(--gold-strong));color:var(--on-gold-metal,var(--on-gold))}
.live-bar-head .live-subscribe:active{transform:scale(.97)}
.live-bar-head .live-subscribe:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.live-bar-head .live-subscribe{transition:none}.live-bar-head .live-subscribe:active{transform:none}}
/* SUBSCRIBE CENTRED (Aaron, 29 Oct): desktop only. The title row (badge, Live Stream, next stream) is centred on its own line, and Subscribe
drops into the centred button row as a fourth equal button beside TV View, Full Screen and Watch On Kick (same 150px width, same 44px height).
.live-bar-head becomes display:contents so its children join the card's own centred flex row; the zero-height ::after breaks the line. Phones and
tablets (under 1024px) are untouched. */
@media(min-width:1024px){
 .live-bar .live-bar-head{display:contents}
 .live-bar>.live-bar-head>.live-chip{order:1}
 .live-bar>.live-bar-head>h1{order:2}
 .live-bar>.live-bar-head>.live-next{order:3;flex:0 1 auto;text-align:center}
 .live-bar>.live-bar-head>.live-next:empty{flex:0 0 200px}
 .live-bar::after{content:"";order:4;flex:0 0 100%;height:0}
 .live-bar>.live-bar-head>.live-subscribe{order:5;flex:0 0 150px;height:var(--tap);margin:0;padding:0 14px}
 .live-bar>.live-bar-tools{order:6}
 .live-bar>.live-earning{order:7}
}

/* LIVE ONE SCREEN (Aaron, 29 Oct): phones (768px and under) fit the watch page on one screen with no page scroll: the 16:9 stream, one status
   line (Live / Offline, the next stream or earning line, the Bucks pill), one compact row of Subscribe, TV View, Full Screen and Watch On
   Kick (icon over a short label, 44px+, two rows only if a very narrow phone needs it), then the chat filling the rest. Only the messages
   scroll; the Tap To Chat bar is built into the bottom of the chat box (no longer floating over it), with the newest message right above it.
   The compact top bar and the six-tab strip stay (the strip is the phone's site menu); the page title, the Bucks / XP line in the chat head
   and the footer step aside. Typing still lifts the box onto the keyboard as before. Desktop is unchanged. */
.live-chat-bar::before,.live-chat-cta::before{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--live-ico) center/contain no-repeat;mask:var(--live-ico) center/contain no-repeat}
.live-chat-bar,.live-chat-cta{--live-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");gap:10px}
.live-chat-cta::before{display:none}
@media(max-width:768px){
 body.live-page[data-live-mode=page]{height:100vh;height:100svh;height:100dvh;overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column}
 body.live-page[data-live-mode=page]>main.live-main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;padding:var(--sp-2) max(var(--sp-2),env(safe-area-inset-right,0px)) var(--sp-2) max(var(--sp-2),env(safe-area-inset-left,0px))}
 body.live-page[data-live-mode=page] .live-layout{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:var(--sp-2)}
 .live-layout>.live-stage,.live-layout>.live-bar{flex:none}
 .live-layout>.live-chat{flex:1 1 0;min-height:0}
 .live-layout>.live-chat .live-chat-list{flex:1 1 0;height:auto;min-height:0;padding:6px var(--sp-3)}
 .live-layout>.live-chat .live-chat-head{padding:6px var(--sp-3)}
 .live-layout>.live-chat .live-me{display:none}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot{position:static;gap:6px;padding:var(--sp-2);border-top:1px solid var(--line);box-shadow:none}
 .live-chat .live-chat-foot .live-chat-cta{justify-content:flex-start;padding:0 14px;border-color:var(--gold-line);background:var(--on-gold);color:var(--gold-strong);font-size:var(--fs-sm);font-weight:700}
 .live-chat .live-chat-foot .live-chat-cta::before{display:block}
 /* The status line and the button row. */
 .live-layout>.live-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:var(--sp-2)}
 .live-bar .live-bar-head,.live-bar .live-bar-tools,.live-bar .live-earning{display:contents}
 .live-bar .live-bar-head h1{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 .live-bar .live-chip{order:1}
 .live-bar .live-next,.live-bar .live-status{order:2;flex:1 1 0;min-width:0;margin:0;overflow:hidden;color:var(--text-muted);font-size:var(--fs-xs);line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
 .live-bar .live-next:empty{flex:1 1 0;height:12px}
 .live-bar:has(.live-status:not(:empty)) .live-next{display:none}
 .live-bar .live-earn{order:3;min-height:28px;margin-left:auto}
 /* Sign In and Link Kick step aside here: the header has Sign In, and the chat bar's Sign In Via Kick To Chat does the same Kick sign-in. */
 .live-bar .live-signin,.live-bar #live-link-kick{display:none}
 .live-bar #live-open-kick{position:relative}
 .live-bar #live-open-kick .viewer-live-dot{position:absolute;top:5px;right:6px;margin:0}
 .live-bar .live-check,.live-bar #live-claim{order:5;flex:1 1 100%}
 .live-bar::after{content:"";order:6;flex:0 0 100%;height:0}
 .live-bar .live-bar-head .live-subscribe,.live-bar .live-bar-tools .live-tool{order:7;flex:1 1 0;flex-direction:column;gap:3px;height:auto;min-width:0;min-height:var(--tap);margin:0;padding:5px 4px;border-radius:var(--r-md);font-size:11px;line-height:1.1;white-space:nowrap}
 .live-bar .live-bar-head .live-subscribe::before,.live-bar .live-bar-tools .live-tool::before{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--live-ico) center/contain no-repeat;mask:var(--live-ico) center/contain no-repeat}
 .live-bar #live-subscribe{--live-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.5 7 .8-5.2 4.8 1.4 7L12 17.6 5.8 21.1l1.4-7L2 9.3l7-.8z'/%3E%3C/svg%3E")}
 .live-bar #live-tv{--live-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm1 2v10h16V6zm3 14h10v2H7z'/%3E%3C/svg%3E")}
 .live-bar #live-fullscreen{--live-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h7v2H5v5H3zm11 0h7v7h-2V5h-5zM3 14h2v5h5v2H3zm16 0h2v7h-7v-2h5z'/%3E%3C/svg%3E")}
 .live-bar #live-open-kick{--live-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l12-7.5z'/%3E%3C/svg%3E");font-size:0}
 /* Watch On Kick keeps its full name for screen readers; the row shows the short "On Kick". */
 .live-bar #live-open-kick::after{content:"On Kick";font-size:11px}
 /* Cast makes five buttons on a phone row, so Full Screen shows the short "Full" (its full name stays for screen readers), like On Kick. */
 .live-bar #live-fullscreen{font-size:0}
 .live-bar #live-fullscreen::after{content:"Full";font-size:11px}
}
/* LIVE GOLD ON MARBLE (Aaron, 31 Oct 2026: "make it fit our new marble on cards etc and do so on mobile too"). The watch page wears the same
   gold-on-marble cards as Home: the player sits in a gold-edged marble frame, the status card under it and the Live Chat panel are marble
   cards with the gold bar along the top, a gold edge and the soft ring (--ic-bg, --ic-ring, both themes). Subscribe is the gold button;
   TV View, Full Screen and Watch On Kick are gold outlines, all 44px+. Desktop: the player and chat are centred together as one block, so
   the gutters either side match and the chat no longer hugs the right edge. Phones: player, status card, chat, stacked (the one-screen
   layout above is kept). Full screen, the overlay and every ID and hook are untouched. The cards rise in once; reduced motion turns it off. */
#live-layout>.live-stage:not(.live-full){padding:6px;border:1px solid var(--gold-line);border-radius:var(--ic-radius,18px);background:var(--ic-bg);box-shadow:var(--ic-ring,none)}
#live-layout>.live-stage:not(.live-full)>.live-frame{overflow:hidden;border-radius:calc(var(--ic-radius,18px) - 6px);background:var(--sunken);box-shadow:0 0 0 1px color-mix(in srgb,var(--gold-line) 70%,transparent)}
body.live-viewport-full #live-layout>.live-stage,#live-layout>.live-stage:fullscreen{padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);border:0;border-radius:0;box-shadow:none}
body.live-viewport-full #live-layout>.live-stage>.live-frame,#live-layout>.live-stage:fullscreen>.live-frame{border-radius:0;box-shadow:none}
#live-layout>.live-bar{border:1px solid var(--gold-line);border-radius:var(--ic-radius,18px);background:var(--ic-bg);box-shadow:var(--ic-ring,none)}
#live-layout>.live-bar .live-bar-head h1{color:var(--gold-text);letter-spacing:.01em}
#live-layout>.live-bar .live-chip:not([data-live=true]):not(:empty){border-color:var(--gold-line);background:color-mix(in srgb,var(--gold) 10%,transparent);color:var(--gold-text)}
#live-layout>.live-bar .live-bar-head .live-subscribe{border-color:var(--gold-strong);border-radius:var(--r-md);background:var(--gold-metal,linear-gradient(120deg,var(--gold-strong),var(--gold) 55%,var(--gold-strong)));color:var(--on-gold);box-shadow:inset 0 1px 0 var(--gold-hover),0 8px 22px var(--gold-glow)}
#live-layout>.live-bar .live-bar-head .live-subscribe:hover{border-color:var(--gold-metal-edge,var(--gold-strong));background:var(--gold-metal-hover,linear-gradient(120deg,var(--gold-strong),var(--gold) 55%,var(--gold-strong)))}
#live-layout>.live-bar .live-tool{border-color:var(--gold-line);background:color-mix(in srgb,var(--surface) 55%,transparent);color:var(--gold-text);transition:transform var(--dur-press) var(--ease),border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
#live-layout>.live-bar .live-tool:hover{border-color:var(--gold-strong);background:var(--gold-hover);box-shadow:0 6px 18px var(--gold-glow)}
#live-layout>.live-chat{border:1px solid var(--gold-line);border-radius:var(--ic-radius,18px);background:var(--ic-bg);box-shadow:var(--ic-ring,none)}
#live-layout>.live-chat .live-chat-head{padding-top:calc(var(--sp-3) + 2px);border-bottom:1px solid transparent;border-image:linear-gradient(90deg,transparent,var(--gold-line) 15%,var(--gold-line) 85%,transparent) 1;background:linear-gradient(180deg,color-mix(in srgb,var(--gold) 9%,transparent),transparent)}
#live-layout>.live-chat .live-chat-head h2{color:var(--gold-text);font-size:var(--fs-md);letter-spacing:.02em}
#live-layout>.live-chat .live-chat-list{background:color-mix(in srgb,var(--sunken) 45%,transparent)}
#live-layout>.live-chat .live-chat-foot{border-top-color:var(--gold-line);background:color-mix(in srgb,var(--surface) 88%,transparent)}
#live-layout>.live-chat .live-send input{border-color:var(--gold-line);border-radius:var(--r-md);background:var(--sunken)}
#live-layout>.live-chat .live-send input:focus{border-color:var(--gold-strong);outline:0;box-shadow:0 0 0 3px var(--gold-glow)}
#live-layout>.live-chat .live-send button{background:var(--gold-metal,linear-gradient(120deg,var(--gold-strong),var(--gold) 55%,var(--gold-strong)));box-shadow:inset 0 1px 0 var(--gold-hover)}
#live-layout>.live-chat .live-chat-cta,#live-layout>.live-chat .live-chat-bar{border-color:var(--gold-line)}
@keyframes live-rise{from{opacity:.25;transform:translateY(14px)}}
#live-layout>.live-stage,#live-layout>.live-bar,#live-layout>.live-chat{animation:live-rise .55s cubic-bezier(.2,.7,.2,1) backwards}
/* v174: the page-load rise plays once; nothing later (typing view, a card shown again) can set it off a second time. */
body.live-risen #live-layout>:is(.live-stage,.live-bar,.live-chat){animation:none}
#live-layout>.live-bar{animation-delay:.08s}
#live-layout>.live-chat{animation-delay:.16s}
@media(min-width:1024px){
 html body.live-page:not(.live-tv) .live-layout{--live-player-max:calc((var(--live-avail-h) - var(--live-bar-h,220px) - var(--sp-3) - 14px)*16/9);grid-template-columns:minmax(0,var(--live-player-max)) var(--live-chat-w);justify-content:center;column-gap:var(--sp-3)}
 html body.live-page:not(.live-tv) .live-layout>.live-stage,html body.live-page:not(.live-tv) .live-layout>.live-bar{width:100%}
 .live-page:not(.live-tv) main.live-main{padding:var(--sp-3) clamp(var(--sp-3),2.5vw,48px)}
}
@media(prefers-reduced-motion:reduce){.live-layout>.live-stage,#live-layout>.live-bar,#live-layout>.live-chat{animation:none}.live-layout>.live-bar .live-tool{transition:none}}
/* LIVE CHAT ICONS, LOOKS AND TEXT SIZE (Aaron, 31 Oct 2026). Each row: the chatter's picture (with the border they wear on their profile),
   then the role icons, the name and the message. Icons and pictures scale with the Chat Text Size slider (--live-chat-fs on the list).
   Only the newest visible rows move (.cfx-off from viewer-live.js); nothing moves for prefers-reduced-motion. Gold family only. */
.live-chat-list{--live-chat-fs:13px}
.live-msg{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:start;margin:1px 0;padding:4px 6px;border-radius:var(--r-md,10px);font-size:var(--live-chat-fs,var(--fs-sm))}
.live-msg-body{min-width:0;padding-top:max(0px,calc((var(--live-av) - 1.45em)/2))}
.live-msg{--live-av:clamp(28px,2.2em,40px)}
.live-msg .live-av{width:var(--live-av);height:var(--live-av);margin:0;align-self:start}
.live-msg .viewer-avatar.live-av>img{width:100%;height:100%}
.live-msg .viewer-avatar .rank-pip{right:-3px;bottom:-3px;min-width:14px;height:14px;padding:0 2px;border-radius:7px;font-size:9px;line-height:12px}
/* 3- and 4-digit levels (Aaron, 9 Nov 2026: "711" covered the picture): centred under the picture, hanging below its edge. */
.live-msg .viewer-avatar .rank-pip.wide{right:auto;left:50%;transform:translateX(-50%);bottom:-7px;padding:0 2px;font-size:8px;height:13px;line-height:11px}
.live-msg:has(.rank-pip.wide){padding-bottom:9px}
.live-av-letter{display:inline-grid;place-items:center;border-radius:50%;background:var(--gold-metal,linear-gradient(135deg,var(--gold),var(--gold-strong) 52%,var(--gold)));color:var(--on-gold-metal,var(--on-gold));font-weight:800;font-size:calc(var(--live-av)*.46);line-height:1;box-shadow:inset 0 0 0 1px var(--live-ring)}
.live-msg-who{display:inline;white-space:nowrap}
.live-msg-who::after{content:"\200b";white-space:normal}
.live-msg-who strong{white-space:normal;overflow-wrap:anywhere}
.live-msg-who strong{margin-right:6px;vertical-align:baseline}
/* Light theme: a hairline edge keeps the paler parts of a moving name readable on marble. */
[data-theme=light] .live-msg-who strong.cfx-text{filter:drop-shadow(0 0 .5px var(--live-name-edge))}
.live-sig{display:inline-block;margin-right:6px;line-height:1.2}
.live-sig>strong{margin-right:0}
.live-ico{display:inline-grid;place-items:center;width:1.4em;height:1.4em;margin-right:3px;border-radius:50%;font-size:1em;line-height:1;vertical-align:-.36em;cursor:help;-webkit-tap-highlight-color:transparent;user-select:none}
.live-ico:focus-visible,.live-msg-who .viewer-badge:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:1px}
.live-ico-sub{perspective:240px}
.live-ico-sub>img{display:block;width:1.3em;height:1.3em;animation:live-b-spin 4.5s linear infinite;filter:drop-shadow(0 1px 1px var(--live-drop))}
@keyframes live-b-spin{to{transform:rotateY(360deg)}}
.live-msg-who .viewer-badge{min-width:1.4em;height:1.4em;margin-right:3px;font-size:.85em;vertical-align:-.36em;cursor:help}
.live-msg-text{overflow-wrap:anywhere}
.live-msg.live-accent{box-shadow:inset 3px 0 0 var(--live-accent)}
.live-msg.live-accent .live-msg-who strong:not([class*=name-colour-]){color:var(--live-accent)}
/* The one chat tooltip (hover, focus or tap). */
.live-tip{position:fixed;z-index:90;max-width:220px;padding:6px 10px;border:1px solid var(--gold-line);border-radius:var(--r-md,10px);background:var(--ic-bg,var(--raised));background-color:var(--raised);color:var(--gold-text);font-size:13px;font-weight:700;line-height:1.3;box-shadow:var(--shadow);pointer-events:none;white-space:nowrap}
.live-tip[hidden]{display:none}
/* The Chat Text Size slider: bottom right, above Send. */
.live-size{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:var(--tap);margin:0}
.live-size-a{color:var(--gold-text);font-weight:800;line-height:1}
.live-size-sm{font-size:12px}.live-size-lg{font-size:19px}
.live-chat-foot{grid-template-columns:minmax(0,1fr) auto}.live-chat-foot>*{grid-column:1/-1}.live-chat-foot>.live-quick:not([hidden]){grid-column:1}.live-chat-foot>.live-quick:not([hidden])+.live-size{grid-column:2}
.live-size input[type=range]{width:min(150px,40vw);height:var(--tap);min-height:var(--tap);margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;cursor:pointer;-webkit-appearance:none;appearance:none;accent-color:var(--gold)}
.live-size input[type=range]:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:2px;border-radius:6px}
.live-size input[type=range]::-webkit-slider-runnable-track{height:6px;border:1px solid var(--gold-line);border-radius:3px;background:var(--gold-metal,linear-gradient(90deg,var(--gold),var(--gold-strong)))}
.live-size input[type=range]::-moz-range-track{height:6px;border:1px solid var(--gold-line);border-radius:3px;background:var(--gold-metal,linear-gradient(90deg,var(--gold),var(--gold-strong)))}
.live-size input[type=range]::-webkit-slider-thumb{width:22px;height:22px;margin-top:-9px;border:2px solid var(--gold-metal-edge,var(--gold-strong));box-sizing:border-box;border-radius:50%;background:var(--gold-metal,linear-gradient(135deg,var(--gold),var(--gold-strong) 52%,var(--gold)));box-shadow:0 1px 4px var(--live-drop);-webkit-appearance:none;appearance:none}
.live-size input[type=range]::-moz-range-thumb{width:20px;height:20px;border:2px solid var(--gold-metal-edge,var(--gold-strong));box-sizing:border-box;border-radius:50%;background:var(--gold-metal,linear-gradient(135deg,var(--gold),var(--gold-strong) 52%,var(--gold)));box-shadow:0 1px 4px var(--live-drop)}
/* Send sits on the same row and at the same height as the message box. */
.live-send{align-items:stretch}
.live-send input,.live-send button{height:var(--tap);min-height:var(--tap);margin:0;box-sizing:border-box;line-height:1}
/* Phones: before they start typing, the slider shares the Tap To Chat row, so the chat keeps its height. */
@media(max-width:768px){body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-chat-bar{grid-column:1;min-width:0}body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-size{grid-column:2}.live-size input[type=range]{width:min(120px,34vw)}}
@media(prefers-reduced-motion:reduce){.live-ico-sub>img{animation:none}.live-msg.pk-fx-entrance{animation:none}}
/* LIVE CHAT FITS (Aaron, 31 Oct 2026 19:21): at every Chat Text Size (12 to 22 px) and chat width the message list never scrolls sideways.
   The role icons, name, badges and title wrap onto the next line instead of running past the edge, the picture keeps its own column,
   normal words wrap between words and only long unbroken names and links break inside, and the Chat Text Size row always fits. */
.live-chat-list{overflow-x:hidden;min-width:0}
.live-msg{grid-template-columns:var(--live-av) minmax(0,1fr);min-width:0;max-width:100%}
.live-msg .live-av{flex:none;min-width:var(--live-av);max-width:var(--live-av)}
.live-msg-who{white-space:normal}
.live-msg-who .live-sig{max-width:100%;overflow-wrap:anywhere}
.live-msg-who strong,.live-msg-text{overflow-wrap:anywhere;word-break:normal;unicode-bidi:isolate}
.live-chat-foot>*{min-width:0}
.live-size{min-width:0;max-width:100%}
.live-size input[type=range]{min-width:48px;flex:0 1 auto}
/* LIVE CHAT LINKS: the host's, his bots' and moderators' links (viewer-live.js chatText) in gold, underlined, wrapping like the text. */
.live-msg-text .live-link{color:var(--gold-text);font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere;border-radius:3px}
.live-msg-text .live-link:hover{text-decoration-thickness:2px}
.live-msg-text .live-link:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:1px}
/* EMOTE BUTTON (v166, Aaron 4 Nov 2026): phones, between Tap To Chat and the text size slider; a 44px gold-edged square with the smiley. */
.live-chat-emote{display:none}
@media(max-width:768px){
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]{grid-template-columns:minmax(0,1fr) auto auto}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-chat-emote{display:grid;place-items:center;grid-column:2;width:var(--tap);min-width:var(--tap);height:var(--tap);margin:0;padding:0;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:var(--on-gold);color:var(--gold-strong);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform 180ms var(--ease)}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-chat-emote:active{transform:scale(.94)}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-chat-emote:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-size{grid-column:3;justify-self:end;width:auto;min-width:0}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-size input[type=range]{width:min(96px,24vw)}
 body:not(.live-composing) .live-layout>.live-chat .live-chat-foot[data-can-chat=true]>.live-chat-bar{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(prefers-reduced-motion:reduce){.live-chat-emote{transition:none}.live-chat-emote:active{transform:none}}
/* SMOOTH EXIT FROM FULL SCREEN (v170, Aaron 4 Nov 2026), phones: Minimise fades the page out, comes out of full screen upright and back at
   the top, then fades it in, instead of jumping while the screen turns. */
body.live-page main.live-main{transition:opacity var(--dur-slow) var(--ease)}
body.live-page.live-exiting main.live-main{opacity:0}
/* SMOOTH CHANGES (v171, Aaron 5 Nov 2026), phones: opening or closing the typing view fades the chat in, so the swap never jumps. */
/* v174: the send box itself stays solid; only what is in it (message box or Tap To Chat) fades in, over the same time as the glide. */
@keyframes live-settle{from{opacity:0}to{opacity:1}}
body.live-page.live-settle #live-layout>.live-chat>.live-chat-foot>:not(.live-emotes){animation:live-settle var(--dur-slow) var(--ease)}
/* LIVE CHAT EMOTES (Aaron, 31 Oct 2026 19:32): Kick emotes in messages sit in the line at twice the Chat Text Size (so they grow with the
   slider), as Kick serves them (animated ones keep playing). The smiley beside the message box (44px) opens the picker above the box:
   44px emote buttons in a grid that wraps to the panel width (never sideways), scrolling down only. Open, the smiley is metallic gold. */
.live-msg-text .live-emote{display:inline-block;height:2em;width:auto;max-width:min(7em,100%);margin:-.3em .08em;vertical-align:middle;object-fit:contain}
.live-emotes{min-width:0;max-width:100%;max-height:min(280px,42vh);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:4px 8px 8px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:var(--surface)}
.live-emotes[hidden]{display:none}
.live-emotes-head{margin:8px 2px 4px;font-size:var(--fs-xs);font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--gold-text)}
.live-emotes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:2px;min-width:0}
.live-emote-pick{display:grid;place-items:center;width:100%;min-width:var(--tap);height:var(--tap);margin:0;padding:0;box-sizing:border-box;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-muted);font:inherit;font-size:10px;overflow:hidden;cursor:pointer}
.live-emote-pick:hover{border-color:var(--gold-line);background:var(--sunken)}
.live-emote-pick:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.live-emote-img{display:block;width:32px;height:32px;object-fit:contain}
.live-emotes-note{margin:8px 2px 4px;font-size:var(--fs-sm);color:var(--text-muted)}
/* SUB EMOTES FROM OTHER CHANNELS: with channels added on My Profile, a row of gold pills (44px, wrapping, never sideways) picks TheBuddhaX
   or one of them; the chosen one is metallic gold (the shared .gold-pill look). */
.live-emote-tabs{display:flex;flex-wrap:wrap;gap:6px;min-width:0;padding:6px 0 2px}
.live-emote-tabs .live-emote-tab{min-height:var(--tap);max-width:100%;padding:0 12px;font-size:var(--fs-sm);overflow:hidden;text-overflow:ellipsis}
.live-send .live-emote-btn,#live-layout>.live-chat .live-send .live-emote-btn{display:grid;place-items:center;flex:0 0 var(--tap);width:var(--tap);min-width:var(--tap);padding:0;border:1px solid var(--gold-line);background:var(--sunken);color:var(--gold-text);box-shadow:none}
.live-send .live-emote-btn:hover,#live-layout>.live-chat .live-send .live-emote-btn:hover{border-color:var(--gold-metal-edge,var(--gold-strong))}
.live-send .live-emote-btn[aria-expanded=true],#live-layout>.live-chat .live-send .live-emote-btn[aria-expanded=true]{border-color:var(--gold-metal-edge,var(--gold-strong));background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold))}
.live-send .live-emote-btn[aria-expanded=true]:hover,#live-layout>.live-chat .live-send .live-emote-btn[aria-expanded=true]:hover{background:var(--gold-metal-hover,var(--gold-strong))}
@media(max-width:768px){body:not(.live-composing):not(.live-tray) .live-layout>.live-chat .live-chat-foot[data-can-chat=true] .live-emotes{display:none}}
@media(max-width:1023px){body.live-composing #live-layout>.live-chat .live-chat-foot{background:var(--surface)}}
/* LIVE CHAT BORDERED ROWS (Aaron, 31 Oct 2026 20:17): a chatter wearing a row highlight (border/background) or a Custom Accent: the name line
   (badges, name, their badges and title) wraps neatly on top, and the message always starts on its own line under it, in the name column,
   inside their box. Chatters without one stay inline after their name. Same no-clip, no-sideways-scroll rules at every Chat Text Size. */
.live-msg.live-msg-boxed{padding:6px 8px}
.live-msg-boxed .live-msg-who{display:flex;flex-wrap:wrap;align-items:center;column-gap:.2em;row-gap:2px;min-width:0;white-space:normal}
.live-msg-boxed .live-msg-who::after{content:none}
.live-msg-boxed .live-msg-who>*{min-width:0;max-width:100%}
.live-msg-boxed .live-msg-who strong{margin-right:.15em}
.live-msg-boxed .live-msg-text{display:block;margin-top:3px}
/* LIVE CHAT MENTIONS (Aaron, 31 Oct 2026 20:19): @names in messages in bold gold on a soft gold tint; an @ of you in metallic gold and your
   row outlined in the metal edge. Typing @ opens the list above the box: 44px rows, the chosen one metallic gold, scrolling down only. */
.live-msg-text .live-mention{color:var(--gold-text);font-weight:800;background:var(--gold-hover,var(--gold-tint));border-radius:4px;padding:0 .18em;-webkit-box-decoration-break:clone;box-decoration-break:clone;overflow-wrap:anywhere}
.live-msg-text .live-mention-me{background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold))}
.live-msg.live-msg-me{outline:1px solid var(--gold-metal-edge,var(--gold-strong));outline-offset:-1px}
.live-mentions{list-style:none;margin:0;padding:4px;min-width:0;max-width:100%;max-height:min(236px,40vh);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:var(--surface)}
.live-mentions[hidden]{display:none}
.live-mention-opt{display:flex;align-items:center;min-width:0;min-height:var(--tap);margin:0;padding:0 10px;box-sizing:border-box;border-radius:8px;color:var(--text);font-weight:700;overflow-wrap:anywhere;cursor:pointer}
.live-mention-opt:hover{background:var(--sunken)}
.live-mention-opt[aria-selected=true]{background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold));box-shadow:inset 0 0 0 1px var(--gold-metal-edge,var(--gold-strong))}
.live-mention-at{color:var(--gold-text)}
.live-mention-opt[aria-selected=true] .live-mention-at{color:inherit}
/* LIVE CHAT PINNED MESSAGE (Aaron, 31 Oct 2026 20:28; slimmed 1 Nov 21:28): the pinned message above the chat as one slim row that opens to
   its chat row. Unpin and the rows' Pin button are 44px; nothing ever scrolls sideways. */
.live-pin{--live-chat-fs:13px;position:relative;z-index:1;flex:0 0 auto;min-width:0;margin:6px var(--sp-3) 0;padding:0;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:var(--surface);overflow:visible}
.live-pin[hidden]{display:none}
/* PINNED BANNER (Aaron, 9:28 PM 1 Nov 2026: "streamlined as possible"): one 36px row (gold pin, name, the message cut to one line, a small arrow);
   the row's tap area reaches 44px (::before). Open: the full message, who pinned it and the 44px Unpin. Same on desktop; phones only lose side margin. */
.live-pin-bar{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-width:0;height:36px;margin:0;padding:0 10px;box-sizing:border-box;border:0;border-radius:inherit;background:transparent;color:var(--text);font:inherit;font-size:13px;line-height:1.2;text-align:left;cursor:pointer}
.live-pin-bar::before{content:"";position:absolute;inset:-4px 0}
.live-pin-bar:hover{background:var(--gold-hover)}
.live-pin-bar:focus-visible{outline:2px solid var(--gold-text);outline-offset:-2px}
.live-pin-ico{flex:none;width:14px;height:14px;background:var(--gold-text);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 2l7 7-2 1-3 3 .5 5-2 2-4.2-4.2L4 22l-2-2 6.2-6.3L4 9.5l2-2 5 .5 3-3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 2l7 7-2 1-3 3 .5 5-2 2-4.2-4.2L4 22l-2-2 6.2-6.3L4 9.5l2-2 5 .5 3-3z'/%3E%3C/svg%3E") center/contain no-repeat}
.live-pin-line{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.live-pin-name{margin-right:6px;color:var(--gold-text);font-weight:800}
.live-pin-text,.live-pin-text *{display:inline;white-space:nowrap}
.live-pin-text img{width:auto;height:1.25em;vertical-align:middle}
.live-pin-chev{flex:none;width:14px;height:14px;background:var(--text-soft);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8.5h14L12 16z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8.5h14L12 16z'/%3E%3C/svg%3E") center/contain no-repeat}
.live-pin-open .live-pin-chev{transform:rotate(180deg)}
.live-pin-open .live-pin-text{display:none}
.live-pin-full{max-height:min(32vh,240px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 8px 4px;border-top:1px solid var(--gold-line);overflow-wrap:anywhere}
.live-pin-full[hidden]{display:none}
.live-pin-msg{margin:4px 0 0;padding:0;list-style:none;min-width:0}
.live-pin .live-msg{margin:0;padding-left:0;padding-right:0}
.live-pin .live-msg.live-msg-boxed{padding:6px 2px}
.live-pin-full .live-msg{grid-template-columns:minmax(0,1fr)}
.live-pin-full .live-msg>:not(.live-msg-body),.live-pin-full .live-msg-who{display:none}
.live-pin-full .live-msg-body{padding-top:0}
.live-pin-full .live-msg-text{margin-top:0}
.live-pin-foot{display:flex;align-items:center;gap:8px;min-width:0}
.live-pin-by{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--text-soft);font-size:var(--fs-xs);font-weight:700}
.live-pin-unpin{flex:0 0 auto;min-width:var(--tap);min-height:var(--tap);padding:0 12px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:transparent;color:var(--gold-text);font:inherit;font-size:var(--fs-sm);font-weight:800;cursor:pointer}
.live-pin-unpin:hover{background:var(--gold-hover)}
.live-pin-unpin[hidden]{display:none}
.live-msg{position:relative}
.live-row-act{position:absolute;top:50%;right:4px;z-index:2;display:flex;gap:6px;max-width:calc(100% - 8px);transform:translateY(-50%)}
.live-row-act[hidden]{display:none}
.live-pin-act{min-width:var(--tap);min-height:var(--tap);padding:0 12px;box-sizing:border-box;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:var(--r-md);background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold));font:inherit;font-size:var(--fs-sm);font-weight:800;box-shadow:var(--shadow);cursor:pointer}
.live-pin-act[hidden],.live-chat:not([data-can-pin=true]) .live-pin-act{display:none}
/* LIVE CHAT DELETE: dark with a gold edge; red only once it asks to confirm. */
.live-del-act{min-width:var(--tap);min-height:var(--tap);padding:0 12px;box-sizing:border-box;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:var(--r-md);background:var(--surface);color:var(--text);font:inherit;font-size:var(--fs-sm);font-weight:800;box-shadow:var(--shadow);cursor:pointer;white-space:nowrap}
.live-del-act.live-del-armed{border-color:var(--danger);background:var(--danger);color:var(--on-danger)}
.live-del-act[hidden]{display:none}
@media(max-width:600px){.live-pin{margin:4px var(--sp-2) 0}}
/* LIVE CHAT MENU (Aaron, 1 Nov 2026): a chatter's name opens a dark menu with a hairline edge; items are 44px and turn gold on hover.
   On a phone (480px and under) it is a sheet along the bottom. Nothing scrolls sideways. */
.live-name{cursor:pointer;border-radius:4px}
.live-name:hover{text-decoration:underline;text-decoration-color:var(--gold-line);text-underline-offset:2px}
.live-name:focus-visible{outline:2px solid var(--gold-strong);outline-offset:2px}
.live-menu{position:fixed;z-index:60;width:min(260px,calc(100vw - 16px));max-height:min(70vh,520px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:6px;box-sizing:border-box;border:1px solid var(--edge);border-radius:var(--r-md);background:var(--raised);color:var(--text);box-shadow:var(--shadow);overflow-wrap:anywhere}
.live-menu[hidden]{display:none}
.live-menu-head{display:flex;align-items:baseline;gap:8px;min-width:0;margin:0 0 4px;padding:6px 10px 8px;border-bottom:1px solid var(--edge)}
.live-menu-head strong{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--gold-text);font-size:var(--fs-md,15px)}
.live-menu-head span{flex:0 0 auto;color:var(--text-soft);font-size:var(--fs-xs);font-weight:700}
.live-menu-item{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;min-height:var(--tap);margin:0;padding:6px 10px;box-sizing:border-box;border:1px solid transparent;border-radius:var(--r-md);background:transparent;color:var(--text);font:inherit;font-size:var(--fs-sm);font-weight:700;text-align:left;text-decoration:none;cursor:pointer}
.live-menu-item:hover,.live-menu-item:focus-visible{border-color:var(--gold-line);background:var(--gold-hover);color:var(--gold-text);outline:none}
.live-menu-item[aria-disabled=true]{opacity:.55;cursor:not-allowed;border-color:transparent;background:transparent;color:var(--text-soft)}
.live-menu-danger{color:var(--danger-text)}
.live-menu-danger:hover,.live-menu-danger:focus-visible{border-color:var(--danger);color:var(--danger-text)}
.live-menu-note{display:block;color:var(--text-soft);font-size:var(--fs-xs);font-weight:600}
p.live-menu-note{margin:0 10px 6px}
.live-menu-ask{margin:6px 10px;font-weight:800}
.live-menu-sep{height:1px;margin:4px 6px;background:var(--edge)}
.live-menu-status{margin:6px 10px 4px;color:var(--gold-text);font-size:var(--fs-sm);font-weight:700}
.live-menu-status.live-menu-bad{color:var(--danger-text)}
@media(max-width:480px){.live-menu.live-menu-sheet{left:8px;right:8px;top:auto;bottom:max(8px,env(safe-area-inset-bottom));width:auto;max-height:70vh}}
/* v163 PHONE WATCHING (Aaron, 4 Nov 2026), phones and the home-screen app, the Live page and /mod:
   - The stream runs edge to edge at the very top: no site header and no gold frame (the bottom tabs stay for getting around).
   - TYPING VIEW: while the send box is open, the stream, the chat and a slim send box fill the part of the screen above the keyboard
     (--live-vvt / --live-vvh from viewer-live.js), so people can read chat while they write, like on Kick. The chat bar, !here and the text
     size slider step aside while typing. */
@media(max-width:768px){
 body.live-page[data-live-mode=page]{padding-top:env(safe-area-inset-top,0px)}
 body.live-page[data-live-mode=page] .viewer-header{display:none}
 body.live-page[data-live-mode=page]>main.live-main{padding-top:0;padding-left:0;padding-right:0}
 body.live-page[data-live-mode=page] .live-layout>.live-stage{border:0!important;border-radius:0!important;padding:0!important;margin:0!important;background:var(--bg)!important;box-shadow:none!important;border-image:none!important}
 body.live-page[data-live-mode=page] .live-layout>.live-stage::before,body.live-page[data-live-mode=page] .live-layout>.live-stage::after{display:none}
 body.live-page[data-live-mode=page] .live-layout>.live-stage .live-frame{border-radius:0}
 body.live-page[data-live-mode=page] .live-layout>:not(.live-stage){margin-left:var(--sp-2);margin-right:var(--sp-2)}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout{position:fixed;left:0;right:0;top:var(--live-vvt,0px);bottom:var(--live-kb,0px);height:auto;z-index:55;display:flex;flex-direction:column;gap:0;margin:0;padding:0;background:var(--bg)}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout>.live-stage{flex:none}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout>:not(.live-stage):not(.live-chat){display:none}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout>.live-chat{flex:1 1 0;min-height:0;margin:0 var(--live-rest-mr,0px) 0 var(--live-rest-ml,0px);border-radius:var(--live-rest-r,0px);border-left-width:var(--live-rest-bw,0px);border-right-width:var(--live-rest-bw,0px);display:flex;flex-direction:column}
 body.live-page.live-composing[data-live-mode=page] #live-layout>.live-chat .live-chat-head{box-sizing:border-box;max-height:0;opacity:0;padding-top:0;padding-bottom:0;border-bottom-width:0;overflow:hidden}
 /* SEAMLESS TYPING VIEW (v172, Aaron 5 Nov 2026): the typing view starts where the chat card sits and glides (bottom edge, gap, side edges,
    corners, header) into place; .live-folding (v173: the normal send box with Tap To Chat already showing) glides it back to the card's own measures before the normal page takes over. The six-tab
    strip stays put underneath, so nothing blinks out; the typing view (or the keyboard) slides over it. */
 body.live-page[data-live-mode=page] #live-layout>.live-chat .live-chat-head{max-height:var(--live-head-h,none)}
 /* v175: one pace for every part of a glide. Opening is a little longer with a gentler start, closer to how Android's keyboard rises, so
    the chat no longer runs ahead of it; closing keeps the quicker pace. */
 body.live-page.live-composing[data-live-mode=page]{--live-glide-d:calc(var(--dur-slow) * 1.2);--live-glide-e:cubic-bezier(.4,0,.2,1)}
 body.live-page.live-folding[data-live-mode=page]{--live-glide-d:var(--dur-slow);--live-glide-e:var(--ease)}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout{transition:bottom var(--live-glide-d) var(--live-glide-e),gap var(--live-glide-d) var(--live-glide-e)}
 /* v175: the space under the chat, between it and the keyboard while the keyboard is still rising, is filled with the send box's own
    colour and side edges (it was the page's black background), so the chat seems to run down into the keyboard. It ends at the top of the
    six-tab strip, so nothing covers the tabs. Its height moves with the chat's bottom edge, on the same pace. */
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout::after{content:'';position:absolute;left:var(--live-rest-ml,0px);right:var(--live-rest-mr,0px);top:100%;height:max(0px,calc(var(--live-kb,0px) - var(--live-rest-b,0px)));box-sizing:border-box;border:0 solid var(--gold-line);border-left-width:var(--live-rest-bw,0px);border-right-width:var(--live-rest-bw,0px);background:var(--surface);pointer-events:none;transition:height var(--live-glide-d) var(--live-glide-e)}
 /* v175: while typing the chat's bottom corners square off and its bottom edge line fades, so it meets the filled space (and the keyboard)
    flat, with no dark notches; closing rounds them again. Paint-only changes. */
 body.live-page.live-composing[data-live-mode=page] #live-layout>.live-chat{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout>.live-chat{transition:border-bottom-left-radius var(--live-glide-d) var(--live-glide-e),border-bottom-right-radius var(--live-glide-d) var(--live-glide-e),border-bottom-color var(--live-glide-d) var(--live-glide-e)}
 /* v174: the typing view keeps the card's side edges, borders and corners, so the chat never changes width and no message re-wraps while
    it glides; only the bottom edge, the gap and the header move. */
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout>.live-chat .live-chat-head{transition:max-height var(--live-glide-d) var(--live-glide-e),opacity var(--live-glide-d) var(--live-glide-e),padding var(--live-glide-d) var(--live-glide-e),border-bottom-width var(--live-glide-d) var(--live-glide-e)}
 body.live-page.live-folding[data-live-mode=page] #live-layout{gap:var(--live-rest-gap,0px)}
 body.live-page.live-folding[data-live-mode=page] #live-layout>.live-chat .live-chat-head{max-height:var(--live-head-h,48px);opacity:1;padding-top:var(--live-head-pt,0px);padding-bottom:var(--live-head-pb,0px);border-bottom-width:var(--live-head-bb,0px)}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] .viewer-tabs,body.live-page.live-typing[data-live-mode=page] .viewer-tabs{display:flex}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] #live-layout>.live-chat .live-chat-list{flex:1 1 0;min-height:0}
 body.live-page.live-composing[data-live-mode=page] #live-layout>.live-chat .live-chat-foot{position:static!important;bottom:auto!important;padding:4px 8px!important;gap:6px;border-top:1px solid var(--line)}
 body.live-page.live-composing[data-live-mode=page] #live-layout>.live-chat .live-chat-foot :is(.live-quick,.live-size){display:none!important}
 body.live-page:is(.live-composing,.live-folding)[data-live-mode=page] .mod-panels{display:none}
 /* EMOTE TRAY (v174, Aaron 5 Nov 2026): the emote picker sits where the keyboard sits, exactly its size, so the keyboard slides over it or
    away from it and the chat never moves; opened from beside Tap To Chat it rises like a keyboard (transform only, no layout work). */
 body.live-page.live-tray[data-live-mode=page] #chat-emotes{position:fixed;left:0;right:0;bottom:0;z-index:2;height:var(--live-tray-h,300px);max-height:none;margin:0;border-width:1px 0 0;border-radius:0;padding-bottom:max(8px,env(safe-area-inset-bottom,0px));transform:translateY(100%);will-change:transform}
 body.live-page.live-tray.live-tray-up[data-live-mode=page] #chat-emotes{transform:none}
 body.live-page.live-tray.live-tray-glide[data-live-mode=page] #chat-emotes{transition:transform var(--live-glide-d,var(--dur-slow)) var(--live-glide-e,var(--ease))}
}
/* v165 (Aaron, 4 Nov 2026):
   - FULL SCREEN ON TOUCH SCREENS: no bar across the top. A tap shows small pills: Minimise and Pop Out (picture in picture) top left, Chat top
     right; a tap on an empty spot hides them again (viewer-live.js). The live chip and earn note step aside.
   - FULL-SCREEN CHAT PANEL: its Live Chat / Quick Mod bar clears the top edge, and the size slider steps aside; !here stays, slim.
   - !HERE AND THE SIZE SLIDER: one slim row on phones and in the full-screen panel (30px to look at, still a 44px tap). */
@media(hover:none) and (pointer:coarse){
 .live-full .live-ov-bar{background:none!important;box-shadow:none!important;border:0!important;padding:0!important}
 .live-full #ov-chip,.live-full #ov-earn{display:none!important}
 .live-full #ov-exit{order:-3}.live-full #ov-pip{order:-2}.live-full .live-ov-space{order:-1;flex:1 1 auto}.live-full #ov-chat{order:0}
 .live-full .live-ov-button{min-height:36px;padding:0 14px;font-size:13px;background:var(--scrim);border:1px solid var(--gold-line);border-radius:var(--r-pill);color:var(--on-scrim,var(--text))}
}
/* DESKTOP FULL SCREEN (v167, Aaron 4 Nov 2026): no dark bar across the top and no Offline / Live chip: just Chat, Minimise and Pop Out as
   small pills top right. They show and hide together with the bottom controls (viewer-live.js). */
@media not all and (hover:none) and (pointer:coarse){
 .live-full .live-ov-bar{background:none!important;box-shadow:none!important;border:0!important;padding:10px 12px!important;gap:8px;pointer-events:none}
 .live-full .live-ov-bar>button{pointer-events:auto}
 .live-full #ov-chip,.live-full #ov-earn{display:none!important}
 .live-full .live-ov-bar .live-ov-button{background:var(--scrim);border:1px solid var(--gold-line);border-radius:var(--r-pill);color:var(--on-scrim,var(--text))}
}
.live-stage.live-stage-chat .live-chat .live-chat-head{padding:max(8px,env(safe-area-inset-top,0px)) 10px 6px!important;min-height:0}
.live-stage.live-stage-chat .live-chat .live-size{display:none!important}
@media(max-width:1023px){
 #live-chat .live-chat-foot .live-quick-button{position:relative;min-height:30px;height:30px;padding:0 12px;font-size:12px;line-height:1}
 #live-chat .live-chat-foot .live-quick-button::before{content:'';position:absolute;left:0;right:0;top:-7px;bottom:-7px}
 #live-chat .live-chat-foot .live-size{min-height:30px}
}
/* FULL-SCREEN ICONS (v169, Aaron 4 Nov 2026), phones and desktop: Pop Out top left; Chat then Minimise top right (Minimise in the corner),
   all round metallic gold icons like the player's Pop Out and Full Screen. With the full-screen chat open they stay over the stream, never
   over the chat. On desktop they show with a mouse move and go with the bottom controls (viewer-live.js). */
.live-full .live-ov-bar{background:none!important;box-shadow:none!important;border:0!important;pointer-events:none}
.live-full .live-ov-bar>button{pointer-events:auto}
.live-full #ov-chip,.live-full #ov-earn{display:none!important}
.live-full #ov-pip{order:-3}.live-full .live-ov-space{order:-2;flex:1 1 auto}.live-full #ov-chat{order:-1}.live-full #ov-exit{order:0}
html body .live-full .live-ov-bar .live-ov-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;box-sizing:border-box;border:1px solid var(--gold-metal-edge,var(--gold-line));border-radius:50%;background:var(--scrim);color:transparent;font-size:0;line-height:0;box-shadow:var(--shadow)}
html body .live-full .live-ov-bar .live-ov-button::before{content:'';width:24px;height:24px;background:var(--gold-metal,var(--gold));-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
html body .live-full .live-ov-bar .live-ov-button:active{transform:scale(.94)}
html body .live-full .live-ov-bar #ov-chat[aria-pressed=true]{background:var(--gold-metal,var(--gold))}
html body .live-full .live-ov-bar #ov-chat[aria-pressed=true]::before{background:var(--on-gold-metal,var(--on-gold))}
.live-full #ov-pip{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10V5.5A1.5 1.5 0 0 0 18.5 4h-13A1.5 1.5 0 0 0 4 5.5v13A1.5 1.5 0 0 0 5.5 20H9'/%3E%3Cpath d='M7.5 7.5l4 4M7.5 11.5h4v-4'/%3E%3Crect x='12.5' y='13' width='8.5' height='7' rx='1.3'/%3E%3C/svg%3E")}
.live-full #ov-exit{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 14h7v7l-2.6-2.6-3.9 3.9-1.8-1.8 3.9-3.9zM21 10h-7V3l2.6 2.6 3.9-3.9 1.8 1.8-3.9 3.9z'/%3E%3C/svg%3E")}
.live-full #ov-chat{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E")}
.live-stage.live-full.live-stage-chat>.live-overlay{right:min(320px,38%)}
@media(orientation:portrait){.live-stage.live-full.live-stage-chat>.live-overlay{right:0;bottom:45%}}
/* LIVE CHAT CELEBRATIONS (Aaron, 1 Nov 2026): Sub Legend, Chat Legend, Show Some Love and Ban Hammer. Gold on dark marble, reds and warm
   tones only. Aaron (1 Nov 2026): they NEVER cover the stream. The layer sits inside the Live Chat panel, which clips the card, confetti,
   hearts and shards; sizes use the panel (cq units) and the card shrinks to fit it (--fit-cel). It catches no taps (only the card's buttons do). */
:where(.live-chat){position:relative}
.cel-layer{position:absolute;inset:var(--fit-top,0px) 0 var(--fit-bot,0px);z-index:30;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:unsafe center;padding:12px;overflow:hidden;border-radius:inherit;pointer-events:none;contain:layout paint;container-type:size}
.cel-layer[hidden]{display:none}
.cel{position:relative;display:grid;place-items:center;width:min(440px,100%);scale:var(--fit-cel,1);animation:cel-in .5s cubic-bezier(.2,1.4,.4,1) both}
.cel.cel-out{animation:cel-out .45s ease-in both}
.cel-card{position:relative;z-index:1;box-sizing:border-box;width:100%;padding:28px 20px 22px;border:1px solid var(--cel-line);border-radius:18px;overflow:hidden;text-align:center;color:var(--cel-text);
 background:radial-gradient(120% 80% at 20% 0%,var(--cel-stone-glow) 0%,transparent 60%),repeating-linear-gradient(115deg,transparent 0 34px,var(--cel-vein) 34px 35px,transparent 35px 70px),repeating-linear-gradient(28deg,transparent 0 52px,var(--cel-vein-gold) 52px 53px,transparent 53px 96px),linear-gradient(160deg,var(--cel-stone-1),var(--cel-stone-2) 55%,var(--cel-stone-3));
 box-shadow:0 0 0 1px var(--cel-rim),0 0 40px var(--cel-glow),0 24px 60px var(--cel-drop)}
.cel-close{position:absolute;top:6px;right:6px;z-index:3;width:var(--tap,44px);height:var(--tap,44px);border:0;border-radius:50%;background:transparent;color:var(--cel-soft);font-size:24px;line-height:1;cursor:pointer;pointer-events:auto}
.cel-close:hover,.cel-close:focus-visible{background:var(--cel-hover);color:var(--cel-gold)}
.cel-sweep{position:absolute;top:-40%;left:-60%;width:40%;height:180%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,var(--cel-sweep-1),var(--cel-sweep-2),var(--cel-sweep-1),transparent);animation:cel-sweep 2.2s ease-in-out .35s infinite;pointer-events:none}
.cel-sweep-2{animation-delay:1.4s;opacity:0}.cel-big .cel-sweep-2,.cel-huge .cel-sweep-2{opacity:1}
.cel-avatar{position:relative;display:inline-grid;place-items:center;width:112px;height:112px;margin:0 auto 10px;border-radius:50%;overflow:hidden;background:var(--cel-raised);color:var(--cel-gold);font-size:48px;font-weight:800;
 box-shadow:0 0 0 3px var(--cel-gold),0 0 0 6px var(--cel-line),0 0 30px var(--cel-glow-strong)}
.cel-avatar img{width:100%;height:100%;object-fit:cover}
.cel-kicker{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0 2px;font-size:clamp(22px,7cqw,34px);font-weight:900;letter-spacing:.04em;text-transform:uppercase;line-height:1.05;
 background:linear-gradient(100deg,var(--cel-gold-deep) 0%,var(--cel-gold) 22%,var(--cel-gold-white) 38%,var(--cel-gold) 52%,var(--cel-gold-mid) 70%,var(--cel-amber) 86%,var(--cel-gold-deep) 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:cel-shine 2.4s linear infinite;filter:drop-shadow(0 2px 0 var(--cel-drop-soft))}
.cel-name{margin:2px 0;font-size:clamp(20px,6cqw,28px);font-weight:800;color:var(--cel-text);overflow-wrap:anywhere;text-shadow:0 2px 10px var(--cel-black)}
.cel-line{margin:4px 0 0;font-size:clamp(15px,4.4cqw,19px);font-weight:700;color:var(--cel-gold-text)}
.cel-again .cel-line{animation:cel-pop .5s ease both}
.cel-rays{position:absolute;z-index:0;width:min(760px,180cqw);aspect-ratio:1;border-radius:50%;background:repeating-conic-gradient(var(--cel-ray) 0 6deg,transparent 6deg 18deg);-webkit-mask:radial-gradient(closest-side,var(--cel-black) 30%,transparent 100%);mask:radial-gradient(closest-side,var(--cel-black) 30%,transparent 100%);animation:cel-spin 14s linear infinite}
.cel-burst{position:absolute;z-index:0;width:140px;aspect-ratio:1;border-radius:50%;border:6px solid var(--cel-gold);box-shadow:0 0 40px var(--cel-gold),inset 0 0 30px var(--cel-amber);animation:cel-burst 1.1s ease-out .1s both}
.cel-big .cel-burst{animation-iteration-count:2}.cel-huge .cel-burst{animation-iteration-count:3;border-color:var(--cel-gold-pale)}
.cel-huge .cel-card{box-shadow:0 0 0 1px var(--cel-rim),0 0 70px var(--cel-glow-strong),0 24px 60px var(--cel-drop)}
.cel-bits{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.cel-bit{position:absolute;top:-6cqh;left:var(--x);width:9px;height:14px;border-radius:2px;background:var(--c);transform:scale(var(--s));animation:cel-fall var(--dur) cubic-bezier(.3,.6,.6,1) var(--wait) both}
.cel-spark{top:50%;left:50%;width:6px;height:6px;border-radius:50%;box-shadow:0 0 10px var(--c);animation:cel-spark var(--dur) ease-out var(--wait) both}
.cel-heart{top:auto;bottom:-8cqh;width:30px;height:28px;background:none;color:var(--c);animation:cel-rise var(--dur) ease-out var(--wait) both;animation-duration:calc(var(--dur) * 1.8)}
.cel-heart svg{width:100%;height:100%;filter:drop-shadow(0 0 6px var(--cel-red-glow))}
.cel-debris{top:46%;left:50%;width:10px;height:8px;border-radius:1px;background:linear-gradient(135deg,var(--cel-gold-pale),var(--cel-gold-soft) 60%,var(--cel-wood));animation:cel-debris var(--dur) cubic-bezier(.2,.7,.4,1) var(--wait) both}
/* Chat Legend */
.cel-crowned{display:grid;justify-items:center}
.cel-crown{display:block;width:84px;height:58px;margin-bottom:-14px;z-index:1;animation:cel-crown .7s cubic-bezier(.2,1.5,.4,1) .2s both;filter:drop-shadow(0 4px 8px var(--cel-black))}
.cel-crown svg,.cel-trophy svg{display:block;width:100%;height:100%}
.cel-trophy{display:inline-block;width:30px;height:30px;flex:none;}
.cel-legend .cel-rays{background:repeating-conic-gradient(var(--cel-ray-strong) 0 8deg,transparent 8deg 16deg)}
/* Show Some Love */
.cel-love .cel-card{box-shadow:0 0 0 1px var(--cel-rim),0 0 40px var(--cel-red-glow-soft),0 24px 60px var(--cel-drop)}
.cel-love .cel-kicker{background:linear-gradient(100deg,var(--cel-crimson),var(--cel-orange) 25%,var(--cel-amber) 45%,var(--cel-gold) 60%,var(--cel-red) 85%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text}
.cel-send{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--tap,44px);min-width:160px;margin:14px auto 6px;padding:0 22px;border:1px solid var(--cel-amber);border-radius:999px;background:linear-gradient(180deg,var(--cel-red),var(--cel-red-deep));color:var(--cel-gold-white);font:inherit;font-size:17px;font-weight:800;cursor:pointer;pointer-events:auto;box-shadow:0 0 18px var(--cel-red-glow)}
.cel-send:hover,.cel-send:focus-visible{background:linear-gradient(180deg,var(--cel-gold),var(--cel-gold-mid));color:var(--cel-ink-text);outline:2px solid var(--cel-gold-pale);outline-offset:2px}
.cel-send:active{transform:scale(.96)}
.cel-send-heart{display:inline-block;width:20px;height:18px}.cel-send-heart svg{width:100%;height:100%}
.cel-count{margin:2px 0 0;font-size:15px;font-weight:700;color:var(--cel-gold-text);font-variant-numeric:tabular-nums}
/* Ban Hammer */
.cel-ban .cel-card{padding:34px 16px 26px;box-shadow:0 0 0 1px var(--cel-rim),0 0 40px var(--cel-red-glow),0 24px 60px var(--cel-drop)}
.cel-target{position:relative;display:inline-block;max-width:100%;padding:8px 14px;margin-top:40px}
.cel-target-name{display:block;font-size:clamp(26px,8cqw,40px);font-weight:900;color:var(--cel-text);overflow-wrap:anywhere}
.cel-crack{position:absolute;inset:-6px -10px;opacity:0;pointer-events:none}.cel-crack svg{width:100%;height:100%}
.cel-hammer{position:absolute;top:-6px;right:12%;z-index:2;width:96px;height:96px;transform-origin:70% 90%;animation:cel-swing .72s cubic-bezier(.6,0,.9,.6) .05s both;filter:drop-shadow(0 6px 10px var(--cel-black))}
.cel-hammer svg{width:100%;height:100%}
.cel-ban{width:min(560px,100%)}
.cel-banned{margin:14px 0 0;max-width:100%;font-size:clamp(44px,15cqw,96px);font-weight:900;line-height:.95;letter-spacing:.04em;color:var(--cel-red);-webkit-text-stroke:2px var(--cel-gold);text-shadow:0 0 22px var(--cel-crimson),0 4px 0 var(--cel-red-dark);opacity:0}
.cel-hit .cel-card{animation:cel-shake .5s linear both}
.cel-hit .cel-crack{animation:cel-fade-in .12s linear both}
.cel-hit .cel-target-name{animation:cel-smash .5s ease-out both}
.cel-hit .cel-banned{animation:cel-stamp .45s cubic-bezier(.2,1.6,.4,1) .3s both}
/* Calm version (the page adds .cel-calm when the device asks for reduced motion): no spinning, shaking, flying or sweeping; a soft fade only. */
.cel-calm,.cel-calm.cel-out{animation-name:cel-fade-in;animation-duration:.3s}.cel-calm.cel-out{animation-direction:reverse}
.cel-calm .cel-rays,.cel-calm .cel-burst,.cel-calm .cel-sweep,.cel-calm .cel-bits{display:none}
.cel-calm .cel-kicker,.cel-calm .cel-crown,.cel-calm .cel-hammer,.cel-calm .cel-card,.cel-calm .cel-target-name{animation:none!important}
.cel-calm .cel-hammer{transform:rotate(-20deg)}.cel-calm .cel-banned,.cel-calm .cel-crack{opacity:1;animation:none!important}
/* FOUR MORE (Aaron, v143 build). Timeout Freeze: the name sets in an ice block (white, silver and pale gold only), then cracks and
   FROZEN stamps on. Kicks: the name flies up and gold coins burst from it. Sub Milestone: a gold badge stamps onto Sub Legend. Follow Splash:
   a slim one-line pill at the foot of the chat with Ronnie (about 46px tall) moonwalking along its top edge: a real moonwalk loop (he faces left while he glides right), drifting across the middle of the pill and fading in and out. */
.cel svg .cs-ice{fill:none;stroke:var(--cel-ice-white)}.cel svg .cs-ice-gold{fill:var(--cel-ice-pale)}.cel svg .cs-stroke-ink{fill:none;stroke:var(--cel-gold-deep)}
.cel-freeze{width:min(520px,100%)}
.cel-freeze .cel-card{padding:30px 16px 24px;box-shadow:0 0 0 1px var(--cel-rim),0 0 46px var(--cel-ice-glow),0 24px 60px var(--cel-drop)}
.cel-freeze .cel-kicker{background:linear-gradient(100deg,var(--cel-ice-steel) 0%,var(--cel-ice-silver) 25%,var(--cel-ice-white) 42%,var(--cel-ice-pale) 58%,var(--cel-ice-silver) 78%,var(--cel-ice-steel) 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text}
.cel-ice{margin-top:10px;padding:10px 18px;border-radius:12px}
.cel-ice .cel-target-name{position:relative;z-index:1;background:linear-gradient(90deg,var(--cel-ice-white) 0 48%,var(--cel-text) 52% 100%);background-size:210% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent;animation:cel-ice-name 1.3s ease-in .45s both}
.cel-frost{position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;border:1px solid var(--cel-ice-edge);
 background:linear-gradient(160deg,var(--cel-ice-frost-2),transparent 40%,var(--cel-ice-frost) 70%,var(--cel-ice-frost-2)),repeating-linear-gradient(60deg,transparent 0 9px,var(--cel-ice-frost) 9px 10px),repeating-linear-gradient(-60deg,transparent 0 13px,var(--cel-ice-frost) 13px 14px);
 box-shadow:inset 0 0 16px var(--cel-ice-glow),0 0 18px var(--cel-ice-glow);clip-path:inset(0 100% 0 0);animation:cel-frost 1.3s ease-in .45s both}
.cel-ice .cel-crack{z-index:3}.cel-ice .cel-crack .cs-pale{stroke:var(--cel-ice-white)}
.cel-flake{position:absolute;z-index:2;width:30px;height:30px;opacity:0;filter:drop-shadow(0 0 6px var(--cel-ice-glow));animation:cel-flake .6s cubic-bezier(.2,1.5,.4,1) both}.cel-flake svg{width:100%;height:100%}
.cel-flake-1{top:12px;left:12px;animation-delay:.6s}.cel-flake-2{top:22px;right:54px;width:22px;height:22px;animation-delay:.9s}.cel-flake-3{bottom:16px;left:20px;width:20px;height:20px;animation-delay:1.15s}.cel-flake-4{bottom:22px;right:18px;animation-delay:1.35s}
.cel-frozen{margin:12px 0 0;font-size:clamp(40px,13cqw,84px);font-weight:900;line-height:.95;letter-spacing:.05em;color:var(--cel-ice-white);-webkit-text-stroke:2px var(--cel-gold);text-shadow:0 0 22px var(--cel-ice-glow),0 4px 0 var(--cel-ice-shade);opacity:0}
.cel-freeze .cel-line{color:var(--cel-ice-silver)}
.cel-freeze.cel-hit .cel-card{animation:cel-shiver .45s linear both}
.cel-hit .cel-ice .cel-target-name{animation:none;background-position:0 0;filter:drop-shadow(0 0 6px var(--cel-ice-glow))}
.cel-hit .cel-frozen{animation:cel-stamp .45s cubic-bezier(.2,1.6,.4,1) .25s both}
.cel-ice-bit,.cel-bit.cel-ice{top:40%;width:7px;height:11px;border-radius:1px;background:linear-gradient(135deg,var(--cel-ice-white),var(--cel-ice-silver) 60%,var(--cel-ice-pale));clip-path:polygon(50% 0,100% 40%,70% 100%,0 70%);animation:cel-fall var(--dur) cubic-bezier(.3,.6,.6,1) var(--wait) both;animation-duration:calc(var(--dur) * .8)}
.cel-kicks .cel-name{font-size:clamp(24px,7.5cqw,34px);animation:cel-fly .85s cubic-bezier(.2,1.3,.4,1) .15s both}
.cel-gift{margin:4px 0 0;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--cel-soft)}
.cel-bit.cel-coin{top:48%;left:50%;width:16px;height:16px;border-radius:50%;background:radial-gradient(circle at 35% 30%,var(--cel-gold-white) 0 12%,var(--cel-gold) 40%,var(--cel-gold-mid) 72%,var(--cel-gold-deep));box-shadow:inset 0 0 0 2px var(--cel-coin-rim),0 0 8px var(--cel-glow-strong);animation:cel-coin var(--dur) cubic-bezier(.25,.6,.5,1) var(--wait) both,cel-flip .5s linear infinite}
.cel-seal{position:absolute;z-index:3;top:16px;left:calc(50% + 18px);width:76px;height:76px;display:grid;place-items:center;align-content:center;color:var(--cel-ink-text);rotate:-12deg;filter:drop-shadow(0 4px 8px var(--cel-black));animation:cel-seal .55s cubic-bezier(.2,1.6,.4,1) .9s both}
.cel-seal svg{position:absolute;inset:0;width:100%;height:100%}
.cel-seal-n,.cel-seal-t{position:relative;line-height:1;font-weight:900}.cel-seal-n{font-size:26px}.cel-seal-t{font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.cel-seal-ring{position:absolute;z-index:2;top:16px;left:calc(50% + 18px);width:76px;height:76px;border-radius:50%;border:3px solid var(--cel-gold-pale);opacity:0;animation:cel-burst .8s ease-out 1.05s both;pointer-events:none}
.cel-follow{width:min(340px,100%);align-self:end;padding-top:42px;animation:cel-up .45s cubic-bezier(.2,1.2,.4,1) both}
.cel-card.cel-strip{padding:5px 14px;border-radius:999px;box-shadow:0 0 0 1px var(--cel-rim),0 0 14px var(--cel-glow),0 6px 18px var(--cel-drop)}
.cel-follow-text{display:flex;justify-content:center;align-items:baseline;gap:.3em;min-width:0;margin:0;font-size:13px;line-height:18px;font-weight:700;color:var(--cel-text);white-space:nowrap}
.cel-follow-name{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--cel-gold-text);font-weight:800}.cel-follow-rest{flex:none}
.cel-ronnie-track{position:absolute;top:0;left:12px;right:12px;height:43px;z-index:2;pointer-events:none;overflow:visible}
.cel-ronnie{position:absolute;bottom:-2px;left:calc(50% - 53px);width:35px;height:46px;opacity:0;animation:cel-walk 3.9s linear .2s both}
.cel-ronnie img{display:block;width:100%;height:100%}
.cel-calm .cel-frost,.cel-calm .cel-flake,.cel-calm .cel-frozen,.cel-calm .cel-seal{opacity:1;animation:none!important;clip-path:none}
.cel-calm .cel-ice .cel-target-name{animation:none!important;background-position:0 0}.cel-calm .cel-name,.cel-calm .cel-ronnie,.cel-calm .cel-ronnie img{animation:none!important}.cel-calm .cel-seal-ring{display:none}
.cel-calm .cel-ronnie{left:calc(50% - 17px);opacity:1}
@media (max-width:480px){.cel-seal{width:64px;height:64px;top:12px;left:calc(50% + 12px)}.cel-seal-ring{width:64px;height:64px;top:12px;left:calc(50% + 12px)}.cel-seal-n{font-size:22px}.cel-flake-2{right:48px}}
@keyframes cel-ice-name{to{background-position:0 0}}
@keyframes cel-frost{to{clip-path:inset(0 0 0 0)}}
@keyframes cel-flake{from{opacity:0;transform:scale(.2) rotate(-90deg)}to{opacity:1;transform:none}}
@keyframes cel-shiver{0%,100%{transform:none}20%{transform:translate(-4px,1px)}40%{transform:translate(4px,-1px)}60%{transform:translate(-3px,0)}80%{transform:translate(2px,0)}}
@keyframes cel-fly{0%{transform:translateY(140%) scale(.5);opacity:0}55%{transform:translateY(-22px) scale(1.18);opacity:1}100%{transform:none;opacity:1}}
@keyframes cel-coin{0%{transform:translate(0,0) scale(.3);opacity:1}40%{transform:translate(calc(var(--dx) * .55),var(--dy)) scale(var(--s))}85%{opacity:1}100%{transform:translate(var(--dx),calc(var(--dy) + 300px)) scale(var(--s));opacity:0}}
@keyframes cel-flip{to{rotate:y 360deg}}
@keyframes cel-seal{0%{transform:scale(3) rotate(-30deg);opacity:0}60%{opacity:1}100%{transform:none;opacity:1}}
@keyframes cel-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes cel-walk{0%{left:calc(50% - 53px);opacity:0}12%{opacity:1}86%{opacity:1}100%{left:calc(50% + 18px);opacity:0}}
@media (max-width:480px){.cel-card{padding:24px 14px 18px}.cel-avatar{width:88px;height:88px;font-size:38px}.cel-hammer{width:76px;height:76px;right:6%}.cel-crown{width:70px;height:48px}}
@keyframes cel-in{from{opacity:0;transform:scale(.6) translateY(20px)}to{opacity:1;transform:none}}
@keyframes cel-out{to{opacity:0;transform:scale(.92) translateY(-10px)}}
@keyframes cel-fade-in{from{opacity:0}to{opacity:1}}
@keyframes cel-sweep{0%{left:-60%}60%,100%{left:130%}}
@keyframes cel-shine{to{background-position:-220% 0}}
@keyframes cel-spin{to{transform:rotate(360deg)}}
@keyframes cel-burst{0%{transform:scale(.2);opacity:1}100%{transform:scale(4);opacity:0}}
@keyframes cel-pop{0%{transform:scale(1)}40%{transform:scale(1.25);color:var(--cel-gold-white)}100%{transform:scale(1)}}
@keyframes cel-fall{0%{transform:translate(0,0) rotate(0) scale(var(--s));opacity:1}85%{opacity:1}100%{transform:translate(var(--dx),112cqh) rotate(var(--rot)) scale(var(--s));opacity:0}}
@keyframes cel-spark{0%{transform:translate(0,0) scale(1);opacity:1}100%{transform:translate(var(--dx),calc(var(--dy) * -1)) scale(.2);opacity:0}}
@keyframes cel-rise{0%{transform:translate(0,0) scale(var(--s));opacity:0}15%{opacity:1}100%{transform:translate(calc(var(--dx) * .6),-115cqh) scale(var(--s));opacity:0}}
@keyframes cel-debris{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(var(--dx),calc(var(--dy) * -1 + 260px)) rotate(var(--rot));opacity:0}}
@keyframes cel-crown{from{transform:translateY(-60px) rotate(-14deg);opacity:0}to{transform:none;opacity:1}}
@keyframes cel-swing{0%{transform:translate(40px,-60px) rotate(60deg);opacity:0}25%{opacity:1}70%{transform:translate(0,0) rotate(-10deg)}100%{transform:translate(-8px,18px) rotate(-38deg)}}
@keyframes cel-shake{0%,100%{transform:none}15%{transform:translate(-8px,4px) rotate(-1deg)}30%{transform:translate(7px,-5px) rotate(1deg)}45%{transform:translate(-6px,3px)}60%{transform:translate(5px,-2px)}80%{transform:translate(-2px,1px)}}
@keyframes cel-smash{0%{transform:none}30%{transform:scale(1.15,.7);color:var(--cel-amber)}100%{transform:scale(.96) rotate(-2deg);color:var(--cel-dim);filter:blur(.3px)}}
@keyframes cel-stamp{0%{transform:scale(3);opacity:0}60%{opacity:1}100%{transform:scale(1);opacity:1}}
.cel svg .cs-s1{stop-color:var(--cel-gold-pale)}.cel svg .cs-s2{stop-color:var(--cel-gold)}.cel svg .cs-s3{stop-color:var(--cel-gold-deep)}
.cel svg .cs-gold{fill:var(--cel-gold)}.cel svg .cs-pale{stroke:var(--cel-gold-pale)}.cel svg .cs-stroke{fill:none;stroke:var(--cel-gold)}.cel svg .cs-wood{fill:var(--cel-wood);stroke:var(--cel-gold-soft)}.cel svg .cs-hi{fill:var(--cel-gold-white)}
/* LIVE PHONE CONTROL BOX (Aaron, 2 Nov 2026: smaller under the stream so Live Chat gets more height). Phones only (600px and under):
   the status line and the five buttons sit closer (smaller padding and row gaps, the icon closer to its label). Every button stays
   44px tall, the video size and the next stream / offline line are unchanged, and computers are untouched. */
@media(max-width:600px){
 #live-layout>.live-bar{row-gap:3px;column-gap:4px;padding-top:5px;padding-bottom:5px}
 #live-layout>.live-bar .live-bar-head .live-subscribe,#live-layout>.live-bar .live-bar-tools .live-tool{gap:2px;height:var(--tap);min-height:var(--tap);padding-top:3px;padding-bottom:3px}
 #live-layout>.live-bar #live-open-kick::after,#live-layout>.live-bar #live-fullscreen::after{font-size:12px;line-height:1.1}
 #live-layout>.live-bar .live-bar-head .live-subscribe,#live-layout>.live-bar .live-bar-tools .live-tool:not(#live-open-kick):not(#live-fullscreen){font-size:12px}
 #live-layout>.live-bar .live-bar-head .live-subscribe,#live-layout>.live-bar .live-bar-tools .live-tool{padding-left:1px;padding-right:1px}
 #live-layout>.live-bar .live-next,#live-layout>.live-bar .live-status{font-size:var(--fs-sm)}
 #live-layout>.live-bar .live-bar-head #live-subscribe{flex-grow:1.2}
}
/* LIVE POP-DOWN (Aaron, 2 Nov 6:53 AM: "like Kick's mobile player"). Phones, the page view: the status and button card under the player is
   folded away (no height, hidden from taps and screen readers) so Live Chat gets the room; the video keeps its size. A tap on the player's
   see-through layer (.live-tap, built by viewer-live.js; not over the bottom 52px, where Kick's and the replay's own controls sit) slides it
   down under the video, pushing chat down; a second tap or 3 seconds folds it away. A due Still Watching? check or Claim Here keeps it open.
   The same card, buttons and look as before. Desktop and tablets never see .live-tap, so they are unchanged. */
.live-tap{display:none}
@media(max-width:768px){
 body.live-page[data-live-mode=page] .live-tap{position:absolute;left:0;right:0;top:0;bottom:52px;z-index:2;display:block;width:auto;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
 body.live-page[data-live-mode=page] .live-tap:focus-visible{outline:2px solid var(--gold-strong);outline-offset:-4px}
 body.live-page[data-live-mode=page] .live-full .live-tap{display:none}
 body.live-page[data-live-mode=page] #live-layout>.live-bar{max-height:0;margin-top:calc(-1 * var(--sp-2));padding-top:0;padding-bottom:0;border-width:0;box-shadow:none;overflow:hidden;visibility:hidden;transition:max-height var(--dur-slow) var(--ease),padding var(--dur-slow) var(--ease),margin var(--dur-slow) var(--ease),visibility 0s linear var(--dur-slow)}
 body.live-page[data-live-mode=page].live-bar-open #live-layout>.live-bar,body.live-page[data-live-mode=page].live-check-due #live-layout>.live-bar,body.live-page[data-live-mode=page] #live-layout>.live-bar:has(#live-claim:not([hidden])){max-height:240px;margin-top:0;padding-top:var(--sp-2);padding-bottom:var(--sp-2);border-width:1px;box-shadow:var(--ic-ring,none);visibility:visible;transition:max-height var(--dur-slow) var(--ease),padding var(--dur-slow) var(--ease),margin var(--dur-slow) var(--ease),visibility 0s}
 /* The chat's bottom box: tighter top and bottom, every tap still 44px. */
 body.live-page[data-live-mode=page]:not(.live-composing) .live-layout>.live-chat .live-chat-foot{padding-top:4px;padding-bottom:4px}
 /* Signed out (Aaron, 2 Nov 7:51 AM): Sign In Via Kick To Chat and the text-size slider share one row instead of two. */
 body.live-page[data-live-mode=page]:not(.live-composing) .live-layout>.live-chat .live-chat-foot>#chat-signin:not([hidden]){grid-column:1;grid-row:1;min-width:0;min-height:44px;padding:0 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 body.live-page[data-live-mode=page]:not(.live-composing) .live-layout>.live-chat .live-chat-foot:has(>#chat-signin:not([hidden]))>.live-size{grid-column:2;grid-row:1}
 body.live-page[data-live-mode=page]:not(.live-composing) .live-layout>.live-chat .live-chat-foot:has(>#chat-signin:not([hidden])) .live-size input[type=range]{width:84px}
}
/* LONG-PRESS ONLY (2 Nov 8:25 AM): for TheBuddha, admins and moderators (they long-press a row for Pin / Delete) the phone's own link
   long-press menu is turned off on chat rows; a tap on a link still opens it. */
#chat-list[data-row-act] .live-msg{-webkit-touch-callout:none}
/* UNMUTE THE STREAM (Aaron, 2 Nov): the gold button over Kick's player each time it loads (its sound can't be read), and over the replay when
   the browser started it muted. One tap turns the sound on and hides it. */
.live-sound{position:absolute;left:50%;top:50%;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;min-width:44px;margin:0;padding:0 22px;transform:translate(-50%,-50%);border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:999px;background:var(--gold-metal,linear-gradient(120deg,var(--gold-strong),var(--gold) 55%,var(--gold-strong)));color:var(--on-gold);font:inherit;font-size:var(--fs-md,17px);font-weight:800;white-space:nowrap;cursor:pointer;box-shadow:var(--shadow),inset 0 1px 0 var(--gold-hover),0 0 0 4px color-mix(in oklab,var(--gold) 22%,transparent)}
.live-sound::before{content:"";flex:none;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center/contain no-repeat}
.live-sound:active{transform:translate(-50%,-50%) scale(.97)}
.live-sound:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:3px}
.live-sound[hidden],body.live-casting .live-sound,.live-frame.live-intro-on .live-sound{display:none}
/* CORNER MUTE (Aaron, 2 Nov; 3 Nov 1:52 PM: always the bottom-right corner, live or replay, phone or desktop). A round gold speaker. It
   mutes and unmutes (crossed out while muted). On phones it shows with the pop-down card and fades as the card folds away; desktop, tablets,
   the TV view and full screen always show it. Hidden while casting. */
.live-mute{position:absolute;right:8px;bottom:6px;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;box-sizing:border-box;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:50%;background:var(--scrim);color:var(--gold);font:inherit;cursor:pointer;box-shadow:var(--shadow);-webkit-tap-highlight-color:transparent;transition:opacity var(--dur-slow) var(--ease),visibility 0s}
.live-mute::before{content:"";flex:none;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center/contain no-repeat}
.live-mute[aria-pressed=true]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.6.5 1.4-1.4 2 2 2-2 1.4 1.4-2 2 2 2-1.4 1.4-2-2-2 2-1.4-1.4 2-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.6.5 1.4-1.4 2 2 2-2 1.4 1.4-2 2 2 2-1.4 1.4-2-2-2 2-1.4-1.4 2-2z'/%3E%3C/svg%3E")}
.live-mute:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:3px}
.live-mute[hidden],body.live-casting .live-mute{display:none}
@media(max-width:768px){
 body.live-page[data-live-mode=page]:not(.live-bar-open) .live-frame:not(.live-ctl-on):not(.live-vod-stopped) .live-mute{opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--dur-slow) var(--ease),visibility 0s var(--dur-slow)}
 body.live-page[data-live-mode=page] .live-full .live-mute{opacity:1;visibility:visible;pointer-events:auto}
}
/* REPLAY CONTROLS (Aaron, 3 Nov 1:52 PM): our own controls over the last stream's replay (the browser's are off). Back 30 Seconds, Play /
   Pause and Forward 30 Seconds in the middle; a gold seek slider along the bottom with the time so far and the length, clear of the corner
   speaker. They fade in with a tap, click or mouse move (.live-ctl-on, the same 3 seconds as the pop-down card) and stay while paused.
   Every button and the slider are 44px or more. The see-through layer keeps the first tap; the controls only take taps once shown. */
.live-vod{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;visibility:hidden;transition:opacity var(--dur-slow) var(--ease),visibility 0s linear var(--dur-slow)}
.live-vod::after{content:"";position:absolute;left:0;right:0;bottom:0;height:76px;background:linear-gradient(transparent,var(--scrim));pointer-events:none}
.live-frame.live-ctl-on .live-vod,.live-frame.live-vod-stopped .live-vod,body.live-bar-open .live-frame .live-vod{opacity:1;visibility:visible;transition:opacity var(--dur-slow) var(--ease)}
body.live-casting .live-vod{display:none}
/* Not a touch screen (the exact opposite of TOUCH in viewer-live.js): no corner speaker and no replay controls; the browser's own controls show on hover. */
/* DESKTOP PLAYER CONTROLS (v169, Aaron 4 Nov 2026): desktop gets the same metallic gold controls as phones, inside the player: Pop Out (top
   left), Full Screen (top right), Back 30 / Play-Pause / Forward 30, the seek slider, the corner speaker, plus a gold sound slider beside it.
   They show while the mouse is over the player (moving, for replays) and fade after the same 3 seconds; they stay while a replay is paused. */
.live-vol{position:absolute;right:58px;bottom:6px;z-index:4;width:104px;height:44px;min-height:44px;margin:0;padding:0;background:transparent;cursor:pointer;-webkit-appearance:none;appearance:none}
.live-vol[hidden],body.live-casting .live-vol{display:none}
.live-vol::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--gold) 0 var(--p,100%),color-mix(in oklab,var(--on-scrim) 32%,transparent) var(--p,100%) 100%)}
.live-vol::-webkit-slider-thumb{width:16px;height:16px;margin-top:-5px;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:50%;background:var(--gold-metal,var(--gold));box-shadow:var(--shadow);-webkit-appearance:none;appearance:none}
.live-vol::-moz-range-track{height:6px;border-radius:3px;background:color-mix(in oklab,var(--on-scrim) 32%,transparent)}
.live-vol::-moz-range-progress{height:6px;border-radius:3px;background:var(--gold-metal,var(--gold))}
.live-vol::-moz-range-thumb{width:16px;height:16px;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:50%;background:var(--gold-metal,var(--gold))}
.live-vol:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:2px}
@media not all and (hover:none) and (pointer:coarse){
 .live-frame :is(.live-ico-btn,.live-mute,.live-vol){opacity:0;visibility:hidden;transition:opacity var(--dur-slow) var(--ease),visibility 0s linear var(--dur-slow)}
 .live-frame:is(.live-ctl-on,.live-vod-stopped) :is(.live-ico-btn,.live-mute,.live-vol),.live-frame:not(:has(.live-vod)):hover :is(.live-ico-btn,.live-mute,.live-vol),.live-frame :is(.live-ico-btn,.live-mute,.live-vol):focus-visible{opacity:1;visibility:visible;transition:opacity var(--dur-slow) var(--ease)}
}
.live-frame:has(.live-vol:not([hidden])) .live-vod-bar{right:166px}
@media (hover:none) and (pointer:coarse){.live-vol{width:96px;transition:opacity var(--dur-slow) var(--ease),visibility 0s}.live-frame:not(.live-ctl-on):not(.live-vod-stopped) .live-vol{opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--dur-slow) var(--ease),visibility 0s var(--dur-slow)}}
/* Touch tablets (no tap layer above 768px): with the replay, the corner speaker fades with the controls; a tap on the video brings both back. */
@media (hover:none) and (pointer:coarse){body.live-page:not(.live-bar-open) .live-frame:has(.live-vod):not(.live-ctl-on):not(.live-vod-stopped) .live-mute{opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--dur-slow) var(--ease),visibility 0s var(--dur-slow)}}
/* Unmute The Stream keeps the middle of the player (and stays above the intro); the middle buttons wait until it is gone. */
.live-frame .live-sound{z-index:5}
.live-frame:has(.live-sound:not([hidden])) .live-vod-mid{visibility:hidden}
.live-vod-mid{position:absolute;left:50%;top:50%;z-index:1;display:flex;align-items:center;gap:24px;transform:translate(-50%,-50%)}
.live-vod-btn{position:relative;display:inline-grid;place-items:center;flex:none;width:48px;height:48px;min-width:44px;min-height:44px;margin:0;padding:0;box-sizing:border-box;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:50%;background:var(--scrim);color:var(--gold);font:inherit;cursor:pointer;pointer-events:auto;box-shadow:var(--shadow);-webkit-tap-highlight-color:transparent}
.live-vod-btn::before{content:"";width:24px;height:24px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4V1L7 5l5 4V6a7 7 0 1 1-7 7H3a9 9 0 1 0 9-9z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4V1L7 5l5 4V6a7 7 0 1 1-7 7H3a9 9 0 1 0 9-9z'/%3E%3C/svg%3E") center/contain no-repeat}
.live-vod-fwd::before{transform:scaleX(-1)}
.live-vod-n{position:absolute;left:0;right:0;top:50%;margin-top:-4px;font-size:8px;font-weight:800;line-height:1;text-align:center;pointer-events:none}
.live-vod-play{width:60px;height:60px;background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold))}
.live-vod-play::before{width:26px;height:26px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zm8 0h4v16h-4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zm8 0h4v16h-4z'/%3E%3C/svg%3E")}
.live-vod-play.live-vod-paused::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E")}
.live-vod-btn:focus-visible,.live-seek:focus-visible{outline:2px solid var(--focus,var(--gold-strong));outline-offset:2px}
.live-vod-btn:active{transform:scale(.95)}
.live-vod-bar{position:absolute;left:10px;right:60px;bottom:6px;z-index:1;display:flex;align-items:center;gap:8px;height:44px}
.live-vod-time{flex:none;color:var(--on-scrim);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px var(--scrim)}
.live-seek{flex:1 1 auto;min-width:0;height:44px;min-height:44px;margin:0;padding:0;background:transparent;cursor:pointer;pointer-events:auto;touch-action:none;-webkit-appearance:none;appearance:none}
.live-seek::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--gold) 0 var(--p,0%),color-mix(in oklab,var(--on-scrim) 32%,transparent) var(--p,0%) 100%)}
.live-seek::-webkit-slider-thumb{width:18px;height:18px;margin-top:-6px;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:50%;background:var(--gold-metal,var(--gold));box-shadow:var(--shadow);-webkit-appearance:none;appearance:none}
.live-seek::-moz-range-track{height:6px;border-radius:3px;background:color-mix(in oklab,var(--on-scrim) 32%,transparent)}
.live-seek::-moz-range-progress{height:6px;border-radius:3px;background:var(--gold-metal,var(--gold))}
.live-seek::-moz-range-thumb{width:18px;height:18px;border:1px solid var(--gold-metal-edge,var(--gold-strong));border-radius:50%;background:var(--gold-metal,var(--gold))}
@media(max-width:480px){.live-vod-btn{width:44px;height:44px}.live-vod-play{width:54px;height:54px}.live-vod-bar{left:8px;right:56px;gap:6px}.live-vod-time{font-size:11px}}
/* The Last Stream line in the tap-to-show card under the player (it used to sit over the video). */
.live-last{flex:1 1 100%;display:flex;gap:6px;min-width:0;margin:0;color:var(--text-muted);font-size:var(--fs-sm)}
.live-last[hidden]{display:none}
.live-last .live-off-title{color:var(--text-muted)}
/* OFFLINE INTRO (Aaron, 3 Nov 1:49 PM): once per page load, as the last stream starts replaying. Metallic gold words on a dark cover over the
   whole player: a gold rule draws out, "TheBuddha Is Offline" rises in with a slow shine, "Replaying Last VOD" follows, then after 3
   seconds it all fades. Never takes a tap. Reduced motion (the page adds .live-intro-calm): no movement, just the fade. */
.live-intro{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:0 16px;box-sizing:border-box;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,color-mix(in oklab,var(--gold) 16%,black) 0,color-mix(in oklab,var(--gold) 4%,black) 62%,black 100%);text-align:center;transition:opacity .7s var(--ease)}
.live-intro.live-intro-out{opacity:0}
.live-intro-line{display:block;width:min(56%,260px);height:2px;background:var(--gold-metal,var(--gold));transform:scaleX(0);animation:live-intro-line .9s .1s cubic-bezier(.2,.8,.2,1) forwards}
.live-intro-title{margin:0;font-size:26px;font-weight:800;line-height:1.1;letter-spacing:.01em;color:var(--gold);background:var(--gold-metal,var(--gold)) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;opacity:0;animation:live-intro-rise .8s .25s cubic-bezier(.2,.8,.2,1) forwards,live-intro-shine 2.6s .4s ease-in-out forwards}
.live-intro-sub{margin:0;color:var(--gold);font-size:13px;font-weight:700;letter-spacing:.14em;opacity:0;animation:live-intro-rise .8s .6s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes live-intro-line{to{transform:scaleX(1)}}
@keyframes live-intro-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes live-intro-shine{from{background-position:100% 0}to{background-position:0 0}}
@media(min-width:769px){.live-vod-mid{gap:40px}.live-intro-title{font-size:42px}.live-intro-sub{font-size:17px}}
.live-intro-calm .live-intro-line,.live-intro-calm .live-intro-title,.live-intro-calm .live-intro-sub{animation:none;opacity:1;transform:none}

/* TEST ANIMATIONS (Aaron, 3 Nov 2026): TheBuddha's own Test Animations control in the Live Chat header and the TEST tag on a test card. */
.cel-test-open{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap,44px);padding:0 14px;box-sizing:border-box;border:0;border-radius:var(--r-pill);background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold));font:inherit;font-size:var(--fs-sm);font-weight:800;cursor:pointer}
.cel-test-open:hover{background:var(--gold-metal-hover,var(--gold-metal,var(--gold)))}
.cel-test-open[aria-expanded=true]{box-shadow:0 0 0 2px var(--gold-metal-edge,var(--gold))}
.cel-test{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:8px;padding:10px var(--sp-3,12px);border-bottom:1px solid var(--gold-line)}
.cel-test[hidden]{display:none}
.cel-test-note{grid-column:1/-1;margin:0;color:var(--gold-text);font-size:var(--fs-sm)}
.cel-test-btn{min-height:var(--tap,44px);padding:0 10px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:transparent;color:var(--gold-text);font:inherit;font-size:var(--fs-sm);font-weight:700;cursor:pointer}
.cel-test-btn:hover{background:var(--gold-tint,transparent);border-color:var(--gold)}
:is(.cel-test-open,.cel-test-btn):focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.cel-test-tag{position:absolute;top:6px;left:8px;z-index:4;padding:2px 8px;border-radius:var(--r-pill);background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold));font-size:11px;font-weight:900;letter-spacing:.08em;pointer-events:none}
@media (max-width:400px){.cel-test{grid-template-columns:1fr 1fr}.cel-test-open{flex:1 1 100%}}
/* v156 (Aaron, 4 Nov 2026): the Live Chat bar is a thin strip so the chat gets the room; moderators get Quick Mod at its right end. */
#live-chat .live-chat-head{padding:3px var(--sp-3);min-height:0;gap:6px}
#live-chat .live-chat-head h2{font-size:var(--fs-sm);letter-spacing:.06em;text-transform:uppercase}
.qm-open{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap,44px);padding:0 14px;box-sizing:border-box;border:0;border-radius:var(--r-pill);background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold));font:inherit;font-size:var(--fs-sm);font-weight:800;cursor:pointer;transition:transform var(--dur-press) ease}
.qm-open:active{transform:scale(.96)}
/* Quick Mod pop-up: a sheet from the bottom on phones, a panel on the right on desktop. Gold on dark marble, no stream feed. */
.qm{inset:auto 0 0 0;margin:0;width:100%;max-width:none;max-height:86%;overflow:auto;box-sizing:border-box;padding:14px 16px 20px;border:1px solid var(--gold-line);border-radius:18px 18px 0 0;color:var(--text);
 background:radial-gradient(120% 60% at 20% 0%,color-mix(in oklab,var(--gold) 8%,transparent),transparent 60%),var(--surface)}
.qm::backdrop{background:var(--scrim)}
.qm-top{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:-14px;padding:6px 0;background:inherit}
.qm-top h2{margin:0;color:var(--gold-text);font-size:var(--fs-md)}
.qm-close,.qm-act{min-height:44px;min-width:44px;padding:0 14px;border:1px solid var(--gold-line);border-radius:var(--r-pill);background:transparent;color:var(--gold-text);font:inherit;font-weight:800;cursor:pointer}
.qm-act{flex:0 0 auto}
.qm-act.qm-danger{color:var(--danger-text)}
.qm-act.qm-armed{border-color:var(--danger);background:var(--danger);color:var(--on-danger)}
.qm-blocks .qm-row{flex-wrap:wrap}.qm-blocks .qm-row .qm-who{flex:1 1 160px;min-width:0}.qm-blocks .qm-acts{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;justify-content:flex-end}.qm-blocks .qm-acts .qm-danger{min-width:7.5em}.qm-row-note{flex:1 1 100%;margin:0;font-size:.85em;color:var(--text-muted)}.qm-row-note:empty{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.qm-sec{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.qm-sec h3{margin:0 0 8px;font-size:var(--fs-sm);color:var(--gold-text);letter-spacing:.04em}
.qm-list{list-style:none;margin:0;padding:0}
.qm-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.qm-who{min-width:0;display:grid;gap:2px}.qm-who b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qm-meta{font-size:12px;color:var(--text-muted)}
.qm-logrow{justify-content:flex-start;font-size:13px}.qm-logrow .qm-meta{flex:0 0 auto;min-width:86px}
.qm-line{margin:0 0 8px;overflow-wrap:anywhere}
.qm-empty{color:var(--text-muted);font-size:13px;padding:6px 0;margin:0}
.qm-status{min-height:1.2em;margin:4px 0 0;font-size:13px;color:var(--gold-text)}.qm-status.qm-bad{color:var(--warning-text)}
.qm-test .cel-test{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
@media(min-width:769px){.qm{inset:0 0 0 auto;width:min(420px,92%);max-height:none;height:100%;border-radius:18px 0 0 18px}}
/* v157 MOD DASHBOARD (/mod): the Live page's player and chat with Moderator Tools open below; three columns on desktop, stacked on phones. */
.qm-dash{margin-left:0;border:1px solid var(--gold-line);background:transparent;color:var(--gold-text);text-decoration:none}
.mod-panels{display:grid;gap:14px;margin:16px auto 24px;padding:0 16px;max-width:1400px;box-sizing:border-box}
.mod-panels:empty{display:none}
.mod-panels-title{margin:0;color:var(--gold-text);font-size:var(--fs-md)}
.mod-panels .qm-sec{margin:0;padding:14px;border:1px solid var(--gold-line);border-radius:14px;background:var(--surface)}
.mod-panels .qm-status{margin:0}
@media(min-width:900px){.mod-panels{grid-template-columns:repeat(3,minmax(0,1fr))}.mod-panels-title,.mod-panels .qm-status,.mod-panels .qm-test{grid-column:1/-1}}
/* v157: the bar stays one thin line with both moderator buttons; compact on desktop (mouse), full 44px taps on phones. */
#live-chat .live-chat-head{flex-wrap:nowrap}
#live-chat .live-chat-head .qm-open{white-space:nowrap;flex:0 0 auto;margin-top:0;margin-bottom:0;align-self:center;box-sizing:border-box;border:1px solid var(--gold-line)}
#live-chat .live-chat-head .qm-dash{margin-left:6px}
@media(min-width:769px){#live-chat .live-chat-head .qm-open{min-height:32px;padding:0 10px;font-size:12px}}
/* Aaron (4 Nov 2026): super slim bar and buttons so the chat gets the room, phones included. The buttons look 28px tall but keep a 44px tap
   area (an invisible ::before around each), so they stay easy to hit. */
#live-chat .live-chat-head{padding:2px var(--sp-3);gap:6px}
#live-chat .live-chat-head h2{font-size:12px;line-height:1.2}
#live-chat .live-chat-head .qm-open{position:relative;min-height:28px;height:28px;padding:0 10px;font-size:12px;line-height:1}
#live-chat .live-chat-head .qm-open::before{content:'';position:absolute;left:-3px;right:-3px;top:-8px;bottom:-8px}
#live-layout>.live-chat .live-chat-head{padding-top:6px;padding-bottom:4px}
/* v157 MOD DASHBOARD on phones (Aaron, 4 Nov 2026): the stream and chat fill the first screen exactly as on the Live page (--mod-fit, set by
   viewer-live.js from the real screen between the top bar and the bottom tabs), then the page scrolls down to Moderator Tools. */
@media(max-width:768px){
 body.mod-page[data-live-mode=page]{height:auto;min-height:0;overflow:visible;display:block}
 body.mod-page[data-live-mode=page]>main.live-main{display:block;flex:none}
 body.mod-page[data-live-mode=page] .live-layout{height:var(--mod-fit,600px);flex:none}
 body.mod-page .mod-panels{padding:0 var(--sp-2) calc(var(--mod-tabs,64px) + var(--sp-3));margin-top:var(--sp-2)}
}
#live-chat .live-chat-head h2{white-space:nowrap;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:359px){#live-chat .live-chat-head .qm-open{padding:0 8px;font-size:11px}#live-chat .live-chat-head{gap:4px}}
/* v158: Recent Mod Actions drop-down (last 10), Look Up and Mod Notes. */
.qm-log>.qm-sum{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;color:var(--gold-text);font-weight:800;font-size:var(--fs-sm);letter-spacing:.04em;list-style:none}
.qm-log>.qm-sum::-webkit-details-marker{display:none}
.qm-log>.qm-sum::after{content:'▾';margin-left:8px;transition:transform var(--dur-press) ease}
.qm-log[open]>.qm-sum::after{transform:rotate(180deg)}
.qm-warn{margin:6px 0 0;padding:8px 10px;border:1px solid var(--gold);border-radius:10px;color:var(--text);font-size:13px;font-weight:700}
.qm-note{padding:8px 0;border-bottom:1px solid var(--line)}.qm-note .qm-line{margin:0 0 2px}
.qm-note-form{display:grid;gap:8px;margin-top:10px}
.qm-note-label{display:grid;gap:6px;font-size:13px;color:var(--text-muted)}
.qm-note-box{width:100%;box-sizing:border-box;min-height:64px;padding:10px;border:1px solid var(--gold-line);border-radius:10px;background:var(--raised);color:var(--text);font:inherit;resize:vertical}
.qm-note-form .qm-act{justify-self:start}
/* Moderators: the bar is only Live Chat and the mod buttons (the Bucks / XP line steps aside); viewers keep their line. */
#live-chat .live-chat-head.qm-head .live-me{display:none!important}
#live-chat .live-chat-head.qm-head h2{flex:0 0 auto;overflow:visible}
/* Home-screen app: the page height is the real visible screen (set by viewer-live.js only when installed); a browser tab keeps 100dvh. */
@media(max-width:768px){body.live-page[data-live-mode=page]{height:var(--live-app-h,100dvh)}body.mod-page[data-live-mode=page]{height:auto}}
.qm-more>.qm-sum{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--gold-text);font-weight:800;font-size:13px;list-style:none}
.qm-more>.qm-sum::-webkit-details-marker{display:none}.qm-more>.qm-sum::after{content:'▾';margin-left:8px}.qm-more[open]>.qm-sum::after{content:'▴'}
/* v159 Flagged Messages. */
.qm-flag{padding:10px 0;border-bottom:1px solid var(--line)}
.qm-said{margin:4px 0 8px;padding:6px 10px;border-left:2px solid var(--gold-line);color:var(--text-soft,var(--text));font-size:13px;overflow-wrap:anywhere}
.qm-acts{display:flex;flex-wrap:wrap;gap:8px}
/* v162 Website Chat Lockdown and This Stream. The chosen setting is gold. */
.qm-lock-row{margin-top:8px}
.qm-act.qm-on{background:var(--gold-metal,var(--gold));color:var(--on-gold-metal,var(--on-gold));border-color:var(--gold)}
.qm-sum-body .qm-line{font-size:13px;margin:0 0 6px}
/* Desktop (Aaron, 4 Nov 2026): the chat card's gold top band sits over the bar's top edge, so the bar gets more room above the mod buttons
   (the Live page and /mod alike). Phones keep their slim bar. */
@media(min-width:769px){#live-layout>.live-chat .live-chat-head{padding-top:10px;padding-bottom:6px}}
/* v165: Hide (this device only) sits beside Unpin in the open pinned message, the same look. */
.live-pin-hide{flex:0 0 auto;min-width:var(--tap);min-height:var(--tap);padding:0 12px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:transparent;color:var(--gold-text);font:inherit;font-size:var(--fs-sm);font-weight:800;cursor:pointer}
.live-pin-foot .live-pin-hide{margin-left:8px}
/* Aaron (4 Nov 2026): the !here button is off the Live chat box for now (the space stays for new buttons later). Typing !here in Kick chat
   still works as before. */
#live-quick{display:none!important}
/* SMOOTH ARRIVALS + INSTANT SEND (v176, Aaron 5 Nov 2026): a new chat message fades and rises a few pixels into place while the list glides up
   to it (viewer-live.js glideDown). Your own message shows the moment you tap Send, a little faded until Kick takes it, then Kick's copy
   takes its place. If Kick says no, it stays faded with Didn't Send · Tap To Retry (quiet words, not red: red is only for LIVE). */
@keyframes live-msg-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#chat-list>.live-msg.live-msg-new{animation:live-msg-in var(--dur) var(--ease) backwards}
/* v179: no dimmed "sending" look: your message shows once, at full brightness, and stays put; only a message that hasn't gone through is flagged. */
#chat-list>.live-msg.live-msg-settled{animation:none}
#chat-list>.live-msg.live-msg-failed{opacity:.75}
.live-msg-retry{display:block;min-height:var(--tap,44px);margin:4px 0 0;padding:0 12px;border:1px solid var(--gold-line);border-radius:var(--r-md);background:transparent;color:var(--text-muted);font:inherit;font-size:var(--fs-xs);font-weight:700;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-msg-retry:active{transform:scale(.97)}
.live-msg-retry:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* v176 (Aaron, 5 Nov 2026): on phones nothing is ever written under the chat box. Anything about a message (not sent, why) shows on that
   message in chat instead (.live-msg-why, Tap To Retry). Desktop keeps its note line. */
.live-msg-why{margin:2px 0 0;font-size:var(--fs-xs);line-height:1.35;color:var(--text-muted)}
@media(max-width:768px){body.live-page #chat-note,body.live-page #chat-help{display:none!important}}
/* PINCH TO ZOOM (v177, Aaron 5 Nov 2026), phones in full screen: the player sits under a see-through layer (it takes no touches itself), so
   the page sees the fingers; only the picture is zoomed and moved (transform only), never our controls. Reset Zoom shows top middle while
   zoomed. */
.live-stage.live-zoomable #live-frame{overflow:hidden;touch-action:none}
.live-stage.live-zoomable>.live-overlay{touch-action:none}
.live-stage.live-zoomable #live-frame>:is(iframe,video){pointer-events:none;transform:translate(var(--lz-x,0px),var(--lz-y,0px)) scale(var(--lz-s,1));transform-origin:0 0;will-change:transform}
#live-frame.live-zoom-ease>:is(iframe,video){transition:transform var(--dur-slow) var(--ease)}
.live-zoom-reset{position:absolute;top:max(12px,env(safe-area-inset-top,0px));left:50%;z-index:4;translate:-50% 0;background:var(--scrim);color:var(--on-scrim)}
.live-zoom-reset:active{transform:scale(.96)}
.live-zoom-reset[hidden]{display:none}
/* v181 (Aaron, 5 Nov 2026): the emote set pills sit centred in the picker, with an Add pill (to My Profile, Sub Emotes From Other Channels). */
.live-emote-bar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;min-width:0;padding:6px 0 2px}
.live-emote-bar>.live-emote-tabs{justify-content:center;padding:0}
.live-emote-tabs .live-emote-tab,.live-emote-bar>.live-emote-add{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);max-width:100%;padding:0 12px;font-size:var(--fs-sm);text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.live-emote-bar>.live-emote-add{transition:transform var(--dur-press) var(--ease)}
.live-emote-bar>.live-emote-add:active{transform:scale(.96)}
.live-emote-bar>.live-emote-add:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* ADD A KICK CHANNEL (v182, Aaron 5 Nov 2026): a small box near the top of the screen (above where the keyboard comes up), from the Add pill
   in the emote picker: type the channel, it checks the sub on Kick, confirmed emotes go straight into the picker. */
.live-add-dlg{box-sizing:border-box;width:min(440px,calc(100% - 32px));margin:max(16px,env(safe-area-inset-top,0px)) auto auto;padding:16px;overflow:auto;border:1px solid var(--gold-line);border-radius:var(--r-lg,16px);background:var(--raised);color:var(--text);box-shadow:var(--shadow)}
.live-add-dlg::backdrop{background:var(--scrim)}
.live-add-title{margin:0 0 6px;font-size:var(--fs-md,18px);color:var(--gold-text)}
.live-add-help{margin:0 0 12px;font-size:var(--fs-sm);color:var(--text-muted);line-height:1.45}
.live-add-row{display:flex;gap:8px;min-width:0}
.live-add-input{flex:1 1 auto;min-width:0;min-height:var(--tap);padding:0 12px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-md);background:var(--sunken);color:var(--text);font:inherit;font-size:16px}
.live-add-input:focus{border-color:var(--gold-strong);outline:0;box-shadow:0 0 0 3px var(--gold-glow)}
.live-add-go{min-height:var(--tap);padding:0 18px;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
.live-add-go:active,.live-add-close:active{transform:scale(.96)}
.live-add-go:disabled{opacity:.6;cursor:default}
.live-add-status{min-height:1.4em;margin:10px 2px 0;font-size:var(--fs-sm);color:var(--text-soft);line-height:1.4}
.live-add-list{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.live-add-list:empty{display:none}
.live-add-item{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--edge);border-radius:var(--r-md);font-size:var(--fs-sm)}
.live-add-item>span{color:var(--text-muted)}
.live-add-item[data-status=verified]>span{color:var(--gold-text)}
.live-add-close{display:block;width:100%;min-height:var(--tap);margin:12px 0 0;border:1px solid var(--edge-strong);border-radius:var(--r-md);background:transparent;color:var(--text);font:inherit;font-weight:700;cursor:pointer;transition:transform var(--dur-press) var(--ease)}
:is(.live-add-go,.live-add-close):focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* EMOTES IN THE MESSAGE BOX (v184, Aaron 5 Nov 2026): the message box shows emotes as pictures (viewer-live.js richInput). Same size, border
   and focus glow as the text field it replaces; one line that scrolls sideways when long. */
.live-send .live-input{flex:1 1 auto;display:block;min-width:0;height:var(--tap);min-height:var(--tap);margin:0;padding:0 12px;box-sizing:border-box;border:1px solid var(--edge-strong);border-radius:var(--r-md);background:var(--sunken);color:var(--text);font:inherit;font-size:16px;line-height:calc(var(--tap) - 2px);white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:text;-webkit-user-select:text;user-select:text;caret-color:var(--gold-strong)}
.live-send .live-input::-webkit-scrollbar{display:none}
#live-layout>.live-chat .live-send .live-input{border-color:var(--gold-line);border-radius:var(--r-md);background:var(--sunken)}
#live-layout>.live-chat .live-send .live-input:focus{border-color:var(--gold-strong);outline:0;box-shadow:0 0 0 3px var(--gold-glow)}
.live-send .live-input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.live-send .live-input:empty::before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none}
.live-send .live-input .live-input-emote{display:inline-block;height:1.6em;width:auto;max-width:4em;margin:0 .08em;vertical-align:middle;object-fit:contain}
/* Audit 2 data saver: the switch shows On in gold; "Watch Live" sits over the player only while the data saver holds the live stream. */
.live-tool.live-saver[aria-pressed=true]{border-color:var(--gold-strong,var(--gold));color:var(--gold)}
#live-frame .live-saver-play:not([hidden]){display:inline-flex!important}
#live-frame .live-saver-play[hidden]{display:none!important}
#live-frame .live-saver-play::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E") center/contain no-repeat}
#live-frame #live-player[data-saver-wait]{visibility:hidden}
/* Audit 2 UI-11: chat names and the small badges are at least 24px tall (24x24 for a badge) so they're easier to tap; the negative margins
   keep each chat row the same height as before. */
#chat-list .live-msg .live-name{display:inline-flex;align-items:center;min-height:24px;margin-block:-4px;vertical-align:middle}
#chat-list .live-msg .live-ico{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;margin:-3px -1px;vertical-align:middle}
/* Audit 2 UI-14: on the narrowest phones "Sign In Via Kick To Chat" was cut off beside the text-size slider; it may now wrap to two lines
   and uses slightly tighter spacing there, so the whole label shows. */
@media(max-width:380px){#chat-signin.live-chat-cta{padding-inline:10px;font-size:13px;line-height:1.2;white-space:normal!important;text-align:center}}
/* LIVE VIEWER COUNT (Aaron, 9 Nov 2026): "1,234 watching" beside the LIVE badge in the stream title bar and the player's top bar. Neutral
   (red stays for LIVE only), the same 24px height as the badge, a small eye drawn from currentColor. In full screen it's a small pill top
   left that shows and hides with the controls. */
.live-watching{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;box-sizing:border-box;border:1px solid var(--edge-strong);border-radius:var(--r-pill);background:var(--raised);color:var(--text-soft);font-size:var(--fs-xs);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-watching[hidden]{display:none}
.live-watching::before{content:"";width:14px;height:14px;flex:0 0 14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.5 5 2.7 9.2 1.5 12c1.2 2.8 5 7 10.5 7s9.3-4.2 10.5-7C21.3 9.2 17.5 5 12 5zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.5 5 2.7 9.2 1.5 12c1.2 2.8 5 7 10.5 7s9.3-4.2 10.5-7C21.3 9.2 17.5 5 12 5zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(min-width:1024px){.live-bar>.live-bar-head>.live-watching{order:1}}
@media(max-width:768px){.live-bar .live-watching{order:1}}
.live-full #ov-watching:not([hidden]){display:inline-flex;min-height:36px;padding:0 14px;background:var(--scrim);border:1px solid var(--gold-line);color:var(--on-scrim,var(--text));pointer-events:none}
@media(hover:none) and (pointer:coarse){.live-full #ov-watching{order:-4}}
/* BUTTON ROW FIT (9 Nov 2026): on desktop widths where the chat sits beside a narrower player, the five 150px buttons (TV View, Full Screen,
   Cast, Data Saver, Watch On Kick) were wider than the bar and got cut off at both edges. They now shrink to 112px and wrap to a second
   centred row if they still don't fit. Wide screens look exactly as before. */
@media(min-width:1024px){.live-bar .live-bar-tools{flex-wrap:wrap;max-width:100%;row-gap:8px}.live-bar .live-bar-tools .live-tool{flex:0 1 150px;min-width:112px}}

/* ---------- LIVE BAR TIDY (Aaron, 9 Nov 2026) ----------
   Desktop: one centred layout. Line 1: the status chip (LIVE with the viewer count, or OFFLINE), Live Stream and the next stream. Line 2:
   Last Stream and its title. Line 3: all six buttons in one even row (Subscribe, TV View, Full Screen, Cast, Data Saver, Watch On Kick).
   Every size: a Last Stream title too long for its line glides to its end and back (viewer-live.js barMarquee); Data Saver shows a clear
   On / Off state and is filled gold when on. */
.live-last{white-space:nowrap;overflow:hidden}
.live-last .live-off-label{flex:none}
.live-last .live-off-title{display:inline-block;flex:none;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}
.live-off-title.live-marquee{animation:live-mq var(--mq-t,10s) ease-in-out infinite alternate}
@keyframes live-mq{0%,12%{transform:translateX(0)}88%,100%{transform:translateX(var(--mq,0))}}
@media(prefers-reduced-motion:reduce){.live-off-title.live-marquee{animation:none}.live-last{overflow-x:auto;scrollbar-width:none}.live-last::-webkit-scrollbar{display:none}}
.live-tool.live-saver{gap:8px}
.live-saver .live-saver-state{display:inline-flex;align-items:center;min-width:34px;justify-content:center;padding:2px 8px;border-radius:999px;border:1px solid var(--edge-strong);background:var(--raised);color:var(--text-muted);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;line-height:1.3}
.live-tool.live-saver[aria-pressed=true]{border-color:var(--gold);background:var(--gold-metal,var(--gold));color:var(--on-gold)}
.live-tool.live-saver[aria-pressed=true] .live-saver-state{border-color:transparent;background:var(--on-gold);color:var(--gold-text)}
@media(min-width:1024px){
 .live-bar>.live-bar-head>.live-last{order:5;flex:0 0 100%;margin:0;justify-content:safe center;text-align:center;color:var(--text-muted);font-size:var(--fs-sm)}
 .live-bar>.live-bar-tools{display:contents}
 .live-bar>.live-bar-head>.live-subscribe{order:6;flex:1 1 0;max-width:160px;min-width:0}
 .live-bar>.live-bar-tools>.live-tool{order:7;flex:1 1 0;max-width:160px;min-width:0;padding:0 8px;white-space:nowrap}
 .live-bar>.live-earning{order:8;flex:0 0 100%}
}
@media(max-width:768px){
 .live-bar .live-last{order:0;flex:0 0 100%;margin:0;font-size:var(--fs-xs)}
 /* Data Saver on a phone row: an icon, then "Saver" and its state. */
 /* The ON / OFF pill takes the icon's place, with "Saver" under it (nothing overlaps). */
 .live-bar .live-bar-tools .live-tool.live-saver{gap:3px;font-size:11px}
 .live-bar .live-bar-tools .live-tool.live-saver::before{display:none}
 .live-bar .live-bar-tools .live-saver .live-saver-label{font-size:0}
 .live-bar .live-bar-tools .live-saver .live-saver-label::after{content:"Saver";font-size:11px}
 .live-bar .live-bar-tools .live-saver .live-saver-state{order:-1;height:18px;min-width:0;box-sizing:border-box;padding:0 6px;font-size:9px;line-height:16px}
 /* Subscribe shows the short "Sub" on a phone row (its full name stays for screen readers), like Full and On Kick. */
 body.live-page #live-layout>.live-bar .live-bar-head #live-subscribe{font-size:0}
 body.live-page #live-layout>.live-bar .live-bar-head #live-subscribe::after{content:"Sub";font-size:11px}
 .live-bar .live-bar-tools .live-saver{--live-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a9 9 0 0 0-9 9 8.9 8.9 0 0 0 1.4 4.8l1.7-1A7 7 0 1 1 19 13a6.9 6.9 0 0 1-1.1 3.8l1.7 1A9 9 0 0 0 12 4zm4.2 4.4-5.5 4.2a1.6 1.6 0 1 0 2.3 2.1z'/%3E%3C/svg%3E")}
}

/* QUICK MOD OVER THE CHAT (Aaron, 9 Nov 2026): opened from the chat bar, Quick Mod fills the Live Chat box exactly (desktop and phones),
   so the stream stays in view; it scrolls inside the box. Shift notes: Delete on each, 5 to a page. */
#live-chat{position:relative}
#live-chat>dialog.qm.qm-in-chat{position:absolute;inset:0;z-index:40;width:auto;height:auto;max-width:none;max-height:none;margin:0;padding:10px 14px 16px;border-radius:inherit;overflow:auto;overscroll-behavior:contain}
@media(min-width:769px){#live-chat>dialog.qm.qm-in-chat{inset:0;width:auto;height:auto;border-radius:inherit}}
#live-chat>dialog.qm.qm-in-chat .qm-top{top:-10px}
.qm-shift .qm-note{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.qm-shift .qm-note-text{min-width:0;flex:1 1 auto}
.qm-shift .qm-del{min-height:36px;padding:0 12px;font-size:13px}
.qm-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.qm-pager[hidden]{display:none}
.qm-act:disabled{opacity:.45;cursor:default}
/* LIVE CHAT BADGES CENTRED (Aaron, 9 Nov 2026: "make sure the badges on here are centred along with the text"). Bundle badges are artwork
   with no text (font-size 0), so the em-based nudge above came to 0 and they sat on the baseline, too high. Centre them on the line instead. */
.live-msg-who .viewer-badge.bxb{vertical-align:middle;margin:-2px 3px 0 0;cursor:help}
.live-msg-boxed .live-msg-who .viewer-badge.bxb{margin:0}
/* TV VIEW REMOTE (9 Nov 2026): a TV is read from across the room, so the button the remote is on gets a thick gold ring. */
body.live-tv :is(button,a[href]):focus-visible{outline:4px solid var(--focus,var(--gold-strong));outline-offset:4px}

/* IPHONE CHAT STUTTER (16 Nov 2026, The Buddha's iPhone screen recording): chat rows never use content-visibility. The 11 Nov perf rule
   skipped paused (.cfx-off) rows and gave them a 44px stand-in height. iPhone Safari drops a row's remembered height when the class comes
   off and has no scroll anchoring, so rows near the edge of the chat flipped between their real height and 44px several times a second:
   the whole chat flicked up and down ~14px while nobody touched it, and jumped while scrolling. Paused rows still stop their animations
   (.cfx-off, bundle-fx.css); a chat row's size must never depend on whether it is on screen. */

/* POP OUT ON PHONES (12 Nov 2026): when the phone refuses the first tap, a gold note asks for a second tap and the Pop Out button glows. */
.live-pip-ready{position:absolute;left:50%;top:14px;transform:translateX(-50%);z-index:6;padding:9px 16px;border-radius:999px;background:var(--gold-metal,var(--gold));color:var(--on-gold);font-weight:800;font-size:14px;box-shadow:0 4px 18px var(--scrim);pointer-events:none;white-space:nowrap}
.live-pip-ready[hidden]{display:none}
.live-pip.pip-ready{box-shadow:0 0 0 3px var(--gold),0 0 18px var(--gold);animation:pipReadyGlow 1.2s ease-in-out infinite}
@keyframes pipReadyGlow{50%{box-shadow:0 0 0 2px var(--gold),0 0 6px var(--gold)}}
@media(prefers-reduced-motion:reduce){.live-pip.pip-ready{animation:none}}

/* IPHONE CHAT (12 Nov 2026): our sound player stays invisible until it is really playing; Kick's picture shows until then. */
.live-own.live-own-loading{opacity:0;pointer-events:none}
/* POP OUT HELP (Aaron, 13 Nov 2026): when the phone can't float the stream (the iPhone home-screen app), the note says why in plain words
   and wraps inside the player instead of running off a narrow phone screen. */
.live-pip-ready.live-pip-help{top:60px;white-space:normal;width:max-content;max-width:calc(100% - 24px);box-sizing:border-box;text-align:center;line-height:1.35;font-size:13px;pointer-events:auto;cursor:pointer}
/* Review round 2: while the help shows (7 seconds, or until tapped), the gold Unmute button and the replay's middle buttons step aside
   instead of sitting half-hidden under it. */
.live-frame:has(.live-pip-help:not([hidden])) :is(.live-sound,.live-vod-mid){visibility:hidden}
/* On a narrow phone where CC sits in the top row, the "Ready" note drops below that row so it never covers CC. */
@media(max-width:480px){body:not(.live-is-full) .live-frame:has(.live-vol:not([hidden])~.live-cc:not([hidden])) .live-pip-ready{top:60px}}
/* CAPTIONS (Aaron, 13 Nov 2026): the CC button sits beside the speaker (and the sound slider when it shows), styled like the speaker; gold
   filled while captions are on. The replay's seek bar makes room for it. */
.live-cc{right:58px;font-weight:800;font-size:13px;line-height:1;letter-spacing:.04em;transition:opacity var(--dur-slow) var(--ease),visibility 0s,background-color var(--dur-fast,180ms) var(--ease),color var(--dur-fast,180ms) var(--ease),transform var(--dur-fast,180ms) var(--ease)}
/* Review round 1: while the controls show, the shared fade rule would drop the press-and-lift and the on/off colour change; kept here. */
.live-frame:is(.live-ctl-on,.live-vod-stopped) .live-cc,.live-frame:not(:has(.live-vod)):hover .live-cc,.live-frame .live-cc:focus-visible{transition:opacity var(--dur-slow) var(--ease),visibility 0s,background-color var(--dur-fast,180ms) var(--ease),color var(--dur-fast,180ms) var(--ease),transform var(--dur-fast,180ms) var(--ease)}
.live-cc::before{content:none;display:none}
.live-vol:not([hidden])~.live-cc{right:168px}
.live-cc[aria-pressed=true]{background:var(--gold-metal,var(--gold));color:var(--on-gold)}
.live-cc:active{transform:scale(.94)}
.live-frame:has(.live-cc:not([hidden])) .live-vod-bar{right:110px}
.live-frame:has(.live-cc:not([hidden])):has(.live-vol:not([hidden])) .live-vod-bar{right:218px}
@media(max-width:480px){.live-frame:has(.live-cc:not([hidden])) .live-vod-bar{right:106px}
 /* A narrow phone that also shows the sound slider (Android): CC moves up beside Full Screen so the seek bar keeps its room. */
 body:not(.live-is-full) .live-frame .live-vol:not([hidden])~.live-cc{top:8px;bottom:auto;right:58px}
 body:not(.live-is-full) .live-frame:has(.live-cc:not([hidden])):has(.live-vol:not([hidden])) .live-vod-bar{right:166px}
 /* Upright full screen on a narrow phone (the top row belongs to the full-screen bar there): the sound slider gets shorter instead, so CC
    stays at the bottom and the seek bar keeps about the room it had before CC. */
 body.live-is-full .live-frame:has(.live-cc:not([hidden])) .live-vol:not([hidden]){width:64px}
 body.live-is-full .live-frame .live-vol:not([hidden])~.live-cc{right:128px}
 body.live-is-full .live-frame:has(.live-cc:not([hidden])):has(.live-vol:not([hidden])) .live-vod-bar{right:178px}}
@media(prefers-reduced-motion:reduce){.live-cc,.live-frame:is(.live-ctl-on,.live-vod-stopped) .live-cc,.live-frame:not(:has(.live-vod)):hover .live-cc,.live-frame .live-cc:focus-visible{transition:none}.live-cc:active{transform:none}}
/* Review round 4: on the narrowest phones (under 360px) the help note uses smaller text and never reaches the bottom row of controls. */
@media(max-width:359px){.live-pip-ready.live-pip-help{font-size:12px;max-height:calc(100% - 120px);overflow:auto}}
/* Review round 5: when the Ready note sits lower on a narrow phone (CC in the top row), the replay's middle buttons step aside while it
   shows, as they do for the help note; on the narrowest phones the Ready note's text is smaller so it clears the corner buttons. */
@media(max-width:480px){body:not(.live-is-full) .live-frame:has(.live-vol:not([hidden])~.live-cc:not([hidden])):has(.live-pip-ready:not([hidden])) .live-vod-mid{visibility:hidden}}
@media(max-width:359px){.live-pip-ready:not(.live-pip-help){font-size:12px;padding-left:12px;padding-right:12px}}
