/* welcome-light.css — LIGHT mode of the welcome / guest page (Hugo, 2026-10-19), phone first, desktop falls out of it.
   Loaded AFTER dashboard-light.css (which supplies the SAME tokens as the dashboard: --lt-*, --bg, --panel, --text, --line,
   --hdr-fg, --lt-on-block ... on body.dash-light) and after welcome-theme.css. This file only maps the welcome markup onto them.
   Switch: the sun/moon pair in the top bar (welcome-mode.js) toggles body.dash-light, same localStorage key 'themeMode' as the dashboard.
   Dark rules are untouched: everything below is scoped body.dash-light. `:not(#w)` on body lifts specificity over welcome-theme.css
   (the classic/bloody/emerald blocks and their !important gauge stops). Emerald light = #004400 like the dashboard. */

/* ---- per-theme accent for the welcome (dashboard-light.css sets these under #dashboardView only) ---- */
body.dash-light { --gold-ink: #2447d4; --w-ink: #2447d4; --contour-line: rgba(46,91,255,0.7); --shadow-contour: 0 1px 3px rgba(20,20,40,0.08), 0 6px 18px rgba(46,91,255,0.12); }
body.dash-light.gold-theme { --gold-ink: #FFC800; --w-ink: #0a1f44; --contour-line: rgba(255,215,0,0.95); --shadow-contour: 0 1px 3px rgba(20,20,40,0.08), 0 6px 18px rgba(255,200,0,0.14); }
body.dash-light.bloody-theme { --gold-ink: #a30000; --w-ink: #a30000; --contour-line: rgba(163,0,0,0.7); --shadow-contour: 0 1px 3px rgba(20,20,40,0.08), 0 6px 18px rgba(163,0,0,0.12); }
body.dash-light.emerald-theme { --gold: #004400; --gold-2: #004400; --gold-3: #004400; --gold-soft: rgba(0,68,0,0.14); --gold-ink: #004400; --w-ink: #004400; --gold-logo: #004400; --contour-line: rgba(0,68,0,0.7); --shadow-contour: 0 1px 3px rgba(20,20,40,0.08), 0 6px 18px rgba(0,68,0,0.12); }
body.dash-light:not(#w) .gold-contour { border-color: var(--contour-line); box-shadow: var(--shadow-contour); }
body.dash-light:not(#w) .hero-logo { --gold-logo: var(--lt-block); }
body.dash-light:not(#w).gold-theme .hero-logo { --gold-logo: #f4af07; }
body.dash-light:not(#w) #gGold stop { stop-color: var(--lt-accent) !important; }
body.dash-light #rain { opacity: 0.6; } /* same as #dashRain in light; the canvas base is white (welcome.js) so only the digits show */

/* ---- top bar = the dashboard header: opaque accent, --hdr-fg writing, outlined controls ---- */
body.dash-light .nav { background: var(--lt-accent); border-bottom-color: var(--hdr-fg); color: var(--hdr-fg); backdrop-filter: none; }
body.dash-light .nav .btn, body.dash-light .nav .btn:hover { background: transparent; color: var(--hdr-fg); border-color: var(--hdr-fg); }
body.dash-light .nav .btn-gold, body.dash-light .nav .btn-gold:hover, body.dash-light .nav .lang .btn[aria-pressed="true"] { background: var(--hdr-fg); color: var(--lt-accent); border-color: var(--hdr-fg); }
body.dash-light .nav .guest-badge { color: var(--hdr-fg); border-color: var(--hdr-fg); }
body.dash-light .nav :focus-visible { outline-color: var(--hdr-fg); }
/* the four suns (Hugo, 2026-10-20): no white dot, drawn exactly like dark mode (their own colours from welcome-theme.css);
   only the SELECTED sun turns white, because it would vanish on its own-coloured header. */
body.dash-light .theme-quick-btn.active[data-dashboard-theme] { color: #fff; }
body.dash-light .theme-quick-btn.active::after { background: var(--hdr-fg); }

/* ---- sun / moon light-dark switch: two stacked icons, same look as the dashboard sidebar switch (dashboard-mode-switch.css) ---- */
.mode-switch { display: flex; flex-direction: column; flex-shrink: 0; align-self: center; gap: 2px; margin-inline-start: 4px; }
.mode-switch-btn { box-sizing: border-box; width: 30px; height: 15px; min-width: 0; min-height: 0; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1.5px solid; border-radius: 6px; }
.mode-switch-btn svg { display: block; width: 11px; height: 11px; }
/* Colours follow the THEME (Hugo, 2026-10-20): sun = dark on the theme accent badge, moon = accent icon on the FR/EN badge background (--panel-2). Looks never change on select; the mode is shown by a small dot right of the selected button. */
.mode-switch-btn { position: relative; border-color: #14120a; }
.mode-switch-btn[data-mode="light"] { background: var(--gold); color: var(--on-gold, #14120a); }
.mode-switch-btn[data-mode="dark"] { background: var(--panel-2); color: var(--gold); }
.mode-switch-btn.active::before { content: ""; position: absolute; right: -8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--gold); }
body.dash-light .mode-switch-btn { border-color: var(--hdr-fg); }
body.dash-light .mode-switch-btn[data-mode="light"] { background: var(--lt-accent); color: var(--hdr-fg); }
body.dash-light .mode-switch-btn[data-mode="dark"] { background: transparent; color: var(--hdr-fg); }
body.dash-light .mode-switch-btn.active::before { background: var(--hdr-fg); }
@media (max-width: 600px) { .mode-switch { gap: 4px; } .mode-switch-btn { height: 16px; } }

/* ---- page content ---- */
body.dash-light .hero-l1 { color: var(--lt-on-block); background: var(--lt-block); border-radius: 12px; padding: 8px 14px; align-self: center; } /* the dashboard hero title badge */
body.dash-light .hero-sun { color: var(--lt-block); }
body.dash-light .hero-badge { background: var(--lt-block); color: var(--lt-on-block); }
body.dash-light .hero-word, body.dash-light .big-stat b, body.dash-light .g-val b, body.dash-light .kpi b.filled { color: var(--w-ink); } /* big display figures: --w-ink = the dashboard --gold-ink, except Gold where yellow on white is 1.5:1 and the navy of the Gold pitch/title is used instead */
body.dash-light .pitch, body.dash-light .pitch * { color: #0a1f44; }
body.dash-light .pitch.fx-on .hero-pitch-fx.fading { opacity: 1; } /* the slow typewriter fade would dim the navy text */
body.dash-light .hero-pitch-fx.typing .hero-pitch-typed::after { border-right-color: #0a1f44; }
body.dash-light .pitch-badges span { color: var(--w-ink); }
body.dash-light .btn-gold, body.dash-light .btn-gold:hover { background: var(--lt-block); border-color: var(--lt-block); color: var(--lt-on-block); }
/* mode buttons, light: not selected = white + thin neutral grey border (--line-strong) + accent text; selected = solid accent (--lt-block) + white bold text, flat */
body.dash-light .mode .btn, body.dash-light .mode .btn:hover { background: #fff; border: 1px solid var(--line-strong); color: var(--lt-block); box-shadow: none; }
body.dash-light .mode .btn[aria-pressed="true"], body.dash-light .mode .btn[aria-pressed="true"]:hover { background: var(--lt-block); border-color: var(--lt-block); color: #fff; }
body.dash-light .mode .btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.dash-light .field input, body.dash-light .field select { background: var(--field-fill); color: var(--text); color-scheme: light; }
body.dash-light .line { stroke: var(--gold-ink); }
body.dash-light .g-bg { stroke: rgba(20,20,40,0.10); }
body.dash-light .cta-strip { background: var(--panel); }
