*{box-sizing:border-box}html,body{background:#152923;width:100%;height:100%;margin:0;overflow:hidden}body{height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);color:#fff1cd;justify-content:center;align-items:center;font-family:monospace;display:flex}#game{touch-action:none;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}#game canvas{image-rendering:pixelated;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;flex:none;margin:0;display:block}#rotate{text-align:center;background:#203b35;align-content:center;padding:40px;display:none;position:fixed;inset:0}#rotate span{color:#efba66;font-size:76px}h1{font-size:24px;line-height:1.3}p{color:#c8d5b6;line-height:1.6}@media (orientation:portrait) and (hover:none) and (pointer:coarse){#rotate{display:block}}.score-dialog{color:#fff1cd;background:#294b3e;border:2px solid #efba66;border-radius:6px;width:min(520px,94vw);max-height:92dvh;padding:20px;font:16px monospace;overflow:auto}.score-dialog::backdrop{background:#152923e8}.score-dialog h2{color:#efba66;margin:0 0 18px;font-size:20px}.score-dialog label,.score-dialog small{display:block}.score-dialog small{color:#c8d5b6;margin:6px 0 14px;font-size:12px;line-height:1.5}.score-dialog input{color:#203b35;background:#fff1cd;border:2px solid #849d76;border-radius:3px;width:100%;margin-top:6px;padding:10px;font:16px monospace}.score-dialog img{width:100%;image-rendering:pixelated;display:block}.score-dialog p{font-size:13px;line-height:1.5}.score-actions{flex-wrap:wrap;gap:8px;display:flex}.score-dialog button{color:#203b35;cursor:pointer;background:#efba66;border:0;flex:42%;min-height:44px;padding:10px;font:700 13px monospace}.score-dialog button:disabled{opacity:.45;cursor:default}.score-dialog :focus-visible{outline-offset:3px;outline:3px solid #fff1cd}@media (hover:hover) and (pointer:fine){#game{max-width:1152px;max-height:672px}}.sharp-game-label{pointer-events:none;-webkit-user-select:none;user-select:none;white-space:pre-wrap;text-align:center;z-index:2;width:max-content;font-family:monospace;font-weight:500;position:fixed}
