@font-face{font-family:Nunito;src:url(/assets/nunito-r8SDr6Up.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Nunito;src:url(/assets/nunito-bold-Dz8SOQK_.woff2)format("woff2");font-weight:700 900;font-display:swap}@font-face{font-family:LTD Kana;src:url(/assets/noto-ltd-45JIYnjR.woff2)format("woff2");font-weight:700}:root{--night:#0c203e;--navy:#142f56;--rail:#0f294e;--blue:#2d66ad;--border:#3d6fa4;--white:#f5fbff;--muted:#bddef8;--yellow:#ffda4b;--lime:#94f375;--deep:#0a1b31;--page:#153d66;--corner:16px;color:var(--white);background:var(--page);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:16px/1.4 Nunito,ui-rounded,system-ui,sans-serif}*{box-sizing:border-box}[lang=ja]{font-family:LTD Kana,Hiragino Sans,Yu Gothic,sans-serif;font-weight:700}[hidden]{display:none!important}body{background:linear-gradient(140deg, #216baa50, transparent 55%), repeating-linear-gradient(135deg, transparent 0 26px, #0e2a4819 26px 52px), var(--page);min-height:100dvh;margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer;background:linear-gradient(#386fa9,#285288);border:1px solid #6093cc;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 12px;font-weight:800;display:inline-flex;box-shadow:0 3px #082649}button:hover:not(:disabled){filter:brightness(1.14)}button:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #082649}button:focus-visible,select:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}button:disabled{opacity:.56;cursor:default}button[aria-pressed=true]{border-color:var(--yellow)}h1,h1,h2,h3,p,ol,ul,dl,dd{margin:0}h2,h3{font-weight:900;line-height:1.15}h2{font-size:23px}h3{font-size:17px}.icon{vertical-align:middle;flex-shrink:0;width:21px;height:21px}.icon-button{flex:none;width:45px;padding:7px}.wide{width:100%}.quiet{background:#163963;border-color:#4875a8}.primary{color:#103219;background:linear-gradient(#9df279,#58c144);border-color:#b5fd94;box-shadow:0 3px #235b28}.primary:active:not(:disabled){box-shadow:0 1px #235b28}.danger{background:#9d3d50;border-color:#ff9bad}.topbar{background:#0b2447;border-bottom:2px solid #4f87bc;box-shadow:0 4px 18px #031b38a0}.topbar-inner,.game-shell{max-width:1496px;margin-inline:auto;padding-inline:clamp(12px,2vw,28px)}.topbar-inner{align-items:center;gap:clamp(10px,1.8vw,25px);min-height:67px;display:flex}.wordmark{align-items:center;gap:7px;line-height:.93;display:flex}.wordmark h1{letter-spacing:-.035em;text-shadow:0 2px #060f25;font-size:clamp(19px,2vw,28px);font-weight:900}.brandmark{flex:none;width:47px;height:47px}.edition{color:#c7e5ff;border-left:1px solid #4b78a6;padding-left:17px;font-size:14px;font-weight:800}.edition [lang=ja]{color:var(--yellow);margin-right:3px;display:inline-block}.global-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.game-shell{padding-block:22px}.arena{grid-template-columns:minmax(0,1fr) clamp(258px,23vw,333px);align-items:start;gap:14px;display:grid}.battle,.arsenal{background:var(--navy);border:2px solid var(--border);border-radius:var(--corner);min-width:0;box-shadow:0 6px #0a2442,0 12px 22px #091c3b7f}.hud,.hud-stats,.time-controls,.metric{align-items:center;display:flex}.hud{background:linear-gradient(#285b96,#19447b);border-radius:14px 14px 0 0;justify-content:space-between;gap:12px;min-height:62px;padding:5px 12px}.hud-stats{gap:clamp(12px,3.1vw,54px)}.metric{font-variant-numeric:tabular-nums;gap:6px;min-width:0}.metric>.icon{color:#92e5ff;width:23px;height:23px}.metric>.icon-heart{color:#ff767e}.metric>.icon-wave{color:var(--yellow)}.metric>div{gap:3px;line-height:1.02;display:grid}.metric span{color:#d0e9ff;font-size:12px;font-weight:700}.metric strong{white-space:nowrap;font-size:19px}.time-controls{flex-shrink:0;gap:6px}.time-controls button{background:#102f5b}.time-controls .speed{min-width:65px}.field-frame{background:#6cc847;border-block:2px solid #0a234a;position:relative;overflow:hidden}#battlefield{aspect-ratio:16/9;width:100%;position:relative}#battlefield canvas{touch-action:none;display:block}#notice{color:#fff;text-align:center;pointer-events:none;background:#102d52;border:1px solid #9bd3fa;border-radius:10px;max-width:90%;padding:7px 12px;font-size:14px;font-weight:800;position:absolute;bottom:9px;left:50%;transform:translate(-50%);box-shadow:0 2px #031a33}#notice:empty{display:none}#board-overlay{background:#081c43b0;place-items:center;display:grid;position:absolute;inset:0}#board-overlay.paused{pointer-events:none;background:0 0;place-items:start end;padding:9px}#board-overlay.paused button{pointer-events:auto}.outcome{background:var(--navy);border-radius:var(--corner);border:2px solid #73a6e2;justify-items:center;gap:9px;padding:26px;display:grid}.wave-dock{justify-content:space-between;align-items:center;gap:14px;min-height:95px;padding:11px 12px;display:flex}.wave-context{align-items:center;gap:8px;margin-bottom:3px;display:flex}#wave-caption,#phase{color:#b8dbfa;font-size:12px;font-weight:800}#phase:not(:empty){color:#fff8c1;background:#35688e;border-radius:6px;padding:1px 6px}.wave-dock h2{font-size:21px}#wave-detail{color:var(--muted);margin-top:3px;font-size:14px}.start{color:#231c10;text-shadow:0 1px #ffe177;background:linear-gradient(#ffed76,#ffb326);border-color:#ffed9f;flex:none;min-height:52px;padding-inline:18px;font-size:18px;box-shadow:0 4px #a35914}.start:active:not(:disabled){box-shadow:0 2px #a35914}#wave-coverage{flex-wrap:wrap;align-items:center;gap:4px;margin-top:4px;display:flex}.mark{border-radius:7px;align-items:center;gap:4px;padding:2px 5px;font-size:14px;font-weight:800;display:inline-flex}.mark .icon{width:15px;height:15px}.mark small{font-size:12px}.covered{color:#bafa97}.missing{color:#ffdd86}.mark.covered{background:#254b43}.mark.missing{background:#564728}.wave-info{min-width:48px;min-height:37px;padding:4px 8px;font-size:13px}.arsenal{background:linear-gradient(160deg, #214b81, var(--rail) 45%);padding:12px}.panel-heading{justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px;display:flex}.panel-heading h2{font-size:21px}.instructions{color:var(--muted);margin-bottom:9px;font-size:14px}.shop{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.shop-tile{color:#fff;background:linear-gradient(#506fc9,#335cb2);border:1px solid #72b0ed;align-content:center;gap:0;min-height:81px;padding:5px 1px;font-size:12px;line-height:1.04;display:grid;box-shadow:inset 0 1px #8fbffa,0 3px #0e2c62}.shop-tile strong{text-shadow:0 2px #203b82;font-size:26px;line-height:1.15}.shop-tile>span{margin-top:2px}.shop-tile.unaffordable{background:#394969;border-color:#7b91b8}.shop-tile[aria-pressed=true]{color:#15243f;background:linear-gradient(#ffea6e,#ffd13f);border-color:#fff2ae;box-shadow:inset 0 1px #fffad3,0 3px #bb7719}.shop-tile[aria-pressed=true] strong{text-shadow:none}.coins{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:2px;font-weight:800;display:inline-flex}.coins .icon{width:15px;height:15px}.arsenal .wide{margin-top:10px}.pick-note,.order-feedback{color:#deefff;margin-top:9px;font-size:14px}.specimen,.machine-preview{background:color-mix(in srgb, var(--accent) 26%, #0d315a);border:1px solid color-mix(in srgb, var(--accent) 63%, #6598d0);color:#fff;border-radius:12px;padding:10px}.specimen{align-items:center;gap:10px;margin-bottom:9px;display:flex}.specimen strong,.machine-summary strong{font-size:22px}.specimen small,.machine-summary small{color:#d9eeff;font-size:15px}.stats{text-align:center;border-block:1px solid #3a6b9b;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;padding:5px 0;display:grid}.stats dt{color:var(--muted);font-size:12px}.stats dd{font-weight:900}.target{align-items:center;gap:6px;margin-block:9px;display:flex}.target select{border:1px solid var(--border);background:#133967;border-radius:9px;min-height:44px;margin-left:auto;padding:5px}.subheading{margin:12px 0 7px}.upgrade-list{gap:7px;display:grid}.upgrade{text-align:left;justify-content:space-between}.upgrade small{color:var(--muted);font-weight:400;display:block}.sell{background:#163963;justify-content:space-between;width:100%;margin-top:10px}.construction-order{background:#0a2445;border:1px dashed #72a0d3;border-radius:12px;flex-wrap:wrap;gap:6px;min-height:62px;padding:8px;list-style:none;display:flex}.construction-order button{min-width:51px;padding:3px 6px}.construction-order button b{color:#151d31;background:var(--yellow);border-radius:4px;padding:0 5px;font-size:12px}.order-empty{color:var(--muted);align-self:center;font-size:14px}.small{margin-top:7px;font-size:13px}.meaning-choices{grid-template-columns:1fr 1fr;gap:7px;margin-top:8px;display:grid}.choice{flex-wrap:wrap;gap:2px 6px;font-size:14px}.choice[aria-pressed=true]{background:#5b5025}.machine-preview{margin-top:10px}.machine-summary{flex-wrap:wrap;align-items:center;gap:5px 8px;display:flex}.machine-preview p{color:#e2f1fd;margin-top:4px;font-size:14px}.machine-detail{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;font-size:13px;display:flex}.commit-note,.warning{margin-top:9px;font-size:13px}.commit-note{color:var(--muted)}.warning{color:#ffe180;font-weight:800}.field-dialog{color:var(--white);background:var(--navy);border-radius:var(--corner);width:min(520px,100vw - 28px);max-height:calc(100dvh - 30px);box-shadow:0 6px 0 var(--deep), 0 16px 30px #030f2c91;border:2px solid #78aae1;padding:18px}.field-dialog::backdrop{background:#061a38b5}.field-dialog>.icon-button:first-child{float:right;margin-left:8px}.field-dialog h2{margin:8px 0 14px;padding-right:48px}.field-dialog p{color:#e3f1ff;margin-bottom:12px}.confirm{flex-wrap:wrap;justify-content:end;gap:8px;display:flex}.setting{justify-content:space-between;width:100%;margin-bottom:9px}.setting b{color:#ffe68d}.recipe-guide,.wave-table{gap:6px;margin-block:8px 14px;padding:0;list-style:none;display:grid}.recipe-guide li,.wave-table li{background:#0c274b;border-radius:8px;padding:7px 9px}.recipe-guide li{flex-wrap:wrap;justify-content:space-between;gap:6px 12px;display:flex}.wave-table li{grid-template-columns:16px 1fr 2.5ch 13ch;align-items:start;gap:7px;font-size:14px;display:grid}.wave-table li i{background:var(--orb);border:1px solid #fff;border-radius:100%;width:15px;height:15px;margin-top:3px}.wave-table small{color:var(--muted);font-size:12px;display:block}@media (width<=1000px){.arena{grid-template-columns:minmax(0,1fr) 244px;gap:10px}.arsenal{padding:9px}.hud-stats{gap:13px}.metric>.icon{width:18px;height:18px}.metric strong{font-size:16px}.shop{gap:5px}.shop-tile strong{font-size:24px}}@media (width<=730px) and (orientation:portrait){.arena{grid-template-columns:1fr;gap:11px}.game-shell{padding-top:12px}.shop{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=550px){.topbar-inner{min-height:55px}.brandmark{width:38px;height:38px}.edition{display:none}.global-actions .quiet{padding-inline:7px}.hud{gap:5px;padding-inline:6px}.hud-stats{gap:7px}.metric{gap:2px}.metric>.icon{width:15px;height:15px}.time-controls{gap:3px}.time-controls .speed{min-width:44px;padding-inline:4px}.time-controls .speed .icon{display:none}.wave-dock{gap:6px;padding-inline:8px}.start{min-height:44px;padding-inline:8px;font-size:15px}.start .icon{width:16px}}@media (width<=360px){.game-shell,.topbar-inner{padding-inline:6px}.metric span{font-size:11px}.metric strong{font-size:14px}.metric>.icon{width:13px;height:13px}.hud-stats{gap:5px}.wave-table li{grid-template-columns:14px 1fr 2.5ch 8ch}}@media (orientation:landscape) and (height<=580px){.topbar-inner{min-height:46px}.brandmark{width:34px;height:34px}.wordmark h1{font-size:17px}.game-shell{max-width:min(100vw,177.8dvh - 79.268px);padding-block:8px}.arena{grid-template-columns:minmax(0,1fr) 231px}.hud{min-height:49px;padding-block:2px}.hud-stats,.metric{gap:5px}.metric span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.time-controls .speed{min-width:44px;padding-inline:5px}.time-controls .speed .icon{display:none}.metric>.icon{width:17px;height:17px}.arsenal{overscroll-behavior:contain;max-height:calc(100dvh - 65px);overflow:auto}.shop-tile{min-height:57px}.shop-tile strong{font-size:21px}.wave-dock{min-height:65px;padding:5px 8px}.wave-dock h2{font-size:17px}#wave-detail{font-size:12px}.start{min-height:44px;padding-inline:7px;font-size:15px}}@media (prefers-reduced-motion:reduce){button:active:not(:disabled){transform:none}}.lookahead{border:1px solid #4679a9;border-radius:9px;margin-bottom:12px;padding:0 9px}.lookahead summary{cursor:pointer;min-height:44px;padding-block:10px;font-weight:800}.tower-model{object-fit:contain;background:#0a214770;border-radius:8px;flex:none}.machine-summary b{display:block}.site-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;column-gap:16px;max-width:1496px;margin-inline:auto;padding-inline:clamp(12px,2vw,28px);display:flex}.studio-link{gap:8px}.site-link,.about-page a{color:var(--muted);text-underline-offset:3px}.site-link{align-items:center;min-height:44px;font-weight:800;display:inline-flex}.site-link:hover,.about-page a:hover{color:var(--white)}.about-page{width:min(100% - 32px,640px);margin-inline:auto;padding-block:clamp(28px,5vw,64px);line-height:1.55}.about-page h1{margin-block:0 16px;font-size:clamp(32px,5vw,48px);line-height:1.15}.about-page section{border-top:1px solid var(--border);margin-block-start:28px;padding-block-start:20px}.about-page h2{margin-block:0 8px;font-size:21px}.about-page p,.about-page ul{margin-block:0}.about-page p+p{margin-block-start:12px}
