
:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#182c29;background:#f5f6f2;font-synthesis:none;--green:#17634c;--line:#dde4dc;--muted:#738079}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,.button{border:0;border-radius:10px;padding:12px 19px;background:var(--green);color:#fff;cursor:pointer;text-decoration:none;font-weight:600;display:inline-flex;gap:8px;align-items:center;justify-content:center}button:hover,.button:hover{filter:brightness(1.1)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#e7eee7;color:#24483b}.ghost{background:transparent;color:inherit;border:1px solid var(--line)}.danger{background:#a83e35}a{color:var(--green)}input,select,textarea{border:1px solid #d2ddd5;border-radius:9px;background:white;padding:12px;color:#203a31;min-width:0;width:100%}label{display:grid;gap:8px;font-size:13px;color:#5e6d63}label.check{display:flex;align-items:center;gap:8px}input[type=checkbox]{width:auto}h1,h2,h3,p{margin-top:0}h1{font-size:38px;letter-spacing:-1px}h2{font-size:23px}h3{font-size:16px}small,.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.2px;color:#748b67;text-transform:uppercase}.pill{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border-radius:100px;background:#e6eee2;color:#3c6244;font-size:12px}.pill.on{background:#fbe5da;color:#ae4d2c}.dot{width:6px;height:6px;background:currentColor;border-radius:50%}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 6vw;background:#fafbf7}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;letter-spacing:1px}.brand-icon{display:grid;place-items:center;width:36px;height:36px;background:#214d3b;color:#f4eacb;border-radius:11px;font-size:18px}.nav{display:flex;gap:28px;align-items:center;font-size:13px}.nav a{text-decoration:none}.container{max-width:1220px;padding:34px 30px;margin:auto}.hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:360px;background:#e9eddf;border-radius:22px;overflow:hidden;position:relative}.hero-copy{padding:50px;position:relative;z-index:1}.hero h1{font-size:44px;line-height:1.3;margin:16px 0}.hero p{font-size:14px;line-height:1.9;color:#65715c}.still-life{position:relative;min-height:330px;background:radial-gradient(ellipse at 55% 45%,#f3f1d9,#d4dec5);overflow:hidden}.circle{position:absolute;width:270px;height:270px;background:#dfe6cf;border-radius:50%;top:36px;left:20%}.vase{position:absolute;width:105px;height:160px;background:linear-gradient(90deg,#b66d42,#deaa78 50%,#a76036);border-radius:25% 25% 40% 40%;bottom:40px;left:28%;box-shadow:25px 22px 20px #47633d25}.vase:before{content:'';position:absolute;height:20px;left:6px;right:6px;top:-4px;border-radius:50%;background:#764a32;border:5px solid #cd9262}.branch{position:absolute;height:165px;width:4px;background:#697a48;bottom:180px;left:39%;transform:rotate(15deg)}.leaf{position:absolute;width:58px;height:26px;background:#7b9060;border-radius:100% 0 100% 0;left:0;top:20px;transform:rotate(-15deg)}.leaf:nth-child(2){top:65px;left:-55px;transform:rotate(30deg)}.leaf:nth-child(3){top:100px}.cup{position:absolute;bottom:38px;left:57%;width:100px;height:70px;border-radius:5px 5px 35px 35px;background:linear-gradient(100deg,#f8f4df,#d5ceb1);box-shadow:15px 15px 18px #47633d20}.cup:after{content:'';position:absolute;right:-24px;top:8px;width:30px;height:38px;border:9px solid #d9d3bc;border-radius:50%;z-index:0}.still-caption{position:absolute;bottom:18px;right:22px;font-size:10px;letter-spacing:2px;color:#7e886c}.section-head{display:flex;justify-content:space-between;align-items:center;margin:40px 0 20px}.section-head h2{margin:5px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:22px}.product-art{height:180px;border-radius:12px;position:relative;background:#f0eadc;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:18px}.product-art .cup{position:relative;left:auto;bottom:auto;transform:scale(1.25)}.product-art .vase{position:relative;left:auto;bottom:auto;height:110px;width:75px}.fabric{width:130px;height:100px;border-radius:10px;transform:rotate(-10deg);background:repeating-linear-gradient(90deg,#aaae8f 0 2px,#c7cab0 2px 6px);box-shadow:16px 16px 0 #dbddc8}.product-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.price{font-size:21px;font-weight:700}.footer{padding:30px 0;text-align:center;font-size:12px;color:#859080}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1d372e;color:#fff;border-radius:10px;padding:13px 22px;z-index:1000;max-width:90vw;box-shadow:0 8px 35px #0003}.notice:empty{display:none}[hidden]{display:none!important}.login-wrap{max-width:440px;margin:8vh auto;padding:35px}.stack{display:grid;gap:18px}.app-shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:#183d30;color:#dce6d9;padding:30px 22px;display:flex;flex-direction:column;gap:35px;position:sticky;top:0;height:100vh}.sidebar .brand-icon{background:#315a43}.sidebar .eyebrow{color:#91ab93}.side-nav{display:grid;gap:9px}.side-nav button{justify-content:flex-start;background:transparent;font-weight:400;color:#becfbf;border-radius:9px}.side-nav button.active{background:#315c45;color:#fff}.side-bottom{margin-top:auto;font-size:12px;line-height:1.9;color:#a3baa6}.workspace{padding:38px 4vw;min-width:0}.workspace-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.workspace-header h1{font-size:28px;margin:8px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);padding:23px;border-radius:14px}.stat.primary{background:#e7eddf;border-color:#d9e2ce}.stat strong{display:block;font-size:34px;line-height:1.4;margin:12px 0 2px}.stat span{font-size:13px;color:#6a7968}.cols{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row>*{flex:1}.row button,.row .button{flex:0 0 auto}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{padding:13px 10px;color:#82907e;font-size:12px;font-weight:500;border-bottom:1px solid var(--line)}td{padding:16px 10px;border-bottom:1px solid #eef1eb;white-space:nowrap}.positive{color:#1c7c53}.negative{color:#af6342}pre{font-size:12px;white-space:pre-wrap;word-break:break-all;background:#eef2eb;padding:16px;border-radius:10px;line-height:1.7}details{margin-top:20px}summary{cursor:pointer}code{font-size:12px}.empty{padding:30px;text-align:center;color:#85917e;font-size:14px}.manage-products{display:grid;gap:10px}.manage-product{padding:14px;background:#f3f5ef;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.manage-product button{padding:8px 10px;font-size:12px}.room-body{background:#101914;color:#f1f5ee;height:100vh;overflow:hidden}.room-layout{display:grid;grid-template-columns:1fr 330px;height:100vh}.stage{min-width:0;display:flex;flex-direction:column;position:relative;background:radial-gradient(ellipse at center,#26392b,#0c1510)}.stage-head{position:absolute;top:22px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;z-index:4}.host-chip{display:flex;align-items:center;gap:12px}.avatar{width:42px;height:42px;border-radius:50%;background:#d4e1bb;color:#34573d;display:grid;place-items:center;font-size:19px}.host-chip h3{margin:0 0 4px}.host-chip small{color:#bdcbbc}.stage-head .ghost{color:white;border-color:#ffffff35;padding:9px 12px}.videos{height:100%;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;gap:12px;padding:85px 22px 150px}.video-tile{position:relative;max-width:100%;width:100%;height:100%;min-width:0}.video-tile video{width:100%;height:100%;object-fit:contain;border-radius:10px;background:#0d1510}.video-tile small{position:absolute;bottom:12px;left:12px;background:#0008;padding:5px 9px;border-radius:5px;color:#fff}.video-tile:not(:first-child){position:absolute;right:22px;bottom:155px;width:190px;height:130px;z-index:3}.video-tile:nth-child(3){bottom:295px}.video-tile:nth-child(4){bottom:435px}.stage-placeholder{text-align:center;position:absolute;top:42%;width:100%;color:#a5b7a4;pointer-events:none}.stage-placeholder strong{display:block;font-size:28px;color:#dfe8d5;margin-bottom:15px}.stage-bottom{position:absolute;bottom:24px;left:25px;right:25px;z-index:4}.featured{max-width:410px;background:#f4f6eb;color:#1e392b;border-radius:13px;padding:13px 16px;display:flex;align-items:center;gap:14px;margin-bottom:18px}.featured .product-symbol{width:48px;height:48px;border-radius:9px;background:#e4e8d3;display:grid;place-items:center;color:#5b7549;font-size:24px}.featured h3{margin:0 0 5px;font-size:13px}.featured a{margin-left:auto;white-space:nowrap;font-size:12px;padding:10px 12px}.controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.controls button{padding:10px 14px;font-size:12px}.controls .check{font-size:12px;color:#acbfaa}.chat-panel{background:#fbfcf7;color:#243a2b;display:flex;flex-direction:column;border-left:1px solid #dfe7d8;min-height:0}.chat-title{padding:24px;border-bottom:1px solid var(--line)}.chat-title h3{margin-bottom:6px}.messages{flex:1;overflow:auto;padding:20px}.message{font-size:13px;line-height:1.7;margin-bottom:17px;word-break:break-word}.message b{font-weight:500;color:#829374;margin-right:8px}.message b.host{color:#a87534}.chat-input{padding:16px;border-top:1px solid var(--line);display:flex;gap:8px}.chat-input input{font-size:13px}.chat-input button{padding:10px}.room-products{padding:16px 20px;border-bottom:1px solid var(--line);max-height:180px;overflow:auto}.room-products a{display:flex;justify-content:space-between;padding:9px 0;font-size:12px;text-decoration:none;gap:12px}.approvals{display:grid;gap:8px;margin-bottom:10px;max-width:500px}.approval{padding:9px 12px;background:#fff;color:#263c2b;border-radius:8px;display:flex;gap:8px;align-items:center;font-size:12px}.approval button{padding:5px 9px;font-size:12px}.gate{position:absolute;inset:0;z-index:20;background:#102318ed;display:grid;place-items:center;padding:20px}.gate .card{color:#243b2e;max-width:370px;width:100%;padding:30px}.gate h2{font-size:25px}.room-body.float .room-layout{display:block}.room-body.float .chat-panel,.room-body.float .stage-bottom,.room-body.float .stage-head,.room-body.float .video-tile:not(:first-child){display:none}.room-body.float .stage{height:100vh}.room-body.float .videos{padding:0}.room-body.float video{object-fit:cover;border-radius:0}.float-label{display:none}.room-body.float .float-label{display:flex;position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#000b);padding:40px 14px 14px;z-index:6;align-items:center;justify-content:space-between;font-size:13px;cursor:pointer}.room-body.float .stage-placeholder strong{font-size:16px}.room-body.float .stage-placeholder{font-size:12px}.room-body.float .gate{display:none}.room-body.float .notice{font-size:11px;bottom:60px}.room-body .play-sound{background:#e0e9c7;color:#304531}.host-link{color:#c5d5bc}.badge{padding:3px 6px;background:#f0e5ce;border-radius:5px;font-size:10px;color:#8c7146}
@media(max-width:900px){.nav{gap:15px}.hero-copy{padding:30px}.hero h1{font-size:32px}.app-shell{grid-template-columns:180px 1fr}.sidebar{padding:25px 14px}.workspace{padding:25px}.cols{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:27px}.room-layout{grid-template-columns:1fr 280px}}
@media(max-width:640px){.topbar{height:68px;padding:0 20px}.brand{font-size:18px}.nav>a:first-child{display:none}.container{padding:20px}.hero{grid-template-columns:1fr}.hero-copy{padding:28px}.hero h1{font-size:32px}.still-life{min-height:220px}.circle{top:-40px}.vase{height:110px}.branch{bottom:140px;height:120px}.cards{grid-template-columns:1fr}.product-art{height:155px}.app-shell{display:block}.sidebar{height:auto;position:relative;padding:18px;gap:18px}.side-nav{display:flex;overflow:auto}.side-nav button{white-space:nowrap;font-size:12px;padding:9px 12px}.side-bottom{display:none}.workspace{padding:22px 16px}.workspace-header{align-items:flex-start}.workspace-header h1{font-size:24px}.stats{grid-template-columns:1fr 1fr}.stat:last-child{grid-column:1/-1}.stat strong{font-size:27px}.field-row{grid-template-columns:1fr}.room-layout{display:flex;flex-direction:column}.stage{height:62vh;flex-shrink:0}.chat-panel{height:38vh}.stage-head{top:12px;left:15px;right:15px}.stage-head h3{font-size:13px}.stage-head small{font-size:10px}.videos{padding:65px 0 110px}.stage-bottom{bottom:10px;left:12px;right:12px}.featured{margin-bottom:8px;padding:8px 12px}.featured .product-symbol{width:32px;height:32px}.controls{gap:6px}.controls button{padding:8px;font-size:11px}.controls .check{font-size:10px}.chat-title{display:none}.room-products{max-height:60px;padding:6px 16px}.messages{padding:12px}.message{margin-bottom:8px}.chat-input{padding:8px}.video-tile:not(:first-child){width:100px;height:85px;right:10px;bottom:125px}.video-tile:nth-child(3){bottom:215px}.video-tile:nth-child(4){bottom:305px}.room-body.float .stage{height:100vh}.featured h3{font-size:12px}}
.chat-input button{white-space:nowrap;flex-shrink:0;min-width:52px}.login-wrap>p{margin-top:24px}
/* Live-room overlay and in-page product drawer. */
.room-body{height:100dvh}.room-layout{display:block;height:100dvh}.room-layout .stage{height:100dvh;overflow:hidden}.room-layout .videos{padding:0;height:100%;position:absolute;inset:0}.room-layout .video-tile video{border-radius:0}.room-layout .video-tile:first-child video{object-fit:contain}.room-layout .video-tile small{top:85px;bottom:auto;opacity:.6}.room-layout .video-tile:not(:first-child){bottom:auto;top:95px;width:190px;height:130px}.room-layout .video-tile:nth-child(3){top:235px}.room-layout .video-tile:nth-child(4){top:375px}.stage-head{pointer-events:none}.stage-head button{pointer-events:auto}.room-layout .stage-bottom{bottom:0;left:0;right:0;padding:80px 26px max(22px,env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(6,14,9,.15) 35%,rgba(6,14,9,.65));pointer-events:none}.stage-bottom>*{pointer-events:auto}.stage-bottom .messages{padding:0;margin:0 0 16px;max-height:23vh;width:min(620px,76%);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;mask-image:linear-gradient(transparent,#000 12px);flex:none;min-height:20px}.stage-bottom .message{display:table;max-width:100%;width:fit-content;padding:6px 12px;border-radius:16px;background:rgba(0,0,0,.33);color:#fff;line-height:1.6;margin:6px 0;font-size:14px;text-shadow:0 1px 3px #0005;overflow-wrap:anywhere}.stage-bottom .message b{color:#d6dbf9}.stage-bottom .message b.host{color:#f7d79b}.stage-bottom .messages .empty{color:#e7efe1;text-align:left;padding:10px 0;font-size:12px}.stage-bottom .featured{max-width:410px;margin-bottom:12px;background:#fffffff2;box-shadow:0 4px 20px #0001}.featured>div:nth-child(2){min-width:0;flex:1}.featured h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured .featured-label{display:block;color:#bc5a34;font-size:10px;margin-bottom:3px}.featured>button{white-space:nowrap;padding:10px 12px;font-size:12px}.stage-bottom .controls{margin-bottom:12px;gap:9px}.stage-bottom .controls .secondary,.stage-bottom .controls .ghost{background:#ffffff20;border:1px solid #ffffff25;color:#fff}.stage-bottom .controls .check{color:#edf1e7}.live-bottom-bar{display:flex;align-items:center;gap:12px;max-width:760px}.live-bottom-bar .chat-input{margin:0;padding:0;border:0;min-width:0;flex:1;display:flex;align-items:center;border-radius:24px;background:#ffffff25;backdrop-filter:blur(8px);overflow:hidden}.live-bottom-bar .chat-input input{border:0;background:transparent;color:#fff;padding:12px 16px;outline-offset:-3px}.live-bottom-bar .chat-input input::placeholder{color:#ffffffbd}.live-bottom-bar .chat-input button{border-radius:0;background:transparent;font-size:12px;color:#e3edcf;padding:12px;min-width:48px}.live-bottom-bar .product-bag{border-radius:12px;background:#f2e6c8;color:#533c25;white-space:nowrap;padding:11px 14px;font-size:13px}.product-bag span{font-size:10px;border-radius:5px;background:#725434;color:white;min-width:18px;padding:2px 4px}.live-bottom-bar .sound-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;padding:8px;background:#0005;border:1px solid #ffffff35;color:#fff;margin-left:auto}.sound-icon svg{width:22px;height:22px}.sound-icon.sound-blocked{border-color:#eecf86}.stage-bottom .approvals:empty{display:none}.product-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,660px);height:min(72dvh,720px);max-height:88dvh;max-width:100%;border:0;border-radius:24px 24px 0 0;background:#fff;color:#24372e;padding:0 24px max(20px,env(safe-area-inset-bottom));box-shadow:0 -10px 60px #0003;overflow:hidden}.product-sheet[open]{display:flex;flex-direction:column}.product-sheet::backdrop{background:#0006}.sheet-handle{width:36px;height:4px;border-radius:4px;background:#d9ded8;margin:10px auto 20px;flex-shrink:0}.sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.sheet-header h2{font-size:20px;margin-bottom:6px}.sheet-header small{font-size:12px;color:#818b81}.sheet-close{width:36px;height:36px;border-radius:50%;background:#f2f4f0;color:#727c70;padding:0;font-size:26px;font-weight:400}.product-search{display:flex;align-items:center;gap:10px;background:#f5f6f3;border-radius:12px;padding:0 12px;margin-bottom:12px;flex-shrink:0}.product-search span{font-size:25px;color:#909b8d}.product-search input{background:transparent;border:0;padding:12px 0;font-size:14px}.sheet-products{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding-bottom:10px}.sheet-product{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid #eef0eb;min-height:142px}.sheet-thumbnail{width:100px;height:100px;flex:0 0 100px;border-radius:12px;background:linear-gradient(140deg,#f0eddf,#e5ebdf);display:grid;place-items:center;font-size:38px;color:#91a17d;position:relative}.sheet-thumbnail>span{position:absolute;top:5px;left:5px;background:#0005;color:white;border-radius:4px;padding:1px 6px;font-size:11px}.sheet-product-info{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.sheet-product-info h3{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.explaining-badge{color:#b76735;font-size:11px;background:#faf0df;padding:3px 7px;border-radius:5px;margin-bottom:8px}.sheet-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;width:100%}.sheet-product-bottom strong{font-size:20px;color:#c2683f;overflow-wrap:anywhere}.buy-button,.explain-button{border:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 16px;border-radius:22px;background:#17634c;color:#fff;font-size:12px;font-weight:600}.stop-explain{background:#f0e7d7;color:#846033}.room-body.float .stage-bottom{display:none}.room-body.float .videos{padding:0}.room-body.float .video-tile:first-child video{object-fit:cover}.room-body.float .video-tile small{display:none}
@media(min-width:800px){.live-bottom-bar{max-width:none}.live-bottom-bar .chat-input{flex:0 1 470px}.live-bottom-bar .sound-icon{margin-left:auto}.stage-bottom .messages{max-height:200px}}
@media(max-width:640px){.room-layout .stage{height:100dvh}.room-layout .video-tile:first-child video{object-fit:cover}.room-layout .stage-bottom{padding:60px 14px max(14px,env(safe-area-inset-bottom))}.stage-bottom .messages{width:82%;max-height:22dvh;margin-bottom:12px}.stage-bottom .message{font-size:13px;padding:5px 10px;margin:5px 0}.stage-bottom .featured{max-width:340px;padding:9px 12px;margin-bottom:10px}.stage-bottom .controls{gap:7px;margin-bottom:10px}.stage-bottom .controls button{padding:7px 9px;font-size:11px}.stage-bottom .controls .check{font-size:11px}.stage-bottom #relay-status{display:none}.live-bottom-bar{gap:8px}.live-bottom-bar .chat-input input{padding:11px 12px;font-size:13px}.live-bottom-bar .chat-input button{padding:9px 7px;min-width:40px;font-size:11px}.live-bottom-bar .product-bag{padding:10px;font-size:12px;gap:4px}.live-bottom-bar .sound-icon{width:34px;height:34px;flex-basis:34px;padding:6px}.product-sheet{padding-left:18px;padding-right:18px;height:66dvh;border-radius:22px 22px 0 0}.sheet-product{gap:12px;padding:18px 0;min-height:130px}.sheet-thumbnail{width:86px;height:86px;flex-basis:86px}.sheet-product-info h3{font-size:14px}.sheet-product-bottom strong{font-size:18px}.buy-button,.explain-button{padding:8px 13px;font-size:12px}.room-layout .video-tile:not(:first-child){width:100px;height:105px;top:85px;right:12px}.room-layout .video-tile:nth-child(3){top:200px}.room-layout .video-tile:nth-child(4){top:315px}.room-layout .video-tile small{top:70px;font-size:10px}.stage-head .host-chip{max-width:75%}.host-chip h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.room-body .notice{bottom:85px;font-size:12px}}
.network-sheet{width:min(640px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:18px;padding:24px;background:#fafcf7;color:#253b2c}.network-sheet::backdrop{background:#0008}.network-sheet h2{font-size:20px;margin:0}.network-sheet p{font-size:13px;line-height:1.7}.network-sheet textarea{font:11px/1.6 monospace;resize:vertical;min-height:200px}.network-sheet .row button{font-size:12px;flex:1;padding:10px}.network-sheet #network-summary{font-weight:600;background:#e8eedf;padding:12px;border-radius:9px}

/* RC4: compact live controls and pre-broadcast quality cards */
[hidden]{display:none!important}.relay-icon.is-on{color:#6ff0c4;background:rgba(17,112,90,.7);box-shadow:inset 0 0 0 1px rgba(111,240,196,.6)}
.quality-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.quality-options label{position:relative;cursor:pointer}.quality-options input{position:absolute;opacity:0;width:1px;height:1px}.quality-options span{display:flex;flex-direction:column;gap:8px;padding:15px 8px;border:1px solid #dce5e0;border-radius:14px;background:#f7faf8;text-align:center;color:#263e34}.quality-options input:checked+span{border-color:#16816b;background:#e8f7f0;box-shadow:0 0 0 1px #16816b}.quality-options input:focus-visible+span{outline:3px solid #80cbb7}.quality-options strong{font-size:14px}.quality-options small{font-size:12px}.gate .card{max-height:90dvh;overflow:auto;width:min(480px,94vw)}
.sheet-thumbnail img,.product-symbol img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.sheet-thumbnail{overflow:hidden}.product-symbol{overflow:hidden;flex-shrink:0}.manage-product-image{width:72px;height:72px;object-fit:cover;border-radius:12px;flex-shrink:0}.upload-preview{width:120px;height:120px;object-fit:cover;border-radius:12px}.image-replace{display:inline-flex;align-items:center;padding:8px;font-size:13px;color:#16816b;cursor:pointer}.image-replace input{width:100px;font-size:11px}.password-card{max-width:620px}.live-bottom-bar .relay-icon{flex-shrink:0}

.logo-avatar{border-radius:50%;overflow:hidden;flex-shrink:0;aspect-ratio:1}.logo-avatar img{width:100%;height:100%;object-fit:cover;display:block}.logo-avatar svg{width:60%;height:60%}.logo-preview{width:88px;height:88px;border-radius:50%;object-fit:cover;background:#edf4ef;border:3px solid #fff;box-shadow:0 0 0 1px #dce8df}.video-tile>small{backdrop-filter:blur(8px);border:1px solid #ffffff18}

.image-field{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.image-field>small{font-size:11px;color:#82938c}.image-picker{position:relative;width:132px;height:132px;border:1.5px dashed #b6cfc3;border-radius:16px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#f9fcfa,#eef5f0);cursor:pointer;transition:border-color .2s,box-shadow .2s}.image-picker:hover,.image-picker:focus-within{border-color:#20836b;box-shadow:0 0 0 3px #16816b15}.image-picker input[type=file]{position:absolute;inset:0;opacity:0;z-index:3;width:100%;height:100%;cursor:pointer;margin:0;padding:0}.image-picker img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.image-empty{display:flex;align-items:center;flex-direction:column;gap:8px;color:#5d8374;font-size:12px}.image-empty b{font-size:30px;font-weight:400}.image-change{position:absolute;bottom:0;left:0;right:0;padding:7px;text-align:center;font-size:11px;color:#fff;background:#173b2dc7;display:none}.image-picker.has-image .image-empty{display:none}.image-picker.has-image .image-change{display:block}.manage-product>.image-field .image-picker{width:90px;height:90px}.manage-product>.image-field>small,.manage-product>.image-field>span:first-child{display:none}.profile-card{max-width:680px}.support-footer{text-align:center;padding:0 20px 32px;color:#6a7f75;font-size:14px}.support-footer a{color:#196e58;text-decoration:none}.manage-product{gap:16px}

/* Keep the room identity and collapse action readable over bright video. */
.stage-head{gap:12px;align-items:flex-start}
.stage-head .host-chip{min-width:0;max-width:calc(100% - 94px);gap:10px;padding:9px 14px 9px 9px;border-radius:30px;background:rgba(0,0,0,.32);border:1px solid #ffffff18;box-shadow:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;text-shadow:0 1px 2px #0005}
.host-chip>div:last-child{min-width:0}.stage-head .host-chip h3{color:#fff;max-width:none;overflow-wrap:anywhere}.stage-head .host-chip small{display:block;color:#fff;line-height:1.5;overflow-wrap:anywhere}
.stage-head #collapse{flex-shrink:0;margin-top:6px;padding:10px 14px;border-radius:24px;background:rgba(0,0,0,.32);border:1px solid #ffffff18;color:#fff;box-shadow:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);text-shadow:0 1px 2px #0005}
.stage-head #collapse:hover{background:rgba(0,0,0,.44)}.stage-head #collapse:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:640px){.stage-head{gap:8px;left:12px;right:12px}.stage-head .host-chip{max-width:calc(100% - 78px);padding:7px 11px 7px 7px;gap:8px;border-radius:26px}.stage-head .host-chip .avatar{width:36px;height:36px}.stage-head #collapse{padding:9px 11px;font-size:12px}.stage-head .host-chip h3{white-space:nowrap;text-overflow:ellipsis}.stage-head .host-chip small{font-size:11px}}

.stage-head .camera-flip{flex-shrink:0;margin-top:6px;width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(0,0,0,.32);border:1px solid #ffffff18;color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.camera-flip svg{width:22px;height:22px}.stage-head .camera-flip:hover{background:rgba(0,0,0,.44)}.stage-head .camera-flip:focus-visible{outline:2px solid #fff;outline-offset:3px}.stage-head .camera-flip[aria-busy=true] svg{opacity:.5}
.stage-actions{display:flex;gap:8px;align-items:flex-start;flex-shrink:0;pointer-events:auto}.stage-head .camera-flip.is-on{color:#b8ffe4;border-color:#b8ffe480;background:rgba(17,100,75,.56)}
.beauty-sheet{position:fixed;inset:auto 0 22px;margin:0 auto;width:min(360px,calc(100% - 28px));max-height:85dvh;overflow:auto;padding:25px;border:1px solid #e2e9e2;border-radius:24px;color:#243c32;background:#fafcf8;box-shadow:0 12px 55px #0003}.beauty-sheet::backdrop{background:#0005}.beauty-sheet h2{font-size:22px;margin-bottom:5px}.beauty-sheet .sheet-header{margin-bottom:24px}.beauty-sheet .sheet-header small{font-size:11px}.beauty-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:24px}.beauty-presets button{padding:12px 5px;border-radius:13px;background:#edf2eb;color:#546b5d;border:1px solid transparent}.beauty-presets button.active{background:#e1f4e9;color:#16634b;border-color:#68af8f}.beauty-range{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;color:#415e4d;font-size:13px;gap:12px}.beauty-range output{font-variant-numeric:tabular-nums;color:#1b7858}.beauty-range input{width:100%;padding:0;accent-color:#21785b;border:0;background:transparent;cursor:pointer;height:24px}.beauty-note{font-size:11px;color:#829286;line-height:1.8;margin:20px 0}.beauty-toggle{width:100%;border-radius:14px;padding:13px}.beauty-toggle[aria-pressed=true]{background:#e8efe7;color:#365b46}
@media(max-width:640px){.stage-head .host-chip{max-width:calc(100% - 96px)}.stage-actions{gap:7px}.stage-head .camera-flip{width:36px;height:36px;padding:7px}.beauty-sheet{bottom:max(14px,env(safe-area-inset-bottom))}}
.beauty-sliders{display:grid;gap:18px}.beauty-sheet .beauty-presets{margin-bottom:22px}.beauty-sheet .beauty-note{margin:18px 0}.beauty-sheet .sheet-header small{display:block;max-width:240px;line-height:1.6}
.call-entry{background:rgba(255,255,255,.94);color:#225b45;border:1px solid #ffffff40;border-radius:18px;padding:8px 12px;font-size:12px}.call-entry svg{width:17px;height:17px}.call-entry #call-badge{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;background:#d55743;color:white;border-radius:50%;font-size:10px}.call-status{width:fit-content;max-width:100%;border-radius:12px;background:#0006;color:#f5f9f1;padding:7px 11px;font-size:12px;line-height:1.6;margin-bottom:10px;backdrop-filter:blur(6px)}
.call-sheet{position:fixed;inset:auto 0 22px;margin:0 auto;width:min(440px,calc(100% - 28px));max-height:85dvh;overflow:auto;background:#fafcf8;color:#243c32;border:1px solid #e2e9e2;border-radius:24px;padding:24px;box-shadow:0 12px 55px #0003}.call-sheet::backdrop{background:#0005}.call-sheet h2{font-size:22px;margin-bottom:6px}.call-sheet .sheet-header{align-items:flex-start}.call-sheet .sheet-header small{font-size:11px;line-height:1.6;color:#7f8b80}.call-hint{font-size:13px;line-height:1.8;color:#5f7566;margin:18px 0}.call-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.call-mode-options>button{display:flex;flex-direction:column;background:#edf4ee;color:#24563e;padding:22px 8px;border-radius:16px;border:1px solid #dfe9df;gap:12px}.call-mode-options>button:hover{background:#e2f0e6}.call-mode-options svg{width:30px;height:30px}.call-mode-options strong{font-size:15px}.call-mode-options small{font-size:11px;color:#809383;font-weight:400}.call-wide{width:100%;border-radius:14px;margin-top:12px}.call-person{background:white;border:1px solid #e0e9df;border-radius:15px;padding:15px;margin-bottom:10px;display:grid;gap:13px}.call-person strong{font-size:14px;display:block;overflow-wrap:anywhere}.call-person small{display:block;color:#879185;font-size:11px;margin-top:6px}.call-actions{display:flex;gap:8px}.call-actions button{padding:8px 15px;font-size:12px;border-radius:10px;min-width:70px}.call-empty{text-align:center;padding:30px 0;color:#91a18f;font-size:13px}.call-sheet #approvals{max-height:53dvh;overflow:auto}.call-voice-card{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(140deg,#264c3c,#122d25);color:#e2f5e4;padding:12px}.call-voice-card b{font-size:24px;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;background:#ffffff17}.call-voice-card span{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-tile.audio-only>video{opacity:0}.video-tile.audio-only>small{display:none}.call-voice-card small{position:static!important;background:none!important;padding:0!important;opacity:1!important;border:0!important;color:#aecbb7;font-size:10px}
@media(max-width:640px){.call-sheet{bottom:max(14px,env(safe-area-inset-bottom));padding:22px}.call-voice-card{gap:5px;padding:7px}.call-voice-card b{width:34px;height:34px;font-size:18px}.call-voice-card span{font-size:11px}.call-status{font-size:11px}.stage-bottom .controls .call-entry{font-size:12px;padding:8px 11px}}

/* RC6.9 display fix: fill guest video tiles and give callers a little more room. */
.room-layout .video-tile:not(:first-child){width:210px;height:150px;top:95px;right:22px;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0003}
.room-layout .video-tile:not(:first-child) video{object-fit:cover;object-position:center;display:block}
.room-layout .video-tile:nth-child(3){top:257px}
.room-layout .video-tile:nth-child(4){top:419px}
.room-layout .video-tile:not(:first-child)>small{top:auto;bottom:8px;left:8px;max-width:calc(100% - 16px);font-size:10px}
@media(max-width:640px){.room-layout .video-tile:not(:first-child){width:112px;height:120px;top:85px;right:12px}.room-layout .video-tile:nth-child(3){top:215px}.room-layout .video-tile:nth-child(4){top:345px}}
.domain-card{max-width:780px;margin-top:24px}.domain-card h2{margin-bottom:10px}.domain-dns{margin:22px 0}.domain-dns h3{font-size:15px}.domain-dns p{font-size:12px;line-height:1.8}.domain-record{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px 14px;padding:14px 16px;border:1px solid #dfe8df;background:#f6f9f3;border-radius:12px;margin-bottom:10px}.domain-record b{font-size:12px;color:#37694d}.domain-record code{font:12px/1.7 monospace;overflow-wrap:anywhere;user-select:all}.domain-record code:last-child{grid-column:2;color:#687e6c}.domain-message{padding:13px 16px;border-radius:11px;background:#edf2e7;color:#607451;font-size:13px;line-height:1.7}.domain-message.error{background:#fff1e8;color:#a35c37}.domain-live-url{padding:14px;background:#eaf5ed;border-radius:12px;overflow-wrap:anywhere}.domain-admin-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #e2e9df}.domain-admin-row strong{font-size:14px;overflow-wrap:anywhere}.domain-admin-row small{display:block;color:#81907e;font-size:12px;line-height:1.8;margin-top:7px}.domain-admin-row button{flex-shrink:0;font-size:12px;padding:9px 14px}#domain-search{margin:14px 0}
