/* The game is the interface: full width in portrait, full height in landscape. */
@media(max-width:600px){.corner-controls{top:1cqw;left:1cqw;right:1cqw}.square-button{min-width:48px;min-height:48px;font-size:24px}.game-title{font-size:7cqw;gap:4.5cqw;letter-spacing:.07em;line-height:1.8}.game-subtitle{font-size:2.4cqw}.title-content{top:8cqw}.play-button{top:29cqw;font-size:3cqw;padding:1cqw 4cqw;min-height:44px}.level-cards{gap:6cqw;margin-top:6cqw}.level-card{min-width:48px;min-height:48px}.select-content{padding:8cqw 10cqw}.select-title{font-size:5cqw}.panel{width:74cqw;max-height:50cqw;padding:6cqw 4cqw 2cqw}.panel h2{font-size:2.3cqw;margin:-5cqw -5cqw 2cqw;padding:1.2cqw 0}.panel p{font:2cqw/1.6 Pixel,monospace;margin:1cqw 0}.panel .pixel-button{font-size:1.8cqw;padding:1cqw;min-height:40px}.panel .text-button{font-size:1.5cqw;min-height:36px}.panel .actions{gap:2cqw;margin-top:2cqw}.settings-row{font-size:2cqw;margin:.8cqw 0}.settings-row button{font-size:1.8cqw;min-height:48px}.panel .stat-row{gap:4cqw;margin:1.5cqw 0}.stat-row div{font-size:1.8cqw}.stat-row strong{font-size:2.5cqw}.result-trophy{width:6cqw}.instructions-grid{font:1.9cqw/1.6 Pixel,monospace;gap:1.4cqw}.hud{font-size:2.3cqw;height:7cqw;min-height:32px;padding-left:2cqw;gap:1cqw}.hud-pause{min-width:32px;min-height:32px;font-size:20px}.hud-hearts{width:22%}.hud-berries img{min-width:10px}.hud-berries{gap:.7cqw}.touch-controls{bottom:2cqw;left:3cqw;right:3cqw}.touch-controls button{padding:3.2cqw}.fullscreen-button{font-size:16px;min-height:24px;bottom:-2px}}
@media(max-height:450px) and (orientation:landscape){.panel{max-height:46cqw}.corner-controls .square-button{min-height:36px;min-width:36px}.hud-pause{min-width:32px;min-height:32px}}
@media(pointer:coarse){.viewport{touch-action:manipulation}.touch-controls button{width:12cqw;height:12cqw}.touch-controls>div{gap:4cqw}}

@media(max-width:600px){.settings-grid{gap:3cqw}.settings-grid .settings-row{gap:2.5cqw;font-size:2cqw}.settings-grid button{min-height:48px;min-width:54px}.panel .icon-action{padding:7px;min-height:48px;min-width:48px}.level-panel{width:88cqw}}
