.fullscreen-label{margin-left:4px}.game-fullscreen{overscroll-behavior:none}.game-shell.is-fullscreen{position:fixed!important;inset:0!important;width:100%!important;height:100vh!important;height:100dvh!important;max-width:none;margin:0;border:0;border-radius:0;z-index:200;background:#173f49;display:flex;flex-direction:column;box-shadow:none;transform:none!important;overflow:hidden;overscroll-behavior:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.game-shell:fullscreen::backdrop{background:#123b4b}.game-shell.is-fullscreen .game-top{flex-shrink:0;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.game-shell.is-fullscreen .game-layout{flex:1;min-height:0;overflow:hidden;grid-template-columns:minmax(0,1fr) 285px}.game-shell.is-fullscreen .battle-column{display:flex;flex-direction:column;min-height:0;overflow:hidden}.game-shell.is-fullscreen .hud,.game-shell.is-fullscreen .battle-footer{flex-shrink:0}.game-shell.is-fullscreen .board{flex:1;min-height:0;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#123c4f}.game-shell.is-fullscreen canvas{flex:none;max-width:100%;max-height:100%;touch-action:none}.game-shell.is-fullscreen .command{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.game-shell.is-fullscreen .command-heading{margin-bottom:12px}.game-shell.is-fullscreen .tower-card{min-height:65px}.game-shell.is-fullscreen .battle-footer{min-height:36px}.game-shell.is-fullscreen .overlay.expanded{z-index:210}.game-shell.is-fullscreen #fullscreen{background:#dce8b0;color:#193e3d;border-color:#dce8b0}.game-shell.is-fullscreen .board-badge{max-width:calc(100% - 34px)}
@media(max-width:700px) and (orientation:portrait){.game-shell.is-fullscreen .game-layout{display:flex;flex-direction:column}.game-shell.is-fullscreen .battle-column{flex:1}.game-shell.is-fullscreen .command{display:grid;grid-template-columns:1fr 1fr;flex-shrink:0;max-height:43%;padding:10px 12px;gap:9px 12px}.game-shell.is-fullscreen .command-heading{display:none}.game-shell.is-fullscreen .tower-shop{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-shell.is-fullscreen .tower-card{min-height:76px;padding:7px 7px 11px}.game-shell.is-fullscreen .tower-icon{height:27px;width:28px;font-size:22px;margin-bottom:4px}.game-shell.is-fullscreen .tower-copy strong{font-size:10px;margin-bottom:4px}.game-shell.is-fullscreen .tower-copy small{font-size:5.5px}.game-shell.is-fullscreen .inspect{min-height:0;grid-column:1;grid-row:2/4;padding:0}.game-shell.is-fullscreen .site-selector{grid-column:1;grid-row:4}.game-shell.is-fullscreen .wave-control{grid-column:2;grid-row:2/5;margin:0;padding:0 0 0 12px;border-top:0;border-left:1px solid #d3dac7}.game-shell.is-fullscreen .next-wave{display:block}.game-shell.is-fullscreen .next-wave strong{display:block;margin-top:6px}.game-shell.is-fullscreen .hud{height:50px}.game-shell.is-fullscreen .battle-footer{min-height:32px;padding-top:5px;padding-bottom:5px}}
@media(max-height:550px) and (orientation:landscape){.game-shell.is-fullscreen .game-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px}.game-shell.is-fullscreen .game-top{padding-top:5px;padding-bottom:5px;min-height:42px}.game-shell.is-fullscreen .hud{height:42px}.game-shell.is-fullscreen .command{display:flex;flex-direction:column;padding:10px 12px;gap:0}.game-shell.is-fullscreen .command-heading{display:none}.game-shell.is-fullscreen .tower-shop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.game-shell.is-fullscreen .tower-card{min-height:80px;padding:6px;display:block}.game-shell.is-fullscreen .tower-copy strong{font-size:8px}.game-shell.is-fullscreen .tower-copy small{display:none}.game-shell.is-fullscreen .tower-icon{width:25px;height:26px;margin-bottom:6px}.game-shell.is-fullscreen .tower-card .price{top:8px;right:5px;bottom:auto;font-size:8px}.game-shell.is-fullscreen .inspect{padding:8px 0;min-height:0;font-size:10px}.game-shell.is-fullscreen .inspect-tip{display:none}.game-shell.is-fullscreen .wave-control{border-left:0;border-top:1px solid #d3dac7;padding:8px 0 0;margin-top:auto}.game-shell.is-fullscreen .next-wave{display:flex;margin-bottom:6px}.game-shell.is-fullscreen .next-wave strong{font-size:10px}.game-shell.is-fullscreen .wave-control>p{display:none}.game-shell.is-fullscreen .battle-footer{min-height:28px;padding:4px 10px}}
@media(max-width:520px){.game-top{flex-wrap:wrap;gap:6px}.game-tools{margin-left:auto}.fullscreen-label{font-size:8px}.icon-button#fullscreen{padding-left:7px;padding-right:7px}.game-shell.is-fullscreen .game-top{flex-wrap:nowrap}.game-shell.is-fullscreen .map-label{font-size:7px}.game-shell.is-fullscreen .game-tools{gap:3px}}@media(max-width:360px){.game-shell.is-fullscreen .map-label{display:none}.game-shell.is-fullscreen .game-tools{width:100%;justify-content:space-between}}
