:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-viewport-height:100dvh;--panel:#0a1512d1;--panel-strong:#070f0cf0;--line:#8cffc02e;--muted:#9cc7b2;--text:#effff7;font-family:Avenir Next,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;color:var(--text);overscroll-behavior:none;background:radial-gradient(circle at top,#1c342c1f,#0000 28%),linear-gradient(#0c1915 0%,#050807 100%);margin:0}body{caret-color:#0000;-webkit-text-size-adjust:100%;padding:12px}button{font:inherit;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}input,textarea,[contenteditable=true]{caret-color:auto}.shell{gap:10px;width:min(1000px,100%);margin:0 auto;display:grid}.orientation-blocker{display:none}.topbar{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.title-block{flex:none;align-items:baseline;min-width:0;display:flex}.title-block h1{letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;flex:none;margin:0;font-size:clamp(.98rem,1.35vw,1.55rem)}.actions{flex-wrap:nowrap;flex:none;gap:6px;display:flex}.chrome-button,.tower-button,.modal-button,.action-button{color:var(--text);cursor:pointer;background:linear-gradient(#08110efa,#182b26f5 48%,#08110efa);border:1px solid #ffffff1f;border-radius:10px;padding:8px 13px;transition:border-color .12s,box-shadow .12s,background .12s}.chrome-button:hover,.tower-button:hover,.modal-button:hover,.action-button:hover{border-color:#ffffff47;box-shadow:0 8px 24px #00000040}.chrome-button:disabled,.tower-button:disabled,.action-button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none;transform:none}.hud{flex-wrap:nowrap;flex:auto;justify-content:center;align-items:baseline;gap:10px;min-width:0;display:flex;overflow:hidden}.stat-card{white-space:nowrap;align-items:baseline;gap:5px;min-width:0;display:flex}.control-card{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:10px;height:100%;padding:10px 12px}.stat-card span{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;flex:none;font-size:.76rem}.stat-card span:after{content:":"}.stat-card strong{text-overflow:clip;white-space:nowrap;flex:none;min-width:0;font-size:clamp(.9rem,1vw,1.08rem);overflow:visible}.chrome-button{padding:7px 10px}.sound-button,.campaign-button{place-items:center;width:40px;min-width:40px;padding-inline:0;display:inline-grid}.pause-button{text-align:center;width:40px;min-width:40px;padding-inline:0}.sound-icon{font-size:1.05rem;line-height:1;display:block}.board-card{background:var(--panel-strong);border:1px solid var(--line);border-radius:12px;padding:0;position:relative;box-shadow:0 16px 40px #00000042}.board-frame{background:#07110d;border-radius:10px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.board-stage{width:100%;max-width:100%;aspect-ratio:var(--field-aspect-ratio);position:relative}.board-canvas{width:100%;max-width:100%;height:100%;aspect-ratio:inherit;display:block}.board-background,.board-game{position:absolute;inset:0}.board-background{pointer-events:none}.board-game{cursor:crosshair;touch-action:none}.board-banner{letter-spacing:1.5px;text-transform:uppercase;color:#b0ffe1f5;white-space:nowrap;pointer-events:none;background:#08100ddb;border:1px solid #ffffff29;border-radius:8px;align-items:center;gap:10px;margin:0;padding:7px 12px;font:400 13px/1 Avenir Next,Segoe UI,sans-serif;display:inline-flex;position:absolute;top:10px;left:50%;transform:translate(-50%)}.board-banner.skippable{cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background .12s,border-color .12s,transform 80ms}.board-banner.skippable:hover,.board-banner.skippable:focus-visible{background:#213932db;border-color:#ffffff57;outline:none}.board-banner.skippable:active{transform:translate(-50%,1px)}.board-banner-action{color:#b0ffe1b3;border-left:1px solid #ffffff2e;padding-left:8px}@media (width>=720px){.board-banner{padding:8px 16px;font-size:14px}}.modal{z-index:2;background:#030706b8;justify-content:center;align-items:flex-start;padding:0;display:flex;position:absolute;inset:0;overflow:auto}.modal.centered{justify-content:center;align-items:center;padding:18px}.modal-panel{background:radial-gradient(circle at top,#57af8c24,#0000 38%),#070f0cf5;width:100%;min-height:100%;padding:clamp(12px,2vw,20px);overflow:visible}.modal-panel.level-map-panel{background:#070f0cf5;border:0;border-radius:0}.modal-panel.centered{text-align:center;border:1px solid #ffffff14;border-radius:16px;width:min(720px,100%);min-height:0;padding:clamp(22px,4vw,34px);box-shadow:0 20px 48px #00000057}.modal-panel h2{letter-spacing:.04em;margin:0;font-size:1.8rem}.modal-panel p{color:var(--muted)}.campaign-actions{margin-top:14px}.modal-panel.centered .selection-actions{justify-content:center}.level-map-header{justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:12px;display:flex}.level-map-header h2{text-align:right;margin:0}.level-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:0;display:grid}.level-card{text-align:left;cursor:pointer;color:inherit;background:#0b1612eb;border:0;border-radius:0;align-content:start;gap:6px;padding:11px;transition:transform .12s,border-color .12s,box-shadow .12s,background .12s,opacity .12s;display:grid;position:relative}.level-card-heading{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.level-card:hover:not(:disabled){box-shadow:0 12px 28px #00000042}.level-card strong{margin-bottom:4px;display:block}.level-card-heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shortcut-chip{color:var(--muted);letter-spacing:0;vertical-align:middle;margin-left:0;padding:0;font-size:.8rem;display:inline-block}.level-card span,.tower-button span,.selection-copy span{color:var(--muted);font-size:.88rem}.level-card small{color:#defff0b8;letter-spacing:.03em;font-size:.75rem}.level-card.locked{cursor:not-allowed;color:#cddcd59e;background:#050a08f5}.level-card.cleared{box-shadow:inset 0 0 0 1px #6df0c214}.level-card.current{background:#101812f5}.level-pill{color:#dfffee;letter-spacing:.08em;text-transform:uppercase;border:1px solid #ffffff24;border-radius:999px;flex:none;justify-content:center;align-items:center;min-height:22px;padding:0 8px;font-size:.68rem;line-height:1;display:inline-flex}.level-card.locked .level-pill{color:#cddcd5b3;background:#050a08eb;border-color:#ffffff1f}.level-card.locked span,.level-card.locked small{color:#9cc7b294}.controls-grid{--controls-row-height:68px;grid-template-columns:1.48fr 1.12fr;grid-template-rows:var(--controls-row-height);align-items:stretch;gap:10px;display:grid}.tower-strip-card{height:var(--controls-row-height)}.tower-strip{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:10px;height:100%;display:grid}.tower-button{height:var(--controls-row-height);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px;align-content:center;justify-items:center;gap:1px;min-height:0;padding:3px 5px 2px;display:grid;position:relative;overflow:hidden}.tower-icon{justify-self:center;width:60px;height:60px;margin-top:2px;display:block}.tower-button.active{background:linear-gradient(#161207fa,#3a3413fa 48%,#161207fa);border-color:#ffe36fb8;box-shadow:0 0 0 1px #ffe36f33}.tower-button.unaffordable{background:linear-gradient(#050a08f5,#121b18eb 48%,#050a08f5);border-color:#ff877c57}.tower-button.unaffordable .tower-icon{opacity:.48;filter:grayscale(.75)}.tower-button.unaffordable .tower-button-meta span{color:#ffb0a8}.tower-button.unaffordable.active{border-color:#ffe36f94}.action-button.unaffordable{background:linear-gradient(#050a08f5,#121b18eb 48%,#050a08f5);border-color:#ff877c57}.action-button.unaffordable:disabled{opacity:1}.action-button.unaffordable>span[aria-hidden=true]{opacity:.48;filter:grayscale(.75)}.action-button.unaffordable .mobile-action-value{color:#ffb0a8}.tower-button-meta{pointer-events:none;justify-content:space-between;align-items:start;gap:8px;display:flex;position:absolute;top:4px;left:5px;right:5px}.tower-button-meta span{color:var(--muted);font-size:.8rem}.selection-card{height:var(--controls-row-height);gap:10px;min-height:0;display:grid;overflow:hidden}.selection-header{justify-content:space-between;align-items:center;gap:10px;min-height:0;display:flex}.selection-copy strong{text-overflow:ellipsis;white-space:nowrap;margin-bottom:2px;font-size:1rem;display:block;overflow:hidden}.selection-copy{flex:auto;gap:1px;min-width:0;display:grid}.selection-copy span{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2;display:-webkit-box;overflow:hidden}.selection-sell-button{flex:none}.selection-actions{flex-wrap:wrap;gap:8px;display:flex}.mobile-selection-actions{align-items:stretch;gap:6px;display:flex}.mobile-selection-actions .action-button{flex:1 1 0;min-width:0}.mobile-action-label{display:none}.mobile-shell .topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"hud actions";gap:6px;display:grid}.mobile-shell .hud{grid-area:hud;justify-content:flex-start;gap:5px 0}.mobile-shell .stat-card+.stat-card:before{content:"|";color:var(--muted);margin-inline:8px;font-weight:500}.mobile-shell .wave-stat{display:flex}.mobile-shell .actions{grid-area:actions}.mobile-shell .chrome-button{border-radius:8px;min-height:36px;padding:6px 9px;font-size:.82rem}.mobile-shell .sound-button,.mobile-shell .campaign-button,.mobile-shell .pause-button{width:36px;min-width:36px}@media (width<=680px){.topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions""hud hud";align-items:center;gap:6px 10px;display:grid}.title-block{grid-area:title;min-width:0}.actions{grid-area:actions;justify-self:end}.hud{flex-wrap:wrap;flex:none;grid-area:hud;justify-content:flex-start;width:100%;overflow:visible}}.action-button{padding-inline:12px}.action-button>span[aria-hidden=true]{font-size:1.15rem;line-height:1;display:inline-block}.action-placeholder{visibility:hidden;pointer-events:none}.footnote{color:var(--muted);margin:0;font-size:.83rem}.footnote-link{color:#b3ffe0;font:inherit;text-underline-offset:.14em;cursor:pointer;background:0 0;border:0;margin-left:10px;padding:0;text-decoration:underline}.footnote-link:hover{color:#e5fff3}.nerd-panel{background:0 0;border:1px solid #6df0c224;border-radius:10px;padding:10px 12px 12px}.nerd-grid{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;display:flex}.nerd-stat{flex:none;justify-content:center;align-items:baseline;gap:6px;min-width:0;display:flex}.nerd-stat span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;flex:none;font-size:.68rem}.nerd-stat strong{white-space:nowrap;font-size:.95rem;font-weight:500}@media (width<=1120px){.nerd-grid{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}}@media (width<=680px){body{padding:10px}.controls-grid{grid-template-rows:auto;grid-template-columns:1fr}.tower-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.tower-strip-card,.tower-button,.selection-card{height:72px;min-height:72px}.topbar{flex-direction:column;align-items:start}.title-block{align-items:start}.hud{flex-wrap:wrap;justify-content:flex-start;gap:8px 12px;width:100%}.wave-stat{display:none}.mobile-shell .wave-stat{display:flex}.actions{flex-wrap:wrap}#game{width:100%}}@media (width<=520px),(width<=920px) and (height<=520px),(hover:none) and (pointer:coarse) and (width<=920px),(hover:none) and (pointer:coarse) and (height<=520px){html,body,#app{width:100%;min-height:100%;overflow:hidden}body{padding:max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));background:#050807}.shell{width:100%;height:calc(var(--app-viewport-height) - max(6px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));max-height:calc(var(--app-viewport-height) - max(6px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));align-content:start;gap:6px;margin:0;overflow:hidden}.topbar{flex:none;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions""hud hud";align-items:center;gap:5px 8px;display:grid}.title-block{grid-area:title;min-width:0}.title-block h1{letter-spacing:.04em;text-overflow:ellipsis;max-width:100%;font-size:.88rem;overflow:hidden}.actions{flex-wrap:nowrap;grid-area:actions;justify-self:end;gap:5px}.chrome-button,.action-button{border-radius:8px;min-height:40px;padding:3px 0 7px;font-size:.9rem}.hud{order:initial;flex:none;grid-area:hud;justify-content:flex-start;gap:5px 10px;width:100%;overflow:hidden}.stat-card{gap:3px;min-width:0}.stat-card span{letter-spacing:.04em;font-size:.64rem}.wave-stat{display:none}.mobile-shell .wave-stat{display:flex}.stat-card strong{text-overflow:ellipsis;min-width:0;max-width:34vw;font-size:.9rem;overflow:hidden}.board-card{min-height:0;box-shadow:none;border-radius:10px}.board-frame{border-radius:9px;height:100%}.board-stage{width:100%;max-width:100%}.modal{z-index:10;padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));position:fixed;inset:0;overflow:auto}.modal.centered{padding:max(14px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));justify-content:center;align-items:center}.modal-panel,.modal-panel.centered{width:100%;min-height:min-content;max-height:none;box-shadow:none;text-align:left;border:1px solid #ffffff14;border-radius:12px;padding:16px;overflow:visible}.modal-panel.centered{width:min(370px,100%);max-height:calc(100dvh - max(14px, env(safe-area-inset-top)) - max(14px, env(safe-area-inset-bottom)));text-align:center;padding:20px;overflow:auto}.modal-panel.level-map-panel{border:0;border-radius:0}.modal-panel h2{font-size:1.45rem}.modal-panel.centered h2{font-size:1.55rem}.modal-panel.centered p{margin:12px 0 16px;line-height:1.35}.modal-panel.centered .selection-actions{grid-template-columns:1fr;gap:8px;display:grid}.modal-panel.centered .modal-button{width:100%;min-height:44px}.level-map-header{gap:4px;margin-bottom:14px;padding:2px 2px 6px}.level-map-header h2{letter-spacing:.02em;font-size:1.32rem}.level-grid{grid-template-columns:1fr;gap:0;margin-inline:-2px}.level-card{background:0 0;border:0 solid #8cffc021;border-bottom-width:1px;border-radius:0;gap:5px;min-height:0;padding:13px 2px}.level-card:hover:not(:disabled){box-shadow:none;transform:none}.level-card.current{background:0 0;border-color:#ffe36f3d}.level-card.locked{background:0 0;border-color:#8cffc014}.level-card-heading{align-items:center}.level-card strong{margin-bottom:0;font-size:.98rem;line-height:1.12}.level-card-heading strong{white-space:normal;padding-right:0}.level-card span{font-size:.82rem;line-height:1.22}.level-card small{letter-spacing:.02em;font-size:.72rem}.level-pill{color:#ffe9a0;letter-spacing:.08em;background:0 0;border:0;border-radius:0;padding:0;font-size:.68rem;position:static}.level-card.locked .level-pill{color:#cddcd594;background:0 0;border:0}.controls-grid{align-content:start;gap:6px;min-height:0}.tower-strip-card{min-height:0}.tower-strip{gap:6px;min-height:0}.tower-button{border-radius:8px;min-width:0;height:auto;min-height:52px;padding:4px 4px 3px}.tower-icon{width:34px;height:34px;margin-top:4px}.tower-button-meta{gap:4px;top:3px;left:4px;right:4px}.tower-button-meta span{font-size:.68rem}.shortcut-chip{margin-left:0;padding:0;font-size:.68rem}.selection-card{border-radius:8px;height:72px;min-height:72px;padding:8px 9px}.selection-header{gap:8px}.selection-copy strong{margin-bottom:0;font-size:.9rem}.selection-copy span{-webkit-line-clamp:2;font-size:.76rem;line-height:1.15}.selection-sell-button{min-height:36px;padding:6px 10px;font-size:.82rem}.mobile-selection-actions{gap:6px}.mobile-selection-actions .action-button{min-height:38px;padding:6px 8px;font-size:.8rem}.footnote,.nerd-panel{display:none}}@media (hover:none) and (pointer:coarse),(width<=520px){.mobile-shell{width:100%;height:calc(var(--app-viewport-height) - max(6px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));max-height:calc(var(--app-viewport-height) - max(6px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:6px;overflow:hidden}.mobile-shell .board-card{min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;align-self:stretch}.mobile-shell .board-frame{background:#030806;border-radius:0;height:100%}.mobile-shell .board-stage{aspect-ratio:auto;border-radius:0;outline:0;width:100%;height:100%;max-height:none;overflow:hidden}.mobile-shell .controls-grid{--mobile-control-button-height:68px;--mobile-control-button-radius:8px;--mobile-control-button-padding:2px 5px 4px;--mobile-control-icon-row-height:50px;--mobile-control-value-row-height:12px;--mobile-control-stack-gap:0;--mobile-control-icon-shift:-1px;--mobile-control-value-shift:-3px;--mobile-control-value-color:#b8e6cf;--mobile-control-value-size:.76rem;grid-template-rows:72px 68px;grid-template-columns:1fr;gap:10px;height:158px;padding-bottom:8px}.mobile-shell .controls-grid.selected-tower-controls{grid-template-rows:72px 68px}.mobile-shell .tower-strip-card{grid-row:2}.mobile-shell .tower-strip-card,.mobile-shell .tower-button{height:var(--mobile-control-button-height);min-height:var(--mobile-control-button-height)}.mobile-shell .tower-button{grid-template-rows:var(--mobile-control-icon-row-height) var(--mobile-control-value-row-height);justify-content:center;place-items:center;gap:var(--mobile-control-stack-gap);padding:var(--mobile-control-button-padding);border-radius:var(--mobile-control-button-radius);display:grid}.mobile-shell .tower-icon{width:52px;height:52px;transform:translateY(var(--mobile-control-icon-shift));order:1;grid-row:1;margin:0;display:block}.mobile-shell .tower-button-meta{width:100%;transform:translateY(var(--mobile-control-value-shift));order:2;grid-row:2;justify-content:center;align-items:center;gap:0;display:flex;position:static}.mobile-shell .tower-button-meta span{color:var(--mobile-control-value-color);font-size:var(--mobile-control-value-size);line-height:var(--mobile-control-value-row-height);text-align:center}.mobile-shell .selection-card{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;grid-template-rows:1fr;grid-template-columns:minmax(0,1fr) minmax(176px,58%);align-items:stretch;column-gap:8px;height:72px;min-height:72px;padding:7px 0;display:grid;overflow:visible}.mobile-shell .selected-tower-controls .selection-card{grid-template-rows:1fr;grid-template-columns:minmax(0,1fr) minmax(152px,46vw);column-gap:8px;height:72px;min-height:72px;padding:0;transform:translateY(2px)}.mobile-shell .selection-header{grid-column:1;align-self:center;min-height:0}.mobile-shell .selected-tower-controls .selection-header{grid-area:1/1;align-self:center;align-items:center;min-width:0;display:flex}.mobile-shell .selection-card:not(:has(.mobile-selection-actions)) .selection-header{grid-column:1/-1}.mobile-shell .selection-copy{align-content:center;gap:3px}.mobile-shell .selected-tower-controls .selection-copy{align-content:center;gap:2px}.mobile-shell .selection-copy strong{font-size:.96rem;line-height:1.08}.mobile-shell .selection-copy span{color:#b8e6cf;-webkit-line-clamp:unset;font-size:.8rem;line-height:1.15;display:block;overflow:visible}.mobile-shell .selected-tower-controls .selection-copy span{font-size:.8rem;line-height:1.15}.mobile-shell .mobile-selection-actions{border-radius:8px;grid-column:2;place-self:center end;align-items:stretch;gap:6px;width:100%;min-width:0;height:72px;display:flex}.mobile-shell .selected-tower-controls .mobile-selection-actions{height:var(--mobile-control-button-height);z-index:2;border-radius:8px;grid-area:1/2;grid-template-columns:repeat(3,minmax(0,1fr));place-self:center end;gap:0;width:100%;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 1px #8cffc01f}.mobile-shell .mobile-selection-actions .action-button{min-width:0;min-height:var(--mobile-control-button-height);padding:var(--mobile-control-button-padding);border-radius:var(--mobile-control-button-radius);flex:1 1 0;font-size:.76rem;line-height:1}.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button{grid-template-rows:var(--mobile-control-icon-row-height) var(--mobile-control-value-row-height);justify-content:center;place-items:center;gap:var(--mobile-control-stack-gap);height:var(--mobile-control-button-height);min-height:var(--mobile-control-button-height);padding:var(--mobile-control-button-padding);border-radius:0;font-size:.82rem;display:grid}.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button>span[aria-hidden=true]{width:52px;height:52px;transform:translateY(var(--mobile-control-icon-shift));grid-row:1;place-items:center;font-size:1.32rem;line-height:1;display:grid}.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button+.action-button{border-left-width:0;margin-left:0}.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button:hover,.mobile-shell .selected-tower-controls .mobile-selection-actions .action-button:focus-visible{z-index:1;position:relative}.mobile-shell .selected-tower-controls .mobile-selection-actions:not(.laser-actions) .action-button:first-child{grid-column:1/span 2}.mobile-shell .selected-tower-controls .mobile-selection-actions:not(.laser-actions) .action-button.sell{grid-column:3}.mobile-shell .selected-tower-controls .mobile-action-value{color:var(--mobile-control-value-color);font-size:var(--mobile-control-value-size);line-height:var(--mobile-control-value-row-height);white-space:nowrap;transform:translateY(var(--mobile-control-value-shift));grid-row:2;display:block}.mobile-shell .selected-tower-controls .action-button.unaffordable .mobile-action-value{color:#ffb0a8}}@media (orientation:landscape) and (hover:none) and (pointer:coarse){.mobile-shell .orientation-blocker{z-index:100;color:var(--text);text-align:center;background:#050807;place-content:center;gap:8px;padding:24px;display:grid;position:fixed;inset:0}.mobile-shell .orientation-blocker strong{text-transform:uppercase;letter-spacing:.06em;font-size:1.3rem}.mobile-shell .orientation-blocker span{color:var(--muted)}}@media (width<=520px) and (orientation:portrait),(hover:none) and (pointer:coarse) and (width<=920px) and (orientation:portrait){.shell{grid-template-rows:auto auto auto}.board-card{align-self:start}.controls-grid{grid-template-rows:auto auto;grid-template-columns:1fr}.tower-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.selection-card{min-height:58px}}@media (width<=920px) and (height<=520px) and (orientation:landscape),(hover:none) and (pointer:coarse) and (height<=520px) and (orientation:landscape){.shell{grid-template:"topbar topbar""board controls"minmax(0,1fr)/minmax(0,1fr) minmax(218px,34vw);align-content:stretch}.topbar{grid-area:topbar;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"title hud actions"}.title-block h1{max-width:32vw}.hud{flex-wrap:nowrap;justify-content:center}.stat-card strong{max-width:18vw}.board-card{grid-area:board;min-height:0}.board-stage{width:min(100%, calc((100dvh - 60px) * var(--field-aspect-scale)))}.controls-grid{grid-area:controls;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:1fr;align-content:stretch;height:100%}.tower-strip-card{height:100%}.tower-strip{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));height:100%}.tower-button{min-height:0}.tower-icon{width:38px;height:38px}.selection-card{max-height:96px}.selection-sell-button{align-self:center;min-height:34px;padding:4px 10px;font-size:.78rem}}@media (hover:none) and (pointer:coarse),(width<=520px){.mobile-shell{flex-direction:column;grid-template:none/1fr;display:flex}.mobile-shell .topbar,.mobile-shell .board-card,.mobile-shell .controls-grid{grid-area:auto}.mobile-shell .topbar,.mobile-shell .controls-grid{flex:none}.mobile-shell .board-card{flex:auto;align-self:stretch}.mobile-shell .board-stage{width:100%;height:100%}.mobile-shell .tower-strip{grid-template-rows:none;grid-template-columns:repeat(5,minmax(0,1fr))}}
