/* One look for both screens. Colours: gold = action, stars and money; green = good; pink = attention.
   Big screen sizes in vh (readable from the back of the room); phone sizes in px. */
:root {
  --bg: #1b1f4b; --panel: #2a2f6b; --panel2: rgba(255,255,255,.06); --line: rgba(255,255,255,.14);
  --ink: #fff; --soft: #b9c0ff; --go: #ffd23f; --go-ink: #2a1f00; --safe: #3ddc97; --drop: #ff8fab;
  --up: #7ef0a8;
  /* big screen: type scale, spacing rhythm and radii */
  --t-xs: 1.9vh; --t-s: 2.3vh; --t-m: 2.8vh; --t-l: 3.6vh; --t-xl: 5vh; --t-xxl: 8vh;
  --g1: 1vh; --g2: 2vh; --g3: 3vh; --g4: 4.5vh;
  --r1: 1.2vh; --r2: 2vh; --r3: 3vh;
  /* phone: the same steps in px */
  --p-s: 15px; --p-m: 18px; --p-l: 24px; --p-xl: 30px;
  --pg1: 8px; --pg2: 12px; --pg3: 16px; --pg4: 24px;
  --pr1: 12px; --pr2: 16px; --pr3: 24px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: radial-gradient(120% 90% at 50% 0%, #262b6a 0%, var(--bg) 60%) fixed, var(--bg); color: var(--ink);
  font-family: system-ui, "Segoe UI", Roboto, sans-serif; overflow: hidden; font-variant-numeric: tabular-nums; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--go); outline-offset: 2px; }
.offline::after { content: "Reconnecting…"; position: fixed; top: 0; left: 0; right: 0; padding: 6px; text-align: center; background: #c0392b; font-weight: 700; z-index: 9; }

/* Zo-Gear stand-in */
.zg { display: inline-flex; flex-direction: column; align-items: center; width: var(--s); line-height: 1; }
.zg-body { position: relative; width: var(--s); height: var(--s); border-radius: 32%; display: grid; place-items: center; font-size: calc(var(--s) * .62); box-shadow: inset 0 calc(var(--s) * -.08) 0 rgba(0,0,0,.18); }
.zg-body i { position: absolute; font-style: normal; font-size: calc(var(--s) * .38); }
.zg-helmet { top: calc(var(--s) * -.22); left: 50%; transform: translateX(-50%); }
.zg-costume { top: calc(var(--s) * -.1); right: calc(var(--s) * -.16); }
.zg-rudder { bottom: calc(var(--s) * -.02); left: calc(var(--s) * -.2); }
.zg-platform { display: block; width: 110%; height: calc(var(--s) * .12); background: #7bdff2; border-radius: 99px; margin-top: 2px; }
.zg-treads { display: block; width: 86%; height: calc(var(--s) * .16); margin-top: 2px; border-radius: 99px; background: repeating-linear-gradient(90deg, #222 0 4px, #555 4px 8px); }
/* Real Zo-Gear image (square, bot standing on the bottom edge) */
.zg-real { height: var(--s); justify-content: flex-end; }
.zg-img { display: block; width: var(--s); height: var(--s); object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
