picture{display:contents}#pet-btn img{height:auto;aspect-ratio:1}.pet-button::before{background-image:var(--pet-sprite,none)}
.mobile-only,#mobile-chat-toggle{display:none}#dialog-actions[hidden]{display:none}.animations-paused *,body.animations-paused *::before,body.animations-paused *::after{animation-play-state:paused!important}
@media(max-width:760px),(max-width:1024px) and (pointer:coarse){
 :root{--vv-height:100dvh;--vv-top:0px;--vv-bottom:0px;--h5-scene-height:330px;--dock-height:calc(72px + env(safe-area-inset-bottom,0px));--nav-height:54px}
 .mobile-only{display:flex}.app{padding:env(safe-area-inset-top,0px) 14px 0}.topbar{height:56px;gap:8px;position:sticky;top:env(safe-area-inset-top,0px);z-index:35;background:#f3f5ebf5;backdrop-filter:blur(10px)}.brand{gap:7px}.brand-mark{height:32px;width:30px}.brand b{font-size:20px}.brand small{font-size:9px}.top-actions{gap:4px}.demo-button{width:44px;height:44px;padding:0;justify-content:center;background:none;color:var(--forest)}.demo-button span{display:none}.demo-button svg{width:19px;height:19px}.demo-button::after{content:'导览';font-size:11px}.demo-button{flex-direction:column;gap:2px}
 #mobile-sim-badge{align-items:center;justify-content:center;min-height:44px;background:none;padding:4px 7px;font-size:12px;color:#766442;border-radius:7px}#mobile-sim-badge::before{content:'✦';margin-right:4px;color:#ac9260}.phase-notice{display:none}.identity-bar{padding:4px 0 0;flex-direction:row;align-items:center;gap:8px;min-height:44px;font-size:12px}.identity-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.identity-bar>div{flex-wrap:nowrap;gap:4px}.identity-bar button{font-size:0;min-width:44px;min-height:44px;padding:0 9px;border:none;background:none!important;color:var(--forest)!important}#identity-btn::after{content:'锁定';font-size:12px}.is-locked #identity-btn::after,.is-visitor #identity-btn::after{content:'验证'}#visitor-btn::after{content:'游客';font-size:12px}
 .intro{padding:8px 0 10px}.intro h1{font-size:24px;line-height:1.4;margin:0}.intro p,.breadcrumb,.intro-note{display:none}.workspace{display:block}.world{border-radius:17px;width:100%}.world-top{height:40px;padding:0 13px}.world-top>span:first-child{font-size:14px}.world-hint{font-size:11px}.back-button{min-width:44px;min-height:44px;font-size:12px}.scene:not(.tea-view),.scene.tea-view,.is-visitor .scene:not(.tea-view){height:var(--h5-scene-height)}
 .scene-foot{padding:6px 12px 8px;min-height:28px;font-size:12px}.scene-foot svg{width:15px;height:15px}.home-map{padding:0 12px;gap:12px;margin-top:4px}.home-map .room{height:calc((var(--h5-scene-height) - 123px)/2);min-height:85px;border-radius:9px}.room-caption{left:10px;right:10px;bottom:10px}.room-caption b{font-size:18px}.room-caption small{display:none}.room-caption em{font-size:11px}.room-icon{width:28px;height:28px;top:9px;right:12px}.room-tea .room-caption{padding:7px;left:5px;right:5px;bottom:5px}.room-tea .room-caption b{font-size:17px}.room-tea .room-caption em{padding:5px;bottom:8px;font-size:9px}
 .private-gate{top:8px;max-width:340px;padding:12px 16px;width:calc(100% - 24px)}.gate-emblem{display:none}.private-gate h2{font-size:20px;margin:1px 0 7px}.private-gate p{font-size:12px;line-height:1.7;margin-bottom:10px}.private-gate .primary-button{min-height:44px;font-size:14px;width:100%}.gate-visitor{min-height:44px;padding:8px 0 0;font-size:12px}.private-gate small{font-size:11px;margin-top:3px}.companion{width:84px;margin-left:-42px}.pet-button{min-height:84px}.pet-name{font-size:11px}.pet-name span{font-size:9px}.pet-bubble{font-size:12px!important;line-height:1.65;padding:8px 10px}
 .tea-hotspot{min-width:44px;min-height:44px}.tea-hotspot span{font-size:12px;white-space:nowrap}.table-hotspot{min-width:80px;min-height:44px;padding:8px 10px;font-size:12px;top:70%;left:59%}.art-note{font-size:10px;max-width:calc(100% - 12px);white-space:normal;text-align:center;padding:4px 6px;z-index:0}.empty-shelf{padding:9px 10px;min-height:49px;gap:7px;flex-wrap:nowrap}.empty-shelf b{font-size:13px;flex:1}.empty-shelf span{display:none}.empty-shelf button{width:auto;min-height:44px;padding:8px 10px;font-size:12px}.tea-selector{padding:0 10px 9px;gap:6px}.tea-choice{min-height:48px;padding:8px}.tea-choice b{font-size:13px}.tea-choice small{font-size:11px;max-width:none}.tea-chip{width:11px;height:18px;right:7px;top:9px}
 main{padding-bottom:calc(var(--dock-height) + 70px)}.lower-strip,main>footer{display:none}.business-nav{position:fixed;left:0;right:0;bottom:calc(var(--vv-bottom) + var(--dock-height));height:var(--nav-height);z-index:25;margin:0;border-radius:0;border:0;border-top:1px solid #d3ddc5;background:#f7f9f0f5;backdrop-filter:blur(12px);padding:0 8px}.business-nav button{height:54px;min-height:44px;padding:5px 8px;align-items:center;justify-content:center;flex-direction:row;gap:7px;font-size:14px;border:none}.business-nav svg{width:18px;height:18px}.business-nav small{display:none}.chat-open .business-nav,.business-open .business-nav{visibility:hidden;pointer-events:none}
 .assistant-panel{position:fixed;z-index:30;left:0;right:0;bottom:var(--vv-bottom);width:100%;height:var(--dock-height);margin:0;padding:0 12px env(safe-area-inset-bottom,0px);border-radius:18px 18px 0 0;border:1px solid #cbd7bc;background:#fafbf6f5;backdrop-filter:blur(14px);box-shadow:0 -5px 24px #314d4010;overflow:hidden;display:flex;flex-direction:column}.assistant-panel .assistant-header,.assistant-panel .chat-messages,.assistant-panel .quick-prompts,.assistant-panel .chat-note,.assistant-panel #voice-slot{display:none}.assistant-panel .chat-form{height:52px;min-height:52px;margin:9px 0 10px;padding:3px;border-radius:12px;flex-shrink:0;background:#fff}.chat-form input{font-size:16px!important;padding:8px 5px;min-width:0}.chat-form button{width:44px;height:44px;min-height:44px;min-width:44px;border-radius:9px}.chat-form button#mobile-chat-toggle{display:grid;background:#e6edd9;color:var(--forest);position:relative}.chat-form #mobile-chat-toggle img{width:35px;height:35px;object-fit:contain}#mobile-chat-toggle::after{content:'⌃';position:absolute;font-size:11px;right:1px;bottom:0}.chat-open #mobile-chat-toggle::after{content:'⌄'}
 .chat-open .assistant-panel{height:clamp(190px,calc(var(--vv-height)*.46),390px);border-radius:18px 18px 0 0}.chat-open .assistant-panel .assistant-header{display:flex;flex-shrink:0;min-height:49px;padding:4px 0;border-bottom:1px solid var(--line);gap:7px}.assistant-header .avatar{width:31px;height:31px}.assistant-header h2{font-size:15px;margin:0}.assistant-header p{display:none}.assistant-header .sim-badge{display:inline-block;font-size:11px;margin-left:0;padding:4px 5px}.assistant-header #voice-slot{display:block;font-size:12px;min-width:44px;height:44px;margin:0;padding:4px;align-self:center;margin-left:auto}.assistant-header #mobile-chat-close{display:grid;width:44px;height:44px;background:none;padding:0;place-items:center;flex-shrink:0;margin-left:auto}.assistant-header #voice-slot+#mobile-chat-close{margin-left:0}
 .chat-open .assistant-panel .chat-messages{display:block;min-height:0;flex:1;padding:10px 0 3px;overscroll-behavior:contain}.chat-open .assistant-panel .quick-prompts{display:flex;flex-wrap:nowrap;overflow-x:auto;flex-shrink:0;min-height:44px;gap:6px;margin:4px 0}.quick-prompts button{min-height:44px;font-size:12px;white-space:nowrap;padding:8px 9px}.message{font-size:14px;line-height:1.8}.message-action{font-size:13px;min-height:44px}.message .speaker{font-size:11px}.business-open .assistant-panel{visibility:hidden;pointer-events:none}
 dialog[open]{display:flex;flex-direction:column;position:fixed;inset:auto 0 var(--vv-bottom);width:100%;max-width:100%;max-height:calc(var(--vv-height) - 8px);height:auto;margin:0;border-radius:20px 20px 0 0;border-bottom:0;min-height:160px;overflow:hidden}.dialog-header{flex-shrink:0;position:relative;top:auto;padding:10px 14px;min-height:66px;gap:8px}.dialog-heading{min-width:0}.dialog-heading h2{font-size:18px;line-height:1.4}.dialog-heading span{font-size:12px;line-height:1.5;display:block}.dialog-heading img{width:36px;height:36px}.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}#dialog-content{flex:1;min-height:0;padding:14px 16px 18px;overflow-y:auto;overscroll-behavior:contain;scroll-padding:12px;font-size:15px;line-height:1.8}#dialog-actions{flex-shrink:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #d6dfca;background:#fafbf6}#dialog-actions .action-row{margin:0;gap:8px;display:flex;flex-wrap:wrap}#dialog-actions>button{width:100%}.action-row button,#dialog-actions button{min-height:44px;white-space:normal;line-height:1.6;font-size:14px}.action-row button{flex:1 1 120px}.field input,.field textarea,.field select{font-size:16px!important;min-height:44px}.consent{font-size:14px;min-height:44px;align-items:flex-start}.consent input{width:22px;height:22px;margin:3px 0 0}.notice{font-size:13px;line-height:1.8;padding:9px 12px;margin-bottom:14px}.catalog-meta{font-size:12px}.catalog-card .primary-button,.catalog-favorite{min-height:44px;font-size:14px}.order-card p,.purchase-record p{font-size:14px}.secondary-button,.primary-button{min-height:44px;font-size:14px}.voice-slot{min-height:44px}.receipt-link{display:inline-block;min-height:44px;padding:9px 5px}.public-items img{height:160px}.visitor-gallery{margin-top:15px}.public-note p{font-size:14px}
 .toast{bottom:calc(var(--vv-bottom) + var(--dock-height) + 60px);z-index:60;font-size:13px;max-width:calc(100% - 32px);line-height:1.6}.tour-panel{bottom:calc(var(--vv-bottom) + var(--dock-height) + 60px);z-index:35;max-height:calc(var(--vv-height) - 160px);overflow:auto;width:calc(100% - 28px);right:14px;padding:16px}.tour-panel button{min-height:44px}
}
@media(max-height:500px) and (pointer:coarse){.intro{padding:3px 0 5px}.intro h1{font-size:20px}.topbar{height:48px}.identity-bar{min-height:40px}.chat-open .assistant-panel .quick-prompts{display:none}.chat-open .assistant-panel{height:calc(var(--vv-height)*.49)}.private-gate p,.private-gate small{display:none}.private-gate h2{font-size:18px}.private-gate{max-width:380px}.gate-visitor{font-size:12px}.scene:not(.tea-view),.scene.tea-view{min-height:230px}}
