@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');
:root{font-family:Inter,system-ui,sans-serif;color:#eef6ff;background:#101f37;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;overflow:hidden}canvas#arena{position:fixed;inset:0;width:100%;height:100%;touch-action:none}button,input{font:inherit}button{cursor:pointer}header{position:fixed;top:28px;left:34px;right:34px;display:flex;align-items:center;gap:22px;pointer-events:none}.brand{text-decoration:none;color:#fff;font-size:24px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;gap:5px;pointer-events:auto}.brand>span:not(.brand-cube){color:#7cfbd5}.brand-cube{font-size:39px;color:#7cfbd5;margin-right:8px}.brand small{font-size:10px;letter-spacing:3px;font-weight:500;border-left:1px solid #ffffff30;padding:6px 0 6px 18px;margin-left:14px;color:#9aafc9}.connection{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.5px;color:#a5b9cf}.connection i{height:6px;width:6px;border-radius:50%;background:#7cfbd5;box-shadow:0 0 10px #7cfbd566}.icon-button{border:1px solid #ffffff28;border-radius:50%;background:#172a43b3;color:#d0deef;width:33px;height:33px;font-size:18px;pointer-events:auto}.section-label{font-size:10px;font-weight:700;letter-spacing:2px;color:#91a9c2}#leaderboard{position:fixed;top:112px;right:34px;width:218px;padding:19px;background:#0d1c31b3;border:1px solid #87bcdb1c;border-radius:14px;backdrop-filter:blur(12px)}.section-label span{float:right;letter-spacing:1px;font-size:9px;color:#657f9a}ol{padding:0;list-style:none;margin:19px 0 15px}li{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:12px;color:#bdcee0}li b{font-size:10px;font-weight:500;color:#627e9c;width:12px}li span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li strong{font-size:12px;color:#f1f6fd}li.me span,li.me strong{color:#7cfbd5}.legend{border-top:1px solid #ffffff12;padding-top:13px;font-size:10px;color:#93a7bd;display:flex;align-items:center;gap:7px}.legend span{width:5px;height:5px;border-radius:50%;background:#7cfbd5}.legend .danger-dot{background:#ff7e87;margin-left:15px}.overlay{position:fixed;left:9%;top:50%;transform:translateY(-47%);width:510px}.eyebrow{font-size:10px;letter-spacing:3px;color:#7cfbd5;font-weight:700;margin-bottom:20px}h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(56px,6.7vw,100px);line-height:.99;letter-spacing:-1px;margin:0 0 23px;font-weight:800}h1 em{font-style:normal;color:#7cfbd5}.overlay p{font-size:14px;line-height:1.8;color:#9eb3ca}.hero-cube{position:fixed;left:calc(100% + 130px);top:145px;width:140px;height:140px;transform:rotate(-15deg) skewY(8deg);background:linear-gradient(145deg,#182d38,#060d16);border:3px solid #59ffe4;border-radius:16px;box-shadow:8px 25px 0 #0b1b24,10px 28px 0 2px #35c8c7,20px 55px 40px #0005,0 0 22px #38ead94d,inset 0 0 14px #43e6dd25;display:grid;place-items:center;animation:bob 4s ease-in-out infinite}.hero-cube::before{content:"";position:absolute;width:100px;height:100px;border:2px solid #5cffe5;border-radius:50%;box-shadow:0 0 10px #38ead966,inset 0 0 8px #38ead944}.hero-cube span{position:relative;font-size:78px;font-weight:800;color:white;text-shadow:0 0 12px #5cffe599}form{width:340px;margin-top:30px}label{display:block;font-size:10px;color:#9eb3ca;letter-spacing:2px;margin-bottom:10px}input{display:block;width:100%;border:1px solid #9fc7ea35;border-radius:9px;background:#12253de6;color:white;padding:15px 17px;outline:none;font-size:14px}input:focus{border-color:#7cfbd5}input::placeholder{color:#6b85a0}.primary{display:flex;justify-content:space-between;align-items:center;background:#7cfbd5;border:0;border-radius:9px;color:#102c31;padding:17px 20px;font-size:14px;font-weight:800;width:100%;margin-top:12px;box-shadow:0 5px 25px #7cfbd512}.primary:hover{background:#a4ffe6}.primary span{font-size:10px;letter-spacing:2px;opacity:.6}.welcome-controls{display:flex;gap:23px;margin-top:24px;font-size:11px;color:#b0c3d8}.welcome-controls b{font-size:16px;margin-right:6px;color:white}.server-note{font-size:9px;letter-spacing:1.7px;margin-top:28px;color:#617e9c}footer{position:fixed;left:34px;bottom:30px;display:flex;align-items:center;gap:32px}#stats{display:flex;flex-direction:column;min-width:90px}#head-value{font-family:'Barlow Condensed',Impact,sans-serif;font-size:44px;color:#fff;line-height:1.15}#chain-count{font-size:11px;color:#8fa7bf}.boost-panel{width:285px}.boost-panel>div:first-child{display:flex;justify-content:space-between}#boost-label{font-size:9px;letter-spacing:1px;color:#9eb3ca}.meter{height:7px;background:#ffffff10;border-radius:10px;margin:10px 0 12px;overflow:hidden}#energy{width:100%;height:100%;background:#7cfbd5;box-shadow:0 0 13px #7cfbd5}.hint{font-size:10px;color:#6f8ba8}#map-panel{position:fixed;bottom:30px;right:34px;background:#0c1b30d9;border:1px solid #87bcdb25;border-radius:14px;padding:15px;width:218px}#minimap{width:186px;height:186px;margin-top:13px;display:block}.map-caption{font-size:8px;letter-spacing:1px;color:#7995b1;margin-top:10px}.map-caption span{color:white}#feed{position:fixed;top:108px;left:34px;font-size:11px;color:#b8cbdf;line-height:2}#patch-message{position:fixed;bottom:135px;left:50%;transform:translateX(-50%);color:#7cfbd5;font-size:14px;font-weight:700;letter-spacing:1px}.hidden{display:none!important}dialog{max-width:490px;background:#142940;border:1px solid #7cfbd54d;color:#d9e7f6;border-radius:18px;padding:32px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#061222b8;backdrop-filter:blur(7px)}dialog p{font-size:14px;line-height:1.7;color:#a9bfd5}dialog h2{font-size:26px}#close-help{float:right}#death{max-width:400px}#death h1{font-size:80px}@keyframes bob{50%{translate:0 -14px}}@media(max-width:850px){.hero-cube{display:none}.overlay{left:7%;width:75%;}#leaderboard{width:175px;right:18px;top:88px;padding:14px}.brand small{display:none}header{top:18px;left:18px;right:18px}.brand{font-size:20px}#map-panel{right:18px;bottom:20px;width:157px;padding:10px}#minimap{width:135px;height:135px}footer{left:18px;bottom:20px;gap:15px}.boost-panel{width:180px}.hint{max-width:160px;line-height:1.6}.overlay h1{font-size:70px}.overlay~footer{pointer-events:none}}@media(max-width:560px){#leaderboard{display:none}.overlay{top:46%;width:85%}.overlay h1{font-size:58px}form{width:100%;max-width:340px}#map-panel{width:118px;padding:8px}#minimap{width:100px;height:100px}.map-caption,.section-label span{display:none}.boost-panel{width:130px}#boost-label{font-size:8px}#stats{min-width:60px}#feed{left:18px;top:76px}.connection{font-size:8px;letter-spacing:0}.welcome-controls{gap:13px;font-size:10px}.server-note{margin-top:16px}.overlay p{font-size:13px}#head-value{font-size:34px}}

body.lobby footer{display:none}body.lobby .overlay{transform:translateY(-45%)}body.lobby .hero-cube{top:145px}@media(max-height:760px) and (min-width:561px){body.lobby h1{font-size:76px}body.lobby .eyebrow{margin-bottom:14px}body.lobby .overlay p{margin:12px 0}body.lobby form{margin-top:20px}body.lobby .welcome-controls{margin-top:18px}body.lobby .server-note{margin-top:16px}}
#permanent-effects{font-size:11px;color:#baff66;margin:0 0 8px;font-weight:600;letter-spacing:.3px}

#sound-button{width:64px;border-radius:18px;font-size:11px;flex-shrink:0}#sound-button[aria-pressed="true"]{color:#91a9c2}button:focus-visible{outline:2px solid #7cfbd5;outline-offset:4px}@media(max-width:560px){header{gap:10px}}

.audio-controls{display:flex;align-items:center;gap:8px;pointer-events:auto}#music-button{width:80px;flex-shrink:0;border-radius:18px;font-size:10px}#music-button[aria-pressed="true"]{color:#7cfbd5}#music-volume{width:74px;margin:0;padding:0;accent-color:#7cfbd5;cursor:pointer}@media(max-width:700px){header{flex-wrap:wrap;gap:10px}.audio-controls{order:3;margin-left:auto}#sound-button{order:4}#help-button{order:2}.connection{display:none}}

#arena-labels{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}#camera-controls{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;color:#91b8c1;font-size:9px;letter-spacing:1px}#reset-camera{border:1px solid #7cfbd540;border-radius:16px;background:#0b2330;color:#a4ffe4;padding:7px 12px;font-size:10px;white-space:nowrap}#graphics-status{position:fixed;z-index:100;inset:0;display:grid;place-items:center;background:#061222ed;color:#c4fff0;padding:40px;text-align:center;font-size:20px}body.lobby #camera-controls{display:none}body.lobby #arena-labels{opacity:.6}@media(max-width:1100px){#camera-controls{bottom:150px}}@media(max-width:700px){#camera-controls span{display:none}#camera-controls{bottom:20px}}

#render-fps{font-size:10px;white-space:nowrap;color:#91b8c1;letter-spacing:.5px}.mobile-graphics #leaderboard,.mobile-graphics dialog::backdrop{backdrop-filter:none}.mobile-graphics .hero-cube{animation:none}.mobile-graphics #camera-controls span{display:none}.mobile-graphics #camera-controls{bottom:145px}.mobile-graphics #feed{display:none}
