/* hazeljs-examples, Gnome world (0.0.76): the world on a wide canvas (16 by 9), the gems and hearts above it, four buttons
   under it; in full screen (Matthew, 2026-11-23: "let's try to fill the entire available screen with game tiles in full
   screen mode") the canvas is the whole window, the buttons over its bottom corners, faint, and the way out at the top */
.gw-toggle { font-size: 1.15em; padding: 2px 8px; }
.gw-toggle[aria-pressed="false"] { opacity: 0.45; text-decoration: line-through; }
/* (0.0.95) who you play: four buttons, each a little picture of its gnome */
.gw-heroes { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.gw-heroes button { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.gw-heroes button canvas { width: 36px; height: 42px; }
.gw-heroes button[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--paper)); font-weight: 700; }
.gw-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; font-variant-numeric: tabular-nums; margin: 6px 0; }
.gw-bar #gems { font-size: 1.5em; font-weight: 700; }
.gw-wrap { position: relative; }
.gw-wrap canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; touch-action: none; background: #8cc4ec;
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.25); -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.gw-pad { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; max-width: 440px; margin: 10px auto 0; }
.gw-pad button { font: inherit; font-size: 1.5em; padding: 10px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.gw-pad button.held { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, var(--paper)); }
/* (0.0.104) in full screen nothing scrolls and nothing zooms: a pinch or a double tap anywhere (a broken screen's phantom
   touches too) zoomed the page, and in full screen that shows only a corner of the picture, sky and hills */
html.oracle-fs, html.oracle-fs body { touch-action: none; overscroll-behavior: none; }
html.oracle-fs .gw-ui { display: block; padding: 0; background: #000; }
html.oracle-fs .gw-ui > :not(.gw-wrap):not(.fs-bar) { display: none !important; }
html.oracle-fs .gw-ui > .gw-wrap { position: fixed; inset: 0; z-index: 1; }
html.oracle-fs .gw-ui .gw-wrap canvas { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
html.oracle-fs .gw-ui > .fs-bar { z-index: 3; top: 8px; right: 10px; opacity: 0.8; }
html.oracle-fs .gw-ui .gw-pad { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; max-width: none; display: flex; justify-content: space-between; pointer-events: none; }
html.oracle-fs .gw-ui .gw-pad button { pointer-events: auto; width: 74px; opacity: 0.5; background: rgb(255 255 255 / 0.55); }
html.oracle-fs .gw-ui .gw-pad button[data-k="left"] { order: 1; }
html.oracle-fs .gw-ui .gw-pad button[data-k="right"] { order: 2; margin-right: auto; margin-left: 8px; }
html.oracle-fs .gw-ui .gw-pad button[data-k="down"] { order: 3; margin-right: 8px; }
html.oracle-fs .gw-ui .gw-pad button[data-k="up"] { order: 5; }
html.oracle-fs .gw-ui .gw-pad button[data-k="dig"] { order: 4; margin-right: 8px; }
html.oracle-fs .gw-ui .gw-pad button#build { order: 4; margin-right: 8px; }
html.oracle-fs .gw-ui .gw-pad button#ride { order: 4; margin-right: 8px; }
.gw-pad button[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { html.oracle-fs .gw-ui .gw-pad { display: none; } }
/* (0.0.101) 🔄 Restart's question, over everything (in full screen too: a modal dialog is drawn on top of it) */
.gw-ask { max-width: min(92vw, 400px); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 16px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 48px rgb(0 0 0 / 0.35); }
.gw-ask::backdrop { background: rgb(12 24 14 / 0.55); }
.gw-ask p { margin: 0 0 10px; line-height: 1.45; }
.gw-ask .gw-ask-q { font-size: 1.25em; font-weight: 700; }
.gw-ask-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.gw-ask-buttons button { font: inherit; font-size: 1.05em; padding: 10px 16px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.gw-ask-buttons .gw-ask-yes { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, var(--paper)); font-weight: 700; }

/* (0.0.104) ⚙️ Advanced's 🐞: what the game sees, as lines to paste */
textarea.bug-report { width: 100%; box-sizing: border-box; font: 12px/1.4 ui-monospace, monospace; white-space: pre; overflow: auto; }
