/* A7Satta.live — blue theme, light by default. Loaded after lucky-mitra.css / lm-blocks.css / lm-chart.css.
   Colours, radius and font stack only: block sizes and grids belong to the shared CSS.
   html[data-theme]         = result pages, dark variant (theme button): navy
   html[data-theme="light"] = result pages, default: white with blue
   html:not([data-theme])   = about / privacy / terms / 404 pages
   Check after every change: python3 deploy/tools/a7/contrast.py a7satta.live/css/brand-theme.css
   The tool does not test these text pairs - keep each at 4.5:1 or more by hand:
     light --dim on --bg, on white and on --today-bg   light --warn on white   --muted / --dim of the about pages on their background
   About pages: the body gradient starts at #1e40af (--muted 7.1:1 there) and the three blobs stay dark blue, because they are
   screen-blended over the text area (a light blob lifted the background to about 4.2:1 under --muted). */

/* ---------- dark variant: navy ---------- */
html[data-theme]{
  --bg:#0b1220;--bg2:#0f172a;--panel:rgba(17,26,48,.86);--panel2:#111a30;
  --line:rgba(96,165,250,.16);--line2:rgba(96,165,250,.34);
  --txt:#eaf1ff;--mute:#a8b8d8;--dim:#8494b4;
  --acc:#3b82f6;--acc2:#60a5fa;--acc-rgb:59,130,246;--acc2-rgb:96,165,250;--panel-rgb:17,26,48;
  --grad:linear-gradient(90deg,#93c5fd 0%,#60a5fa 45%,#3b82f6 100%);
  --btn:linear-gradient(135deg,#2563eb,#1d4ed8);--grad2:linear-gradient(135deg,#3b82f6,#1e40af);
  --logo:linear-gradient(135deg,#60a5fa,#2563eb 55%,#1e3a8a);
  --on-acc:#fff;--acc-ink:#1e3a8a;--tint:#eff6ff;--tint2:#dbeafe;
  --link:#93c5fd;--up:#cbd5e1;--up-rgb:203,213,225;--deep-rgb:6,10,20;--bar-rgb:11,18,32;--stats-tint:rgba(59,130,246,.18);--thead:#14203a;
  --ok:#6ee7b7;--sh:0 18px 50px -20px rgba(0,0,0,.7);
  /* blocks: table heads, name column, cells, today's line, numbers, wait word */
  --hd-bg:#1e3a8a;--hd-fg:#ffffff;--nm-bg:rgba(59,130,246,.14);--nm-fg:#eaf1ff;--nm-ink:#93c5fd;
  --cell-bg:#111a30;--today-bg:rgba(59,130,246,.22);--num:#ffffff;--wait:#fca5a5;
  /* status chips: Declared green, Waiting amber, Upcoming slate */
  --st-ok-bg:rgba(52,211,153,.16);--st-ok-fg:#6ee7b7;
  --st-wait-bg:rgba(251,191,36,.16);--st-wait-fg:#fcd34d;
  --st-up-bg:rgba(148,163,184,.18);--st-up-fg:#cbd5e1;
  --rad:14px;
  /* status board */
  --b6-bg:#0f172a;--b6-line:rgba(96,165,250,.18);
  /* no web font on this site: system fonts with tabular digits */
  --f:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Devanagari",sans-serif;
}

/* ---------- light (default): white with blue ---------- */
html[data-theme="light"]{
  --bg:#f5f8ff;--bg2:#ffffff;--panel:rgba(255,255,255,.96);--panel2:#ffffff;
  --line:rgba(30,58,138,.12);--line2:rgba(37,99,235,.30);
  --txt:#0f172a;--mute:#475569;--dim:#56667e;--warn:#92400e;
  --acc:#2563eb;--acc2:#1d4ed8;--acc-rgb:37,99,235;--acc2-rgb:29,78,216;
  --grad:linear-gradient(90deg,#2563eb 0%,#1d4ed8 60%,#1e3a8a 100%);
  --btn:linear-gradient(135deg,#2563eb,#1e40af);
  --acc-ink:#1e3a8a;
  --link:#1d4ed8;--up:#475569;--up-rgb:71,85,105;--thead:#eff6ff;
  --ok:#047857;--sh:0 14px 36px -22px rgba(30,58,138,.35);
  --hd-bg:#1e3a8a;--hd-fg:#ffffff;--nm-bg:#eff6ff;--nm-fg:#0f172a;--nm-ink:#1e3a8a;
  --cell-bg:#ffffff;--today-bg:#dbeafe;--num:#0f172a;--wait:#b91c1c;
  --st-ok-bg:#dcfce7;--st-ok-fg:#166534;
  --st-wait-bg:#fef3c7;--st-wait-fg:#92400e;
  --st-up-bg:#e2e8f0;--st-up-fg:#334155;
  --rad:14px;
  --b6-bg:#ffffff;--b6-line:rgba(30,58,138,.14);
}

html[data-theme] body{background-image:radial-gradient(900px 500px at 85% -10%,rgba(59,130,246,.16),transparent 60%),radial-gradient(700px 420px at -10% 20%,rgba(96,165,250,.08),transparent 60%)}
html[data-theme="light"] body{background-image:radial-gradient(900px 500px at 85% -10%,rgba(37,99,235,.10),transparent 60%),radial-gradient(700px 420px at -10% 20%,rgba(96,165,250,.07),transparent 60%)}
html[data-theme="light"] .lm-table thead th{background:var(--thead);color:#1e3a8a}
html[data-theme="light"] .lm-card{box-shadow:0 10px 30px -18px rgba(30,58,138,.35)}
/* big number of the market-page card: one gradient per theme, readable on that theme's card (both ends 4.5:1 or more) */
html[data-theme] .lm-card__num{background-image:linear-gradient(135deg,#bfdbfe,#60a5fa)}
html[data-theme="light"] .lm-card__num{background-image:linear-gradient(135deg,#2563eb,#1e3a8a)}
/* two letters "A7" in the logo square (the shared size is made for one letter) */
.lm-logo__mark{font-size:15px;letter-spacing:-.03em}

/* ---------- about / legal / 404 pages: deep blue, system fonts ---------- */
html:not([data-theme]){
  --ink:#172554;--ink-2:#1e3a8a;--ink-3:#1d4ed8;--gold:#ffffff;--rose:#bfdbfe;--teal:#eff6ff;--sky:#dbeafe;
  --muted:#dbeafe;--dim:#bfdbfe;--line:rgba(255,255,255,.2);--line-2:rgba(255,255,255,.34);
  --f-display:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Devanagari",sans-serif;
  --f-body:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Devanagari",sans-serif;
}
html:not([data-theme]) body{background:linear-gradient(160deg,#1e40af 0%,#1e3a8a 55%,#172554 100%) fixed;background-color:#1e3a8a}
.ls-top{background:rgba(23,37,84,.86)}
.ls-logo__mark::after{background:#1e40af}
.ls-logo__mark i{font-size:14px;letter-spacing:-.03em}
.ls-foot{background:rgba(23,37,84,.55)}
.ls-blob--a{background:radial-gradient(circle,#1d4ed8,transparent 65%)}
.ls-blob--b{background:radial-gradient(circle,#1e40af,transparent 65%)}
.ls-blob--c{background:radial-gradient(circle,#1d4ed8,transparent 65%)}
.ls-grad{background-image:linear-gradient(100deg,#ffffff 0%,#dbeafe 45%,#bfdbfe 90%)}
.lg-sec p,.lg-sec li{color:#eff6ff}
