/* Viewer */
.watch{--coal:#0f1011;--cream:#f9f6ef;--accent:#ffaa38;background:var(--coal);color:var(--cream);overflow:hidden;color-scheme:dark}
.watch>.mast,.watch>.foot{display:none}
.watch #main{width:100%;max-width:none;padding:0;min-height:0}
.theatre{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);height:100vh;height:100dvh;max-width:1330px;margin:auto}
.feed-rail{display:flex;flex-direction:column;padding:clamp(24px,4vh,52px) 24px 24px clamp(20px,4vw,60px);border-right:1px solid #ffffff12;background:var(--coal);min-height:0}
.feed-brand{display:inline-flex;gap:12px;align-items:center;align-self:flex-start}.feed-brand img{width:38px;height:46px;object-fit:contain}.feed-brand span{font-size:25px;font-weight:800;letter-spacing:-.07em;line-height:1}.feed-brand small{display:block;margin-top:5px;color:#cbc7c0;font-size:11px;font-weight:650;letter-spacing:.055em}
.rail-section{margin-top:clamp(32px,9vh,94px);min-height:0;overflow:auto}.rail-section h1{font-size:clamp(30px,3.6vw,50px);letter-spacing:-.065em;line-height:1.04;margin:0 0 38px}.rail-section em{display:block;color:var(--accent);font-style:normal}
.rail-label{font-size:11px;font-weight:800;color:#aba9a4;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}
.line-item,.choose-list button,.catalog-list button{font:inherit;text-align:left;display:flex;align-items:center;gap:12px;width:100%;background:none;border:0}
.line-item{padding:10px 9px;color:#d4d3cd;border-radius:12px}.line-item img,.choose-list img{width:38px;height:48px;border-radius:7px;object-fit:cover}.line-item span,.pin-info,.catalog-list button>span:not(.product-thumb){min-width:0;flex:1}.line-item strong,.line-item small{display:block}.line-item strong{font-size:14px;line-height:1.25}.line-item small{font-size:11px;margin-top:4px;color:#aaa69e}.line-item[aria-current=true]{background:#242322;color:#fff}.line-item[aria-current=true] i{width:6px;height:6px;background:var(--accent);border-radius:50%}
.rail-foot{display:grid;gap:18px;margin-top:auto;padding-top:24px;font-size:13px;font-weight:650;color:#cdcac4}.rail-foot a{display:flex;align-items:center;gap:10px;width:fit-content}.rail-foot a:hover{color:var(--accent)}
.feed-stage{background:radial-gradient(ellipse at 50% 42%,#2b2622 0%,#191818 42%,#111213 76%);display:flex;align-items:center;justify-content:center;gap:18px;min-height:0;min-width:0;padding:14px 10px}
.reels{width:min(100%,calc((100dvh - 28px)*.5625));height:100%;max-width:560px;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;border-radius:20px;background:#161617;box-shadow:0 16px 75px #0005;overflow-anchor:none}
.reels::-webkit-scrollbar{display:none}.reel{position:relative;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;isolation:isolate;overflow:hidden}
.reel-poster,.surface,.surface video,.scrim{position:absolute;inset:0;width:100%;height:100%}.reel-poster,.surface video{object-fit:cover;object-position:50% 43%}.surface video{background:transparent}
.scrim{pointer-events:none;background:linear-gradient(180deg,#09090ba0,transparent 19%,transparent 39%,#0a090b38 55%,#0b0a0bd9 83%,#0a090bed)}
.glass-head,.state-line,.feed-bottom,.signal-status{position:absolute;left:18px;right:18px}
.glass-head{top:max(15px,env(safe-area-inset-top));display:flex;align-items:center;gap:9px;color:white}.viewer-mark{width:35px;height:39px;display:grid;place-items:center;background:#12110fa8;border:1px solid #ffffff35;border-radius:11px}.viewer-mark img{width:23px;height:28px;object-fit:contain}
.glass-head>strong{font-size:17px;letter-spacing:-.055em;color:#fff;text-shadow:0 2px 8px #0008}.glass-head>strong span{font-size:10px;letter-spacing:.09em;margin-left:2px;vertical-align:2px;color:#ffd095}
.feed-switch,.circle,.shop-bag,.say{color:white;background:#18161594;border:1px solid #ffffff35;display:inline-flex;align-items:center;justify-content:center;backdrop-filter:blur(9px)}
.feed-switch{margin-left:auto;border-radius:999px;gap:5px;min-height:36px;padding:0 11px;font-size:12px;font-weight:750}.feed-switch .icon{width:15px}
.state-line{top:calc(max(15px,env(safe-area-inset-top)) + 50px);display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800}
#air,#viewers:not(:empty){border-radius:5px;background:#191818aa;padding:5px 8px;color:#fff}.state-line #air.on-air{background:#ff9f28;color:#19110a}.on-air:before{content:'';display:inline-block;width:6px;height:6px;margin:0 4px 1px 0;border-radius:50%;background:currentColor}
#viewers .icon{width:14px;height:14px}.signal-status{top:36%;text-align:center;pointer-events:none}.signal-status span:not(:empty),.signal-status button{background:#191818d9;color:white;border:0;border-radius:9px;padding:8px 12px;display:inline-block;font-size:13px}.signal-status button{pointer-events:auto;text-decoration:underline}
.feed-bottom{bottom:max(13px,env(safe-area-inset-bottom));color:white;display:grid;gap:9px}.seller-heading{display:flex;gap:10px;align-items:end;justify-content:space-between}.seller-heading>div:first-child{min-width:0}.seller-heading h2{font-size:clamp(25px,3.2vh,34px);line-height:1.1;font-weight:800;letter-spacing:-.055em;margin:3px 0 0;overflow-wrap:anywhere;text-shadow:0 2px 10px #0009}.seller-heading small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#ffe2b4;text-shadow:0 1px 5px #000}
.utility,.desk-controls{display:flex;gap:7px}.circle{width:40px;height:40px;border-radius:50%;padding:0}.circle:hover,.feed-switch:hover,.say:hover,.shop-bag:hover{background:#514b45}.desk-controls{flex-direction:column}.desk-controls .circle{width:42px;height:42px}.circle:disabled{opacity:.28}
#messages{padding:0;margin:0;list-style:none;display:grid;gap:3px;max-height:83px;overflow:hidden;align-content:end}#messages:empty{display:none}#messages li{width:fit-content;max-width:100%;padding:3px 8px;border-radius:8px;background:#15131185;font-size:12px;font-weight:550;line-height:1.4;overflow-wrap:anywhere;text-shadow:0 1px 2px #000}#messages b{font-weight:800;color:#ffddad;margin-right:3px}
#pin{display:flex;align-items:center;gap:10px;border-radius:14px;background:#faf8f2;color:#191817;padding:9px;box-shadow:0 3px 14px #0003;min-height:68px}
#pin>.product-thumb{width:50px;height:54px;object-fit:cover;border-radius:8px;background:#ebe6da}.pin-info{display:grid;gap:1px}.pin-info small{font-size:9px;color:#755127;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.pin-info small .icon{width:12px;height:12px;stroke-width:2}.pin-info strong{font-size:15px;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pin-info b{font-size:13px}.pin-info i{font-size:9px;font-weight:650;font-style:normal;color:#5f5951}
#order{border:0;color:#241706;font-weight:800;font-size:14px;background:#ffad40;border-radius:10px;padding:10px 16px;min-height:43px}.watch-foot{display:flex;align-items:center;gap:8px}.say,.shop-bag{height:41px;border-radius:25px;gap:8px}.say{justify-content:flex-start;flex:1;padding:0 14px;text-align:left;font-size:13px;color:#f1eeea}.say .icon,.shop-bag .icon{width:17px}.shop-bag{padding:0 13px}.shop-bag b{font-size:12px}
.watch dialog{color-scheme:light;max-height:88dvh;overflow:auto;margin:auto;border:0;border-radius:20px;padding:23px;background:#fcfaf5;color:var(--ink);box-shadow:0 22px 70px #0006}.watch dialog::backdrop{background:#07070777}.watch dialog h2{letter-spacing:-.045em}.watch dialog .icon-btn{border-radius:50%;flex:none}
.catalog-list,.choose-list{margin-top:14px}.catalog-list button,.choose-list button{padding:11px 0;color:var(--ink);border-bottom:1px solid #e4ded4}.catalog-list span strong,.catalog-list span small{display:block}.catalog-list span small,.sheet-product small{color:#6f695e;font-size:12px}.choose-list button>span{flex:1}.sheet-link{display:block;font-size:13px;font-weight:750;padding:12px 0 0}.sheet-product{display:flex;align-items:center;gap:13px;margin:16px 0}.sheet-product div{display:grid;font-size:14px;gap:3px}.sheet-product strong{font-size:19px}.order-total{border-top:1px solid #ddd6cb;padding-top:12px}.watch a:focus-visible,.watch button:focus-visible,.reels:focus-visible{outline:2px solid #ffae47;outline-offset:-2px}
@media(max-width:790px){.theatre{display:block}.feed-rail,.desk-controls{display:none}.feed-stage{height:100%;padding:0}.reels{width:min(100%,540px);max-width:none;border-radius:0}.watch dialog{width:min(100%,530px);max-width:100%;max-height:88dvh;margin:auto auto 0;border-radius:22px 22px 0 0;padding:23px 20px max(24px,env(safe-area-inset-bottom))}.watch dialog:before{content:'';display:block;background:#bfbab0;width:33px;height:4px;border-radius:9px;margin:-12px auto 13px}}
@media(max-height:650px){.feed-bottom{gap:5px}.glass-head,.state-line,.feed-bottom{left:12px;right:12px}#messages{max-height:45px}.seller-heading h2{font-size:23px}#pin{min-height:55px;padding:6px}.rail-section{margin-top:25px}.rail-section h1{margin-bottom:20px}}
/* Seller monitor and controls */
.swipe-hint{display:none}
@media(max-width:790px){.swipe-hint{position:absolute;top:calc(max(15px,env(safe-area-inset-top)) + 85px);left:18px;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#fff;background:#1615149e;border:1px solid #ffffff22;border-radius:30px;padding:5px 9px;pointer-events:none}.swipe-hint .icon{width:14px;height:14px}}
.seller-console{max-width:1080px}.seller-console .page-head{padding-block:20px 16px}.seller-console .back{margin-bottom:8px}.seller-console .layout{grid-template-columns:minmax(265px,.76fr) minmax(330px,1fr);gap:22px}.seller-console .video-box{aspect-ratio:9 / 16;max-height:52dvh;max-width:100%;background:radial-gradient(ellipse at center,#30302f,#151615);border:1px solid #403b33;margin-inline:auto}.seller-console .video-box video{object-fit:cover}.seller-console .layout>.stack>section:first-child{border-radius:16px;background:#171817;padding:14px;color:#fff}.seller-console .toolbar{justify-content:center}.seller-console #media-hint,.seller-console #media-error{text-align:center;color:#d8d7d1}.seller-console #media-error:not(:empty){color:#ffb798}.seller-console .room-tab{padding-bottom:10px;border-bottom:1px solid var(--line)}.seller-console [data-feature][aria-pressed=true]{background:#fff0d4;border-color:#e1a44b}
@media(max-width:760px){.seller-console .layout{grid-template-columns:1fr;gap:12px}.seller-console .layout>.stack>section:first-child{display:grid;grid-template-columns:minmax(90px,.6fr) 1fr;column-gap:14px;align-items:center}.seller-console .video-box{grid-row:1 / 5;width:100%;max-height:31dvh}.seller-console .toolbar .actions{justify-content:center}.seller-console .middle{font-size:12px}.seller-console .page-head h1{font-size:26px}.seller-console .page-head .btn{min-height:35px;padding:6px 10px}}
