@import url("/admin-assets/select-controls.css");
#video::-webkit-media-controls,#video::-webkit-media-controls-enclosure{display:none!important}.sound-toggle{position:absolute;top:148px;right:15px;z-index:3;background:#17182088;color:white;font-size:11px;padding:8px 11px;border:1px solid #ffffff33;border-radius:20px;backdrop-filter:blur(6px)}.playback-status{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:3;padding:12px 20px;background:#151820b3;color:white;border:1px solid #ffffff33;border-radius:24px;white-space:nowrap;font-size:12px}.playback-status:disabled{cursor:default}.chat{overflow-anchor:none;overscroll-behavior:contain}.message{animation:message-enter .2s ease-out}@keyframes message-enter{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.sheet.member-menu-sheet{background:#fff;color:#222b2b;padding:10px 15px calc(20px + env(safe-area-inset-bottom));max-height:60dvh}.member-menu-sheet .sheet-head{margin-bottom:10px}.member-menu-sheet .sheet-head small{display:none}.member-menu-sheet h2{font-size:17px}.member-menu-grid{display:grid;grid-template-columns:repeat(4,1fr);row-gap:25px;padding:15px 0 20px}.member-menu-grid button{background:none;color:#252c2b;padding:0;display:flex;align-items:center;flex-direction:column;gap:10px;font-size:12px;min-width:0}.member-menu-grid svg{height:31px;width:31px;padding:11px;box-sizing:content-box;background:#f7f8f8;border-radius:50%}.member-center-link{display:block;text-align:center;font-size:13px;color:#24a576;text-decoration:none;padding:10px}.menu-close-hint{text-align:center;font-size:10px;color:#9ca3a1;margin:5px 0}.large-font .chat,.large-font .assistant-chat{font-size:15px!important}.large-font .member-menu-grid button{font-size:14px}@media(prefers-reduced-motion:reduce){.message{animation:none}}

/* Cover is the single deliberate entry gesture; no separate audio prompt. */
body.entry-gated .room>:not(.scene):not(.room-entry-cover):not(#video){visibility:hidden;pointer-events:none}
.room-entry-cover{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;border-radius:0;z-index:10;background:#e87770 url('/lite/assets/live-entry-default.png') center/cover no-repeat;color:#fff;overflow:hidden;text-align:center;cursor:pointer}
.room-entry-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.room-entry-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(#0001,#0000 25%,#0007)}.cover-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:30px}.cover-brand{font-size:10px;letter-spacing:4px;opacity:.7;margin-bottom:45px}.cover-content strong{font-size:29px;font-family:serif;font-weight:500;line-height:1.7;letter-spacing:4px;max-width:100%;overflow-wrap:anywhere}.cover-subtitle{font-size:12px;opacity:.75;letter-spacing:2px;margin:16px 0 45px}.cover-play{width:66px;height:66px;border:1px solid #ffffff70;border-radius:50%;background:#ffffff15;backdrop-filter:blur(8px);display:grid;place-items:center;padding-left:4px;font-size:23px}.cover-hint{font-size:12px;letter-spacing:3px;margin-top:18px;opacity:.9}
/* The member iframe ends above a dedicated live dock, so content is never covered. */
body{--mini-h:clamp(96px,19dvh,154px);--mini-dock:calc(var(--mini-h) + 24px + env(safe-area-inset-bottom));--mini-right:max(14px,calc((100vw - 720px)/2 + 14px))}
#member-surface{position:fixed;inset:0;z-index:10000;background:#f7f8fb}#member-surface>iframe{position:absolute;top:0;left:0;width:100%;height:calc(100dvh - var(--mini-dock));border:0;background:#f7f8fb;display:block}.live-mini-dock{position:absolute;bottom:0;left:0;right:0;height:var(--mini-dock);background:#fff;border-top:1px solid #e8eee9;box-shadow:0 -4px 20px #263b3307}.live-mini-dock>div{max-width:720px;margin:auto;padding:24px calc(var(--mini-h) * 9 / 16 + 35px) 15px 22px;color:#33473b;display:flex;flex-direction:column;gap:9px;box-sizing:border-box;height:100%;justify-content:center}.live-mini-dock strong{font-size:14px;font-weight:550;white-space:nowrap}.live-mini-dock span{font-size:10px;color:#95a299;line-height:1.7}.dock-return{background:#edf5ef;color:#4b7b5d;border:0;border-radius:16px;font-size:10px;padding:7px 12px;align-self:flex-start}
body.member-mode .room{position:fixed!important;left:auto!important;right:var(--mini-right)!important;top:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:calc(var(--mini-h) * 9 / 16)!important;height:var(--mini-h)!important;aspect-ratio:9/16;margin:0!important;z-index:10002;border-radius:10px;overflow:hidden;box-shadow:0 4px 15px #182b2533;background:#263b33}
body.member-mode .room>:not(#video):not(.scene){display:none!important}body.member-mode .room .scene-copy{display:none}body.member-mode .room video{pointer-events:none;object-fit:cover}body.member-mode #sheet,body.member-mode #backdrop{display:none!important}
.mini-return{position:fixed;right:var(--mini-right);bottom:calc(12px + env(safe-area-inset-bottom));width:calc(var(--mini-h) * 9 / 16);height:var(--mini-h);z-index:10003;border:1px solid #ffffff55;border-radius:10px;background:transparent;color:white;padding:0;overflow:hidden;cursor:pointer}.mini-return>span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000a);padding:18px 2px 7px;font-size:8px;white-space:nowrap}
/* Live commerce: focused product → SKU → address flow. */
.sheet.cart-sheet:has(.room-commerce){max-height:86dvh;background:#f6f7f9;padding:9px 14px calc(14px + env(safe-area-inset-bottom))}.room-commerce{overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:13px;color:#232832}.cart-sheet:has(.room-commerce) .sheet-head{margin:0 0 10px}.room-commerce button{font:inherit;cursor:pointer}.room-commerce a{color:#6f767f;text-decoration:none}.commerce-toolbar{display:flex;align-items:center;gap:16px;font-size:12px;padding:4px 0 12px;color:#8a9099}.commerce-toolbar span{margin-right:auto}.commerce-products{display:grid;gap:10px}.commerce-item{display:flex;gap:12px;padding:11px;background:#fff;border-radius:14px}.commerce-thumb{position:relative;width:94px;height:108px;flex-shrink:0;overflow:hidden;border-radius:9px;background:#f2f3f5;padding:0}.commerce-thumb img,.commerce-detail-image img,.commerce-mini-image img{width:100%;height:100%;object-fit:cover;display:block}.commerce-thumb small{position:absolute;left:0;top:0;background:#30343caa;color:#fff;padding:3px 7px;border-radius:0 0 8px 0;font-size:10px}.product-placeholder{display:grid;place-items:center;height:100%;font-size:11px;color:#9aa2aa;background:linear-gradient(135deg,#eef0f0,#e4e9e6)}.commerce-info{flex:1;min-width:0;display:flex;flex-direction:column}.commerce-name{text-align:left;background:none;color:#20242c;padding:0;font-size:14px!important;line-height:1.5;font-weight:600!important}.commerce-info p{color:#969ba4;font-size:11px;line-height:1.5;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.commerce-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.commerce-item-bottom strong,.commerce-price{color:#fa2856;font-size:23px}.commerce-item-bottom strong small{font-size:10px;font-weight:400}.room-commerce .commerce-primary{background:linear-gradient(100deg,#ff5236,#ff0054);color:#fff;border:0;border-radius:24px;padding:11px 18px;min-height:42px;font-weight:600;font-size:13px}.room-commerce button:disabled{opacity:.45;cursor:default}.room-commerce .commerce-secondary{background:#ffeef1;color:#e72b51;border:0;border-radius:24px;padding:11px 16px;min-height:42px}.room-commerce .commerce-back{background:none;color:#8a9098;padding:2px 0 10px;font-size:11px}.commerce-detail-image{height:min(36dvh,290px);background:#e9edeb;border-radius:12px;overflow:hidden}.commerce-detail-image img{object-fit:contain}.commerce-detail-info{background:#fff;border-radius:12px;padding:14px;margin-top:10px}.commerce-detail-info h3{font-size:17px;line-height:1.5;margin:9px 0}.commerce-detail-info p,.commerce-summary p{font-size:12px;line-height:1.6;color:#9299a2;margin:7px 0;white-space:pre-line}.commerce-footer{display:flex;gap:10px;position:sticky;bottom:-1px;background:#f6f7f9;padding:12px 0 1px;margin-top:8px;z-index:2}.commerce-footer>button{flex:1}.commerce-summary{display:flex;gap:13px;align-items:center;background:white;padding:12px;border-radius:12px}.commerce-mini-image{height:76px;width:76px;overflow:hidden;border-radius:8px;flex-shrink:0}.commerce-summary h3{font-size:14px;line-height:1.5;margin:0}.commerce-summary .commerce-price{font-size:22px}.commerce-skus{background:#fff;border-radius:12px;padding:13px;margin-top:10px}.commerce-skus h4{font-size:13px;margin:0 0 10px}.commerce-skus>button{display:flex;justify-content:space-between;gap:12px;background:#f4f5f7;color:#353a43;width:100%;text-align:left;border:1px solid transparent;border-radius:8px;padding:11px;margin:7px 0;line-height:1.5}.commerce-skus>button[aria-pressed=true]{background:#fff0f3;border-color:#ff3c65;color:#ed2753}.commerce-quantity{display:flex;justify-content:space-between;align-items:center;background:#fff;border-radius:12px;padding:13px;margin-top:10px}.commerce-quantity>div{display:flex;align-items:center}.commerce-quantity button{width:33px;height:34px;background:#f4f5f7;color:#3a4249}.room-commerce #skuQty{width:48px;text-align:center;border:0;padding:7px 0;border-radius:0;font-size:14px;appearance:textfield}.room-commerce #skuQty::-webkit-inner-spin-button{appearance:none}.room-commerce form{margin-top:10px;background:#fff;padding:13px;border-radius:12px}.room-commerce label{display:block;margin:10px 0;color:#737d86;font-size:12px}.room-commerce label input,.room-commerce label select{margin-top:7px;background:#f7f8f9;border-color:#edf0f2;font-size:14px;padding:11px}.room-commerce details{padding:10px 0;border-bottom:1px solid #eef0f2}.room-commerce summary{cursor:pointer;color:#687c71;font-size:12px}.room-commerce .commerce-note{color:#9098a0;font-size:11px;line-height:1.6}.room-commerce form .commerce-footer{background:white}.commerce-empty{padding:30px;text-align:center;color:#949ca3}

/* Member content fills the page; no separate bottom explanation panel. */
#member-surface>iframe{height:100dvh}body.member-mode .room,.mini-return{bottom:calc(78px + env(safe-area-inset-bottom))!important}

/* All in-room panels share the original video element. */
body.mini-mode .room{position:fixed!important;left:auto!important;right:var(--mini-right)!important;top:auto!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;width:calc(var(--mini-h) * 9 / 16)!important;height:var(--mini-h)!important;aspect-ratio:9/16;margin:0!important;z-index:10002;border-radius:10px;overflow:hidden;box-shadow:0 4px 15px #182b2533;background:#263b33}
body.mini-mode .room>:not(#video):not(.scene){display:none!important}body.mini-mode .room .scene-copy{display:none}body.mini-mode .room video{pointer-events:none;object-fit:cover}
body.mini-mode:not(.member-mode) #sheet{z-index:10000;max-height:100dvh;height:100dvh;top:0;bottom:0;border-radius:0;background:#f6f7f9}body.mini-mode:not(.member-mode) #backdrop{z-index:9999;background:#f6f7f9}body.mini-mode #sheetBody{overflow:auto;min-height:0;flex:1;padding-bottom:calc(var(--mini-h) + 80px)}body.mini-mode .commerce-footer{bottom:0}body.mini-mode .toast{z-index:10005}

.address-fields{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0 12px;margin:7px 0 12px}.address-fields>label{min-width:0;display:flex;flex-direction:column;gap:6px;margin:6px 0;font-size:11px;color:#7d8791}.address-fields>label.address-wide{grid-column:1/-1}.address-fields>label>input{width:100%;min-width:0;margin:0;padding:10px 11px;min-height:40px;border:1px solid #eef0f2;background:#f7f8fa;border-radius:8px;color:#293440;font-size:14px;line-height:1.4}.address-fields input::placeholder{color:#a6adb6}.address-fields input:focus{outline:2px solid #24ae8033;border-color:#75bda0}.address-fields~button{min-height:40px}body.large-font .address-fields input{font-size:16px}
.room-commerce .address-fields label{margin:6px 0}.room-commerce .address-fields label input{margin:0;font-size:14px;padding:10px 11px}

.region-fields{grid-column:1/-1;margin:7px 0;min-width:0}.region-fields>span{display:block;font-size:11px;color:#7d8791;margin-bottom:7px}.region-fields>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.region-fields select,.room-commerce .region-fields select{min-width:0;width:100%;font-size:12px;padding:10px 5px;margin:0;border:1px solid #eef0f2;border-radius:8px;background:#f7f8fa;color:#35444a;height:40px}.region-fields select:disabled{color:#aab1b7}

body[data-chat-size=small] .chat,body[data-chat-size=small] .assistant-chat{font-size:11px!important}body[data-chat-size=normal] .chat,body[data-chat-size=normal] .assistant-chat{font-size:13px!important}body[data-chat-size=large] .chat,body[data-chat-size=large] .assistant-chat{font-size:16px!important}

/* Cart opens a bottom sheet; featured card opens details directly. */
body.mini-mode:not(.member-mode) #sheet.commerce-list-sheet{top:auto;bottom:0;height:70dvh;max-height:74dvh;border-radius:22px 22px 0 0;padding:9px 13px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px #0002}
body.mini-mode:has(#sheet.commerce-list-sheet:not([hidden])) #backdrop{background:#0003}
.commerce-list-sheet .sheet-head{margin:0 0 9px}.commerce-list-sheet .sheet-head h2{font-size:16px}.commerce-list-sheet .commerce-toolbar{position:sticky;top:0;z-index:3;background:#f6f7f9;padding:3px 0 12px;gap:13px}.commerce-list-sheet .commerce-toolbar input{flex:1;min-width:0;width:0;border:0;border-radius:22px;background:#eceef1;color:#313843;padding:11px 13px;font-size:12px}.commerce-list-sheet .commerce-toolbar input::placeholder{color:#9ca1aa}.commerce-list-sheet .commerce-toolbar a{white-space:nowrap;font-size:12px}.commerce-list-sheet .commerce-products{gap:10px}.commerce-list-sheet .commerce-item{padding:10px;min-height:132px;border-radius:13px;gap:11px}.commerce-list-sheet .commerce-thumb{width:100px;height:114px}.commerce-list-sheet .commerce-name{font-size:14px!important;font-weight:650!important}.commerce-list-sheet .commerce-info p{font-size:11px;margin:5px 0 10px;line-height:1.6}.commerce-list-sheet .commerce-item-bottom strong{font-size:23px}.commerce-list-sheet .commerce-primary{padding:10px 14px;font-size:12px;white-space:nowrap}.commerce-list-sheet .room-commerce{overflow:visible}.commerce-list-sheet #sheetBody{padding-bottom:calc(var(--mini-h) + 80px)}
@media(max-width:360px){.commerce-list-sheet .commerce-thumb{width:83px;height:105px}.commerce-list-sheet .commerce-primary{padding:9px 11px}.commerce-list-sheet .commerce-item-bottom strong{font-size:20px}}

/* Details use the same floating bottom panel as the product list. */
body.mini-mode:not(.member-mode) #sheet.commerce-detail-sheet{top:auto;bottom:0;height:76dvh;max-height:82dvh;border-radius:22px 22px 0 0;padding:9px 14px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px #0002}body.mini-mode:has(#sheet.commerce-detail-sheet:not([hidden])) #backdrop{background:#0003}.commerce-detail-sheet .commerce-detail-image{height:26dvh;max-height:235px}.commerce-detail-sheet .room-commerce{overflow:visible}.commerce-detail-sheet .commerce-detail-info{padding:12px}.commerce-detail-sheet .commerce-detail-info h3{font-size:16px;margin:7px 0}.commerce-detail-sheet .commerce-footer{position:sticky;bottom:0;padding-top:10px}

/* Detail actions sit outside the scroll container, pinned to panel bottom. */
body.mini-mode #sheet.commerce-detail-sheet{padding-bottom:0}.commerce-detail-sheet #sheetBody{flex:1;overflow-y:auto;min-height:0}.commerce-detail-sheet>#detailActionbar{position:relative;bottom:auto;left:auto;right:auto;display:flex;flex:0 0 auto;gap:10px;width:calc(100% + 28px);margin:0 -14px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #edf0f1;box-shadow:0 -4px 15px #263b3308;z-index:4}.commerce-detail-sheet>#detailActionbar button{flex:1;min-width:0;min-height:44px;border:0;border-radius:24px;padding:12px 10px;font-size:13px;font-weight:650;cursor:pointer}.commerce-detail-sheet>#detailActionbar .commerce-primary{background:linear-gradient(100deg,#ff5236,#ff0054);color:#fff}.commerce-detail-sheet>#detailActionbar .commerce-secondary{background:#ffedf1;color:#ec2d56}

/* Commerce drawers overlay the full-size playing room. */
body.floating-commerce #backdrop{background:#0002;backdrop-filter:none;z-index:9999}body.floating-commerce #sheet.cart-sheet{z-index:10000;top:auto;bottom:0;height:76dvh;max-height:82dvh;border-radius:22px 22px 0 0;display:flex;flex-direction:column;overflow:hidden;background:#f6f7f9}body.floating-commerce #sheet.commerce-list-sheet{height:70dvh;max-height:74dvh}body.floating-commerce #sheetBody{flex:1;min-height:0;overflow-y:auto;padding-bottom:15px}body.floating-commerce .room-commerce{overflow:visible}body.floating-commerce #sheet.commerce-detail-sheet{padding-bottom:0}body.floating-commerce .toast{z-index:10005}

/* Compact commerce sizing with a true square product image. */
body.floating-commerce #sheet.cart-sheet{width:min(100%,420px);padding-left:12px;padding-right:12px}.commerce-detail-sheet .commerce-detail-image{width:min(100%,280px);height:auto;max-height:none;aspect-ratio:1/1;margin:0 auto;border-radius:9px}.commerce-detail-sheet .commerce-detail-image img{object-fit:contain}.commerce-detail-sheet .commerce-detail-info{padding:10px 11px;margin-top:9px;border-radius:9px}.commerce-detail-sheet .commerce-detail-info h3{font-size:14px;margin:5px 0;line-height:1.5}.commerce-detail-sheet .commerce-detail-info p{font-size:11px;margin:4px 0;line-height:1.6}.commerce-detail-sheet .commerce-price{font-size:22px}.cart-sheet:has(.room-commerce) .sheet-head{margin-bottom:7px}.cart-sheet:has(.room-commerce) .sheet-head h2{font-size:15px}.room-commerce .commerce-summary{padding:9px;gap:10px;border-radius:9px}.room-commerce .commerce-mini-image{width:56px;height:56px}.room-commerce .commerce-summary h3{font-size:13px}.room-commerce .commerce-summary p{font-size:11px;margin:4px 0}.room-commerce .commerce-summary .commerce-price{font-size:20px}.room-commerce form{margin-top:8px;padding:10px;border-radius:9px}.room-commerce label{font-size:11px;margin:8px 0}.room-commerce label input,.room-commerce label select{padding:8px 9px;margin-top:5px;font-size:13px;min-height:36px;border-radius:7px}.room-commerce .address-fields{gap:0 8px;margin:3px 0 8px}.room-commerce .address-fields label{gap:4px;margin:4px 0}.room-commerce .address-fields label input{padding:8px 9px;min-height:36px;font-size:13px}.room-commerce .region-fields{margin:5px 0}.room-commerce .region-fields select{padding:7px 4px;height:36px;font-size:12px}.room-commerce .commerce-primary,.room-commerce .commerce-secondary{min-height:40px;padding:9px 15px;font-size:12px}.room-commerce .commerce-skus{padding:10px;margin-top:8px}.room-commerce .commerce-skus>button{padding:9px;margin:5px 0;font-size:12px}.room-commerce .commerce-quantity{padding:10px;margin-top:8px;font-size:12px}.room-commerce details{padding:8px 0}.commerce-detail-sheet>#detailActionbar{width:calc(100% + 24px);margin:0 -12px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px}.commerce-detail-sheet>#detailActionbar button{min-height:42px;padding:10px;font-size:12px}.product-art img{display:block;width:100%;height:100%;object-fit:cover}.commerce-list-sheet .commerce-thumb{height:auto;aspect-ratio:1/1;align-self:flex-start}
#chatForm input,#chatForm input:focus,#chatForm input:focus-visible{outline:none;outline-offset:0;box-shadow:none;border:0;border-radius:22px;background:transparent;-webkit-appearance:none;appearance:none}#chatForm:focus-within{border-color:#ffffff80;box-shadow:0 0 0 1px #ffffff35}#chatForm:not([data-authoritative-chat])>button{display:grid;place-items:center;align-self:center;width:29px;height:29px;line-height:1;border-radius:50%}
/* Tighten address grouping without making individual controls harder to tap. */
.room-commerce form{padding:8px;margin-top:7px}.room-commerce .address-fields{gap:0 7px;margin:1px 0 6px}.room-commerce .address-fields>label{gap:3px;margin:3px 0}.room-commerce .address-fields label input{min-height:36px;padding:7px 8px}.room-commerce .region-fields{margin:3px 0}.room-commerce .region-fields>span{margin-bottom:4px}.room-commerce .region-fields>div{gap:5px}.room-commerce .region-fields select{height:36px;padding:6px 3px}.room-commerce details{padding:6px 0}.room-commerce label{margin:6px 0}.room-commerce .commerce-summary{padding:8px}.room-commerce .commerce-mini-image{width:48px;height:48px}.room-commerce .commerce-note{margin:6px 0;font-size:10px}.room-commerce .commerce-footer{margin-top:5px;padding-top:8px}
.room>.chat.has-pinned:not(.assistant-chat){mask-image:none}.chat .message.pinned{position:sticky;top:0;z-index:1;background:#4a3b24ed!important;border:1px solid #c09e5366}.chat .pin-label{font-size:9px;color:#ffe1a3;border:1px solid #b59b5a;border-radius:3px;padding:1px 3px;margin-right:5px}
/* Waiting uses the room cover, with compact server-clock timing and no extra entry step. */
.cover-schedule{font-size:11px;line-height:1.7;padding:8px 13px;margin:-20px 0 25px;border:1px solid #ffffff30;border-radius:8px;background:#16281d66;letter-spacing:.5px;font-variant-numeric:tabular-nums}
.waiting-background{position:absolute;inset:0;z-index:0;pointer-events:none;background:#e87770 url('/lite/assets/live-entry-default.png') center/cover no-repeat}.waiting-background>img{width:100%;height:100%;object-fit:cover}.waiting-background:after{content:'';position:absolute;inset:0;background:linear-gradient(#15271c44,#0b171bcc)}.room.waiting-for-live>.scene{visibility:hidden}.room.waiting-for-live>header,.room.waiting-for-live>.status,.room.waiting-for-live>.notice,.room.waiting-for-live>footer,.room.waiting-for-live>.chat{z-index:2}
.waiting-countdown{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);z-index:1;width:min(270px,78%);padding:22px 18px;text-align:center;background:#14291f66;border:1px solid #ffffff2e;border-radius:16px;backdrop-filter:blur(14px);pointer-events:none}.waiting-countdown>span{display:block;font-size:12px;letter-spacing:2px;color:#e1e8df}.waiting-countdown>strong{display:block;margin:12px 0;font-size:32px;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:2px;color:#fff}.waiting-countdown>small{font-size:11px;color:#d0d9cf}.waiting-countdown>strong:not(:first-child){overflow-wrap:anywhere}.waiting-countdown:has(strong:empty){display:none}body.mini-mode .waiting-countdown{display:none}


#assistant{display:none!important}.viewer-assistant-authorized #assistant:not([hidden]){display:flex!important}

.chat .message{margin:2px 0;padding:2px 5px;line-height:1.35}.managed-chat-name{cursor:pointer}.managed-chat-name:focus-visible{outline:1px solid #fff9;outline-offset:2px;border-radius:3px}.room-access-unavailable{position:absolute;inset:0;z-index:35;background:#141820ed;color:#eee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;padding:24px}.room-access-unavailable p{font-size:15px;line-height:1.7}.room-access-unavailable button{border:1px solid #ffffff44;background:#ffffff18;color:white;border-radius:20px;padding:10px 24px}
.viewer-user-popover{position:absolute;z-index:24;width:220px;max-width:calc(100% - 16px);padding:10px;box-sizing:border-box;background:#19202bf5;color:#f4f6fa;border:1px solid #ffffff25;border-radius:11px;box-shadow:0 8px 28px #0005;backdrop-filter:blur(12px);text-align:left}.viewer-user-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.viewer-user-heading strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-user-heading>button{width:24px;height:24px;min-height:0;padding:0;border:0;border-radius:50%;background:#ffffff12;color:#bdc5d0;font-size:20px;line-height:24px}.viewer-user-comment{font-size:11px;line-height:1.4;color:#aeb9ca;margin:4px 0 8px;max-height:31px;overflow:hidden}.viewer-user-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.viewer-user-actions>button{background:#ffffff0f;color:#e7ecf5;border:1px solid #ffffff12;border-radius:6px;padding:7px 3px;font-size:12px;min-height:30px}.viewer-user-actions>button.user-block{color:#ffb0b7}.viewer-user-actions>button:disabled{opacity:.5}.viewer-user-result{margin:5px 0 0;min-height:13px;color:#8ed8b6;font-size:10px;line-height:13px}
/* Keep chat and shopping controls close to the safe bottom edge. */
.room>footer{bottom:calc(6px + env(safe-area-inset-bottom))}#chat.chat{bottom:calc(49px + env(safe-area-inset-bottom))}

/* Keep playback feedback legible without a heavy pill over the picture. */
.room .playback-status{display:flex;flex-direction:column;align-items:center;gap:14px;width:max-content;max-width:calc(100% - 48px);min-height:0;padding:20px 24px;border:0;border-radius:18px;background:rgba(15,19,28,.52);color:#fff;font:500 15px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;white-space:normal;text-align:center;box-shadow:0 8px 32px #00000018;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:1}
.room .playback-status[hidden]{display:none!important}
.room .playback-status[data-state="loading"]:before{content:"";display:block;width:28px;height:28px;box-sizing:border-box;border:2px solid #ffffff30;border-top-color:#fff;border-right-color:#ffffff99;border-radius:50%;animation:live-loading-spin 1.1s linear infinite}
.room .playback-status[data-state="loading"]:after{content:"正在准备画面，请稍候";font-size:12px;font-weight:400;color:#d3d8e2;margin-top:-8px}
.room .playback-status[data-state="retry"]{background:#ffffffed;color:#202a3b;cursor:pointer}
.room .playback-status:focus-visible{outline:2px solid #90baff;outline-offset:4px}
@keyframes live-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.room .playback-status[data-state="loading"]:before{animation:none}}

.room .playback-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(12px) brightness(.3);pointer-events:none;z-index:0}
.room .playback-backdrop[hidden]{display:none!important}
