/* "Volt" theme (2026-11-23) after Seddik Farouk's fitness-app screens: near-black canvas, neon lime,
   lime cards with black type, filter chips, handwritten lime annotations (Caveat) and lime brush
   squiggles, bold geometric sans (Outfit). Applies when <html data-theme="volt">; picked in Settings → Design. */
html[data-theme="volt"]{
  --bg:#0a0a0a; --bg2:#111; --panel:#161616; --panel2:#1f1f1f; --line:#262626; --line2:#333;
  --text:#f7f7f2; --mute:#a3a3a0; --dim:#6b6b68;
  --lime:#d7f94a; --acc:var(--lime); --acc2:#c6ea2c; --acc-text:var(--lime); --ink:#0a0a0a;
  --dark:var(--lime); --dark2:var(--acc2); --on-dark:#0a0a0a; --on-dark-mute:rgba(10,10,10,.65);
  --good:#7ee08a; --mid:#ffd34d; --bad:#ff6b5a; --blue:#7cc4ff; --pitch:#121212; --pitch2:#171717;
  --head:"Outfit",system-ui,sans-serif; --body:"Outfit",system-ui,sans-serif; --script:"Caveat",cursive;
  --r:26px; --r-sm:18px; --shadow:none;
  --squiggle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 9c10-8 18 6 28-1s18-8 28 0 18 6 28-1 18-7 32 1' fill='none' stroke='%23d7f94a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
html[data-theme="volt"] .top{background:rgba(10,10,10,.88)}
html[data-theme="volt"] h1{font:800 clamp(32px,4.6vw,52px)/1.02 var(--head);letter-spacing:-.025em}
/* lime brush squiggle under every page title */
html[data-theme="volt"] .head h1:after,html[data-theme="volt"] .onboard .big:after{content:"";display:block;width:120px;height:14px;margin-top:8px;background:var(--squiggle) no-repeat left/contain}
html[data-theme="volt"] h2{font:700 21px/1.15 var(--head);letter-spacing:-.01em}
/* eyebrows become handwritten lime notes, tilted like the reference's annotations */
html[data-theme="volt"] .head h3{font:700 22px/1 var(--script);color:var(--lime);transform:rotate(-3deg);transform-origin:left;display:inline-block;margin-bottom:4px}
html[data-theme="volt"] h3{color:var(--mute)}
html[data-theme="volt"] .brand .wm{font:800 22px/.95 var(--head)}
html[data-theme="volt"] .brand .wm small{font:700 15px var(--script);letter-spacing:.02em;color:var(--lime);transform:rotate(-4deg);transform-origin:left}
html[data-theme="volt"] .lg-tile{fill:var(--lime)}
html[data-theme="volt"] .lg-mark{fill:#0a0a0a}


html[data-theme="volt"] .big{font-weight:800;letter-spacing:-.04em;color:var(--text)}
html[data-theme="volt"] .onboard .big{color:var(--text)}

/* cards and tiles: dark cards, lime headline tile, numbers big and bold */
html[data-theme="volt"] .card,html[data-theme="volt"] .tbl,html[data-theme="volt"] .tile{background:var(--panel)}
html[data-theme="volt"] .kpi{background:var(--panel2);color:var(--text)}
html[data-theme="volt"] .kpi .l,html[data-theme="volt"] .kpi .s,html[data-theme="volt"] .kpi h3,html[data-theme="volt"] .kpi .mute{color:var(--mute)}
html[data-theme="volt"] .kpi .accent{color:var(--lime)}
html[data-theme="volt"] .kpi .good{color:var(--good)}
html[data-theme="volt"] .kpi .bad{color:var(--bad)}
html[data-theme="volt"] .kpi:has(.big){background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .kpi:has(.big) .l,html[data-theme="volt"] .kpi:has(.big) .s{color:rgba(10,10,10,.65)}
html[data-theme="volt"] .kpi:has(.big) .big{color:var(--ink)}
html[data-theme="volt"] .kpi .v{font-weight:800;letter-spacing:-.03em}
html[data-theme="volt"] .statgrid div{background:var(--panel2);color:var(--text)}
html[data-theme="volt"] .statgrid div:nth-child(5n+1){background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .statgrid div:nth-child(5n+1) small{color:rgba(10,10,10,.65)}
html[data-theme="volt"] .statgrid small{color:var(--mute)}
html[data-theme="volt"] .statgrid b{font-weight:800}

/* chips and buttons */
html[data-theme="volt"] .tabs{background:none;box-shadow:none;padding:0;gap:8px}
html[data-theme="volt"] .tabs button{border:1.5px solid var(--line2);color:var(--text);font-weight:600}
html[data-theme="volt"] .tabs button.on{background:var(--lime);border-color:var(--lime);color:var(--ink)}
html[data-theme="volt"] .btn{background:var(--panel2);border-color:var(--line2);color:var(--text)}
html[data-theme="volt"] .btn:hover{border-color:var(--lime)}
html[data-theme="volt"] .btn.acc{background:var(--lime);border-color:var(--lime);color:var(--ink)}
html[data-theme="volt"] .btn.acc:hover{background:var(--acc2)}
html[data-theme="volt"] .tag{background:var(--panel2);border-color:var(--line2);color:var(--text)}
html[data-theme="volt"] .tag.acc{background:var(--lime);border-color:var(--lime);color:var(--ink)}
html[data-theme="volt"] .tag.good{background:rgba(126,224,138,.12);border-color:transparent;color:var(--good)}
html[data-theme="volt"] .tag.bad{background:rgba(255,107,90,.12);border-color:transparent;color:var(--bad)}
html[data-theme="volt"] .tag.mid{background:rgba(255,211,77,.12);border-color:transparent;color:var(--mid)}
html[data-theme="volt"] .score{background:var(--panel2);color:var(--text)}
html[data-theme="volt"] .score.live{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .gwinfo .live{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .gwinfo .live:before{background:var(--ink)}
html[data-theme="volt"] .refresh{background:var(--panel2);color:var(--text)}
html[data-theme="volt"] .toggle{background:var(--line2)}
html[data-theme="volt"] .toggle:checked{background:var(--lime)}
html[data-theme="volt"] .toggle:checked:before{background:var(--ink)}
html[data-theme="volt"] input[type=text],html[data-theme="volt"] input[type=number],html[data-theme="volt"] input[type=search],html[data-theme="volt"] select{background:var(--panel2);border-color:var(--line2);color:var(--text)}
html[data-theme="volt"] input:focus,html[data-theme="volt"] select:focus{border-color:var(--lime)}
html[data-theme="volt"] :focus-visible{outline-color:var(--lime)}
html[data-theme="volt"] .bar i{background:var(--lime)}
html[data-theme="volt"] .w-g{background:var(--lime)}
html[data-theme="volt"] .w-app{background:#555}

/* navigation */
html[data-theme="volt"] .side a i{background:var(--panel2);color:var(--text)}
html[data-theme="volt"] .side a:hover{background:var(--panel)}
html[data-theme="volt"] .side a.on{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .side a.on i{background:var(--ink);color:var(--lime)}
html[data-theme="volt"] .sheet{background:var(--panel)}
html[data-theme="volt"] .sheet a{background:var(--panel2)}
html[data-theme="volt"] .sheet a i{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .tile i{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .tile:hover{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .tile:hover small{color:rgba(10,10,10,.7)}
html[data-theme="volt"] .close{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .toast{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .modal{background:rgba(0,0,0,.6)}

/* tables */
html[data-theme="volt"] .tbl th{background:var(--panel2)}
html[data-theme="volt"] .tbl th.sorted{color:var(--lime);box-shadow:inset 0 -3px 0 var(--lime)}
html[data-theme="volt"] .tbl tr.me{background:rgba(215,249,74,.1)}
html[data-theme="volt"] .tbl tr.mine{background:rgba(126,224,138,.08)}
html[data-theme="volt"] .tbl tr.rival{background:rgba(124,196,255,.08)}
html[data-theme="volt"] .err{background:rgba(255,107,90,.1)}

/* pitch: black pitch, lime points, bench on a lime card */
html[data-theme="volt"] .pitch:before,html[data-theme="volt"] .pitch:after{border-color:rgba(215,249,74,.25)}
html[data-theme="volt"] .pl .nm{background:var(--panel2);color:var(--text)}
html[data-theme="volt"] .pl .pt{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .pl .pt.zero{background:var(--panel2);color:var(--mute)}
html[data-theme="volt"] .pl .badge{background:var(--lime);color:var(--ink)}
html[data-theme="volt"] .bench{background:var(--lime)}
html[data-theme="volt"] .bench .pl .nm{background:var(--ink);color:#fff}
html[data-theme="volt"] .phead img{background:var(--lime)}

@media (max-width:820px){
  html[data-theme="volt"] .bottom{background:#000;border:1px solid var(--line)}
  /* --on-dark is black in Volt (text on lime), so the black bar needs its own light colours */
  html[data-theme="volt"] .bottom a,html[data-theme="volt"] .bottom button{color:var(--mute)}
  html[data-theme="volt"] .bottom i{border-color:var(--line2);color:var(--text)}
  html[data-theme="volt"] .bottom .on{color:var(--text)}
  html[data-theme="volt"] .bottom .on i{background:var(--lime);border-color:var(--lime);color:var(--ink)}
}

/* player card colours (card.js) */
html[data-theme="volt"]{--card-bar:#000;--card-bar-ink:#d7f94a}
