.game-shell--living .media-dock{top:calc(var(--hud-top) + 70px);right:var(--hud-right);width:clamp(184px,18vw,240px);max-width:24vw;height:auto;max-height:calc(100dvh - 220px - var(--safe-bottom));pointer-events:auto;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;padding:0;display:flex;position:absolute;bottom:auto;left:auto;overflow:visible}.game-shell--living .media-dock[hidden]{display:none}.game-shell--living .media-dock:not(.media-dock--nearby){width:152px}.game-shell--living .media-dock--compact:not(.media-dock--nearby){width:88px}.game-shell--living .world-video-deck{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ml-line) transparent;min-height:0;overflow:auto}.game-shell--living .nearby-videos{flex-direction:column;gap:10px;display:flex}.game-shell--living .media-dock .video-card{aspect-ratio:8/5;border:1px solid var(--ml-line);background:var(--ml-ink);width:100%;height:auto;box-shadow:none;border-radius:12px;transition:none}.game-shell--living .video-card-caption{min-height:28px;color:var(--ml-paper);background:#183b32ed;padding:7px 9px;font-size:11px;line-height:1.35}.game-shell--living .video-card-caption .status-dot{background:var(--ml-yellow);flex-shrink:0;width:5px;height:5px}.game-shell--living .video-card-caption .status-dot--off{background:var(--ml-line)}.game-shell--living .world-video-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.game-shell--living .self-preview{flex:none;align-self:flex-end;width:152px;position:relative}.game-shell--living .media-dock--nearby .self-preview{width:160px}.game-shell--living .media-dock .self-preview .self-video-card{width:100%}.game-shell--living .self-preview[data-collapsed=true]{width:88px;height:44px}.game-shell--living .self-preview-toggle{z-index:3;width:44px;height:44px;min-height:44px;color:var(--ml-ink);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;gap:8px;padding:0;font-size:12px;display:flex;position:absolute;top:2px;right:2px}.game-shell--living .self-preview-toggle:before{content:"";z-index:-1;border:1px solid var(--ml-line);background:var(--ml-paper);border-radius:50%;position:absolute;inset:5px}.game-shell--living .self-preview-toggle svg{width:18px;height:18px}.game-shell--living .self-preview[data-collapsed=true] .self-preview-toggle{border-radius:12px;width:100%;top:0;right:0}.game-shell--living .self-preview[data-collapsed=true] .self-preview-toggle:before{border-radius:12px;inset:0}.game-shell--living .self-video-card video{transform:none}.game-shell--living .self-video-card.is-mirrored video{transform:scaleX(-1)}.game-shell--living .self-placeholder,.game-shell--living .remote-placeholder{background:var(--ml-ground);color:var(--ml-muted);gap:6px;padding:12px 10px 36px}.game-shell--living .self-placeholder>span{display:none}.game-shell--living .remote-avatar-mark{color:var(--ml-ink);background:var(--person-color);border:1px solid #183b3226}.game-shell--living .world-audio-notice{border:1px solid var(--ml-line);background:var(--ml-paper);min-height:44px;color:var(--ml-ink);border-radius:10px;flex:none;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.game-shell--living .media-dock[data-mobile=true]{top:calc(var(--hud-top) + 60px);width:min(360px,100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 200px - var(--safe-bottom));gap:8px}.game-shell--living .media-dock[data-mobile=true]:not(.media-dock--nearby){width:88px}.game-shell--living:has(.district-panel[data-guiding=true],.district-panel button) .media-dock[data-mobile=true]{top:calc(var(--hud-top) + 114px)}.world-mobile-stage{--mini-width:124px;--stage-height:132px;grid-template-columns:minmax(0,1fr) var(--mini-width);height:var(--stage-height);gap:8px;display:grid}.world-mobile-stage[data-count="0"]{grid-template-columns:1fr;place-self:flex-end end;width:min(232px,100%)}.world-mobile-stage[data-count="1"],.world-mobile-stage[data-count="2"]{--mini-width:64px;align-self:flex-end;width:min(304px,100%)}.world-mobile-stage[data-dense=true]{--mini-width:144px;--stage-height:144px}.world-mobile-focus{min-width:0;height:100%;position:relative}.game-shell--living .media-dock[data-mobile=true] .world-video--focus{aspect-ratio:auto;height:100%}.world-mobile-roster{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#52665c66 transparent;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:63px;align-content:start;gap:6px;height:100%;min-height:0;display:grid;overflow-y:auto}.world-mobile-stage[data-count="1"] .world-mobile-roster,.world-mobile-stage[data-count="2"] .world-mobile-roster{grid-template-columns:1fr}.world-mobile-stage[data-dense=true] .world-mobile-roster{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:44px}.game-shell--living .media-dock[data-mobile=true] .video-card{isolation:isolate;border:0;border-radius:14px;box-shadow:0 3px 10px #183b321c}.game-shell--living .media-dock[data-mobile=true] .world-video--mini{aspect-ratio:auto;height:100%;min-height:44px;box-shadow:none;border-radius:10px}.game-shell--living .media-dock[data-mobile=true] .video-card>video{object-fit:cover;background:var(--ml-ink)}.game-shell--living .media-dock[data-mobile=true] .remote-placeholder{background:color-mix(in srgb,var(--person-color) 12%,var(--ml-ink));padding:0 0 16px}.game-shell--living .media-dock[data-mobile=true] .remote-avatar-mark{width:auto;height:auto;color:var(--person-color);font:500 32px/1 var(--ml-display);background:0 0;border:0;border-radius:0}.game-shell--living .media-dock[data-mobile=true] .world-video--mini .remote-avatar-mark{font-size:20px}.game-shell--living .media-dock[data-mobile=true] .video-card-caption{color:#fff;pointer-events:none;background:linear-gradient(#0000,#0c231bd9);gap:5px;min-height:36px;padding:16px 9px 7px;font-size:11px;line-height:1.25}.game-shell--living .world-mobile-focus[data-self=true] .world-video--focus .video-card-caption{padding-right:70px}.game-shell--living .media-dock[data-mobile=true] .world-video--mini .video-card-caption{min-height:24px;padding:10px 5px 4px;font-size:10px}.world-speaking-mark{color:#c5e9d3;flex-shrink:0;justify-content:center;align-items:center;gap:2px;width:12px;height:14px;display:inline-flex}.world-speaking-mark>i{background:currentColor;border-radius:2px;width:2px;height:6px}.world-speaking-mark>i:nth-child(2){height:12px}.world-speaking-mark>i:nth-child(3){height:8px}.game-shell--living .world-video--mini[data-speaking=true]:after{content:"";z-index:2;border-radius:inherit;pointer-events:none;border:2px solid #c5e9d3;position:absolute;inset:0}.world-video-pinned{z-index:2;color:#fff;pointer-events:none;background:#183b32cc;border-radius:8px;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:7px;right:7px}.world-video-pinned>svg{width:14px;height:14px}.game-shell--living .world-video-select{z-index:2;border-radius:inherit;background:0 0;border:0;width:100%;height:100%;min-height:44px;padding:0;position:absolute;inset:0}.game-shell--living .world-video-select:focus-visible{outline:2px solid var(--ml-yellow);outline-offset:-3px}.game-shell--living .media-dock[data-mobile=true] .self-preview{width:88px}.game-shell--living .media-dock[data-mobile=true] .world-mobile-focus>.self-preview{z-index:4;width:58px;height:46px;position:absolute;bottom:7px;right:7px}.game-shell--living .world-mobile-focus>.self-preview .self-video-card{aspect-ratio:auto;border-radius:8px;height:46px;box-shadow:0 0 0 1px #fbfcf866}.game-shell--living .media-dock[data-mobile=true] .self-preview[data-collapsed=true]{height:44px}.game-shell--living .media-dock[data-mobile=true] .world-mobile-focus>.self-preview[data-collapsed=true]{width:58px;height:44px}.game-shell--living .media-dock[data-mobile=true] .self-preview .video-card-caption{gap:3px;min-height:20px;padding:8px 5px 3px;font-size:9px}.game-shell--living .media-dock[data-mobile=true] .self-placeholder{color:var(--ml-paper);background:var(--ml-ink);padding:0 0 14px}.game-shell--living .media-dock[data-mobile=true] .self-placeholder>svg{width:14px;height:14px}.game-shell--living .media-dock[data-mobile=true] .self-preview-toggle{color:#fff;border-radius:8px;justify-content:flex-end;align-items:flex-start;width:44px;height:44px;padding:4px;top:0;right:0}.game-shell--living .media-dock[data-mobile=true] .self-preview-toggle:before{background:#183b32b8;border:0;border-radius:5px;width:19px;height:19px;inset:2px 2px auto auto}.game-shell--living .media-dock[data-mobile=true] .self-preview-toggle>svg{width:15px;height:15px}.game-shell--living .media-dock[data-mobile=true] .self-preview[data-collapsed=true] .self-preview-toggle{justify-content:center;align-items:center;gap:4px;padding:0;font-size:10px}.game-shell--living .media-dock[data-mobile=true] .self-preview[data-collapsed=true] .self-preview-toggle:before{background:var(--ml-ink);border:1px solid #fbfcf866;border-radius:8px;width:auto;height:auto;inset:0}@media (max-width:360px){.world-mobile-stage{--stage-height:120px;--mini-width:112px}.world-mobile-stage[data-count="1"],.world-mobile-stage[data-count="2"]{--mini-width:60px}.world-mobile-stage[data-dense=true]{--stage-height:144px;--mini-width:144px}.world-mobile-roster{grid-auto-rows:57px}}@media (max-height:600px) and (orientation:landscape){:is(.game-shell--living .media-dock[data-mobile=true],.game-shell--living:has(.district-panel[data-guiding=true],.district-panel button) .media-dock[data-mobile=true]){top:calc(var(--hud-top) + 60px);width:304px;max-height:calc(100dvh - 150px)}.world-mobile-stage{--stage-height:120px;--mini-width:112px}.world-mobile-stage[data-dense=true]{--stage-height:144px;--mini-width:144px}.world-mobile-roster{grid-auto-rows:57px}}@media (hover:hover){.game-shell--living .self-preview-toggle:hover:before{background:var(--ml-ground)}.game-shell--living .media-dock[data-mobile=true] .self-preview-toggle:hover:before{background:var(--ml-ink)}.game-shell--living .world-video-select:hover{background:#fbfcf80a}}
.world-share-status{z-index:12;color:#183b32;background:#f6f1df;border-radius:14px;max-width:calc(100% - 32px);padding:5px;display:flex;position:absolute;top:88px;left:50%;transform:translate(-50%);box-shadow:0 5px 18px #183b3220}.world-share-status button{min-height:44px;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:7px 10px;display:flex}.world-share-status span{text-align:left;min-width:0}.world-share-status strong{text-overflow:ellipsis;white-space:nowrap;max-width:30ch;font-size:13px;display:block;overflow:hidden}.world-share-status small{color:#52665c;margin-top:3px;font-size:11px;display:block}.world-share-status svg{flex-shrink:0;width:20px;height:20px}.world-share-notice{z-index:14;color:#8b302b;background:#fbfcf8;border-radius:12px;max-width:360px;padding:14px;font-size:13px;position:absolute;top:90px;left:20px}.world-presentation{color:#183b32;background:#f5f6ee;border:0;border-radius:16px;width:calc(100vw - 40px);max-width:1600px;height:calc(100dvh - 40px);max-height:none;margin:auto;padding:20px;position:fixed;inset:0;overflow:auto}.world-presentation[open]{flex-direction:column;gap:16px;display:flex}.world-presentation::backdrop{background:#183b32c9}.world-presentation:fullscreen{border-radius:0;width:100vw;max-width:none;height:100dvh}.world-presentation-frame>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.world-presentation h2{font:600 22px/1.2 var(--ml-display);margin:0}.world-presentation p{font:12px/1.5 var(--ml-body);margin:5px 0 0}.world-presentation button{min-height:44px;font:600 12px var(--ml-body);color:inherit;cursor:pointer;background:#fbfcf8;border:1px solid #cbd5c7;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;display:inline-flex}.world-presentation button:hover{background:#e8eee5}.world-presentation svg{flex-shrink:0;width:18px;height:18px}.world-presentation :focus-visible,.world-share-status :focus-visible{outline-offset:3px;outline:3px solid #284fc7}.world-presentation-layout{flex:1;grid-template-columns:minmax(0,1fr) 144px;gap:16px;min-height:160px;display:grid}.world-presentation-screen{background:#172d26;border-radius:12px;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.world-presentation-screen video{object-fit:contain;width:100%;height:100%;transform:none}.world-presentation-people{flex-direction:column;gap:10px;display:flex;overflow:auto}.world-presentation-person{aspect-ratio:4/3;background:#dfe7d9;border-radius:12px;flex-shrink:0;place-items:center;display:grid;position:relative;overflow:hidden}.world-presentation-person video{object-fit:cover;width:100%;height:100%}.world-presentation-person>span{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#183b32d9;padding:5px 8px;font-size:11px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.world-presentation-frame>footer{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.world-presentation-frame>footer label{align-items:center;gap:8px;font-size:12px;display:flex}.world-presentation select{max-width:180px;min-height:44px;font:inherit;background:#fbfcf8;border:1px solid #cbd5c7;border-radius:10px;padding:8px}.world-presentation .world-presentation-stop{color:#fff;background:#183b32;margin-left:auto}.world-presentation [role=alert]{color:#8b302b}.world-presentation-audience{color:#52665c}@media (max-width:700px){.world-share-status{width:max-content;max-width:calc(100% - 24px);top:80px}.world-share-status strong{max-width:24ch}.world-presentation{border-radius:0;gap:12px;width:100%;height:100dvh;padding:12px}.world-presentation-frame>header{align-items:flex-start}.world-presentation h2{font-size:18px}.world-presentation-frame>header p{max-width:28ch}.world-presentation-frame>header button{padding:8px;font-size:11px}.world-presentation-layout{flex-direction:column;gap:10px;min-height:180px;display:flex}.world-presentation-screen{flex:1;min-height:100px}.world-presentation-people{flex-direction:row;min-height:76px;max-height:86px}.world-presentation-person{width:100px;height:75px}.world-presentation-frame>footer{gap:6px}.world-presentation-frame>footer button{flex:1;padding:8px;font-size:11px}.world-presentation .world-presentation-stop{flex-basis:100%;margin:0}}.world-presentation-frame{flex-direction:column;flex:1;gap:16px;min-height:0;display:flex}.world-presentation-frame:fullscreen{color:#183b32;background:#f5f6ee;padding:20px;overflow:auto}.control-button--sharing{color:#183b32!important;background:#dce9d8!important}@media (max-width:700px){.world-presentation-frame{gap:12px}.world-presentation-frame:fullscreen{padding:12px}}.world-share-settings{border-bottom:1px solid #cbd5c7;padding:16px}.world-share-settings p{color:#52665c;font-size:12px}.world-share-settings button{color:#183b32;background:#f5f6ee;border:1px solid #cbd5c7;border-radius:10px;min-height:44px;padding:10px 14px}.world-share-settings button:disabled{opacity:.5}@media (max-width:700px){.game-shell--living .world-screen-control{display:none}}
.game-shell--living .proximity-chat-toggle{z-index:10;left:calc(var(--hud-left) + 142px);bottom:var(--hud-bottom);border:1px solid var(--ml-line);background:var(--ml-paper);min-height:58px;color:var(--ml-ink);border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:650;display:flex;position:absolute}.game-shell--living .proximity-chat-toggle[aria-expanded=true]{background:var(--ml-ground)}.game-shell--living .proximity-chat-toggle[data-unread=true]{background:var(--ml-blue);border-color:var(--ml-blue);color:#fff}.proximity-chat-badge{min-width:20px;height:20px;color:var(--ml-blue);font-variant-numeric:tabular-nums;background:#fff;border-radius:10px;place-items:center;padding:0 5px;font-size:11px;font-weight:750;display:grid}.game-shell--living .proximity-chat-panel{z-index:32;left:var(--hud-left);bottom:calc(var(--hud-bottom) + 70px);width:360px;max-width:calc(100vw - 24px);height:460px;max-height:calc(100dvh - 180px - var(--safe-bottom));border:1px solid var(--ml-line);background:var(--ml-paper);color:var(--ml-ink);font-family:var(--ml-body);text-align:left;border-radius:14px;flex-direction:column;margin:0;display:flex;position:fixed;overflow:hidden}.game-shell--living .proximity-chat-panel[hidden]{display:none}.proximity-chat-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:16px 12px 12px 20px;display:flex}.proximity-chat-header h2{color:var(--ml-ink);font:650 19px/1.25 var(--ml-display);letter-spacing:-.02em;margin:0}.proximity-chat-header p{color:var(--ml-muted);margin:4px 0 0;font-size:12px;line-height:1.5}.game-shell--living .proximity-chat-header button{width:44px;height:44px;color:var(--ml-muted);background:0 0;border:0;border-radius:8px;flex-shrink:0;place-items:center;padding:0;display:grid}.proximity-chat-audience{border-block:1px solid var(--ml-line);color:var(--ml-muted);flex-shrink:0;align-items:center;gap:8px;padding:10px 20px;font-size:12px;display:flex}.proximity-chat-audience>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.proximity-chat-audience strong{color:var(--ml-ink);font-weight:650}.proximity-chat-audience .status-dot{background:var(--ml-muted);box-shadow:none;flex-shrink:0}.proximity-chat-audience[data-active=true] .status-dot{background:var(--ml-ink)}.proximity-chat-log{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ml-line) transparent;flex:1;min-height:0;padding:20px 16px;overflow:auto}.proximity-chat-log:focus-visible{outline:2px solid var(--ml-blue);outline-offset:-3px}.proximity-chat-empty{flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-height:100%;padding:4px 4px 12px;display:flex}.proximity-chat-empty>svg{width:24px;height:24px;color:var(--ml-muted);margin-bottom:4px}.proximity-chat-empty strong{font-size:14px;font-weight:650;line-height:1.5}.proximity-chat-empty p{max-width:30ch;color:var(--ml-muted);text-wrap:pretty;margin:0;font-size:13px;line-height:1.65}.proximity-chat-message{width:fit-content;max-width:92%;margin:0 0 16px}.proximity-chat-message:last-child{margin-bottom:0}.proximity-chat-message[data-self=true]{margin-left:auto}.proximity-chat-meta{color:var(--ml-muted);align-items:center;gap:6px;margin-bottom:6px;padding:0 2px;font-size:11px;line-height:1.5;display:flex}.proximity-chat-meta strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ml-ink);font-weight:650;overflow:hidden}.proximity-chat-meta time{font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;padding-left:8px;font-size:10px}.proximity-chat-color{border-radius:3px;flex-shrink:0;width:8px;height:8px}.proximity-chat-receipt{color:var(--ml-muted);margin-bottom:4px}.proximity-chat-receipt summary{cursor:pointer;touch-action:manipulation;border-radius:4px;align-items:center;gap:4px;min-height:32px;padding:0 2px;font-size:11px;line-height:1.5;list-style:none;display:flex}.proximity-chat-receipt summary::-webkit-details-marker{display:none}.proximity-chat-receipt summary>svg{flex-shrink:0;width:13px;height:13px}.proximity-chat-receipt summary>svg:first-child{color:var(--ml-ink)}.proximity-chat-receipt summary:focus-visible{outline:2px solid var(--ml-blue);outline-offset:2px}.proximity-chat-receipt[open] summary>svg:nth-of-type(2){transform:rotate(180deg)}.proximity-chat-recipient-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:120px;overflow:hidden}.proximity-chat-recipient-count{color:var(--ml-ink);font-variant-numeric:tabular-nums;flex-shrink:0;font-weight:650}.proximity-chat-receipt time{font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;padding-left:6px;font-size:10px}.proximity-chat-receipt-body{padding:8px 2px 12px;font-size:11px;line-height:1.5}.proximity-chat-receipt-body>strong{color:var(--ml-ink);font-weight:650}.proximity-chat-receipt-body ul{overscroll-behavior:contain;scrollbar-width:thin;max-height:140px;margin:6px 0 8px;padding:0;list-style:none;overflow:auto}.proximity-chat-receipt-body li{color:var(--ml-ink);overflow-wrap:anywhere;align-items:center;gap:6px;padding:4px 0;display:flex}@media (pointer:coarse),(max-width:1000px){.proximity-chat-receipt summary{min-height:44px}}@media (hover:hover){.proximity-chat-receipt summary:hover{color:var(--ml-blue)}}.proximity-chat-message p{background:var(--ml-ground);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:4px 12px 12px;margin:0;padding:10px 12px;font-size:14px;line-height:1.6}.proximity-chat-message[data-self=true] p{color:var(--ml-paper);background:var(--ml-ink);border-radius:12px 4px 12px 12px}.proximity-chat-compose{border-top:1px solid var(--ml-line);flex-shrink:0;padding:12px}.proximity-chat-field{border:1px solid var(--ml-line);background:#fff;border-radius:10px;align-items:flex-end;gap:6px;padding:5px;display:flex}.proximity-chat-field:focus-within{border-color:var(--ml-blue);outline:1px solid var(--ml-blue)}.proximity-chat-field textarea{resize:none;width:100%;min-width:0;min-height:48px;max-height:120px;color:var(--ml-ink);font:400 16px/1.5 var(--ml-body);caret-color:var(--ml-blue);background:0 0;border:0;border-radius:0;outline:none;margin:0;padding:6px 7px;display:block}.proximity-chat-field textarea::placeholder{color:var(--ml-muted);opacity:1}.game-shell--living .proximity-chat-field button{background:var(--ml-blue);color:#fff;border:0;border-radius:7px;flex-shrink:0;place-items:center;width:44px;height:44px;padding:0;display:grid}.game-shell--living .proximity-chat-field button:disabled{background:var(--ml-ground);color:var(--ml-muted)}.proximity-chat-hint{color:var(--ml-muted);justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;line-height:1.5;display:flex}.proximity-chat-limit{font-variant-numeric:tabular-nums;flex-shrink:0}.proximity-chat-error{color:var(--ml-ink);margin:8px 0 0;font-size:12px;font-weight:650;line-height:1.5}.game-shell--living .proximity-chat-latest{border:1px solid var(--ml-line);background:var(--ml-paper);min-height:44px;color:var(--ml-blue);border-radius:8px;flex-shrink:0;align-self:center;align-items:center;gap:8px;margin:0 12px 8px;padding:8px 12px;font-size:12px;display:flex}@media (max-width:1000px){.game-shell--living .proximity-chat-toggle{left:auto;right:calc(var(--hud-right) + 62px);bottom:calc(var(--hud-bottom) + 72px);min-height:54px;padding:10px 14px}.game-shell--living .proximity-chat-panel{left:var(--hud-left);right:var(--hud-right);bottom:calc(12px + var(--safe-bottom) + var(--chat-keyboard-inset,0px));width:auto;height:min(440px,54dvh);max-height:calc(var(--chat-visible-height,100dvh) - 100px)}}@media (min-width:701px) and (max-width:1000px){.game-shell--living .proximity-chat-panel{width:360px;right:auto}}@media (max-width:700px) and (max-height:650px){.proximity-chat-empty>svg,.proximity-chat-empty p{display:none}.proximity-chat-empty{padding:0}.proximity-chat-log{padding-block:12px}}.proximity-chat-panel[data-keyboard=true] .proximity-chat-header p,.proximity-chat-panel[data-keyboard=true] .proximity-chat-empty>svg,.proximity-chat-panel[data-keyboard=true] .proximity-chat-empty p{display:none}.proximity-chat-panel[data-keyboard=true] .proximity-chat-field textarea{height:44px;min-height:44px}.proximity-chat-panel[data-keyboard=true] .proximity-chat-log{padding-block:12px}@media (max-width:700px) and (max-height:650px) and (orientation:portrait){.game-shell--living .proximity-chat-panel{height:48dvh}.proximity-chat-header{padding:6px 12px 6px 16px}.proximity-chat-header p{display:none}.proximity-chat-audience{padding:6px 16px}.proximity-chat-log{padding-block:8px}.proximity-chat-field textarea{height:44px;min-height:44px}}@media (max-height:520px) and (orientation:landscape){.game-shell--living .proximity-chat-toggle{left:calc(var(--hud-left) + 178px);right:auto;bottom:calc(var(--hud-bottom) + 72px);min-height:54px;padding:10px 14px}.game-shell--living .proximity-chat-panel{width:min(340px,44vw);right:auto;bottom:var(--hud-bottom);height:calc(100dvh - 94px - var(--safe-bottom));max-height:none}.game-shell--living:has(.proximity-chat-panel:not([hidden])) .game-controls{left:auto;right:var(--hud-right);transform:none}.proximity-chat-header{padding-block:8px}.proximity-chat-header p{display:none}.proximity-chat-audience{padding-block:8px}.proximity-chat-log{padding-block:12px}.proximity-chat-empty{gap:6px;padding:0}.proximity-chat-empty>svg{display:none}.proximity-chat-empty strong{font-size:13px}.proximity-chat-empty p{font-size:12px;line-height:1.5}.proximity-chat-field textarea{height:44px;min-height:44px}}@media (pointer:coarse) and (min-width:1001px) and (min-height:521px){.game-shell--living .proximity-chat-toggle{bottom:calc(136px + var(--safe-bottom))}}.game-shell--living .proximity-chat-panel[data-keyboard=true]{bottom:calc(12px + var(--safe-bottom) + var(--chat-keyboard-inset,0px));height:calc(var(--chat-visible-height,100dvh) - 24px - var(--safe-bottom));max-height:none}.proximity-chat-panel[data-keyboard=true][data-compact=true]{overflow-y:auto}.proximity-chat-panel[data-keyboard=true][data-compact=true] .proximity-chat-header{padding:4px 8px 4px 16px}.proximity-chat-panel[data-keyboard=true][data-compact=true] .proximity-chat-audience{padding:6px 16px}.proximity-chat-panel[data-keyboard=true][data-compact=true] .proximity-chat-compose{padding:8px}.proximity-chat-panel[data-keyboard=true][data-compact=true] :is(.proximity-chat-log,.proximity-chat-hint,.proximity-chat-latest){display:none}@media (hover:hover){.game-shell--living .proximity-chat-toggle:hover:not([data-unread=true]),.game-shell--living .proximity-chat-header button:hover{background:var(--ml-ground)}.game-shell--living .proximity-chat-field button:hover:not(:disabled){background:var(--ml-blue-hover)}}@media (prefers-reduced-motion:no-preference){.proximity-chat-panel:not([hidden]){animation:.18s cubic-bezier(.16,1,.3,1) proximity-chat-enter}@keyframes proximity-chat-enter{0%{opacity:.6;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
.game-shell--living{--hud-edge:20px;--hud-right:max(var(--hud-edge),env(safe-area-inset-right,0px));--hud-left:max(var(--hud-edge),env(safe-area-inset-left,0px));--hud-top:calc(16px + env(safe-area-inset-top,0px));--hud-bottom:calc(16px + var(--safe-bottom));--hud-radius:12px;--hud-control:44px}.world-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.game-shell--living button{font-family:var(--ml-body);touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}.game-shell--living button:disabled{cursor:default}.game-shell--living :is(button,a,input,select):focus-visible,.game-shell--living .media-dock:focus-visible{outline:2px solid var(--ml-blue);outline-offset:3px}.game-shell--living ::selection{background:var(--ml-ink);color:var(--ml-paper)}.game-shell--living .game-header{top:var(--hud-top);left:var(--hud-left);background:var(--ml-paper);border:1px solid var(--ml-line);border-radius:var(--hud-radius);flex-direction:row;align-items:center;gap:12px;width:auto;max-width:calc(100% - 340px);min-height:54px;padding:0 12px;display:flex;right:auto}.game-shell--living .game-header .meetlander-brand{flex-shrink:0;font-size:20px}.game-shell--living .world-title{text-overflow:ellipsis;white-space:nowrap;border:0;border-left:1px solid var(--ml-line);min-width:0;max-width:180px;box-shadow:none;color:var(--ml-muted);font:500 12px/1.4 var(--ml-body);letter-spacing:0;background:0 0;border-radius:0;padding:0 0 0 12px;display:block;overflow:hidden}.game-shell--living .room-status{white-space:nowrap;background:0 0;border:0;border-radius:0;padding:0;font-size:12px;display:flex}.world-people-count{color:var(--ml-muted);font-variant-numeric:tabular-nums;flex-shrink:0;align-items:center;gap:6px;font-size:12px;display:inline-flex}.world-people-count>svg{width:16px;height:16px}.game-shell--living .world-navigation{top:var(--hud-top);right:var(--hud-right);border:1px solid var(--ml-line);border-radius:var(--hud-radius);background:var(--ml-paper);gap:4px;padding:4px}.game-shell--living .world-navigation button{border:0;border-radius:8px;min-width:44px;height:44px;padding:8px 12px}.game-shell--living .world-navigation button>span{font-size:12px}.game-shell--living .discussion-world-toggle{top:var(--hud-top);right:calc(var(--hud-right) + 150px);border-radius:var(--hud-radius);background:var(--ml-paper);min-height:54px;color:var(--ml-ink);padding:10px 14px;font-size:13px}.game-shell--living .discussion-world-toggle[aria-expanded=true]{background:var(--ml-ground);border-color:var(--ml-muted)}.game-shell--living .district-panel:not([data-guiding=true]):not(:has(button)){display:none}.game-shell--living .district-panel{top:calc(var(--hud-top) + 66px);left:var(--hud-left);border:1px solid var(--ml-line);border-radius:var(--hud-radius);background:var(--ml-paper);width:auto;max-width:280px;padding:10px 12px}.game-shell--living .district-panel>span{font-size:12px;line-height:1.5}.game-shell--living .district-panel[data-guiding=false]>span{display:none}.game-shell--living .game-controls{left:50%;right:auto;bottom:var(--hud-bottom);flex-direction:column;align-items:center;gap:8px;max-width:calc(100% - 40px);display:flex;transform:translate(-50%)}.game-shell--living .control-group{border:1px solid var(--ml-line);background:var(--ml-paper);box-shadow:none;border-radius:14px;gap:4px;padding:5px}.game-shell--living .control-button,.game-shell--living .leave-button{min-width:48px;min-height:46px;color:var(--ml-ink);border-radius:8px;padding:10px 14px;font-size:12px;font-weight:550}.game-shell--living .control-button>span,.game-shell--living .leave-button>span{display:block}.game-shell--living .control-button--muted{background:var(--ml-ground);color:var(--ml-muted)}.game-shell--living .control-button:disabled{opacity:.5}.game-shell--living .leave-button{color:#913f32}.world-conversation-status{border:1px solid var(--ml-line);background:var(--ml-paper);max-width:360px;color:var(--ml-muted);border-radius:8px;align-items:center;gap:7px;margin:0;padding:6px 10px;font-size:12px;line-height:1.4;display:flex}.world-conversation-status>svg{flex-shrink:0;width:14px;height:14px}.world-conversation-status>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.world-conversation-status[data-nearby=true]{color:var(--ml-ink)}:is(.game-shell--living .world-actions,.game-shell--living .world-actions:has(.interact-button)){left:var(--hud-left);right:auto;bottom:var(--hud-bottom);flex-direction:column;align-items:flex-start;gap:8px;width:auto;max-width:240px;display:flex}.game-shell--living .world-reactions{border:1px solid var(--ml-line);background:var(--ml-paper);border-radius:14px;align-items:center;padding:5px;display:flex;position:relative}.game-shell--living .world-reactions>button{min-height:46px;color:var(--ml-ink);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;display:flex}.game-shell--living .world-reactions .reaction-trigger{font-size:13px;font-weight:650}.game-shell--living .reaction-trigger>svg:last-child{width:14px;height:14px;transform:rotate(180deg)}.game-shell--living .reaction-trigger[aria-expanded=true]>svg:last-child{transform:none}.game-shell--living .world-reactions button:disabled{opacity:.45}.game-shell--living .world-actions>button{min-height:44px;color:var(--ml-ink);background:var(--ml-paper);border-radius:10px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;display:flex}.game-shell--living .world-actions .interact-button,.game-shell--living .stop-route{order:-1}.game-shell--living .world-actions .interact-button{background:var(--ml-blue);color:#fff;border-color:#0000}.game-shell--living .interact-button kbd{margin:0}.game-shell--living .emote-picker{border:1px solid var(--ml-line);width:256px;min-width:0;max-width:calc(100vw - 32px);box-shadow:none;background:var(--ml-paper);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px;display:grid;bottom:calc(100% + 8px);left:0;right:auto}.game-shell--living .emote-picker-heading{flex-direction:column;grid-column:1/-1;gap:3px;padding:0 4px 8px;display:flex}.game-shell--living .emote-picker-heading strong{font-size:13px;font-weight:650}.game-shell--living .emote-picker-heading span{color:var(--ml-muted);font-size:11px}.game-shell--living .emote-picker button{background:var(--ml-ground);min-height:72px;color:var(--ml-ink);border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px 6px;font-size:12px;font-weight:650;display:flex}.game-shell--living .emote-picker button svg{width:24px;height:24px}.game-shell--living .world-notice{top:calc(var(--hud-top) + 124px);left:var(--hud-left);max-width:280px;font-size:13px;transform:none}.game-shell--living .mobile-movement-tip{display:none}.game-shell--living .virtual-joystick{z-index:5;left:var(--hud-left);bottom:var(--hud-bottom);border:1px solid var(--ml-line);touch-action:none;-webkit-user-select:none;user-select:none;background:#fbfcf8d9;border-radius:50%;place-items:center;width:104px;height:104px;display:none;position:absolute}.game-shell--living .joystick-cross{width:72px;height:72px;color:var(--ml-muted);opacity:.65;pointer-events:none}.game-shell--living .joystick-knob{border:1px solid var(--ml-line);pointer-events:none;background:var(--ml-paper);border-radius:50%;width:42px;height:42px;position:absolute;box-shadow:0 3px 8px #183b321a}.game-shell--living .world-help{top:calc(var(--hud-top) + 66px);right:var(--hud-right);z-index:12;overscroll-behavior:contain;max-height:calc(100dvh - 170px);padding:16px;overflow:auto}.game-shell--living .world-help header{background:var(--ml-paper);padding:4px 0;position:sticky;top:-16px}.game-shell--living .world-help p{font-size:13px;line-height:1.6}.world-zoom-controls{align-items:center;gap:8px;margin:12px 0;font-size:13px;display:flex}.world-zoom-controls>span{margin-right:auto}.world-zoom-controls button{place-items:center;min-width:44px;display:grid}.game-shell--living .discussion-world-panel{top:calc(var(--hud-top) + 66px);right:var(--hud-right);bottom:calc(124px + var(--safe-bottom));z-index:14;border-radius:14px;width:min(400px,100% - 40px)}.world-media-settings{border:1px solid var(--ml-line);background:var(--ml-paper);width:min(420px,100vw - 32px);max-width:none;height:calc(100dvh - 32px);max-height:none;color:var(--ml-ink);border-radius:14px;margin:0;padding:0;position:fixed;inset:16px 16px 16px auto}.world-media-settings[open]{flex-direction:column;display:flex}.world-media-settings::backdrop{background:#183b3252}.world-media-settings>header{border-bottom:1px solid var(--ml-line);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 20px 16px;display:flex}.world-media-settings h2{font:600 24px/1.2 var(--ml-display);margin:0}.world-media-settings header p{color:var(--ml-muted);margin:6px 0 0;font-size:12px;line-height:1.5}.world-media-settings .meeting-settings{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.world-media-settings .meeting-settings-preview{aspect-ratio:auto;width:100%;height:clamp(100px,24dvh,160px)}.world-media-settings>footer{border-top:1px solid var(--ml-line);flex-shrink:0;padding:4px 20px}.world-media-settings>footer a{min-height:44px;color:var(--ml-muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;text-decoration:none;display:flex}.world-media-settings :focus-visible{outline:2px solid var(--ml-blue);outline-offset:3px}.world-media-notice{z-index:9;top:calc(var(--hud-top) + 70px);left:var(--hud-left);border:1px solid var(--ml-line);background:var(--ml-paper);width:min(320px,100% - 40px);color:var(--ml-ink);border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.5;position:absolute}.world-media-notice button{color:var(--ml-blue);background:0 0;border:0;min-height:44px;padding:12px 0;text-decoration:underline;display:block}.game-shell--living .room-alert{border-color:var(--ml-line);background:var(--ml-paper);color:var(--ml-ink);box-shadow:none}.game-shell--living .room-alert button{min-height:44px}@media (max-width:1000px){.game-shell--living{--hud-edge:12px;--hud-top:calc(10px + env(safe-area-inset-top,0px));--hud-bottom:calc(12px + var(--safe-bottom))}.game-shell--living .game-header{gap:8px;max-width:calc(100% - 172px);min-height:46px;padding:0 8px}.game-shell--living .world-title{border:0;max-width:112px;padding:0;font-size:12px}.game-shell--living .game-header .meetlander-brand>span{display:none}.game-shell--living .game-header .meetlander-brand{min-height:44px}.game-shell--living .game-header .meetlander-brand>svg{width:26px;height:26px}.game-shell--living .game-header .room-status{display:none}.game-shell--living .world-navigation{gap:0;padding:0}.game-shell--living .world-navigation button{min-width:44px;padding:8px}.game-shell--living .world-navigation button>span{display:none}.game-shell--living .discussion-world-toggle{right:calc(var(--hud-right) + 98px);gap:0;width:44px;height:46px;min-height:44px;padding:10px;font-size:0}.game-shell--living .discussion-world-toggle svg{flex:none;width:20px;height:20px}.game-shell--living .district-panel{top:calc(var(--hud-top) + 56px);max-width:calc(100% - 24px);min-height:34px;padding:6px 10px}.game-shell--living .district-panel>span{font-size:12px}.game-shell--living .game-controls{left:auto;right:var(--hud-right);bottom:var(--hud-bottom);align-items:flex-end;gap:7px;max-width:calc(100% - 132px);transform:none}.game-shell--living .control-group{gap:2px;padding:4px}.game-shell--living .control-button,.game-shell--living .leave-button{flex-direction:column;flex:0 0 44px;gap:4px;width:44px;min-width:44px;min-height:52px;padding:6px 0}.game-shell--living .control-button span,.game-shell--living .leave-button span{font-size:10px;line-height:1.2;display:block}.game-shell--living .control-separator{display:none}:is(.game-shell--living .world-actions,.game-shell--living .world-actions:has(.interact-button)){left:auto;right:var(--hud-right);bottom:calc(var(--hud-bottom) + 72px);align-items:flex-end;gap:8px;max-width:calc(100% - 144px)}.game-shell--living .world-reactions{padding:4px}.game-shell--living .world-reactions>button{min-height:44px}.game-shell--living .world-actions>button{min-height:44px;padding:10px 12px}.game-shell--living .world-actions .interaction-short{font-size:12px}.game-shell--living .emote-picker{left:auto;right:0}.game-shell--living .world-notice{top:auto;bottom:calc(236px + var(--safe-bottom));left:var(--hud-left);max-width:calc(100% - 24px)}.game-shell--living .world-help{top:calc(var(--hud-top) + 56px);right:var(--hud-right);max-height:calc(100dvh - 150px)}.game-shell--living .discussion-world-panel{top:calc(var(--hud-top) + 56px);left:var(--hud-left);right:var(--hud-right);width:auto;bottom:calc(116px + var(--safe-bottom))}.world-media-notice{top:auto;bottom:calc(226px + var(--safe-bottom));left:var(--hud-left)}.world-media-settings{width:calc(100vw - 16px);height:min(740px,100dvh - 24px);inset:auto 8px 8px}}@media (max-width:700px),(pointer:coarse){.game-shell--living .virtual-joystick{display:grid}.game-shell--living .keyboard-help{display:none}.game-shell--living .touch-help{display:block}.game-shell--living .world-actions .interact-button kbd{display:none}}@media (max-width:360px){.game-shell--living .game-controls{max-width:calc(100% - 120px)}.game-shell--living .control-group{gap:0;padding:3px}.game-shell--living .world-people-count{gap:4px;font-size:11px}.game-shell--living .world-people-count>svg{display:none}.game-shell--living .world-title{font-size:11px}}@media (max-height:520px) and (orientation:landscape){.game-shell--living .game-controls{max-width:calc(100% - 280px);left:50%;right:auto;transform:translate(-50%)}.game-shell--living .virtual-joystick{display:grid}:is(.game-shell--living .world-actions,.game-shell--living .world-actions:has(.interact-button)){left:calc(var(--hud-left) + 116px);right:auto;bottom:calc(var(--hud-bottom) + 72px);align-items:flex-start;max-width:180px}.game-shell--living .emote-picker{left:0;right:auto}.game-shell--living .district-panel{max-width:240px}.game-shell--living .world-help{max-height:calc(100dvh - 86px)}}@media (max-width:1000px),(max-height:520px) and (orientation:landscape){.world-conversation-status{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.game-shell--living .world-reactions{padding:4px}.game-shell--living .world-reactions .reaction-trigger{gap:4px;width:44px;min-height:44px;padding:0}.game-shell--living .reaction-trigger>span{display:none}.game-shell--living .reaction-trigger>svg:last-child{flex-shrink:0;width:12px;height:12px}}@media (max-width:740px) and (max-height:520px) and (orientation:landscape){.game-shell--living .game-controls{left:auto;right:144px;transform:none}}@media (pointer:coarse) and (min-width:1001px) and (min-height:521px){.game-shell--living .world-actions{left:var(--hud-left);bottom:calc(136px + var(--safe-bottom))}}@media (hover:hover){.game-shell--living :is(.control-button,.world-navigation button,.world-reactions>button,.emote-picker button):hover:not(:disabled){background:var(--ml-ground)}.game-shell--living .emote-picker button:hover:not(:disabled){background:var(--ml-line)}.game-shell--living .leave-button:hover{background:#f7e9e4}}@media (prefers-reduced-motion:no-preference){.game-shell--living :is(.control-button,.leave-button,.world-reactions>button,.world-actions>button){transition:background-color .14s ease-out,transform .12s ease-out}.game-shell--living :is(.control-button,.leave-button,.world-reactions>button,.world-actions>button):active:not(:disabled){transform:scale(.96)}}
