@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #080c18;--glass: rgba(14, 19, 36, .66);--glass-strong: rgba(16, 22, 42, .82);--glass-soft: rgba(255, 255, 255, .045);--stroke: rgba(255, 255, 255, .075);--stroke-strong: rgba(255, 255, 255, .14);--text: #eef2ff;--text-dim: #b3bdd6;--muted: #8f9bbb;--accent: #8b5cf6;--accent-2: #22d3ee;--ok: #4ade80;--r-xl: 26px;--r-lg: 20px;--r-md: 14px;--r-sm: 10px;--r-pill: 999px;--shadow: 0 24px 60px -24px rgba(2, 5, 16, .92), 0 2px 10px rgba(2, 5, 16, .35);--shadow-sm: 0 10px 30px -18px rgba(2, 5, 16, .8);color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;overflow:hidden;overscroll-behavior:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}button,input{font:inherit}button{cursor:pointer}input,textarea{user-select:text;-webkit-user-select:text}::selection{background:#8b5cf666}#world:after{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(120% 95% at 50% 42%,transparent 52%,rgba(10,16,30,.32) 100%)}.hud-card{background:var(--glass);border:1px solid var(--stroke);border-radius:var(--r-lg);box-shadow:var(--shadow);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%);background-image:linear-gradient(180deg,rgba(255,255,255,.055),transparent 38%)}.topbar{position:fixed;z-index:6;top:16px;left:16px;right:16px;height:58px;padding:0 10px 0 22px;display:flex;align-items:center;gap:26px;border-radius:var(--r-pill);background:#0a0e1cad;border:1px solid var(--stroke);box-shadow:var(--shadow-sm);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%)}.brand{display:flex;align-items:center;text-decoration:none;white-space:nowrap}.brand-logo{display:block;width:36px;height:36px;border-radius:10px;object-fit:contain;flex-shrink:0}nav{display:flex;align-items:center;gap:2px;flex:1}nav button{background:transparent;color:var(--text-dim);border:0;padding:9px 14px;border-radius:var(--r-pill);font-size:12px;font-weight:500;transition:background .18s ease,color .18s ease}nav button:hover{background:#ffffff14;color:#fff}.experimental-chip{font-size:8.5px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;color:#fbbf24;background:#fbbf241f;border:1px solid rgba(251,191,36,.26);padding:3px 9px;border-radius:var(--r-pill);white-space:nowrap}.profile{display:flex;align-items:center;gap:10px;text-decoration:none;transition:background .16s ease,border-color .16s ease;padding:5px 6px 5px 12px;border-radius:var(--r-pill);background:var(--glass-soft);border:1px solid var(--stroke);font-size:11px;color:var(--text-dim);white-space:nowrap}.profile:hover{background:#ffffff17;border-color:var(--stroke-strong)}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 3px #4ade8029,0 0 12px #4ade80b3;transition:background .3s ease,box-shadow .3s ease}.you-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:11.5px;font-weight:600}.role-chip{font-size:8.5px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#ddd6fe;background:#8b5cf62e;padding:3px 7px;border-radius:var(--r-pill);white-space:nowrap}.avatar-mini{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#8b5cf6,#22d3ee);font-weight:800;font-size:11px;color:#fff;box-shadow:0 0 0 1px #ffffff29}.avatar-img{width:100%;height:100%;object-fit:cover;display:block}.hud{position:fixed;z-index:3;left:16px;top:90px;width:296px;pointer-events:none}.hud-panel{display:flex;flex-direction:column;overflow:hidden}.welcome{padding:20px 20px 18px}.welcome small,.stat-label{font-size:9px;letter-spacing:1.9px;color:var(--muted);font-weight:700}.welcome h1{font-size:21px;letter-spacing:-.6px;margin:8px 0;font-weight:700}.welcome p{font-size:11.5px;color:var(--text-dim);line-height:1.6;margin:0}.pills{display:flex;gap:6px;margin-top:14px;flex-wrap:wrap}.pills span{font-size:9.5px;color:#ddd6fe;background:#8b5cf624;padding:6px 10px;border-radius:var(--r-pill)}.stats{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:15px 20px 17px;border-top:1px solid var(--stroke);background:#ffffff05}.stat-label{grid-column:1 / -1;margin-bottom:2px}.stats strong{font-size:21px;font-weight:700;letter-spacing:-.4px}.stats strong small{font-size:10.5px;color:var(--text-dim);font-weight:500}.muted{font-size:10.5px;color:var(--muted);align-self:center}.xp{height:4px;border-radius:var(--r-pill);background:#ffffff14;grid-column:1 / -1;margin-top:8px;overflow:hidden}.xp span{display:block;width:18%;height:100%;border-radius:var(--r-pill);background:linear-gradient(90deg,var(--accent),var(--accent-2));transition:width .4s ease}.stats>small:last-child{grid-column:1 / -1;color:var(--muted);font-size:9.5px;margin-top:2px}.districts{position:fixed;z-index:3;right:16px;top:90px;width:252px;padding:12px;border-radius:var(--r-lg);background:var(--glass);border:1px solid var(--stroke);box-shadow:var(--shadow);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%);background-image:linear-gradient(180deg,rgba(255,255,255,.05),transparent 40%)}.panel-title{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.6px;font-weight:800;color:var(--muted);padding:4px 8px 10px}.panel-title span{color:var(--accent)}.district{width:100%;display:flex;align-items:center;gap:11px;border:0;border-radius:var(--r-md);background:transparent;color:var(--text);text-align:left;padding:9px;transition:background .16s ease,transform .16s ease}.district:hover{background:#ffffff12;transform:translate(-2px)}.district:hover em{color:var(--text)}.district i{font-style:normal;font-size:17px;width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#ffffff0e;box-shadow:inset 0 1px #ffffff0f}.district i.purple{color:#c4b5fd}.district i.pink{color:#f9a8d4}.district i.gold{color:#fcd34d}.district i.blue{color:#67e8f9}.district i.green{color:#6ee7b7}.district span{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.district b{font-size:11px;font-weight:600;letter-spacing:-.1px}.district small{font-size:9.5px;color:var(--muted)}.district em{font-style:normal;color:#5d6784;font-size:13px;transition:color .16s ease}.chat{position:fixed;z-index:3;bottom:20px;left:16px;width:296px;padding:14px;border-radius:var(--r-lg)}.chat-head{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:var(--text-dim);font-weight:700}.chat-head span{font-size:8px;letter-spacing:.6px;color:var(--ok);background:#4ade801f;padding:3px 7px;border-radius:var(--r-pill)}.chat-toggle{border:0;background:#ffffff12;color:var(--text-dim);border-radius:50%;width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;font-size:13px;line-height:1;margin-left:6px;transition:background .16s ease,transform .2s ease}.chat-toggle:hover{background:#ffffff24;color:#fff}.chat.collapsed .chat-toggle{transform:rotate(180deg)}.messages{height:108px;overflow:auto;margin:10px 0;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}.messages p{font-size:10.5px;line-height:1.55;margin:7px 0;overflow-wrap:anywhere}.messages b{color:#c7d2fe;font-weight:600}.system-msg{color:#94a3b8}.chat-msg{color:var(--text)}#chatForm{display:flex;gap:6px;align-items:center;padding:5px 5px 5px 13px;border-radius:var(--r-pill);background:#ffffff0f;border:1px solid var(--stroke);transition:border-color .2s ease,background .2s ease}#chatForm:focus-within{border-color:#8b5cf68c;background:#ffffff16}#chatInput{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:11px;padding:5px 0}#chatInput::placeholder{color:#6f7a97}#chatForm button{border:0;border-radius:50%;width:30px;height:30px;flex:0 0 30px;color:#fff;font-size:12px;background:linear-gradient(135deg,var(--accent),#6366f1);box-shadow:0 6px 16px -6px #8b5cf6e6;transition:transform .16s ease,filter .16s ease}#chatForm button:hover{transform:scale(1.06);filter:brightness(1.1)}.controls-help,.zone-hint{position:fixed;z-index:3;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:7px;color:var(--text-dim);background:#0c112099;border:1px solid var(--stroke);padding:9px 16px;border-radius:var(--r-pill);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);white-space:nowrap;font-size:9.5px;box-shadow:var(--shadow-sm)}.controls-help,.zone-hint,.hud,.crosshair{pointer-events:none}.controls-help{bottom:22px}.controls-help kbd{border:1px solid rgba(255,255,255,.16);border-bottom-width:2px;padding:3px 6px;border-radius:6px;font-size:9px;color:#fff;background:#ffffff0a}.controls-help span{margin:0 6px 0 0}.zone-hint{bottom:82px;gap:11px;padding:10px 16px}.hint-icon{font-size:20px;color:var(--accent)}.zone-hint span:last-child{display:flex;flex-direction:column;gap:2px}.zone-hint b{font-size:10.5px;font-weight:600}.zone-hint small{font-size:9.5px;color:var(--muted)}.crosshair{position:fixed;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);font-size:15px;color:#ffffff73;text-shadow:0 1px 6px rgba(0,0,0,.8);pointer-events:none}.modal{position:fixed;z-index:10;inset:0;display:grid;place-items:center;background:#0407109e;backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%);padding:20px;animation:fade-in .18s ease}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}.modal-card{position:relative;display:flex;flex-direction:column;width:min(520px,100%);max-height:min(86vh,720px);padding:30px 30px 22px;border-radius:var(--r-xl);background:radial-gradient(120% 90% at 0% 0%,rgba(139,92,246,.16),transparent 55%),linear-gradient(160deg,#161f38,#0b1020);border:1px solid var(--stroke-strong);box-shadow:0 40px 120px -30px #000000f2;animation:rise .22s cubic-bezier(.22,1,.36,1)}.close{position:absolute;right:16px;top:16px;border:0;background:#ffffff12;color:#fff;border-radius:50%;font-size:20px;line-height:1;width:32px;height:32px;display:grid;place-items:center;transition:background .16s ease}.close:hover{background:#ffffff24}.modal-mark{width:46px;height:46px;border-radius:13px;overflow:hidden;margin-bottom:18px;box-shadow:0 12px 30px -12px #020510cc}.modal-mark img{display:block;width:100%;height:100%;object-fit:cover}.modal-card>small{font-size:9px;letter-spacing:1.8px;color:#c4b5fd;font-weight:700}.modal-card h2{font-size:24px;margin:8px 0;letter-spacing:-.6px;font-weight:700}.modal-card p{font-size:12.5px;color:var(--text-dim);line-height:1.75;margin:0 0 4px}.modal-actions{display:flex;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--stroke);flex-shrink:0}.modal-actions button{border-radius:var(--r-pill);padding:12px 16px;font-size:11.5px;font-weight:700;flex:1;transition:transform .16s ease,filter .16s ease}.modal-actions button:hover{transform:translateY(-1px)}.primary{border:0;color:#fff;background:linear-gradient(110deg,var(--accent),#4f46e5);box-shadow:0 14px 30px -14px #6366f1e6}.secondary{border:1px solid var(--stroke-strong);background:#ffffff0d;color:#e2e8f8}.secondary:hover{background:#ffffff17}.district-content{display:flex;flex-direction:column;gap:8px;max-height:min(44vh,400px);overflow:auto;padding:14px 4px 2px 0;margin-top:8px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}.demo-note{font-size:10.5px;line-height:1.6;color:var(--text-dim);background:#ffffff0a;border-radius:var(--r-md);padding:11px 13px}.data-card{display:flex;align-items:center;gap:12px;background:#ffffff0b;border-radius:var(--r-md);padding:12px;transition:background .16s ease;flex-shrink:0}.data-card:hover{background:#ffffff13}.creator-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:13px;display:grid;place-items:center;color:#0b1020;font-size:12px;font-weight:800;letter-spacing:-.2px}.data-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.data-main b{font-size:11.5px;color:var(--text);font-weight:600}.data-main small{font-size:9.5px;color:var(--muted);line-height:1.4}.price-block{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.price-block>b{font-size:11px;color:#6ee7b7;white-space:nowrap;font-weight:600}.mini-action{border:0;border-radius:var(--r-pill);padding:8px 13px;background:linear-gradient(110deg,var(--accent),#4f46e5);color:#fff;font-size:9.5px;font-weight:700;white-space:nowrap;text-decoration:none;display:inline-block;transition:filter .16s ease}.mini-action:hover{filter:brightness(1.12)}.mini-action:disabled{background:#ffffff1a;color:#a7f3d0}.mini-action.soft{background:#ffffff14}.passport-card{display:flex;gap:15px;align-items:center;border-radius:var(--r-lg);padding:18px;background:radial-gradient(120% 120% at 0% 0%,rgba(139,92,246,.22),transparent 60%),linear-gradient(120deg,#1d2547,#102a45);border:1px solid rgba(167,139,250,.28)}.passport-x.brand-tile{width:58px;height:58px;padding:0;background:transparent;overflow:hidden}.passport-x.brand-tile img{display:block;width:100%;height:100%;object-fit:cover}.passport-x{width:56px;height:66px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(140deg,#a78bfa,#22d3ee);font-size:36px;font-weight:900;color:#0b1020}.passport-card small{font-size:8.5px;letter-spacing:1.2px;color:#c4b5fd;font-weight:700}.passport-card h3{font-size:17px;margin:6px 0;letter-spacing:-.3px}.passport-card p,.passport-card span{font-size:9.5px;color:var(--text-dim);margin:3px 0}.modal-inline-action{display:flex;justify-content:flex-start;padding-top:6px}.gate{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:#040710c7;backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%);animation:fade-in .2s ease}.gate-card{width:min(440px,100%);padding:34px;border-radius:var(--r-xl);background:radial-gradient(120% 90% at 0% 0%,rgba(139,92,246,.18),transparent 55%),linear-gradient(160deg,#161f38,#0b1020);border:1px solid var(--stroke-strong);box-shadow:0 40px 120px -30px #000000f2;animation:rise .24s cubic-bezier(.22,1,.36,1)}.gate-card h2{font-size:23px;margin:16px 0 10px;letter-spacing:-.5px}.gate-card p{font-size:12.5px;line-height:1.75;color:var(--text-dim);margin:0 0 22px}.gate-button{display:inline-block;text-decoration:none;border-radius:var(--r-pill);padding:13px 22px;font-size:12px;font-weight:700;color:#fff;background:linear-gradient(110deg,var(--accent),#4f46e5);box-shadow:0 16px 36px -16px #6366f1f2;transition:transform .16s ease,filter .16s ease}.gate-button:hover{transform:translateY(-1px);filter:brightness(1.08)}.mobile-controls{display:none}@media(max-width:620px),(hover:none)and (pointer:coarse){.mobile-controls{display:block;position:fixed;z-index:5;right:10px;bottom:10px;left:auto;width:128px;height:132px;pointer-events:none}.dpad{position:absolute;right:0;bottom:0;width:128px;height:84px;pointer-events:auto}.dpad>button{position:absolute;top:0;left:44px}.dpad>div{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:center}.dpad button,.interact{width:40px;height:40px;border-radius:13px;border:1px solid var(--stroke-strong);background:#10162ac7;color:#fff;font-size:15px;touch-action:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow-sm)}.interact{pointer-events:auto;position:absolute;right:0;left:auto;bottom:92px;width:128px;height:40px;font-size:9.5px;font-weight:800;border-radius:var(--r-pill);border:0;background:linear-gradient(135deg,var(--accent),#4f46e5);box-shadow:0 14px 30px -12px #6366f1e6}.controls-help{display:none}}@media(max-width:900px){.topbar{height:54px;padding:0 8px 0 16px;gap:14px;top:12px;left:12px;right:12px}.brand-logo{width:30px;height:30px;border-radius:8px}nav button{font-size:10.5px;padding:8px 10px}.hud{top:80px;left:12px;width:236px}.welcome{padding:16px}.welcome h1{font-size:18px}.welcome p{font-size:10.5px}.stats{padding:13px 16px 15px}.districts{top:80px;right:12px;width:226px;padding:10px}.district{padding:8px 7px;gap:9px}.district i{width:32px;height:32px;flex-basis:32px;font-size:15px}.chat{left:12px;bottom:12px;width:258px}.messages{height:84px}.controls-help{bottom:14px}.zone-hint{bottom:72px}}@media(max-width:620px){.topbar{gap:10px;padding:0 8px 0 14px}.brand-logo{width:30px;height:30px;border-radius:8px}nav{display:none}.profile{margin-left:auto;padding-left:8px;gap:8px}.you-name{max-width:84px}.role-chip,.experimental-chip,.hud{display:none}.districts{inset:74px 12px auto;width:auto;padding:8px;border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;gap:8px;overflow:visible}.panel-title{display:none}.district{width:44px;height:44px;flex:0 0 44px;padding:0;justify-content:center;border-radius:13px;background:#ffffff0e}.district:hover{transform:none}.district i{width:auto;height:auto;flex:0 0 auto;font-size:18px;background:none;box-shadow:none;border-radius:0}.district b,.district small,.district em{display:none}.zone-hint{inset:142px 12px auto;transform:none;white-space:normal;padding:8px 12px}.zone-hint small{display:none}.chat{left:10px;bottom:10px;width:min(52%,200px);padding:11px}.messages{height:62px;margin:7px 0}.messages p{font-size:11px}#chatInput,.zone-hint b{font-size:12px}.chat-toggle{width:32px;height:32px;flex-basis:32px;font-size:15px}#chatForm button{width:36px;height:36px;flex-basis:36px}#chatForm{padding-left:11px}.controls-help,.crosshair{display:none}.modal-card{padding:24px 20px 18px;max-height:90vh;border-radius:var(--r-lg)}.modal-card h2{font-size:20px}.modal-mark{width:40px;height:40px;font-size:22px;border-radius:12px;margin-bottom:14px}.district-content{max-height:38vh}.data-card{padding:10px;gap:9px}.data-main b{font-size:11.5px}.data-main small{font-size:9.5px}.mini-action{padding:8px 12px;font-size:9.5px}.creator-avatar{width:33px;height:33px;flex-basis:33px;font-size:10px;border-radius:11px}.modal-actions{margin-top:14px;padding-top:14px}.topbar{top:max(12px,env(safe-area-inset-top,0px))}.districts{top:calc(max(12px,env(safe-area-inset-top,0px)) + 62px)}.chat{left:max(10px,env(safe-area-inset-left,0px));bottom:max(10px,env(safe-area-inset-bottom,0px))}.mobile-controls{right:max(10px,env(safe-area-inset-right,0px));bottom:max(10px,env(safe-area-inset-bottom,0px))}}@media(max-height:560px)and (max-width:900px){.hud,.zone-hint{display:none}.districts{inset:72px 148px auto 12px;width:auto;display:flex;align-items:center;gap:6px;padding:6px;border-radius:var(--r-md);overflow-x:auto;scrollbar-width:none}.districts::-webkit-scrollbar{display:none}.panel-title{display:none}.district{width:auto;flex:0 0 auto;gap:6px;padding:5px 10px 5px 6px;border-radius:var(--r-pill);background:#ffffff0d}.district small,.district em{display:none}.district i{width:22px;height:22px;flex-basis:22px;font-size:11px;border-radius:7px}.district b{font-size:9.5px;white-space:nowrap}.chat{left:12px;bottom:10px;width:min(38%,240px)}.messages{height:44px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}:root{--w-accent: #a78bfa;--w-accent-2: #22d3ee;--w-panel: rgba(7, 13, 28, .62);--w-panel-strong: rgba(7, 13, 28, .82);--w-stroke: rgba(255, 255, 255, .14);--w-text: #f1f5f9;--w-muted: #9aa7c4;--w-radius: 18px;--w-shadow: 0 18px 50px rgba(2, 6, 23, .38)}html,body,#app,#world{width:100%;height:100%;margin:0;overflow:hidden;background:#0b1020}body{color:var(--w-text)}#world{position:fixed;inset:0}#world canvas{display:block;width:100%;height:100%;touch-action:none}.world-fade{position:fixed;inset:0;pointer-events:none;z-index:2;background:radial-gradient(circle at 50% 42%,transparent 48%,rgba(2,6,23,.3) 100%)}.hidden{display:none!important}.world-topbar{position:fixed;top:14px;left:16px;right:16px;z-index:40;display:flex;align-items:stretch;gap:12px;pointer-events:none}.world-topbar>*{pointer-events:auto}.world-brand,.world-search,.world-account,.world-xp,.world-icon,.world-user,.world-nav,.world-quest,.zone-hint,.minimap-panel,.world-bottom,.friends-panel,.map-card,.chat,.modal-card,.gate-card{background:var(--w-panel);border:1px solid var(--w-stroke);box-shadow:var(--w-shadow);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}.world-brand{display:flex;align-items:center;gap:11px;padding:9px 16px 9px 11px;border-radius:var(--w-radius);color:var(--w-text);text-decoration:none;flex-shrink:0}.world-brand img{width:38px;height:38px;border-radius:12px}.world-brand b{display:block;font-size:15px;letter-spacing:-.01em}.world-brand small{display:block;font-size:10px;color:var(--w-muted);margin-top:1px}.world-search{flex:1;min-width:0;max-width:560px;display:flex;align-items:center;gap:8px;padding:7px 8px 7px 14px;border-radius:var(--w-radius)}.world-search svg{width:18px;height:18px;color:var(--w-muted);flex-shrink:0}.world-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--w-text);font:inherit;font-size:13px}.world-search input::placeholder{color:var(--w-muted)}.world-search button{border:0;border-radius:12px;padding:8px 15px;background:var(--w-accent);color:#0b1020;font-weight:700;font-size:12px;cursor:pointer}.world-account{display:flex;align-items:center;gap:8px;margin-left:auto}.world-xp{display:flex;align-items:center;gap:8px;padding:8px 13px;border-radius:14px;font-size:11px;color:var(--w-muted)}.world-xp>span{color:#fde68a;font-weight:700;font-size:12px}.xp-bar{width:64px;height:4px;border-radius:99px;background:#ffffff24;overflow:hidden}.xp-bar b{display:block;height:100%;width:0%;background:linear-gradient(90deg,#fbbf24,#f59e0b);border-radius:99px}.world-xp small{color:var(--w-muted)}.world-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;color:var(--w-muted);text-decoration:none}.world-icon svg{width:18px;height:18px}.world-icon:hover{color:#fff}.world-user{display:flex;align-items:center;gap:9px;padding:6px 12px 6px 6px;border-radius:16px;text-decoration:none;color:var(--w-text)}.you-avatar{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#22d3ee);color:#fff;font-size:12px;font-weight:700;overflow:hidden;flex-shrink:0}.you-avatar img{width:100%;height:100%;object-fit:cover}.you-meta b{display:block;font-size:12px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.you-meta small{display:block;font-size:10px;color:var(--w-muted)}.world-nav{position:fixed;top:84px;left:16px;width:204px;z-index:35;border-radius:20px;padding:10px;display:flex;flex-direction:column;gap:4px}.world-nav p{margin:4px 8px 6px;font-size:9px;letter-spacing:.16em;color:var(--w-muted);font-weight:700}.world-nav button{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:13px;background:transparent;color:var(--w-muted);font:inherit;font-size:13px;font-weight:500;cursor:pointer;text-align:left;transition:background .16s,color .16s,border-color .16s}.world-nav button svg{width:18px;height:18px;flex-shrink:0}.world-nav button:hover{background:#ffffff14;color:#fff}.world-nav button:focus-visible{outline:2px solid var(--w-accent);outline-offset:2px}.world-quest{position:fixed;left:16px;bottom:104px;width:204px;z-index:35;border-radius:16px;padding:11px 14px;display:flex;flex-direction:column;gap:5px}.world-quest span{font-size:9px;letter-spacing:.14em;color:var(--w-muted);font-weight:700}.world-quest b{font-size:13px}.world-quest i{display:block;height:4px;border-radius:99px;background:#ffffff21;overflow:hidden}.world-quest i b{display:block;height:100%;width:14%;background:linear-gradient(90deg,#a78bfa,#22d3ee);border-radius:99px}.zone-hint{position:fixed;top:auto;left:50%;bottom:104px;transform:translate(-50%);z-index:36;display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:15px;font-size:12px;white-space:nowrap}.zone-hint .hint-icon{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#a78bfa2e;color:var(--w-accent);flex-shrink:0}.zone-hint b{display:block;font-size:12px}.zone-hint small{display:block;font-size:10px;color:var(--w-muted)}.minimap-panel{position:fixed;right:16px;bottom:104px;width:246px;z-index:35;border-radius:18px;padding:10px}.minimap-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px}.minimap-head span{font-size:9px;letter-spacing:.15em;color:var(--w-muted);font-weight:700}.minimap-head button{border:0;background:transparent;color:var(--w-muted);cursor:pointer;width:22px;height:22px;display:grid;place-items:center}.minimap-head button svg{width:14px;height:14px}#minimap{width:100%;height:auto;border-radius:12px;cursor:pointer;display:block}.minimap-panel>small{display:block;padding:8px 4px 2px;font-size:10px;color:var(--w-muted)}.minimap-panel.collapsed #minimap,.minimap-panel.collapsed>small{display:none}.world-bottom{position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:45;display:flex;align-items:center;gap:2px;padding:6px;border-radius:20px;background:#070d1cc7}.world-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:68px;padding:7px 9px;border:0;border-radius:14px;background:transparent;color:var(--w-muted);font:inherit;font-size:9.5px;font-weight:600;cursor:pointer;transition:background .16s,color .16s}.world-bottom button svg{width:19px;height:19px}.world-bottom button:hover{background:#ffffff14;color:#fff}.world-bottom button:nth-child(3){background:#a78bfa29;color:#fff}.touch-controls{display:none}@media(pointer:coarse),(max-width:900px){.touch-controls{display:flex;position:fixed;left:16px;right:16px;bottom:84px;z-index:44;align-items:flex-end;justify-content:space-between;pointer-events:none}.touch-controls>*{pointer-events:auto}.joystick{width:116px;height:116px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:#070d1c73;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:grid;place-items:center;touch-action:none}#joystickKnob{width:50px;height:50px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#c4b5fd,#7c3aed);box-shadow:0 8px 24px #7c3aed73;transition:transform .04s linear}.touch-actions{display:flex;align-items:center;gap:10px}.touch-actions .round{width:56px;height:56px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:#070d1c8c;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;font:inherit;font-size:10px;font-weight:700;letter-spacing:.02em;cursor:pointer;touch-action:none}.touch-actions .round.primary{width:66px;height:66px;background:linear-gradient(135deg,#7c3aed,#22d3ee);border:0;font-size:14px}.touch-actions .round.active{outline:2px solid #fbbf24}}.chat{position:fixed;left:auto;right:16px;bottom:92px;z-index:50;width:340px;max-width:calc(100vw - 32px);border-radius:18px;display:none;flex-direction:column;overflow:hidden}.chat.open{display:flex}.chat .messages{max-height:220px}.chat.collapsed .messages{display:none}.world-toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,10px);z-index:70;padding:10px 18px;border-radius:999px;background:#070d1ce0;border:1px solid var(--w-stroke);color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.world-toast.show{opacity:1;transform:translate(-50%)}.map-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#030814a8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:18px}.map-card{width:min(880px,96vw);max-height:92vh;overflow-y:auto;border-radius:24px;padding:20px;background:var(--w-panel-strong)}.map-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.map-head small{font-size:9px;letter-spacing:.16em;color:var(--w-muted);font-weight:700}.map-head h2{margin:3px 0 0;font-size:22px;letter-spacing:-.02em}.map-head button{border:0;background:transparent;color:var(--w-muted);cursor:pointer;width:34px;height:34px;display:grid;place-items:center;border-radius:10px}.map-head button:hover{background:#ffffff14;color:#fff}.map-head button svg{width:18px;height:18px}#worldMap{width:100%;height:auto;border-radius:16px;background:#040a188c;cursor:pointer;display:block}.map-destinations{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:14px}.map-destinations button{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:13px;border:1px solid var(--w-stroke);background:#ffffff0a;color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer;text-align:left}.map-destinations button:hover{background:#ffffff17}.map-destinations i{width:9px;height:9px;border-radius:50%;background:var(--c, #a78bfa);box-shadow:0 0 10px var(--c, #a78bfa);flex-shrink:0}.friends-panel{position:fixed;right:16px;top:84px;z-index:60;width:320px;max-width:calc(100vw - 32px);max-height:min(60vh,520px);overflow-y:auto;border-radius:20px;padding:14px;background:var(--w-panel-strong)}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px}.panel-head small{font-size:9px;letter-spacing:.16em;color:var(--w-muted);font-weight:700}.panel-head h3{margin:2px 0 0;font-size:17px}.panel-head button{border:0;background:transparent;color:var(--w-muted);cursor:pointer;width:30px;height:30px;display:grid;place-items:center;border-radius:9px}.panel-head button svg{width:16px;height:16px}.friend-row{display:flex;align-items:center;gap:11px;width:100%;padding:9px 8px;border:0;border-radius:12px;background:transparent;color:#fff;font:inherit;cursor:pointer;text-align:left}.friend-row:hover{background:#ffffff12}.friend-avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#22d3ee);font-size:11px;font-weight:700;flex-shrink:0}.friend-meta{flex:1;min-width:0}.friend-meta b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-meta small{display:block;font-size:10px;color:var(--w-muted)}.friend-open{font-size:10px;color:var(--w-accent);font-weight:700}.modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;background:#030814a8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal-card{width:min(560px,94vw);max-height:88vh;overflow-y:auto;border-radius:24px;padding:24px;background:var(--w-panel-strong);color:var(--w-text)}.modal-card h2{color:#fff}.modal-card p{color:var(--w-muted)}.modal-mark img{width:42px;height:42px;border-radius:12px}.modal-card .close{color:var(--w-muted)}.modal-actions .primary{background:var(--w-accent);color:#0b1020}.modal-actions .secondary{background:#ffffff0f;border-color:var(--w-stroke);color:#fff}.data-card{background:#ffffff0d;border-color:var(--w-stroke)}.data-card b,.data-card small{color:#fff}.data-card small+small{color:var(--w-muted)}.data-card .mini-action{color:var(--w-accent)}.passport-card{background:#ffffff0d;border-color:var(--w-stroke)}.gate{position:fixed;inset:0;z-index:95;display:grid;place-items:center;background:#030814b8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:18px}.gate-card{width:min(430px,92vw);border-radius:22px;padding:28px;text-align:center;background:var(--w-panel-strong)}.gate-card h2{color:#fff;margin:12px 0 8px}.gate-card p{color:var(--w-muted);font-size:13px;line-height:1.6}.gate-button{display:inline-block;margin-top:16px;padding:10px 18px;border-radius:12px;background:var(--w-accent);color:#0b1020;font-weight:700;font-size:13px;text-decoration:none}.fallback{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 20%,#1e293b,#070b16 70%)}.fallback-card{width:min(560px,94vw);border-radius:24px;padding:28px;text-align:center;background:#ffffff0d;border:1px solid var(--w-stroke)}.fallback-card img{width:56px;height:56px;border-radius:16px}.fallback-card h2{margin:14px 0 6px;color:#fff}.fallback-card p{color:var(--w-muted);font-size:13px;line-height:1.6}.fallback-links{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:18px}.fallback-links a{padding:11px 14px;border-radius:12px;border:1px solid var(--w-stroke);background:#ffffff0d;color:#fff;text-decoration:none;font-size:13px;font-weight:600}.fallback-links a:hover{background:#ffffff1a}@media(max-width:1080px){.world-nav,.world-quest{width:186px}.minimap-panel{width:210px}}@media(max-width:900px){.world-nav,.world-quest,.minimap-panel,.world-search{display:none}.zone-hint{bottom:156px}.chat,.world-toast{bottom:160px}}@media(max-width:640px){.world-topbar{top:10px;left:10px;right:10px;gap:8px}.world-brand{padding:7px 12px 7px 8px}.world-brand img{width:32px;height:32px;border-radius:10px}.world-brand b{font-size:13px}.world-brand small,.world-xp,.you-meta{display:none}.world-user{padding:5px}.world-bottom{left:8px;right:8px;bottom:8px;transform:none;justify-content:space-around;padding:5px}.world-bottom button{min-width:0;flex:1;font-size:9px}.zone-hint{bottom:168px;max-width:calc(100vw - 24px);white-space:normal}.chat,.world-toast{bottom:168px}.map-destinations,.fallback-links{grid-template-columns:1fr}}@media(max-height:560px){.world-brand small,.world-xp,.world-quest{display:none}.world-nav{top:74px}.zone-hint{bottom:92px}}@media(prefers-reduced-motion:reduce){*{transition-duration:.001ms!important}}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}body.chat-open .minimap-panel{display:none}@media(pointer:coarse),(max-width:900px){.zone-hint,.world-toast,.chat{bottom:222px}}.avatar-studio{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top,0px)) 16px max(16px,env(safe-area-inset-bottom,0px));background:#02050ec7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.avatar-studio.hidden{display:none}.studio-card{width:min(780px,100%);max-height:94vh;overflow:auto;padding:18px;border-radius:24px;border:1px solid var(--w-stroke);background:radial-gradient(120% 100% at 0% 0%,rgba(139,92,246,.18),transparent 58%),linear-gradient(160deg,#161f38fa,#080d1cfc);box-shadow:0 40px 120px -30px #000000f2}.studio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.studio-head small{font-size:9px;letter-spacing:.16em;font-weight:700;color:#c4b5fd}.studio-head h2{margin:3px 0 0;font-size:21px;letter-spacing:-.03em}.studio-close{width:34px;height:34px;border-radius:10px;border:1px solid var(--w-stroke);background:#ffffff0a;color:var(--w-text);font-size:20px;line-height:1;cursor:pointer}.studio-stage{position:relative;overflow:hidden;border-radius:18px;border:1px solid var(--w-stroke);background:radial-gradient(circle at 50% 16%,rgba(167,139,250,.22),transparent 44%),radial-gradient(circle at 50% 45%,#1a2540,#070c18 78%)}.studio-stage canvas{display:block;width:100%;height:min(48vh,440px);touch-action:none}.studio-hint{position:absolute;left:12px;bottom:10px;margin:0;font-size:10px;color:var(--w-muted);pointer-events:none}.studio-controls{display:grid;gap:7px;margin-top:14px}.studio-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;border-radius:12px;border:1px solid var(--w-stroke);background:#ffffff08}.studio-row>span{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--w-muted)}.studio-stepper{display:flex;align-items:center;gap:7px}.studio-stepper button{width:30px;height:28px;border-radius:8px;border:1px solid var(--w-stroke);background:transparent;color:var(--w-text);font-size:16px;line-height:1;cursor:pointer}.studio-stepper button:hover{background:#a78bfa24}.studio-stepper b{min-width:100px;text-align:center;font-size:12px;font-weight:600;color:var(--w-text)}.studio-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:14px}.studio-actions button{min-height:38px;padding:9px 14px;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer}.studio-secondary{border:1px solid var(--w-stroke);background:transparent;color:var(--w-text)}.studio-primary{border:1px solid transparent;background:var(--w-accent);color:#0b1020}@media(max-width:640px){.studio-card{padding:12px;border-radius:18px}.studio-stage canvas{height:34vh}.studio-row>span{font-size:9px}.studio-stepper b{min-width:74px}.studio-actions button{flex:1 1 40%}}.studio-note{margin:12px 2px 0;color:var(--w-muted);font-size:11px;line-height:1.5}.studio-footer{position:sticky;bottom:-18px;z-index:3;margin:12px -18px -18px;padding:10px 18px 18px;border-top:1px solid var(--w-stroke);background:linear-gradient(to top,#080d1cfc 55%,#080d1ce6)}.studio-note{margin:0 2px 8px}.studio-actions{margin-top:0}@media(max-width:640px){.studio-footer{margin:10px -12px -12px;padding:10px 12px 12px}}.world-topbar{top:max(10px,env(safe-area-inset-top,0px));left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px))}.world-bottom{bottom:calc(8px + env(safe-area-inset-bottom,0px))}.friends-panel{top:calc(max(10px,env(safe-area-inset-top,0px)) + 64px);right:max(12px,env(safe-area-inset-right,0px))}.touch-controls{left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px))}@media(min-width:641px){.world-topbar{top:max(14px,env(safe-area-inset-top,0px));left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px))}.world-bottom{bottom:calc(16px + env(safe-area-inset-bottom,0px))}.friends-panel{top:calc(max(14px,env(safe-area-inset-top,0px)) + 70px);right:max(16px,env(safe-area-inset-right,0px))}.touch-controls{left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px))}}@media(pointer:coarse),(max-width:900px){.zone-hint,.world-toast,.chat{bottom:calc(222px + env(safe-area-inset-bottom,0px))}}@media(max-height:560px)and (orientation:landscape){.world-topbar{top:max(6px,env(safe-area-inset-top,0px))}.world-bottom{bottom:calc(6px + env(safe-area-inset-bottom,0px));padding:4px}.world-bottom button{min-width:52px;padding:5px 7px;font-size:9px}.world-bottom button svg{width:16px;height:16px}.touch-controls{bottom:calc(62px + env(safe-area-inset-bottom,0px))}.joystick{width:92px;height:92px}#joystickKnob{width:40px;height:40px}.zone-hint{display:none}.chat{top:calc(max(6px,env(safe-area-inset-top,0px)) + 56px);bottom:auto;left:max(10px,env(safe-area-inset-left,0px));width:min(42vw,230px);max-height:42vh}.world-toast{bottom:calc(120px + env(safe-area-inset-bottom,0px))}.friends-panel{max-height:calc(100vh - 72px - env(safe-area-inset-bottom,0px))}}#boot .boot-inner{display:flex;flex-direction:column;align-items:center;gap:12px}#boot .boot-bar{width:180px;height:4px;border-radius:99px;background:#ffffff1f;overflow:hidden}#boot .boot-bar i{display:block;height:100%;width:8%;border-radius:99px;background:linear-gradient(90deg,#a78bfa,#22d3ee);transition:width .25s ease}
