/* Ivy (Nov 29, Adam): colour themes for subscribers. Every glow/accent in the app reads these variables.
   Default (no data-theme) = the original Holy Voltage look, unchanged. */
:root{--t-glow:62 230 255;--t-glow2:47 198 238;--t-violet:139 92 255;--t-violet2:147 58 230;--t-violet3:173 140 255;
  --t-pink:255 62 200;--t-magenta:218 99 253;--t-soft:196 181 253;--t-base:5 6 13}
html[data-theme]{--blue:rgb(var(--t-glow2));--ice:rgb(var(--t-glow));--magenta:rgb(var(--t-magenta));--violet:rgb(var(--t-violet2));--vio:var(--ice);--accent:var(--blue)}
html[data-theme="night-neon"]{--t-glow:0 255 178;--t-glow2:0 224 160;--t-violet:150 70 255;--t-violet2:120 50 230;--t-violet3:190 140 255;--t-pink:255 46 170;--t-magenta:240 80 255;--t-soft:200 255 236;--t-base:0 0 0;--bg:#000;--stage:#000}
html[data-theme="armor-of-god"]{--t-glow:110 180 255;--t-glow2:80 150 240;--t-violet:80 110 230;--t-violet2:60 90 200;--t-violet3:150 175 240;--t-pink:120 200 255;--t-magenta:140 160 255;--t-soft:190 210 240;--t-base:4 7 15;--bg:#03060d}
html[data-theme="jordan-river"]{--t-glow:40 200 240;--t-glow2:30 170 220;--t-violet:40 140 225;--t-violet2:30 110 200;--t-violet3:110 200 230;--t-pink:90 240 200;--t-magenta:60 170 255;--t-soft:180 240 232;--t-base:2 10 13;--bg:#020a0c}
html[data-theme="crimson-cross"]{--t-glow:255 70 95;--t-glow2:230 50 80;--t-violet:170 40 110;--t-violet2:140 30 90;--t-violet3:230 110 150;--t-pink:255 90 140;--t-magenta:255 60 130;--t-soft:255 200 210;--t-base:12 3 6;--bg:#0b0205}
html[data-theme="grace-pink"]{--t-glow:255 80 180;--t-glow2:240 60 160;--t-violet:200 90 255;--t-violet2:170 70 230;--t-violet3:230 150 255;--t-pink:255 140 210;--t-magenta:255 90 220;--t-soft:255 200 235;--t-base:13 4 11;--bg:#0c030a}
html[data-theme="royal-magenta"]{--t-glow:236 80 255;--t-glow2:210 60 240;--t-violet:150 70 255;--t-violet2:120 50 220;--t-violet3:200 150 255;--t-pink:255 80 200;--t-magenta:255 70 230;--t-soft:235 200 255;--t-base:10 4 16;--bg:#0a0310}
html[data-theme="lily-of-the-valley"]{--t-glow:200 175 255;--t-glow2:175 150 245;--t-violet:150 120 255;--t-violet2:130 100 230;--t-violet3:215 195 255;--t-pink:255 170 225;--t-magenta:230 150 255;--t-soft:235 225 255;--t-base:8 6 16;--bg:#080611}
html[data-theme="rose-of-sharon"]{--t-glow:255 120 160;--t-glow2:240 100 145;--t-violet:220 100 200;--t-violet2:190 80 170;--t-violet3:250 170 210;--t-pink:255 160 190;--t-magenta:255 110 190;--t-soft:255 215 228;--t-base:13 5 8;--bg:#0d0508}

/* Theme picker (Settings > Appearance) */
.themeIntro{margin:0;padding:14px 16px 4px;color:var(--sub);font-size:.86rem}
.themeGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;padding:10px 14px 16px}
.themeChip{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:16px;border:1px solid rgb(255 255 255 / 10%);background:rgb(255 255 255 / 4%);color:var(--ink);text-align:left;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.themeChip[aria-pressed="true"]{border-color:rgb(var(--t-glow) / 70%);box-shadow:0 0 0 1px rgb(var(--t-glow) / 45%),0 0 18px rgb(var(--t-glow) / 22%)}
.themeSwatch{height:46px;border-radius:11px;background:var(--sw)}
.themeChip strong{font-size:.9rem;font-weight:700}
.themeChip small{color:var(--sub);font-size:.72rem;line-height:1.25}
.themeChip:focus:not(:focus-visible){outline:none}
@media (max-width:600px){.themeGrid{grid-template-columns:repeat(2,1fr)}}
.themeChip{position:relative}
.themeSwatch{box-shadow:inset 0 0 0 1px rgb(255 255 255 / 14%)}
.themeChip[aria-pressed="true"]::after{content:"";position:absolute;top:16px;right:16px;width:22px;height:22px;border-radius:50%;
  background:rgb(var(--t-glow)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow:0 2px 8px rgb(0 0 0 / 45%)}
/* Panel/card surfaces: original navy by default; each theme tints them toward its own base. */
:root{--t-navy1:5 10 35;--t-navy2:7 16 27;--t-navy3:10 13 31;--t-navy4:7 6 19;--t-navy5:3 4 15;--t-navy6:8 9 25}
html[data-theme="night-neon"]{--t-navy1:6 8 8;--t-navy2:8 10 10;--t-navy3:10 12 12;--t-navy4:4 4 4;--t-navy5:2 2 2;--t-navy6:7 8 8}
html[data-theme="armor-of-god"]{--t-navy1:8 16 34;--t-navy2:9 18 30;--t-navy3:12 18 32;--t-navy4:6 10 20;--t-navy5:3 6 14;--t-navy6:9 14 26}
html[data-theme="jordan-river"]{--t-navy1:3 22 28;--t-navy2:4 22 26;--t-navy3:6 24 30;--t-navy4:3 14 17;--t-navy5:2 9 11;--t-navy6:5 18 22}
html[data-theme="crimson-cross"]{--t-navy1:28 6 12;--t-navy2:24 7 11;--t-navy3:30 9 15;--t-navy4:18 4 8;--t-navy5:11 2 5;--t-navy6:22 6 10}
html[data-theme="grace-pink"]{--t-navy1:28 7 24;--t-navy2:24 8 21;--t-navy3:30 10 27;--t-navy4:18 5 16;--t-navy5:11 3 10;--t-navy6:22 7 20}
html[data-theme="royal-magenta"]{--t-navy1:22 7 34;--t-navy2:20 8 30;--t-navy3:26 10 36;--t-navy4:15 5 22;--t-navy5:9 3 14;--t-navy6:19 7 28}
html[data-theme="lily-of-the-valley"]{--t-navy1:16 12 34;--t-navy2:15 12 30;--t-navy3:20 15 36;--t-navy4:11 8 22;--t-navy5:6 5 14;--t-navy6:14 11 28}
html[data-theme="rose-of-sharon"]{--t-navy1:30 9 16;--t-navy2:26 10 15;--t-navy3:32 12 19;--t-navy4:19 6 10;--t-navy5:12 4 7;--t-navy6:24 8 13}
/* Player header stays crisp white on any theme's colour wash. */
html[data-theme] #panel[data-layout="full-player"] .fullPlayer .npHeader :is(small,strong,span,h2,p){color:#fff !important;text-shadow:0 1px 8px rgb(0 0 0 / 60%)}
/* Every remaining dark-navy surface (cards, mini player, header, sheets) is mixed toward the theme's own surface
   colour. Default theme: 0% mix = exactly the original look. */
:root{--t-surf:12 14 30;--t-mix:0%}
html[data-theme]{--t-mix:88%}
html[data-theme="night-neon"]{--t-surf:14 16 16}
html[data-theme="armor-of-god"]{--t-surf:14 22 40}
html[data-theme="jordan-river"]{--t-surf:8 30 36}
html[data-theme="crimson-cross"]{--t-surf:36 10 16}
html[data-theme="grace-pink"]{--t-surf:36 10 31}
html[data-theme="royal-magenta"]{--t-surf:30 10 44}
html[data-theme="lily-of-the-valley"]{--t-surf:22 17 42}
html[data-theme="rose-of-sharon"]{--t-surf:38 12 20}
