.app-shell.live-view .content{padding:0;max-width:none}.live-surface{width:100%;min-width:0}.live-directory{padding:30px clamp(14px,3vw,40px) 100px;max-width:1400px;margin:auto}.live-directory-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 30px}.live-eyebrow{font-size:10px;letter-spacing:.2em;color:var(--muted);font-weight:800}.live-directory h2{font-size:clamp(24px,3vw,38px);margin:10px 0}.live-directory p{color:var(--muted);line-height:1.6;font-size:13px}.live-surface button{font:inherit;cursor:pointer}.live-directory button,.live-create button{padding:11px 17px;border:0;border-radius:7px;background:var(--accent);color:#fff;font-weight:700;white-space:nowrap}.live-surface button:disabled{opacity:.45;cursor:not-allowed}.live-surface button:focus-visible,.live-surface input:focus-visible,.live-surface select:focus-visible{outline:2px solid #79bdff;outline-offset:3px}.live-room-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px}.live-room-card{min-width:0;padding:20px 0;border-top:1px solid var(--line)}.live-room-card h3{margin:16px 0 8px;overflow-wrap:anywhere}.live-room-portraits{display:flex;margin-bottom:18px}.live-room-portraits span{display:grid;place-items:center;width:70px;height:90px;background:var(--panel2);font-size:24px;overflow:hidden}.live-room-portraits img{width:100%;height:100%;object-fit:cover}.live-tag{font-size:10px;font-weight:800;letter-spacing:.08em;color:#fff;background:#e12c54;padding:4px 7px;border-radius:3px;white-space:nowrap}.live-empty{padding:30px 0;color:var(--muted)}.live-notice{padding:15px 0;line-height:1.6}.live-error{color:#ffb3bf!important}.live-create{display:grid;gap:10px;max-width:530px;padding:20px 0 35px}.live-create label,.live-gift-sheet label{font-size:12px;font-weight:700}.live-create input,.live-create select,.live-gift-sheet input{font:inherit;width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--text)}.live-create>div{display:flex;gap:12px}.live-create h3{margin:0 0 10px}.live-create [data-live-action=cancel-setup]{background:transparent;color:var(--muted)}
.live-stage{position:relative;isolation:isolate;width:100%;height:calc(100dvh - 65px);min-height:430px;background:#000;overflow:hidden;color:#fff}.live-stage-grid{position:absolute;inset:0;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;gap:0;padding:0;margin:0}.live-stage[data-count="2"] .live-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-stage[data-count="3"] .live-stage-grid,.live-stage[data-count="4"] .live-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.live-video-tile{position:relative;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:#080a0f;overflow:hidden}.live-video-tile video{display:block;width:100%;height:100%;object-fit:cover;background:#000}.live-video-wait{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#d5dfed;background:radial-gradient(ellipse at center,#1b2540,#080a0f);padding:20px;text-align:center;font-size:18px}.live-video-wait small{display:block;margin-top:12px;color:#9aa6bc;font-size:12px}.live-video-wait[hidden]{display:none}.live-room-overlay{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:15px 16px 28px;background:linear-gradient(#0009,transparent);pointer-events:none;z-index:3}.live-room-overlay>div{display:flex;gap:12px;align-items:center;min-width:0}.live-room-overlay strong{font-size:14px;text-shadow:0 1px 3px #000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-room-overlay button{pointer-events:auto;border:0;background:transparent;color:#fff;min-width:40px;min-height:40px;font-size:25px;padding:5px}.live-tile-caption{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:30px 13px 13px;background:linear-gradient(transparent,#000b);z-index:2}.live-tile-caption>div{min-width:0}.live-tile-caption strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-tile-caption span{display:block;color:#c5cbd5;font-size:10px;margin-top:4px}.live-tile-caption button{border:0;background:transparent;color:#fff;font-size:22px;min-width:40px;min-height:40px;padding:0;text-shadow:0 1px 5px #000}.live-tile-caption .live-points{color:#ffe7a1;flex-shrink:0}.live-stage-bottom{position:absolute;bottom:70px;left:0;right:0;padding:8px 15px;pointer-events:none;z-index:4}.live-stage-status{font-size:12px;text-shadow:0 1px 5px #000;max-width:650px;line-height:1.5}.live-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.live-controls button,.live-stage-requests button,.live-manage-stage button,.live-battle-overlay button{pointer-events:auto;min-height:40px;padding:8px 13px;border:0;border-radius:6px;background:#080e20c9;color:white;font-size:12px;backdrop-filter:blur(8px)}.live-controls .live-end-button{background:#b82643d9}.live-battle-overlay{position:absolute;z-index:4;left:50%;transform:translateX(-50%);top:64px;text-align:center;max-width:90%;padding:9px 15px;background:linear-gradient(110deg,#4c2692c9,#a32950c9);border-radius:7px;font-size:15px;font-weight:800;line-height:1.5}.live-battle-overlay small{display:block;font-size:10px;font-weight:500}.live-battle-overlay>div>button{margin:7px 4px 0;background:#0006}.live-stage-requests{pointer-events:auto;margin-top:10px;background:#080e20e6;max-width:380px;padding:12px;border-radius:6px;font-size:12px;max-height:160px;overflow:auto}.live-stage-requests>div,.live-manage-stage>div{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:6px}.live-manage-stage{pointer-events:auto;margin-top:8px;font-size:11px;max-width:300px;background:#080e20b3;padding:9px}.live-ended-placeholder{display:grid;place-items:center;height:100%;color:#98a4b8}.live-sheet-backdrop{position:absolute;inset:0;z-index:10;background:#0008;display:flex;align-items:flex-end;justify-content:center}.live-gift-sheet{width:min(100%,480px);background:var(--panel);color:var(--text);padding:22px;display:grid;gap:12px;border-radius:14px 14px 0 0;max-height:95%;overflow:auto;box-shadow:0 -6px 60px #0008}.live-gift-sheet>div:first-child{display:flex;justify-content:space-between;align-items:center}.live-gift-sheet h3{margin:0;font-size:18px}.live-gift-sheet p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.live-gift-sheet button{min-height:42px;border:0;border-radius:6px;background:var(--accent);color:#fff;padding:9px 15px}.live-gift-sheet [data-live-action=close-gift],.live-gift-sheet [data-live-action=wallet]{background:transparent;color:var(--text)}.live-gift-options{display:flex;gap:10px}.live-gift-options [aria-pressed=false]{background:var(--panel2);color:var(--text)}
@media(max-width:760px){.live-directory{padding-top:20px}.live-directory-head{align-items:flex-start;gap:12px}.live-directory-head>button{padding:11px}.live-stage{height:calc(100dvh - 65px - 70px - env(safe-area-inset-bottom,0px));min-height:360px}.live-room-overlay{padding:8px 10px 22px}.live-room-overlay strong{max-width:150px;font-size:11px}.live-room-overlay>div{gap:5px}.live-room-overlay button{min-width:34px}.live-battle-overlay{top:54px;font-size:12px}.live-stage-bottom{bottom:60px;padding:5px 9px}.live-controls{gap:5px}.live-controls button{padding:7px 9px;font-size:10px;min-height:38px}.live-tile-caption{padding:25px 7px 7px;gap:4px}.live-tile-caption strong{font-size:10px}.live-tile-caption span{font-size:9px}.live-tile-caption button{font-size:20px;min-width:30px;min-height:36px}.live-gift-sheet{padding:18px}.live-stage-requests{max-height:120px}}
/* The chat node stays mounted while media and room controls refresh. */
.live-chat-shell{position:absolute;inset:0;z-index:5;pointer-events:none;--live-chat-bottom:calc(12px + env(safe-area-inset-bottom,0px) + var(--live-keyboard-lift,0px));--live-composer-height:44px}.live-chat-shell.is-chat-focused{--live-composer-height:72px}.live-chat-dock{position:absolute;left:14px;right:14px;bottom:var(--live-chat-bottom);display:flex;align-items:flex-end;gap:8px;pointer-events:none}.live-chat-composer{position:relative;flex:0 1 48%;width:48%;min-width:0;min-height:44px;display:flex;align-items:center;margin:0;padding:0;border:0;border-radius:25px;background:rgba(27,29,35,.46);backdrop-filter:blur(12px);box-shadow:0 1px 16px #0002;pointer-events:auto;transition:background .18s ease}.live-chat-composer:focus-within{background:rgba(24,26,33,.7)}.live-chat-composer textarea{display:block;resize:none;width:100%;height:44px;min-height:44px;max-height:92px;box-sizing:border-box;margin:0;padding:13px 44px 11px 16px;border:0;outline:0;border-radius:25px;background:transparent;color:#fff;caret-color:#fff;font:inherit;font-size:13px;line-height:20px;overflow-y:auto;transition:height .16s ease}.live-chat-composer textarea::placeholder{color:rgba(255,255,255,.45);opacity:1}.live-chat-composer textarea:focus-visible{outline:2px solid #ffffff80;outline-offset:2px}.is-chat-focused .live-chat-composer textarea{height:72px}.live-chat-send{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:32px;height:32px;padding:7px;border:0;border-radius:50%;background:#ffffffeb;color:#131720}.live-chat-send[hidden]{display:none}.live-chat-send:disabled{opacity:.45}.live-chat-tool{pointer-events:auto;flex:0 0 40px;display:grid;place-items:center;width:40px;height:44px;margin:0;padding:7px;border:0;background:transparent;color:#fff;filter:drop-shadow(0 1px 4px #000b)}.live-chat-tool svg,.live-chat-send svg{display:block;width:24px;height:24px}.live-chat-send svg{width:20px;height:20px}.live-chat-messages{position:absolute;left:14px;bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 14px);width:min(48%,560px);max-height:min(31%,240px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;pointer-events:auto;padding:12px 0 0;box-sizing:border-box;mask-image:linear-gradient(transparent,#000 12px);text-shadow:0 1px 4px #000,0 1px 12px #0008;transition:bottom .16s ease}.live-chat-messages::-webkit-scrollbar{display:none}.live-chat-message{display:block;margin:0 0 9px;font-size:12px;line-height:1.45;overflow-wrap:anywhere;color:#fff}.live-chat-message strong{font-size:12px;color:#d8d8e2;margin-right:7px;font-weight:700}.live-chat-message span{white-space:pre-wrap}.live-chat-feedback{position:absolute;left:14px;bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 5px);max-width:48%;font-size:10px;line-height:1.35;color:#ffdfd7;text-shadow:0 1px 4px #000;pointer-events:none}.live-chat-shell:has(.live-chat-feedback:not(:empty)) .live-chat-messages{bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 42px)}.live-chat-latest{position:absolute;left:18px;bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 12px);padding:5px 10px;border:0;border-radius:12px;background:#fff;color:#202431;font:inherit;font-size:10px;pointer-events:auto;box-shadow:0 2px 10px #0005}.live-stage:has(.live-chat-shell) .live-stage-bottom{left:auto;right:12px;bottom:calc(72px + var(--live-keyboard-lift,0px));width:min(48%,460px);padding:0;z-index:4}.live-stage:has(.live-chat-shell) .live-controls{justify-content:flex-end}.live-stage:has(.live-chat-shell) .live-stage-status{margin:5px 0;text-align:right}.live-stage:has(.live-chat-shell) .live-stage-requests,.live-stage:has(.live-chat-shell) .live-manage-stage{margin-left:auto}.live-stage[data-count="1"]:has(.live-chat-shell) .live-tile-caption,.live-stage[data-count="2"]:has(.live-chat-shell) .live-tile-caption,.live-stage[data-count="3"]:has(.live-chat-shell) .live-video-tile:nth-child(n+3) .live-tile-caption,.live-stage[data-count="4"]:has(.live-chat-shell) .live-video-tile:nth-child(n+3) .live-tile-caption{bottom:calc(68px + var(--live-keyboard-lift,0px))}.live-gift-picker [data-live-action=gift]{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--panel2);color:var(--text);text-align:left}.live-gift-picker small{font-size:10px;color:var(--muted)}
@media(max-width:760px){.live-chat-dock{left:9px;right:9px;gap:4px}.live-chat-messages,.live-chat-feedback{left:10px}.live-chat-composer textarea{font-size:16px;padding-left:13px}.live-chat-composer{flex-basis:48%;width:48%}.live-chat-tool{flex-basis:36px;width:36px;padding:6px}.live-chat-message,.live-chat-message strong{font-size:11px}.live-chat-messages{max-height:29%;width:52%}.live-stage:has(.live-chat-shell) .live-stage-bottom{right:9px;width:46%;bottom:calc(72px + var(--live-keyboard-lift,0px))}.live-stage:has(.live-chat-shell) .live-controls{gap:4px}.live-stage:has(.live-chat-shell) .live-controls button{font-size:10px;min-height:34px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.live-chat-composer,.live-chat-composer textarea,.live-chat-messages{transition:none}}

.live-chat-feedback [data-live-action=chat-retry]{pointer-events:auto;min-height:28px;margin:0 0 0 3px;padding:0 3px;border:0;background:transparent;color:#fff;font:inherit;text-decoration:underline;text-underline-offset:3px}.live-chat-composer textarea:disabled{opacity:.6;cursor:not-allowed}

@media(max-width:760px){.live-chat-shell.is-chat-focused{--live-chat-bottom:calc(6px + var(--live-keyboard-lift,0px))}.live-chat-message,.live-chat-message strong{font-size:13px}}

/* Live discovery follows the Home feed: one large portrait preview per row. */
.live-directory{max-width:920px;padding-left:0;padding-right:0}.live-directory-head,.live-directory>.live-notice,.live-directory>.live-error,.live-directory>.live-create{margin-left:clamp(14px,3vw,28px);margin-right:clamp(14px,3vw,28px)}.live-room-list{display:flex;flex-direction:column;gap:12px;width:100%;max-width:720px;margin:auto}.live-room-card{border:0;padding:0;margin:0;scroll-margin-top:65px;scroll-snap-align:start}.live-preview-player{position:relative;width:100%;height:min(86dvh,960px);min-height:420px;overflow:hidden;background:#050608;color:#fff}.live-preview-player video{width:100%;height:100%;display:block;object-fit:contain;background:#000}.live-preview-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0006,transparent 23%,transparent 50%,#000b)}.live-preview-tag{position:absolute;top:17px;left:18px}.live-preview-stats{position:absolute;top:19px;right:18px;font-size:12px;text-shadow:0 1px 5px #000}.live-preview-status{position:absolute;top:42%;left:10%;width:80%;text-align:center;color:#fff!important;font-size:14px!important;text-shadow:0 1px 5px #000;pointer-events:none}.live-preview-status[hidden],.live-preview-retry[hidden]{display:none}.live-preview-retry{position:absolute;top:52%;left:50%;transform:translateX(-50%)}.live-preview-caption{position:absolute;left:20px;right:20px;bottom:28px;text-shadow:0 1px 5px #000}.live-preview-caption h3{font-size:22px;margin:8px 0}.live-preview-caption p{color:#eee;margin:4px 0 15px}.live-preview-host{font-size:13px;font-weight:700}.live-preview-caption button{background:#fff;color:#111;padding:12px 22px}.live-engagement-count{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;white-space:nowrap;text-shadow:0 1px 4px #000}.live-engagement-count svg{width:18px;height:18px;color:#ff527c}.live-viewer-total{font-size:11px;white-space:nowrap;text-shadow:0 1px 4px #000}.live-heart-button{position:absolute;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px) + var(--live-keyboard-lift,0px));z-index:6;display:grid;place-items:center;width:44px;height:44px;padding:7px;border:0;background:transparent;color:#fff;filter:drop-shadow(0 1px 4px #000b)}.live-heart-button svg{width:29px;height:29px}.live-heart-button[data-liked=true]{color:#ff527c}.live-chat-entry{color:#d2e9ff;font-style:italic}.live-chat-entry strong{color:#d2e9ff}.live-room-overlay>div:last-child{flex-shrink:0}.live-chat-dock{padding-right:48px}
@media(max-width:760px){.live-directory-head{margin-bottom:22px}.live-directory-head h2{font-size:24px}.live-directory-head p{font-size:12px}.live-room-list{gap:6px}.live-preview-player{height:calc(100dvh - 65px - 70px - env(safe-area-inset-bottom,0px));min-height:360px}.live-preview-caption{left:15px;right:15px;bottom:22px}.live-preview-caption h3{font-size:20px}.live-preview-stats{font-size:10px;right:12px}.live-engagement-count{font-size:12px}.live-viewer-total{font-size:9px}.live-room-overlay strong{max-width:110px}.live-heart-button{right:9px}.live-chat-dock{padding-right:42px}}

.live-directory{padding-top:0}.live-empty{padding:40px 20px}.live-camera-paused{position:absolute;inset:0;z-index:1;background:#0a0d13;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:40px 20px;text-align:center;pointer-events:none}.live-camera-paused>span svg{width:42px;height:42px;opacity:.65}.live-camera-paused strong{font-size:clamp(15px,2.4vw,23px);font-weight:600;max-width:300px;line-height:1.5}.live-preview-player .live-camera-paused{z-index:1}.live-preview-tag,.live-preview-stats,.live-preview-caption,.live-preview-retry{z-index:2}.live-room-overlay .live-camera-quick{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:8px}.live-room-overlay button svg{width:25px;height:25px}.live-settings-sheet .live-media-controls{display:flex;gap:28px;align-items:center;justify-content:center;padding:12px 0 20px}.live-settings-sheet .live-media-icon{width:56px;height:56px;min-height:56px;display:grid;place-items:center;background:transparent;color:var(--text);border:0;border-radius:0;padding:12px}.live-media-icon svg{width:30px;height:30px}.live-media-icon[aria-pressed=true]{color:#ff8da5}.live-settings-sheet [data-live-action=close-settings],.live-settings-sheet [data-live-action=media-retry]{background:transparent;color:var(--text);border:0;border-radius:0}.live-settings-sheet [data-live-action=close-settings]{font-size:26px;min-width:44px;padding:0}.live-settings-sheet [data-live-action=media-retry]{text-decoration:underline;text-underline-offset:4px}.live-settings-sheet>div:first-child{display:flex;justify-content:space-between;align-items:center}.live-stage:has(.live-camera-quick) .live-room-overlay>div:first-child{gap:7px}.live-stage:has(.live-camera-quick) .live-room-overlay strong{max-width:170px}
@media(max-width:760px){.live-stage:has(.live-camera-quick) .live-room-overlay strong{max-width:76px}.live-room-overlay .live-camera-quick{width:40px;min-width:40px;height:44px}.live-stage:has(.live-camera-quick) .live-room-overlay .live-viewer-total{display:none}.live-camera-paused strong{font-size:16px}}
/* Live rooms as flip-card tickets (live-room.js, card-flip.js). The front is the live preview, 80% of the face, above
 * a ticket stub with the host, title and Watch live; the back has the room's details and Watch live too. */
.live-room-card.live-ticket{width:100%;aspect-ratio:auto;height:min(86dvh,960px);min-height:420px;perspective:2600px;border-radius:16px}
.live-ticket:not(.card-flip)>[data-face="back"]{display:none}
.live-ticket-front{display:flex;flex-direction:column;height:100%}
.live-ticket-front>.live-preview-player{flex:none;height:80%;min-height:0}
.live-ticket-stub{flex:1;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 18px;border-top:1px dashed #3f3f46;box-sizing:border-box}
.live-ticket-stub-text{min-width:0;display:grid;gap:3px}
.live-ticket-stub .live-preview-host{display:flex;align-items:center;gap:10px;min-width:0;color:#a1a1aa;font-size:12px;font-weight:700}
.live-preview-host-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The host's avatar next to their name on the front of a live ticket, in the live ring (ripple.css). */
.live-ticket-stub-avatar.avatar{position:relative;width:26px;height:26px;font-size:9px}
.live-ticket-stub .avatar-live{margin-left:4px}
.live-ticket-stub h3{margin:0;font-size:18px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-ticket [data-live-action="open"]{flex:none;border:0;border-radius:999px;background:#fff;color:#111;font-weight:800;padding:11px 18px;cursor:pointer}
.live-ticket-back{display:flex;flex-direction:column;height:100%;padding:24px;box-sizing:border-box}
.live-ticket-top{display:flex;align-items:center;justify-content:space-between}
.live-ticket-kicker{color:#a1a1aa;font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.live-ticket-category{margin:28px 0 0;color:#fb923c;font-size:13px;font-weight:600}
/* The host, top right under the LIVE header on the flip side: avatar (with the live ring, ripple.css) above the name. */
.live-ticket-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px}
.live-ticket-heading{min-width:0}
.live-ticket-hostcard{display:grid;justify-items:center;gap:10px;max-width:104px;margin-top:22px;text-align:center}
.live-ticket-avatar.avatar{position:relative;width:60px;height:60px;font-size:18px}
.live-ticket-host-name{max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;line-height:1.2}
.live-ticket-back h3{margin:6px 0 0;font-size:clamp(24px,5vw,34px);line-height:1.08;font-weight:700;letter-spacing:-.02em;overflow-wrap:anywhere}
.live-ticket-host{margin:10px 0 0;color:#a1a1aa;font-size:14px}
.live-ticket-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:auto 0 0;text-align:center}
.live-ticket-fields dt{color:#a1a1aa;font-size:11px}
.live-ticket-fields dd{margin:2px 0 0;font-size:16px;font-weight:700}
.live-ticket-perforation{margin:18px -24px;border-top:1px dashed #3f3f46}
.live-ticket-back [data-live-action="open"]{align-self:center;padding:13px 30px}
.live-ticket-fine{margin:14px 0 0;color:#a1a1aa;font-size:11px;text-align:center}
:root.light .live-ticket-kicker,:root.light .live-ticket-host,:root.light .live-ticket-fields dt,:root.light .live-ticket-fine,:root.light .live-ticket-stub .live-preview-host{color:#71717a}
:root.light .live-ticket-stub,:root.light .live-ticket-perforation{border-color:#d4d4d8}
:root.light .live-ticket [data-live-action="open"]{background:#18181b;color:#fff}
@media(max-width:760px){.live-room-card.live-ticket{height:calc(100dvh - 65px - 70px - env(safe-area-inset-bottom,0px));min-height:360px}.live-ticket-stub{padding:8px 14px}.live-ticket-stub h3{font-size:16px}.live-ticket-back{padding:20px}.live-ticket-perforation{margin:16px -20px}}
/* Live summary (live-room.js): a host's numbers after a broadcast ends, as a bento grid (bento-grid.js). Light unless
 * the host turns on the dark summary in Settings; the panel carries its own palette whatever the site's theme. */
.live-summary{--bg:#f3f6fb;--panel:#fff;--panel2:#f6f8fc;--panel3:#edf2fa;--line:#e2e8f1;--text:#172235;--muted:#607088;--accent:#2563eb;color-scheme:light;box-sizing:border-box;max-width:928px;margin:24px auto 100px;padding:22px clamp(14px,3vw,28px) 24px;border-radius:24px;background:var(--bg);color:var(--text)}
.live-summary.is-dark{--bg:#0a0e15;--panel:#111722;--panel2:#151d2a;--panel3:#1b2534;--line:#222d3e;--text:#edf2f9;--muted:#8c9aae;--accent:#3b82f6;color-scheme:dark;border:1px solid var(--line)}
.live-summary-head{margin-bottom:18px}
.live-summary-eyebrow{margin:0 0 4px;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.live-summary-head h2{margin:0;font:800 24px/1.2 Manrope,system-ui;letter-spacing:-.4px;outline:none}
.live-summary-sub{margin:6px 0 0;color:var(--muted);font-size:14px}
.live-summary-status{margin:28px 0;color:var(--muted);font-size:14px}
.live-summary-status button{margin-left:6px}
.live-summary-grid{max-width:none}
.live-summary-actions{display:flex;justify-content:flex-end;margin-top:20px}
.live-summary-next{min-width:132px;min-height:44px;padding:0 28px;border:0;border-radius:999px;background:var(--accent);color:#fff;font:700 15px/1 inherit;font-family:inherit;cursor:pointer}
.live-summary-next:hover{filter:brightness(1.08)}
.live-summary-next:focus-visible{outline:3px solid var(--text);outline-offset:3px}
@media(max-width:560px){.live-summary{margin:12px 8px 96px;border-radius:20px}.live-summary-next{width:100%}}
/* The numbers inside each widget sit at its foot, as in KokonutUI's widgets. */
.live-summary .ls-view{display:flex;flex-direction:column;justify-content:flex-end}
.live-summary .ls-stack{display:flex;flex-direction:column;gap:2px}
.live-summary .ls-fill{display:flex;flex-direction:column;justify-content:space-between;height:100%}
.live-summary .ls-value{margin:0;color:var(--text);font:800 30px/1.1 Manrope,system-ui;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-summary .ls-label,.live-summary .ls-note{margin:0;color:var(--muted);font-size:12px;line-height:1.4}
.live-summary .ls-note{margin-top:6px}
.live-summary .ls-meter{height:6px;margin-top:10px;overflow:hidden;border-radius:999px;background:var(--panel3)}
.live-summary .ls-meter span{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.live-summary .ls-split{display:flex;gap:2px;height:8px;margin-top:12px;overflow:hidden;border-radius:999px;background:var(--panel3)}
.live-summary .ls-split-new{background:var(--accent)}
.live-summary .ls-split-back{background:#94a3b8}
.live-summary .ls-legend{display:flex;gap:16px;margin:8px 0 0;padding:0;color:var(--muted);font-size:12px;list-style:none}
.live-summary .ls-legend li{display:flex;align-items:center;gap:6px}
.live-summary .ls-legend i{display:block;width:8px;height:8px;border-radius:50%}
.live-summary .ls-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}
/* If the grid script can't load, the numbers still show as plain cards. */
.live-summary-grid:not(.bento){display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.live-summary-grid:not(.bento)>[data-widget]{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.live-summary-grid:not(.bento) [data-show]:not([data-show~="s"]){display:none}
/* Go live, step 1: the live rules in a scroll index (scroll-index.js), an acknowledgment and Continue. */
.live-rules{display:grid;gap:14px;max-width:620px;margin:0 clamp(14px,3vw,28px);padding:20px 0 35px}
.live-rules h3{margin:0;font-size:20px;outline:none}
.live-rules .live-rules-intro{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.live-rules .live-rules-index{--si-height:clamp(260px,calc(100vh - 420px),440px)}
/* Phones' browsers: the visible height without their toolbars. */
@supports (height:100svh){.live-rules .live-rules-index{--si-height:clamp(240px,calc(100svh - 440px),440px)}}
/* Phones: room under the rules and the controls for the floating bottom bar, so Continue and Go live can scroll above it. */
@media(max-width:760px){.live-rules,.live-create.live-setup-controls{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  /* 16 px fields, so iPhone Safari doesn't zoom the page when the title field gets focus. */
  .live-create input:not([type=checkbox]),.live-create select{font-size:16px}}
.live-rules-text h4{margin:30px 0 8px;font-size:16px;font-weight:700;line-height:1.3}
.live-rules-text h4:first-child{margin-top:0}
.live-rules-text h4.live-rules-warning{color:var(--yellow,#ffba5c)}
:root.light .live-rules-text h4.live-rules-warning{color:#b45309}
.live-rules-text p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.live-rules-text .live-rules-terms{margin-top:26px;padding-bottom:140px;font-size:13px}
.live-rules-text a{color:var(--accent)}
.live-rules-ack{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.live-rules-ack input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--accent)}
.live-rules-actions{display:flex;justify-content:flex-end;gap:12px}
.live-rules-actions button{padding:11px 17px;border:0;border-radius:7px;background:var(--accent);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.live-rules-actions [data-live-action=cancel-setup]{background:transparent;color:var(--muted)}
.live-rules-actions button:disabled{opacity:.45;cursor:not-allowed}
/* Go live, step 2: broadcast controls, with who can watch. */
.live-create [data-live-action=rules-back]{background:transparent;color:var(--text);border:1px solid var(--line)}
.live-audience{display:grid;gap:8px;margin:4px 0 0;padding:0;border:0}
.live-audience legend{margin-bottom:8px;padding:0;font-size:12px;font-weight:700}
/* The 18+ switch is Untitled UI's Toggle, size sm, with its label and hint, in Untitled UI's orange instead of its
   purple (the owner, November 23, 2026): a 36×20 track with 2px padding, a 16px white knob that moves 16px, the label
   14px medium, the hint 14px. Colours are Untitled UI's dark-mode ones (the site's default), light ones for :root.light. */
.live-create .live-switch-row{--toggle-off:#22262f;--toggle-off-hover:#373a41;--toggle-on:#e04f16;--toggle-on-hover:#ef6820;--toggle-ring:#ef6820;--toggle-label:#cecfd2;--toggle-hint:#94979c;display:flex;align-items:flex-start;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:14px;font-weight:400;cursor:pointer}
:root.light .live-create .live-switch-row{--toggle-off:#f5f5f5;--toggle-off-hover:#e9eaeb;--toggle-on-hover:#b93815;--toggle-label:#414651;--toggle-hint:#535862}
.live-create .live-switch-row input{position:relative;flex:none;box-sizing:border-box;width:36px;height:20px;margin:0;padding:2px;border:0;border-radius:999px;background:var(--toggle-off);-webkit-appearance:none;appearance:none;cursor:pointer;transition:background-color .15s linear}
.live-create .live-switch-row input::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(10,13,18,.1),0 1px 2px -1px rgba(10,13,18,.1);transition:transform .15s ease-in-out}
.live-create .live-switch-row:hover input:not(:disabled){background:var(--toggle-off-hover)}
.live-create .live-switch-row input:checked{background:var(--toggle-on)}
.live-create .live-switch-row:hover input:checked:not(:disabled){background:var(--toggle-on-hover)}
.live-create .live-switch-row input:checked::after{transform:translateX(16px)}
.live-create .live-switch-row input:focus-visible{outline:2px solid var(--toggle-ring);outline-offset:2px}
.live-create .live-switch-row input:disabled{opacity:.5;cursor:not-allowed}
.live-switch-text{display:grid}
.live-switch-text strong{color:var(--toggle-label,inherit);font-size:14px;font-weight:500;line-height:20px}
.live-switch-text small{color:var(--toggle-hint,var(--muted));font-size:14px;line-height:20px}
.live-tag.live-adult-tag{background:#111827;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)}
.live-preview-player .live-adult-tag{position:absolute;top:17px;left:68px;z-index:2}
.live-ticket-top .live-adult-tag{margin-left:6px}
@media (prefers-reduced-motion:reduce){
  .live-create .live-switch-row input,.live-create .live-switch-row input::after{transition:none}
}
/* The gift drawer (the giftbox in a live room): a bottom drawer 47% of the screen tall and the full width. Its header
 * is 17% of its height; below it a scrolling grid of five cards across, each 230 × 280 in proportion, with the
 * picture 145/230 of the card's width (on a 390-point phone at 3×: 230 × 280 px cards, 145 px pictures, 890 px tall). */
/* Beside the stage, over the whole screen: above the bottom bar (40), below dialogs (100). */
.live-gift-gallery-backdrop{position:fixed;inset:0;z-index:60}
.live-gift-scrim{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:rgba(0,0,0,.3);cursor:default;animation:live-gift-fade .2s ease-out}
.live-gift-scrim.is-closing{animation:live-gift-fade-out .22s ease-in forwards}
.live-gift-drawer{position:fixed;right:0;bottom:0;left:0;z-index:2;box-sizing:border-box;display:flex;flex-direction:column;width:100%;height:47vh;min-height:240px;padding-bottom:env(safe-area-inset-bottom);border-radius:18px 18px 0 0;background:var(--panel);color:var(--text);box-shadow:0 -12px 40px rgba(0,0,0,.45);animation:live-gift-up .28s cubic-bezier(.2,.8,.2,1)}
@supports (height:100dvh){.live-gift-drawer{height:47dvh}}
.live-gift-drawer.is-closing{animation:live-gift-down .22s ease-in forwards}
@keyframes live-gift-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes live-gift-down{from{transform:translateY(0)}to{transform:translateY(100%)}}
@keyframes live-gift-fade{from{opacity:0}to{opacity:1}}
@keyframes live-gift-fade-out{from{opacity:1}to{opacity:0}}
/* While it is open the floating bottom bar steps aside (the drawer covers where it was anyway). */
:root.is-live-gift-drawer .mobile-nav{display:none!important}
.live-gift-drawer-head{box-sizing:border-box;display:flex;flex:0 0 17%;align-items:center;gap:8px;min-height:44px;padding:0 8px 0 12px;border-bottom:1px solid var(--line)}
.live-gift-title{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.live-gift-recipients{display:flex;flex:1;align-items:center;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}
.live-gift-recipients::-webkit-scrollbar{display:none}
.live-gift-to{flex:none;color:var(--muted);font-size:12px;font-weight:600}
.live-gift-none{margin:0;color:var(--muted);font-size:12px}
.live-gift-drawer button{font:inherit;cursor:pointer}
.live-gift-drawer .live-gift-recipients button{display:inline-flex;flex:none;align-items:center;gap:5px;height:30px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font-size:12px;font-weight:600;white-space:nowrap}
.live-gift-drawer .live-gift-recipients button small{color:var(--muted);font-size:10px;font-weight:500}
.live-gift-drawer .live-gift-recipients button[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}
.live-gift-coin{display:inline-block;flex:none;width:.95em;height:.95em;margin-right:3px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9a3,#f5b70a 55%,#b7790b);box-shadow:inset 0 0 0 1px rgba(120,70,0,.35);vertical-align:-.12em}
.live-gift-drawer .live-gift-balance{display:inline-flex;flex:none;align-items:center;height:30px;padding:0 10px;border:0;border-radius:999px;background:var(--panel3);color:var(--text);font-size:12px;font-weight:700}
.live-gift-drawer .live-gift-close{flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text);font-size:22px;line-height:1}
.live-gift-drawer button:disabled{cursor:default;opacity:.55}
/* Five across, evenly spaced: the same 6px between cards across and down, and 8px at the sides so the outer cards
   don't touch the edges of the screen (November 21, 2026; before, cards were 1.6px apart across but 8px down, edge to
   edge). Each row is as tall as its cards (max-content): when the rows don't fit the drawer the grid scrolls, instead
   of squeezing the rows so the cards overlap (November 21, 2026). */
.live-gift-grid{display:grid;flex:1 1 auto;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;column-gap:6px;row-gap:6px;min-height:0;padding:8px 8px calc(14px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media(min-width:761px){.live-gift-grid{width:min(100%,820px);margin:0 auto;column-gap:12px;row-gap:12px;padding:12px 12px 18px}}
.live-gift-card.card-flip,.live-gift-card,.live-gift-drawer .live-gift-custom{width:100%;aspect-ratio:230/280;height:auto;min-height:0;container-type:inline-size}
.live-gift-card .card-flip-shadow{display:none}
.live-gift-card .card-flip-face,.live-gift-card .card-flip-slice{border-radius:12px}
.live-gift-card.card-flip:focus-visible{box-shadow:0 0 0 2px var(--panel),0 0 0 4px var(--accent)}
.live-gift-face{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4%;width:100%;height:100%;padding:6% 3%;overflow:hidden;text-align:center}
/* The picture is 145/230 of the card's own width (cqw), whatever the face's padding and border. */
.live-gift-front img{flex:none;width:63.04%;width:63.04cqw;height:auto;aspect-ratio:1;border-radius:14%;object-fit:cover;pointer-events:none}
/* Names are sized to the card (cqw: the card is an inline-size container), so they shrink with it and fit; a name over
   11 letters ("Raining coins") is set a little smaller. */
.live-gift-name{max-width:100%;overflow:hidden;font-size:clamp(9px,14.7cqw,14px);font-weight:700;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}
.live-gift-name.is-long{font-size:clamp(8px,12.5cqw,13px);letter-spacing:-.01em}
.live-gift-price{display:inline-flex;align-items:center;color:var(--muted);font-size:clamp(9px,2.6vw,12px);font-weight:600;line-height:1.2;white-space:nowrap}
.live-gift-drawer .live-gift-send{width:88%;min-height:0;margin-top:6%;padding:6% 0;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:clamp(10px,2.8vw,13px);font-weight:700}
.live-gift-drawer .live-gift-custom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4%;padding:6% 4%;border:1px dashed var(--line);border-radius:12px;background:transparent;color:var(--text)}
.live-gift-custom-icon{display:grid;place-items:center;width:63.04%;width:63.04cqw;aspect-ratio:1;border-radius:14%;background:var(--panel3);color:var(--muted);font-size:clamp(20px,6vw,34px);font-weight:300}
/* Messages float over the bottom of the grid instead of taking room from it. */
.live-gift-drawer .live-gift-status,.live-gift-drawer .live-gift-error{position:absolute;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;z-index:3;max-width:92%;margin:0;padding:7px 14px;border-radius:999px;background:rgba(10,14,21,.9);color:#fff;font-size:12px;font-weight:600;line-height:1.35;text-align:center;transform:translateX(-50%);pointer-events:none}
.live-gift-drawer .live-gift-error{background:#b4233e}
.live-gift-drawer .live-gift-status:empty,.live-gift-drawer .live-gift-error:empty{display:none}
.live-gift-drawer .live-gift-error:not(:empty)+.live-gift-status,.live-gift-drawer .live-gift-status:not(:empty)~.live-gift-error:not(:empty){bottom:calc(52px + env(safe-area-inset-bottom))}
@media (prefers-reduced-motion:reduce){.live-gift-drawer,.live-gift-scrim{animation:none!important}}
/* Gift banners (gift-banners.js), in the chat layer just above the chat messages, at the left. One unit (--gb-u) is
 * 1/1,170 of the stage's width (counted at most 560 px wide), so on a 390-point phone at 3× these are the owner's
 * device pixels: pill 590 × 115, photo 89 × 89 at the far left, name block 265 wide, gift 120 × 120 at the right end
 * (a little taller than the pill), and the combo text 60 tall just right of the pill. */
.gift-banners{position:absolute;left:0;right:0;bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 24px + min(31%,240px));height:0;container-type:inline-size;pointer-events:none}
@media(max-width:760px){.gift-banners{bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 24px + 29%)}}
/* While the gift drawer is open the banners sit just above it, so a sender sees their combo. On phones the stage ends
 * above the bottom bar (70 px and the safe area); elsewhere at the bottom of the screen. */
.gift-banners{transition:bottom .28s cubic-bezier(.2,.8,.2,1)}
:root.is-live-gift-drawer .gift-banners{bottom:calc(max(47vh,240px) + 12px)}
@supports (height:100dvh){:root.is-live-gift-drawer .gift-banners{bottom:calc(max(47dvh,240px) + 12px)}}
@media(max-width:760px){:root.is-live-gift-drawer .gift-banners{bottom:calc(max(47vh,240px) - 70px - env(safe-area-inset-bottom,0px) + 12px)}@supports (height:100dvh){:root.is-live-gift-drawer .gift-banners{bottom:calc(max(47dvh,240px) - 70px - env(safe-area-inset-bottom,0px) + 12px)}}}
.gift-banner-slot{--gb-u:calc(min(100cqw,560px) / 1170);--gb-h:calc(var(--gb-u) * 115);position:absolute;bottom:0;left:calc(var(--gb-u) * 30);transform:translateY(calc((var(--gb-h) + var(--gb-u) * 18) * var(--slot,0) * -1));transition:transform .26s cubic-bezier(.2,.8,.2,1)}
/* In from off screen with a fast ease-out; out again smoothly. */
.gift-banner{display:flex;align-items:center;animation:gift-banner-in .32s cubic-bezier(.16,1,.3,1) both}
.gift-banner.is-leaving{animation:gift-banner-out .38s cubic-bezier(.45,0,.55,1) forwards}
@keyframes gift-banner-in{from{transform:translateX(calc(-100% - var(--gb-u) * 60))}to{transform:none}}
@keyframes gift-banner-out{from{transform:none}to{transform:translateX(calc(-100% - var(--gb-u) * 60))}}
.gift-banner-pill{position:relative;box-sizing:border-box;display:flex;align-items:center;flex:none;width:calc(var(--gb-u) * 590);height:var(--gb-h);padding-left:calc(var(--gb-u) * 13);border-radius:999px;background:linear-gradient(90deg,rgba(12,16,24,.84),rgba(12,16,24,.52));box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 4px 18px rgba(0,0,0,.28);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.gift-banner-avatar{display:grid;place-items:center;flex:none;width:calc(var(--gb-u) * 89);height:calc(var(--gb-u) * 89);overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;font-size:calc(var(--gb-u) * 40);font-weight:700;line-height:1}
.gift-banner-avatar img{display:block;width:100%;height:100%;object-fit:cover}
/* The text column uses the room up to the gift picture (118 + 330 = 448 of the pill's 590; the picture starts at 462), so
   longer gifts read whole: "sent Diamond show", "sent Raining coins" (November 21, 2026; it was 265 and cut them). */
.gift-banner-text{display:flex;flex-direction:column;justify-content:center;flex:none;width:calc(var(--gb-u) * 330);min-width:0;margin-left:calc(var(--gb-u) * 16);line-height:1.18;text-align:left}
.gift-banner-name,.gift-banner-what{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.gift-banner-name{font-size:calc(var(--gb-u) * 38);font-weight:700}
.gift-banner-what{font-size:calc(var(--gb-u) * 32);font-weight:500;color:rgba(255,255,255,.82)}
/* The gift's name on a stroke of the owner's paint (November 26, 2026): green under 100 coins, blue from 100, red from
   1,000 (gift-banners.js). The stroke stretches to the name; a long name ends in "…" inside it. */
.gift-banner-text .gift-banner-what{display:flex;align-items:center;min-width:0}
.gift-banner-sent{flex:none;white-space:pre}
.gift-banner-paint{flex:0 1 auto;min-width:0;overflow:hidden;margin-left:calc(var(--gb-u) * -4);padding:calc(var(--gb-u) * 6) calc(var(--gb-u) * 12) calc(var(--gb-u) * 7);background:center/100% 100% no-repeat url(images/paint/paint-blue.webp?v=paint-20261126);color:#fff;font-weight:700;line-height:1.05;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.gift-banner-paint[data-paint=green]{background-image:url(images/paint/paint-green.webp?v=paint3-20261126)}
.gift-banner-paint[data-paint=red]{background-image:url(images/paint/paint-red.webp?v=paint3-20261126)}
.gift-banner-paint.is-long{font-size:calc(var(--gb-u) * 26)}
.gift-banner-gift{position:absolute;top:50%;right:calc(var(--gb-u) * 8);display:block;width:calc(var(--gb-u) * 120);height:calc(var(--gb-u) * 120);margin-top:calc(var(--gb-u) * -60);border-radius:24%;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.gift-banner-coins{border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9a3,#f5b70a 55%,#b7790b);box-shadow:inset 0 0 0 calc(var(--gb-u) * 5) rgba(120,70,0,.3),0 2px 8px rgba(0,0,0,.35)}
/* The combo: bold italic, right after the pill, with a pulse on each new count. */
.gift-banner-combo{flex:none;height:calc(var(--gb-u) * 60);margin-left:calc(var(--gb-u) * 14);padding-right:calc(var(--gb-u) * 10);color:#ffd84d;font-size:calc(var(--gb-u) * 82);font-style:italic;font-weight:800;line-height:calc(var(--gb-u) * 60);white-space:nowrap;text-shadow:0 2px 0 #a86f00,0 2px 10px rgba(0,0,0,.55);transform-origin:left center}
.gift-banner-combo:empty{display:none}
.gift-banner-combo.is-pulse{animation:gift-banner-pulse .32s cubic-bezier(.2,.9,.3,1.2)}
@keyframes gift-banner-pulse{0%{transform:scale(1.7)}55%{transform:scale(.9)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.gift-banners,.gift-banner-slot{transition:none}.gift-banner{animation:live-gift-fade .2s ease-out both}.gift-banner.is-leaving{animation:live-gift-fade-out .2s ease-in forwards}.gift-banner-combo.is-pulse{animation:none}}
/* Streamer's pause-screen picker. Selecting a card pauses both outgoing tracks; this private dialog stays outside
 * the video stage so its fixed position also works in Safari. Only the chosen artwork is shown to viewers. */
.live-pause-backdrop{position:fixed;inset:0;z-index:1800;display:grid;place-items:center;padding:20px;background:#02050cce;backdrop-filter:blur(14px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
.live-pause-picker{box-sizing:border-box;width:min(840px,100%);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;background:#090d15;color:#f7f8fa;padding:24px;border-radius:20px;font-family:Manrope,system-ui,sans-serif;box-shadow:0 24px 100px #0009;color-scheme:dark}
.live-pause-picker>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.live-pause-picker>header p{margin:0 0 5px;color:#9ba8ba;font-size:10px;font-weight:600;letter-spacing:.14em}
.live-pause-picker h2{margin:0;font-size:26px;line-height:1.15;letter-spacing:-.04em}
.live-pause-picker button{font-family:inherit;cursor:pointer}
.live-pause-picker button:focus-visible,.live-pause-picker [tabindex]:focus-visible{outline:2px solid #5fe4ee;outline-offset:4px}
.live-pause-picker #live-pause-close{border:0;background:transparent;color:#fff;font-size:32px;line-height:1;width:44px;height:44px;padding:0;border-radius:0}
.live-pause-preview-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#8e9aab;font-size:11px}
.live-pause-preview-label [data-pause-preview-name]{color:#d6dfed}
.live-pause-preview{position:relative;aspect-ratio:16/9;max-height:43dvh;overflow:hidden;border-radius:12px;background:#101827;container-type:inline-size}
.live-pause-preview>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.live-pause-rail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 8px}
.live-pause-rail-head p{margin:0;color:#a4aebf;font-size:12px;line-height:1.4}
.live-pause-rail-head>div{display:flex;align-items:center;gap:8px;flex-shrink:0}
.live-pause-rail-head [data-carousel-position]{color:#9aa7bb;font-size:11px;font-variant-numeric:tabular-nums}
.live-pause-rail-head button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#fff;font-size:28px;line-height:1}
.live-pause-rail-head button[aria-disabled=true]{opacity:.3}
.live-pause-thumbnail{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#162334}
.live-pause-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.live-pause-check{position:absolute;top:8px;right:8px;width:22px;height:22px;display:grid;place-items:center;background:#53e1ed;color:#06141a;border-radius:50%;font-size:14px;font-weight:800;opacity:0}
.live-pause-picker [aria-pressed=true] .live-pause-check{opacity:1}
.live-pause-picker footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:16px;min-height:42px}
.live-pause-picker .live-pause-status{flex:1 1 260px;margin:0;color:#abb7ca;font-size:12px;line-height:1.5}
.live-pause-picker .live-pause-resume,.live-pause-picker .live-pause-retry{min-height:42px;border:0;background:transparent;color:#fff;padding:0 4px;font-size:13px;font-weight:700}
.live-pause-picker .live-pause-retry{text-decoration:underline;text-underline-offset:4px;color:#8cecf1}
.live-pause-picker button[hidden]{display:none}
.live-pause-picker button:disabled{opacity:.5;cursor:wait}
:root.is-live-pause-picker .mobile-nav{display:none!important}
.live-camera-paused{padding:0;display:block;overflow:hidden;container-type:inline-size}
.live-camera-paused .live-pause-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.live-pause-caption{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;text-align:center;background:linear-gradient(transparent,#03091520 30%,#03091555 58%,transparent);text-shadow:0 2px 20px #07111c,0 1px 3px #07111c;color:#fff}
.live-pause-caption>span{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(20px,6cqi,56px);font-weight:900;text-transform:uppercase;line-height:1.1;letter-spacing:.04em;color:#fff4d8}
.live-pause-caption>strong{max-width:none;font-size:clamp(11px,2.8cqi,19px);font-weight:500;line-height:1.4}
@media(max-width:600px){.live-pause-backdrop{padding:0;align-items:stretch}.live-pause-picker{width:100%;max-height:100dvh;min-height:100dvh;border-radius:0;padding:calc(18px + env(safe-area-inset-top,0px)) 16px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;justify-content:center}.live-pause-picker>header{margin-bottom:22px}.live-pause-picker h2{font-size:25px}.live-pause-preview{max-height:none;flex:none}.live-pause-rail-head{margin-top:20px}.live-pause-rail-head p{max-width:170px;font-size:11px}.live-pause-picker footer{margin-top:14px}.live-pause-picker .live-pause-status{flex-basis:100%}.live-pause-picker .live-pause-resume{margin-left:auto}}
/* Lettered screens (the owner's BRB screens): the whole picture fits over a blurred, dimmed copy of itself, and the caption
 * is for screen readers only, since the picture already says it. */
.live-camera-paused.is-lettered .live-pause-art{object-fit:contain}
.live-camera-paused.is-lettered .live-pause-blur{object-fit:cover;filter:blur(22px) brightness(.55);transform:scale(1.15)}
.is-lettered .live-pause-caption{position:absolute;inset:auto;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.live-pause-backdrop{backdrop-filter:none}}

/* Phones: a live room is the whole screen. The site's top bar and bottom bar step aside, the stage covers the screen
 * (its top row kept clear of the notch), and the X at the top right leaves. The share button is smaller and set apart
 * from the chat box, and the chat box only keeps room for its send button while that button shows. */
@media(max-width:760px){
 :root.is-live-room .global-header,:root.is-live-room .mobile-nav{display:none!important}
 :root.is-live-room body{overflow:hidden}
 :root.is-live-room .live-stage{position:fixed;inset:0;z-index:45;width:auto;height:100vh;min-height:0;margin:0;border-radius:0}
 @supports(height:100dvh){:root.is-live-room .live-stage{height:100dvh}}
 :root.is-live-room .live-room-overlay{padding-top:calc(8px + env(safe-area-inset-top,0px))}
 :root.is-live-room.is-live-gift-drawer .gift-banners{bottom:calc(max(47vh,240px) + 12px)}
 @supports(height:100dvh){:root.is-live-room.is-live-gift-drawer .gift-banners{bottom:calc(max(47dvh,240px) + 12px)}}
 /* The chat row: the chat box 36 tall and 60% of the screen wide, the gift 5 px to its right, and share at the far right
  * where the heart was. Liking is a double tap on the video; the heart stays only for screen readers and keyboards. */
 .live-chat-shell,.live-chat-shell.is-chat-focused{--live-composer-height:36px}
 .live-chat-dock{gap:5px;padding-right:0}
 .live-chat-composer{flex:0 0 60vw;width:60vw;min-height:36px}
 .live-chat-composer textarea,.is-chat-focused .live-chat-composer textarea{height:36px;min-height:36px;max-height:36px;padding-top:8px;padding-bottom:8px;line-height:20px}
 .live-chat-send{right:4px;bottom:4px;width:28px;height:28px;padding:5px}
 .live-chat-send svg{width:18px;height:18px}
 .live-chat-tool[data-live-action="gift-picker"]{flex:0 0 36px;width:36px;padding:6px 12px 6px 0;place-items:center start}
 .live-chat-tool[data-live-action="share"]{margin-left:auto}
 .live-chat-tool[data-live-action="share"] svg{width:19px;height:19px}
 .live-heart-button{position:absolute;right:auto;bottom:auto;width:1px;height:1px;min-width:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
.live-chat-composer:has(.live-chat-send[hidden]) textarea{padding-right:14px}

/* Double tap to like: a heart pops where the finger was, rises and fades. The stage turns off the browser's double-tap
 * zoom so the second tap reaches it. */
.live-stage{touch-action:manipulation}
.live-like-burst{position:absolute;z-index:7;width:84px;height:84px;margin:-42px 0 0 -42px;color:#ff3d6e;pointer-events:none;filter:drop-shadow(0 4px 14px #0008);animation:live-like-burst .9s cubic-bezier(.2,.8,.2,1) forwards}
.live-like-burst svg{display:block;width:100%;height:100%}
@keyframes live-like-burst{0%{opacity:0;transform:scale(.3) rotate(-12deg)}18%{opacity:1;transform:scale(1.15) rotate(-6deg)}34%{transform:scale(.95) rotate(0)}70%{opacity:1;transform:translateY(-18px) scale(1)}100%{opacity:0;transform:translateY(-70px) scale(1.1)}}
@media (prefers-reduced-motion:reduce){.live-like-burst{animation:live-like-fade .6s ease-out forwards}@keyframes live-like-fade{0%,60%{opacity:1}100%{opacity:0}}}
/* Wavebars (wavebars.js). Live feed tickets: at the bottom of the live preview, in the middle. */
.live-preview-wave{position:absolute;left:50%;bottom:16px;z-index:2;transform:translateX(-50%);color:#fff;filter:drop-shadow(0 1px 3px #0009)}
/* Two streamers sharing a live without battling (live-room.js roomHTML): a dark tab hanging from the top of the line
   where their screens meet. */
.live-seam-wave{position:absolute;z-index:4;left:50%;top:env(safe-area-inset-top,0px);transform:translateX(-50%);display:grid;place-items:center;padding:4px 8px 5px;border-radius:0 0 12px 12px;background:#05070de6;color:#fff;pointer-events:none}
/* The broadcaster's avatar, top left in a live (November 21, 2026), ringed in red like a live ticket. Tapping it opens
   the host card: a Smooth Drawer (smooth-drawer.css) with their rank, followers and a Follow button. */
.live-room-overlay .live-host-chip{flex:none;display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-radius:50%;font-size:inherit;cursor:pointer}
.live-host-chip .avatar.live-host-chip-avatar{position:relative;width:30px;height:30px;border:0;font-size:11px}
.live-host-chip:focus-visible{outline:2px solid #fff;outline-offset:2px}
.live-host-card .lhc-top{flex:none;padding:4px 20px 0}
.live-host-card .lhc-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.live-host-card .lhc-who{display:flex;align-items:center;gap:12px;min-width:0}
.live-host-card .lhc-who .avatar-live{margin:0 4px}
.live-host-card .avatar.lhc-avatar{position:relative;width:40px;height:40px;border:0;font-size:14px}
.live-host-card .lhc-names{min-width:0}
.live-host-card .lhc-name-row{display:flex;align-items:center;gap:6px;min-width:0}
/* The rank badge beside the name (the pill below still says the rank in words, so the image is decorative). */
.live-host-card .lhc-badge{flex:none;width:auto;height:28px;filter:drop-shadow(0 1px 2px rgb(0 0 0 / .35))}
.live-host-card .lhc-badge[hidden]{display:none}
.live-host-card .lhc-names h2{min-width:0;margin:0;font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-host-card .lhc-sub{display:flex;align-items:center;gap:6px;margin:3px 0 0;font-size:13px;color:var(--sd-muted);min-width:0}
.live-host-card .lhc-handle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-host-card .lhc-rank-pill{flex:none;padding:1px 7px;border-radius:999px;border:1px solid var(--sd-line);color:var(--sd-text);font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}
.live-host-card .lhc-stat{flex:none;text-align:right}
.live-host-card .lhc-stat-label{margin:0;font-size:13px;color:var(--sd-muted)}
.live-host-card .lhc-count{margin:2px 0 0;font-size:18px;font-weight:600;line-height:24px;letter-spacing:-.01em}
.live-host-card .lhc-status{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;margin:16px 0 0;border:1px solid var(--sd-line);border-radius:12px;color:var(--sd-muted);font-size:14px;font-weight:500;outline:none}
.live-host-card .lhc-status.is-following{color:var(--sd-text)}
.live-host-card .lhc-status svg{width:16px;height:16px;color:#10b981}
.live-host-card .lhc-error{margin:6px 0 0;font-size:12px;color:#f87171;text-align:center}
.live-host-card .lhc-details>div{border-top:1px solid var(--sd-line);padding-top:14px}
/* The gift gallery: seven tweet cards (Magic UI's Tweet Card, styled as the Inbox's in inbox.css, in the drawer's
   colours) on a hexagon pattern (hexagon-pattern.js), in a Carousel Cards rail (carousel-cards.js). Lit gifts glow gold;
   the ones still needed are greyed. */
.live-host-card .lhc-gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.live-host-card .lhc-gallery-title{margin:0;font-size:14px;font-weight:600}
.live-host-card .lhc-gallery-head>div:first-child{min-width:0}
.live-host-card [data-lhc-gallery-count]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-host-card .lhc-note{margin:2px 0 0;font-size:13px;color:var(--sd-muted)}
.live-host-card .lhc-gallery-nav{display:flex;align-items:center;gap:2px;flex:none}
.live-host-card [data-carousel-count]{margin-right:4px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--sd-muted)}
.live-host-card [data-carousel-step]{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--sd-text);font:inherit;font-size:20px;line-height:1;cursor:pointer}
.live-host-card [data-carousel-step][aria-disabled=true]{opacity:.32;cursor:default}
.live-host-card [data-carousel-step]:focus-visible{outline:2px solid #a1a1aa;outline-offset:2px}
.live-host-card .lhc-rail{--rail-card:228px;container-type:inline-size;position:relative;margin:0 -20px;padding:12px 0 14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;outline:none;touch-action:pan-x pan-y}
.live-host-card .lhc-rail::-webkit-scrollbar{display:none}
.live-host-card .lhc-rail[data-free=true]{scroll-snap-type:none}
.live-host-card .lhc-rail:focus-visible{outline:2px solid #a1a1aa;outline-offset:-3px;border-radius:8px}
.live-host-card .lhc-rail-track{position:relative;display:flex;width:max-content;gap:12px;margin:0;padding:0 max(20px,calc(50cqw - var(--rail-card)/2));list-style:none}
.live-host-card .lhc-rail-track>li{flex:none;width:var(--rail-card);scroll-snap-align:center;list-style:none}
@media(pointer:fine){.live-host-card .lhc-rail{cursor:grab;user-select:none}.live-host-card .lhc-rail[data-dragging=true]{cursor:grabbing}}
.live-host-card .tweet-card.lhc-gift-card{--panel:#0c0c0f;--panel2:#18181b;--line:var(--sd-line);--text:var(--sd-text);--muted:var(--sd-muted);--dim:var(--sd-muted);max-width:none;gap:14px;padding:16px;isolation:isolate;transition:border-color .2s,box-shadow .2s}
:root.light .live-host-card .tweet-card.lhc-gift-card{--panel:#fff;--panel2:#fafafa}
.live-host-card .lhc-gift-card>:not(.lhc-hex){position:relative;z-index:1}
.live-host-card .lhc-hex{position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;stroke:rgba(161,161,170,.2);stroke-width:1;-webkit-mask-image:radial-gradient(ellipse 90% 80% at 85% 10%,#000 20%,transparent 80%);mask-image:radial-gradient(ellipse 90% 80% at 85% 10%,#000 20%,transparent 80%)}
.live-host-card .lhc-hex .hexagon-pattern-fill{fill:rgba(251,191,36,.2)}
.live-host-card .lhc-gift-card.is-lit{border-color:rgba(251,191,36,.6);box-shadow:0 0 0 1px rgba(251,191,36,.2),0 8px 24px -12px rgba(251,191,36,.45)}
.live-host-card .lhc-gift-card.is-lit .lhc-hex{stroke:rgba(251,191,36,.28)}
.live-host-card .lhc-gift-card .avatar.tweet.lhc-gift-pic{position:relative;width:44px;height:44px;border-radius:50%;background:#27272a}
.live-host-card .lhc-gift-card .lhc-gift-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.live-host-card .lhc-gift-card.is-needed .lhc-gift-pic img{filter:grayscale(1);opacity:.55}
.live-host-card .lhc-gift-card .tweet-card-name{cursor:default;overflow:hidden;text-overflow:ellipsis}
.live-host-card .lhc-gift-card .tweet-card-handle{display:flex;align-items:center;color:var(--sd-text);font-weight:500}
.live-host-card .lhc-gift-card .tweet-card-mark{cursor:default;color:var(--sd-muted)}
.live-host-card .lhc-gift-card.is-lit .tweet-card-mark{color:#fbbf24}
.live-host-card .lhc-gift-card .tweet-card-body{font-size:14px;line-height:1.4}
.live-host-card .lhc-gift-card.is-needed .tweet-card-text{color:var(--sd-muted)}
.live-host-card .lhc-gift-card.is-lit .tweet-card-text{color:#fcd34d}
.live-host-card .lhc-gift-card .tweet-card-foot{display:block}
/* Each gift's top four senders this week: 1st gold, 2nd silver, 3rd bronze; open places dashed. */
.live-host-card .lhc-senders{display:grid;gap:4px;margin:10px 0 0;padding:0;list-style:none}
.live-host-card .lhc-top-row{display:flex;align-items:center;gap:8px;min-width:0;height:22px;font-size:12px;line-height:1;color:var(--sd-text)}
.live-host-card .lhc-place{flex:none;width:26px;font-size:11px;font-weight:700;color:var(--sd-muted);font-variant-numeric:tabular-nums}
.live-host-card .lhc-top-row.is-1 .lhc-place{color:#fbbf24}
.live-host-card .lhc-top-row.is-2 .lhc-place{color:#d4d4d8}
.live-host-card .lhc-top-row.is-3 .lhc-place{color:#f59e0b}
.live-host-card .lhc-top-avatar{position:relative;flex:none;display:grid;place-items:center;width:20px;height:20px;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#5292ff,#1749a6);color:#fff;font-size:10px;font-weight:700}
.live-host-card .lhc-top-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.live-host-card .lhc-top-avatar.is-empty{box-sizing:border-box;border:1px dashed var(--sd-line);background:transparent}
.live-host-card .lhc-top-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-host-card .lhc-top-row.is-open .lhc-top-name{color:var(--sd-muted)}
.live-host-card .lhc-top-count{flex:none;color:var(--sd-muted);font-variant-numeric:tabular-nums}
.live-host-card .lhc-send{display:block;width:100%;height:34px;border:0;border-radius:10px;background:var(--sd-primary);color:var(--sd-primary-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.live-host-card .lhc-send:disabled{opacity:.55;cursor:default}
.live-host-card .lhc-send:focus-visible{outline:2px solid #a1a1aa;outline-offset:2px}
.live-host-card .lhc-gallery-status{min-height:18px;font-size:12px;color:var(--sd-muted);text-align:center}
.live-host-card .lhc-gallery-status .lhc-error{display:inline;margin:0}
.live-host-card .lhc-coins{margin-left:4px;padding:2px 8px;border:1px solid var(--sd-line);border-radius:999px;background:transparent;color:var(--sd-text);font:inherit;font-size:12px;cursor:pointer}
/* A gallery card's picture and name are a button that opens the gift's view; so does a tap anywhere else on the card. */
.live-host-card .lhc-gift-card{cursor:pointer}
.live-host-card .lhc-gift-card .lhc-gift-open{display:flex;align-items:center;gap:12px;min-width:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.live-host-card .lhc-gift-card .lhc-gift-open:focus-visible{outline:2px solid #a1a1aa;outline-offset:3px;border-radius:12px}
/* A gift's view (November 21, 2026): slides over the drawer under its handle. Magic UI's Globe (globe.js) turns in the
   middle, under the gift's picture when it's lit or how many it needs when it isn't, with its top four gifters at the
   corners: 1st top left (gold), 2nd top right (silver), 3rd bottom left (bronze), 4th bottom right. */
.live-host-card .lhc-gift-view{position:absolute;inset:24px 0 0;z-index:3;display:flex;flex-direction:column;gap:10px;padding:4px 20px calc(20px + env(safe-area-inset-bottom,0px));overflow-y:auto;background:var(--sd-bg);animation:lhc-gv-in .32s cubic-bezier(.32,.72,0,1) both}
@keyframes lhc-gv-in{from{opacity:0;transform:translateX(24px)}}
.live-host-card .lhc-gv-head{display:flex;align-items:center;gap:8px}
.live-host-card .lhc-gv-back{display:grid;flex:none;place-items:center;width:36px;height:36px;margin-left:-8px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--sd-text);cursor:pointer}
.live-host-card .lhc-gv-back svg{width:22px;height:22px}
.live-host-card .lhc-gv-back:focus-visible{outline:2px solid #a1a1aa}
.live-host-card .lhc-gv-title{min-width:0}
.live-host-card .lhc-gv-title h3{margin:0;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-host-card .lhc-gv-title p{display:flex;align-items:center;margin:2px 0 0;font-size:13px;color:var(--sd-muted)}
.live-host-card .lhc-gv-stage{position:relative;flex:none;height:320px;margin:0 -8px}
.live-host-card .lhc-globe{position:absolute;left:50%;top:50%;width:min(280px,80%);aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.16),rgba(255,255,255,.04) 55%,transparent 71%)}
.live-host-card .lhc-globe.is-ready{background:none}
.live-host-card .lhc-globe .globe-canvas{display:block;width:100%;height:100%;transition:opacity .5s;contain:layout paint size;cursor:grab;touch-action:pan-y}
.live-host-card .lhc-gv-center{position:absolute;left:50%;top:50%;translate:-50% -50%;pointer-events:none}
.live-host-card .lhc-gv-gift{display:block;width:96px;height:96px;overflow:hidden;border-radius:50%;box-shadow:0 0 0 3px rgba(251,191,36,.85),0 0 32px 6px rgba(251,191,36,.45);animation:lhc-gv-glow 2.4s ease-in-out infinite}
.live-host-card .lhc-gv-gift img{display:block;width:100%;height:100%;object-fit:cover}
@keyframes lhc-gv-glow{50%{box-shadow:0 0 0 3px #fbbf24,0 0 44px 10px rgba(251,191,36,.55)}}
.live-host-card .lhc-gv-needed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:108px;height:108px;box-sizing:border-box;border:1px dashed rgba(161,161,170,.6);border-radius:50%;background:rgba(9,9,11,.8);text-align:center}
.live-host-card .lhc-gv-needed strong{font-size:34px;font-weight:700;line-height:1}
.live-host-card .lhc-gv-needed span{max-width:84px;font-size:11px;line-height:1.25;color:var(--sd-muted)}
.live-host-card .lhc-gv-gifters{position:absolute;inset:0;margin:0;padding:0;list-style:none;pointer-events:none}
.live-host-card .lhc-gv-gifter{--ring:#71717a;position:absolute;display:flex;flex-direction:column;align-items:center;gap:3px;width:92px;text-align:center}
.live-host-card .lhc-gv-gifter.is-1{--ring:#fbbf24;left:0;top:4px}
.live-host-card .lhc-gv-gifter.is-2{--ring:#d4d4d8;right:0;top:4px}
.live-host-card .lhc-gv-gifter.is-3{--ring:#f59e0b;left:0;bottom:4px}
.live-host-card .lhc-gv-gifter.is-4{right:0;bottom:4px}
.live-host-card .lhc-gv-gifter .lhc-top-avatar{width:40px;height:40px;font-size:15px;box-shadow:0 0 0 2px var(--sd-bg),0 0 0 3.5px var(--ring)}
.live-host-card .lhc-gv-gifter.is-open .lhc-top-avatar{box-shadow:none}
.live-host-card .lhc-gv-place{font-size:11px;font-weight:700;color:var(--ring)}
.live-host-card .lhc-gv-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
.live-host-card .lhc-gv-gifter.is-open .lhc-gv-place,.live-host-card .lhc-gv-gifter.is-open .lhc-gv-name{color:var(--sd-muted);font-weight:500}
.live-host-card .lhc-gv-count{font-size:11px;color:var(--sd-muted)}
.live-host-card .lhc-gv-note{margin:0;font-size:13px;color:var(--sd-muted);text-align:center}
.live-host-card .lhc-gv-send{height:44px;border-radius:12px;font-size:14px}
@media(prefers-reduced-motion:reduce){.live-host-card .lhc-gift-view,.live-host-card .lhc-gv-gift{animation:none}}
/* Spinning gifts (November 22, 2026): the Heart turns round on its upright axis like the owner's StageRank overlay,
   once every 1.87 s: on its gift drawer card, in the host card's gallery and gift view, and on top viewers' chat
   lines, beside their gifter badge. (Its banner plays its 3-second clip instead, like Diamond show.) The picture is a
   transparent cut-out, so it isn't cropped or rounded. */
@keyframes gift-spin{from{rotate:y 0deg}to{rotate:y 360deg}}
.gift-spin{animation:gift-spin 1.87s linear infinite}
.live-gift-front img.gift-spin,.live-host-card .lhc-gift-pic img.gift-spin,.live-host-card .lhc-gv-gift img.gift-spin{object-fit:contain;border-radius:0}
/* Chat lines (November 22, 2026, the owner's layout): the avatar, then a small row on top of the name with the gifter
   badge and, for a top viewer, the spinning Heart; then the name and the message. */
.live-chat-message.has-avatar{display:flex;align-items:flex-start;gap:8px}
.live-chat-avatar{position:relative;flex:none;display:grid;place-items:center;width:30px;height:30px;margin-top:0;overflow:hidden;border-radius:50%;background:#3f3f46;color:#fff;font-size:13px;font-weight:700;line-height:1;text-transform:uppercase;text-shadow:none}
.live-chat-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* November 23, 2026 (the owner's layout): badge, heart and name on one row, the message beneath it in its own pill
   (glass.css), lined up with the start of the badge. Gift lines read "sent Diamond show". */
.live-chat-line{min-width:0}
.live-chat-head{display:flex;align-items:center;gap:4px;min-width:0}
.live-chat-head strong{min-width:0;margin-right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-chat-tags{display:flex;align-items:center;gap:3px;min-height:24px}
/* The badge sits in its own border, in its level's colour (the owner, November 23, 2026): 0 grey, then one colour per
   row of the owner's badge sheet (November 26): 1–10 amber, 11–20 teal, 21–30 blue, 31–40 purple, 41–50 gold, 51–59
   rose, 60 sky. The real level number sits beside the picture. */
.live-chat-badge{--badge-edge:#94a3b8;--badge-fill:rgba(100,116,139,.28);display:flex;flex:none;align-items:center;justify-content:center;gap:2px;height:22px;padding:0 5px 0 2px;border:1.5px solid var(--badge-edge);border-radius:8px;background:var(--badge-fill);box-shadow:0 0 5px color-mix(in srgb,var(--badge-edge) 45%,transparent)}
.live-chat-badge .live-chat-gifter{width:20px;height:20px}
.live-chat-level{color:#fff;font-size:11px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.01em;text-shadow:0 1px 1px rgba(0,0,0,.55)}
.live-chat-badge[data-tier=amber]{--badge-edge:#f59e0b;--badge-fill:rgba(180,83,9,.3)}
.live-chat-badge[data-tier=teal]{--badge-edge:#2dd4bf;--badge-fill:rgba(15,118,110,.3)}
.live-chat-badge[data-tier=blue]{--badge-edge:#60a5fa;--badge-fill:rgba(29,78,216,.3)}
.live-chat-badge[data-tier=purple]{--badge-edge:#c084fc;--badge-fill:rgba(126,34,206,.3)}
.live-chat-badge[data-tier=gold]{--badge-edge:#facc15;--badge-fill:rgba(202,138,4,.3)}
.live-chat-badge[data-tier=rose]{--badge-edge:#fb7185;--badge-fill:rgba(190,18,60,.3)}
.live-chat-badge[data-tier=sky]{--badge-edge:#38bdf8;--badge-fill:rgba(2,132,199,.3)}
.live-chat-text{display:block}
/* A gift line's "sent Diamond show" is blue (the owner, November 23, 2026). */
.live-chat-gift .live-chat-text{color:#7cc4ff}
.live-chat-tags:empty{display:none}
.live-chat-gifter{display:block;flex:none;width:24px;height:24px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.live-chat-heart{display:block;flex:none;width:20px;height:20px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
@media (prefers-reduced-motion:reduce){.gift-spin{animation:none}}
/* The owner's ghost-gift switch (November 23, 2026): a 👻 pill beside the wallet in the gift drawer, shown only to the
   accounts the server allows. On, it turns the 18+ toggle's orange, and the drawer's prices are struck through: every
   gift is free and no coins move. */
.live-gift-ghost{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:38px;height:30px;border-radius:999px;background:var(--panel3);font-size:17px;line-height:1;cursor:pointer;transition:background-color .15s linear,box-shadow .15s linear}
.live-gift-ghost input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.live-gift-ghost:has(input:checked){background:#e04f16;box-shadow:0 0 0 3px rgba(239,104,32,.3)}
.live-gift-ghost:has(input:focus-visible){outline:2px solid #ef6820;outline-offset:2px}
.live-gift-ghost:has(input:disabled){opacity:.6;cursor:default}
.live-gift-drawer.is-ghost .live-gift-price{text-decoration:line-through;opacity:.55}
@media(prefers-reduced-motion:reduce){.live-gift-ghost{transition:none}}
/* Fan hearts (November 23, 2026, the owner's request): a viewer's spinning heart for this live's host in chat, with
   their level 1–61 in a small badge; the heart in the gift drawer; and the card that tapping your own opens. */
.live-chat-fan{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;margin:0;padding:0;border:0;background:none;color:#fff;font:inherit}
button.live-chat-fan{cursor:pointer;border-radius:6px}
button.live-chat-fan:focus-visible{outline:2px solid #fb7185;outline-offset:1px}
.live-chat-fan-heart{display:block;width:21px;height:21px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.live-chat-fan b{position:absolute;right:-6px;bottom:-3px;min-width:15px;height:15px;padding:0 3px;box-sizing:border-box;border-radius:8px;background:#e11d48;color:#fff;font-size:9px;font-weight:800;line-height:15px;text-align:center;text-shadow:none;box-shadow:0 0 0 1.5px rgba(0,0,0,.55)}
.live-chat-tags:has(.live-chat-fan b){gap:7px}
.live-gift-fan{display:inline-flex;flex:none;align-items:center;gap:4px;height:30px;padding:0 10px 0 6px;border:0;border-radius:999px;background:var(--panel3);color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.live-gift-fan[hidden]{display:none}
.live-gift-fan img{width:20px;height:20px;object-fit:contain}
.live-gift-fan:not(.is-earned) img{filter:grayscale(1);opacity:.55}
.live-gift-fan.is-earned img{animation:gift-spin 1.87s linear infinite}
.live-gift-fan:focus-visible{outline:2px solid #fb7185;outline-offset:2px}
.live-fan-backdrop{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:16px}
.live-fan-scrim{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:rgba(0,0,0,.55);cursor:default}
.live-fan-card{position:relative;box-sizing:border-box;width:min(100%,360px);padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);box-shadow:0 20px 24px -4px rgba(10,13,18,.3)}
.live-fan-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.live-fan-close:hover{background:var(--panel2);color:var(--text)}
.live-fan-top{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-right:30px}
.live-fan-heart{flex:none;width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(225,29,72,.45))}
.live-fan-heart.is-locked{filter:grayscale(1);opacity:.5}
.live-fan-top h3{margin:0;font-size:16px;line-height:22px}
.live-fan-level{margin:2px 0 0;color:#fb7185;font-size:14px;font-weight:700}
.live-fan-level small{color:var(--muted);font-weight:500}
.live-fan-days{margin:0 0 16px;font-size:13px;line-height:1.4;color:var(--muted)}
.live-fan-days p{margin:0 0 8px}
.live-fan-dots{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.live-fan-dots li{flex:1;height:6px;border-radius:3px;background:var(--panel3)}
.live-fan-dots li.is-done{background:#fb7185}
.live-fan-row{display:flex;justify-content:space-between;margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:600}
.live-fan-caption{margin:8px 0 0;color:var(--muted);font-size:13px}
.live-fan-note{margin:4px 0 12px;color:var(--muted);font-size:14px}
.live-fan-retry{margin-top:4px}
@media(prefers-reduced-motion:reduce){.live-gift-fan.is-earned img{animation:none}}
/* Untitled UI's ProgressBar (labelPosition "right"), ported: an 8px track, rounded 6px, filled from the left, with its
   percent beside it in 14px medium figures. The fill is the heart's rose rather than Untitled UI's purple. */
.fp-progress{display:flex;align-items:center;gap:12px}
.fp-progress-track{position:relative;flex:1;height:8px;overflow:hidden;border-radius:6px;background:#373a41}
.fp-progress-fill{width:100%;height:100%;border-radius:6px;background:#f43f5e;transition:transform 75ms linear}
.fp-progress-label{flex:none;color:#cecfd2;font-size:14px;font-weight:500;line-height:20px;font-variant-numeric:tabular-nums}
:root.light .fp-progress-track{background:#e9eaeb}
:root.light .fp-progress-label{color:#414651}
@media(prefers-reduced-motion:reduce){.fp-progress-fill{transition:none}}
/* During a battle (November 25, 2026): the opponent's name in the bottom-right corner of their screen, in the red pill
   the "Battle guest" tag used, and the blue and red battle button inside Live settings. */
.live-tile-caption .live-opponent-name{flex-shrink:1;min-width:0;max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 9px;font-size:12px;line-height:1.35}
.live-settings-sheet .live-setting-battle svg{width:34px;height:29px}
.live-settings-sheet .live-setting-battle:disabled{opacity:.4;cursor:default}
/* During a battle End live (or Leave live) sits at the bottom of Live settings. */
.live-settings-sheet .live-setting-end{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:4px 0 6px;padding:10px 16px;border:1px solid #ffffff38;border-radius:999px;background:#a92040;color:#fff;font:inherit;font-size:14px;font-weight:700}
.live-settings-sheet .live-setting-end:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* From Uiverse.io by Bodyhc - https://uiverse.io/Bodyhc/red-lionfish-43
   MIT License, Copyright (c) Bodyhc (Abdullah Soliman)
   The Live settings switch in place of the gear during a battle ("Settings Off" / "Settings On"). Scoped to
   .live-settings-toggle; the same look and .125s slides as the original. Two changes that don't change the look: the
   checkbox is hidden visually rather than with display:none, so keyboards can reach it (a ring shows on the track), and
   the label has a taller invisible tap area (12px above and below). */
.live-settings-toggle{position:relative;display:flex;align-items:center;flex:none;pointer-events:auto}
.live-settings-toggle .live-settings-toggle-input{position:absolute;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.live-settings-toggle .live-settings-toggle-input+label{align-items:center;color:#78768d;cursor:pointer;display:flex;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px;line-height:15px;position:relative;-webkit-user-select:none;user-select:none;padding:12px 0;margin:-12px 0}
.live-settings-toggle .live-settings-toggle-input+label::before,.live-settings-toggle .live-settings-toggle-input+label::after{content:'';display:block}
.live-settings-toggle .live-settings-toggle-input+label::before{background-color:#05012c;border-radius:500px;height:15px;margin-right:8px;transition:background-color .125s ease-out;width:25px}
.live-settings-toggle .live-settings-toggle-input+label::after{background-color:#fff;border-radius:13px;box-shadow:0 3px 1px 0 rgba(37,34,71,.05),0 2px 2px 0 rgba(37,34,71,.1),0 3px 3px 0 rgba(37,34,71,.05);height:13px;left:1px;position:absolute;top:13px;transition:transform .125s ease-out;width:13px}
.live-settings-toggle .live-settings-toggle-text{display:block;margin-right:.3em}
.live-settings-toggle .live-settings-toggle-state{display:block;font-weight:bold;height:15px;overflow:hidden;position:relative;width:25px}
.live-settings-toggle .live-settings-toggle-off,.live-settings-toggle .live-settings-toggle-on{left:0;position:absolute;top:0;transition:transform .125s ease-out,opacity .125s ease-out}
.live-settings-toggle .live-settings-toggle-off{opacity:1;transform:none}
.live-settings-toggle .live-settings-toggle-on{opacity:0;transform:translate3d(0,100%,0)}
.live-settings-toggle .live-settings-toggle-hidden{position:absolute;visibility:hidden}
.live-settings-toggle .live-settings-toggle-input:checked+label::before{background-color:#ffb500}
.live-settings-toggle .live-settings-toggle-input:checked+label::after{transform:translate3d(10px,0,0)}
.live-settings-toggle .live-settings-toggle-input:checked+label .live-settings-toggle-off{opacity:0;transform:translate3d(0,-100%,0)}
.live-settings-toggle .live-settings-toggle-input:checked+label .live-settings-toggle-on{opacity:1;transform:none}
.live-settings-toggle .live-settings-toggle-input:focus-visible+label::before{outline:2px solid #fff;outline-offset:2px}
.live-settings-toggle .live-settings-toggle-input:disabled+label{opacity:.45;cursor:default}
@media(prefers-reduced-motion:reduce){.live-settings-toggle .live-settings-toggle-input+label::before,.live-settings-toggle .live-settings-toggle-input+label::after,.live-settings-toggle .live-settings-toggle-off,.live-settings-toggle .live-settings-toggle-on{transition:none}}
/* The live header (November 25, 2026, the owner's sizes): the streamer's avatar at 32×32 inside a pill-shaped header 32
   tall and 145 wide, with LIVE and the title beside it (the title ends in "…" when it doesn't fit). The avatar keeps only
   the innermost of its red live rings (ripple.css), so it stays inside the pill. */
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls{box-sizing:border-box;flex:none;width:145px;max-width:145px;height:32px;gap:6px;padding:0 9px 0 0;border-radius:999px;overflow:hidden;background:#5b2bd6 url(images/paint/watercolor-header.webp?v=water-20261127) center/cover no-repeat;box-shadow:0 1px 6px rgba(0,0,0,.28)}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls>.live-host-chip{width:32px;height:32px;min-width:32px;min-height:32px}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls>.live-host-chip .avatar.live-host-chip-avatar{width:32px;height:32px}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls>.live-header-text:first-child{margin-left:12px}
/* The watercolor header (November 27, 2026): the owner's watercolor banner with its sample text cut away, the streamer's
   name on the colours and under it a heart with the like count; no LIVE tag. */
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls>.live-header-text{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px;color:#fff;line-height:1.1;text-shadow:0 1px 2px rgba(0,0,0,.55)}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls .live-header-name{display:block;min-width:0;max-width:none;font-size:12px;font-weight:800;letter-spacing:.01em;text-shadow:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls .live-header-likes{display:flex;align-items:center;gap:3px;min-width:0;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls .live-header-likes svg{flex:none;width:10px;height:10px;color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.45))}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls>.live-tag{flex:none;padding:3px 5px;font-size:9px}
.live-stage .live-room-overlay .live-overlay-left>.live-overlay-controls>.live-host-chip .ripple-circle:nth-child(n+2){display:none}
/* The audience pill (November 27, 2026, the owner's layout): a dark pill 7 dp under the streamer's watercolor pill with
   the number watching and the faces of the top watchers and gifters. The eye and the number sit in their own lighter
   pill (24 dp, like the faces) at its left end. */
.live-stage .live-room-overlay .live-overlay-left>.live-audience-pill{box-sizing:border-box;display:flex;align-items:center;gap:0;width:fit-content;max-width:100%;min-width:0;height:32px;margin-top:7px;padding:0 4px;border-radius:999px;background:rgba(0,0,0,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;pointer-events:auto}
.live-stage .live-room-overlay .live-overlay-left>.live-audience-pill>.live-viewer-total{box-sizing:border-box;flex:none;height:24px;gap:4px;padding:0 9px 0 7px;border:.5px solid rgba(255,255,255,.32);border-radius:999px;background:rgba(255,255,255,.16);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;text-shadow:none}
.live-stage .live-room-overlay .live-overlay-left>.live-audience-pill .live-viewer-eye{width:13px;height:13px}
.live-stage .live-room-overlay .live-overlay-left>.live-audience-pill .live-viewer-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.live-stage .live-room-overlay .live-overlay-left>.live-audience-pill>.live-leaders{margin:0;min-width:0;max-width:100%}
.live-stage .live-room-overlay .live-overlay-left>.live-audience-pill>.live-leaders:has(.live-leader-avatar){margin-left:6px}
/* Live moderators (December 1, 2026). The Mod badge beside a moderator's gifter badge in chat; the pinned comment just
   above the comment box (the chat moves up for it and keeps its top, so it stays under the gift banners); the sheet a
   streamer or moderator gets by tapping a name in chat; and the streamer's Moderators and Blocked lists in Live
   settings, with Untitled UI's sm toggle (orange, like the 18+ switch) for Can pin. */
.live-chat-mod{flex:none;display:inline-flex;align-items:center;height:16px;padding:0 5px;border-radius:4px;background:#2e90fa;color:#fff;font-size:9px;font-weight:800;letter-spacing:.04em;line-height:1;text-transform:uppercase;text-shadow:none}
.live-chat-message[data-live-action=mod-menu]{cursor:pointer;border-radius:8px}
.live-chat-message[data-live-action=mod-menu]:focus-visible{outline:2px solid #fff9;outline-offset:2px}
.live-chat-shell{--live-pin-space:0px}
.live-chat-shell.has-pin{--live-pin-space:58px}
.live-chat-shell.has-pin .live-chat-messages{bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 14px + var(--live-pin-space));max-height:calc(min(31%,240px) - var(--live-pin-space))}
.live-chat-shell.has-pin:has(.live-chat-feedback:not(:empty)) .live-chat-messages{bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 42px + var(--live-pin-space))}
.live-chat-shell.has-pin .live-chat-latest{bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 12px + var(--live-pin-space))}
.live-chat-pinned{position:absolute;left:14px;bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 10px);box-sizing:border-box;width:min(48%,560px);max-height:48px;display:flex;align-items:center;gap:7px;padding:6px 6px 6px 9px;border-radius:14px;background:rgba(27,29,35,.62);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 16px #0003;color:#fff;pointer-events:auto;overflow:hidden}
.live-chat-shell:has(.live-chat-feedback:not(:empty)) .live-chat-pinned{bottom:calc(var(--live-chat-bottom) + var(--live-composer-height) + 36px)}
.live-chat-pin-icon{flex:none;display:grid;place-items:center;width:14px;color:#fdb022}
.live-chat-pin-icon svg{display:block;width:14px;height:14px}
.live-chat-pin-face,.live-mod-face{position:relative;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:50%;font-weight:700}
.live-chat-pin-face{width:24px;height:24px;background:#3a3f4b;color:#fff;font-size:11px}
.live-chat-pin-face img,.live-mod-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.live-chat-pin-body{flex:1;min-width:0;margin:0;font-size:12px;line-height:15px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;text-shadow:0 1px 3px #0008}
.live-chat-pin-body strong{margin-right:4px;font-weight:700}
.live-chat-pin-body .live-chat-mod{height:14px;margin-right:4px;vertical-align:1px}
.live-chat-shell .live-chat-pinned .live-chat-unpin{flex:none;display:grid;place-items:center;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font:inherit;font-size:17px;line-height:1;cursor:pointer}
.live-chat-shell .live-chat-pinned .live-chat-unpin:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:760px){.live-chat-pinned{left:10px;width:52%}.live-chat-shell.has-pin .live-chat-messages{max-height:calc(29% - var(--live-pin-space))}}
.live-mod-backdrop{z-index:12}
.live-mod-backdrop .live-mod-scrim,.live-stage-backdrop .live-mod-scrim{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:default}
.live-mod-sheet{position:relative;z-index:1}
.live-gift-sheet.live-mod-sheet>.live-mod-head{display:flex;align-items:center;justify-content:flex-start;gap:10px}
.live-mod-sheet .live-mod-head h3{flex:1;min-width:0;display:flex;align-items:center;gap:6px}
.live-mod-sheet .live-mod-head h3>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-mod-face{width:36px;height:36px;background:var(--line);color:var(--text);font-size:14px}
.live-mod-sheet .live-mod-close{min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--text);font-size:26px}
.live-mod-sheet .live-mod-quote{padding:8px 12px;border-radius:10px;background:#8882;color:var(--text);font-size:13px;overflow-wrap:anywhere}
.live-mod-actions{display:grid;gap:8px}
.live-mod-sheet .live-mod-actions button{width:100%;min-height:46px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font:inherit;font-size:14px;font-weight:600}
.live-mod-sheet .live-mod-actions button.is-danger{border-color:#a92040;background:#a92040;color:#fff}
.live-mod-sheet .live-mod-actions button:disabled{opacity:.5;cursor:default}
.live-mod-sheet .live-mod-actions button:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.live-mod-sheet .live-mod-note{color:var(--text)}
.live-mod-sheet .live-mod-status:empty,.live-mod-settings .live-mod-status:empty{display:none}
.live-mod-settings{display:grid;gap:8px;padding:14px 0 4px;border-top:1px solid var(--line)}
.live-mod-settings h4{margin:6px 0 0;font-size:15px}
.live-mod-settings h4 small{margin-left:4px;color:var(--muted);font-size:12px;font-weight:500}
.live-mod-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.live-mod-list li{display:flex;align-items:center;gap:10px;min-height:44px}
.live-mod-name{flex:1;min-width:0;display:grid}
.live-mod-name strong,.live-mod-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-mod-name strong{font-size:14px;font-weight:600}
.live-mod-name small{color:var(--muted);font-size:12px}
.live-mod-settings .live-mod-pin{flex:none;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:500;cursor:pointer}
.live-mod-settings .live-mod-pin input{position:relative;flex:none;box-sizing:border-box;width:36px;height:20px;margin:0;padding:2px;border:0;border-radius:999px;background:#22262f;-webkit-appearance:none;appearance:none;cursor:pointer;transition:background-color .15s linear}
:root.light .live-mod-settings .live-mod-pin input{background:#e9eaeb}
.live-mod-settings .live-mod-pin input::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(10,13,18,.1),0 1px 2px -1px rgba(10,13,18,.1);transition:transform .15s ease-in-out}
.live-mod-settings .live-mod-pin input:checked,:root.light .live-mod-settings .live-mod-pin input:checked{background:#e04f16}
.live-mod-settings .live-mod-pin input:checked::after{transform:translateX(16px)}
.live-mod-settings .live-mod-pin input:focus-visible{outline:2px solid #e04f16;outline-offset:2px}
.live-mod-settings .live-mod-pin input:disabled{opacity:.5;cursor:not-allowed}
.live-mod-settings .live-mod-link{flex:none;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font:inherit;font-size:12px;font-weight:600}
.live-mod-settings .live-mod-link:disabled{opacity:.5}
@media(prefers-reduced-motion:reduce){.live-mod-settings .live-mod-pin input,.live-mod-settings .live-mod-pin input::after{transition:none}}
/* Joining a live by audio (December 2, 2026). The avatar button sits 14 px from the gift box's icon (7 px, then 7 px
   more at the owner's request) on every screen: on phones the gift button keeps 12 px of empty space on its right, and
   on wider screens its icon sits in the middle of a 40 px button. It is 32 px
   round like an avatar, with a small badge: a microphone to ask, dots while the request waits, and on the stage the
   microphone (struck through and red when muted). Its controls open above the row, at its right. A guest on the stage
   without a camera shows as their avatar on their screen. */
.live-join{flex:none;display:flex;align-items:center;align-self:flex-end;height:44px;margin-left:-2px;pointer-events:auto}
.live-join:empty{display:none}
.live-chat-shell .live-join-button{position:relative;display:grid;place-items:center;width:32px;height:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.live-join-face{display:grid;place-items:end center;width:32px;height:32px;border-radius:50%;overflow:hidden;background:linear-gradient(150deg,#4a5569,#1d2330);box-shadow:0 0 0 1.5px #ffffffd9,0 2px 10px #0006}
.live-join-face svg{width:26px;height:26px;margin-bottom:-2px;color:#d3dbe8}
.live-join-badge{position:absolute;right:-4px;bottom:-3px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e04f16;color:#fff;box-shadow:0 0 0 1.5px #10131a}
.live-join-badge svg{width:10px;height:10px}
.live-join-button[data-join=requested] .live-join-badge{background:#2e90fa}
.live-join-button[data-join=requested] .live-join-face{animation:live-join-wait 1.6s ease-in-out infinite}
@keyframes live-join-wait{50%{box-shadow:0 0 0 3px #2e90fa,0 2px 10px #0006}}
.live-join-button[data-join=stage] .live-join-face{box-shadow:0 0 0 2px #12b76a,0 2px 10px #0006}
.live-join-button[data-join=stage] .live-join-badge{background:#12b76a}
.live-join-button[data-join=stage][data-muted] .live-join-badge{background:#d92d20}
.live-chat-shell .live-join-button:disabled{cursor:default}
.live-join-button:disabled .live-join-face{opacity:.65}
.live-chat-shell .live-join-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.live-join-pop{position:absolute;right:0;bottom:calc(100% + 8px);display:grid;gap:8px;width:max-content;max-width:min(240px,calc(100% - 8px));padding:10px 12px;border-radius:14px;background:rgba(20,23,30,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 6px 24px #0007;color:#fff;font-size:12px;line-height:1.4;text-shadow:none;pointer-events:auto}
.live-join-pop p{margin:0}
.live-chat-shell .live-join-pop .live-join-text{justify-self:start;min-height:32px;margin:0;padding:6px 12px;border:1px solid #ffffff40;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.live-join-pop.live-join-controls{display:flex;gap:8px;padding:8px}
.live-chat-shell .live-join-controls button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:#fff;cursor:pointer}
.live-chat-shell .live-join-controls button svg{display:block;width:20px;height:20px}
.live-chat-shell .live-join-controls button:disabled{opacity:.4;cursor:default}
.live-chat-shell .live-join-controls #live-join-camera[aria-pressed=true]{background:#fff;color:#131720}
.live-chat-shell .live-join-controls #live-join-mic[aria-pressed=true]{background:#d92d20}
.live-chat-shell .live-join-pop button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:760px){.live-join{margin-left:-3px}}
@media(prefers-reduced-motion:reduce){.live-join-button[data-join=requested] .live-join-face{animation:none;box-shadow:0 0 0 2px #2e90fa,0 2px 10px #0006}}
/* Audio guests on screen (December 2, 2026): small round tiles in a column at the right, under the top row: the face
   (52 px), a microphone badge (green, red when muted) and the name. The hidden player keeps their sound. */
.live-audio-guests{position:absolute;top:calc(96px + env(safe-area-inset-top,0px));right:10px;z-index:6;display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:none}
.live-audio-guest{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;width:64px;pointer-events:auto}
.live-audio-guest video{position:absolute;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}
.live-stage .live-audio-guest-button{position:relative;display:block;width:52px;height:52px;min-height:52px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.live-audio-face{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;overflow:hidden;background:linear-gradient(150deg,#4a5569,#1d2330);color:#fff;font-size:20px;font-weight:700;box-shadow:0 0 0 2px #ffffffd9,0 3px 12px #0007}
.live-audio-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.live-audio-mic{position:absolute;right:-3px;bottom:-2px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#12b76a;color:#fff;box-shadow:0 0 0 2px #10131a}
.live-audio-mic svg{display:block;width:12px;height:12px}
.live-audio-mic.is-muted{background:#d92d20}
.live-audio-name{max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:11px;font-weight:600;line-height:1.3;text-shadow:0 1px 3px #000c}
.live-stage .live-audio-guest-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* The streamer's requests (December 2, 2026): the button 14 px from the gift box (a person with a plus, the number
   waiting in an orange badge, a pulse when someone new asks) and the compact sheet it opens from the bottom. */
.live-join-face.is-host{place-items:center;background:linear-gradient(150deg,#3d4760,#1d2330)}
.live-join-face.is-host svg{width:19px;height:19px;margin:0 0 0 1px;color:#fff}
.live-join-badge.is-count{width:auto;min-width:16px;padding:0 4px;box-sizing:border-box;font-size:10px;font-weight:800;line-height:16px}
.live-join-button[data-join=host][data-new] .live-join-face{animation:live-join-new .7s ease-in-out 4}
@keyframes live-join-new{50%{box-shadow:0 0 0 4px #e04f16,0 2px 10px #0006}}
@media(prefers-reduced-motion:reduce){.live-join-button[data-join=host][data-new] .live-join-face{animation:none;box-shadow:0 0 0 3px #e04f16,0 2px 10px #0006}}
.live-stage-backdrop{z-index:12}
.live-gift-sheet.live-stage-sheet{position:relative;z-index:1;gap:8px;padding:8px 16px 16px;max-height:min(60%,460px)}
.live-sheet-handle{justify-self:center;width:36px;height:4px;margin:2px 0;border-radius:2px;background:var(--line)}
.live-gift-sheet.live-stage-sheet>.live-stage-head{display:flex;align-items:center;justify-content:space-between}
.live-stage-sheet h3{display:flex;align-items:center;gap:8px;font-size:16px}
.live-stage-sheet h3 small{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:999px;background:#e04f16;color:#fff;font-size:11px;font-weight:700}
.live-stage-sheet h4{margin:6px 0 0;font-size:13px}
.live-stage-sheet h4 small{margin-left:4px;color:var(--muted);font-size:12px;font-weight:500}
.live-stage-sheet .live-stage-close{min-width:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text);font-size:24px;line-height:1}
.live-stage-list{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.live-stage-list li{display:flex;align-items:center;gap:10px;min-height:46px}
.live-stage-face{position:relative;flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--line);color:var(--text);font-size:13px;font-weight:700}
.live-stage-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.live-stage-name{flex:1;min-width:0;display:grid}
.live-stage-name strong,.live-stage-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-stage-name strong{font-size:14px;font-weight:600}
.live-stage-name small{color:var(--muted);font-size:12px}
.live-stage-sheet .live-request-add{flex:none;min-height:32px;padding:6px 16px;border:0;border-radius:999px;background:#12b76a;color:#fff;font:inherit;font-size:13px;font-weight:600}
.live-stage-sheet .live-request-add:disabled{opacity:.45}
.live-stage-sheet .live-request-dismiss{flex:none;display:grid;place-items:center;width:32px;min-width:32px;min-height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px var(--line);font:inherit;font-size:18px;line-height:1}
.live-stage-sheet .live-request-dismiss.is-text{width:auto;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600}
.live-stage-sheet button:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.live-stage-sheet p.live-stage-empty,.live-stage-sheet p.live-stage-note{margin:0;color:var(--muted);font-size:12px}
