@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');
:root{font-family:Cairo,system-ui,sans-serif;color:#f5f2eb;background:#10151b;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:radial-gradient(ellipse at 50% 25%,#28313b 0,#10151b 58%,#090d12 100%)}
button{font:inherit;color:inherit;border:0;cursor:pointer}.hidden{display:none!important}
.menu{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;background:linear-gradient(180deg,#0b1118aa,#0b1118dd)}
.brand{font-size:clamp(27px,6vw,42px);font-weight:900;letter-spacing:5px;color:#e9d5a1}.brand span,.hud-brand span{color:#9d8756}
.eyebrow{font-size:10px;letter-spacing:4px;color:#a99a77;margin:8px 0 2px}.menu h1{font-size:clamp(34px,8vw,64px);margin:0;font-weight:900}.subtitle{color:#aeb6bf;margin:4px 0 26px}
.server-panel{width:min(100%,440px);padding:22px;border:1px solid #ffffff1c;border-radius:20px;background:#171f28eF;box-shadow:0 24px 70px #0008}.server-panel h2{font-size:16px;margin:0 0 14px}
.servers{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.server{padding:13px 5px;border:1px solid #ffffff20;border-radius:12px;background:#202a34}.server b{display:block;font-size:17px}.server small{font-size:10px;color:#aeb6bf}.server.active{border-color:#c7a96b;background:#3b3427}
.play{width:100%;margin-top:18px;padding:14px;border-radius:12px;background:linear-gradient(110deg,#c7a96b,#8e7444);color:#151515;font-weight:900}.play span{margin-right:8px}.note{font-size:10px;color:#89939e;margin:12px 0 0}
.loading{position:absolute;inset:0;z-index:10;background:#10151b;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#c8b17e}.loader{width:34px;height:34px;border:3px solid #ffffff25;border-top-color:#c8b17e;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
 .game{position:absolute;inset:0;touch-action:none;overflow:hidden}.game>canvas{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;touch-action:pan-x pan-y}.game .hud,.game .tip,.game .joystick,.game .run,.game .exit{z-index:5}.game .joystick,.game .run,.game .exit{touch-action:none;pointer-events:auto;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.game .run{min-width:104px;min-height:76px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;background:#17232feF;border:2px solid #d0b477;box-shadow:0 5px 18px #0008}.game .joystick{width:138px;height:138px}.game .stick{left:44px;top:44px;width:46px;height:46px}.game .exit{z-index:6}
.hud{position:absolute;top:max(10px,env(safe-area-inset-top));left:10px;right:10px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2;pointer-events:none;direction:ltr}
.hud-left{display:flex;align-items:flex-end;gap:7px}.map-frame{width:116px;height:116px;padding:3px;border:2px solid #d5dbe0a8;border-radius:8px;background:#111a25d9;box-shadow:0 3px 14px #0008;overflow:hidden}.map-frame canvas{width:100%;height:100%;border-radius:5px}
.player-status{width:112px;padding:5px 7px;border-radius:7px;background:#10151bd9;color:#fff;direction:rtl;text-align:right;box-shadow:0 3px 12px #0006}.level{font-size:10px;color:#e6d5ad;margin-bottom:4px}.level b{font-size:13px}.status-line{display:flex;align-items:center;gap:4px;font-size:8px;margin-top:3px;white-space:nowrap}.status-line span{width:28px}.status-line>b{font-size:8px}.status-track{height:6px;flex:1;background:#424950;border-radius:8px;overflow:hidden}.status-track i{display:block;height:100%;border-radius:8px}.health-fill{width:100%;background:#d6424d}.armor-fill{width:0;background:#58a8d8}
.hud-right{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding:8px 10px;border-radius:9px;background:#10151bd9;backdrop-filter:blur(8px);box-shadow:0 3px 14px #0006;direction:rtl}.hud-brand{font-weight:900;letter-spacing:2px;color:#e9d5a1;font-size:13px}.hud-info{display:flex;gap:5px;align-items:center}.hud-info span{font-size:9px;padding:3px 7px;border-radius:6px;background:#ffffff12;color:#e6d5ad}.cash{font-size:12px;font-weight:800;color:#f3f0e8}.cash b{color:#7ed18a;margin-left:3px}
.tip{position:absolute;top:145px;left:0;right:0;text-align:center;color:#fff;background:#0006;font-size:10px;padding:5px;pointer-events:none}
.joystick{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:24px;width:116px;height:116px;border:2px solid #ffffff55;border-radius:50%;background:#17212c88;z-index:3;touch-action:none}.stick{position:absolute;left:34px;top:34px;width:44px;height:44px;border-radius:50%;background:#c7a96b;box-shadow:0 3px 14px #0008}.run,.exit{position:absolute;z-index:3;border-radius:12px;background:#18222dcc;border:1px solid #ffffff44;padding:12px 18px;backdrop-filter:blur(8px)}.run{bottom:max(42px,env(safe-area-inset-bottom));right:26px}.exit{top:145px;right:10px;font-size:10px;padding:7px 12px}
@media(max-width:430px){.map-frame{width:100px;height:100px}.player-status{width:96px}.hud-right{padding:6px 7px}.hud-brand{font-size:11px}.hud-info span{font-size:8px}.tip{top:128px}}
@media(min-width:700px){.map-frame{width:140px;height:140px}.player-status{width:130px}.joystick{width:130px;height:130px}.stick{left:40px;top:40px}.run{right:45px;bottom:55px}.tip{top:165px}}\n.network-status{font-size:9px;padding:3px 8px;border-radius:20px;background:#532d2d;color:#ffdede}.network-status[data-state=online]{background:#234c35;color:#d8ffe4}\n