/* Customer phone layout. All selectors are scoped away from the floating player/backoffice. */
.v-brand-copy{flex:1;min-width:0}.v-brand-name,.mobile-phone-bar,.mobile-phone-close,#mobileToolsToggle,.mobile-panel-close,#mobileShopTabs,#mobileBagList,#mobileBagFooter,.mobile-only-tool{display:none}
[hidden]{display:none!important}
.mobile-live #liveModalBackdrop{padding:16px;background:#100e0dd9}
.mobile-live #liveModalBackdrop .live-modal-shell{display:block;position:relative;width:min(440px,100%);height:min(880px,calc(100dvh - 94px));border-radius:20px;background:#171513;isolation:isolate}
.mobile-live #liveModalBackdrop #viewerVideoStage{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#171513}
.mobile-live #liveModalBackdrop .video-stage-el{object-fit:cover}
.mobile-live #liveModalBackdrop .v-top-bar{position:absolute;inset:0 0 auto;padding:calc(14px + env(safe-area-inset-top,0px)) 54px 28px 12px;align-items:center;gap:6px;background:linear-gradient(#08070699,transparent)}
.mobile-live #liveModalBackdrop .v-brand-avatar{width:36px;height:36px;border-radius:50%;font-size:10px;box-shadow:none}
.mobile-live #liveModalBackdrop .v-brand-name{display:block;color:#fff;font-size:12px;font-weight:600;margin-bottom:3px;letter-spacing:.02em}
.mobile-live #liveModalBackdrop .v-session-title{font-size:11px;font-weight:400;color:#ffffffe0}
.mobile-live #liveModalBackdrop .v-top-left{gap:7px}.mobile-live #liveModalBackdrop .v-top-right{gap:4px}
.mobile-live #liveModalBackdrop .v-live-badge{font-size:10px;padding:4px 6px;border:0;border-radius:14px;background:#16130e73;max-width:94px}
.mobile-live #liveModalBackdrop .v-icon-top-btn{width:34px;height:34px;min-width:34px;border:0;background:#16130e50}
.mobile-live #mobileToolsToggle{display:flex;font-size:20px}
.mobile-live #liveModalBackdrop .live-modal-close-floating{display:none}
.mobile-live #liveModalBackdrop .mobile-phone-close{display:grid;place-items:center;position:absolute;z-index:15;top:calc(14px + env(safe-area-inset-top,0px));right:12px;width:36px;height:36px;border:0;border-radius:50%;color:#fff;background:#211d1766;font-size:15px;cursor:pointer}
.mobile-live #liveModalBackdrop .v-bottom-area{position:absolute;inset:auto 0 calc(72px + env(safe-area-inset-bottom,0px));height:200px;margin:0;padding:0;background:none;display:block;pointer-events:none}
.mobile-live #liveModalBackdrop .v-mid-interactive{position:absolute;left:12px;bottom:0;width:calc(100% - 152px);display:block;pointer-events:auto}
.mobile-live #liveModalBackdrop .v-right-actions{display:none}
.mobile-live #liveModalBackdrop .v-floating-messages{max-height:190px;gap:5px;padding-top:14px;overflow:hidden;mask-image:linear-gradient(transparent,#000 12%);-webkit-mask-image:linear-gradient(transparent,#000 12%)}
.mobile-live #liveModalBackdrop .vf-msg{width:fit-content;max-width:100%;padding:5px 9px!important;border:0!important;border-radius:14px!important;background:#16130e73!important;backdrop-filter:blur(6px);line-height:1.4;overflow-wrap:anywhere}
.mobile-live #liveModalBackdrop .vf-msg:nth-last-child(n+5){display:none}
.mobile-live #liveModalBackdrop .vf-meta{font-size:10px;color:#fff9;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mobile-live #liveModalBackdrop .vf-body{font-size:12px;color:#fff;font-weight:400;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mobile-live #liveModalBackdrop .vf-meta .el-emoji-image,.mobile-live #liveModalBackdrop .vf-body .el-emoji-image{width:18px;height:18px}
.mobile-live #liveModalBackdrop .v-pinned-bar{display:none}
.mobile-live #liveModalBackdrop #videoPinnedChat{font-size:11px;line-height:1.5;border-radius:10px;padding:7px 9px;background:#332718b3;color:#fff;border:1px solid #fff2;white-space:pre-wrap;max-height:66px;overflow:auto;backdrop-filter:blur(8px)}
.mobile-live #liveModalBackdrop .v-product-banner{position:absolute;right:12px;bottom:0;width:120px;padding:0;display:flex;flex-direction:column;gap:0;pointer-events:auto;background:#fffcf7;border:0;border-radius:11px;overflow:hidden;box-shadow:0 5px 20px #0002}
.mobile-live #liveModalBackdrop .v-product-banner.hidden-card{display:none}
.mobile-live #liveModalBackdrop .vp-thumb{width:100%;height:94px;object-fit:cover;border-radius:0;background:#e8e3db;cursor:pointer}
.mobile-live #liveModalBackdrop .vp-info{width:100%;padding:8px 8px 0;color:#24201b}
.mobile-live #liveModalBackdrop .vp-title{white-space:normal;font-size:11px;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 5px}
.mobile-live #liveModalBackdrop .vp-status{display:none}
.mobile-live #liveModalBackdrop .vp-price{font-size:12px;color:#a83553;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobile-live #liveModalBackdrop .vp-add-btn{width:calc(100% - 16px);margin:7px 8px 8px;padding:6px 8px;min-height:32px;border:0;border-radius:18px;color:#fff;background:#ba3858;font-size:11px}
.mobile-live #liveModalBackdrop .mobile-phone-bar{position:absolute;inset:auto 0 0;z-index:15;display:flex;align-items:center;gap:7px;padding:18px 12px calc(10px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,#100d0c99)}
.mobile-comment-open{flex:1;min-width:0;height:44px;display:flex;align-items:center;gap:7px;padding:0 13px;border:1px solid #fff1;border-radius:25px;background:#15120d66;backdrop-filter:blur(8px);color:#fff9;font:inherit;font-size:13px;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden}
.mobile-comment-open svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.shop-grid-card{font:inherit;text-align:left;background:#fff;padding:0;min-width:0}
.mobile-round-action{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border:1px solid #fff1;border-radius:50%;background:#17120e70;backdrop-filter:blur(8px);color:#fff;cursor:pointer;font:inherit}
.mobile-round-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mobile-round-action.mobile-shop-action{background:#b73558;color:#fff;border-color:#ffffff30}
.mobile-phone-bar button:focus-visible,.mobile-panel-close:focus-visible{outline:2px solid #ead0a0;outline-offset:2px}
.mobile-round-action .mobile-bag-count{position:absolute;top:-3px;right:-2px;min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;border-radius:10px;background:#fff;color:#a83553;font-size:10px}
.mobile-live #liveModalBackdrop .viewer-player-tools{display:none;top:calc(66px + env(safe-area-inset-top,0px));right:12px;max-width:calc(100% - 24px);padding:8px;gap:6px;flex-wrap:wrap;justify-content:flex-end;border:1px solid #ffffff25;border-radius:12px;background:#211b16c9;backdrop-filter:blur(14px)}
.mobile-live.mobile-tools-open #liveModalBackdrop .viewer-player-tools{display:flex}
.mobile-live #liveModalBackdrop .viewer-player-tools .mobile-only-tool{display:block}
.mobile-live #liveModalBackdrop .viewer-player-tools button{min-height:36px;font-size:11px;border-radius:8px;background:#ffffff0c}
.mobile-live #liveModalBackdrop .portrait-bottom-nav{display:none}
#mobilePanelBackdrop{position:absolute;inset:0;z-index:24;background:#100c08a8;backdrop-filter:blur(2px)}
.mobile-live #liveModalBackdrop :is(.modal-col-chat,.modal-col-shop){display:none;position:absolute;inset:auto 0 var(--mobile-keyboard-gap,0px);z-index:25;width:100%;height:min(66dvh,calc(var(--mobile-visible-height,100dvh) - 24px));min-height:min(220px,calc(var(--mobile-visible-height,100dvh) - 24px));max-height:min(calc(100% - 24px),calc(var(--mobile-visible-height,100dvh) - 24px));border:0;border-radius:20px 20px 0 0;overflow:hidden;background:#fffcf8;color:#2d2821;box-shadow:0 -8px 45px #0003}
.mobile-live.mobile-chat-open #viewerChatPanel,.mobile-live.mobile-shop-open #viewerShopPanel{display:flex}
.mobile-live #liveModalBackdrop .panel-top-header{min-height:56px;padding:10px 16px;border-color:#eee8df;color:#2d2821;font-size:14px}
.mobile-live .mobile-panel-close{display:grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:50%;font:inherit;font-size:23px;background:#eee8df;color:#645746;cursor:pointer}
.mobile-live #liveModalBackdrop .panel-pinned-row{display:none}
.mobile-live #liveModalBackdrop .chat-list-white{min-height:0;flex:1}.mobile-live #liveModalBackdrop .cw-input-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
.mobile-live #liveModalBackdrop .cw-input-box :is(input,.el-emoji-editor){font-size:16px;min-width:0}
.mobile-live #mobileShopTabs{display:flex;gap:8px;padding:0 16px 10px;border-bottom:1px solid #eee8df}
#mobileShopTabs button{flex:1;padding:9px 12px;border:0;border-radius:9px;background:#eee8df;color:#766953;font:inherit;font-size:12px;cursor:pointer}
#mobileShopTabs button[aria-selected=true]{background:#2b241c;color:#fff}
.mobile-live #mobileBagList{display:block;flex:1;min-height:0;overflow:auto;padding:8px 16px;overscroll-behavior:contain}
.mobile-bag-line{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee8df}.mobile-bag-line>img{width:54px;height:68px;border-radius:8px;object-fit:cover;background:#eee8df}.mobile-bag-line>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.mobile-bag-line strong{font-size:12px;font-weight:500;line-height:1.4}.mobile-bag-line small{font-size:11px;color:#887965}.mobile-bag-line span{font-size:12px;color:#aa3854}.mobile-bag-line button{width:32px;height:32px;border:0;background:transparent;color:#887965;font-size:23px;cursor:pointer}
.mobile-bag-empty{padding:35px 4px;text-align:center;color:#887965}.mobile-bag-empty>span{font-size:35px}.mobile-bag-empty p{font-size:14px;margin:14px 0 8px}.mobile-bag-empty small{font-size:12px;line-height:1.7}
.mobile-live #mobileBagFooter{display:block;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #eee8df}.mobile-bag-total{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}.mobile-demo-note{font-size:11px;line-height:1.6;color:#887965;margin:6px 0 10px}.mobile-checkout-disabled{width:100%;padding:12px;border:0;border-radius:9px;font:inherit;font-size:12px;background:#e9e2d8;color:#887965}
.mobile-live #quickSheetBackdrop{align-items:flex-end;padding:0;z-index:100;overscroll-behavior:contain}
.mobile-live .quick-sheet-card{width:min(440px,100%);border-radius:20px 20px 0 0;padding:22px 18px calc(20px + env(safe-area-inset-bottom,0px));max-height:calc(var(--mobile-visible-height,100dvh) - 24px);overflow:auto}
.mobile-live .qsc-var-btn{gap:12px;min-height:48px;font-size:12px}.qsc-var-btn:disabled{opacity:.4;cursor:default}
.mobile-live .toast-popup{bottom:calc(82px + env(safe-area-inset-bottom,0px));font-size:12px;max-width:calc(100vw - 28px);width:max-content;white-space:normal;text-align:center;border-radius:12px;line-height:1.5}
@media(max-width:760px){
 body.mobile-room-open .storefront-header{display:none}
 .mobile-live #liveModalBackdrop{top:0;padding:0;background:#171513}
 .mobile-live #liveModalBackdrop .live-modal-shell{width:100vw;height:100dvh;max-height:none;border-radius:0}
 .mobile-live #liveModalBackdrop .live-modal-close-floating{position:absolute;top:calc(14px + env(safe-area-inset-top,0px));right:12px}
 .mobile-live .quick-sheet-card{width:100%}
}
@media(max-width:360px){.mobile-live #liveModalBackdrop .vp-price{font-size:11px}.mobile-live #liveModalBackdrop .v-product-banner{width:108px}.mobile-live #liveModalBackdrop .v-mid-interactive{width:calc(100% - 140px)}.mobile-live #liveModalBackdrop .vp-thumb{height:78px}.mobile-phone-bar{gap:5px!important}.mobile-round-action{width:38px;height:40px}.mobile-comment-open{padding:0 10px;font-size:12px}.mobile-live #liveModalBackdrop .v-live-badge{max-width:76px}.mobile-live #liveModalBackdrop .v-brand-avatar{width:30px;height:30px}.mobile-live #liveModalBackdrop .v-brand-name{font-size:11px}}
@media(max-height:500px) and (max-width:1024px){body.mobile-room-open .storefront-header{display:none}.mobile-live #liveModalBackdrop{inset:0;padding:0}.mobile-live #liveModalBackdrop .live-modal-shell{width:100vw;height:100dvh;border-radius:0}.mobile-live #liveModalBackdrop .live-modal-close-floating{position:absolute;top:12px;right:12px}.mobile-live #liveModalBackdrop .v-product-banner{width:160px;display:grid;grid-template-columns:58px 1fr}.mobile-live #liveModalBackdrop .vp-thumb{width:58px;height:76px;grid-row:1/3}.mobile-live #liveModalBackdrop .vp-info{padding:6px}.mobile-live #liveModalBackdrop .vp-add-btn{margin:0 6px 6px;width:calc(100% - 12px);min-height:26px;padding:4px}.mobile-live #liveModalBackdrop .v-mid-interactive{width:min(42%,280px)}.mobile-live #liveModalBackdrop .v-floating-messages{max-height:112px}.mobile-live #liveModalBackdrop .vf-msg:nth-last-child(n+3){display:none}.mobile-live #liveModalBackdrop .v-bottom-area{bottom:68px}.mobile-live #liveModalBackdrop :is(.modal-col-chat,.modal-col-shop){height:min(calc(100% - 34px),calc(var(--mobile-visible-height,100dvh) - 16px));max-height:calc(var(--mobile-visible-height,100dvh) - 16px);min-height:min(180px,calc(var(--mobile-visible-height,100dvh) - 16px))}}

/* The OS keyboard may shrink only the visual viewport, including in landscape. */
.mobile-live #viewerNameDialog{inset:var(--mobile-visible-top,0px) 0 var(--mobile-keyboard-gap,0px);height:fit-content;max-height:calc(var(--mobile-visible-height,100dvh) - 24px);overflow-y:auto}
.mobile-live.mobile-short-viewport #liveModalBackdrop .panel-top-header{min-height:44px;padding:4px 12px}
.mobile-live.mobile-short-viewport #liveModalBackdrop #desktopPinnedChat{display:none}
.mobile-live.mobile-short-viewport #liveModalBackdrop .cw-input-footer{padding:6px 12px}
.mobile-live.mobile-short-viewport #liveModalBackdrop .el-chat-identity{padding-bottom:4px;font-size:11px}
.mobile-live.mobile-short-viewport #viewerNameDialog{padding:16px}
.mobile-live.mobile-short-viewport #viewerNameDialog h2{font-size:18px;margin-bottom:6px}
.mobile-live.mobile-short-viewport #viewerNameDialog p{font-size:12px;margin-bottom:10px}
.mobile-live.mobile-short-viewport #viewerNameDialog .el-name-dialog-actions{margin-top:12px}
