@font-face{font-family:'Giogames Sans';src:url('/assets/dm-sans-latin.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:'Giogames Pixel';src:url('/assets/press-start-2p-latin.woff2') format('woff2');font-display:swap}
:root{color-scheme:light}
body.standalone-game{margin:0;min-height:100vh;color:#342b24;font-family:'Giogames Sans',system-ui,sans-serif;background-color:#f5ecd6;background-image:radial-gradient(#d6c6a5 .75px,transparent .75px),radial-gradient(ellipse at 50% 15%,#fff9e9 0%,#f4ebd4 85%);background-size:11px 11px,100% 100%}
.standalone-game .game-masthead{width:min(1120px,calc(100% - 80px));margin:0 auto;padding:32px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:none;border:0}
.game-masthead h1{font:400 clamp(16px,2.2vw,25px)/1.6 'Giogames Pixel',monospace;letter-spacing:-.7px}
.standalone-game main{width:min(1120px,calc(100% - 80px));max-width:none;margin:0 auto;padding:0 0 24px}
.standalone-game #player,.standalone-game #modes{max-width:none;margin:0;padding-top:0}
.standalone-game .sound,.standalone-game .quiet{background:#fff8e8;color:#514330;border:1px solid #c9b997;box-shadow:0 2px #d7c7a5;border-radius:7px;font-size:14px;min-height:42px}
.standalone-game .sound:hover,.standalone-game .quiet:hover{background:#f1e4c9}
.standalone-game button:focus-visible{outline:3px solid #8e4329;outline-offset:3px}
.standalone-game .player-heading{padding:0 0 16px;gap:12px;align-items:flex-start}
.standalone-game .player-actions{flex-wrap:wrap;justify-content:flex-end}
.standalone-game #frame{border:3px solid #3a3025;border-radius:12px;box-shadow:0 5px #8d7559,0 13px 25px #6c4c292d}
.standalone-game #hud{color:#6c5c49;font:14px/1.6 'Giogames Sans',system-ui,sans-serif;gap:8px 20px}
.standalone-game #hud b{color:#342b24;font:700 14px 'Giogames Sans',system-ui,sans-serif}
.standalone-game .player-bottom{margin-top:19px}
.standalone-game #instructions{background:#fbf3e0;border:1px solid #d8c9a7;border-radius:7px;padding:12px 15px;color:#685745;font-size:16px;line-height:1.65}
.standalone-game .touch{background:#fff5dd;color:#514330;border:2px solid #816447;box-shadow:0 2px #816447;font:700 15px 'Giogames Sans',system-ui,sans-serif;min-height:44px}
.standalone-game .touch.pressed{background:#ebd8b0}
.standalone-game #modes .mode-hero{border:3px solid #3a3025;box-shadow:0 4px #8d7559;border-radius:12px;height:clamp(170px,23vw,265px)}
.standalone-game #modes .mode-hero h1{display:none}
.standalone-game .modes-title{font:400 clamp(15px,2vw,21px)/1.6 'Giogames Pixel',monospace;margin:30px 0 18px}
.standalone-game #modes .mode-choice{background:#fff7e3;border:2px solid #92795b;box-shadow:0 3px #92795b;color:#342b24;border-radius:8px;min-height:115px}
.standalone-game #modes .mode-choice:hover{background:#f1e4c9}
.standalone-game #modes .mode-choice strong{font:700 20px 'Giogames Sans',system-ui,sans-serif;color:#526a42}
.standalone-game #modes .mode-choice small{font-size:16px;color:#6c5c49}
.standalone-game #modes .mode-choice .triangle{color:#8b7554}
.standalone-game .local-worlds{color:#746554}
.standalone-game #overlay{color:#fff6e4}
.standalone-game dialog{color:#fff6e4;color-scheme:dark}
@media(max-width:650px){.standalone-game .game-masthead{width:calc(100% - 24px);padding:19px 0 17px;gap:10px}.standalone-game main{width:calc(100% - 24px)}.standalone-game .player-heading{gap:8px;flex-wrap:wrap}.standalone-game .player-actions{gap:6px}.standalone-game .quiet{padding:8px;font-size:13px}.standalone-game .mode-options{grid-template-columns:1fr}.standalone-game #instructions{font-size:14px}.game-masthead h1{font-size:clamp(13px,3.5vw,20px)}}
