#menuToggle,#actionsToggle{position:fixed;z-index:24;background:#263e35f5;color:#f5e2b7;border:1px solid #b6a47488;border-radius:22px;padding:9px 15px;font-size:13px;box-shadow:0 3px 12px #0002}#menuToggle{top:67px;left:14px}#actionsToggle{right:16px;bottom:max(17px,env(safe-area-inset-bottom));display:none}.entry-locked #menuToggle,.entry-locked #actionsToggle{display:none}.quality-label{display:flex;align-items:center;gap:3px;font-size:12px;color:#e7d4a6;background:#263e35;border:1px solid #a3b0a044;border-radius:16px;padding:4px 8px}.quality-label select{color:inherit;background:#263e35;font-size:12px}.scene-top{left:122px}.scene-top,#inviteOpen,#accountOpen,#supportOpen,#networkStatus{transition:none}body:not(.menu-expanded) .scene-top,body:not(.menu-expanded) #inviteOpen,body:not(.menu-expanded) #accountOpen,body:not(.menu-expanded) #supportOpen,body:not(.menu-expanded) #networkStatus{display:none!important}#chatFold{padding:2px 9px!important;color:#ead8b0;font-size:17px!important;border-radius:14px}#chatPanel.chat-folded{height:auto}.chat-folded #chatPanel{min-height:0!important;max-height:none!important;padding:8px 10px!important;width:210px!important}.chat-folded #chatPanel>:not(.chat-heading){display:none!important}.chat-folded #chatPanel .chat-heading{margin:0;gap:5px}.chat-folded #chatTitle{font-size:13px}.chat-folded #chatClose,.chat-folded #chatSendScope{display:none!important}#restFold{margin-left:auto;margin-right:6px}.rest-folded #restPanel>:not(.rest-heading){display:none!important}.rest-folded #restPanel{width:min(410px,94vw);max-height:100px;padding:10px 14px}.rest-folded .rest-heading h2{font-size:19px}.rest-folded .rest-heading .eyebrow{display:none}#world canvas{image-rendering:auto}.resting #actionsToggle{display:none!important}#tipBroadcast{top:105px}.chat-open #chatPanel{z-index:26}.resting.chat-open #chatPanel{max-height:45dvh}#joystick{touch-action:none}#menuToggle:focus-visible,#actionsToggle:focus-visible{outline:2px solid #e4c27d}
@media(min-width:701px){#menuToggle{top:67px}.scene-top{top:20px!important;left:180px!important;right:200px!important;flex-wrap:wrap}.menu-expanded #networkStatus{top:76px}}
@media(max-width:700px){header{height:55px!important}.brand{font-size:21px!important}.identity{font-size:10px!important;max-width:57vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#menuToggle{top:61px;left:10px;padding:7px 12px}#actionsToggle{display:block}.world-hud{display:none!important;margin:0!important;left:auto!important;right:12px!important;bottom:65px!important;transform:none!important;width:190px!important;padding:10px!important;border-radius:16px!important;grid-template-columns:repeat(3,1fr);gap:6px!important;background:#263e35fa!important;backdrop-filter:none!important}.actions-expanded:not(.resting) .world-hud{display:grid!important}.world-hud button{font-size:12px!important;padding:9px 5px!important}.world-hud #tipOpen{grid-column:span 2}#chatPanel{top:104px!important;left:10px!important;right:auto!important;width:min(280px,calc(100vw - 20px))!important;max-height:24dvh!important;background:#253d32f2!important;backdrop-filter:none!important}.chat-open #chatPanel{top:auto!important;bottom:max(72px,env(safe-area-inset-bottom))!important;max-height:48dvh!important;width:calc(100vw - 20px)!important}#chatMessages{max-height:18dvh!important}.chat-open #chatMessages{max-height:25dvh!important}.scene-top,.resting .scene-top{top:103px!important;left:auto!important;right:10px!important;width:190px!important;max-width:190px!important;background:#263e35fa;padding:10px;border:1px solid #b6a47466;border-radius:14px;gap:7px!important;flex-wrap:wrap}.scene-top>button,.scene-top>details,.scene-top>label{font-size:12px!important;max-width:100%}#inviteOpen,#accountOpen,#supportOpen{position:fixed!important;right:10px!important;z-index:25!important;font-size:12px!important;padding:7px 12px!important}#inviteOpen{top:61px!important}#accountOpen{top:auto!important;bottom:120px!important}#supportOpen{top:auto!important;bottom:165px!important}#networkStatus{top:285px!important;left:auto!important;right:10px!important;width:190px;max-width:190px!important;font-size:10px!important}#restPanel{max-height:40dvh!important;padding:10px 12px!important;backdrop-filter:none!important;background:#263d35fa!important}.rest-heading h2{font-size:21px!important}.rest-heading>button{font-size:12px!important;padding:7px 10px!important}.rest-actions button,.rest-modes button{font-size:12px!important}.rest-bottom{flex-wrap:wrap}.resting.chat-open #restPanel{display:none}#tipBroadcast{top:148px;width:90vw}dialog::backdrop{backdrop-filter:none}#musicSettings>div{right:0;left:auto}#joystick{left:18px!important;bottom:25px!important}.rest-quiet #menuToggle{display:none}.ritual-status{display:none!important}}

@media(max-width:700px){#joystick{display:block}.resting #joystick,.entry-locked #joystick{display:none!important}.rest-folded #restPanel{max-height:90px!important}.chat-folded #chatPanel .chat-heading{justify-content:flex-start!important}.chat-folded #chatTitle{margin-left:4px!important}}

@media(max-width:700px){#joystick{display:grid;place-items:center}.resting #joystick,.entry-locked #joystick{display:none!important}}
