:root{--bg:#141c26;--panel:#1d1a2a;--panel-raised:#282338;--line:#3a3350;--text:#f1eef7;--muted:#b7aecb;--accent:#9d7fcb;--accent-strong:#7c5cc4;--warn:#e7c27d;color:var(--text);background:var(--bg);font-family:system-ui,sans-serif}body{margin:0}main{flex-direction:column;height:100dvh;display:flex}header{justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}h1{margin:0;font-size:1.25rem}p{margin:.5rem 1rem 1rem;line-height:1.5}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}header button{background:var(--panel-raised);border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem}.stage{flex:1;min-height:0;display:flex}.viewport{flex:1;min-width:0;min-height:0;display:flex;position:relative}.chat-bubbles{pointer-events:none;position:absolute;inset:0;overflow:hidden}.chat-bubbles span{overflow-wrap:anywhere;border:1px solid var(--line);width:max-content;max-width:min(12rem,75%);color:var(--text);background:var(--panel);text-align:center;border-radius:.65rem;padding:.35rem .6rem;font-size:.8rem;position:absolute;transform:translate(-50%,calc(-100% - .4rem))}.region-chat{z-index:1;left:max(.75rem, env(safe-area-inset-left));background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:.55rem;max-width:calc(100% - 1.5rem);padding:.5rem;position:absolute;top:.75rem}.region-chat[open]{box-sizing:border-box;width:min(19rem,100% - 1.5rem)}.region-chat summary{cursor:pointer}.region-chat [role=log]{overscroll-behavior:contain;max-height:min(11rem,28dvh);margin:.4rem 0;overflow-y:auto}.chat-entry{flex-wrap:wrap;align-items:baseline;gap:.25rem .5rem;padding:.25rem;display:flex}.chat-entry span{overflow-wrap:anywhere;flex-basis:100%}.region-chat form{gap:.35rem;margin-top:.35rem;display:flex}.region-chat :is(input,button,select){background:var(--panel-raised);color:var(--text);border:1px solid var(--line);font:inherit;border-radius:.25rem;padding:.25rem .45rem}.region-chat input{flex:1;min-width:0}.chat-scope{align-items:center;gap:.45rem;margin-top:.5rem;display:flex}.voice-lobby{left:max(.75rem, env(safe-area-inset-left));background:var(--panel);max-width:min(18rem,80%);color:var(--text);border:1px solid var(--line);border-radius:.55rem;padding:.45rem;position:absolute;bottom:8.7rem}.voice-lobby button{color:var(--text);background:var(--panel-raised);border:1px solid var(--line);padding:.25rem .45rem}.voice-lobby{flex-direction:column;gap:.35rem;display:flex}.voice-option{align-items:center;gap:.4rem;font-size:.85rem;display:flex}.voice-option input[type=range]{flex:1;min-width:0}.voice-lobby .voice-talk{touch-action:none;-webkit-user-select:none;user-select:none;min-height:2.75rem}.voice-lobby .voice-talk[aria-pressed=true]{background:var(--accent-strong);border-color:var(--accent)}.voice-speaking{color:var(--muted);font-size:.85rem}.voice-speaking.active{color:var(--text)}.voice-speaking.active:before{content:"● ";color:#7bd88f}.friendship-panel{top:3.2rem;left:auto;right:max(.75rem, env(safe-area-inset-right))}.social-emotes{right:max(.75rem, env(safe-area-inset-right));border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:.55rem;padding:.45rem .6rem;position:absolute;bottom:1rem}.social-emotes summary{cursor:pointer}.social-emotes button{border:1px solid var(--line);background:var(--panel-raised);border-radius:.25rem;margin-top:.4rem;margin-right:.3rem;padding:.25rem .45rem}.friendship-entries{max-height:45dvh;overflow:auto}.friendship-entries h3{margin:.65rem 0 .3rem;font-size:.95rem}.friendship-entries p{margin:.35rem 0}.friendship-entry{flex-wrap:wrap;align-items:baseline;gap:.35rem;padding:.35rem 0;display:flex}.moderation-panel{gap:.8rem;width:min(100% - 2rem,42rem);height:auto;margin:auto;padding-bottom:1rem}.moderation-panel header{padding:1rem 0}.moderation-panel a{color:var(--accent)}.moderation-panel button{align-self:flex-start}.moderation-content,.moderation-content label,.moderation-content fieldset{gap:.6rem;display:grid}.moderation-content fieldset{border:1px solid var(--line);border-radius:.5rem;margin:0;padding:1rem}.moderation-content blockquote{background:var(--panel);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:.8rem}.moderation-panel :is(button,select,textarea){font:inherit;color:var(--text);background:var(--panel-raised);border:1px solid var(--line);border-radius:.25rem;max-width:100%;padding:.5rem}.moderation-content textarea{resize:vertical;min-height:5rem}.admin-section{gap:.8rem;display:grid}.admin-panel:has(.world-editor){width:min(100% - 2rem,90rem)}.world-editor-bar{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.world-editor-body{grid-template-columns:minmax(0,1fr) 17rem;align-items:start;gap:.8rem;display:grid}.world-editor-body[hidden]{display:none}.world-editor-canvas{border:1px solid var(--line);touch-action:none;border-radius:.5rem;width:100%;height:min(70vh,40rem);display:block}.world-editor-canvas:focus-visible{outline:2px solid var(--accent)}.world-editor-side{gap:.5rem;display:grid}.world-editor-side h3,.world-editor-side p{margin:0}.world-editor-side .actions{flex-wrap:wrap;gap:.4rem;display:flex}.prop-library,.layout-problems{flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.prop-library button{cursor:grab}.layout-diff,.layout-versions{overflow-wrap:anywhere;gap:.3rem;margin:0;padding-left:1.2rem;font-size:.85rem;display:grid}.layout-versions button{margin-left:.4rem;padding:.2rem .5rem}.layout-problems button{text-align:left;border-color:#e5383b}@media (width<=50rem){.world-editor-body{grid-template-columns:1fr}}.admin-identity{overflow-wrap:anywhere;margin:0;font-size:.85rem}.admin-panel nav.tabs{flex-wrap:wrap;gap:.4rem;display:flex}.admin-panel nav.tabs button[aria-current=page]{border-color:var(--accent);color:var(--accent)}.admin-panel input{font:inherit;color:var(--text);background:var(--panel-raised);border:1px solid var(--line);border-radius:.25rem;padding:.5rem}.audit-log,.economy-block{overflow-x:auto}.economy-block .actions{flex-wrap:wrap;gap:.5rem;display:flex}.admin-panel textarea{font:inherit;color:var(--text);background:var(--panel-raised);border:1px solid var(--line);resize:vertical;border-radius:.25rem;padding:.5rem}.economy-block{border:1px solid var(--line);border-radius:.5rem;gap:.6rem;padding:1rem;display:grid}.economy-block h3{margin:0;font-size:1rem}.economy-block form,.economy-block fieldset,.economy-block label{gap:.4rem;display:grid}.economy-block form.row{grid-template-columns:1fr auto;align-items:end}.economy-block label.check{align-items:center;gap:.4rem;display:flex}.catalog-admin{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.catalog-admin form{grid-template-columns:minmax(8rem,1fr) 7rem auto auto;align-items:end;gap:.5rem}.catalog-admin small{color:var(--muted,inherit);grid-column:1/-1}@media (width<=30rem){.catalog-admin form{grid-template-columns:1fr 1fr}.catalog-admin .name{grid-column:1/-1}}.economy-block table{border-collapse:collapse;width:100%;font-size:.8rem}.economy-block th,.economy-block td{text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:.3rem .25rem}.audit-log table{border-collapse:collapse;width:100%;font-size:.8rem}.audit-log th,.audit-log td{text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:.3rem .25rem}.appeal-action{position:absolute;bottom:6rem;left:50%;transform:translate(-50%)}.game-appeal{background:var(--panel);width:min(30rem,100% - 3rem);color:var(--text);border:1px solid var(--line);border-radius:.55rem}.game-appeal label{gap:.4rem;display:grid}.game-appeal textarea{min-height:6rem;font:inherit;margin-bottom:.5rem}.game-appeal button{margin:.3rem .4rem .3rem 0}.game-appeal blockquote{white-space:pre-wrap;overflow-wrap:anywhere}.quest-status{color:#f1eef7;pointer-events:none;background:#1d1a2add;border-radius:.5rem;max-width:calc(100% - 1.5rem);margin:0;padding:.45rem .7rem;position:absolute;top:.75rem;right:.75rem}canvas{touch-action:none;flex:1;min-width:0;min-height:0;display:block}canvas:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.creator{background:var(--panel);border-left:1px solid var(--line);flex-direction:column;width:360px;min-height:0;display:flex}.creator h2{margin:1rem 1rem .75rem;font-size:1.05rem}.tabs{flex-wrap:wrap;gap:.1rem .25rem;padding:0 .75rem;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:.5rem .6rem}.tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--accent)}.options{border-top:1px solid var(--line);flex:1;min-height:0;padding:.75rem;overflow-y:auto}.items{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.items button{background:var(--panel-raised);border:1px solid var(--line);text-align:left;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;width:100%;padding:.65rem .75rem;display:grid}.items button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.chip{border:1px solid #fff3;border-radius:6px;width:1.5rem;height:1.5rem}.price{color:var(--muted);font-size:.8rem}.price.locked{color:var(--warn)}.swatches{border:0;flex-wrap:wrap;gap:.6rem;margin:0 0 1rem;padding:0;display:flex}.swatches legend{color:var(--muted);margin-bottom:.5rem;font-size:.85rem}.swatches button{border:2px solid #fff2;border-radius:50%;width:2.5rem;height:2.5rem}.swatches button[aria-pressed=true]{border-color:var(--text);box-shadow:0 0 0 2px var(--accent)}.creator footer{border-top:1px solid var(--line);padding:.75rem}.notice{color:var(--warn);margin:0 0 .75rem;font-size:.85rem}.wallet{margin:0 0 .5rem;font-size:.9rem;font-weight:600}.buy{width:100%;margin-bottom:.5rem}.wallet-history h3{margin:0 0 .5rem;font-size:.9rem}.wallet-history ul,.wallet-history p{margin:0 0 1rem;font-size:.85rem}.wallet-history table{border-collapse:collapse;width:100%;font-size:.8rem}.wallet-history th,.wallet-history td{text-align:left;border-bottom:1px solid var(--line);padding:.3rem .25rem}.primary{background:var(--accent-strong);border:0;border-radius:10px;width:100%;min-height:2.75rem;font-weight:600}.primary:disabled{background:var(--panel-raised);color:var(--muted);cursor:not-allowed}@media (width<=720px){.stage{flex-direction:column}.creator{border-left:0;border-top:1px solid var(--line);width:auto;max-height:52%}.creator h2{display:none}.tabs{padding-top:.25rem}}.expressions{border:0;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;display:flex}.expressions legend{color:var(--muted);margin-bottom:.5rem;font-size:.85rem}.expressions button{background:var(--panel-raised);border:1px solid var(--line);border-radius:999px;padding:.45rem .9rem}.expressions button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.hint{white-space:nowrap;color:var(--muted);pointer-events:none;background:#1d1a2acc;border-radius:999px;margin:0;padding:.4rem .8rem;font-size:.8rem;position:absolute;bottom:1rem;left:50%;transform:translate(-50%)}.joystick{left:max(1.25rem, env(safe-area-inset-left));bottom:max(1.25rem, env(safe-area-inset-bottom));touch-action:none;background:#1d1a2a66;border:2px solid #f1eef755;border-radius:50%;place-items:center;width:120px;height:120px;display:grid;position:absolute}.knob{background:#f1eef7cc;border-radius:50%;width:52px;height:52px;box-shadow:0 2px 8px #0005}@media (hover:hover) and (pointer:fine){.joystick{display:none}}@media (hover:none),(pointer:coarse){.hint:not(.connection-status){display:none}}.retry-connection{position:absolute;bottom:3.5rem;left:50%;transform:translate(-50%)}.character-lab{grid-template-columns:minmax(0,1fr) 16rem;height:100vh;display:grid}.character-lab canvas{touch-action:none;width:100%;height:100%;display:block}.character-lab aside{background:var(--panel);align-content:start;gap:.6rem;padding:1rem;display:grid;overflow-y:auto}.character-lab h1{margin:0;font-size:1.1rem}.character-lab label{gap:.25rem;display:grid}.character-lab label.check{align-items:center;gap:.4rem;display:flex}.character-lab :is(select,button){font:inherit;color:var(--text);background:var(--panel-raised);border:1px solid var(--line);border-radius:.25rem;padding:.4rem}.character-lab .lab-views{flex-wrap:wrap;gap:.3rem;display:flex}.character-lab dl{grid-template-columns:auto 1fr;gap:.2rem .8rem;margin:0;display:grid}.character-lab dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}@media (width<=40rem){.character-lab{grid-template-rows:60vh auto;grid-template-columns:1fr}}.app-shell{--bg:#f0edf6;--panel:#fffefb;--panel-raised:#f3effa;--line:#ded6eb;--text:#342e46;--muted:#6b627c;--accent:#7853b3;--accent-strong:#7145ae;--warn:#91521d;--ui-shadow:0 4px 0 #d5cbe4, 0 10px 26px #33234218;background:var(--bg);color:var(--text);font-family:Trebuchet MS,Segoe UI,sans-serif;position:relative;overflow:hidden}.app-shell *,.app-shell :before,.app-shell :after{box-sizing:border-box}.app-shell .stage{height:100%}.app-shell .game-header{inset:max(18px, env(safe-area-inset-top)) 20px auto;z-index:5;pointer-events:none;align-items:flex-start;padding:0;position:absolute}.app-shell .game-brand,.app-shell .wardrobe-button{pointer-events:auto;background:var(--panel);box-shadow:var(--ui-shadow);border:1px solid #fff;border-radius:19px}.app-shell .game-brand{align-items:center;gap:12px;padding:10px 18px 10px 10px;display:flex}.brand-mark{color:#fff;background:#825ab9;border-radius:15px 15px 15px 5px;flex:none;place-items:center;width:44px;height:44px;font-size:28px;font-weight:900;display:grid;box-shadow:inset 0 2px #ffffff40,0 3px #61408f}.app-shell h1{letter-spacing:-.6px;font-size:19px;font-weight:800}.brand-context{color:var(--muted);margin-top:3px;font-size:12px;display:block}.ui-icon{vertical-align:middle;flex:none;width:23px;height:23px}.app-shell .wardrobe-button{align-items:center;gap:10px;min-height:52px;padding:12px 17px;font-weight:700;display:flex}.app-shell button{transition:background-color .14s,box-shadow .14s,transform .14s}.app-shell button:disabled{cursor:not-allowed}.app-shell button:focus-visible,.app-shell summary:focus-visible{outline:3px solid var(--accent-strong);outline-offset:4px}.app-shell button:not(:disabled):active{transform:translateY(2px)}.app-shell .creator{width:368px;box-shadow:var(--ui-shadow);background:var(--panel);border:1px solid #fff;border-radius:24px;flex:0 0 368px;margin:94px 20px 22px 0;overflow:hidden}.creator-heading{padding:23px 24px 19px}.studio-label{color:var(--accent);font-size:12px;font-weight:700;display:block}.app-shell .creator h2{letter-spacing:-.8px;margin:6px 0 8px;font-size:25px;line-height:1.15;display:block}.app-shell .creator-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.app-shell .creator .tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 18px 18px;display:grid}.app-shell .creator .tabs button{min-height:44px;color:var(--muted);background:#f4f1f8;border:1px solid #0000;border-radius:12px;padding:8px 4px;font-size:13px;font-weight:700}.app-shell .creator .tabs button[aria-selected=true]{color:#583583;background:#e8dcf6;border-color:#c7b3e1}.app-shell .creator .options{border-top:1px solid var(--line);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbbddd transparent;padding:22px}.app-shell .swatches{gap:10px;margin-bottom:25px}.app-shell :is(.swatches,.expressions) legend{color:var(--text);margin-bottom:12px;font-size:13px;font-weight:700}.app-shell .swatches button{border:3px solid var(--panel);width:44px;height:44px;box-shadow:0 0 0 1px var(--line)}.app-shell .swatches button[aria-pressed=true]{box-shadow:0 0 0 3px var(--accent);border-color:#fff}.app-shell .expressions{gap:7px}.app-shell .expressions button{border-color:var(--line);min-height:44px;padding:9px 13px;font-size:13px;font-weight:700}.app-shell .expressions button[aria-pressed=true]{color:#583583;box-shadow:none;background:#e8dcf6}.app-shell .genders{margin-bottom:22px}.app-shell .creator .randomize{border:1px dashed var(--line);background:0 0;width:100%;min-height:44px;margin-top:18px;font-weight:700}.app-shell .items{gap:10px}.app-shell .items button{background:#f8f5fc;border-radius:16px;gap:10px;min-height:68px;padding:14px 12px}.app-shell .items button[aria-pressed=true]{background:#ede4f8;border-color:#b698d7;box-shadow:inset 0 0 0 1px #b698d7}.app-shell .items .name{font-size:13px;font-weight:700;line-height:1.35}.app-shell .chip{border-color:#0000000d;border-radius:10px;width:32px;height:32px;box-shadow:inset 0 -3px #0000000a}.app-shell .price{text-align:right;max-width:75px;font-size:12px}.app-shell .creator footer{background:#fbf9fd;padding:18px}.app-shell .primary{color:#fff;border-radius:15px;min-height:50px;font-size:15px;box-shadow:inset 0 2px #ffffff25,0 4px #51317d}.app-shell .primary:disabled{color:var(--muted);box-shadow:none}.app-shell .social-emotes{z-index:2;left:50%;right:auto;bottom:max(22px, env(safe-area-inset-bottom));background:var(--panel);box-shadow:var(--ui-shadow);border:1px solid #fff;border-radius:23px;align-items:center;gap:5px;padding:7px;display:flex;position:absolute;transform:translate(-50%)}.app-shell .social-emotes>button{color:#5b4580;background:#efe7f8;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:72px;min-height:65px;margin:0;padding:9px 10px;font-size:12px;font-weight:700;display:flex}.app-shell .social-emotes>button:nth-child(2){color:#355f53;background:#e7f2ef}.app-shell .social-emotes>button:nth-child(3){color:#795520;background:#fff0d7}.app-shell .social-emotes .ui-icon{width:25px;height:25px}.app-shell .group-emotes>summary{justify-items:center;gap:6px;padding:8px;font-size:12px;font-weight:700;display:grid}.group-emote-options{border:1px solid var(--line);background:var(--panel);width:260px;max-width:90vw;box-shadow:var(--ui-shadow);border-radius:18px;padding:16px;position:absolute;bottom:calc(100% + 14px);right:0}.app-shell .controls-help{z-index:3;position:absolute;bottom:22px;right:20px}.app-shell .controls-help>summary{background:var(--panel);min-height:48px;color:var(--muted);box-shadow:var(--ui-shadow);cursor:pointer;border:1px solid #fff;border-radius:17px;align-items:center;gap:8px;padding:13px 16px;font-size:13px;font-weight:700;display:flex}.app-shell .controls-help>summary::marker{content:""}.app-shell .region-chat>summary::marker{content:""}.app-shell summary::-webkit-details-marker{display:none}.controls-help-content{background:var(--panel);width:330px;max-width:calc(100vw - 28px);box-shadow:var(--ui-shadow);overscroll-behavior:contain;border:1px solid #fff;border-radius:20px;max-height:calc(100dvh - 180px);padding:20px;position:absolute;bottom:calc(100% + 14px);right:0;overflow-y:auto}.app-shell .controls-help-content h2{margin:0 0 16px;font-size:17px}.app-shell .controls-help-content p{grid-template-columns:77px 1fr;align-items:center;gap:12px;margin:12px 0;font-size:12px;display:grid}.app-shell kbd{font:inherit;border:1px solid var(--line);background:var(--panel-raised);text-align:center;border-bottom-width:3px;border-radius:8px;padding:6px 8px;font-weight:700}.app-shell .controls-help-content .touch-help{border-top:1px solid var(--line);color:var(--muted);margin-bottom:0;padding-top:12px;line-height:1.6;display:block}.app-shell .hint{white-space:normal;text-align:center;width:max-content;max-width:calc(100% - 32px)}.app-shell .connection-status{background:var(--panel);color:var(--text);border:1px solid var(--line);padding:11px 17px;bottom:190px}.app-shell .retry-connection{background:var(--panel);width:max-content;max-width:calc(100% - 28px);min-height:54px;box-shadow:var(--ui-shadow);color:var(--text);border:1px solid #fff;border-radius:17px;justify-content:center;align-items:center;gap:12px;padding:10px 18px 10px 10px;font-size:14px;font-weight:700;display:flex;bottom:125px}.app-shell .retry-connection kbd{min-width:34px;color:var(--accent-strong)}.app-shell .appeal-action{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-height:44px;padding:10px 16px;bottom:250px}.app-shell button.retry-connection:active{transform:translate(-50%,2px)}.app-shell .region-chat{max-width:calc(100% - 40px);box-shadow:var(--ui-shadow);border:1px solid #fff;border-radius:19px;padding:0;top:auto;bottom:22px;left:20px}.app-shell .region-chat>summary{align-items:center;gap:9px;min-height:48px;padding:15px 17px;font-size:13px;font-weight:700;display:flex}.app-shell .region-chat>section{padding:0 16px 16px}.app-shell .region-chat[open]{width:320px}.app-shell .region-chat :is(input,button,select){border-radius:10px;min-height:36px;padding:8px;font-size:12px}.app-shell .region-chat button{font-weight:700}.app-shell .region-chat input{background:#fff}.app-shell .region-chat :is(button,select){cursor:pointer}.app-shell .friendship-panel{inset:96px 20px auto auto}.app-shell .voice-lobby{box-shadow:var(--ui-shadow);border:1px solid #fff;border-radius:18px;max-height:40dvh;padding:14px;font-size:12px;top:96px;bottom:auto;left:20px;overflow-y:auto}.app-shell .voice-lobby button{border-radius:10px;min-height:40px;font-weight:700}.app-shell .voice-lobby button[aria-pressed=true]{color:#fff}.app-shell .quest-status{color:#45602f;box-shadow:var(--ui-shadow);background:#eef4df;border:1px solid #fff;border-radius:16px;font-size:13px;top:96px;right:20px}.app-shell:has(.quest-status) .friendship-panel{top:150px}.app-shell dialog{background:var(--panel);width:min(440px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--text);border:1px solid #fff;border-radius:24px;padding:26px;overflow:auto;box-shadow:0 18px 80px #2c1b4940}.app-shell dialog::backdrop{background:#31243e55}.app-shell dialog h2{letter-spacing:-.5px;margin:0 0 18px;font-size:23px}.app-shell dialog p{color:var(--muted);margin:12px 0;font-size:14px;line-height:1.7}.app-shell dialog button{border:1px solid var(--line);background:var(--panel-raised);border-radius:12px;min-height:44px;margin-top:10px;padding:10px 16px;font-weight:700}.app-shell .chat-bubbles span{border-radius:15px 15px 15px 5px;font-size:13px;box-shadow:0 3px 12px #342e4615}.app-shell .joystick{background:#fffefb80;border-color:#ffffffb3;width:104px;height:104px;bottom:120px}.app-shell .knob{background:#a58acfc4;border:2px solid #fff;box-shadow:0 3px #7a5ba3}@media (hover:hover){.app-shell button:not(:disabled):hover{filter:brightness(.97)}}@media (width<=720px){.app-shell .game-header{inset:max(12px, env(safe-area-inset-top)) 12px auto;gap:8px}.app-shell .game-brand{border-radius:17px;gap:9px;padding:8px 13px 8px 8px}.brand-mark{border-radius:12px 12px 12px 4px;width:36px;height:36px;font-size:24px}.app-shell h1{font-size:16px}.brand-context{font-size:11px}.app-shell .wardrobe-button{border-radius:16px;gap:7px;max-width:155px;min-height:52px;padding:10px 12px;font-size:12px;line-height:1.3}.app-shell .stage{flex-direction:column}.app-shell .creator{border-radius:22px;flex:0 51%;width:auto;max-height:51%;margin:0 10px 14px}.creator-heading{padding:16px 18px 12px}.app-shell .creator h2{margin:0;font-size:21px}.app-shell .studio-label,.app-shell .creator-heading p{display:none}.app-shell .creator .tabs{scrollbar-width:none;flex-wrap:nowrap;gap:5px;padding:0 14px 12px;display:flex;overflow-x:auto}.app-shell .creator .tabs::-webkit-scrollbar{display:none}.app-shell .creator .tabs button{flex:none;min-height:44px;padding:8px 11px;font-size:12px}.app-shell .creator .options{padding:16px 18px}.app-shell .creator footer{padding:12px 14px}.app-shell .social-emotes{bottom:max(14px, env(safe-area-inset-bottom));border-radius:20px;gap:3px;padding:5px}.app-shell .social-emotes>button{border-radius:14px;min-width:64px;min-height:60px;padding:8px 9px}.app-shell .controls-help{bottom:22px;right:12px}.app-shell .controls-help>summary{min-height:44px;padding:10px}.app-shell .controls-help>summary>span{display:none}.controls-help-content{bottom:84px}.app-shell .region-chat{max-width:calc(100% - 24px);top:88px;bottom:auto;left:12px}.app-shell .friendship-panel{left:auto;right:12px}.app-shell .quest-status{max-width:calc(100% - 24px);top:146px;right:12px}.app-shell:has(.quest-status) .friendship-panel{top:88px}.app-shell:has(.region-chat[open]) .quest-status{display:none}.app-shell .retry-connection{max-width:calc(100% - 28px);font-size:13px;bottom:112px}.app-shell .voice-lobby{max-width:220px;max-height:28dvh;top:146px;left:12px}:is(.app-shell:has(.region-chat[open]) .voice-lobby,.app-shell:has(.controls-help[open]) .voice-lobby){max-width:180px;max-height:145px;inset:auto 12px 102px auto}.app-shell .group-emote-options{right:-35px}}@media (pointer:coarse){.app-shell .region-chat :is(button,select,input){min-height:44px}}@media (prefers-reduced-motion:reduce){.app-shell button{transition:none}}.app-shell[data-view=world] .game-brand{background:linear-gradient(#fffdf3,#efe4d6);border:3px solid #fff9f0;border-radius:25px 34px 34px 25px;gap:13px;padding:8px 20px 8px 9px;box-shadow:0 5px #8e739b,0 9px 15px #44304925,inset 0 -2px #d8c9dc}.avatar-portrait{width:100%;height:100%;display:block}.profile-portrait{background:#f5df9b;border:3px solid #b89c5f;border-radius:50%;flex:none;width:66px;height:66px;overflow:hidden;box-shadow:0 0 0 3px #fff9e9}.app-shell[data-view=world] .game-brand h1{color:#57406c;text-shadow:0 1px #fff;font-size:18px}.app-shell[data-view=world] .brand-context{color:#766079;margin-top:5px;font-size:12px;font-weight:700}.app-shell[data-view=world] .wardrobe-button{color:#67447f;background:linear-gradient(#f6e9ff,#d7bfe9);border:3px solid #fff4dc;border-radius:22px;flex-direction:column;justify-content:center;gap:4px;min-width:82px;min-height:76px;padding:8px 12px;font-size:12px;font-weight:800;display:flex;box-shadow:0 5px #81608e,0 8px 12px #44304925,inset 0 2px #fff}.world-location{z-index:1;color:#634b72;pointer-events:none;background:#fff6e9f2;border:2px solid #ab8bb5;border-radius:15px;align-items:center;gap:8px;padding:8px 14px 8px 10px;font-size:13px;font-weight:800;display:flex;position:absolute;top:116px;left:22px;box-shadow:0 3px #816a91}.world-location .ui-icon{color:#a66b42;width:19px;height:19px}.world-radar{z-index:1;width:152px;position:absolute;top:118px;right:25px}.radar-frame{background:#c7dbbc;border:6px solid #fff4db;border-radius:50%;outline:3px solid #95779e;position:relative;box-shadow:0 5px #785e7f,0 9px 18px #392d3d25}.radar-frame>svg{border-radius:50%;width:100%;height:auto;display:block}.radar-north{color:#704f81;background:#fff9eb;border:2px solid #9d819e;border-radius:9px;place-items:center;width:24px;height:25px;font-size:12px;font-weight:900;display:grid;position:absolute;top:-16px;left:50%;transform:translate(-50%)}.radar-caption{color:#695270;background:#fff7e9e8;border:1px solid #fff9e9;border-radius:10px;justify-content:center;align-items:center;gap:6px;width:max-content;margin:12px auto 0;padding:5px 11px;font-size:11px;font-weight:700;display:flex}.radar-caption>span{background:#8752c0;border:1px solid #b494d0;border-radius:50%;width:7px;height:7px}.app-shell[data-view=world] .social-emotes{background:linear-gradient(#fff8e9,#ebdfd7);border:2px solid #a08ab1;border-top-color:#fff9ee;border-radius:29px 29px 23px 23px;gap:6px;padding:8px 10px;bottom:22px;box-shadow:0 6px #74607f,0 11px 20px #44304930,inset 0 0 0 2px #fffcf5}.dock-title{display:none}.app-shell[data-view=world] .social-emotes>button{border:2px solid #b99acb;border-radius:15px;gap:4px;min-width:58px;min-height:54px;padding:6px 8px;font-size:10px;font-weight:800;position:relative;box-shadow:0 5px #a17bb2,inset 0 2px #ffffffd9}.app-shell[data-view=world] .social-emotes>button:first-of-type{color:#664183;background:linear-gradient(#f4e8ff,#d8bceb)}.app-shell[data-view=world] .social-emotes>button:not(:disabled):active{transform:translateY(4px);box-shadow:0 1px #8b718f,inset 0 2px 3px #6c46752b}.app-shell[data-view=world] .retry-connection{color:#624676;background:linear-gradient(#fffbef,#f0e3e7);border:3px solid #b899c9;border-radius:20px;gap:13px;padding:9px 23px 9px 10px;font-weight:800;bottom:170px;box-shadow:0 5px #876392,0 10px 20px #3c24472e,inset 0 2px #fff}.app-shell[data-view=world] .retry-connection kbd{color:#815c2b;text-shadow:0 1px #fff6dc;background:linear-gradient(#fff4cc,#efd091);border:2px solid #c39a55;border-bottom-width:4px;border-radius:13px;place-items:center;min-width:43px;min-height:43px;font-size:21px;display:grid}.app-shell[data-view=world] .connection-status{border:2px solid #c6afcf;border-radius:16px;bottom:255px}.app-shell[data-view=world] .controls-help>summary{color:#745583;background:linear-gradient(#fff8ee,#e5d7e9);border:3px solid #fff7e7;border-radius:18px;min-height:52px;padding:12px 16px;box-shadow:0 4px #93799f,inset 0 2px #fff}.app-shell[data-view=world] .region-chat{background:#fff9ed;border:3px solid #b59ac4;border-radius:20px;box-shadow:0 5px #8d7099,inset 0 2px #fff}.app-shell[data-view=world] .friendship-panel{top:320px}.app-shell[data-view=world]:has(.quest-status) .friendship-panel{top:320px}.app-shell[data-view=world] .voice-lobby{top:178px}.app-shell[data-view=world]:has(.quest-status) .voice-lobby{top:252px}.app-shell[data-view=world] .quest-status{color:#7a6131;background:linear-gradient(#fff9e7,#f0e2bc);border:2px solid #ccb278;border-radius:16px;align-items:center;gap:10px;max-width:265px;padding:10px 14px 10px 9px;display:flex;top:176px;left:22px;right:auto;box-shadow:0 4px #aa8e61}.quest-emblem{background:#f4d786;border:1px solid #d9b45f;border-radius:12px;flex:none;place-items:center;width:37px;height:39px;display:grid}.quest-status strong,.quest-status>span>span{font-size:12px;line-height:1.4;display:block}.quest-status strong{margin-bottom:2px;font-size:14px}.app-shell .npc-game-dialogue{background:linear-gradient(#fffbee,#f6eddf);border:4px solid #b69acb;width:min(620px,100% - 32px);margin:0 auto;inset:auto 16px 30px;overflow:auto;box-shadow:0 7px #886991,0 15px 50px #2c1b4955,inset 0 0 0 2px #fffdf8}.dialogue-speaker{align-items:center;gap:16px;margin-bottom:18px;display:flex}.dialogue-speaker .avatar-portrait{border:3px solid #b7935c;border-radius:50%;flex:none;width:78px;height:78px;box-shadow:0 0 0 3px #fff8e5}.dialogue-speaker>div>span{color:#95729f;font-size:12px;font-weight:700}.app-shell .dialogue-speaker h2{color:#755083;text-shadow:0 1px #fff;margin:4px 0 0;font-size:27px}.app-shell .npc-game-dialogue>button{color:#614179;background:#d9c0ec;border:2px solid #9f7abb;box-shadow:0 3px #9f7abb}@media (width<=720px){.app-shell[data-view=world] .game-brand{border-radius:21px 28px 28px 21px;gap:10px;padding:7px 14px 7px 8px}.profile-portrait{border-width:2px;width:49px;height:49px}.app-shell[data-view=world] .game-brand h1{font-size:14px}.app-shell[data-view=world] .brand-context{margin-top:4px;font-size:11px}.app-shell[data-view=world] .wardrobe-button{border-radius:18px;gap:3px;min-width:60px;min-height:62px;padding:5px 9px;font-size:10px}.app-shell[data-view=world] .wardrobe-button .ui-icon{width:25px;height:25px}.world-location{max-width:205px;padding:7px 10px 7px 8px;font-size:11px;top:98px;left:13px}.world-radar{width:101px;top:97px;right:15px}.radar-frame{border-width:4px;outline-width:2px}.radar-north{width:20px;height:22px;font-size:10px;top:-15px}.radar-caption{gap:4px;margin-top:9px;padding:4px 6px;font-size:9px}.app-shell[data-view=world] .social-emotes{bottom:max(18px, env(safe-area-inset-bottom));border-radius:20px;gap:5px;padding:7px 8px}.app-shell[data-view=world] .social-emotes>button{border-radius:13px;gap:3px;min-width:54px;min-height:50px;padding:5px 7px;font-size:10px}.app-shell[data-view=world] .social-emotes>button .ui-icon{width:22px;height:22px}.app-shell[data-view=world] .social-emotes:has(.group-emotes)>button{min-width:52px;padding-left:6px;padding-right:6px;font-size:10px}.app-shell[data-view=world] .social-emotes:has(.group-emotes)>button .ui-icon{width:26px;height:26px}.dock-title{padding:4px 15px;font-size:10px;top:-18px}.app-shell[data-view=world] .controls-help{bottom:38px;right:10px}.app-shell[data-view=world] .controls-help>summary{border-width:2px;border-radius:15px;min-height:46px;padding:9px}.app-shell[data-view=world] .retry-connection{gap:10px;padding:7px 17px 7px 8px;font-size:13px;bottom:156px}.app-shell[data-view=world] .retry-connection kbd{min-width:36px;min-height:37px;font-size:18px}.app-shell[data-view=world] .region-chat{top:154px}:is(.app-shell[data-view=world] .friendship-panel,.app-shell[data-view=world]:has(.quest-status) .friendship-panel){top:260px}.app-shell[data-view=world] .friendship-panel:not([open]){max-width:155px}.app-shell[data-view=world]:has(.region-chat[open]) .world-radar{opacity:0;pointer-events:none}.app-shell[data-view=world] .region-chat:not(.friendship-panel):not([open]){max-width:225px}.app-shell[data-view=world] .quest-status{max-width:180px;padding:8px 11px 8px 8px;top:220px;left:13px}:is(.app-shell[data-view=world] .voice-lobby,.app-shell[data-view=world]:has(.quest-status) .voice-lobby){max-width:180px;top:291px}:is(.app-shell[data-view=world]:has(.region-chat[open]) .voice-lobby,.app-shell[data-view=world]:has(.controls-help[open]) .voice-lobby){top:auto}.app-shell .npc-game-dialogue{border-width:3px;width:calc(100% - 24px);padding:20px;inset:auto 12px 20px}.dialogue-speaker .avatar-portrait{width:62px;height:62px}.app-shell .dialogue-speaker h2{font-size:24px}}.region-directory{z-index:4;position:absolute;bottom:85px;right:20px}.region-directory>button{background:var(--panel,#fff8ef);color:var(--text,#473756);box-shadow:var(--ui-shadow);border:1px solid #fff;border-radius:16px;padding:10px 18px}.region-directory dialog{color:#473756;background:#fff8ef;border:1px solid #fff;border-radius:24px;width:440px;max-width:calc(100vw - 32px);max-height:80dvh;padding:24px;overflow:auto}.region-directory dialog::backdrop{background:#30263e66}.region-directory nav{gap:8px;display:grid}.region-directory nav a{color:#624182;background:#eee4f5;border-radius:12px;justify-content:space-between;gap:12px;padding:12px 16px;text-decoration:none;display:flex}.mycom-gate{color:#292333;background:#fff;border-radius:20px;max-width:32rem;margin:15vh auto;padding:2rem}.mycom-account{z-index:30;color:#292333;background:#fffef4;border-radius:14px;max-width:300px;padding:12px;position:absolute;top:70px;left:16px}.mycom-account button{margin:4px;padding:6px}.mycom-account details[open]{max-height:65vh;overflow:auto}.mycom-profile{align-items:center;gap:6px;display:inline-flex}.mycom-avatar{width:32px;height:32px;display:inline-block;position:relative}.mycom-avatar>img:first-child{object-fit:cover;border-radius:50%;width:100%;height:100%}.mycom-avatar .mycom-frame{pointer-events:none;width:152.38%;max-width:none;height:152.38%;position:absolute;top:-26.19%;left:-26.19%}.app-shell[data-view=world]{--hud-paper:#fffdfa;--hud-ink:#49365f;--hud-purple:#8258bb;--hud-border:#d9cbe8;--hud-shadow:0 3px 0 #bca8cf, 0 8px 22px #29203920;--hud-bottom:max(38px, calc(env(safe-area-inset-bottom) + 14px))}.app-shell[data-view=world] .game-header{inset:max(18px, env(safe-area-inset-top)) 20px auto}.app-shell[data-view=world] .game-brand{background:var(--hud-paper);box-shadow:var(--hud-shadow);border:1px solid #fff;border-radius:21px;gap:12px;padding:8px 20px 8px 9px}.app-shell[data-view=world] .profile-portrait{background:#eee1fa;border:2px solid #c8b1e4;width:47px;height:47px;box-shadow:0 0 0 3px #f0e7fb}.app-shell[data-view=world] .game-brand h1{letter-spacing:-.4px;color:var(--hud-ink);text-shadow:none;font-size:16px}.app-shell[data-view=world] .brand-context{color:#80718e;font-size:11px;font-weight:600}.app-shell[data-view=world] .wardrobe-button{min-width:0;min-height:46px;box-shadow:var(--hud-shadow);color:#68468c;background:#f2e8fc;border:1px solid #fff;border-radius:15px;flex-direction:row;gap:8px;padding:10px 15px;font-size:12px}.app-shell[data-view=world] .wardrobe-button .ui-icon{stroke-width:1.8px;width:22px;height:22px}.app-shell[data-view=world] .world-location{color:var(--hud-ink);background:#fffdfaf2;border:1px solid #ffffffc9;border-radius:15px;gap:10px;padding:9px 13px;top:99px;left:21px;box-shadow:0 3px 12px #29203914}.world-location>div{gap:3px;display:grid}.world-location .location-caption{color:#766382;font-size:10px;font-weight:600}.world-location strong{font-size:12px;font-weight:750}.app-shell[data-view=world] .world-location .ui-icon{color:#9571ba;width:19px;height:19px}.world-online{background:#c19b55;border-radius:50%;width:7px;height:7px;margin-left:6px;box-shadow:0 0 0 4px #c19b5514}.world-online[data-online=true]{background:#5f9a81;box-shadow:0 0 0 4px #5f9a8114}.app-shell[data-view=world] .world-radar{width:130px;top:96px;right:23px}.app-shell[data-view=world] .radar-north{border:1px solid var(--hud-border);background:var(--hud-paper);width:22px;height:22px;color:var(--hud-purple);top:-13px}.app-shell[data-view=world] .radar-caption{background:var(--hud-paper);color:#79658c;border:0;margin-top:9px;font-size:10px}.app-shell[data-view=world] .social-emotes{bottom:var(--hud-bottom);box-shadow:var(--hud-shadow);background:#fffdfaf5;border:1px solid #fff;border-radius:21px;gap:5px;padding:6px}.app-shell[data-view=world] .social-emotes>button{color:#704991;background:#eee1fb;border:1px solid #d7c3eb;border-radius:15px;gap:5px;min-width:60px;min-height:53px;padding:7px 9px;font-size:10px;box-shadow:0 2px #c6addb}.app-shell[data-view=world] .social-emotes>button .ui-icon{stroke-width:1.7px;filter:none;width:22px;height:22px}.app-shell[data-view=world] .social-emotes>button:not(:disabled):active{box-shadow:none;transform:translateY(2px)}.app-shell[data-view=world] .region-chat{background:var(--hud-paper);box-shadow:var(--hud-shadow);border:1px solid #fff;border-radius:17px}.app-shell[data-view=world] .region-chat>summary{color:#70538b;min-height:46px;padding:12px 15px;font-size:12px}.app-shell[data-view=world] .region-chat>summary .ui-icon{width:21px;height:21px}.app-shell[data-view=world] .region-chat:not(.friendship-panel){top:auto;bottom:var(--hud-bottom);left:20px}.app-shell[data-view=world] .region-chat[open]{z-index:6;width:320px}.app-shell[data-view=world] .region-chat[open]>summary{border-bottom:1px solid #eee7f5;margin-bottom:12px}.app-shell[data-view=world] .region-chat [role=log]{scrollbar-width:thin;scrollbar-color:#d8c8e8 transparent;max-height:min(32dvh,250px)}:is(.app-shell[data-view=world] .friendship-panel,.app-shell[data-view=world]:has(.quest-status) .friendship-panel){inset:267px 20px auto auto}.app-shell[data-view=world] .friendship-panel[open]{overscroll-behavior:contain;max-height:calc(100dvh - 340px);overflow-y:auto}.app-shell[data-view=world] .controls-help{bottom:var(--hud-bottom);right:20px}.app-shell[data-view=world] .controls-help>summary,.app-shell[data-view=world] .region-directory>button{background:var(--hud-paper);min-height:46px;box-shadow:var(--hud-shadow);color:#70538b;border:1px solid #fff;border-radius:15px;align-items:center;gap:8px;padding:11px 15px;font-size:12px;font-weight:700;display:flex}.app-shell[data-view=world] .controls-help>summary .ui-icon,.app-shell[data-view=world] .region-directory .ui-icon{width:21px;height:21px}.app-shell[data-view=world] .region-directory{bottom:calc(var(--hud-bottom) + 60px);right:20px}.app-shell[data-view=world] .controls-help-content{border:1px solid var(--hud-border);box-shadow:var(--hud-shadow);padding:22px;bottom:62px}.app-shell[data-view=world] .quest-status{background:#fff5dafa;border:1px solid #e8d6a6;border-radius:15px;top:169px;left:21px;box-shadow:0 3px #d6c08d}.app-shell[data-view=world] .retry-connection{bottom:calc(var(--hud-bottom) + 98px);background:var(--hud-paper);min-height:48px;box-shadow:var(--hud-shadow);border:1px solid #d0b9e0;border-radius:17px;font-size:13px}.app-shell[data-view=world] .retry-connection kbd{color:#71468f;background:#eee2fa;border:1px solid #d5bee5;border-bottom-width:3px;border-radius:10px;min-width:33px;min-height:33px;font-size:17px}.app-shell[data-view=world] .connection-status{bottom:calc(var(--hud-bottom) + 165px)}@media (width>=721px){.app-shell[data-view=world]:has(.region-chat[open]:not(.friendship-panel)) .social-emotes{left:calc(50% + 60px)}}@media (width<=720px){body:has(.firebase-emulator-warning) .app-shell[data-view=world]{--hud-bottom:max(66px, calc(env(safe-area-inset-bottom) + 14px))}.app-shell[data-view=world] .game-header{inset:12px 12px auto}.app-shell[data-view=world] .game-brand{border-radius:17px;gap:9px;padding:7px 12px 7px 8px}.app-shell[data-view=world] .profile-portrait{width:38px;height:38px}.app-shell[data-view=world] .game-brand h1{font-size:14px}.app-shell[data-view=world] .brand-context{font-size:10px}.app-shell[data-view=world] .wardrobe-button{min-width:44px;min-height:44px;padding:10px}.app-shell[data-view=world] .wardrobe-button>span{display:none}.app-shell[data-view=world] .world-location{gap:7px;padding:8px 10px;top:83px;left:12px}.world-location strong{font-size:11px}.app-shell[data-view=world] .world-radar{width:96px;top:84px;right:14px}.app-shell[data-view=world] .radar-frame{border-width:4px}.app-shell[data-view=world] .radar-caption{padding:4px 7px;font-size:9px}:is(.app-shell[data-view=world] .friendship-panel,.app-shell[data-view=world]:has(.quest-status) .friendship-panel){top:229px;right:12px}.app-shell[data-view=world] .region-chat:not(.friendship-panel){left:12px}.app-shell[data-view=world] .region-chat:not(.friendship-panel):not([open])>summary{gap:0;width:46px;padding:12px;font-size:0}.app-shell[data-view=world] .region-chat[open]{width:min(340px,100vw - 24px)}.app-shell[data-view=world] .controls-help{right:12px;bottom:calc(var(--hud-bottom) + 3px)}.app-shell[data-view=world] .controls-help>summary{min-height:44px;padding:11px}.app-shell[data-view=world] .region-directory{right:12px;bottom:calc(var(--hud-bottom) + 62px)}.app-shell[data-view=world] .region-directory>button{min-width:44px;min-height:44px;padding:11px}.app-shell[data-view=world] .region-directory>button>span{display:none}.app-shell[data-view=world] .region-directory>button{font-size:0}.app-shell[data-view=world] .social-emotes{gap:4px;padding:5px}.app-shell[data-view=world] .social-emotes>button{min-width:50px;min-height:49px;padding:5px 6px;font-size:9px}.app-shell[data-view=world] .social-emotes>button .ui-icon{width:21px;height:21px}.app-shell[data-view=world] .quest-status{max-width:200px;top:149px;left:12px}.app-shell[data-view=world]:has(.region-chat[open]:not(.friendship-panel)) .social-emotes{visibility:hidden}:is(.app-shell[data-view=world]:has(.region-chat[open]:not(.friendship-panel)) .controls-help,.app-shell[data-view=world]:has(.region-chat[open]:not(.friendship-panel)) .region-directory){visibility:hidden}.app-shell[data-view=world] .group-emote-options{width:min(260px,100vw - 24px);right:-30px}}@media (height<=540px) and (width>=721px){.app-shell[data-view=world] .world-radar{width:96px}:is(.app-shell[data-view=world] .friendship-panel,.app-shell[data-view=world]:has(.quest-status) .friendship-panel){top:229px}}:is(.app-shell[data-view=world] .friendship-panel[open],.app-shell[data-view=world]:has(.quest-status) .friendship-panel[open]){scrollbar-width:thin;scrollbar-color:#d6c3e6 transparent;border-radius:21px;width:360px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 150px);top:96px;overflow-y:auto}:is(.app-shell[data-view=world]:has(.friendship-panel[open]) .world-radar,.app-shell[data-view=world]:has(.friendship-panel[open]) .controls-help,.app-shell[data-view=world]:has(.friendship-panel[open]) .region-directory){visibility:hidden}.app-shell[data-view=world] .friendship-panel>summary{gap:9px}.app-shell[data-view=world] .friendship-panel>summary>.ui-icon:last-child{color:#9b84b0;width:14px;height:14px;margin-left:auto}.app-shell[data-view=world] .friendship-panel[open]>summary{z-index:2;background:#fffdfa;margin-bottom:0;position:sticky;top:0}.app-shell[data-view=world] .friendship-panel[open]>summary>.ui-icon:last-child{transform:rotate(90deg)}.friends-notification{color:#724696;background:#eadbf9;border-radius:7px;place-items:center;min-width:20px;height:20px;padding:2px 5px;font-size:10px;display:grid}.app-shell[data-view=world] .friendship-panel>section{padding:16px}.friends-heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:16px;display:flex}.app-shell .friends-heading h2{letter-spacing:-.4px;color:#513b68;margin:0 0 5px;font-size:17px}.friends-heading p,.friends-group-title p{color:#81718f;margin:0;font-size:11px;line-height:1.6}.app-shell .friendship-panel button.friends-refresh{background:#f5effa;border:1px solid #e7dced;flex:none;min-width:34px;min-height:34px;padding:8px}.friends-refresh .ui-icon{width:17px;height:17px}.app-shell .friendship-panel .friends-filters{background:#f1ebf6;border-radius:12px;gap:3px;margin-bottom:12px;padding:4px;display:flex}.app-shell .friendship-panel .friends-filters button{color:#80708e;white-space:nowrap;background:0 0;border:0;flex:1;justify-content:center;align-items:center;gap:4px;min-height:35px;padding:8px 4px;font-size:10px;display:flex}.app-shell .friendship-panel .friends-filters button[aria-pressed=true]{color:#704890;background:#fffdfa;box-shadow:0 2px 5px #56356f12}.friends-filters button>span{background:#e9def3;border-radius:5px;min-width:16px;padding:2px 4px;font-size:9px}.friends-search{background:#fff;border:1px solid #e3d9ec;border-radius:11px;align-items:center;gap:8px;margin-bottom:12px;padding:0 10px;display:flex}.friends-search>.ui-icon{color:#9a84ac;width:16px;height:16px}.app-shell .friendship-panel .friends-search input{color:#513b68;background:0 0;border:0;width:100%;min-width:0;padding:10px 0}.friends-search:focus-within{outline-offset:2px;outline:2px solid #b697d5}.app-shell .friends-search input:focus-visible{outline:none}.friends-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell .friendship-panel .friendship-entries{gap:8px;max-height:none;display:grid;overflow:visible}.friend-card{background:#fff;border:1px solid #e8dff0;border-radius:14px;min-width:0;padding:11px}.friend-card-person{align-items:center;gap:10px;min-width:0;display:flex}.friend-card-avatar{color:#8a5daf;background:#ede0f8;border-radius:12px;flex:none;place-items:center;width:35px;height:35px;font-size:16px;font-weight:800;display:grid}.friend-avatar-mint{color:#5d8e76;background:#e3f0e9}.friend-card-person>div{min-width:0}.friend-card-person strong{color:#564168;overflow-wrap:anywhere;font-size:12px;display:block}.friend-card-person small{color:#81718f;margin-top:4px;font-size:10px;display:block}.friend-card-person .mycom-profile{flex-wrap:wrap;gap:0}.friend-card-person .mycom-avatar:empty{display:none}.friend-card-person:has(.mycom-avatar img)>.friend-card-avatar{display:none}.friend-card-person:has(.mycom-avatar img) .mycom-profile{gap:10px}.friend-card-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.app-shell .friendship-panel .friend-card-actions button{color:#7a608e;background:#f7f3fa;border:1px solid #e7dced;justify-content:center;align-items:center;gap:5px;min-height:33px;padding:7px 9px;font-size:10px;display:inline-flex}.friend-card-actions .ui-icon{width:14px;height:14px}.app-shell .friendship-panel button.friend-primary{color:#fff;background:#8b65ae;border-color:#8e69b0}.friend-more{width:32px;margin-left:auto}.friend-more>summary{color:#8a6e9c;cursor:pointer;background:#f7f3fa;border:1px solid #e7dced;border-radius:9px;place-items:center;min-width:32px;min-height:33px;display:grid}.friend-more>summary .ui-icon{width:18px;height:18px}.friend-more[open]{width:100%;margin-top:4px}.friend-more[open]>summary{width:32px;margin-left:auto}.friend-more>div{border-top:1px solid #f0e8f5;gap:5px;margin-top:6px;padding-top:8px;display:grid}.app-shell .friendship-panel .friend-card-actions .friend-danger{color:#a45968;background:#fff4f5;border-color:#eed6dd}.friends-empty{text-align:center;color:#867295;background:#fbf8fd;border:1px dashed #e1d3ec;border-radius:14px;justify-items:center;padding:23px 16px;display:grid}.friends-empty>.ui-icon{color:#b399ca;width:28px;height:28px;margin-bottom:11px}.friends-empty strong{color:#715583;font-size:12px}.friends-empty p{margin:7px 0 0;font-size:11px;line-height:1.7}.friends-group{background:#f4eff8;border:1px solid #e3dded;border-radius:14px;margin-top:16px;padding:12px}.friends-group-title{align-items:center;gap:9px;display:flex}.friends-group-title h3,.friends-invitations h3{color:#705387;margin:0 0 4px;font-size:12px}.friend-card-icon{color:#9473ad;background:#e6d9f2;border-radius:10px;flex:none;place-items:center;width:32px;height:32px;display:grid}.friend-card-icon .ui-icon{width:18px;height:18px}.app-shell .friendship-panel .friends-group>button{color:#79598e;background:#fffdfa;border:1px solid #d9c7e8;width:100%;margin-top:10px;font-size:11px}.friends-group ul{margin:10px 0 0;padding:0;list-style:none}.friends-group li{color:#705b82;overflow-wrap:anywhere;border-top:1px solid #e6ddeb;justify-content:space-between;align-items:baseline;gap:8px;padding:7px 0;font-size:11px;display:flex}.friends-group li small{color:#8b669f;background:#e8dcf1;border-radius:5px;flex:none;padding:3px 5px;font-size:9px}.friends-invitations{background:#fff7e3;border:1px solid #e5d4a9;border-radius:14px;margin-bottom:14px;padding:12px}.friend-invitation{gap:9px;margin-top:10px;display:flex}.friend-invitation strong{overflow-wrap:anywhere;color:#7d6542;font-size:12px}.friend-invitation p{color:#927b59;margin:4px 0 7px;font-size:11px}.friend-invitation .friend-card-icon{color:#b08c51;background:#f5e7c6}.app-shell .friendship-panel .friends-notice{color:#528069;background:#e9f3ed;border-radius:10px;margin:0 0 12px;padding:10px;font-size:11px;line-height:1.6}.app-shell .friendship-panel .friends-notice-error{color:#a15f60;background:#fff0ee}@media (width<=720px){:is(.app-shell[data-view=world] .friendship-panel[open],.app-shell[data-view=world]:has(.quest-status) .friendship-panel[open]){max-width:calc(100vw - 24px);max-height:calc(100dvh - 170px);top:83px;right:12px}.app-shell[data-view=world]:has(.friendship-panel[open]) .social-emotes{visibility:hidden}:is(.app-shell[data-view=world]:has(.friendship-panel[open]) .controls-help,.app-shell[data-view=world]:has(.friendship-panel[open]) .region-directory){visibility:hidden}.app-shell .friendship-panel .friend-card-actions button,.app-shell .friendship-panel .friends-filters button,.app-shell .friendship-panel .friends-group>button,.friend-more>summary{min-height:40px}}@media (height<=580px) and (width>=721px){:is(.app-shell[data-view=world] .friendship-panel[open],.app-shell[data-view=world]:has(.quest-status) .friendship-panel[open]){max-height:calc(100dvh - 145px);top:84px}}.app-shell[data-view=world]{--hud-paper:#fffdf6;--hud-ink:#3e325c;--hud-purple:#7650b3;--hud-shadow:0 4px 0 #50396f, 0 8px 0 #ffffff40, 0 12px 24px #23183930;--hud-border:#6c5288}.app-shell[data-view=world] .game-brand{background:#fffdf6;border:2px solid #4f386a;border-radius:12px 24px 24px 12px;padding:10px 24px 10px 10px;box-shadow:0 4px #50396f}.app-shell[data-view=world] .game-brand h1{color:#593784;letter-spacing:-.7px;font-size:19px;font-weight:900}.app-shell[data-view=world] .profile-portrait{border:3px solid #fff2ae;width:51px;height:51px;box-shadow:0 0 0 2px #7650b3}.app-shell[data-view=world] .brand-context{color:#78658c;font-weight:700}.app-shell[data-view=world] .world-location{color:#fffdf6;background:#45345def;border:0;border-left:4px solid #b7efce;border-radius:4px 14px 14px 4px;top:109px;box-shadow:0 3px #2f2444}.app-shell[data-view=world] .world-location .location-caption{color:#d6c9e8}.app-shell[data-view=world] .world-location .ui-icon{color:#b7efce}.app-shell[data-view=world] .world-online[data-online=true]{background:#b7efce}.app-shell[data-view=world] .wardrobe-button{color:#654820;background:#ffe5a5;border:2px solid #78572e;border-radius:14px 14px 6px;box-shadow:0 4px #78572e}.app-shell[data-view=world] .radar-frame{border:6px solid #fff8df;outline:3px solid #665080;box-shadow:0 5px #423255}.app-shell[data-view=world] .radar-north{color:#7650b3;border:2px solid #665080;font-weight:900}.app-shell[data-view=world] .radar-caption{color:#fff8df;background:#45345d;border-radius:4px 4px 10px 10px;padding:6px 14px}.app-shell[data-view=world] .social-emotes{background:#665080;border:2px solid #493260;border-radius:18px 18px 10px 10px;gap:9px;padding:12px 10px 9px;box-shadow:0 5px #352144,inset 0 2px #a489be}.app-shell[data-view=world] .social-emotes:before{content:"Kendini ifade et";white-space:nowrap;color:#fffdf6;text-shadow:0 1px 4px #241733,0 1px 2px #241733;font-size:11px;font-weight:800;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.app-shell[data-view=world] .social-emotes>button{color:#5d3488;background:#f0ddff;border:2px solid #c6a5e2;border-radius:12px;min-width:68px;min-height:62px;font-size:11px;box-shadow:0 4px #b18ccf,inset 0 2px #fff}.app-shell[data-view=world] .social-emotes>button .ui-icon{stroke-width:2px;width:28px;height:28px}.app-shell[data-view=world] .social-emotes>button:nth-of-type(2){color:#2f6b53;background:#c9f2dc;border-color:#9ccaae;box-shadow:0 4px #83b79b,inset 0 2px #fff}.app-shell[data-view=world] .social-emotes>button:nth-of-type(3){color:#80591d;background:#ffe4a4;border-color:#dcba74;box-shadow:0 4px #c6a15a,inset 0 2px #fff}.app-shell[data-view=world] .region-chat{border:2px solid #665080;border-radius:14px 14px 14px 5px;box-shadow:0 4px #493260}.app-shell[data-view=world] .region-chat>summary{color:#563b76;font-weight:800}.app-shell[data-view=world] .friendship-panel{background:#e6f6ee;border-color:#497760;border-radius:14px 5px 14px 14px;box-shadow:0 4px #365f4b}.app-shell[data-view=world] .friendship-panel>summary{color:#37644e}.app-shell[data-view=world] .region-directory>button{color:#315e4a;background:#c9eedc;border:2px solid #497760;border-radius:14px 14px 5px;box-shadow:0 4px #31523e}.app-shell[data-view=world] kbd{background:#ffffff65;border:1px solid;border-bottom-width:3px;border-radius:5px;place-items:center;min-width:23px;padding:2px 5px;font-family:inherit;font-size:11px;font-weight:800;display:inline-grid}.app-shell[data-view=world] .controls-help>summary{background:#eee2f7;border:2px solid #665080;border-radius:12px 5px 12px 12px;box-shadow:0 4px #493260}.app-shell[data-view=world] :is(button,summary,a):focus-visible{outline-offset:4px;outline:3px solid #f7ba4e}.app-shell[data-view=world] .world-atlas{color:#423354;background:#fffdf6;border:3px solid #54406d;border-radius:26px 26px 16px 16px;width:900px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:0;overflow:auto;box-shadow:0 8px #382849,0 24px 90px #1c142660}.world-atlas::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#201b36b8}.atlas-heading{background:#ede0f7;border-bottom:2px solid #d3bce5;justify-content:space-between;align-items:flex-start;gap:16px;padding:25px 30px 20px;display:flex}.atlas-brand{color:#755197;font-size:13px;font-weight:900}.atlas-heading h2{letter-spacing:-1px;color:#4e326f;margin:7px 0;font-size:clamp(24px,4vw,34px);line-height:1.15}.atlas-heading p{color:#766086;margin:0;font-size:13px}.atlas-close{color:#61457f;background:0 0;border:0;justify-items:center;gap:1px;padding:0 4px;font-size:30px;line-height:1;display:grid}.atlas-close kbd{font-size:9px!important}.region-directory .atlas-landscape{background:radial-gradient(at 20% 40%,#c7dfb7 0 21%,#0000 21.5%),radial-gradient(at 75% 90%,#cfdfbb 0 26%,#0000 26.5%),#e4eed6;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;min-height:335px;padding:34px 22px 32px;display:grid;position:relative;overflow:hidden}.atlas-roads{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.atlas-roads path{fill:none;stroke:#fff8de;stroke-width:16px;stroke-dasharray:5 7}.atlas-compass{text-align:center;color:#6d8b66;font-size:16px;line-height:1.1;position:absolute;top:12px;right:16px}.region-directory .atlas-landscape .atlas-destination{text-align:center;color:#3e5241;background:0 0;border:0;border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;text-decoration:none;display:flex;position:relative}.region-directory .atlas-destination.atlas-square{margin-top:55px}.atlas-island{background:#a7cf9a;border:4px solid #fff8df;border-radius:48% 52% 42% 58%;place-items:center;width:142px;height:100px;margin-bottom:13px;transition:transform .16s;display:grid;position:relative;box-shadow:0 8px #779b73,0 12px #62835d30}.atlas-square .atlas-island{background:#ead4ad;box-shadow:0 8px #b9a080,0 12px #62835d30}.atlas-streets .atlas-island{background:#dfc3ce;box-shadow:0 8px #ab879d,0 12px #62835d30}.atlas-island>span{filter:drop-shadow(0 4px #344c3c25);font-size:48px;position:relative}.atlas-island i{color:#ffffff90;font-size:60px;font-style:normal;position:absolute;top:3px;right:12px}.atlas-destination:hover .atlas-island{transform:translateY(-4px)}.atlas-place-name{font-size:16px;font-weight:900}.atlas-place-description{color:#52644f;font-size:11px}.atlas-travel{background:#fffdf4;border-radius:20px;margin-top:6px;padding:5px 14px;font-size:11px;font-weight:800;box-shadow:0 2px #93ac82}.atlas-destination[aria-current] .atlas-travel{color:#fff;background:#7650b3;box-shadow:0 2px #4a2e76}.atlas-destination[aria-current] .atlas-island{outline-offset:4px;outline:3px solid #7650b3}.atlas-community{padding:20px 30px}.atlas-community-heading{color:#74568b;align-items:center;gap:9px;display:flex}.atlas-community h3{margin:0;font-size:15px}.atlas-community p{color:#766383;margin-bottom:0;font-size:12px;line-height:1.6}.region-directory .atlas-published{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.region-directory .atlas-published a{color:#583b74;background:#f1e8f7;border:1px solid #dbcae8;align-items:center;font-size:13px}.atlas-published a>span:last-child{margin-left:auto;font-size:11px}.atlas-footer{color:#7b6b52;background:#f5efdf;border-top:1px solid #e5dcc7;justify-content:space-between;gap:12px;padding:14px 30px;font-size:11px;display:flex}.atlas-dot{background:#8a69b1;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}@media (width<=720px){.app-shell[data-view=world] .game-brand h1{font-size:16px}.app-shell[data-view=world] .profile-portrait{width:40px;height:40px}.app-shell[data-view=world] .world-location{top:91px}.app-shell[data-view=world] .social-emotes{gap:6px;padding:9px 7px 7px}.app-shell[data-view=world] .social-emotes>button{min-width:51px;min-height:52px;padding:5px;font-size:9px}.app-shell[data-view=world] .social-emotes>button .ui-icon{width:24px;height:24px}.app-shell[data-view=world] .region-directory>button kbd{display:none}.atlas-heading{padding:20px 18px 16px}.region-directory .atlas-landscape{gap:3px;min-height:290px;padding:25px 8px}.atlas-island{border-width:3px;width:88px;height:75px}.atlas-island>span{font-size:36px}.atlas-island i{font-size:40px}.atlas-place-name{font-size:12px}.atlas-place-description{display:none}.atlas-travel{padding:5px 8px;font-size:10px}.atlas-community{padding:18px}.region-directory .atlas-published{grid-template-columns:1fr}.atlas-footer{flex-wrap:wrap;padding:12px 18px;font-size:10px}}@media (prefers-reduced-motion:reduce){.atlas-island{transition:none}}.app-shell .atlas-heading h2{margin:7px 0;font-size:clamp(24px,4vw,34px);line-height:1.15}.app-shell .atlas-heading p{margin:0;font-size:13px}.app-shell .atlas-heading .atlas-brand{font-family:inherit;font-style:normal}.app-shell .atlas-community h3{font-size:15px}.region-directory .atlas-published a[aria-current]{background:#e5d5f4;border-color:#8864af}.app-shell[data-view=world] .conversation-panel[open]{background:#fffdf7;width:370px;padding:0;overflow:hidden}.app-shell[data-view=world] .conversation-panel>summary{align-items:center;gap:9px;display:flex}.chat-expand{margin-left:auto;font-size:20px}.chat-unread{color:#fff;background:#8054b5;border-radius:8px;place-items:center;min-width:20px;height:20px;font-size:10px;display:grid}.app-shell[data-view=world] .conversation-panel[open]>summary{background:#e9dbf5;border-bottom:2px solid #d1b9e3;margin:0;padding:14px 16px}.conversation-panel>section{padding:12px}.chat-channel-tabs{background:#eee8f2;border-radius:12px;gap:6px;padding:4px;display:flex}.app-shell .chat-channel-tabs>button{color:#756784;background:0 0;border:0;border-radius:8px;flex:1;padding:9px 4px;font-size:12px;font-weight:800}.app-shell .chat-channel-tabs>button[aria-pressed=true]{color:#fff;background:#7952a7;box-shadow:0 3px #513575}.chat-channel-hint{color:#7b6a87;margin:12px 2px;font-size:11px}.app-shell[data-view=world] .conversation-panel [role=log]{flex-direction:column;gap:10px;height:30dvh;min-height:180px;max-height:280px;padding:5px 3px 8px;display:flex}.app-shell .conversation-panel .chat-entry{background:#f0eaf6;border:1px solid #e3d7ed;border-radius:12px 12px 12px 3px;flex-wrap:wrap;flex:none;align-items:center;gap:5px;margin:0 20px 0 0;padding:10px 12px;font-size:12px;display:flex;position:relative}.app-shell .conversation-panel .chat-entry[data-own=true]{background:#e3f2e9;border-color:#c9e4d3;border-radius:12px 12px 3px;margin:0 0 0 20px}.app-shell .conversation-panel .chat-entry>strong{color:#775497;font-size:11px}.app-shell .conversation-panel .chat-entry>span{overflow-wrap:anywhere;width:100%;margin-top:2px;line-height:1.5;display:block}.app-shell .conversation-panel .chat-entry>button{color:#85768e;background:0 0;border:0;min-height:0;margin-left:auto;padding:2px 5px;font-size:9px}.app-shell .conversation-panel .chat-safety{color:#8b7c96;width:100%;font-size:10px}.chat-empty{color:#9b83af;justify-items:center;gap:8px;margin:auto;padding:20px;font-size:11px;display:grid}.chat-empty .ui-icon{width:35px;height:35px}.chat-empty strong{color:#6c527e;font-size:13px}.app-shell .conversation-panel section>form{border-top:1px solid #e8dfee;gap:7px;padding:10px 0 0;display:flex}.app-shell .conversation-panel section>form input{color:#4c375e;background:#faf6fd;border:1px solid #d9c7e6;border-radius:11px;flex:1;min-width:0;padding:11px;font-size:12px}.app-shell .conversation-panel section>form button{color:#fff;background:#8b64b3;border:1px solid #67448e;border-radius:10px;padding:10px;font-weight:800;box-shadow:0 3px #5b3c7c}.live-map-section{background:#fffdf7;border-bottom:1px solid #d8c7e5;padding:20px 30px}.live-map-section>header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.live-map-section>header>div:first-child{color:#8a7399;font-size:11px}.live-map-section strong{color:#54366f;margin-top:4px;font-size:17px;display:block}.live-map-indicator{background:#59a881;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.live-map-zoom{gap:5px;display:flex}.app-shell .live-map-zoom button{color:#62457e;background:#eee4f6;border:1px solid #d6c3e6;border-radius:7px;padding:6px 10px;font-weight:800}.live-map-canvas{background:#e4edd9;border:2px solid #a8bb99;border-radius:14px;height:270px;position:relative;overflow:hidden}.live-map-canvas svg{width:100%;height:100%;display:block}.live-map-north{color:#637c5b;font-size:12px;font-weight:900;position:absolute;top:10px;right:12px}.live-map-section>footer{color:#7d6c89;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:9px;font-size:10px;display:flex}.live-map-section footer i{background:#8054b5;border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}@media (width<=720px){.app-shell[data-view=world] .conversation-panel[open]{width:min(370px,100vw - 24px)}.live-map-section{padding:16px}.live-map-canvas{height:240px}.live-map-section footer>span:last-child{display:none}}.graphics-settings{background:#f3ebf8;border:1px solid #dbc9e8;border-radius:12px;gap:9px;margin-bottom:20px;padding:14px;display:grid}.app-shell .graphics-settings h3{color:#62417f;margin:0;font-size:13px}.graphics-settings label{color:#756583;gap:6px;font-size:11px;display:grid}.graphics-settings select{color:#53356b;background:#fffdf6;border:1px solid #c9afd9;border-radius:8px;max-width:100%;padding:8px}.graphics-settings output{color:#3c7a58;font-size:13px;font-weight:800}.graphics-settings small{color:#7d6b8c;font-size:10px;line-height:1.5}.app-shell[data-view=world] .controls-help-content{max-height:min(80dvh,650px);overflow-y:auto}
