*{box-sizing:border-box}body{margin:0;background:#171b1a;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:white}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #c5b495;outline-offset:3px}.room{position:relative;width:min(100vw, calc(100dvh * 9 / 16));height:100dvh;aspect-ratio:9/16;overflow:hidden;background:#9b9988;margin:auto}.scene,.shade,video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scene{background:linear-gradient(115deg,#b8b6a4,#8d9383 55%,#636f62)}.orb{position:absolute;width:80%;height:45%;border-radius:50%;background:#d7d2b9;filter:blur(2px);left:-35%;top:11%;box-shadow:30px 25px 90px #e5dec194}.table{position:absolute;bottom:0;height:34%;width:150%;left:-20%;background:linear-gradient(155deg,#9e7858,#5b493b);transform:rotate(-8deg);box-shadow:0 -10px 90px #434d3e66}.vase{position:absolute;right:12%;bottom:27%;height:30%;width:31%;background:linear-gradient(95deg,#b6b19a,#f4ead3 45%,#b6ad95);border-radius:24% 24% 40% 40%;transform:rotate(8deg);box-shadow:20px 15px 35px #29352c55}.vase:before{content:'';position:absolute;left:25%;top:-20%;height:28%;width:50%;background:linear-gradient(90deg,#c0b69d,#e9dec5);border-radius:10px 10px 0 0}.scene-copy{position:absolute;left:10%;top:28%;font-family:serif;font-size:clamp(34px,7vw,54px);line-height:1.45;letter-spacing:8px;color:#f9f4e5}.scene-copy span{display:block;font:11px sans-serif;letter-spacing:4px;margin-top:22px}video{display:none;background:#222}.shade{pointer-events:none;background:linear-gradient(#0004,transparent 35%,#0002 55%,#000b)}header{position:absolute;top:max(18px,env(safe-area-inset-top));left:16px;right:16px;display:flex;align-items:center;justify-content:space-between}.host{display:flex;align-items:center;background:#292e2859;border:1px solid #ffffff12;border-radius:30px;padding:5px;gap:8px;backdrop-filter:blur(12px)}.avatar{width:36px;height:36px;background:#e6dfcc;color:#665e4d;display:grid;place-items:center;border-radius:50%;font-family:serif;font-size:21px}.host strong{font-size:12px}.host small{display:block;font-size:8px;opacity:.7;margin-top:4px}.host button{background:#e8ddc4;color:#413e32;border-radius:20px;font-size:11px;padding:9px 12px;margin-left:8px}.close{background:#0002;border-radius:50%;font-size:24px;width:30px;height:30px}.status{position:absolute;top:79px;left:23px;font-size:10px;color:#fffD;display:flex;gap:6px;align-items:center}.live-dot{height:5px;width:5px;border-radius:50%;background:#d7eab2}.divider{opacity:.4;margin:0 4px}.notice{position:absolute;top:110px;left:18px;font-size:10px;border:1px solid #ffffff25;border-radius:20px;padding:8px 12px;background:#ffffff12}.assistant{position:absolute;right:15px;top:44%;width:43px;height:54px;border:1px solid #ffffff55;background:#26382c77;backdrop-filter:blur(8px);border-radius:16px;font-size:22px;z-index:2}.assistant small{display:block;font-size:9px}.chat{position:absolute;bottom:180px;left:18px;right:62px;max-height:21%;overflow:auto;scrollbar-width:none;mask-image:linear-gradient(transparent,#000 18%);padding-top:18px;font-size:11px}.message{padding:5px 8px;background:#20251f55;border-radius:7px;width:fit-content;margin:5px 0;line-height:1.6;overflow-wrap:anywhere}.message span{color:#e7d1a7;margin-right:7px}.message.entry{background:transparent;color:#e6dbbf;font-size:10px}.product-teaser{position:absolute;left:16px;right:16px;bottom:calc(76px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;padding:10px;background:#f4f0e8f2;color:#393a31;border-radius:13px}.product-art{width:51px;height:56px;background:#ddd4c2;border-radius:8px;display:grid;place-items:center;font:42px serif;color:#8d7d62}.product-teaser small{display:block;font-size:9px;color:#928570}.product-teaser strong{display:block;font-size:12px;margin:5px 0}.product-teaser span{font-size:15px;color:#9b503a}.product-teaser del{font-size:9px;color:#999;margin-left:6px}.product-teaser button{margin-left:auto;background:#343e32;border-radius:20px;font-size:10px;padding:10px 13px;color:#f3ead7}footer{position:absolute;bottom:calc(20px + env(safe-area-inset-bottom));left:16px;right:16px;display:flex;align-items:center;gap:12px}footer form{display:flex;flex:1;min-width:0;background:#ffffff20;border:1px solid #ffffff18;border-radius:25px;padding:4px}footer input{background:none;border:0;min-width:0;width:100%;color:white;font-size:11px;padding:9px}input::placeholder{color:#fffb}footer form button{border-radius:50%;background:#ffffff22;width:29px;flex-shrink:0}footer>button{background:none;padding:0}.cart{font-size:28px;position:relative;color:#e5c182}.cart b{position:absolute;right:-5px;top:0;font-size:8px;background:#e4bf78;color:#463c2d;border-radius:8px;padding:2px 4px}.like{font-size:27px;color:#e8d6c2}.like small{display:block;font-size:8px;margin-top:-3px}.more{font-size:16px}.watermark{position:absolute;right:18px;top:155px;font-size:8px;letter-spacing:3px;opacity:.4;writing-mode:vertical-rl}.backdrop{position:fixed;inset:0;background:#0007;z-index:5;backdrop-filter:blur(3px)}.sheet{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);max-height:82dvh;overflow:auto;background:#f8f6ef;color:#303b32;border-radius:24px 24px 0 0;z-index:6;padding:10px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -20px 70px #0004}.handle{height:4px;width:36px;background:#d9d9cf;border-radius:3px;margin:0 auto 20px}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.sheet-head small{font-size:8px;letter-spacing:3px;color:#8a9485}h2{font-size:23px;margin:6px 0}.sheet-head button{font-size:26px;background:#eaece4;border-radius:50%;height:32px;width:32px}.tabs{display:flex;gap:4px;background:#eaece3;padding:4px;border-radius:12px;margin-bottom:18px}.tabs button{flex:1;padding:9px 0;border-radius:9px;background:none;font-size:12px;color:#73806e}.tabs button.active{background:#fff;color:#344e3c;box-shadow:0 2px 5px #0001}.field{display:block;font-size:11px;margin:14px 0 7px;color:#75806f}.sheet input,.sheet textarea,.sheet select{width:100%;padding:12px;border:1px solid #dddED5;background:white;color:#303b32;border-radius:10px;font-size:13px}.sheet textarea{height:95px;resize:vertical}.primary,.secondary{border-radius:10px;padding:13px 16px;font-size:12px}.primary{background:#3d5141;color:white}.secondary{background:#e9ecdf;color:#4b5c46}.actions{display:flex;gap:8px;margin-top:14px}.actions>*{flex:1}.hint{font-size:11px;color:#939988;line-height:1.7}.metrics{display:flex;gap:10px;margin-bottom:16px}.metric{flex:1;background:#eaece2;border-radius:12px;padding:13px;font-size:10px;color:#7b8671}.metric b{display:block;font-size:24px;color:#354b39;margin-top:4px}.user{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e6e8df;font-size:12px}.user button{background:#eaece2;border-radius:8px;padding:7px;color:#64735e;font-size:11px}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#17281ee8;padding:12px 20px;border-radius:12px;z-index:9;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90%;text-align:center}.toast.show{opacity:1}.hearts{position:absolute;right:29px;bottom:85px;pointer-events:none}.heart{position:absolute;color:#ecac99;font-size:28px;animation:rise 1.3s ease-out forwards}@keyframes rise{to{transform:translate(var(--x),-220px) rotate(25deg);opacity:0}}[hidden]{display:none!important}@media(max-width:540px){.room{width:100%;height:100dvh;aspect-ratio:auto}}@media(prefers-reduced-motion:reduce){.heart{animation-duration:.1s}}

.quick-replies{display:grid;gap:8px}.quick-row{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:8px}.quick-row input{min-width:0}.quick-row button{touch-action:manipulation;font-size:11px;padding:10px 6px}.quick-result{padding:12px;background:#e9eedf;border-radius:10px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.panel-divider{border:0;border-top:1px solid #e1e5d8;margin:22px 0}

/* Compact assistant: keep the upper live picture visible. */
.sheet.compact-assistant{max-height:58dvh;padding:8px 16px calc(12px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.compact-assistant .handle{margin-bottom:8px}.compact-assistant .sheet-head{margin-bottom:8px}.compact-assistant .sheet-head small{display:none}.compact-assistant h2{font-size:17px;margin:0}.compact-assistant .sheet-head button{height:28px;width:28px;font-size:22px}.compact-assistant .metrics{gap:6px;margin-bottom:8px}.compact-assistant .metric{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:8px;gap:6px}.compact-assistant .metric b{font-size:14px!important;margin:0;padding:0!important;white-space:nowrap}.compact-assistant .tabs{margin-bottom:9px}.compact-assistant .tabs button{padding:7px 0}.compact-assistant .field{margin:7px 0 5px}.compact-assistant select{padding:8px 10px;font-size:12px}.quick-heading{font-size:12px;margin:10px 0 7px;display:flex;justify-content:space-between}.quick-heading small{font-size:10px;color:#909985}.compact-assistant .quick-replies{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.compact-assistant .quick-row{display:block;min-width:0}.compact-assistant .quick-row button{width:100%;min-height:36px;padding:8px 10px;border-radius:8px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-details{border-top:1px solid #e1e5d8;margin-top:8px;padding-top:8px}.compact-details summary{cursor:pointer;font-size:11px;color:#66775f;padding:4px 0;min-height:26px}.quick-editor{display:flex;align-items:center;gap:8px;margin:6px 0}.quick-editor span{font-size:10px;color:#8b967f}.quick-editor input{min-width:0;padding:8px}.compact-assistant .quick-result{font-size:10px;margin:8px 0;padding:7px 9px;line-height:1.5}.backdrop{background:#0002;backdrop-filter:none}@media(max-height:650px){.sheet.compact-assistant{max-height:64dvh}}

/* Translucent assistant surface; retain legible controls over video. */
.sheet.compact-assistant{background:rgba(248,246,239,.78);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);border:1px solid rgba(255,255,255,.48);border-bottom:0}
.compact-assistant .metric,.compact-assistant .tabs,.compact-assistant .secondary{background:rgba(233,236,223,.76)}
.compact-assistant .tabs button.active{background:rgba(255,255,255,.85)}
.compact-assistant input,.compact-assistant textarea,.compact-assistant select{background:rgba(255,255,255,.8)}
.compact-assistant .quick-result{background:rgba(233,238,223,.8);color:#354b39}
.compact-assistant .hint,.compact-assistant .field,.compact-assistant .quick-heading small{color:#58664f}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.sheet.compact-assistant{background:rgba(248,246,239,.94)}}

/* Assistant-only pinned live comments; restore frosted panel. */
.sheet.compact-assistant{background:rgba(248,246,239,.78);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);color:#303b32;text-shadow:none;overflow:hidden;display:flex;flex-direction:column}
.compact-assistant #sheetBody{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.compact-assistant .handle,.compact-assistant .sheet-head{flex-shrink:0}
.compact-assistant .assistant-chat{position:relative;inset:auto;flex-shrink:0;order:-1;max-height:86px;min-height:34px;overflow-y:auto;margin:0 0 8px;padding:6px 8px;mask-image:none;background:rgba(29,43,33,.78);border-radius:10px;color:#fff;font-size:11px}
.assistant-chat:empty::before{content:'暂无弹幕，发送互动后在这里显示';color:#d6dfd2;font-size:11px}
.compact-assistant .assistant-chat .message{margin:3px 0;padding:3px 6px}
.compact-assistant .assistant-chat .message.entry{color:#e6dbbf}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.sheet.compact-assistant{background:rgba(248,246,239,.94)}}

/* Assistant preview: five consistent rows, with history available by scrolling. */
.compact-assistant .assistant-chat{height:150px;min-height:150px;max-height:150px;padding:5px 8px;scrollbar-width:thin}
.compact-assistant .assistant-chat .message{height:28px;min-height:28px;line-height:22px;margin:0;padding:3px 6px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-assistant .assistant-chat:empty{height:34px;min-height:34px;max-height:34px}

/* Bottom-right product card and cart after likes. */
.room>.product-teaser{left:auto;right:14px;bottom:calc(82px + env(safe-area-inset-bottom));width:124px;padding:8px;display:flex;flex-direction:column;align-items:stretch;gap:7px;border:1px solid #ffffff55;box-shadow:0 5px 24px #0002;border-radius:12px}
.room>.product-teaser .product-art{width:100%;height:76px;font-size:52px;flex-shrink:0}
.room>.product-teaser small{font-size:9px}.room>.product-teaser strong{font-size:11px;line-height:1.5;margin:3px 0}.room>.product-teaser button{margin:0;width:100%;padding:8px 0;border-radius:7px}
.room>.chat:not(.assistant-chat){right:150px;bottom:calc(86px + env(safe-area-inset-bottom));max-height:25%}
footer .cart{width:32px;height:38px;flex-shrink:0;color:#ffd15a;display:flex;align-items:center;justify-content:center}footer .cart svg{display:block}footer .cart b{background:#ffd15a;color:#3e3525;top:-1px;right:-3px;min-width:14px;text-align:center}
footer .like{flex-shrink:0;width:29px}footer .more{flex-shrink:0}.hearts{right:84px}

/* Product drawer: compact shopping list independent of assistant. */
.sheet.cart-sheet{height:min(54dvh,460px);max-height:76dvh;background:#f6f6f6;padding:10px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;border-radius:20px 20px 0 0;overflow:hidden;color:#242824}.cart-sheet .handle{margin-bottom:14px}.cart-sheet .sheet-head{margin-bottom:14px}.cart-sheet .sheet-head small{display:none}.cart-sheet h2{font-size:18px;margin:0}.cart-sheet .sheet-head button{height:28px;width:28px;background:#eaeaea;font-size:22px}.cart-sheet #sheetBody{display:flex;flex-direction:column;min-height:0;flex:1}.shop-tabs{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e7e7;padding-bottom:12px;font-size:13px}.shop-tabs .selected{font-weight:600;position:relative}.shop-tabs .selected:after{content:'';position:absolute;height:3px;width:25px;background:#a66140;bottom:-13px;left:0;border-radius:3px}.shop-tabs b{font-weight:400;font-size:11px;color:#858a83;margin-left:3px}.shop-caption{font-size:10px;color:#94978e}.shop-list{overflow-y:auto;flex:1;padding-top:16px;min-height:0}.shop-item{display:flex;gap:12px;background:white;padding:10px;border-radius:12px}.shop-cover{position:relative;align-self:flex-start;flex:0 0 104px;height:121px;background:linear-gradient(135deg,#eee8db,#d9cdb5);border-radius:8px;overflow:hidden}.shop-cover svg{display:block;width:100%;height:108px}.shop-number{position:absolute;left:0;top:0;background:#343c32bd;color:white;font-size:10px;border-radius:0 0 6px 0;padding:3px 6px}.explaining{position:absolute;bottom:0;width:100%;height:21px;background:#455b43;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;gap:5px}.explaining i{width:4px;height:9px;background:#e1cc9a;box-shadow:3px -2px #e1cc9a,-3px 2px #e1cc9a}.shop-info{flex:1;min-width:0}.shop-brand{font-size:8px;letter-spacing:2px;color:#95998d}.shop-info h3{font-size:14px;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}.shop-spec{font-size:10px;color:#8b8e85;margin:0 0 7px}.shop-tags{display:flex;gap:4px;flex-wrap:wrap}.shop-tags span{font-size:9px;padding:2px 4px;background:#f4f1e9;color:#97825c;border-radius:3px}.shop-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:4px;margin-top:12px}.shop-price{color:#ac5639;font-size:24px;font-weight:600;white-space:nowrap;line-height:1}.shop-price small{font-size:12px;margin-right:2px}.shop-price del{font-size:10px;color:#a7a9a1;font-weight:400;margin-left:5px}.shop-buy{border-radius:20px;padding:9px 12px;background:#ac6344;color:white;font-size:11px;flex-shrink:0}.shop-end{font-size:10px;text-align:center;color:#a4a79e;margin:25px 0}.shop-service{display:flex;justify-content:space-between;padding-top:12px;border-top:1px solid #e7e7e7;color:#92988c;font-size:10px;gap:8px}.shop-empty{text-align:center;padding:25px 0;color:#899181}.shop-empty>span{font-size:32px}.shop-empty h3{font-size:14px}.shop-empty p{font-size:11px}.product-detail{overflow:auto;padding:15px 5px}.detail-label{font-size:11px;color:#8a917e}.product-detail h3{font-size:22px}.detail-price{font-size:30px;color:#ac5639}.detail-price del{font-size:13px;color:#999}.product-detail p{font-size:13px;line-height:1.8}@media(max-width:350px){.shop-cover{flex-basis:85px}.shop-item{gap:8px;padding:8px}.shop-price{font-size:20px}.shop-buy{padding:9px}.shop-price del{display:none}}

/* Live commerce layout: dense header, clear actions, vivid likes. */
.host{padding:4px;background:#16171c80;border:0;gap:7px}.avatar{width:34px;height:34px}.host strong{font-size:13px}.host small{font-size:9px}.host button{background:#ff365d;color:white;padding:8px 12px;font-weight:600}.status{background:#16171c50;padding:5px 9px;border-radius:20px;top:76px;left:16px;font-size:10px}.live-dot{background:#ff416b;box-shadow:0 0 6px #ff416b}.notice{top:112px;padding:6px 10px;background:#17182055;border:0;font-size:10px}.close{background:#15161c55}.assistant{top:39%;border-radius:22px;background:#17182070;border:1px solid #ffffff35;width:40px;height:50px}.shade{background:linear-gradient(#0005,transparent 24%,transparent 46%,#0009)}
footer{gap:12px;bottom:calc(16px + env(safe-area-inset-bottom))}footer form{background:#20202788;border:0;padding:5px}footer input{font-size:12px;padding:8px}footer input::placeholder{color:#fffc}footer .like{color:#fff;font-size:30px}footer .like small{font-size:10px;margin-top:-2px;color:#fff}.more{color:white}
.room>.product-teaser{width:116px;padding:6px;background:#fff;border:0;box-shadow:0 6px 24px #0003;right:12px;bottom:calc(79px + env(safe-area-inset-bottom));gap:5px;border-radius:9px}.room>.product-teaser .product-art{height:70px;border-radius:5px;background:linear-gradient(135deg,#eee8db,#cabb9e);color:#8d7d62}.room>.product-teaser small{font-size:9px;color:#ff365d;font-weight:600}.room>.product-teaser strong{font-size:11px;margin:2px 0}.room>.product-teaser span{color:#f53658;font-size:17px;font-weight:700}.room>.product-teaser del{font-weight:400}.room>.product-teaser button{background:#ff365d;color:white;font-size:11px;font-weight:600;padding:7px}.room>.chat:not(.assistant-chat){right:140px;font-size:12px;max-height:28%;bottom:calc(82px + env(safe-area-inset-bottom))}.room>.chat:not(.assistant-chat) .message{background:#17182066;border-radius:8px;line-height:1.6}.message span{color:#e5d4ff}.message.entry{color:#eee0ff}
.hearts{right:83px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:3}.heart{font-family:Arial,sans-serif;line-height:1;filter:drop-shadow(0 2px 3px #bc315333);will-change:transform,opacity;animation:heart-float var(--duration,2.2s) ease-out forwards;transform-origin:center;pointer-events:none}
@keyframes heart-float{0%{transform:translate(-12px,0) scale(.35) rotate(-12deg);opacity:0}12%{opacity:1;transform:translate(0,-25px) scale(1.15) rotate(8deg)}35%{transform:translate(var(--drift),calc(var(--travel) * -.35)) scale(1) rotate(-10deg);opacity:.95}65%{transform:translate(var(--x),calc(var(--travel) * -.65)) scale(.9) rotate(15deg);opacity:.8}100%{transform:translate(var(--drift),calc(var(--travel) * -1)) scale(.55) rotate(var(--turn));opacity:0}}
.like-pop{animation:like-pop .3s ease-out}@keyframes like-pop{40%{transform:scale(1.3);color:#ff426e}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.heart{animation-duration:.12s}.like-pop{animation:none}}

/* Compact product drawer: keep only the shopping essentials. */
.room>.product-teaser{cursor:pointer}.room>.product-teaser:focus-visible{outline:2px solid #ffd15a;outline-offset:3px}.room>.product-teaser .product-cta{display:block;text-align:center;background:#ff365d;color:#fff;font-size:11px;font-weight:600;padding:7px;border-radius:7px;margin:0;width:100%}
.sheet.cart-sheet{height:auto;max-height:65dvh;padding:8px 14px calc(14px + env(safe-area-inset-bottom));background:#fff}.cart-sheet .handle{margin-bottom:10px}.cart-sheet .sheet-head{margin-bottom:8px}.cart-sheet h2{font-size:16px}.cart-sheet #sheetBody{flex:0 1 auto}.cart-sheet .shop-list{padding-top:0;flex:0 1 auto}.cart-sheet .shop-item{padding:4px 0;gap:12px;border-radius:0}.cart-sheet .shop-cover{flex-basis:96px;height:106px}.cart-sheet .shop-cover svg{height:95px}.cart-sheet .shop-info{display:flex;flex-direction:column;justify-content:space-between;padding:2px 0}.cart-sheet .shop-info h3{font-size:16px;font-weight:650;margin:0 0 5px}.cart-sheet .shop-spec{font-size:11px;margin:0;color:#81817b}.cart-sheet .shop-bottom{margin-top:10px;align-items:center}.cart-sheet .shop-price{font-size:28px;color:#f53658}.cart-sheet .shop-price small{font-size:14px}.cart-sheet .shop-buy{background:#ff365d;border-radius:8px;font-size:12px;font-weight:600;padding:11px 14px}.cart-sheet .shop-empty{padding:20px 0}.cart-sheet .product-detail{padding:8px 0}.cart-sheet .product-detail h3{margin:8px 0}.cart-sheet .product-detail p{margin:7px 0}
