/* One look for every Bravo page (the 2026 look of Home, the Shop and the Map), loaded last so it sits
   on top of each page's own styles: Plus Jakarta Sans, a dark mesh band, soft rounded cards, an
   indigo-to-teal accent. Pages keep their layouts; only the colours, type and shapes change. */
:root {
  --bg: #F3F4FA; --surface: #FFFFFF; --ink: #0E1222; --muted: #626A84; --line: #E4E6F0;
  --accent: #6D5DFC; --accent-ink: #FFFFFF; --accent-soft: #ECE9FF;
  --band: #0A0E1C; --band-ink: #EEF0FA; --band-muted: #A3ABC8; --band-card: rgba(255,255,255,.07); --band-line: rgba(255,255,255,.14); --gold: #4FE3CF;
  --grad: linear-gradient(135deg, #6D5DFC, #00C2A8);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif; --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(14,18,34,.04), 0 12px 32px rgba(14,18,34,.07);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0A0E1C; --surface: #121831; --ink: #EEF0FA; --muted: #9AA3BF; --line: #222A47;
  --accent: #8F84FF; --accent-ink: #0A0E1C; --accent-soft: #221F4A;
  --band: #070A15; --band-ink: #EEF0FA; --band-muted: #A3ABC8; --band-card: rgba(255,255,255,.06); --band-line: rgba(255,255,255,.12); --gold: #4FE3CF;
  --shadow: 0 12px 32px rgba(0,0,0,.35); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0A0E1C; --surface: #121831; --ink: #EEF0FA; --muted: #9AA3BF; --line: #222A47;
  --accent: #8F84FF; --accent-ink: #0A0E1C; --accent-soft: #221F4A;
  --band: #070A15; --band-ink: #EEF0FA; --band-muted: #A3ABC8; --band-card: rgba(255,255,255,.06); --band-line: rgba(255,255,255,.12); --gold: #4FE3CF;
  --shadow: 0 12px 32px rgba(0,0,0,.35); color-scheme: dark; }

body { font-family: var(--font-body); background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }
h1 { font-weight: 800; } h2, h3 { font-weight: 700; }

/* Band */
.band { background: radial-gradient(60% 120% at 100% 0%, rgba(109,93,252,.5) 0%, transparent 60%), radial-gradient(50% 90% at 0% 100%, rgba(0,194,168,.3) 0%, transparent 60%), var(--band); }
.band .pill, .pill { border-radius: 12px; border-color: var(--band-line); font-weight: 700; }
.titlerow .eyebrow, .eyebrow { color: var(--gold); letter-spacing: .1em; }
.count, .stat, .tile { background: var(--band-card); border: 1px solid var(--band-line); border-radius: 16px; backdrop-filter: blur(8px); }
.tabs .tab, .tab { font-weight: 700; }
.tab[aria-selected="true"] { border-bottom-color: var(--gold); }
.tab .n { background: var(--gold); color: #0A0E1C; }

/* Cards and panels */
.panel { border-radius: 22px; border-color: var(--line); box-shadow: var(--shadow); }
.panel-head h2 { font-size: 19px; font-weight: 800; }
.notice { border-radius: 14px; }
.empty { color: var(--muted); }

/* Controls */
.btn { border-radius: 12px; font-weight: 700; border-color: var(--line); }
.btn.primary, .btn.go, .btn.v { background: var(--grad); border: 0; color: #fff; box-shadow: 0 6px 18px rgba(109,93,252,.25); }
.chip, .fchip { border-radius: 999px; font-weight: 700; }
.chip[aria-pressed="true"], .fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg { border-radius: 14px; } .seg button { border-radius: 10px; }
.search, input.search { border-radius: 14px; border-color: var(--line); background: var(--surface); }
input, select, textarea { font-family: var(--font-body); }
.tbl-wrap { border-radius: 14px; border-color: var(--line); }

/* Upload boxes */
.file { border-radius: 14px; }
.howto { border-radius: 14px; }

/* The gate (sign-in) */
.gate { background: radial-gradient(60% 80% at 100% 0%, rgba(109,93,252,.45) 0%, transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(0,194,168,.3) 0%, transparent 60%), #0A0E1C; }
.gate .go, .gate-card .go { background: var(--grad); color: #fff; border-radius: 12px; }

/* Room for the bottom bar (nav.js) */
body.has-nav { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bnav .in { max-width: 640px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.bnav a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-decoration: none; position: relative; }
.bnav a svg { width: 22px; height: 22px; }
.bnav a[aria-current="page"] { color: var(--accent); }
.bnav a .bd { position: absolute; top: 4px; left: calc(50% + 6px); background: #FF5A6E; color: #fff; border-radius: 999px; font-size: 10.5px; padding: 0 5px; min-width: 16px; text-align: center; }
@media (min-width: 1100px) { .bnav { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); width: 520px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding-bottom: 0; } body.has-nav { padding-bottom: 96px; } }
@media print { .bnav { display: none !important; } body.has-nav { padding-bottom: 0; } }

/* How-to card (guide.js) */
.guide { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: 14px 16px; }
.guide > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.guide > summary::-webkit-details-marker { display: none; }
.guide > summary::after { content: "Show ▾"; color: var(--accent); font-size: 13px; font-weight: 700; }
.guide[open] > summary::after { content: "Hide ▴"; }
.guide ol { margin: 12px 0 2px; padding-left: 22px; display: grid; gap: 8px; font-size: 14px; }
.guide li b { font-weight: 700; }
.guide .gsec { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; margin-top: 14px; }
