/* The game's own tones, shared by the pre-game screens (client/entry), the HUD, the full-screen menus and the
   tooltip (menu-design SPEC.md §3, take B "sea-glass"). One file: change a tone here, never in a copy.
   A screen may override a token inside its own scope (#entry, .dm) where its design asks for it.

   Two tones, with purpose:
     DARK  = structure and navigation (bars, lists you move through, containers, headers).
     LIGHT = the one thing you are reading or acting on (the detail pane, the selected row, a dialog, a tooltip's body).
   Selecting flips dark to light; keyboard and pad focus add a white ring. The health bar's slant (--r, a 35 degree
   lean) is the one ornament: the corner cut, the slanted marks and bars.

   Sizes are points times --k: phone (height 500 pt or less) 1, iPad 1.2, 1080p and up 1.5. */
:root {
  --slate: rgb(11 17 24); --acc: rgb(120 224 242);
  --text: rgb(244 247 250); --dim: rgb(244 247 250 / 0.72); --faint: rgb(244 247 250 / 0.48);
  --life: rgb(124 227 139); --danger: rgb(255 106 92); --warning: rgb(255 196 92); --gold: rgb(246 202 104); --mana: rgb(104 176 255);
  --sans: 'Manrope Devshin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r: 0.7;

  --bar: rgb(6 11 17 / 0.74); --bar-line: rgb(255 255 255 / 0.10);
  --dk: rgb(13 21 30 / 0.78); --dk-head: rgb(7 12 18 / 0.86); --dk-row: rgb(36 50 64 / 0.62); --dk-line: rgb(255 255 255 / 0.12);
  --lt: rgb(230 239 241); --lt-2: rgb(214 227 231); --lt-line: rgb(20 40 52 / 0.14);
  --ink: rgb(17 29 40); --ink-dim: rgb(17 29 40 / 0.64); --ink-faint: rgb(17 29 40 / 0.42); --acc-ink: rgb(10 112 132);
  --focus: rgb(255 255 255);

  --common: rgb(196 206 214); --uncommon: rgb(120 226 130); --rare: rgb(110 170 255); --epic: rgb(200 140 255); --legendary: rgb(255 200 100);
  --common-ink: rgb(84 98 110); --uncommon-ink: rgb(36 138 56); --rare-ink: rgb(40 98 206); --epic-ink: rgb(128 64 200); --legendary-ink: rgb(178 110 10);

  /* Experience (healthbar-design's take B, shared with the HUD's bar): fill, a gain and its numbers, level 99, the track. */
  --xp: rgb(186 150 255); --xp-hi: rgb(232 220 255); --xp-max: rgb(220 204 255); --xp-track: rgb(10 16 24 / 0.6);

  --k: 1;
  --cut: calc(14px * var(--k)); --rad: calc(3px * var(--k));
}
@media (min-height: 501px) { :root { --k: 1.2; } }
@media (min-height: 901px) { :root { --k: 1.5; } }
