/* The look every game page shares: the colour tokens, the page frame, buttons, the way back to all games, and the
   Sound and Music switches that shell.js puts under Start. A game links this before its own <style>, which adds the
   game's layout and sizes. (The home page has its own styles.) */
:root{
  color-scheme:dark;
  --panel:#15131c; --panel-2:#221f2c; --ink:#f2e9c9; --dim:#9a937c;
  --plane:#e8d84a; --river:#2f45b5; --bank:#5f9440; --alert:#d8452f;
  --font:'Silkscreen','Courier New',monospace;
  --notch-s:polygon(0 4px,4px 4px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px));
}
[hidden]{display:none!important}
html,body{height:100%}
body{margin:0;background:var(--panel);color:var(--ink);font-family:var(--font);overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}

button{font-family:var(--font);color:var(--panel);background:var(--plane);border:0;cursor:pointer}
button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

.back{padding:4px 8px;color:var(--ink);background:var(--panel);text-transform:uppercase;text-decoration:none}
.back:hover{color:var(--plane)}
.back:focus-visible{color:var(--plane);outline:3px solid var(--ink);outline-offset:3px}

/* Sound and music switches (Shell.switches): an "off" switch is dimmed. */
.switches{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.switches button{padding:4px 8px;font-size:inherit;color:var(--ink);background:var(--panel);text-transform:uppercase}
.switches button:hover{color:var(--plane)}
.switches button[aria-pressed="false"]{color:var(--dim)}
