/* THE GLASS: THE UI STANDARD (player, 2026-11-30, on Glass Panels https://claude.ai/artifact/EGzN4XpjdfJhFTkb1XszsT: glass 2 "Crystal, Day
   and Dusk" with border 1 "the gold line"; then "ok this is the glass panels that i want. it is settled. implement it. release it. I want every
   instance of the old UI scheme gone. This is now the standard."). UI.md 27. Owner: the UI session. Every page with game UI loads this file
   and paints every panel, tab, strip, box, menu and every piece inside them (buttons, tiles, cards, chips, fields) with these values; the old
   dark navy panels (--board, --shade, the navy gradients) are gone.
   - a panel:   background:var(--glass); background-origin:border-box; backdrop-filter:var(--gbf); outline:1px solid var(--gline);
                outline-offset:-1px; box-shadow:var(--gdrop); text-shadow:var(--gtext)
   - a piece inside: background:var(--glass); outline:1px solid var(--gline2); outline-offset:-1px (no drop); pointed at: outline-color var(--ghover)
   - the chosen piece: outline:1.5px solid var(--glit) and a soft gold glow; a chosen mode (pause, a tool's way and size) in var(--gblue);
     a chosen helper in var(--ggold); danger in var(--gred) */
:root{
  /* the cut bevel: a light top and left edge, a dark bottom and right edge */
  --bevel:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,.55)) top/100% 1px no-repeat,linear-gradient(rgba(255,255,255,.35),rgba(255,255,255,.35)) left/1px 100% no-repeat,
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)) bottom/100% 1px no-repeat,linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)) right/1px 100% no-repeat;
  /* the faint diagonal shine */
  --shine:linear-gradient(115deg,rgba(255,255,255,0) 28%,rgba(255,255,255,.13) 33%,rgba(255,255,255,0) 41%);
  /* the two tones: warm daylight amber in the top left corner into cool dusk blue in the bottom right */
  --dusk:linear-gradient(135deg,rgba(214,150,60,.30) 0,rgba(150,110,80,.22) 40%,rgba(40,70,140,.32) 68%,rgba(14,24,70,.44) 100%);
  --glass:var(--bevel),var(--shine),var(--dusk);
  /* THE LIGHTER GLASS: the same two tones at half strength, for a small piece lying on a panel that must stay see-through, as the unit
     flags (player, 2026-11-30, asked why the flags were so opaque, two layers of glass: "Lighter tint") */
  --dusk-lite:linear-gradient(135deg,rgba(214,150,60,.15) 0,rgba(150,110,80,.11) 40%,rgba(40,70,140,.16) 68%,rgba(14,24,70,.22) 100%);
  --glass-lite:var(--bevel),var(--shine),var(--dusk-lite);
  /* what is behind the glass: hardly blurred, a little darkened */
  --gbf:blur(1px) brightness(.82) saturate(1.15);
  --gline:rgba(217,173,82,.9);      /* the one gold line round a panel */
  --gline2:rgba(217,173,82,.6);     /* the thinner line round a piece inside */
  --ghover:#f1d690;                 /* a piece pointed at */
  --glit:#f6dc84;                   /* the chosen piece's ring */
  --gblue:var(--bevel),var(--shine),linear-gradient(135deg,rgba(90,130,220,.62),rgba(30,55,130,.66));
  --ggold:var(--bevel),var(--shine),linear-gradient(135deg,rgba(214,160,60,.55),rgba(120,80,30,.55));
  --gred:var(--bevel),var(--shine),linear-gradient(135deg,rgba(220,70,50,.72),rgba(150,30,20,.6) 55%,rgba(70,14,20,.62));
  --gdrop:0 6px 14px rgba(0,0,0,.4);
  --gtext:0 1px 2px rgba(0,0,0,.95),0 0 5px rgba(0,0,0,.7);
}
