:root{color-scheme:dark;--ink: #f4ecd4;--gold: #f0c040;--bg: #142018;--bar: #14101c;--bar-h: 36px}*{box-sizing:border-box}html,body{margin:0;height:100%;height:100dvh;background:var(--bg);color:var(--ink);font-family:Georgia,Iowan Old Style,Palatino,Palatino Linotype,serif;overflow:hidden;overscroll-behavior:none;position:fixed;top:0;right:0;bottom:0;left:0;width:100%;touch-action:none}.skip{position:absolute;left:12px;top:-40px;background:var(--gold);color:#140e1c;padding:6px 10px;z-index:6;text-decoration:none}.skip:focus{top:calc(8px + env(safe-area-inset-top))}.bar{position:fixed;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-height:32px;padding:calc(4px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) 4px calc(10px + env(safe-area-inset-left));background:#14101cf0;border-bottom:2px solid var(--gold);font-family:system-ui,sans-serif;font-size:14px;line-height:1.2}.brand{font-weight:700;letter-spacing:.08em;text-transform:uppercase}.bar nav{display:flex;flex-wrap:wrap;gap:6px 12px}.bar a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.bar button{font:inherit;color:var(--gold);background:transparent;border:1px solid var(--gold);border-radius:2px;padding:2px 8px;cursor:pointer;touch-action:manipulation}.bar a:focus-visible,.bar button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}#menu{display:none}#fullscreen{margin-left:auto}#stage{position:fixed;left:env(safe-area-inset-left);right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom);top:var(--bar-h);background:var(--bg);touch-action:none}#game,#game canvas{width:100%!important;height:100%!important;display:block;image-rendering:pixelated;image-rendering:crisp-edges;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#game{position:absolute;top:0;right:0;bottom:0;left:0;line-height:0}#about{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#about:focus-within{position:fixed;top:0;right:0;bottom:0;left:0;width:auto;height:auto;margin:0;padding:calc(48px + env(safe-area-inset-top)) 20px 32px;overflow:auto;clip:auto;white-space:normal;background:#f6f1e6;color:#1c1428;z-index:7;font-size:1.125rem;line-height:1.55;touch-action:pan-y}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px),(max-height:500px){.bar{font-size:13px}body.playing #menu{display:inline-block}body.playing:not(.menu-open) #leave,body.playing:not(.menu-open) .brand{display:none}body.playing:not(.menu-open) .bar{width:max-content;right:auto;background:transparent;border-bottom:0;pointer-events:none}body.playing:not(.menu-open) .bar button{pointer-events:auto;background:#14101ce0}body.playing #stage{top:0}body.playing.menu-open .bar{width:auto;right:0;background:#14101cf5;border-bottom:2px solid var(--gold);pointer-events:auto}body.playing.menu-open #leave{display:flex;flex-basis:100%}}
