.game-home{position:fixed;right:18px;bottom:18px;z-index:35;padding:9px 14px;border:1px solid #ab9257;background:#10271fee;color:#fff0c6;font:600 13px/1.3 system-ui,sans-serif;text-decoration:none;box-shadow:0 2px 8px #0005}.game-home:focus-visible,.game-loading a:focus-visible,.game-loading button:focus-visible{outline:3px solid #ffe5a0;outline-offset:4px}.game-loading{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#0b211bf7;color:#f9edcb;font:16px/1.6 system-ui,sans-serif;padding:28px;text-align:center}.game-loading[hidden]{display:none}.game-loading-panel{max-width:540px}.game-loading h1{font:700 30px/1.2 Georgia,serif;letter-spacing:.05em;color:#e7c979;margin:0 0 28px}.game-loading p{margin:0 0 14px}.game-loading small{display:block;overflow-wrap:anywhere;color:#d3d7c5}.game-loading-actions{display:flex;gap:18px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:28px}.game-loading a{color:#f3d58d}.game-loading button{font:600 15px system-ui,sans-serif;padding:11px 17px;background:#d8ba74;color:#15241a;border:1px solid #eedba7;cursor:pointer}.loading-spinner{width:34px;height:34px;border:3px solid #789075;border-top-color:#f3d58d;border-radius:50%;margin:0 auto 25px;animation:game-load 1s linear infinite}.game-loading[data-state=error] .loading-spinner{display:none}@keyframes game-load{to{transform:rotate(360deg)}}@media(max-width:700px){.game-home{inset:8px auto auto 8px;font-size:11px;padding:7px 9px}.game-loading h1{font-size:25px}.game-loading{padding:22px}}@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none}}@media(max-width:700px){.game-home{left:15px;min-height:32px;display:flex;align-items:center}body:not(.touch-mode) .hud{padding-top:44px}body:not(.touch-mode) .hud .brand>.eyebrow,body:not(.touch-mode) .hud .brand>span:last-child{display:none}}@media(orientation:landscape)and (max-height:540px)and (max-width:800px){.preparation .planning-head{padding:8px 12px;gap:8px}.preparation .planning-head h2{font-size:20px;line-height:1.1;margin-bottom:3px}.preparation .planning-head p{font-size:11px;line-height:1.2}.preparation .planning-head button{padding:7px 9px;font-size:11px}.preparation .planning-body{min-height:0;grid-template-columns:minmax(0,1fr) 150px;grid-template-rows:minmax(0,1fr)}.preparation .map-column{min-height:0;padding:4px}.preparation .war-map{min-height:120px;overflow:auto;align-items:flex-start;justify-content:flex-start}.preparation .board-stage{width:max(360px,min(100cqw,177.68cqh));min-width:360px;margin:auto}.preparation .map-hint{display:none}.preparation .map-slot,.preparation .map-slot.occupied{min-width:36px;min-height:36px}.preparation .arsenal{min-height:0;padding:6px;border-top:0;border-left:1px solid #62745c;overflow:auto}.preparation .arsenal h3,.preparation .arsenal>p{display:none}.preparation .arsenal-items{grid-template-columns:1fr;gap:3px}.preparation .arsenal-item{min-height:38px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:3px;padding:3px;border-radius:4px}.preparation .arsenal-item img,.preparation .catapult-choice .arsenal-item img{width:36px;height:28px;max-width:36px}.preparation .arsenal-copy{display:block;text-align:left}.preparation .arsenal-copy strong{font-size:11px;line-height:1.1}.preparation .arsenal-copy small{font-size:9px;line-height:1.1;text-align:left}.preparation .catapult-choice{gap:3px}.preparation .catapult-choice .arsenal-item{min-height:38px}.preparation .catapult-variant{gap:3px}.preparation .catapult-variant button{min-height:20px;padding:2px;font-size:10px;line-height:1.1}.preparation .arsenal #removeDefense{min-height:22px;padding:3px;font-size:10px;line-height:1.1;margin-top:4px}.preparation .planning-foot{min-height:64px;padding:6px 10px;gap:8px}.preparation .planning-foot>div{gap:3px}.preparation .planning-foot strong{font-size:11px;line-height:1.1}.preparation .planning-foot span{font-size:11px;line-height:1.2}.preparation .planning-foot .reserve-note{display:none}.preparation #confirmFormation{font-size:11px;line-height:1.2;padding:8px;max-width:42%}}.game-page .game-loading{font-family:Vale Lora,Georgia,serif;background:#10271ff7;color:#f6eacb}.game-page .game-loading h1{font-family:Vale Cinzel,Georgia,serif;font-weight:600;letter-spacing:0;color:#d9b460}.game-page .game-loading small{color:#e1d5b5}.game-page .game-loading button,.game-page .game-home{font-family:Vale Lora,Georgia,serif;min-height:44px}.game-page .game-home{background:#10271fee;color:#f6eacb;font-size:12px;border-color:#d9b460;display:flex;align-items:center;inset:auto 18px 16px auto}.game-page .game-loading button{background:#d9b460;color:#10271f;border:0}@media(max-width:700px){.game-page .game-home{display:none}.game-page:not(.touch-mode) .hud{padding-top:12px}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f7f1df;background:#a7cee8}*{box-sizing:border-box}body{margin:0;overflow:hidden}#scene{position:fixed;inset:0}canvas{display:block;width:100%;height:100%}.hud{position:fixed;z-index:2;inset:0 0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:25px 29px;pointer-events:none;background:linear-gradient(180deg,rgba(21,34,37,.55),transparent)}.brand{display:flex;flex-direction:column;text-shadow:0 2px 8px #253c38}.brand strong{font-family:Georgia,serif;font-size:clamp(21px,2vw,32px);letter-spacing:.12em;line-height:1.05}.eyebrow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.24em;color:#d8dcab;margin-bottom:7px}.brand>span:last-child{font-size:12px;letter-spacing:.1em;margin-top:5px}.controls{display:flex;align-items:center;gap:8px;pointer-events:auto}.controls label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-right:4px}select,button{font:600 12px Inter,ui-sans-serif,system-ui,sans-serif;border:1px solid rgba(255,255,255,.5);border-radius:3px;background:#162d30bf;color:#fff;padding:10px 12px;cursor:pointer}select:hover,button:hover{background:#31575b}.guide,.scale{position:fixed;z-index:2;bottom:22px;text-shadow:0 1px 6px #26352d;font-size:12px;font-weight:600;letter-spacing:.02em;pointer-events:none}.guide{left:29px;padding:10px 13px;background:#182a2a80;border-left:2px solid #d5bb72}.scale{right:29px;display:flex;align-items:center;gap:12px;line-height:1.45;text-align:right}.line{height:40px;width:2px;background:#ece9c4;box-shadow:0 0 0 1px #344d48}@media(max-width:700px){.hud{padding:15px;flex-direction:column}.controls{width:100%}.guide{bottom:12px;left:15px;right:15px;text-align:center;font-size:10px}.scale{display:none}}.hud{flex-wrap:wrap;z-index:3}.controls{flex-wrap:wrap;justify-content:flex-end;max-width:790px}.controls select,.controls button{white-space:nowrap}.status{position:fixed;left:29px;bottom:72px;z-index:2;padding:9px 13px;background:#182a2aad;border-left:2px solid #79c3be;color:#f5f2df;font-size:12px;font-weight:700;letter-spacing:.03em;text-shadow:0 1px 4px #26352d;max-width:min(700px,calc(100vw - 58px))}#startFlight{background:#3f7173;border-color:#8ebcbb}#resetTest{border-color:#cdb37b}@media(max-width:700px){.status{left:15px;bottom:54px}.controls{justify-content:flex-start}.controls label{display:none}.hud{background:linear-gradient(180deg,rgba(21,34,37,.85),transparent)}}.test-tools{pointer-events:auto;position:relative}.test-tools summary{list-style:none;cursor:pointer;border:1px solid rgba(255,255,255,.5);border-radius:3px;background:#162d30bf;padding:10px 12px;font-size:12px;font-weight:700;white-space:nowrap}.test-tools summary::-webkit-details-marker{display:none}.test-tools>div{position:absolute;right:0;top:calc(100% + 5px);width:240px;display:flex;flex-direction:column;gap:7px;padding:12px;background:#162d30f0;border:1px solid #a8b2a6;box-shadow:0 8px 25px #26352d77}.test-tools select,.test-tools button{width:100%}.preparation{position:fixed;top:116px;right:29px;width:min(306px,calc(100vw - 30px));max-height:calc(100vh - 175px);overflow:auto;z-index:2;background:#1a2f30e0;padding:16px;border:1px solid #84998a;box-shadow:0 8px 28px #26352d77}.preparation h2{font:700 21px Georgia,serif;letter-spacing:.04em;margin:0 0 6px}.preparation p{font-size:11px;line-height:1.4;color:#e5e5d6;margin:0 0 12px}.slot-list{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:12px}.slot-list button{text-align:left;padding:6px 7px;font-size:11px;line-height:1.3;min-height:39px;background:#355554}.slot-list button.selected{background:#687d61;outline:2px solid #e2ca80}.slot-list button:hover{background:#5d7771}.preparation label{font-size:11px;display:block;margin-bottom:4px}.preparation select{width:100%}.stock,.prep-message{font-size:11px;line-height:1.45;margin-top:8px}.prep-message{color:#ffe1a0;min-height:15px}.battle-hud{position:fixed;left:29px;top:110px;z-index:2;width:min(270px,calc(100vw - 58px));padding:13px;background:#182a2ac2;border-left:2px solid #d5bb72}.battle-hud>div{display:grid;grid-template-columns:1fr auto;gap:3px 10px;margin-bottom:9px;font-size:11px}.battle-hud strong{font-size:11px}.battle-hud progress{grid-column:1/-1;width:100%;height:8px;accent-color:#9bbb80}.battle-hud>div:nth-child(2) progress{accent-color:#d5b570}.battle-hud>div:nth-child(3) progress{accent-color:#6cc5c8}.battle-hud small{font-size:11px;color:#dedbc4}.crosshair{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;font-size:23px;color:#c4ffff;text-shadow:0 0 5px #003c48;pointer-events:none}.result{position:fixed;inset:0;z-index:5;display:grid;place-items:center;background:#0f1a1c8f}.result[hidden],.battle-hud[hidden],.preparation[hidden],.crosshair[hidden]{display:none}.result>div{width:min(420px,90vw);padding:30px;background:#253f3d;border:1px solid #cab877;text-align:center;box-shadow:0 15px 50px #09151499}.result h2{font:700 32px Georgia,serif;margin:0 0 10px}.result p{font-size:14px;line-height:1.5}.result button{margin-top:12px;background:#5b7868}.status{bottom:70px}@media(max-width:700px){.preparation{right:15px;top:155px;max-height:calc(100vh - 220px)}.battle-hud{left:15px;top:155px}.status{bottom:55px}}.fps{position:fixed;right:29px;bottom:82px;z-index:3;padding:6px 9px;border-radius:3px;background:#182a2ac7;color:#e9f5dc;font:600 12px ui-monospace,monospace;font-variant-numeric:tabular-nums;pointer-events:none}@media(max-width:700px){.fps{right:15px;bottom:100px}}.preparation{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(1390px,calc(100vw - 36px));height:min(830px,calc(100dvh - 36px));max-height:none;overflow:hidden;padding:0;border:1px solid #a99a69;border-radius:12px;background:#172c29;color:#f4ecd5;box-shadow:0 24px 80px #071713aa;z-index:10;display:flex;flex-direction:column}.preparation:not([open]){display:none}.preparation::backdrop{background:#071514bf}.planning-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:19px 26px 17px;background:#1e3731;border-bottom:1px solid #52705d}.planning-head h2{font:700 clamp(24px,2.4vw,36px)/1.1 Georgia,serif;letter-spacing:-.025em;margin:0 0 6px;color:#fff4d3}.planning-head p{font-size:13px;line-height:1.35;color:#e5d9b8;margin:0}.planning-head button{flex:none;border-color:#788b76;background:#304c42;color:#f8edcd;padding:10px 13px;font-size:12px}.planning-head button span{font-size:18px;vertical-align:-1px;margin-left:8px}.planning-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:0}.map-column{min-width:0;min-height:0;display:flex;flex-direction:column;padding:16px 18px 9px;background:#24372c}.war-map{position:relative;flex:1;min-height:0;overflow:hidden;border:1px solid #71836b;border-radius:8px;background:#899b6d;box-shadow:inset 0 0 0 1px #bbc49a66,0 8px 20px #0b21185c}.war-map canvas{position:absolute;inset:0;width:100%;height:100%}.map-slot{position:absolute;transform:translate(-50%,-50%);width:76px;min-height:46px;padding:3px 5px;display:flex;align-items:center;gap:4px;pointer-events:auto;touch-action:none;border:1px solid #fff0c8;border-radius:6px;background:#183b32e8;color:#fff8df;box-shadow:0 2px 5px #10291fb8,0 0 0 2px #2548337a;text-align:left;line-height:1.05;white-space:normal}.map-slot:hover,.map-slot:focus-visible,.map-slot.drop-target{background:#3c6955;box-shadow:0 0 0 3px #f4d58a,0 4px 12px #10291fbb}.map-slot.selected{outline:2px solid #ffd77e;outline-offset:2px}.map-slot.occupied{background:#344d47eb}.slot-number{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #f3e1aa;border-radius:50%;font:700 15px Georgia,serif;color:#fff3ce;background:#21483b}.slot-label{font-size:10px;font-weight:700;overflow-wrap:anywhere}.map-caption{position:absolute;left:14px;right:14px;bottom:12px;display:flex;justify-content:space-between;pointer-events:none;text-shadow:0 2px 4px #163529;color:#fff7db;font:800 11px ui-sans-serif,system-ui;letter-spacing:.16em}.map-caption span{padding:5px 7px;background:#19392bbf;border-radius:3px}.map-hint{flex:none;margin:8px 3px 0;font-size:12px;line-height:1.3;color:#e6dbba}.arsenal{min-height:0;padding:18px 16px;background:#203b33;border-left:1px solid #62745c;display:flex;flex-direction:column;gap:0;overflow-y:auto;scrollbar-color:#8c9c77 #203b33}.arsenal h3{font:700 25px Georgia,serif;letter-spacing:-.02em;color:#fff3d0;margin:1px 0 5px}.arsenal>p{font-size:12px;line-height:1.4;color:#e3d9b9;margin:0 0 14px}.arsenal-items{display:grid;gap:10px}.arsenal-item{width:100%;min-height:127px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 8px 8px;background:#2d4d41;border:1px solid #678266;border-radius:8px;box-shadow:0 4px 10px #122b23a8;touch-action:none}.arsenal-item:hover,.arsenal-item:focus-visible,.arsenal-item.selected{background:#416e56;border-color:#f2d58e;box-shadow:0 0 0 2px #e4c980,0 6px 16px #10291fb0}.arsenal-item.exhausted:not(.selected){opacity:.7}.arsenal-item img{width:130px;height:83px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 4px #071d16aa)}.arsenal-copy{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:8px;text-align:left}.arsenal-copy strong{font:700 16px Georgia,serif}.arsenal-copy small{font-size:10px;line-height:1.15;color:#efe2bc;text-align:right}#removeDefense{margin-top:13px;width:100%;background:#36574b;border-color:#9ba77c;color:#fff2d4}#removeDefense:disabled{opacity:.45;cursor:not-allowed}.arsenal.drop-target{outline:3px solid #efd489;outline-offset:-5px;background:#355846}.drag-weapon{position:fixed;z-index:10000;width:118px;height:94px;object-fit:contain;pointer-events:none;transform:translate(-50%,-50%);filter:drop-shadow(0 10px 8px #06180dcc)}.planning-foot{flex:0 0 auto;min-height:82px;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#19362e;border-top:1px solid #748469}.planning-foot>div{display:flex;flex-direction:column;gap:4px;min-width:0}.planning-foot strong{font:700 17px Georgia,serif;font-variant-numeric:tabular-nums;color:#fff2cb}.planning-foot span{font-size:12px;line-height:1.25;color:#ebdfba}#confirmFormation{flex:none;padding:13px 18px;background:#b08b49;border-color:#e5cb8a;color:#172b25;font-size:13px;font-weight:800}#confirmFormation:hover{background:#d5ad61}#confirmFormation:disabled{background:#596858;border-color:#7b866b;color:#cad0bc;cursor:not-allowed}.preparation button:focus-visible{outline:3px solid #ffe3a0;outline-offset:2px}.preparation ::selection{background:#d6b16b;color:#132e26}@media(max-width:800px){.preparation{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.planning-head{padding:12px 15px}.planning-head h2{font-size:24px}.planning-head p{font-size:11px}.planning-body{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.map-column{padding:8px 10px 5px}.map-hint{font-size:10px}.arsenal{border-left:0;border-top:1px solid #62745c;padding:10px 12px;overflow:visible}.arsenal h3{font-size:18px;margin:0 0 4px}.arsenal>p{display:none}.arsenal-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.arsenal-item{min-height:88px;padding:2px 4px 5px}.arsenal-item img{width:100%;height:53px}.arsenal-copy{display:block;text-align:center}.arsenal-copy strong{display:block;font-size:12px}.arsenal-copy small{display:block;font-size:9px;text-align:center}.arsenal #removeDefense{margin-top:7px;padding:7px}.planning-foot{min-height:80px;padding:9px 11px;gap:8px}.planning-foot strong{font-size:13px}.planning-foot span{font-size:10px}#confirmFormation{font-size:11px;line-height:1.1;padding:10px 9px;max-width:42%}.map-slot{width:54px;min-height:36px;padding:2px 3px}.slot-number{width:19px;height:19px;font-size:11px}.slot-label{font-size:8px}}@media(max-height:680px)and (min-width:801px){.planning-head{padding:10px 20px}.arsenal-item{min-height:100px}.arsenal-item img{height:56px}.planning-foot{min-height:68px;padding:8px 18px}}.map-slot{width:82px;height:76px;min-height:0;display:flex;flex-direction:column;justify-content:end;gap:0;padding:0 3px 2px;border:0;background:transparent;box-shadow:none;transform:translate(-50%,-47%)}.map-slot:hover,.map-slot:focus-visible,.map-slot.drop-target{background:#28534066;box-shadow:0 0 0 2px #f4d58a,0 4px 12px #10291f99}.map-slot.selected{outline:2px solid #ffd77e;outline-offset:1px}.map-slot.occupied{background:transparent}.map-slot.occupied:hover,.map-slot.occupied.drop-target{background:#28534066}.slot-model{height:50px;width:100%;display:grid;place-items:center;pointer-events:none}.slot-model img{max-width:75px;width:100%;height:50px;object-fit:contain;filter:drop-shadow(0 3px 3px #142719c9)}.slot-tag{display:flex;align-items:center;gap:3px;min-width:0;max-width:100%;padding:2px 4px;border:1px solid #f7e6b8;border-radius:5px;background:#183b32ed;box-shadow:0 2px 5px #10291fb8;pointer-events:none}.slot-number{width:19px;height:19px;font-size:11px}.slot-label{font-size:9px}.preparation.dragging .map-slot{box-shadow:0 0 0 2px #efd489,0 3px 10px #16271ba8}@media(max-width:800px){.map-slot{width:62px;height:57px}.slot-model,.slot-model img{height:35px}.slot-model img{max-width:57px}.slot-tag{padding:1px 2px}.slot-number{width:16px;height:16px;font-size:10px}.slot-label{font-size:7px}}.war-map.portrait .map-caption{inset:9px auto 9px 8px;flex-direction:column;align-items:flex-start}.reserve-note{color:#c7d7b7!important;font-size:11px!important}@media(max-width:800px){.reserve-note{font-size:9px!important}}.slot-label,.arsenal-copy small{font-size:11px}@media(max-width:800px){.slot-label{display:none}.slot-tag{padding:3px}.slot-number{width:20px;height:20px;font-size:12px}.arsenal-copy small,.map-hint,.planning-foot span{font-size:11px}.reserve-note{font-size:11px!important}}@media(min-width:801px){.map-slot{width:108px}.slot-label{white-space:nowrap;overflow-wrap:normal}.slot-tag{padding:2px 6px}}@media(max-height:760px)and (min-width:801px){.arsenal-item{min-height:110px}.arsenal-item img{height:65px}.arsenal>p{margin-bottom:9px}}@media(max-width:800px){.map-slot{width:38px;height:38px;min-height:38px;justify-content:center;transform:translate(-50%,-50%)}.slot-model{display:none}.slot-tag{width:30px;height:30px;justify-content:center;padding:2px;border-radius:50%}}.war-map{container-type:size;display:flex;align-items:center;justify-content:center;overflow:auto;background:#15271f;border-color:#8d754b;scrollbar-color:#a88950 #20392b}.board-stage{position:relative;flex:none;width:min(100cqw,177.68cqh);aspect-ratio:1672/941;margin:auto;isolation:isolate}.board-art{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none}.map-slots{position:absolute;inset:0;pointer-events:none}.map-slot,.map-slot.occupied{position:absolute;width:4.4%;min-width:36px;height:auto;min-height:36px;aspect-ratio:1;transform:translate(-50%,-50%);display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;box-shadow:none;touch-action:none;color:#fff3c9;overflow:visible}.map-slot:hover,.map-slot:focus-visible,.map-slot.drop-target,.map-slot.occupied:hover,.map-slot.occupied.drop-target{background:#d9bb7961;border-color:#f9e2a0;box-shadow:0 0 0 2px #41280dba,0 3px 8px #100f09a6}.map-slot.selected{outline:2px solid #ffde8a;outline-offset:2px}.map-slot .slot-model{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;pointer-events:none}.map-slot .slot-model img{width:155%;max-width:none;height:155%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 4px #140e09c9)}.map-slot .slot-number{position:relative;z-index:1;width:23px;height:23px;display:grid;place-items:center;margin:0;border:1px solid #d7b772;border-radius:50%;background:#1c3a2ee8;color:#fff1bd;box-shadow:0 2px 4px #0b180fcc;font:700 11px Georgia,serif;font-variant-numeric:tabular-nums}.map-slot.occupied .slot-number{position:absolute;right:-5px;bottom:-5px;width:20px;height:20px;font-size:11px}.preparation.dragging .map-slot{box-shadow:0 0 0 1px #efd489b5}.mobile-board-hint{display:none}@media(max-width:800px){.war-map{justify-content:flex-start;align-items:center}.board-stage{width:720px;min-width:720px;margin:0}.map-slot,.map-slot.occupied{width:4.4%;min-width:36px;height:auto;min-height:36px;aspect-ratio:1}.map-slot .slot-model{display:grid}.map-slot .slot-number{width:23px;height:23px;font-size:11px}.mobile-board-hint{display:inline}.map-hint{font-size:11px}}@media(max-width:800px){.war-map{align-items:flex-start}}.catapult-choice{min-width:0;display:flex;flex-direction:column;gap:5px}.catapult-choice .arsenal-item{min-height:89px}.catapult-choice .arsenal-item img{height:52px}.catapult-variant{display:grid;grid-template-columns:1fr 1fr;gap:4px}.catapult-variant button{padding:5px 3px;border-color:#78916f;background:#29463a;color:#f0e5c6;font-size:11px;line-height:1.15}.catapult-variant button.chosen{border-color:#e3c27c;background:#745a32;color:#fff1ca}@media(max-width:800px){.catapult-choice{gap:4px}.catapult-choice .arsenal-item{min-height:61px}.catapult-choice .arsenal-item img{height:32px}.catapult-variant button{font-size:11px;padding:4px 2px}.catapult-choice .arsenal-copy strong{font-size:11px}}@media(max-height:760px)and (min-width:801px){.arsenal{padding:12px 14px}.arsenal-item{min-height:96px}.arsenal-item img{height:52px}.catapult-choice .arsenal-item{min-height:78px}.catapult-choice .arsenal-item img{height:42px}.arsenal>p{margin-bottom:7px}#removeDefense{margin-top:9px;padding:8px 5px}}.battle-hud .crystal-hud{margin:11px 0 8px;padding:9px 0 8px;border-top:1px solid #a6b39180;border-bottom:1px solid #a6b39180}.battle-hud .crystal-hud strong{color:#a9fff0;font-size:12px}.battle-hud .crystal-hud small{grid-column:1/-1;color:#e7e1c4;font-size:11px;line-height:1.3}.battle-hud>div[hidden]{display:none}.crosshair.on-crystal{color:#ffe18e;text-shadow:0 0 7px #fff8d2,0 0 14px #32e0d0}[data-dev-only][hidden]{display:none!important}@font-face{font-family:Vale Cinzel;src:url(/landing/fonts/Cinzel-Latin-Variable.woff2) format("woff2");font-weight:400 900;font-display:swap}@font-face{font-family:Vale Lora;src:url(/landing/fonts/Lora-Latin-Variable.woff2) format("woff2");font-weight:400 700;font-display:swap}body.game-page{font-family:Vale Lora,Georgia,serif;color:#f6eacb;background:#10271f;--gold:#d9b460;--ink:#f6eacb;--panel:#19372d;scrollbar-color:#9d864e #10271f}.game-page ::selection{background:#d9b460;color:#10271f}.game-page :is(button,select,summary,a):focus-visible{outline:3px solid #f6d580;outline-offset:3px}.game-page :is(button,select,summary){font-family:Vale Lora,Georgia,serif;font-size:13px;min-height:44px;border-radius:5px;color:var(--ink);border-color:#8e865f;background:#19372d}.game-page button:hover,.game-page summary:hover{background:#2d5140}.game-page button:disabled{cursor:not-allowed;opacity:.6}.game-page :is(h1,h2,h3,.brand strong){font-family:Vale Cinzel,Georgia,serif;letter-spacing:0;text-wrap:balance}.game-page :is(progress,strong,dd,.defense-stats){font-variant-numeric:tabular-nums}.game-page .hud{padding:18px 24px;flex-direction:row;align-items:start;flex-wrap:nowrap}.game-page .brand strong{font-size:23px;line-height:1.3}.game-page .brand>span:last-child{color:#f6eacb;font-size:12px;letter-spacing:.04em}.game-page #startFlight{background:#19372d;border-color:#d9b460}.game-page .controls{width:auto;gap:8px}.game-page .test-tools>div{background:#19372d;border:0;border-radius:8px;padding:18px;box-shadow:0 12px 36px #07150dcc;max-height:calc(100dvh - 85px);overflow:auto}.game-page .audio-controls label{display:block;min-width:0;width:auto;align-self:stretch;margin:0;font-size:12px;text-transform:none;letter-spacing:0}.game-page .audio-controls input{min-height:32px;min-width:0;width:100%;max-width:100%;margin:0;accent-color:#d9b460}.game-page .audio-controls small{font-size:12px;line-height:1.5;color:#e1d5b5}.game-page .preparation{inset:50% auto auto 50%;width:min(1450px,calc(100vw - 32px));height:min(880px,calc(100dvh - 32px));max-height:none;border:0;border-radius:12px;background:#10271f;box-shadow:0 24px 80px #07150dcc}.game-page .preparation::backdrop,.game-page .pause-menu::backdrop{background:#071b16d9}.game-page .planning-head{padding:22px 26px;gap:22px;background:#19372d;border-bottom:1px solid #887a4e}.game-page .planning-head h2{font-size:clamp(22px,2.2vw,32px);font-weight:600;line-height:1.25;margin:0 0 6px}.game-page .planning-head p{font-size:13px;color:#e1d5b5;line-height:1.5;margin:0}.game-page #closePreparation{font-size:12px;background:transparent;white-space:nowrap}.game-page .planning-body{grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr);min-height:0}.game-page .map-column{padding:16px 18px 12px;background:#10271f;min-height:0}.game-page .war-map{border:0;border-radius:6px;background:#0b2019;box-shadow:none;overflow:auto}.game-page .board-stage{width:max(660px,min(100cqw,177.68cqh));min-width:660px;margin:auto}.game-page .map-hint{margin:10px 0 0;font-size:12px;line-height:1.45;color:#e1d5b5}.game-page .map-slot,.game-page .map-slot.occupied{min-width:44px;min-height:44px;border-radius:50%;background:transparent}.game-page .map-slot:hover,.game-page .map-slot.drop-target{background:#d9b46066}.game-page .map-slot.selected{outline:3px solid #ffe3a0;outline-offset:2px}.game-page .slot-number{font-family:Vale Lora,Georgia,serif;background:#10271ff2;color:#f6eacb}.game-page .arsenal{padding:20px 18px;background:#19372d;border-left:1px solid #887a4e;overflow:auto;min-height:0}.game-page .arsenal h3{font-size:23px;font-weight:600;margin:0 0 6px}.game-page .arsenal>p{font-size:12px;line-height:1.45;color:#e1d5b5;margin:0 0 18px}.game-page .arsenal-items{gap:13px;grid-template-columns:1fr}.game-page .arsenal-item,.game-page .catapult-choice .arsenal-item{display:grid;grid-template-columns:94px minmax(0,1fr);min-height:116px;padding:10px 8px;gap:4px;border:1px solid #6e7953;border-radius:7px;box-shadow:none;background:#102b22}.game-page .arsenal-item img,.game-page .catapult-choice .arsenal-item img{width:98px;height:88px;max-width:100%;object-fit:contain}.game-page .arsenal-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;min-width:0}.game-page .arsenal-copy strong{font:600 15px/1.25 Vale Lora,Georgia,serif;color:#f6eacb}.game-page .arsenal-copy .remaining{display:block;font-size:12px;line-height:1.3;text-align:left;color:#f3d58b}.game-page .defense-stats{display:block;font-size:11px;line-height:1.55;color:#e1d5b5}.game-page .arsenal-item.selected{background:#3a5136;border:2px solid #e6bf6b;padding:9px 7px;box-shadow:inset 0 0 0 2px #10271f}.game-page .arsenal-item:hover{background:#2d4936}.game-page .arsenal-item.exhausted:not(.selected){opacity:.65}.game-page .catapult-choice,.game-page .catapult-variant{gap:6px}.game-page .catapult-variant button{min-height:44px;font-size:12px;background:#102b22}.game-page .catapult-variant button.chosen{color:#10271f;background:#d9b460;border-color:#d9b460}.game-page #removeDefense{font-size:12px;margin-top:16px;background:transparent;min-height:44px}.game-page .planning-foot{padding:15px 24px;min-height:94px;gap:18px;background:#19372d;border-top:1px solid #887a4e}.game-page .planning-foot>div{gap:5px}.game-page .planning-foot strong{font:600 18px/1.3 Vale Lora,Georgia,serif;color:#f6eacb}.game-page .planning-foot span{font-size:12px;line-height:1.4;color:#e1d5b5}.game-page .planning-foot .reserve-note{font-size:11px!important;color:#d0c8a6!important}.game-page #confirmFormation{min-height:48px;max-width:none;padding:12px 24px;background:#d9b460;border-color:#d9b460;font-size:14px;color:#10271f}.game-page #confirmFormation:hover{background:#ebcb85}.game-page #confirmFormation:disabled{background:#566346;border-color:#566346;color:#f6eacb;opacity:1}.game-page .battle-hud{top:94px;left:24px;width:284px;padding:16px;background:#10271fec;border:0;border-radius:8px;box-shadow:0 8px 24px #06171055;pointer-events:none}.game-page .battle-hud>div{font-size:12px;gap:5px 10px;margin-bottom:13px}.game-page .battle-hud strong{font-size:12px}.game-page .battle-hud>div:first-child{font-size:16px}.game-page .battle-hud>div:first-child strong{font-size:16px;color:#f3d58b}.game-page .battle-hud progress{height:7px;border:0;border-radius:3px;overflow:hidden;background:#435644;accent-color:#d9b460}.game-page .battle-hud>div:first-child progress{height:11px}.game-page progress::-webkit-progress-bar{background:#435644}.game-page progress::-webkit-progress-value{background:#d9b460}.game-page progress::-moz-progress-bar{background:#d9b460}.game-page #energy::-webkit-progress-value,.game-page #crystalHits::-webkit-progress-value{background:#8bd4c2}.game-page .battle-hud .crystal-hud{margin:4px 0 0;padding:12px 0 0;border-top:1px solid #738268;border-bottom:0}.game-page .battle-hud .crystal-hud strong{color:#acf0d8;font-size:12px}.game-page .battle-hud small{font-size:11px;line-height:1.4;color:#e1d5b5}.game-page #energyState{grid-column:1/-1}.game-page .guide,.game-page .status{border:0;border-radius:5px;background:#10271fe8;color:#f6eacb;font-weight:400;letter-spacing:0}.game-page .guide{font-size:12px;bottom:18px}.game-page .status{font-size:12px;bottom:66px}.game-page .result{padding:16px;z-index:20;background:#071b16d9;overflow:auto}.game-page .result>div,.game-page .pause-menu{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:12px;padding:32px;background:#19372d;color:#f6eacb;box-shadow:0 20px 65px #07150dcc;text-align:center}.game-page .result h2,.game-page .pause-menu h2{font:600 30px/1.25 Vale Cinzel,Georgia,serif;margin:0 0 12px}.game-page .result p,.game-page .pause-menu p{font-size:14px;line-height:1.6;color:#e1d5b5}.game-page .menu-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}.game-page .menu-actions button{margin:0;min-height:48px}.game-page .menu-actions button:first-child{background:#d9b460;color:#10271f;border-color:#d9b460}.game-page .menu-actions button:first-child:hover{background:#ebcb85;color:#10271f;border-color:#ebcb85}.game-page .menu-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;color:#f3d58b;text-underline-offset:4px;font-size:13px}.game-page #resultStats{display:grid;gap:0;margin:22px 0;text-align:left}.game-page #resultStats>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #506444;font-size:13px}.game-page #resultStats dd{margin:0;color:#f3d58b;font-weight:600}@media(max-width:700px){.game-page .hud{padding:12px;gap:8px}.game-page .brand strong{font-size:16px}.game-page .brand>span:last-child{display:none}.game-page .controls{gap:6px}.game-page .controls button,.game-page .controls summary{padding:9px;font-size:12px}.game-page .preparation{width:calc(100vw - 12px);height:calc(100dvh - 12px)}.game-page .planning-head{padding:12px;gap:10px;align-items:start}.game-page .planning-head h2{font-size:19px;line-height:1.2;margin-bottom:5px}.game-page .planning-head p{font-size:11px;line-height:1.35}.game-page #closePreparation{max-width:82px;white-space:normal;font-size:11px;padding:6px}.game-page .planning-body{grid-template-columns:1fr;grid-template-rows:minmax(150px,1fr) auto;overflow:auto}.game-page .map-column{padding:7px;min-height:170px}.game-page .war-map{align-items:flex-start;justify-content:flex-start}.game-page .board-stage{width:660px;min-width:660px;margin:0}.game-page .map-hint{font-size:11px;margin:5px 0 0;line-height:1.3}.game-page .mobile-board-hint{display:inline}.game-page .arsenal{padding:10px;border-left:0;border-top:1px solid #887a4e;overflow:visible}.game-page .arsenal h3{font-size:17px;margin:0 0 8px}.game-page .arsenal>p{display:none}.game-page .arsenal-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.game-page .arsenal-item,.game-page .catapult-choice .arsenal-item{display:flex;flex-direction:column;justify-content:start;gap:4px;min-height:157px;padding:5px 4px}.game-page .arsenal-item.selected{padding:4px 3px}.game-page .arsenal-item img,.game-page .catapult-choice .arsenal-item img{width:96px;height:63px}.game-page .arsenal-copy{align-items:center;gap:4px;text-align:center}.game-page .arsenal-copy strong{font-size:11px;line-height:1.2;min-height:27px}.game-page .arsenal-copy .remaining{font-size:11px;text-align:center;line-height:1.25}.game-page .defense-stats{font-size:11px;line-height:1.4}.game-page .catapult-variant{gap:3px}.game-page .catapult-variant button{font-size:11px;padding:4px 1px}.game-page #removeDefense{margin-top:8px}.game-page .planning-foot{padding:10px 12px;gap:8px;min-height:0;flex-wrap:wrap}.game-page .planning-foot>div{width:100%;gap:3px}.game-page .planning-foot strong{font-size:14px}.game-page .planning-foot span{font-size:11px}.game-page .planning-foot .reserve-note{display:none}.game-page #confirmFormation{width:100%;font-size:13px;min-height:44px;padding:9px}.game-page .battle-hud{top:68px;left:12px;width:calc(100vw - 24px);padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.game-page .battle-hud>div{margin:0;font-size:11px}.game-page .battle-hud>div:first-child{grid-column:1/-1;font-size:14px}.game-page .battle-hud>div:first-child strong{font-size:14px}.game-page .battle-hud .crystal-hud{grid-column:1/-1;padding-top:8px;margin:0;gap:3px 8px}.game-page .battle-hud .crystal-hud small,.game-page .battle-hud strong{font-size:11px}.game-page .battle-hud[hidden]{display:none}.game-page .result>div,.game-page .pause-menu{padding:22px}.game-page .result h2,.game-page .pause-menu h2{font-size:25px}}@media(orientation:landscape)and (max-height:540px){.game-page .preparation{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.game-page .planning-head{padding:9px 14px;align-items:center}.game-page .planning-head h2{font-size:20px;margin:0}.game-page .planning-head p{font-size:11px}.game-page #closePreparation{max-width:none;white-space:nowrap}.game-page .planning-body{grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:minmax(0,1fr);overflow:hidden}.game-page .map-column{min-height:0;padding:7px}.game-page .map-hint{display:none}.game-page .board-stage{width:660px;min-width:660px;margin:0}.game-page .arsenal{padding:10px;overflow:auto;border-left:1px solid #887a4e;border-top:0}.game-page .arsenal h3,.game-page .arsenal>p{display:none}.game-page .arsenal-items{grid-template-columns:1fr;gap:8px}.game-page .arsenal-item,.game-page .catapult-choice .arsenal-item{display:grid;grid-template-columns:78px 1fr;min-height:100px;padding:6px}.game-page .arsenal-item img,.game-page .catapult-choice .arsenal-item img{width:78px;height:74px}.game-page .arsenal-copy{align-items:start;text-align:left;gap:4px}.game-page .arsenal-copy strong{font-size:12px;min-height:0}.game-page .arsenal-copy .remaining{font-size:11px;text-align:left}.game-page .defense-stats{font-size:11px}.game-page .planning-foot{min-height:66px;padding:8px 14px;flex-wrap:nowrap}.game-page .planning-foot>div{width:auto}.game-page .planning-foot strong{font-size:14px}.game-page .planning-foot span{font-size:11px}.game-page .reserve-note{display:none}.game-page #confirmFormation{width:auto;padding:10px 18px;font-size:13px;min-height:44px}.game-page .hud{padding:10px 14px}.game-page .brand strong{font-size:18px}.game-page .brand>span:last-child{display:none}.game-page .battle-hud{top:65px;left:14px;width:260px;padding:9px;display:grid;grid-template-columns:1fr 1fr;gap:7px 10px}.game-page .battle-hud>div{margin:0;font-size:11px;gap:3px}.game-page .battle-hud>div:first-child{grid-column:1/-1;font-size:13px}.game-page .battle-hud>div:first-child strong{font-size:13px}.game-page .battle-hud strong{font-size:11px}.game-page .battle-hud .crystal-hud{grid-column:1/-1;margin:0;padding:6px 0 0}.game-page .battle-hud small{font-size:11px}.game-page .battle-hud[hidden]{display:none}}@media(min-width:1000px)and (min-height:650px){.game-page .arsenal{padding:12px}.game-page .arsenal h3{font-size:20px;margin:0 0 10px;line-height:1.3}.game-page .arsenal>p{display:none}.game-page .arsenal-items{gap:10px}.game-page .arsenal-item,.game-page .catapult-choice .arsenal-item{grid-template-columns:80px minmax(0,1fr);min-height:94px;padding:6px 8px}.game-page .arsenal-item.selected{padding:5px 7px}.game-page .arsenal-item img,.game-page .catapult-choice .arsenal-item img{width:80px;height:80px}.game-page .arsenal-copy{gap:5px}.game-page .catapult-choice{gap:6px}.game-page #removeDefense{margin-top:10px;min-height:44px}}@media(orientation:landscape)and (max-height:540px){body.game-page .battle-hud>div:nth-child(2),body.game-page .battle-hud>#energyHudRow{grid-template-columns:minmax(0,1fr)}body.game-page .battle-hud>div:nth-child(2)>strong,body.game-page .battle-hud>#energyHudRow>strong{white-space:nowrap}}
