/* No @font-face here. Every one lives in fonts/fonts.css, which index.html
   links FIRST so the rules below can still override its custom properties.

   That file is a copy of shared/fonts/. It has to be copied rather than
   referenced: the bridge refuses to serve anything outside the directory it was
   pointed at, so a path up into shared/ is a 403. `shared/ is copied into each
   public/` is the documented arrangement — with no build step to do the copying,
   the copy lives in the repo. Change the fonts in shared/ and re-copy.

   The four rules that used to sit here loaded Bebas Neue, Montserrat and
   Rajdhani through `url(__F_BEBAS__)` placeholders build.py rewrote. With no
   build step those were invalid URLs that 404'd on every load — and
   `font-display:block` meant text in those families stayed invisible until the
   fetch failed.

   Everything is now one family, 'Talabat', which is TT Commons Pro for Latin and
   Noto Sans Arabic for Arabic, split by unicode-range (spec 1.4). Weights are
   500 / 700 / 900 only, because that is all TT Commons Pro v3.300 supplies —
   there is no Regular, so Medium is the base and it is the right base for type
   read at a distance anyway. The old 400s became 500 and the 600s became 700;
   Bebas was the display face and became 900. */

:root{
  --orange:#ff6b00; --orange-lt:#ff8c33; --orange-dk:#cc5200;
  --cyan:#00e5ff; --gold:#ffd700;
  --ink:#060d14; --ink-2:#04080e; --navy:#0d1b2a; --navy-2:#1a2a3a; --navy-3:#080f18;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;background:#000;overflow:hidden;font-family:var(--font);user-select:none;
  overscroll-behavior:none;touch-action:none;-webkit-user-select:none;-webkit-touch-callout:none}
#wrap{position:fixed;inset:0;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#0d1b2a,#000 70%)}
/* NO BORDER. It carried `border:2px solid rgba(255,107,0,.25)` from the portrait
   build, and with the global `box-sizing:border-box` that came out of the
   stage's own 1920x1080 rather than around it. Three things followed, and all
   three were on screen at the event:

     - a 2px orange frame drawn round the whole picture, which is not in any of
       Zuhair's frames;
     - the canvas is positioned at (0,0) and sized 1920x1080, so `overflow:hidden`
       CLIPPED its right 4 columns and bottom 4 rows;
     - #hud is `inset:0` inside the padding box, so every HUD element sat 2px
       right and 2px down of its frame coordinate, in a box 1916x1076 rather
       than 1920x1080. tests/hud_figma.py measures HUD-relative and so could not
       see it; it noted the 2px as "the instrument, not the build" and it was
       both.

   The glow stays. It is outside the box, costs no pixels, and is only ever
   visible on a dev window that is larger than the stage — on the rig the stage
   fills the screen. */
#stage{width:1080px;height:1920px;position:absolute;left:50%;top:50%;overflow:hidden;background:var(--ink);transform-origin:0 0;touch-action:none;
  box-shadow:0 0 80px rgba(255,107,0,.18),0 0 180px rgba(255,107,0,.08),0 60px 160px rgba(0,0,0,.9)}
#cv{position:absolute;left:0;top:0;width:1080px;height:1920px;display:block}

/* ---------- shared ---------- */
.hide{display:none!important}

/* ---------- HUD ---------- */
#hud{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .35s}
#hud.on{opacity:1}

