/* The day of «club» (the owner 24.10: «светлое стекло и темное стекло… как ночной режим»; app/mode.ts switches it). A light
   blurred picture behind the Panel, the glass white and frosted, the words dark; lime stays on the main action, as words
   and numbers it turns darker (--accent-text) and a free seat's ring too, to be seen on white. Only what differs from the
   night (themes/club.css): the shape, the motion and the type are the same. */
[data-mode="day"] {
  --app-bg: url("../../art/bg-light.jpg");
  --bg: #e9ecf1;
  --bg-chrome: rgba(255, 255, 255, .58);
  /* 64 %, the owner 11.11 (quiz 14 А; was 52 %): over the picture's dark spot the glass was #989da3–#b8b8bb, a green sum
     2,55:1 (design audit 11.11, П2-02, rule Ф-6); what stands on the picture with no glass takes the white one
     (--bg-control-bare: ui/Bits toolbars, ui/Choice tabs, the pass editor's «Итог») */
  --bg-panel: rgba(255, 255, 255, .64);
  /* a denser glass over the scrim (owner 02.11): 52 % of white over a page darkened by 30 % came out 171–205 grey, the words
     were chosen for 228–237 («Не хватает…» 2,7:1, a pass that cannot be picked 2,1:1) */
  --bg-dialog: rgba(255, 255, 255, .88);
  --bg-sheet: rgba(255, 255, 255, .82);
  --off-opacity: .72;
  --bg-well: rgba(255, 255, 255, .38);
  --bg-flat-hover: rgba(15, 18, 25, .06);
  --bg-control: rgba(15, 18, 25, .06);
  --bg-control-hover: rgba(15, 18, 25, .1);
  /* the top bar stands on the picture with no glass: over bg-light.jpg's dark spot the search's words were 2,9:1 (design
     audit 01.11) — white glass under them, as under the panels */
  --bg-control-bare: rgba(255, 255, 255, .58);
  --bg-control-bare-hover: rgba(255, 255, 255, .76);
  --bg-raised: rgba(15, 18, 25, .08);
  --bg-raised-hover: rgba(15, 18, 25, .12);
  --bg-selected: rgba(255, 255, 255, .9);
  --bg-pop: rgba(255, 255, 255, .9);
  --bg-pop-hover: rgba(15, 18, 25, .07);
  --bg-tip: rgba(255, 255, 255, .96);
  --bg-tint: rgba(15, 18, 25, .03);
  --bg-drop: rgba(255, 255, 255, .7);
  --scrim: rgba(20, 22, 28, .3);
  --scrollbar: rgba(15, 18, 25, .2);
  --grid-dot: rgba(15, 18, 25, .12);
  --line: rgba(15, 18, 25, .08);
  --line-2: rgba(15, 18, 25, .14);
  /* the lime and the white chips are as light as the light glass (lime #ddf56a on #dedfe2 1,10:1, the chips 1,03–1,17:1; design
     audit 11.11, А-31): a 1 px edge holds their shape, the lime stays the lime (the owner 11.11, quiz 31 А) */
  --fill-edge: inset 0 0 0 1px var(--line-2);
  --text: #15171c;
  --text-2: #3d424c;
  /* words and marks a step darker than the night's mirror (night 30.10, waits for the owner's «да»): over the usual glass
     (#E4E7ED) --text-3 6,6:1, the colours 4,7–5,0:1; over the dark spot of bg-light.jpg (#C6C7C9) 3,5–4,8:1 — the tokens'
     limit there, the rest is a denser glass (a look, not a fix). Was: --text-3 #5f6570, --text-4 #8a909a, --accent-text
     #5c7a0c, --good #16935a, --bad #d63b47, --warn #b0731a, --info #2f6fd6 (design/research/2026-10-30-design-night.md) */
  /* 11.11 (design audit, П1-08): --text-3, --good, --warn, --accent-text a step darker again, each just to 4,5:1 at its worst
     place on the glass in the stand's measure: the glass over the dark spot of the picture #b5b8bb, the sum field on it #b0b1b4
     (--text-3), the drop of a picture on it #aeafb1 (--accent-text). Were --text-3 #4a505a 3,79:1, --good #0d673e 3,48:1,
     --warn #7c510e 3,47:1, --accent-text #486306 3,12:1 there; over the usual glass now 7,3–8,0:1. The glass and what stands on
     the bare picture (the tabs, the pass editor's «Итог») are the owner's (А-30) */
  /* 11.11, the glass 64 % (quiz 14 А) does not make them lighter: the menu, the bars and the white glass under the toolbars and
     the pass editor's «Итог» stay 58 % and are darker than the panels over the picture's dark spot (#bdbdc0 at 1920, #c5c5c8 the
     bar at 1366). There #095432 / #654209 / #354903 keep 4,8:1 and more; a step lighter (#0c603a, #744b0c, #3d5404) was
     4,07–4,4:1 (the review of П-Б, 11.11) */
  --text-3: #3f454e;
  --text-4: #585d67;                   /* the disabled: 3,0:1 at its worst place (the bar of «Настройки», #aeafb0; К-3), was #6b717c 2,2:1 (design audit 11.11, П2-09); a placeholder is --text-3 since 01.11 */
  /* 08.11, №12: the coloured sums a step darker, ≥ 4,6:1 over the darkest spot of the glass (#d4d4d4; were 4,0–4,7:1), the same
     tone and look — was --accent-text #4d6a06, --good #0e7044, --bad #b8303b, --warn #8a5a10 */
  --accent-text: #354903;
  --main: #15171c;
  --main-hover: #000000;
  --on-main: #ffffff;
  --good: #095432;
  --good-fill: #12804e;                /* white words on it: 5:1 */
  --on-good: #ffffff;
  --bad: #a82c36;
  --on-bad: #ffffff;                   /* a call or an end on a seat: white on red 6,0:1 (dark letters were Lc 33) */
  --warn: #654209;
  --on-warn: #ffffff;                  /* an order on a seat: white on amber 5,9:1 (dark letters were Lc 37) */
  --info: #2a62bd;
  --seat-free: rgba(255, 255, 255, .7);
  --on-seat-free: #15171c;
  --seat-free-ring: #637c15;          /* 08.11, №12: 3,7:1 on the map's field (#86a81c was 2,1:1, a mark needs 3:1) */
  --seat-off: repeating-linear-gradient(135deg, #d3d7de 0 3px, #e4e7ec 3px 7px);
  --on-seat-off: #858b95;
  --seat-maint: rgba(15, 18, 25, .1);
  --viz-1: #678a17;                    /* the first series darker on white: 3:1 against the light glass (dataviz validator) */
  --mark-light: #15171c;               /* a chat, a fix, a booking on a seat: a dark mark with a white sign */
  --on-mark-light: #ffffff;
  --wall: rgba(15, 18, 25, .32);
  --decor-bg: rgba(15, 18, 25, .035);
  --decor-line: rgba(15, 18, 25, .1);
  --decor-ink: #464a50;                /* the map's things: 4,7:1 at the darkest place under them (#bcbcc0, the glass over the picture's dark spot), was #8a909a 1,9:1 (П1-09); #4b4f55 was 4,49:1 there (the review) */
  --tone-1: #d6efe1; --tone-1-ink: #1d6a45;
  --tone-2: #f3e2cd; --tone-2-ink: #885819;
  --tone-3: #dae3f1; --tone-3-ink: #2d4d7e;
  --tone-4: #f3d8dc; --tone-4-ink: #8a2e3b;
  --tone-5: #e8ecc8; --tone-5-ink: #59621e;
  --tone-6: #d2edef; --tone-6-ink: #1d6a6f;
  --panel-blur: blur(28px) saturate(160%);
  --panel-edge: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 0 0 1px rgba(255, 255, 255, .45), 0 8px 32px rgba(20, 24, 32, .12);
  --shadow-pop: 0 16px 40px rgba(20, 24, 32, .18), 0 0 0 1px var(--line-2);
  --shadow-sheet: -24px 0 48px rgba(20, 24, 32, .16);
  color-scheme: light;
}

/* The day's solid look of the glass for «меньше прозрачности» / «больше контраста» (the night's and why — themes/club.css): the
   white glass filled with its light part (#f3f4f6), no blur, a 1 px frame; the dark spots of the picture no longer show through */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  [data-mode="day"] {
    --panel-blur: none;
    --bg-chrome: #eef0f3; --bg-panel: #f3f4f6; --bg-dialog: #f6f7f9; --bg-sheet: #f3f4f6;
    --bg-pop: #fbfbfc; --bg-tip: #ffffff;
    --bg-control-bare: #f7f8fa; --bg-control-bare-hover: #ffffff;
    --panel-edge: inset 0 0 0 1px var(--line-2);
  }
}
