@font-face{font-family:Barlow Condensed;src:url(assets/barlow-condensed-bold.ttf)}@font-face{font-family:IBM Plex Mono;src:url(assets/ibm-plex-mono.ttf)}
:root{color-scheme:dark;--bg:#101311;--panel:#1a1e1a;--dark:#121712;--edge:#333b32;--dim:#96a093;--muted:#6f7c70;--lime:#b7ee64;--white:#ecf0e7;--mono:"IBM Plex Mono",monospace;--cond:"Barlow Condensed",sans-serif;font-family:"Inter","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--white);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 10% 1%,#1c211a40 0,transparent 42%),var(--bg);min-height:100vh}button,a{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--lime);outline-offset:2px}button:disabled{cursor:progress}button:hover{color:var(--lime)}button svg{pointer-events:none}a{text-decoration:none}[hidden]{display:none!important}#symbols{position:absolute;width:0;height:0;overflow:hidden}i[data-icon]{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:none}i>svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.topbar{height:70px;border-bottom:1px solid #30372d;display:flex;align-items:center;padding:0 clamp(22px,3.6vw,68px);gap:clamp(30px,5vw,90px);background:#141813}.brand{display:flex;align-items:center;gap:10px;flex:none}.brand>svg{width:37px;height:36px;color:var(--lime)}.brand>span{display:flex;flex-direction:column;gap:2px}.brand strong{font-weight:800;letter-spacing:2px;font-size:19px;line-height:1.25}.brand small{font:8px var(--mono);letter-spacing:1.85px;color:#a0ae99}.topbar nav{display:flex;align-self:stretch;gap:25px}.navitem{font-size:13px;font-weight:600;display:flex;align-items:center;gap:9px;position:relative;padding:0 4px;color:#9ba398}.navitem.active{color:var(--lime)}.navitem.active:after{content:"";position:absolute;height:2px;bottom:0;left:0;right:0;background:var(--lime)}.navitem i{width:16px;height:16px}.top-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.local{font-size:12px;color:#b5c1aa;display:flex;align-items:center;gap:8px;white-space:nowrap}.local b,.site-footer b,.hud-bottom b{width:6px;height:6px;border-radius:50%;background:var(--lime);display:inline-block}.top-div{height:21px;width:1px;background:#353c31;margin:0 2px}.icon-button{width:32px;height:32px;display:grid;place-items:center;color:#b2b9ac}.icon-button:hover,.map-tool:hover{background:#293122}.workspace,.site-footer{width:100%;max-width:1820px;margin:auto;padding:0 clamp(20px,3.6vw,68px)}.page-title{height:109px;display:flex;align-items:center;justify-content:space-between}.eyebrow,.en,.legend-title small,.coords,.weapon-count,.map-scale,.site-footer span:last-child{font-family:var(--mono)}.eyebrow{font-size:9px;letter-spacing:1.5px;color:#9da995;display:flex;align-items:center;gap:9px}.eyebrow b{height:8px;width:4px;background:var(--lime);transform:skew(-17deg)}em{font-style:normal}.eyebrow em,.site-footer em{color:#61705d}.page-title h1{font-size:clamp(30px,3.1vw,49px);letter-spacing:1px;line-height:1.12;margin:8px 0 0;font-weight:850;display:flex;gap:16px;align-items:baseline}.page-title h1 span{font:700 clamp(20px,2.1vw,35px)/1 var(--cond);letter-spacing:.6px;color:#78846f}.mode{font-size:12px;font-weight:600;color:#c4d5b5;border:1px solid #3c4935;padding:7px 11px;display:flex;align-items:center;gap:8px;background:#1e271a}.mode i{width:16px;height:16px;color:var(--lime)}
.columns{display:grid;grid-template-columns:minmax(0,1fr) clamp(275px,23.6vw,350px);gap:18px}.framed{border:1px solid var(--edge);background:var(--panel);border-radius:3px}.map-panel{display:flex;flex-direction:column;min-width:0;align-self:stretch;overflow:hidden}.map-bar,.card-heading{display:flex;align-items:center;justify-content:space-between}.map-bar{height:53px;flex:none;padding:0 17px 0 20px;border-bottom:1px solid var(--edge)}.section-label{display:inline-flex;align-items:center;gap:10px}.section-label>i{color:var(--lime);width:18px;height:18px}.section-label strong{font-weight:650;font-size:15px;line-height:1}.section-label .en{padding-left:2px}.en{font-size:9px;color:#7c8978;letter-spacing:1.24px;font-weight:400}.layer-button{display:flex;align-items:center;gap:7px;height:29px;border:1px solid #45503f;border-radius:2px;font-size:11px;padding:0 8px;color:#c5cebf;background:#20261f}.layer-button i:first-child{width:14px;height:14px}.layer-button i:last-child{width:11px;height:11px;color:#91a084}
#mapViewport{isolation:isolate;position:relative;flex:1;min-height:350px;background:#18201b;overflow:hidden;touch-action:none}#atlas{display:block;width:100%;height:100%;position:absolute;inset:0;cursor:grab;touch-action:none}#atlas.dragging{cursor:grabbing}#markerLayer{pointer-events:none;position:absolute;inset:0;overflow:hidden}.map-marker{pointer-events:auto;position:absolute;display:grid;place-items:center;width:24px;height:24px;transform:translate(-50%,-50%);padding:0;filter:drop-shadow(0 1px 4px #0009);color:#b3e666}.map-marker .pin{width:19px;height:19px;display:grid;place-items:center;border:1px solid currentColor;border-radius:3px;background:#1a2419e8}.map-marker .pin i{width:13px;height:13px}.map-marker.selected{z-index:2}.map-marker.selected .pin{width:27px;height:27px;color:#1e2b13;background:var(--lime);border-color:#d7ff96;box-shadow:0 0 0 4px #b5ee5735}.map-marker.selected .pin i{width:17px;height:17px}.marker-tag{position:absolute;left:calc(100% + 9px);top:50%;transform:translateY(-50%);color:#d8ffa1;font-size:12px;font-weight:700;letter-spacing:.5px;white-space:nowrap;padding:5px 9px;background:#202e1be8;border:1px solid #849f56;border-radius:2px}.map-marker.route{color:#e6b477;width:17px;height:17px}.map-marker.route.ladder{color:#a8cccf}.map-marker.route .pin{width:13px;height:13px;border-radius:2px}.map-marker.route .pin i{width:9px;height:9px}.map-marker:hover .pin{outline:2px solid currentColor}.map-marker:focus-visible{z-index:6}.north{position:absolute;right:19px;top:16px;display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none;color:#e5eada;font:11px var(--mono)}.north svg{width:16px;height:22px}.map-tools{position:absolute;right:14px;top:87px;display:grid;gap:3px}.map-tool{padding:0;width:30px;height:30px;border:1px solid #586452;background:#192019e8;display:grid;place-items:center;color:#e0e8d8}.map-tool i{width:15px;height:15px}.map-tool:last-child{margin-top:4px}.legend{position:absolute;left:15px;bottom:13px;display:flex;align-items:center;gap:13px;font-size:10px;line-height:1;color:#bfcabc;background:#141b15ee;border:1px solid #41503d;padding:9px 12px;border-radius:2px}.legend span{display:inline-flex;align-items:center;gap:6px}.legend-title{color:#e1e7d9;font-weight:600;padding-right:9px;border-right:1px solid #485440}.legend-title small{font-size:8px;color:#89977d}.legend b{display:inline-block;width:7px;height:7px;transform:rotate(45deg);border:1px solid}.legend-spawn{color:var(--lime);background:#748f49}.legend-zip{color:#d6a166;background:#a47748}.legend-ladder{color:#aed0d1;background:#536c6c}.map-scale{position:absolute;bottom:16px;right:17px;color:#c8d4c4;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;text-shadow:0 1px 3px #000}.map-scale b{height:5px;border:1px solid #c1cbbb;border-top:0;width:46px}.map-bottom{height:31px;flex:none;display:flex;justify-content:space-between;align-items:center;padding:0 15px;border-top:1px solid var(--edge);font-size:10px;color:#8e9a8b}.map-bottom>span{display:flex;align-items:center;gap:6px}.map-bottom i{width:13px;height:13px}.dotsep{color:#586953}.coords{font-size:9px;letter-spacing:.5px}
.sidebar{display:flex;flex-direction:column;gap:13px}.card-heading{height:46px;padding:0 17px}.text-btn{display:inline-flex;align-items:center;gap:4px;color:#a6b09e;font-size:11px;padding:5px 0 5px 5px}.text-btn i{width:11px;height:11px}.weapon-stage{height:clamp(119px,16.3vh,190px);margin:0 12px;overflow:hidden;position:relative;isolation:isolate;border:1px solid #384033;background:radial-gradient(ellipse at 58% 40%,#3c4637 0,#2a3228 45%,#222921 90%)}.weapon-stage:before,.knife-tile .tile-art:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#b2bf9b0a 1px,transparent 1px),linear-gradient(90deg,#b2bf9b0a 1px,transparent 1px);background-size:21px 21px}.weapon-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(115deg,transparent 0 8px,#afc69b06 8px 9px);clip-path:polygon(78% 100%,100% 46%,100% 100%)}.weapon-circles{position:absolute;left:42%;top:50%;width:87px;height:87px;transform:translate(-50%,-50%);border:1px solid #becda512;border-radius:50%;z-index:-1}.weapon-circles:after{content:"";position:absolute;inset:-14px;border:1px dashed #becda518;border-radius:50%}.stage-cross{position:absolute;color:#809071;font:12px var(--mono)}.tl{left:6px;top:0}.br{right:6px;bottom:0}#knifePreview{width:91%;height:94%;object-fit:contain;position:absolute;left:4.5%;top:2%;transform:rotate(-12deg);filter:drop-shadow(0 9px 5px #0008) brightness(1.12)}.weapon-count{position:absolute;bottom:7px;left:9px;color:#b2bca9;font-size:8px;letter-spacing:1px}.weapon-name{min-height:64px;padding:10px 16px 13px;display:flex;justify-content:space-between;align-items:center}.weapon-name>div:first-child{display:flex;flex-direction:column;gap:2px}.weapon-name small{font:10px var(--mono);color:#91a081;letter-spacing:1.2px}.weapon-name strong{font-size:19px;line-height:1.4;letter-spacing:1px;font-weight:680}.stepper{display:flex;gap:4px}.stepper button{display:grid;place-items:center;width:25px;height:25px;border:1px solid #3e4739;color:#b7c1ae;padding:0}.stepper button:hover{background:#323e2b;color:var(--lime)}.stepper i{width:13px;height:13px}
.deploy-card{position:relative}.deploy-inner{padding:0 16px 15px}.deploy-inner label{display:block;font-size:10px;color:#97a192;margin-bottom:6px}.spawn-choice{background:#121712;border:1px solid #46513f;border-radius:2px;display:flex;align-items:center;gap:8px;height:36px;width:100%;padding:0 11px;font-size:12px;font-weight:550}.spawn-choice i:first-child{color:#a9d477;width:15px;height:15px}.spawn-choice i:last-child{margin-left:auto;color:#909d85;width:12px;height:12px}.start-wrap{margin-top:12px}#start{background:var(--lime);color:#19250f;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:43px;border-radius:2px;font-size:14px;letter-spacing:1px;font-weight:750;position:relative;transition:background .15s}#start:hover{background:#ccff7d}#start>i:first-child{width:15px;height:15px}#start .end-arrow{position:absolute;right:13px;width:19px;height:19px}.controls-card{flex:1}.quick-controls{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 3px;padding:0 16px 15px;color:#9ca697;font-size:11px}.quick-controls>div{display:flex;align-items:center;justify-content:flex-end;gap:4px}kbd{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;line-height:1;padding:0 4px;font:10px var(--mono);color:#bdc7b5;background:#262c24;border:1px solid #414a3b;border-radius:3px}.site-footer{display:flex;align-items:center;justify-content:space-between;height:40px;font-size:10px;color:#819079}.site-footer span{display:flex;align-items:center;gap:7px}.site-footer span:last-child{font-size:9px;letter-spacing:.8px}.site-footer b{width:5px;height:5px;background:#81986f}
.popup{z-index:12;background:#20261f;border:1px solid #515c49;box-shadow:0 8px 26px #0008;border-radius:2px}.popup label{padding:7px 12px;display:flex;align-items:center;gap:7px;font-size:12px}.popup input{accent-color:var(--lime)}#layerMenu{position:absolute;right:8px;top:5px;padding:4px 0}.spawn-menu{position:absolute;top:96px;left:15px;right:15px;max-height:240px;overflow:auto}.spawn-menu button{width:100%;text-align:left;display:block;padding:9px 12px;font-size:12px}.spawn-menu button[aria-current=true],.spawn-menu button:hover{background:#33412a;color:var(--lime)}
.overlay,.loading{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:#080d0bcc;backdrop-filter:blur(6px)}.dialog{width:min(775px,100%);max-height:88dvh;overflow:auto;box-shadow:0 20px 80px #0008}.dialog-top{padding:19px 22px 15px;border-bottom:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between}.dialog h2,.loading h2{font-size:23px;letter-spacing:1px;margin:5px 0 0}.dialog .eyebrow{color:var(--lime)}.knife-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:15px}.knife-tile{text-align:left;min-width:0;background:#20261f;border:1px solid #394334;padding:0;border-radius:2px;overflow:hidden}.knife-tile.chosen{border-color:var(--lime)}.tile-art{height:78px;display:grid;place-items:center;isolation:isolate;position:relative;background:radial-gradient(ellipse at center,#384334,#252d24)}.tile-art img{width:91%;height:93%;object-fit:contain;transform:rotate(-7deg);filter:drop-shadow(0 5px 3px #0007)}.tile-info{padding:7px 10px;display:flex;align-items:center;justify-content:space-between}.tile-info strong{font-size:12px}.tile-info em{font:9px var(--mono);color:var(--lime)}.guides{padding:12px 22px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 27px}.guides>div{display:flex;justify-content:space-between;align-items:center;gap:7px;border-bottom:1px solid #343e30;padding:11px 0;font-size:12px;color:#c0cbba}.guides>div>span:last-child{display:flex;gap:4px}.sources{font-size:10px;color:#899781;padding:0 22px 17px;line-height:1.6}.sources a{text-decoration:underline;text-underline-offset:3px}
#playScreen{position:fixed;inset:0;z-index:20;background:#171d1a;touch-action:none;user-select:none}#gameCanvas{width:100%;height:100%;display:block;outline:none}.hud-top,.hud-bottom{position:absolute;left:20px;right:20px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;text-shadow:0 1px 5px #000}.hud-top{top:max(14px,env(safe-area-inset-top))}.hud-location,.hud-button,.hud-bottom>span{background:#111a16cb;border:1px solid #82977373;padding:8px 12px;display:flex;align-items:center;gap:7px}.hud-location{display:grid;gap:3px}.hud-location strong{font-size:14px}.hud-location .eyebrow{color:var(--lime);font-size:8px}.hud-button{pointer-events:auto;font-size:12px}.hud-button i{width:15px;height:15px;color:var(--lime)}.hud-compass{font:12px var(--mono);color:white;padding:8px 14px;background:linear-gradient(90deg,transparent,#111a16bb,transparent);letter-spacing:1.5px}.hud-bottom{bottom:17px;align-items:flex-end}.hud-bottom>span{font-size:12px}.hud-bottom>span:last-child{font-weight:bold}.hud-bottom b{width:5px;height:5px}#miniMap{position:absolute;left:20px;top:72px;border:1px solid #73866e;background:#152018cb;width:130px;height:130px;padding:0;overflow:hidden}#mini{display:block;width:100%;height:100%}#crosshair{position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:50%;background:#f4f9d9;box-shadow:0 0 0 1px #414938;transform:translate(-50%,-50%);pointer-events:none}#rideHint{position:absolute;top:58%;left:50%;transform:translateX(-50%);padding:7px 12px;background:#182019cf;font-size:13px;border:1px solid #94a875;color:var(--lime);white-space:nowrap}.touch{display:none}.loading{z-index:35;text-align:center;color:#d9e8d0}.loading>div{padding:28px;background:#1c261c;border:1px solid #47543d;width:min(300px,90vw)}.loading i{color:var(--lime);width:28px;height:28px}.loading span{display:block;font-size:12px;color:#aab7a1;margin:10px 0 18px}.loading b{display:block;height:2px;background:linear-gradient(90deg,transparent,var(--lime),transparent);animation:load 1.2s ease-in-out infinite alternate}@keyframes load{from{transform:scaleX(.2)}to{transform:scaleX(1)}}#toast{position:fixed;z-index:45;bottom:22px;left:50%;transform:translateX(-50%);background:#2e392a;border:1px solid #6c7e60;padding:11px 17px;font-size:13px;max-width:min(540px,90vw);text-align:center}
@media(min-width:920px){.columns{min-height:min(650px,calc(100dvh - 218px))}}
@media(min-width:1540px){.page-title{height:122px}.map-bar{height:57px}.card-heading{height:51px}.weapon-stage{height:184px}.deploy-inner{padding-bottom:18px}.quick-controls{gap:10px}.sidebar{gap:16px}}
@media(max-width:960px){.topbar{gap:32px}.workspace,.site-footer{padding-left:20px;padding-right:20px}.columns{grid-template-columns:minmax(0,1fr) 252px;gap:12px}.legend{gap:8px}.legend-title small{display:none}.page-title{height:94px}.weapon-stage{height:120px}.section-label .en{font-size:8px}.card-heading{padding:0 12px}}
@media(max-width:730px){.topbar{height:57px;padding:0 13px;gap:14px}.topbar nav{gap:8px}.brand>svg{width:29px}.brand{gap:4px}.brand strong{font-size:15px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1px}.navitem{font-size:11px;gap:4px}.navitem i{width:13px;height:13px}.top-actions{gap:1px}.top-div,.local{display:none}.icon-button{width:27px}.columns{grid-template-columns:1fr}.workspace,.site-footer{padding:0 12px}.page-title{height:78px}.page-title h1{font-size:29px;gap:10px}.page-title h1 span{font-size:22px}.eyebrow{font-size:8px;letter-spacing:1px}.mode{font-size:10px;padding:5px}.map-bar{height:43px;padding:0 10px}.section-label strong{font-size:14px}#mapViewport{height:clamp(325px,51dvh,520px);flex:none;min-height:0}.map-bottom{height:26px;padding:0 9px}.legend{left:7px;bottom:8px;padding:7px;gap:7px;font-size:9px}.map-scale{right:8px;bottom:8px;font-size:8px}.map-tools{right:8px;top:66px}.north{right:15px;top:8px}.map-tool{width:26px;height:26px}.sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.weapon-stage{height:90px;margin:0 7px}.weapon-name{min-height:46px;padding:6px 8px}.weapon-name strong{font-size:16px}.weapon-name small{font-size:8px}.deploy-inner{padding:0 9px 10px}.deploy-card .en{display:none}.card-heading{height:36px;padding:0 9px}.section-label{gap:6px}.section-label>i{width:15px;height:15px}.text-btn{font-size:10px}.controls-card{grid-column:1/-1}.quick-controls{grid-template-columns:auto auto auto auto auto auto;font-size:10px;gap:5px;padding:0 10px 10px}.quick-controls>div{justify-content:flex-start}.knife-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}.tile-art{height:54px}.tile-info{padding:5px}.dialog-top{padding:12px}.dialog h2{font-size:20px}.guides{grid-template-columns:1fr;padding:8px 15px}.spawn-menu{left:7px;right:7px;top:91px}.hud-compass{font-size:10px}.hud-top,.hud-bottom{left:7px;right:7px}#miniMap{left:7px;top:69px;width:83px;height:83px}}
@media(pointer:coarse){.touch{display:block}.touch-keys{position:absolute;bottom:65px;right:12px;display:grid;grid-template-columns:repeat(3,42px);gap:6px}.touch-keys button,#joy{border:1px solid #cad2c77a;background:#111b16a3;color:#fff;touch-action:none}.touch-keys button{border-radius:4px;height:32px;font-size:11px}.touch-keys button.on{background:#557238}#joy{position:absolute;bottom:67px;left:22px;width:88px;height:88px;border-radius:50%;display:grid;place-items:center}#joy span{width:32px;height:32px;background:#ced9bc85;border-radius:50%;pointer-events:none}}

.gear-selectors{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:0 0 16px}
.gear-selectors label{display:grid;gap:5px;font-size:12px;color:#c6d2c6}
.gear-selectors select{font:inherit;color:#e5ede3;background:#222a24;border:1px solid #51604f;border-radius:3px;padding:7px 10px}
#fps{position:absolute;top:max(56px,calc(env(safe-area-inset-top) + 42px));right:max(20px,env(safe-area-inset-right));padding:5px 8px;color:var(--lime);background:#111a16cb;border:1px solid #82977373;font:11px/1 var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
@media(max-width:700px){#fps{right:max(7px,env(safe-area-inset-right))}}
