@font-face{font-family:Tektur;src:url(/fonts/tektur.woff2) format("woff2");font-weight:400 900;font-display:swap}@font-face{font-family:"M PLUS 1 Code";src:url(/fonts/mplus-1-code.woff2) format("woff2");font-weight:100 700;font-display:swap}:root{font-family:Tektur,"M PLUS 1 Code",monospace;color:#e0edf4;background:#0c1724;color-scheme:dark;--muted: #8da6b7;--accent: #84e8ce;--line: #57758765;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit;color:inherit;border-radius:0}button{cursor:pointer}button,a,input,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}#world{position:fixed;inset:0}#world canvas{display:block;width:100%;height:100%;touch-action:none}#hud-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;--hud-safe-top: env(safe-area-inset-top,0px);--hud-safe-right: env(safe-area-inset-right,0px);--hud-safe-bottom: env(safe-area-inset-bottom,0px);--hud-safe-left: env(safe-area-inset-left,0px)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#menu-toggle{display:none;position:fixed;top:max(16px,env(safe-area-inset-top,0px));left:max(16px,env(safe-area-inset-left,0px));z-index:4;min-height:44px;padding:10px 14px;border:0;background:url(/ui/control.svg) center/100% 100% no-repeat;color:var(--accent);font-size:11px}header{position:fixed;inset:0 0 auto;z-index:3;padding:26px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;pointer-events:none}body:not([data-mode=lobby]) header{display:none}header>*{pointer-events:auto}.wordmark{display:flex;align-items:center;gap:12px;color:#e8f5f7;text-decoration:none;font-size:34px;font-weight:700;letter-spacing:-1.5px;line-height:1}.wordmark>span:last-child{margin-left:-12px;color:var(--accent)}.brand-cell{display:grid;place-items:center;color:var(--accent);background:#152a36;border:1px solid #84e8ce80;width:43px;height:43px;font-size:32px;clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px)}nav{display:flex;gap:6px}nav button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;min-width:100px;padding:0 20px;border:0;background:url(/ui/control.svg) center/100% 100% no-repeat;font-size:12px;font-weight:600;transition:filter .15s}nav button:hover{filter:brightness(1.35)}nav button>span{font-size:16px;color:var(--accent)}#lobby{position:fixed;left:50%;top:49%;transform:translate(-50%,-50%);width:324px;text-align:center;z-index:2}.skin-preview{position:relative;display:block;width:286px;height:286px;margin:0 auto;padding:0;border:0;background:url(/ui/panel.svg) center/100% 100% no-repeat;transition:filter .15s}.skin-preview:before,.skin-preview:after{content:"";position:absolute;z-index:1;width:18px;height:18px;border-color:var(--accent);border-style:solid;pointer-events:none}.skin-preview:before{top:14px;right:14px;border-width:2px 2px 0 0}.skin-preview:after{bottom:14px;left:14px;border-width:0 0 2px 2px}.skin-preview:hover{filter:brightness(1.15)}.preview-art{position:absolute;inset:22px;border:1px solid #84e8ce80;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:repeating-linear-gradient(135deg,#84e8ce08 0 1px,transparent 1px 12px),linear-gradient(145deg,#23565b,#183448 65%,#343044)}.preview-art>span{font-size:134px;font-weight:700;color:#a9f4da;opacity:.9;line-height:1;text-shadow:5px 5px #0c2a39}.preview-art img{width:100%;height:100%;object-fit:cover}.preview-edit{position:absolute;bottom:32px;left:50%;transform:translate(-50%);white-space:nowrap;background:url(/ui/control.svg) center/100% 100% no-repeat;padding:11px 18px;font-size:11px;font-weight:600}#selected-skin-name{font-family:"M PLUS 1 Code",monospace;margin:15px 0 22px;font-size:12px;color:#b8cedc;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#play-form{background:url(/ui/panel.svg) center/100% 100% no-repeat;padding:18px;text-align:left}label[for=nickname]{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:500;color:#a8bdca;margin-bottom:12px}label[for=nickname] span{font-size:10px;color:#6f899d;font-weight:400}.name-field{display:flex;align-items:center;gap:10px;background:#091320;border:1px solid #57758777;border-left:2px solid #84e8ce90;min-height:46px;padding:0 12px}.name-field:focus-within{border-color:var(--accent)}.name-field input{border:0;outline:0;background:none;width:100%;min-width:0;font-size:14px;font-family:"M PLUS 1 Code",monospace}input::placeholder{color:#607c93}#avatar{color:var(--accent);font-size:13px}.enter-hint{color:#58718a}#join-panel{position:fixed;bottom:110px;left:36px;width:280px;z-index:2;padding:4px;background:url(/ui/panel.svg) center/100% 100% no-repeat;filter:drop-shadow(0 12px 18px #0003)}.arena-info{padding:18px 18px 20px}.panel-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500;color:#a3b9c8;letter-spacing:.4px}.arena-info>strong{display:block;font-size:25px;line-height:1.3;font-weight:600;margin-top:10px;letter-spacing:-.6px}.server-status{display:flex;align-items:center;gap:9px;font-size:10px;color:#a2bacb;margin-top:18px}.server-status i,.live-dot{width:6px;height:6px;background:#ccac70;flex-shrink:0}.server-status i.online,.live-dot{background:var(--accent);box-shadow:0 0 8px #84e8ce40}.primary,.spectate{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:14px 22px;border:0;font-weight:700;font-size:14px;transition:filter .15s,transform .1s}.primary{color:#103037;background:url(/ui/action.svg) center/100% 100% no-repeat}.primary:hover,.spectate:hover{filter:brightness(1.13)}.primary:active,.spectate:active{transform:translateY(1px)}.action-arrow{display:block;width:28px;height:22px;background:currentColor;-webkit-mask:url(/ui/arrow.svg) center/contain no-repeat;mask:url(/ui/arrow.svg) center/contain no-repeat}#join-panel .primary{min-height:72px;font-size:22px;padding:18px 24px}.spectate{background:url(/ui/control.svg) center/100% 100% no-repeat;min-height:46px;margin-top:4px;font-size:12px;padding:12px 22px;font-weight:500;color:#b8cedb}.spectate .action-arrow{width:21px;height:18px;color:#84e8ce}#spectating button{border:0;padding:12px 16px;min-height:44px;background:url(/ui/control.svg) center/100% 100% no-repeat;font-size:11px}#spectating{position:fixed;bottom:max(104px,calc(env(safe-area-inset-bottom,0px) + 96px));left:50%;transform:translate(-50%);z-index:3;display:flex;align-items:center;gap:18px;padding:12px 14px 12px 22px;background:url(/ui/panel.svg) center/100% 100% no-repeat;font-size:12px;white-space:nowrap}#spectating button{color:var(--accent)}body:not([data-mode=lobby]) #join-panel{display:none}.touch-controls{position:fixed;bottom:max(104px,calc(env(safe-area-inset-bottom,0px) + 96px));right:max(16px,env(safe-area-inset-right,0px));display:flex;gap:10px;z-index:4}.touch-controls button{width:68px;height:64px;background:url(/ui/control.svg) center/100% 100% no-repeat;border:0;color:var(--accent);font-size:14px;font-weight:600;touch-action:none}body:not(.playing) .touch-controls{display:none}@media(pointer:coarse){body:not([data-mode=lobby]) #menu-toggle{display:block}}dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:30px;background:#101e2c url(/ui/panel.svg) center/100% 100% no-repeat;color:#dfedf4;border:0;border-radius:0;box-shadow:0 30px 100px #0008;clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px)}dialog::backdrop{background:#050e1bba;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:18px;margin:0;font-weight:600}.close-dialog{flex-shrink:0;width:40px;height:40px;border:0;font-size:25px;background:url(/ui/control.svg) center/100% 100% no-repeat;color:var(--accent)}.close-dialog:hover{filter:brightness(1.3)}.dialog-description{color:#8ba8bb;font-size:12px;line-height:1.9}.toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}input[type=checkbox]{appearance:none;position:relative;width:20px;height:20px;flex-shrink:0;margin:0;border:1px solid #648395;background:#081421;cursor:pointer}input[type=checkbox]:checked{background:var(--accent);border-color:#baffdf}input[type=checkbox]:checked:after{content:"";position:absolute;width:9px;height:5px;border:solid #15373b;border-width:0 0 2px 2px;transform:rotate(-45deg);left:4px;top:5px}.connection-settings{margin-top:20px;color:#a5c1d1;font-size:12px}summary{cursor:pointer;padding:10px 0 20px}.connection-settings label,#skin-upload-form>label:not(.file-field){display:flex;justify-content:space-between;font-size:12px;margin:12px 0 10px;color:#a5c1d1}#server-url,#skin-name{display:block;width:100%;padding:13px;border:1px solid #57758777;border-left:2px solid #84e8ce90;background:#091521;font-size:13px;margin-bottom:16px}#settings-note{font-size:11px;line-height:1.8;color:#7294aa}.tip{display:flex;align-items:flex-start;gap:16px;margin:25px 0}.tip>span{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #84e8ce44;background:#84e8ce08;color:var(--accent);font-size:16px}.tip h3{font-size:14px;margin:0 0 8px;font-weight:600}.tip p{font-size:12px;color:#91adbe;line-height:1.9;margin:0}#skins-dialog{width:min(640px,calc(100vw - 32px))}.skin-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:10px;max-height:290px;overflow-y:auto;padding:5px;margin:16px -5px 8px}.skin-choice{display:flex;flex-direction:column;align-items:center;gap:10px;border:1px solid #57758755;border-bottom:2px solid #57758766;background:#081725;padding:14px 8px;min-width:0}.skin-choice:hover{border-color:#84e8ce80}.skin-choice[aria-pressed=true]{border-color:var(--accent);background:#84e8ce0c}.skin-choice img,.skin-choice .default-thumb{width:66px;height:66px;border-radius:50%;object-fit:cover;border:1px solid #9bd2c34a}.default-thumb{display:grid;place-items:center;font-size:40px;font-weight:700;color:var(--accent);background:linear-gradient(145deg,#23535a,#233748)}.skin-choice .skin-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-family:"M PLUS 1 Code",monospace}#skin-upload-form{border-top:1px solid var(--line);margin-top:24px;padding-top:4px}#skin-upload-form h3{font-size:14px;font-weight:600;margin:20px 0}#skin-upload-form small{color:#7294a9;font-size:10px}.file-field{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px dashed #648b9e66;background:#0a1927;padding:16px;font-size:12px;margin-bottom:16px;cursor:pointer}.file-field input{display:block;width:100%;font-size:11px;margin-top:4px}.file-field input::file-selector-button{background:#253f51;border:1px solid #648b9e88;color:#cde4ef;padding:8px 12px;cursor:pointer;font:inherit}#upload-preview{display:flex;align-items:center;gap:14px;margin:12px 0 18px;color:#8aaabe;font-size:11px}#upload-preview img{width:70px;height:70px;object-fit:cover;border-radius:50%;border:1px solid var(--accent)}#skin-gallery-status,#skin-upload-status{font-size:12px;color:#9ab8ca;line-height:1.8;margin:12px 0 0}#skin-upload-status.error,#skin-gallery-status.error{color:#efa78f}#toast{position:fixed;bottom:96px;left:50%;transform:translate(-50%,12px);width:max-content;max-width:calc(100vw - 32px);padding:16px 24px;border:0;background:url(/ui/panel.svg) center/100% 100% no-repeat;color:#dcecf5;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;font-size:12px;line-height:1.8;z-index:10}#toast.visible{opacity:1;transform:translate(-50%)}@media(max-width:1100px){header{padding:24px}nav button{min-width:90px;padding:0 16px}#join-panel{left:24px;width:240px}.arena-info>strong{font-size:21px}#lobby{width:300px}.skin-preview{width:258px;height:258px}}@media(min-width:761px)and (max-height:760px){#lobby{top:51%}.skin-preview{width:216px;height:216px}.preview-art{inset:18px}.preview-art>span{font-size:100px}.preview-edit{bottom:24px;padding:9px 14px}#selected-skin-name{margin:12px 0 16px}#join-panel{bottom:105px}}@media(max-width:1000px)and (min-width:761px){#lobby{left:60%}}@media(max-width:760px){body[data-mode=lobby]{overflow-y:auto}header{padding:18px 16px;gap:12px;background:linear-gradient(#0c1724f5,#0c1724b0)}.wordmark{font-size:24px;gap:8px;letter-spacing:-1px}.wordmark>span:last-child{margin-left:-8px}.brand-cell{width:31px;height:31px;font-size:24px}nav{gap:3px}nav button{min-width:0;padding:0 11px;font-size:11px;min-height:40px}nav button>span{display:none}#lobby{position:relative;top:auto;left:auto;transform:none;width:min(324px,calc(100% - 40px));margin:100px auto 24px}.skin-preview{width:238px;height:238px}.preview-art{inset:18px}.preview-art>span{font-size:116px}.preview-edit{bottom:25px;font-size:10px;padding:10px 14px}#selected-skin-name{margin:14px 0 20px;font-size:11px}#join-panel{position:relative;left:auto;bottom:auto;width:min(324px,calc(100% - 40px));margin:0 auto 24px}.arena-info{padding:15px 18px 18px}.arena-info>strong{font-size:24px}.server-status{margin-top:14px}#join-panel .primary{min-height:64px}#toast{bottom:160px}dialog{padding:24px;max-height:calc(100dvh - 32px)}.dialog-heading h2{font-size:17px}}@media(max-width:360px){header{gap:8px;padding:18px 12px}nav button{padding:0 9px;font-size:10px}.wordmark{font-size:21px}.brand-cell{width:27px;height:27px;font-size:20px}#lobby,#join-panel{width:calc(100% - 32px)}}@media(min-width:761px)and (max-height:600px){body[data-mode=lobby]{overflow-y:auto}#lobby{position:relative;left:auto;top:auto;transform:none;width:320px;margin:110px auto 24px}#join-panel{position:relative;left:auto;bottom:auto;width:320px;margin:0 auto 24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}#settings{width:min(840px,calc(100vw - 32px));overflow-y:auto}.theme-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;align-items:start}.theme-preview-panel{position:sticky;top:0;min-width:0}.theme-preview-label{color:#a5c1d1;font-size:11px;margin:0 0 12px;letter-spacing:.5px}.theme-preview-label small{color:#8eacbe;font-size:9px;margin-left:8px}.theme-preview{--preview-background: #101b2c;--preview-grid: #527ba6;--preview-grid-opacity: .24;--preview-opacity: 1;--preview-softness: 18%;--preview-stretch: 1.084;--preview-squash: .923;--preview-border: #6c958c;--preview-border-width: 2px;--preview-cursor: #84e8ce;position:relative;overflow:hidden;isolation:isolate;height:208px;background:var(--preview-background);border:1px solid #57758780}.theme-preview:before{content:"";position:absolute;inset:0;opacity:var(--preview-grid-opacity);pointer-events:none}.theme-preview[data-grid=lines]:before{background:linear-gradient(var(--preview-grid) 1px,transparent 1px),linear-gradient(90deg,var(--preview-grid) 1px,transparent 1px);background-size:24px 24px}.theme-preview[data-grid=dots]:before{background:radial-gradient(circle,var(--preview-grid) 1.5px,transparent 2px) 0 0/24px 24px}.theme-preview-boundary{position:absolute;inset:16px;border:1px solid var(--preview-border);opacity:.5}.theme-preview[data-border=false] .theme-preview-boundary{display:none}.theme-preview-cell{position:absolute;border-radius:50%;background:color-mix(in srgb,var(--sample-color),white var(--preview-softness));border:var(--preview-border-width) solid var(--preview-border);opacity:var(--preview-opacity);animation:theme-squish 2.4s ease-in-out infinite}.preview-cell-one{--sample-color: #49c9a6;width:96px;height:96px;left:43px;top:59px}.preview-cell-two{--sample-color: #ba7ce0;width:65px;height:65px;right:22px;top:40px;animation-delay:-.8s}.preview-cell-three{--sample-color: #edb75a;width:31px;height:31px;right:36px;bottom:23px;animation-delay:-1.6s}.theme-preview-pointer{position:absolute;right:55px;bottom:64px;width:4px;height:4px;background:var(--preview-cursor);box-shadow:0 0 8px var(--preview-cursor)}.theme-preview[data-cursor=none] .theme-preview-pointer{display:none}.theme-preview-pointer:before,.theme-preview-pointer:after{content:"";position:absolute;background:var(--preview-cursor);filter:drop-shadow(0 0 4px var(--preview-cursor))}.theme-preview[data-cursor=ring] .theme-preview-pointer:before{width:12px;height:12px;right:-5px;top:12px;opacity:.55;transform:perspective(100px) rotateX(35deg) rotateY(40deg) rotate(25deg);animation:theme-cursor-fall 1.7s ease-in infinite}.theme-preview[data-cursor=ring] .theme-preview-pointer:after{width:15px;height:15px;right:13px;top:28px;opacity:.4;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 94%,50% 72%,21% 94%,32% 57%,2% 35%,39% 35%);animation:theme-cursor-fall 1.9s ease-in -.8s infinite}.theme-preview[data-cursor=trail] .theme-preview-pointer:before{width:33px;height:2px;right:-31px;top:12px;transform:rotate(40deg);opacity:.7}.theme-preview[data-cursor=trail] .theme-preview-pointer:after{width:26px;height:2px;right:-51px;top:19px;transform:rotate(-15deg);opacity:.3}.theme-preview[data-motion=off] .theme-preview-cell{animation:none}.theme-preview[data-motion=off] .theme-preview-pointer{display:none}@keyframes theme-cursor-fall{0%{transform:perspective(100px) translateY(-6px) rotateX(25deg) rotateY(30deg) rotate(0);opacity:0}20%{opacity:.6}to{transform:perspective(100px) translateY(20px) rotateX(150deg) rotateY(220deg) rotate(90deg);opacity:0}}@keyframes theme-squish{0%,to{transform:scale(1)}30%{transform:scale(var(--preview-stretch),var(--preview-squash))}65%{transform:scale(var(--preview-squash),var(--preview-stretch))}}.theme-save-status{min-height:58px;margin:12px 0 18px;color:#8eacbe;font-size:10px;line-height:1.9}.theme-preset-label{display:block;color:#a5c1d1;font-size:11px;margin-bottom:9px}#settings select{color:#dcebf3;font:inherit;font-size:12px;padding:10px 30px 10px 10px;border:1px solid #57758788;background:#091521;border-radius:0;cursor:pointer;min-height:40px;max-width:100%}#settings select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#theme-preset{width:100%}.theme-reset{width:100%;min-height:42px;padding:10px 8px;margin-top:10px;color:#a5c1d1;background:transparent;border:1px solid #57758766;font-size:10px}.theme-reset:hover{border-color:var(--accent);color:var(--accent)}.theme-fields{min-width:0}.theme-section{min-width:0;border:0;border-top:1px solid var(--line);padding:4px 0 20px;margin:0}.theme-section legend{color:var(--accent);font-size:12px;padding:0 12px 0 0;margin-bottom:6px;font-weight:600}.theme-range{display:block;margin:12px 0 20px;font-size:12px}.theme-range>span{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.theme-range output{color:var(--accent);font-variant-numeric:tabular-nums;font-size:11px;white-space:nowrap}.theme-range input[type=range]{display:block;width:100%;height:22px;margin:0;padding:0;accent-color:var(--accent);cursor:pointer}.theme-range small,.theme-section .toggle small{display:block;margin-top:7px;color:#8eacbe;font-size:10px;font-weight:400;line-height:1.7}.theme-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:6px 0;font-size:12px}.theme-choice input[type=color]{width:58px;height:36px;padding:3px;border:1px solid #57758788;background:#091521;cursor:pointer}.theme-section .toggle{font-size:12px;padding:15px 0}.theme-section .toggle:last-child{border-bottom:0}.theme-fields .connection-settings{margin-top:0;border-top:1px solid var(--line);padding-top:8px}@media(max-width:620px){#settings{padding:24px 20px}.theme-layout{grid-template-columns:minmax(0,1fr);gap:24px}.theme-preview-panel{position:static}.theme-preview{height:150px}.preview-cell-one{top:32px;left:calc(50% - 80px);width:80px;height:80px}.preview-cell-two{top:25px;right:calc(50% - 82px);width:55px;height:55px}.preview-cell-three{bottom:15px;right:calc(50% - 62px)}.theme-save-status{min-height:0}}@media(prefers-reduced-motion:reduce){.theme-preview-cell{animation:none}.theme-preview-pointer{display:none}}.world-picker{display:grid;gap:8px;margin-top:18px;color:#9ab8ca;font-size:10px}.world-picker select{width:100%;min-height:40px;padding:8px;color:#dcebf3;border:1px solid #57758788;background:#091521;font:inherit;cursor:pointer}#world-picker-status{display:block;color:#8da6b7;font-size:9px;margin-top:7px;line-height:1.6}select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.battle-royale-hud{position:fixed;inset:0;z-index:2;pointer-events:none;font-family:Tektur,"M PLUS 1 Code",monospace}.br-population{position:absolute;top:max(16px,calc(env(safe-area-inset-top,0px) + 8px));right:max(16px,calc(env(safe-area-inset-right,0px) + 8px));width:min(260px,calc(100vw - 130px));text-align:right}.br-count{display:block;padding:13px 16px;background:#102332ed;border:1px solid #84e8ce66;font-size:clamp(13px,1.2vw,18px)}.br-personal{padding:7px 4px;color:#b7d8d8;font-size:11px}.br-feed{list-style:none;padding:0;margin:0;font-family:"M PLUS 1 Code",monospace;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.br-feed li{margin-top:4px;background:#102332d9;padding:4px 8px}.br-clock{position:absolute;bottom:max(24px,calc(env(safe-area-inset-bottom,0px) + 16px));left:50%;transform:translate(-50%);width:min(480px,calc(100vw - 540px));padding:14px 18px;background:#102332ed;border:1px solid #84e8ce66;text-align:center;font-size:14px;font-weight:600;line-height:1.6}.br-clock.urgent{color:#ff9a9e;border-color:#f2667088}.br-announcement{position:absolute;top:max(84px,calc(env(safe-area-inset-top,0px) + 76px));left:50%;transform:translate(-50%);padding:14px 34px;background:#102332ed;border:1px solid #84e8ce66;font-size:22px;font-weight:600}.br-minimap{position:absolute;bottom:max(16px,calc(env(safe-area-inset-bottom,0px) + 8px));right:max(16px,calc(env(safe-area-inset-right,0px) + 8px));width:clamp(132px,16vw,190px);border:1px solid #648b9e88;background:#102332d9}.br-minimap svg{display:block;width:100%;aspect-ratio:1;overflow:hidden}.br-map-key{display:block;font-size:9px;text-align:center;padding:5px 2px;color:#b8cedc}.br-result{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 40px));padding:26px;background:#102332f5;border:1px solid #84e8ce88;text-align:center;box-shadow:0 20px 80px #0005;pointer-events:auto}.br-result h2{font-size:20px;margin:0 0 15px;overflow-wrap:anywhere}.br-result p{font-size:12px;line-height:1.9;color:#b8cedc}.br-result button{display:block;width:100%;min-height:44px;padding:10px;background:#1a3b49;border:1px solid #84e8ce66;margin-top:10px;font-size:12px}body.battle-royale[data-mode=lobby] .br-population{top:max(112px,calc(env(safe-area-inset-top,0px) + 104px))}body.battle-royale[data-mode=lobby] .br-clock{bottom:max(20px,calc(env(safe-area-inset-bottom,0px) + 12px))}body.battle-royale[data-mode=spectate] #spectating{bottom:max(92px,calc(env(safe-area-inset-bottom,0px) + 84px));max-width:calc(100vw - 32px);gap:12px;font-size:11px}body.battle-royale:has(.br-result:not([hidden])) #spectating{display:none}body.battle-royale button:disabled{cursor:default}@media(max-width:1000px){.br-clock{bottom:max(86px,calc(env(safe-area-inset-bottom,0px) + 78px));width:min(450px,calc(100vw - 32px));font-size:12px;padding:10px 12px}.br-minimap{bottom:max(150px,calc(env(safe-area-inset-bottom,0px) + 142px));width:132px}body.battle-royale[data-mode=spectate] #spectating{bottom:max(140px,calc(env(safe-area-inset-bottom,0px) + 132px));left:16px;transform:none;max-width:calc(100vw - 180px);flex-wrap:wrap;white-space:normal;padding:10px}body.battle-royale[data-mode=lobby] .br-minimap,body.battle-royale[data-mode=lobby] .br-clock{display:none}}@media(pointer:coarse){body.battle-royale[data-mode=play] .br-clock{bottom:max(184px,calc(env(safe-area-inset-bottom,0px) + 176px))}body.battle-royale[data-mode=play] .br-minimap{bottom:max(248px,calc(env(safe-area-inset-bottom,0px) + 240px))}}@media(max-width:760px){body.battle-royale[data-mode=lobby] .battle-royale-hud{display:none}.br-population{width:min(210px,calc(100vw - 125px))}.br-feed{font-size:9px}.br-population .br-feed li:nth-child(n+3){display:none}.br-result{top:43%;padding:20px}}@media(max-height:500px){.br-minimap{width:100px;bottom:max(155px,calc(env(safe-area-inset-bottom,0px) + 147px))}.br-map-key,.br-feed{display:none}.br-result{top:42%;padding:14px 20px}.br-result h2{font-size:16px;margin-bottom:5px}.br-result p{margin:5px 0}body.battle-royale:has(.br-result:not([hidden])) .br-population,body.battle-royale:has(.br-result:not([hidden])) .br-clock{visibility:hidden}}@media(max-height:420px)and (min-width:500px){body.battle-royale[data-mode] .br-minimap{bottom:max(16px,calc(env(safe-area-inset-bottom,0px) + 8px));width:100px}body.battle-royale[data-mode] .br-clock{left:max(16px,calc(env(safe-area-inset-left,0px) + 8px));right:max(132px,calc(env(safe-area-inset-right,0px) + 124px));bottom:max(96px,calc(env(safe-area-inset-bottom,0px) + 88px));width:auto;transform:none}body.battle-royale .touch-controls{right:max(132px,calc(env(safe-area-inset-right,0px) + 124px));bottom:max(16px,calc(env(safe-area-inset-bottom,0px) + 8px))}}
