  :root{
    --void:#0a0714;
    --void-2:#140c26;
    --glass:rgba(255,255,255,0.045);
    --glass-brd:rgba(255,255,255,0.09);
    --ink:#f2eefc;
    --ink-dim:#b8aed4;
    --pink:#ff3d8a;
    --cyan:#2be3ff;
    --gold:#ffcc42;
    --violet:#a06bff;
    --mint:#3dffb0;
    --orange:#ff8a4c;
    --danger:#ff4d4d;
    /* RGB-channel forms of --void/--void-2, for the rgba(var(--void-rgb),X)
       call sites across chats.css/dm-widget.css/groups.css/profile.css/
       vibe-content.css that need a specific alpha home.css's own solid
       var(--void) can't express - a CSS custom property holding a hex
       value can't be decomposed into rgba() at the call site, so this
       holds the same color as bare R, G, B channels instead. Every one of
       those call sites had rgba(10,7,20,X) / rgba(20,12,38,X) hardcoded
       directly - correct in dark mode by coincidence (those ARE --void/
       --void-2's dark-mode values) but frozen there regardless of theme,
       which is why so much of the app (profile cards, chat dropdowns, the
       DM widget) went dark-text-on-dark-background the moment light mode
       shipped. Redefined under [data-theme="light"] below along with
       everything else.  */
    --void-rgb:10, 7, 20;
    --void-2-rgb:20, 12, 38;
    --highlight-rgb:255, 255, 255; /* hover "glass" tint - light against a dark theme */
    --pink-rgb:255, 61, 138;
    --violet-rgb:160, 107, 255;
    --font-display:'Bungee',cursive;
    --font-body:'Space Grotesk',sans-serif;
    --font-mono:'JetBrains Mono',monospace;
  }

  /* Header theme switch (light mode). Same 12 token names as the dark
     :root above, redefined under [data-theme="light"] on <html> - every
     rule in this app already reads colors through var(--...), never a
     hardcoded hex, so flipping this one attribute re-themes the whole
     logged-in app with nothing else to touch. The accent hues (pink/cyan/
     gold/violet/mint/orange/danger) are deliberately DARKER than their
     dark-mode values, not just re-hosted as-is - those were tuned to pop
     against near-black (--void) and used directly as TEXT/border color in
     places like .section-title/.activity-empty-cta; the same bright values
     against a light --void here would wash out and fail basic legibility,
     so each keeps its hue but drops in lightness enough to stay readable
     on a light background. --pill-on-accent is new: .pill-btn.primary
     already hardcodes #031018 text on var(--cyan) - that still passes
     easily against the deepened light-mode cyan, so no change needed
     there. */
  :root[data-theme="light"]{
    --void:#f6f5fb;
    --void-2:#eee9fb;
    --glass:rgba(255,255,255,0.94); /* proposed_themes/vibez-light-theme.html's cards are solid #fff, not tinted glass - this reads as the same near-opaque white */
    --glass-brd:rgba(28,27,41,0.08);
    --ink:#1c1b29;
    --ink-dim:#6b6880;
    --pink:#ff4fa8;
    --cyan:#3b82f6;  /* reference calls this role "blue" - it lives in our --cyan slot */
    --gold:#ffc400;
    --violet:#9d4ef4;
    --mint:#22c55e;   /* not in the reference (only 4 accent roles exist there) - vivid green added to fill the mint slot in the same style */
    --orange:#f97316; /* not in the reference - vivid orange added to fill the orange slot in the same style */
    --danger:#c81e1e;
    --void-rgb:246, 245, 251;
    --void-2-rgb:238, 233, 251;
    --highlight-rgb:28, 27, 41; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 79, 168;
    --violet-rgb:157, 78, 244;
  }

  /* Halloween. Built from proposed_themes/halloween-midnight-harvest.html
     (reference only, per PLAN_THEMES_HOME.md - accents/backgrounds
     completed where the reference didn't cover them). Kept vivid against
     a near-black base like Dark Mode's own tokens, not darkened like
     Light Mode's - this is a dark theme, just a different hue family. */
  :root[data-theme="halloween"]{
    --void:#09070a;
    --void-2:#190d0e;
    --glass:rgba(244,232,218,0.05);
    --glass-brd:rgba(218,103,29,0.30);
    --ink:#f4e8da;
    --ink-dim:#b9a49b;
    --pink:#d13638;    /* blood red - reference's "red" section accent */
    --cyan:#5a8a6e;     /* muted witch-green - not in the reference, added to fill the accent-rotation's cyan slot */
    --gold:#d99a25;     /* reference */
    --violet:#6b4b80;   /* reference */
    --mint:#8fae52;     /* toxic green - added to fill the mint slot */
    --orange:#e06b1a;   /* reference's primary accent */
    --danger:#e2483f;
    --void-rgb:9, 7, 10;
    --void-2-rgb:25, 13, 14;
    --highlight-rgb:244, 232, 218; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:209, 54, 56;
    --violet-rgb:107, 75, 128;
  }

  /* Gardening. Built from proposed_themes/gardening-theme.html - a light
     theme like Light Mode (solid cards on a pale gradient), different hue
     family (green/terracotta/yellow/brown instead of Light's violet/pink/
     blue/gold). --pink/--cyan hold the reference's green/terracotta so the
     shared 3-stop .wordmark gradient (var(--pink),var(--gold),var(--cyan))
     lines up, but the wordmark actually needs a 4th stop (brown) the
     shared rule doesn't have, so it still gets its own override below,
     same as Light's. */
  :root[data-theme="gardening"]{
    --void:#f5f7ea;
    --void-2:#fff8e0;
    --glass:rgba(255,255,255,0.94); /* reference cards are solid #fff, same reasoning as Light Mode's token */
    --glass-brd:rgba(46,42,28,0.08);
    --ink:#2e2a1c;
    --ink-dim:#736b52;
    --pink:#5c8a3a;     /* reference's green - default/"What's Happening" section + wordmark stop 1 */
    --cyan:#c1652f;     /* reference's terracotta - wordmark stop 3 */
    --gold:#e8b93a;     /* reference's yellow */
    --violet:#6b4423;   /* reference's brown */
    --mint:#38bdf8;     /* not in the reference (only 4 accent roles exist there) - sky blue added to fill the mint slot */
    --orange:#f472b6;   /* not in the reference - pink added to fill the orange slot */
    --danger:#c1652f;
    --void-rgb:245, 247, 234;
    --void-2-rgb:255, 248, 224;
    --highlight-rgb:46, 42, 28; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:92, 138, 58;
    --violet-rgb:107, 68, 35;
  }

  /* St. Patrick's Day. Built from proposed_themes/st-patricks-theme.html -
     a dark theme like Halloween (glass cards on a near-black base).
     --pink/--gold/--cyan hold green/gold/orange so the shared 3-stop
     .wordmark gradient already matches the reference exactly (green,gold,
     orange - no custom wordmark override needed, unlike Light/Gardening's
     4-stop references). */
  :root[data-theme="st-patricks"]{
    --void:#0b2e13;
    --void-2:#0a2610;
    --glass:rgba(14,54,22,0.78); /* reference's card bg - both profile and section cards use this exact value */
    --glass-brd:rgba(255,215,0,0.3);
    --ink:#f2fbf0;
    --ink-dim:#b9e0bf;
    --pink:#2ecc71;     /* reference's green - wordmark stop 1 */
    --cyan:#ff8c1a;     /* reference's orange - wordmark stop 3 */
    --gold:#ffd700;     /* reference */
    --violet:#0f8a3f;   /* reference's "deep" green - default/"What's Happening" section */
    --mint:#38bdf8;     /* not in the reference (only 4 accent roles exist there) - sky blue added to fill the mint slot */
    --orange:#f472b6;   /* not in the reference - pink added to fill the orange slot */
    --danger:#e63946;
    --void-rgb:11, 46, 19;
    --void-2-rgb:10, 38, 16;
    --highlight-rgb:242, 251, 240; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:46, 204, 113;
    --violet-rgb:15, 138, 63;
  }

  /* Construction. Built from proposed_themes/construction-theme.html - a
     light theme like Light/Gardening (solid white cards on a pale flat
     base), caution-tape/blueprint palette. --pink/--cyan/--gold/--violet
     hold the reference's orange/yellow/steel/blue in that order (matches
     the wordmark's own stop order) - --gold holding a gray is unusual but
     matches the reference's own "steel" role exactly, same "var name
     doesn't have to match the hue" precedent as every theme so far.
     --mint/--orange (safety green/caution red) aren't in the reference
     (it only defines 4 roles) - invented in-style for the two extension
     sections, same as every other theme. */
  :root[data-theme="construction"]{
    --void:#f3f1ea;
    --void-2:#ece7d8;
    --glass:rgba(255,255,255,0.94);
    --glass-brd:rgba(34,31,26,0.14);
    --ink:#221f1a;
    --ink-dim:#6b655a;
    --pink:#ff6f00;     /* reference's orange - default/"What's Happening" + wordmark stop 1 */
    --cyan:#ffcc00;     /* reference's yellow - "Vibez" + wordmark stop 2 */
    --gold:#6b6f76;     /* reference's steel gray - "Manage You" + wordmark stop 3 */
    --violet:#2e5aac;   /* reference's blue - "Vibezmart" + wordmark stop 4 */
    --mint:#43a047;     /* safety green - not in the reference, invented for "Upgrade" */
    --orange:#d32f2f;   /* caution red - not in the reference, invented for "Top of the Vibez" */
    --danger:#d32f2f;
    --void-rgb:243, 241, 234;
    --void-2-rgb:236, 231, 216;
    --highlight-rgb:34, 31, 26; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 111, 0;
    --violet-rgb:46, 90, 172;
  }

  /* Rainbows. Built from proposed_themes/rainbows.html (proposed_themes/
     rainbow-puke-theme.html is a byte-identical duplicate of this same
     file - only one theme needed, this is the one wired up). A light
     theme like Light/Gardening/Construction (solid white cards), but the
     page background ITSELF is the reference's whole joke: a continuously
     color-cycling 7-stop rainbow gradient, animated wordmark, and animated
     tile/pill fill on hover - all three would normally be flattened to
     static per this session's "no scrolling/animated gradients" rule, but
     the user explicitly carved out an exception for this one theme
     specifically (2026-08-29): the animation stays, it's what "Rainbows"
     actually is. See the shared `.glow-field`/`.wordmark`/`.pill-btn.
     primary`/`.button-grid .button:hover` overrides further down for
     where that animation lives - nothing here in the token block itself
     is animated. 6 of the reference's 7 hues fill the 6 accent slots
     (the 7th, orange #ff8f00, still appears inside the multi-stop
     gradients themselves, just isn't its own standalone --token). */
  :root[data-theme="rainbows"]{
    /* --void/--void-2 fix (2026-08-29, user-reported): these were
       originally a mid-bright violet/dark-purple pair - wrong, because
       every OTHER light-card theme (Light/Gardening/Construction) keeps
       --void near-white so it correctly pairs with a DARK --ink wherever
       shared chrome (the Theme Selector's own OPEN dropdown list, which
       uses var(--void-2) as its background; the global DM widget's panel/
       trigger and its chats.css DM-mini internals, which use
       var(--void-rgb)) reads these two tokens directly. The page's own
       vivid animated rainbow background doesn't come from these tokens at
       all - that's the separate .glow-field override further down - so
       lightening these here does not affect the page background, only
       fixes every OTHER component that was rendering dark-on-dark
       (near-black --ink text on a violet/dark-purple --void) instead of
       this theme's actual dark-on-near-white design. */
    --void:#fdfaff;
    --void-2:#f3edfd;
    --glass:rgba(255,255,255,0.94);
    --glass-brd:rgba(28,27,41,0.08);
    --ink:#1c1b29;
    --ink-dim:#5a5770;
    --pink:#ff2d55;     /* red - section 1 "What's Happening" */
    --cyan:#22e07a;     /* green - "Vibez" */
    --gold:#00b8ff;     /* blue - "Manage You" */
    --violet:#ff2fc0;   /* magenta - "Vibezmart" */
    --mint:#ffe600;     /* yellow - invented for "Upgrade" */
    --orange:#7c4dff;   /* violet-purple - invented for "Top of the Vibez" */
    --danger:#ff2d55;
    --void-rgb:253, 250, 255;
    --void-2-rgb:243, 237, 253;
    --highlight-rgb:28, 27, 41; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 45, 85;
    --violet-rgb:255, 47, 192;
  }

  /* Christmas. Built from proposed_themes/christmas-starry-night-home.html
     - a dark theme like Halloween/St. Patrick's (glass cards on a near-
     black base). Unlike every theme so far, the reference gives each
     named section its OWN two-stop diagonal card fill (not one shared
     translucent --glass token) and each section's TILES their own
     resting border color too, not just a shared hover color - both
     handled via explicit per-section selectors further down, not via
     --glass. --pink/--cyan/--gold/--violet hold the 4 reference roles in
     DOM order (red/green/default-gold/white); --mint/--orange invented
     in-style (icy blue, berry pink) for the 2 extension sections. */
  :root[data-theme="christmas"]{
    --void:#071424;
    --void-2:#0d2438;
    --glass:rgba(5,30,44,0.82); /* profile card fill only - sections get their own explicit per-color fills below, not this token */
    --glass-brd:rgba(242,190,74,0.38);
    --ink:#f7fbff;
    --ink-dim:#c9d8e5;
    --pink:#cf2633;     /* red - section 1 "What's Crackin'" */
    --cyan:#4cb778;     /* green - "Vibez" */
    --gold:#f2be4a;     /* gold - "Manage You" (also the reference's default/untagged section color) */
    --violet:#e6f6ff;   /* ice-white - "Vibezmart" */
    --mint:#5397d4;     /* icy blue - not in the reference, invented for "Upgrade" */
    --orange:#ff6f91;   /* berry pink - not in the reference, invented for "Top of the Vibez" */
    --danger:#cf2633;
    --void-rgb:7, 20, 36;
    --void-2-rgb:13, 36, 56;
    --highlight-rgb:247, 251, 255; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:207, 38, 51;
    --violet-rgb:230, 246, 255;
  }

  /* Thanksgiving. Built from proposed_themes/thanksgiving-hearth-home.html
     - a light theme like Light/Gardening/Construction (solid warm-cream
     cards), but unlike Christmas its card fill IS uniform across every
     section (only the top-bar/title/tile-hover color vary per section),
     so it fits the standard --glass-token pattern cleanly. --pink/--cyan/
     --gold/--violet hold the 4 reference roles in DOM order (red/green/
     default-amber/berry - section 1 "What's Crackin'" is class="red",
     "Manage You" is the reference's untagged/default section); --mint/
     --orange invented in-style (golden wheat, deep cranberry) for the 2
     extension sections. */
  :root[data-theme="thanksgiving"]{
    --void:#fbf3e4;
    --void-2:#f6ead2;
    --glass:rgba(255,249,235,0.83);
    --glass-brd:rgba(124,77,33,0.28);
    --ink:#3d281b;
    --ink-dim:#715546;
    --pink:#b8512d;     /* rust red - "What's Crackin'" (section.red) */
    --cyan:#5f7b3d;     /* olive green - "Vibez" (section.green) */
    --gold:#c47a22;     /* amber - "Manage You" (reference's default/untagged section) */
    --violet:#87433d;   /* berry - "Vibezmart" (section.berry) */
    --mint:#d4a017;     /* golden wheat - not in the reference, invented for "Upgrade" */
    --orange:#9c2b3e;   /* deep cranberry - not in the reference, invented for "Top of the Vibez" */
    --danger:#9c2b3e;
    --void-rgb:251, 243, 228;
    --void-2-rgb:246, 234, 210;
    --highlight-rgb:61, 40, 27; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:184, 81, 45;
    --violet-rgb:135, 67, 61;
  }

  /* Fall. Built from proposed_themes/fall-theme.html - a light theme like
     Light/Gardening/Thanksgiving (solid white cards on a warm cream base).
     hasScript=1: the reference spawns a wind-gust burst of falling-leaf
     glyphs on tile/pill hover (js/home.js's flourishTargets IIFE, 'fall'
     branch) - built this round per the standing "JS flourishes are not
     optional" rule. --pink/--cyan/--gold/--violet hold the reference's 4
     roles in DOM order (default-orange/red/gold/brown - section 1 "What's
     Happening" is the reference's untagged/default section, matching
     home.php's own DOM order exactly, no re-pairing needed this time);
     --mint/--orange invented in-style (harvest olive, cinnamon) for the 2
     extension sections. */
  :root[data-theme="fall"]{
    --void:#fff8f0;
    --void-2:#ffecd9;
    --glass:#ffffff;
    --glass-brd:rgba(58,36,22,0.08); /* matches the reference's SECTION card border - .fal-profile's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#3a2416;
    --ink-dim:#7a5f4a;
    --pink:#d8621d;     /* orange - "What's Happening" (default/untagged section) */
    --cyan:#bf360c;     /* red - "Vibez" (section.red) */
    --gold:#d9a441;     /* gold - "Manage You" (section.gold) */
    --violet:#7a4a1e;   /* brown - "Vibezmart" (section.brown) */
    --mint:#8a7a1f;     /* harvest olive - not in the reference, invented for "Upgrade" */
    --orange:#943c1a;   /* cinnamon - not in the reference, invented for "Top of the Vibez" */
    --danger:#bf360c;
    --void-rgb:255, 248, 240;
    --void-2-rgb:255, 236, 217;
    --highlight-rgb:58, 36, 22; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:216, 98, 29;
    --violet-rgb:122, 74, 30;
  }

  /* Spring. Built from proposed_themes/spring-theme.html - light-card like
     Fall, same architecture. hasScript=1, and unusually TWO separate JS
     pieces: a growing-vine + blooming-bud hover flourish (js/home.js
     flourishTargets IIFE, 'spring' branch - same shape as Fall's leaf
     swirl) AND an always-on ambient canvas of floating glyphs with simple
     elastic-collision physics (js/home.js's own dedicated IIFE at the end
     of the file - starts/stops live via a MutationObserver on <html
     data-theme>, no reload and no changes needed to theme-selector.js).
     --pink/--cyan/--gold/--violet hold the reference's 4 roles in DOM
     order (default-green/blue/yellow/pink, same "no re-pairing needed"
     case as Fall - home.php's DOM order already matches the reference's
     own untagged-vs-classed sections exactly); --mint/--orange invented
     in-style (true mint, soft coral) for the 2 extension sections. */
  :root[data-theme="spring"]{
    --void:#f2fbf5;
    --void-2:#e6f7ec;
    --glass:#ffffff;
    --glass-brd:rgba(43,58,46,0.08); /* matches the reference's SECTION card border - .spr-profile's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#2b3a2e;
    --ink-dim:#6b7c6e;
    --pink:#6fae4a;     /* green - "What's Happening" (default/untagged section) */
    --cyan:#4fa8d8;     /* blue - "Vibez" (section.blue) */
    --gold:#f2b705;     /* yellow - "Manage You" (section.yellow) */
    --violet:#f4879f;   /* pink - "Vibezmart" (section.pink) */
    --mint:#7fc9a0;     /* true mint - not in the reference, invented for "Upgrade" */
    --orange:#e8896b;   /* soft coral - not in the reference, invented for "Top of the Vibez" */
    --danger:#f4879f;
    --void-rgb:242, 251, 245;
    --void-2-rgb:230, 247, 236;
    --highlight-rgb:43, 58, 46; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:111, 174, 74;
    --violet-rgb:244, 135, 159;
  }

  /* Winter. Built from proposed_themes/winter-theme.html - light-card,
     same architecture as Fall/Spring (white cards, uniform tile/pill
     treatment, hover leaves pill border/text alone). hasScript=1: a
     jagged frost line creeps up from the bottom of the hovered tile/pill
     and stays for the rest of the hover (js/home.js's flourishTargets
     IIFE, 'winter' branch - a one-shot rise, not a repeating burst,
     unlike every other theme's own flourish so far). --pink/--cyan/
     --gold/--violet hold the reference's 4 roles in DOM order (default-
     ice-blue/silver/navy/teal - section 1 "What's Happening" is the
     reference's untagged/default section, matching home.php's own DOM
     order exactly, no re-pairing needed); --mint/--orange invented
     in-style (frost slate, evergreen) for the 2 extension sections;
     --danger invented too (cranberry) since the reference has no warm/red
     hue anywhere in its own palette to reuse. */
  :root[data-theme="winter"]{
    --void:#f4fbff;
    --void-2:#eaf5fb;
    --glass:#ffffff;
    --glass-brd:rgba(30,42,56,0.08); /* matches the reference's SECTION card border - .win-profile's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#1e2a38;
    --ink-dim:#5c6d7e;
    --pink:#4fa8d8;     /* ice blue - "What's Happening" (default/untagged section) */
    --cyan:#7d8ea3;     /* silver - "Vibez" (section.silver) */
    --gold:#2c4a68;     /* navy - "Manage You" (section.navy) */
    --violet:#4fc3c8;   /* teal - "Vibezmart" (section.teal) */
    --mint:#8fa8c4;     /* frost slate - not in the reference, invented for "Upgrade" */
    --orange:#2f6b4f;   /* evergreen - not in the reference, invented for "Top of the Vibez" */
    --danger:#c0392b;   /* cranberry - invented, the reference has no warm hue to reuse */
    --void-rgb:244, 251, 255;
    --void-2-rgb:234, 245, 251;
    --highlight-rgb:30, 42, 56; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:79, 168, 216;
    --violet-rgb:79, 195, 200;
  }

  :root[data-theme="summer"]{
    --void:#fffdf5;
    --void-2:#fff6e0;
    --glass:#ffffff;
    --glass-brd:rgba(43,36,24,0.08); /* matches the reference's SECTION card border - profile card's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#2b2418;
    --ink-dim:#7a6f56;
    --pink:#ffca28;     /* sunshine gold - "What's Happening" (default/untagged section) */
    --cyan:#29b6f6;     /* sky blue - "Vibez" (section.blue) */
    --gold:#ff6f61;     /* coral - "Manage You" (section.coral) */
    --violet:#26c6da;   /* aqua - "Vibezmart" (section.aqua) */
    --mint:#3ecf8e;      /* seafoam - not in the reference, invented for "Upgrade" */
    --orange:#ff8a3d;    /* sunset orange - not in the reference, invented for "Top of the Vibez" */
    --danger:#ff6f61;    /* reuses the reference's own coral - reads as alert-appropriate, no warm/red hue to spare */
    --void-rgb:255, 253, 245;
    --void-2-rgb:255, 246, 224;
    --highlight-rgb:43, 36, 24; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 202, 40;
    --violet-rgb:38, 198, 218;
  }

  :root[data-theme="valentines"]{
    --void:#2b0715;
    --void-2:#38091a;
    --glass:rgba(46,10,22,0.78);
    --glass-brd:rgba(255,143,171,0.3);
    --ink:#fdf1ee;
    --ink-dim:#e0b7c0;
    --pink:#c81d4f;      /* crimson - "What's Happening" (default/untagged section) */
    --cyan:#ff8fab;      /* pink - "Vibez" (section.pink) */
    --gold:#b76e79;      /* rosegold - "Manage You" (section.rosegold) */
    --violet:#ff4f7d;    /* the reference's own "hero" hot-pink - "Vibezmart" (default/untagged CLASS section), also reused pervasively for chrome (heart, wordmark, pill/section hover) - see the detail block's own note */
    --mint:#ff9eb5;       /* soft coral-pink - not in the reference, invented for "Upgrade" */
    --orange:#8a0f30;     /* deep burgundy - not in the reference, invented for "Top of the Vibez" */
    --danger:#c81d4f;     /* reuses the reference's own crimson - reads as alert-appropriate, no need to invent */
    --void-rgb:43, 7, 21;
    --void-2-rgb:56, 9, 26;
    --highlight-rgb:253, 241, 238; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:200, 29, 79;
    --violet-rgb:255, 79, 125;
  }

  :root[data-theme="july4th"]{
    --void:#0a1230;
    --void-2:#142a5c;
    --glass:rgba(14,28,66,0.78);
    --glass-brd:rgba(245,245,245,0.22);
    --ink:#f5f5f5;
    --ink-dim:#c3cbe0;
    --pink:#c8102e;      /* red - "What's Happening" (default/untagged section), also the reference's own chrome hero color (heart/pill/section hover) */
    --cyan:#f5f5f5;       /* white - "Vibez" (section.white) */
    --gold:#3b6ea5;       /* blue - "Manage You" (section.blue) */
    --violet:#1d356e;     /* navy - "Vibezmart" (section.navy) */
    --mint:#5a8fc4;        /* lighter blue - not in the reference, invented for "Upgrade" */
    --orange:#ffd447;      /* firework gold - not in the reference, invented for "Top of the Vibez" */
    --danger:#c8102e;      /* reuses the reference's own red - no need to invent */
    --void-rgb:10, 18, 48;
    --void-2-rgb:20, 42, 92;
    --highlight-rgb:245, 245, 245; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:200, 16, 46;
    --violet-rgb:29, 53, 110;
  }
  /* Background photo added 2026-08-29 (site_assets/background_themed/
     july4th.png) - proposed_themes/july4th-theme.html itself still ships
     with the image URL commented out ("ADD YOUR BACKGROUND IMAGE URL
     HERE"), so this filename/path is our own choice, not ported from the
     reference. has_background flipped to true in includes/theme.php to
     match; see the .glow-field override further down for the url(). */

  :root[data-theme="money"]{
    --void:#0a140e;
    --void-2:#12241a;
    --glass:rgba(18,36,26,0.8);
    --glass-brd:rgba(212,175,55,0.26);
    --ink:#eef5ee;
    --ink-dim:#a8bfae;
    --pink:#2f8f4e;       /* green - "What's Happening" (default/untagged section) */
    --cyan:#d4af37;        /* gold - "Vibez" (section.gold), also the reference's own chrome hero color (heart/pill/section hover) */
    --gold:#0f9d7a;         /* emerald - "Manage You" (section.emerald) */
    --violet:#c9c9d6;       /* platinum - "Vibezmart" (section.platinum) */
    --mint:#4fd8b0;          /* bright emerald - not in the reference, invented for "Upgrade" */
    --orange:#e8c25a;        /* muted gold - not in the reference, invented for "Top of the Vibez" */
    --danger:#c0392b;        /* invented - the reference's green/gold/emerald/platinum palette has no warm/red hue to reuse */
    --void-rgb:10, 20, 14;
    --void-2-rgb:18, 36, 26;
    --highlight-rgb:238, 245, 238; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:47, 143, 78;
    --violet-rgb:201, 201, 214;
  }

  /* ================= Candy =================
     Built from proposed_themes/candy-theme.html - light-card (solid white
     cards/profile/DM widget) like Fall/Spring/Gardening. Pink/blue/yellow/
     grape palette plus a 5th "extra" hue (#ff3b5c, a bright red) that only
     appears in the wordmark/avatar-ring/DM-badge gradients in the
     reference, not tied to any section role - reused here for the --mint
     slot (extension section "Upgrade") instead of inventing a brand new
     hue. The bokeh canvas's own 5th color (#6fe6c4, a mint/teal never used
     anywhere else in the reference either) fills --orange (extension
     section "Top of the Vibez") the same way. hasScript=1: an always-on
     ambient bokeh-blob canvas (blurred drifting color circles that wrap at
     the screen edges - js/home.js's own dedicated IIFE, a different draw
     mechanism from the Spring/Valentine's/July 4th glyph canvas so it
     isn't folded into that one's GLYPH_SETS). The tile hover treatment
     itself is 100% CSS (no JS spawn) - a reference-specified per-section
     gradient recolor plus a "gummy wobble" squash-stretch keyframe, a
     pure CSS transform animation so it's fine under the no-scrolling-
     gradient rule (same allowance as Construction's jackhammer shake). */
  :root[data-theme="candy"]{
    --void:#fff5fb;
    --void-2:#f5f0ff;
    --glass:#ffffff;
    --glass-brd:rgba(58,26,52,0.08); /* matches the reference's SECTION card border - .can-profile's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#3a1a34;
    --ink-dim:#8a6a84;
    --pink:#ff4fa8;     /* hot pink - "What's Happening" (default/untagged section), also the reference's own chrome hero color (heart/avatar-ring/wordmark stop 1) */
    --cyan:#29c5f6;      /* blue - "Vibez" (section.blue) */
    --gold:#ffe135;       /* yellow - "Manage You" (section.yellow) */
    --violet:#b666ff;      /* grape - "Vibezmart" (section.grape) */
    --mint:#ff3b5c;          /* the reference's own "extra" red (wordmark/avatar-ring/DM-badge only) - reused for "Upgrade" */
    --orange:#6fe6c4;         /* the reference's own bokeh-canvas-only mint/teal - reused for "Top of the Vibez" */
    --danger:#ff3b5c;
    --void-rgb:255, 245, 251;
    --void-2-rgb:245, 240, 255;
    --highlight-rgb:58, 26, 52; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 79, 168;
    --violet-rgb:182, 102, 255;
  }

  /* ================= Memorial Day =================
     Built from proposed_themes/memorial-day-theme.html - dark-card (red
     glass, near-black navy base) like Halloween/St. Patrick's/Christmas.
     Unlike most themes, the reference gives every section the SAME
     translucent red card fill (rgba(178,34,52,.78)) - only the top accent
     bar + title tint vary per section - so this fits the standard --glass-
     token pattern cleanly, no per-section fill overrides needed (not the
     July4th situation). hasScript=1: a quiet one-shot honor-star glow (a
     single \u2605 that scales up and fades, self-cleaning via its own
     animationend) on tile/pill hover - same "no interval, no mouseleave
     cleanup" shape as July 4th's firework burst. */
  :root[data-theme="memorial-day"]{
    --void:#0f1a30;
    --void-2:#16233f;
    --glass:rgba(178,34,52,0.78);
    --glass-brd:rgba(212,175,55,0.22);
    --ink:#f2f3f6;
    --ink-dim:#aab3c4;
    --pink:#d4af37;     /* gold - "What's Happening" (default/untagged section), also the reference's own chrome hero color (section-hover border/glow, top bar default) */
    --cyan:#b32234;      /* red - "Vibez" (section.red) */
    --gold:#f5f5f5;       /* white - "Manage You" (section.white) */
    --violet:#3a5a9c;      /* blue - "Vibezmart" (section.blue) */
    --mint:#8a8f99;          /* granite grey - not in the reference, invented for "Upgrade" (headstone granite, in-style) */
    --orange:#a67c3d;         /* service-medal bronze - not in the reference, invented for "Top of the Vibez" */
    --danger:#b32234;
    --void-rgb:15, 26, 48;
    --void-2-rgb:22, 35, 63;
    --highlight-rgb:242, 243, 246; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:212, 175, 55;
    --violet-rgb:58, 90, 156;
  }

  /* ================= New Year's =================
     Built from proposed_themes/new-years.html - dark navy chrome (header/
     profile/DM widget all near-black-navy glass) but the SECTION CARDS
     themselves are an entirely different, LIGHT gold-foil gradient
     (uniform across all 4 sections, only the top bar/title tint vary) -
     genuinely mixed unlike every other theme so far, so --ink (light, for
     the dark chrome) is WRONG inside sections/tiles and gets explicit
     overrides below wherever text sits directly on that light card.
     Section role map needs re-pairing (like Valentine's Day) - the
     reference's own section 1 ("What's Poppin'") is class="blue", not the
     default/untagged class; "Vibez" is the reference's default/untagged
     section; "Manage You" is class="silver" (colored hot pink, despite
     the name); "Vibezmart" is class="violet" - matched here by ROLE/
     content, not raw DOM position. hasScript=1, but it's a static ambient
     decoration layer (confetti/coin/spark spans with fixed inline styles,
     CSS-keyframe-driven, no per-frame JS/physics at all - js/home.js's own
     dedicated IIFE, mounted/unmounted via the same MutationObserver-on-
     <html data-theme> pattern as the glyph/bokeh canvases). The reference's
     own continuously-looping card shine-sweep (`nye-wave` on `.nye-
     section::after`) and wordmark shimmer are both flattened away per the
     standing no-scrolling-gradient rule - ambient page decoration (the
     confetti layer) is allowed, animated chrome shimmer isn't, same
     distinction as the Rainbows exception being page-background-only. */
  :root[data-theme="new-years"]{
    --void:#0c1240;
    --void-2:#151b4d;
    --glass:rgba(21,27,77,0.78); /* profile/DM-widget fill - SECTION cards bypass this token entirely, see the explicit gold-foil .section override further down */
    --glass-brd:rgba(255,209,102,0.4);
    --ink:#fbf7ec;
    --ink-dim:#c7c8e8;
    --pink:#3a6ee0;     /* blue - "What's Happening" (reference's section 1, class="blue") */
    --cyan:#ffd166;      /* gold - "Vibez" (reference's default/untagged section), also the reference's own chrome hero color (wordmark/avatar-ring/pill/DM-badge) */
    --gold:#ff3d9a;       /* hot pink - "Manage You" (reference's class="silver", colored pink despite the name) */
    --violet:#8a5cf0;      /* violet - "Vibezmart" (reference's class="violet") */
    --mint:#4c8cff;          /* the reference's own confetti/avatar-ring blue - reused for "Upgrade" */
    --orange:#ff5cb4;         /* the reference's own confetti hot-pink - reused for "Top of the Vibez" */
    --danger:#ff4d4d;          /* not in the reference (no true red anywhere in this palette) - invented */
    --void-rgb:12, 18, 64;
    --void-2-rgb:21, 27, 77;
    --highlight-rgb:251, 247, 236; /* hover "glass" tint - light against the dark chrome (== --ink) */
    --pink-rgb:58, 110, 224;
    --violet-rgb:138, 92, 240;
  }

  /* ================= Bedazzled =================
     Built from proposed_themes/bedazzled-theme.html - dark-card (glass
     plum/purple base) like Halloween/St. Patrick's. Gold/pink/silver/
     purple "bling" palette with a 5th "extra" hue (#e8e8e8, a pearl/
     diamond white) that only appears in the wordmark/avatar-ring
     gradients, not tied to any section role - reused here for the --mint
     slot (extension section "Upgrade") same reuse-over-invent pattern as
     Candy's own "extra" red. hasScript=1: a burst of 14 twinkling
     rhinestone sparkles scattered across the tile/pill on hover, all
     spawned at once with randomized position/timing then cleared
     wholesale on mouseleave (a new "spawn-many-on-enter, clear-array-on-
     leave" flourish shape, distinct from every prior single-element
     pattern). The reference's own tile-hover treatment scrolls its
     gradient background via `background-position` (`bed-shimmer`) - same
     banned category as the wordmark's own shimmer - both flattened to a
     static gradient per the standing no-scrolling-gradient rule. */
  :root[data-theme="bedazzled"]{
    --void:#1a0f24;
    --void-2:#2b1338;
    --glass:rgba(38,20,50,0.82);
    --glass-brd:rgba(212,175,55,0.3);
    --ink:#f7ecf5;
    --ink-dim:#c9b0c4;
    --pink:#ff4fa8;     /* pink - "What's Happening" (default/untagged section), also the reference's own chrome hero color (heart) */
    --cyan:#d4af37;      /* gold - "Vibez" (section.gold) */
    --gold:#c9c9d6;       /* silver - "Manage You" (section.silver) */
    --violet:#b666ff;      /* purple - "Vibezmart" (section.purple) */
    --mint:#e8e8e8;          /* the reference's own "extra" pearl/diamond white (wordmark/avatar-ring only) - reused for "Upgrade" */
    --orange:#e0335a;         /* ruby - not in the reference, invented for "Top of the Vibez" (in-style: another gemstone) */
    --danger:#e0335a;
    --void-rgb:26, 15, 36;
    --void-2-rgb:43, 19, 56;
    --highlight-rgb:247, 236, 245; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:255, 79, 168;
    --violet-rgb:182, 102, 255;
  }

  /* ================= Easter =================
     Built from proposed_themes/easter-theme.html - light-card (solid
     white cards/profile/DM widget) like Fall/Spring/Candy. Pink/yellow/
     mint/lavender palette - note the wordmark/avatar-ring gradient uses
     slightly DIFFERENT, more saturated hex values than the matching
     section accent colors (e.g. wordmark yellow #ffd97a vs section-role
     yellow #ffc63d), so those two chrome rules use their own literal
     values rather than var() reuse, unlike every other multi-hue theme so
     far where they matched exactly. hasScript=1: an always-on ambient
     floating-egg canvas - bezier-path egg shapes with a clipped stripe/
     dot/zigzag pattern drawn inside each one, a FOURTH distinct draw
     mechanism from the glyph/bokeh canvases (own dedicated IIFE, same
     elastic-collision-bounce physics as the glyph canvas though) - PLUS a
     one-shot "egg crack" burst of colored shell pieces flying outward,
     scoped to TILES ONLY per the reference's own querySelectorAll
     ('.eas-tile') (not pills, unlike every other theme's flourish). The
     tile hover treatment also has its own transform-rotating "wobble"
     keyframe, which (like Candy's gummy-wobble) needs Easter excluded
     from the shared base's `!important`-transform hover rule to actually
     animate - see that rule's own comment. */
  :root[data-theme="easter"]{
    --void:#fff6e9;
    --void-2:#ffe8f0;
    --glass:#ffffff;
    --glass-brd:rgba(58,52,80,0.08); /* matches the reference's SECTION card border - .eas-profile's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#3a3450;
    --ink-dim:#7c7590;
    --pink:#ff8fab;     /* pink - "What's Happening" (default/untagged section), also the reference's own chrome hero color (heart) */
    --cyan:#ffc63d;      /* yellow - "Vibez" (section.yellow) */
    --gold:#4fcf9a;       /* mint - "Manage You" (section.mint) */
    --violet:#9c7bea;      /* lavender - "Vibezmart" (section.lavender) */
    --mint:#7bdcb5;          /* the reference's own wordmark-only lighter mint - reused for "Upgrade" */
    --orange:#ffd97a;         /* the reference's own wordmark-only lighter yellow - reused for "Top of the Vibez" */
    --danger:#e0577c;
    --void-rgb:255, 246, 233;
    --void-2-rgb:255, 232, 240;
    --highlight-rgb:58, 52, 80; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 143, 171;
    --violet-rgb:156, 123, 234;
  }

  /* ================= Father's Day =================
     Built from proposed_themes/fathers-day-theme.html - light-card (solid
     white cards/profile/DM widget) like Fall/Spring/Easter, warm amber/
     brown/gold/green palette. The reference's own actual rendered text
     color throughout (profile/sections/tiles) is a slate-blue-grey
     (#2b3242/#6b7284), not the page wrapper's own brown fallback
     (#2e2418) - --ink/--ink-dim take the slate values since that's what
     every real component actually uses. Several chrome accents (heart,
     section-hover, pill-hover, "SEE EVERYTHING") use a literal #d4af37
     gold that doesn't exactly match any section-role token, so those stay
     hardcoded rather than forced into var() reuse. hasScript=1: an
     always-on ambient floating-glyph canvas (dad-themed emoji: tie,
     wrench, fishing, soccer, trophy, heart, family) - same glyph/collision
     mechanism as the existing Spring/Valentine's/July4th canvas, so this
     just adds a 'fathers-day' entry to that shared GLYPH_SETS map rather
     than building a new canvas - PLUS a one-shot "nice work, dad" badge
     pop (trophy/tie/wrench/heart) on tile/pill hover, self-cleaning via
     its own animationend. */
  :root[data-theme="fathers-day"]{
    --void:#fdf1e0;
    --void-2:#f8dcae;
    --glass:#ffffff;
    --glass-brd:rgba(212,175,86,0.26);
    --ink:#2b3242;
    --ink-dim:#6b7284;
    --pink:#e8873a;     /* amber/orange - "What's Happening" (default/untagged section) */
    --cyan:#a1512e;      /* brown - "Vibez" (section.brown) */
    --gold:#d9a441;       /* gold - "Manage You" (section.gold) */
    --violet:#4a6b4f;      /* green - "Vibezmart" (section.coral, named "coral" but actually colored green in the reference) */
    --mint:#6b8e5a;          /* fresh grass green - not in the reference, invented for "Upgrade" */
    --orange:#7a4a2e;         /* leather brown - not in the reference, invented for "Top of the Vibez" */
    --danger:#c0392b;
    --void-rgb:253, 241, 224;
    --void-2-rgb:248, 220, 174;
    --highlight-rgb:43, 50, 66; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:232, 135, 58;
    --violet-rgb:74, 107, 79;
  }

  /* ================= Mother's Day =================
     Built from proposed_themes/mothers-day-theme.html - light-card (solid
     white cards/profile/DM widget) like Fall/Spring/Father's Day.
     Pink/gold/sage/lavender palette. hasScript=1: an always-on ambient
     floating-flower canvas - 5-petal flowers drawn via arc/ellipse math
     plus a center dot, a draw mechanism distinct from every other
     canvas so far (not text, not bezier eggs, not radial-gradient blobs)
     - own dedicated IIFE, same elastic-collision-bounce physics as the
     glyph/egg canvases - PLUS a repeating "blooming flowers" burst on
     tile/pill hover (spawn on enter, then every 260ms while hovered,
     cleared on mouseleave) - same repeating-interval-burst shape as
     Gardening/St. Patrick's/Fall/Summer. */
  :root[data-theme="mothers-day"]{
    --void:#fff6f2;
    --void-2:#fdeef2;
    --glass:#ffffff;
    --glass-brd:rgba(63,52,72,0.08); /* matches the reference's SECTION card border - .mom-profile's own border is a separate, accent-tinted value, handled as a .user-info-only override further down */
    --ink:#3f3448;
    --ink-dim:#847a8f;
    --pink:#ff9eb5;     /* pink - "What's Happening" (default/untagged section), also the reference's own chrome hero color (heart) */
    --cyan:#e8b64c;      /* gold - "Vibez" (section.gold) */
    --gold:#8fb996;       /* sage - "Manage You" (section.sage) */
    --violet:#c9a8e0;      /* lavender - "Vibezmart" (section.lavender) */
    --mint:#e0a8b8;          /* dusty rose - not in the reference, invented for "Upgrade" */
    --orange:#e0a868;         /* warm peach - not in the reference, invented for "Top of the Vibez" */
    --danger:#d6547a;
    --void-rgb:255, 246, 242;
    --void-2-rgb:253, 238, 242;
    --highlight-rgb:63, 52, 72; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:255, 158, 181;
    --violet-rgb:201, 168, 224;
  }

  /* Steampunk. Built FROM SCRATCH - no proposed_themes/*.html reference
     exists for this one (unlike every theme before it), only a background
     photo (site_assets/background_themed/steampunk.png: sepia/parchment
     paper, brass gears, a top hat with goggles, a clock tower, an airship).
     Every color below was picked to match that photo's own palette rather
     than ported from a reference script - light theme like Construction
     (solid near-white cards on a warm flat base), same reasoning: no
     in-page animated gradient anywhere, industrial/mechanical motif reads
     fine as a static palette + one CSS-only hover flourish (see the
     detail block further down - no JS was written for this theme, same
     "not every theme needs a script" precedent as Halloween/Christmas/
     Thanksgiving/Money/Rainbows). --pink/--cyan/--gold/--violet hold
     invented roles (burnt copper, brass, antique bronze, gunmetal slate)
     in the same DOM-order convention as every other theme; --mint/--orange
     (verdigris patina, amber lamp-glow) for the 2 extension sections. */
  :root[data-theme="steampunk"]{
    --void:#f0dfb8;
    --void-2:#dcc189;
    --glass:rgba(253,246,230,0.92);
    --glass-brd:rgba(107,66,38,0.22);
    --ink:#2e2015;
    --ink-dim:#6e5a42;
    --pink:#b5651d;     /* burnt copper - "What's Happening" (default/untagged section) */
    --cyan:#c9a227;      /* brass - "Vibez" */
    --gold:#8a5a2e;       /* antique bronze - "Manage You" */
    --violet:#35485c;      /* gunmetal slate - "Vibezmart" */
    --mint:#5b8a72;          /* verdigris patina - not a named role, invented for "Upgrade" */
    --orange:#d9822b;         /* amber lamp-glow - not a named role, invented for "Top of the Vibez" */
    --danger:#a13a2c;
    --void-rgb:240, 223, 184;
    --void-2-rgb:220, 193, 137;
    --highlight-rgb:46, 32, 21; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:181, 101, 29;
    --violet-rgb:53, 72, 92;
  }

  /* Basketball. Built FROM SCRATCH (2026-08-29) - no proposed_themes/
     *.html reference, same situation as Steampunk: only a background
     photo (site_assets/background_themed/basketball.png - a dark,
     cinematic hardwood court, warm amber/orange rim-light on the hoop and
     trophy side, a cool blue-white glow on the chalkboard/play-diagram
     side, glowing white court lines, basketball-orange texture, a gold
     trophy, and a red sneaker). Dark theme like Halloween/Christmas/
     Memorial Day/Bedazzled (glass cards on a near-black base) - the
     photo's own moody darkness carries the atmosphere, so no extra haze
     layer on top of it either, same standing rule as every photo-backed
     theme. --pink/--cyan/--gold/--violet hold invented roles (basketball
     orange, cool steel-blue, trophy gold, sneaker red) in the usual DOM-
     order convention; --mint/--orange (backboard-glass graphite, ember
     spark) for the 2 extension sections, both pulled from secondary
     details in the photo itself. hasScript=1: a basketball emoji bounces
     across the hovered tile/pill on hover, see the detail block further
     down - built per explicit user request specifically for this theme,
     not ported from anywhere. */
  :root[data-theme="basketball"]{
    --void:#0f0d0c;
    --void-2:#1c1512;
    --glass:rgba(28,21,18,0.82);
    --glass-brd:rgba(232,117,44,0.28);
    --ink:#f5ede4;
    --ink-dim:#b8a99a;
    --pink:#e8752c;     /* basketball orange - "What's Happening" (default/untagged section) */
    --cyan:#6f8fae;      /* cool steel-blue - "Vibez", echoes the photo's chalkboard-side glow */
    --gold:#d4a94a;       /* trophy gold - "Manage You" */
    --violet:#c0392b;      /* sneaker red - "Vibezmart" */
    --mint:#5c6b78;          /* backboard-glass graphite - not a named role, invented for "Upgrade" */
    --orange:#ff6a3d;         /* ember spark - not a named role, invented for "Top of the Vibez" */
    --danger:#c0392b;
    --void-rgb:15, 13, 12;
    --void-2-rgb:28, 21, 18;
    --highlight-rgb:245, 237, 228; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:232, 117, 44;
    --violet-rgb:192, 57, 43;
  }

  /* Baseball. Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html
     reference, only site_assets/background_themed/baseball.png (a bright
     sunny ballpark: vivid blue sky, green outfield grass, brick-red
     brickwork, tan infield dirt, white chalk lines, dark green
     scoreboard, wood-tan bat, navy batting helmet). Unlike Basketball's
     dark-court mood, this photo is bright daylight - built as a LIGHT-
     CARD theme (white glass, like Light/Gardening/Construction), the
     first from-scratch theme to go light rather than dark. Palette pulled
     straight from the photo's own elements: brick red, sky blue, infield-
     dirt tan-brown, batting-helmet navy, outfield grass green, and a
     scoreboard-amber orange for the 2 extension sections. hasScript=1: a
     baseball emoji rolls across the hovered tile/pill on hover, see the
     detail block further down - built per explicit user request
     specifically for this theme, not ported from anywhere. Deliberately
     mirrors Basketball's economical "reserve custom CSS effort for the
     one requested effect" approach rather than Construction's heavier
     CSS-only signature-animation template: no bespoke tile/pill hover or
     section top-bar override here, both free-ride the shared base
     defaults, since the roll flourish (a separate absolutely-positioned
     child element, not a transform on the tile itself) is what carries
     this theme's personality. */
  :root[data-theme="baseball"]{
    --void:#eaf4fb;
    --void-2:#d8ecf8;
    --glass:rgba(255,255,255,0.94);
    --glass-brd:rgba(36,29,21,0.14);
    --ink:#241d15;
    --ink-dim:#6e6152;
    --pink:#b1472e;     /* brick red - "What's Happening" (default/untagged section) */
    --cyan:#2f8fd1;      /* sky blue - "Vibez" */
    --gold:#b9803f;       /* infield dirt tan-brown - "Manage You" */
    --violet:#1f3a63;      /* batting-helmet navy - "Vibezmart" */
    --mint:#3f8f3f;          /* outfield grass green - not a named role, invented for "Upgrade" */
    --orange:#e08425;         /* scoreboard amber-orange - not a named role, invented for "Top of the Vibez" */
    --danger:#d32f2f;
    --void-rgb:234, 244, 251;
    --void-2-rgb:216, 236, 248;
    --highlight-rgb:36, 29, 21; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:177, 71, 46;
    --violet-rgb:31, 58, 99;
  }

  /* Football. Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html
     reference, only site_assets/background_themed/football.png (a bright
     sunny stadium at midfield: green turf with white yard lines and the
     "50" hash, vivid blue sky, a silver helmet + orange/black down-marker
     on the left, a navy helmet + yellow goal-post-and-flags on the right,
     orange end-zone pylons). Bright daylight like Baseball, so this is
     also a LIGHT-CARD theme, but leans the page base toward a green-
     tinted white (turf + sky both read strongly in the photo) rather
     than Baseball's blue-tinted white, to keep the two light sports
     themes visually distinct at a glance. Palette pulled straight from
     the photo's own elements: down-marker red-orange, sky blue, goal-
     post gold, helmet navy, turf green and pylon orange for the 2
     extension sections. hasScript=1: a football emoji tumbles end-over-
     end straight up off the hovered tile/pill like a kicked field goal,
     see the detail block further down - built per explicit user request
     specifically for this theme (footballs don't roll or bounce
     realistically, so this deliberately isn't a reskin of Basketball's
     bounce or Baseball's roll - user chose "field goal kick" from a
     short list of football-specific options). Same economical "reserve
     custom CSS effort for the one requested effect" approach as
     Basketball/Baseball: no bespoke tile/pill hover or section top-bar
     override, both free-ride the shared base defaults. */
  :root[data-theme="football"]{
    --void:#eef6ec;
    --void-2:#dcecda;
    --glass:rgba(255,255,255,0.94);
    --glass-brd:rgba(27,36,56,0.14);
    --ink:#1b2438;
    --ink-dim:#5c6478;
    --pink:#c8402a;     /* down-marker red-orange - "What's Happening" (default/untagged section) */
    --cyan:#3a8fd0;      /* sky blue - "Vibez" */
    --gold:#d9b520;       /* goal-post yellow - "Manage You" */
    --violet:#1c2d52;      /* helmet navy - "Vibezmart" */
    --mint:#3a7d34;          /* turf green - not a named role, invented for "Upgrade" */
    --orange:#f0752c;         /* end-zone pylon orange - not a named role, invented for "Top of the Vibez" */
    --danger:#d32f2f;
    --void-rgb:238, 246, 236;
    --void-2-rgb:220, 236, 218;
    --highlight-rgb:27, 36, 56; /* hover "glass" tint - dark against a light theme (== --ink) */
    --pink-rgb:200, 64, 42;
    --violet-rgb:28, 45, 82;
  }

  /* Soccer. Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html
     reference, only site_assets/background_themed/soccer.png (a night
     stadium at pitch level: deep navy-black sky, a curved bank of white
     floodlights, green turf, a black/white ball and black cleats by the
     near goalpost, a red/gold corner flag, and a gold trophy with a blue
     ribbon and goalkeeper gloves on the right). Dark theme like
     Basketball (glass cards on a near-black base) rather than Baseball/
     Football's light cards - the photo's own night-match darkness carries
     the mood, so no extra haze layer on top of it either, same standing
     rule as every photo-backed theme. Third dark-card from-scratch theme;
     leans cool navy-and-pitch-green (unlike Basketball's warm amber/
     orange dark base) to stay visually distinct from it at a glance, the
     same "keep same-mood sports themes visually distinct" reasoning as
     Baseball vs Football's blue-tinted vs green-tinted light cards.
     --pink/--cyan/--gold/--violet hold invented roles (pitch green,
     floodlight blue-white, trophy gold, corner-flag red) in the usual
     DOM-order convention; --mint/--orange (goalkeeper-glove silver-grey,
     floodlight amber glow) for the 2 extension sections, both pulled
     from secondary details in the photo itself. hasScript=1: a soccer
     ball emoji rolls left-to-right along the bottom of the hovered tile/
     pill and off the far edge, spinning continuously - built per
     explicit user request ("a soccer ball rolling through the button").
     Reuses Baseball's roll-across mechanism SHAPE (flat ground-level
     travel, continuous rotation scaling with distance, no vertical arc)
     since that's genuinely the same physical motion being asked for, but
     retuned distinctly: bigger ground hops (turf skid instead of
     Baseball's small wobble), faster/more total spin, and a longer
     travel distance that visibly exits past the far edge to read as
     "through" rather than "across" - see the detail block further down
     (soccerRollThrough keyframe, css/home.css) and js/home.js's
     flourishTargets IIFE, 'soccer' branch. Same economical "reserve
     custom CSS effort for the one requested effect" approach as
     Basketball/Baseball/Football: no bespoke tile/pill hover or section
     top-bar override, both free-ride the shared base defaults. */
  :root[data-theme="soccer"]{
    --void:#0a0e14;
    --void-2:#131c28;
    --glass:rgba(19,28,40,0.86);
    --glass-brd:rgba(47,158,82,0.28);
    --ink:#eef4ee;
    --ink-dim:#9db3a4;
    --pink:#2f9e52;     /* pitch green - "What's Happening" (default/untagged section) */
    --cyan:#7fb8e8;      /* floodlight blue-white glow - "Vibez" */
    --gold:#d4af37;       /* trophy gold - "Manage You" */
    --violet:#c0392b;      /* corner-flag red - "Vibezmart" */
    --mint:#8a95a6;          /* goalkeeper-glove silver-grey - not a named role, invented for "Upgrade" */
    --orange:#f2a71b;         /* floodlight amber glow - not a named role, invented for "Top of the Vibez" */
    --danger:#c0392b;
    --void-rgb:10, 14, 20;
    --void-2-rgb:19, 28, 40;
    --highlight-rgb:238, 244, 238; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:47, 158, 82;
    --violet-rgb:192, 57, 43;
  }

  /* Heavy Metal. Built FROM SCRATCH (2026-10-06) from site_assets/background_themed/
     heavy_metal.jpg alone: a pitch-black stage - hanging chains, red and
     violet spotlights, smoke, stacked skull-emblem amp walls, two spiked-
     body V guitars, spiked gauntlets, embers on the floor and a riveted
     iron frame. The photo's centre is a deep black void, so this is the
     darkest dark-card theme: cards are near-opaque black (--glass .92) and
     header/footer are forced to .95 below, same standing rule as the other
     photo-backed themes (text never depends on the picture). --pink/--cyan/
     --gold/--violet = blood red, spotlight violet, ember orange, gunmetal
     steel in the usual DOM-order role map; --mint/--orange = bone-white and
     dried-blood crimson for the 5th/6th sections. UNLIKE Soccer/Basketball
     this theme does NOT free-ride the shared tile/section chrome - it gets
     its own riveted brushed-steel plate borders with spike teeth, chamfered
     steel buttons, a lava-fill hover and an ember-spark JS flourish (see the
     detail block further down and js/home.js's flourishTargets IIFE,
     'heavy-metal' branch). */
  :root[data-theme="heavy-metal"]{
    --void:#06030a;
    --void-2:#0f0814;
    --glass:rgba(10,6,14,0.92);
    --glass-brd:rgba(160,166,182,0.55);
    --ink:#f1ecf2;
    --ink-dim:#b3a9b8;
    --pink:#e0262b;       /* blood red - "What's Happening" */
    --cyan:#9b4dff;        /* spotlight violet - "Vibez" */
    --gold:#ff7a1f;         /* ember orange - "Manage You" */
    --violet:#8c93a3;        /* gunmetal steel - "Vibezmart" */
    --mint:#e8dfcf;           /* bone white - not a named role, invented for the 5th section */
    --orange:#c4262f;          /* dried-blood crimson - not a named role, invented for the 6th section */
    --danger:#ff3b3b;
    --void-rgb:6, 3, 10;
    --void-2-rgb:15, 8, 20;
    --highlight-rgb:241, 236, 242; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:224, 38, 43;
    --violet-rgb:140, 147, 163;
  }

  /* Country. Built FROM SCRATCH (2026-10-06) from site_assets/background_themed/
     country.jpg alone: a golden-hour farm at sunset - a big pale amber sky
     in the centre, rolling green fields and a barn on the horizon, a rough
     plank stage in front, acoustic guitars, brown cowboy hats, worn boots on
     a red Southwestern blanket, hurricane lanterns, a vintage mic, hay bales,
     a barrel and a record. The photo's centre is LIGHT and its edges dark
     wood, so (same standing rule as Punk Rock/Hip Hop) every surface that
     carries text is a near-opaque dark walnut fill (--glass .93; header and
     footer forced near-opaque below) and text never depends on the photo.
     --pink/--cyan/--gold/--violet = barn red, field green, lantern amber,
     saddle-leather brown in the usual DOM-order role map; --mint/--orange =
     faded-denim blue and hay-straw yellow (secondary details in the photo).
     Rustic chrome: a dashed amber "stitching" line inset in each card. No JS
     flourish. */
  :root[data-theme="country"]{
    --void:#150e08;
    --void-2:#22160d;
    --glass:rgba(33,21,12,0.93);
    --glass-brd:rgba(232,150,58,0.6);
    --ink:#fbf1de;
    --ink-dim:#d8c4a2;
    --pink:#c4452f;       /* barn red - "What's Happening" */
    --cyan:#8aa656;        /* field green - "Vibez" */
    --gold:#f0a840;         /* lantern amber - "Manage You" */
    --violet:#b8703c;        /* saddle leather - "Vibezmart" */
    --mint:#7fa3be;           /* faded denim - not a named role, invented for the 5th section */
    --orange:#e6c870;          /* hay straw - not a named role, invented for the 6th section */
    --danger:#e2503a;
    --void-rgb:21, 14, 8;
    --void-2-rgb:34, 22, 13;
    --highlight-rgb:251, 241, 222; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:196, 69, 47;
    --violet-rgb:184, 112, 60;
  }

  /* R&B. Built FROM SCRATCH (2026-10-06) from site_assets/background_themed/
     RnB.jpg alone: a late-night velvet lounge - deep plum wall with a big
     dark empty centre, burgundy and violet velvet drapes, gold filigree and
     a gold vintage mic, a stack of vinyl on black-and-gold marble, champagne
     flutes, studio monitors, dark roses, scattered petals and a city skyline
     through the window. Dark-card theme; the photo is already dark so cards
     are a translucent-but-heavy plum-black (--glass .90) rather than a hard
     slab, and the header/footer are forced near-opaque so text never depends
     on the drapes/marble behind them. --pink/--cyan/--gold/--violet = rose
     burgundy, orchid violet, champagne gold, wine; --mint/--orange = skyline
     lilac-blue and warm lamp amber. Softer than Punk Rock/Hip Hop on
     purpose: gold hairline edges and a soft glow, no hard offset shadows.
     No JS flourish. */
  :root[data-theme="rnb"]{
    --void:#120a16;
    --void-2:#1d1024;
    --glass:rgba(24,13,30,0.90);
    --glass-brd:rgba(214,170,84,0.45);
    --ink:#f6eef3;
    --ink-dim:#cdb8c8;
    --pink:#c2305c;       /* rose burgundy - "What's Happening" */
    --cyan:#a56ad8;        /* orchid violet - "Vibez" */
    --gold:#e0b45a;         /* champagne gold - "Manage You" */
    --violet:#8e2a4f;        /* wine - "Vibezmart" */
    --mint:#8f9bd6;           /* skyline lilac-blue - not a named role, invented for the 5th section */
    --orange:#e8a04a;          /* lamp amber - not a named role, invented for the 6th section */
    --danger:#e0474f;
    --void-rgb:18, 10, 22;
    --void-2-rgb:29, 16, 36;
    --highlight-rgb:246, 238, 243; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:194, 48, 92;
    --violet-rgb:142, 42, 79;
  }

  /* Hip Hop. Built FROM SCRATCH (2026-10-06) from site_assets/background_themed/
     hip_hop.jpg alone: a grimy concrete-and-brick wall, pale blotchy centre,
     busy edges of red/blue graffiti tags, gold crowns, a boombox, vinyl,
     turntable, vintage mics, spray cans, gold chains and black/gold and
     red/white high-tops. Dark-card theme with near-opaque black cards
     (--glass .94), header and footer, so no text ever depends on the photo
     behind it (centre is pale, edges loud). --pink/--cyan/--gold/--violet =
     graffiti red, tag royal blue, chain gold, brick; --mint/--orange =
     boombox chrome silver and concrete tan. No JS flourish. */
  :root[data-theme="hip-hop"]{
    --void:#0c0b0a;
    --void-2:#17140f;
    --glass:rgba(12,11,10,0.94);
    --glass-brd:rgba(224,176,48,0.7);
    --ink:#f6f0e2;
    --ink-dim:#cbc3b4;
    --pink:#e53030;       /* graffiti red - "What's Happening" */
    --cyan:#3d7fe6;        /* tag royal blue - "Vibez" */
    --gold:#e0b030;         /* gold chain - "Manage You" */
    --violet:#b5532f;        /* brick - "Vibezmart" */
    --mint:#c3c8cf;           /* boombox chrome - not a named role, invented for the 5th section */
    --orange:#d8c7a0;          /* concrete tan - not a named role, invented for the 6th section */
    --danger:#ff5a4a;
    --void-rgb:12, 11, 10;
    --void-2-rgb:23, 20, 15;
    --highlight-rgb:247, 242, 232; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:229, 48, 48;
    --violet-rgb:181, 83, 47;
  }

  /* Punk Rock. Built FROM SCRATCH (2026-10-06) from site_assets/background_themed/
     punk_rock.jpg alone (no reference file): a torn concrete wall - pale
     blotchy centre, busy edges of hot-pink spray paint, cyan splatter, black
     studded leather, brick, barbed wire, yellow "NO FUTURE"/"PUNKS NOT DEAD"
     stickers and anarchy-A tags. Dark-card theme (near-black cards) because
     the photo's centre is LIGHT and its edges are loud: every card, the
     header bar and the footer sit on a near-opaque black fill (--glass at
     .94, header forced to .92 below), so nothing depends on the artwork
     behind it for legibility - text never lands directly on the photo.
     --pink/--cyan/--gold/--violet = spray-paint hot pink, splatter cyan,
     sticker yellow, brick red in the usual DOM-order role map; --mint/
     --orange = stud/chain silver and torn-poster tan (both from the photo's
     secondary details). No JS flourish (palette + chrome only). */
  :root[data-theme="punk-rock"]{
    --void:#0b0b0d;
    --void-2:#16121a;
    --glass:rgba(13,12,15,0.94);
    --glass-brd:rgba(255,45,149,0.65);
    --ink:#f7f2e8;
    --ink-dim:#cbc3b4;
    --pink:#ff2d95;       /* spray-paint hot pink - "What's Happening" */
    --cyan:#22b8e8;        /* splatter cyan - "Vibez" */
    --gold:#ffd21f;         /* sticker yellow - "Manage You" */
    --violet:#d2492c;        /* brick red - "Vibezmart" */
    --mint:#b9bec7;           /* stud/chain silver - not a named role, invented for the 5th section */
    --orange:#e2cc9b;          /* torn-poster tan - not a named role, invented for the 6th section */
    --danger:#ff4b3a;
    --void-rgb:11, 11, 13;
    --void-2-rgb:22, 18, 26;
    --highlight-rgb:247, 242, 232; /* hover "glass" tint - light against a dark theme (== --ink) */
    --pink-rgb:255, 45, 149;
    --violet-rgb:210, 73, 44;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  body{
    font-family:var(--font-body);
    color:var(--ink);
    background:var(--void);
    min-height:100vh;
    overflow-x:hidden;
    position:relative;
  }

  /* ambient glow field behind everything */
  .glow-field{
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
      radial-gradient(560px 420px at 12% 8%, rgba(255,61,138,0.16), transparent 60%),
      radial-gradient(620px 460px at 88% 18%, rgba(43,227,255,0.14), transparent 60%),
      radial-gradient(700px 520px at 50% 95%, rgba(160,107,255,0.16), transparent 60%),
      linear-gradient(180deg, var(--void) 0%, var(--void-2) 100%);
    animation:driftGlow 18s ease-in-out infinite alternate;
  }
  @keyframes driftGlow{
    0%{filter:hue-rotate(0deg);}
    100%{filter:hue-rotate(18deg);}
  }

  /* ---------- header ----------
     Sticky, not relative (user request 2026-08-29, ninth follow-up): the
     global DM widget (css/dm-widget.css, position:fixed, rendered just
     above this element in home.php) was the only thing staying pinned on
     scroll - the banner (theme selector, heart-beat, VIBEZ wordmark) was
     scrolling away with the rest of the page. `top:0` + `position:sticky`
     pins it to the viewport once scrolled past, identical to `relative`
     at rest so nothing changes about the page's resting layout/look
     (still no layout change beyond what's already shipped). z-index stays
     10 - already the highest z-index among header/page content below the
     DM widget's own 150, so nothing that can now scroll under the sticky
     header (buttons, sections, particles - all <=8) will render on top
     of it. Shared/unscoped rule, so this applies to every theme
     automatically, present and future - none of Dark Mode's own resting
     appearance changes either. */
  header{
    position:sticky;
    top:0;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:1.1rem 1rem;
    background:rgba(var(--void-rgb),0.55);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--glass-brd);
  }
  .wordmark{
    font-family:var(--font-display);
    font-size:1.25em;
    letter-spacing:1px;
    background:linear-gradient(90deg,var(--pink),var(--gold),var(--cyan));
    background-size:100% auto;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
  .heart-beat{
    position:relative;
    display:inline-block;
    font-size:1em;
    animation:heartScale 2.1s ease-in-out infinite;
  }
  .heart-beat-icon{
    display:inline-block;
    color:var(--pink);
    vertical-align:middle;
  }
  .heart-beat-symbol{
    display:none;
    font-size:18px;
    line-height:1;
    vertical-align:middle;
  }
  /* Themes that swap the VIBEZ symbol (see the St. Patrick's-style concept
     in PLAN_THEMES_HOME.md) hide the default heart glyph and show a themed
     one instead, purely via CSS content - the .heart-beat wrapper's beat
     animation/glow never change, only which child is visible. Dark/Light
     stay on the original heart (no rule needed - they simply never match
     a [data-theme="..."] override below). */
  :root[data-theme="halloween"] .heart-beat-icon{display:none;}
  :root[data-theme="halloween"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="halloween"] .heart-beat-symbol::before{content:'\1F987';} /* bat */
  /* Gardening keeps the literal heart (like Dark/Light) - just recolored via --pink, no symbol swap needed. */
  :root[data-theme="st-patricks"] .heart-beat-icon{display:none;}
  :root[data-theme="st-patricks"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="st-patricks"] .heart-beat-symbol::before{content:'\2618';} /* shamrock */
  /* Steampunk: swap the heart for a gear glyph, same "themed VIBEZ symbol"
     technique as Halloween's bat / St. Patrick's shamrock - the .heart-beat
     wrapper's beat animation/glow are untouched, only which child renders. */
  :root[data-theme="steampunk"] .heart-beat-icon{display:none;}
  :root[data-theme="steampunk"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="steampunk"] .heart-beat-symbol::before{content:'\2699';} /* gear */
  /* Basketball: swap the heart for a basketball glyph, same "themed
     VIBEZ symbol" technique as Halloween's bat / St. Patrick's shamrock /
     Steampunk's gear. */
  :root[data-theme="basketball"] .heart-beat-icon{display:none;}
  :root[data-theme="basketball"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="basketball"] .heart-beat-symbol::before{content:'\1F3C0';} /* basketball */
  /* Baseball: swap the heart for a baseball glyph, same "themed VIBEZ
     symbol" technique as Halloween's bat / St. Patrick's shamrock /
     Steampunk's gear / Basketball's basketball. */
  :root[data-theme="baseball"] .heart-beat-icon{display:none;}
  :root[data-theme="baseball"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="baseball"] .heart-beat-symbol::before{content:'\26BE';} /* baseball */
  /* Football: swap the heart for a football glyph, same "themed VIBEZ
     symbol" technique as Halloween's bat / St. Patrick's shamrock /
     Steampunk's gear / Basketball's basketball / Baseball's baseball. */
  :root[data-theme="football"] .heart-beat-icon{display:none;}
  :root[data-theme="football"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="football"] .heart-beat-symbol::before{content:'\1F3C8';} /* football */

  :root[data-theme="soccer"] .heart-beat-icon{display:none;}
  :root[data-theme="soccer"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="soccer"] .heart-beat-symbol::before{
    /* custom SVG, not the \26BD emoji glyph - platform color-emoji fonts
       render this ball's pentagons blue on some systems, and that color
       is baked into the glyph so CSS `color` can't override it. */
    content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0NyIgZmlsbD0iI2ZmZiIgc3Ryb2tlPSIjMTExIiBzdHJva2Utd2lkdGg9IjQiLz48ZyBmaWxsPSIjMTExIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBvbHlnb24gcG9pbnRzPSI1MCwzNCA2NS4yMiw0NS4wNiA1OS40LDYyLjk0IDQwLjYsNjIuOTQgMzQuNzgsNDUuMDYiLz48cG9seWdvbiBwb2ludHM9Ijc0LjY5LDE2LjAyIDc4LjMyLDI3LjIgNjguODEsMzQuMTEgNTkuMywyNy4yIDYyLjkzLDE2LjAyIi8+PHBvbHlnb24gcG9pbnRzPSI4OS45NCw2Mi45OCA4MC40Myw2OS44OSA3MC45Miw2Mi45OCA3NC41Niw1MS44IDg2LjMxLDUxLjgiLz48cG9seWdvbiBwb2ludHM9IjUwLDkyIDQwLjQ5LDg1LjA5IDQ0LjEyLDczLjkxIDU1Ljg4LDczLjkxIDU5LjUxLDg1LjA5Ii8+PHBvbHlnb24gcG9pbnRzPSIxMC4wNiw2Mi45OCAxMy42OSw1MS44IDI1LjQ0LDUxLjggMjkuMDgsNjIuOTggMTkuNTcsNjkuODkiLz48cG9seWdvbiBwb2ludHM9IjI1LjMxLDE2LjAyIDM3LjA3LDE2LjAyIDQwLjcsMjcuMiAzMS4xOSwzNC4xMSAyMS42OCwyNy4yIi8+PC9nPjwvc3ZnPg==");
    display:inline-block;
    width:18px;
    height:18px;
    vertical-align:middle;
  } /* soccer ball */

  :root[data-theme="heavy-metal"] .heart-beat-icon{display:none;}
  :root[data-theme="heavy-metal"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="heavy-metal"] .heart-beat-symbol::before{
    /* custom SVG skull - baked image, no platform emoji-font variance. */
    content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 6 C24 6 12 26 12 44 C12 58 20 66 28 70 L28 86 L72 86 L72 70 C80 66 88 58 88 44 C88 26 76 6 50 6 Z' fill='%23dfe3ec' stroke='%2314080c' stroke-width='3'/><ellipse cx='34' cy='46' rx='11' ry='13' fill='%2314080c'/><ellipse cx='66' cy='46' rx='11' ry='13' fill='%2314080c'/><circle cx='34' cy='47' r='3.5' fill='%23e0262b'/><circle cx='66' cy='47' r='3.5' fill='%23e0262b'/><path d='M50 56 L43 70 H57 Z' fill='%2314080c'/><path d='M38 86 V74 M46 86 V74 M54 86 V74 M62 86 V74' stroke='%2314080c' stroke-width='3'/></svg>");
    display:inline-block;
    width:22px;
    height:22px;
    vertical-align:middle;
  } /* skull */

  :root[data-theme="country"] .heart-beat-icon{display:none;}
  :root[data-theme="country"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="country"] .heart-beat-symbol::before{
    /* custom SVG (lantern-amber sheriff star) - baked image, no platform emoji-font variance. */
    content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,6 61,37 94,37 67,57 77,90 50,70 23,90 33,57 6,37 39,37' fill='%23f0a840' stroke='%23fff0c8' stroke-width='3' stroke-linejoin='round'/><circle cx='50' cy='6' r='5' fill='%23f0a840'/><circle cx='94' cy='37' r='5' fill='%23f0a840'/><circle cx='77' cy='90' r='5' fill='%23f0a840'/><circle cx='23' cy='90' r='5' fill='%23f0a840'/><circle cx='6' cy='37' r='5' fill='%23f0a840'/></svg>");
    display:inline-block;
    width:20px;
    height:20px;
    vertical-align:middle;
  } /* sheriff star */

  :root[data-theme="rnb"] .heart-beat-icon{display:none;}
  :root[data-theme="rnb"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="rnb"] .heart-beat-symbol::before{
    /* custom SVG (gold vintage mic) - baked image, no platform emoji-font variance. */
    content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect x='32' y='8' width='36' height='52' rx='18' fill='%23e0b45a' stroke='%23fff0c8' stroke-width='3'/><path d='M34 24 H66 M34 34 H66 M34 44 H66' stroke='%238a6420' stroke-width='3'/><path d='M22 46 C22 70 78 70 78 46' fill='none' stroke='%23e0b45a' stroke-width='6' stroke-linecap='round'/><path d='M50 66 V84 M34 90 H66' stroke='%23e0b45a' stroke-width='7' stroke-linecap='round'/></svg>");
    display:inline-block;
    width:20px;
    height:20px;
    vertical-align:middle;
  } /* gold vintage mic */

  :root[data-theme="hip-hop"] .heart-beat-icon{display:none;}
  :root[data-theme="hip-hop"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="hip-hop"] .heart-beat-symbol::before{
    /* custom SVG (gold crown) - same reasoning as Soccer's
       ball: a baked image, so no platform emoji-font variance. */
    content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M10 76 L6 28 L30 50 L50 18 L70 50 L94 28 L90 76 Z' fill='%23e0b030' stroke='%23fff3c4' stroke-width='3' stroke-linejoin='round'/><rect x='10' y='80' width='80' height='10' rx='3' fill='%23e0b030'/></svg>");
    display:inline-block;
    width:20px;
    height:20px;
    vertical-align:middle;
  } /* crown */

  :root[data-theme="punk-rock"] .heart-beat-icon{display:none;}
  :root[data-theme="punk-rock"] .heart-beat-symbol{display:inline-block;}
  :root[data-theme="punk-rock"] .heart-beat-symbol::before{
    /* custom SVG (circled anarchy A, hot pink) - same reasoning as Soccer's
       ball: a baked image, so no platform emoji-font variance. */
    content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='44' fill='none' stroke='%23ff2d95' stroke-width='8'/><path d='M50 18 L26 84 M50 18 L74 84 M34 62 H66 M10 40 L44 52 M20 78 L52 40' fill='none' stroke='%23ff2d95' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    display:inline-block;
    width:20px;
    height:20px;
    vertical-align:middle;
  } /* anarchy A */
  @keyframes heartScale{
    0%,100%{ transform:scale(1); }
    14%{ transform:scale(1.16); }
    28%{ transform:scale(1); }
    42%{ transform:scale(1.16); }
    70%{ transform:scale(1); }
  }

  /* ---------- Theme Selector dropdown ----------
     Pinned to the header's left edge, mirroring the old switch's
     right-edge absolute-positioning trick - header{} above stays a
     centered flex row for the heart+wordmark, completely untouched, so
     this floats independently instead of joining that centered group
     (that's the "don't alter the existing layout" requirement - the
     dropdown is the one permitted addition, everything else stays put). */
  .theme-selector{
    position:absolute;
    left:1rem;
    top:50%;
    transform:translateY(-50%);
    z-index:11;
  }
  @media (max-width:520px){
    .theme-selector{left:.6rem;}
  }
  .theme-selector-btn{
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    max-width:132px;
    padding:.45rem .7rem;
    border-radius:999px;
    background:var(--glass);
    border:1px solid var(--glass-brd);
    color:var(--ink);
    font-family:var(--font-body);
    font-size:.72rem;
    font-weight:600;
    line-height:1.1;
    cursor:pointer;
    transition:transform .2s ease, border-color .2s ease, background .2s ease;
  }
  .theme-selector-btn:hover{
    border-color:var(--gold);
    background:rgba(var(--highlight-rgb),0.08);
  }
  .theme-selector-label{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .theme-selector-caret{
    flex-shrink:0;
    font-size:.65em;
    opacity:.75;
    transition:transform .2s ease;
  }
  .theme-selector-btn[aria-expanded="true"] .theme-selector-caret{transform:rotate(180deg);}
  .theme-selector-list{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    z-index:12;
    width:180px;
    max-height:340px; /* ~10 rows visible; the rest scroll (see plan) */
    overflow-y:auto;
    overscroll-behavior:contain; /* keeps the list's own scroll from
      bleeding into the main page once it hits its top/bottom edge -
      js/theme-selector.js adds a wheel-event fallback for browsers
      without overscroll-behavior support */
    list-style:none;
    margin:0;
    padding:.4rem;
    border-radius:12px;
    background:var(--void-2);
    border:1px solid var(--glass-brd);
    box-shadow:0 20px 50px -20px rgba(0,0,0,0.6);
  }
  .theme-selector-group{
    padding:.4rem .6rem .2rem;
    font-family:var(--font-mono);
    font-size:.65rem;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--ink-dim);
    opacity:.8;
  }
  .theme-selector-option{
    padding:.5rem .6rem;
    border-radius:8px;
    font-size:.78rem;
    color:var(--ink);
    cursor:pointer;
    transition:background .15s ease;
  }
  .theme-selector-option:hover,
  .theme-selector-option:focus{
    background:rgba(var(--highlight-rgb),0.08);
    outline:none;
  }
  .theme-selector-option.is-selected{
    background:var(--glass);
    color:var(--ink);
    font-weight:600;
  }

  /* ---------- user card ---------- */
  .user-info{
    position:relative;
    z-index:5;
    max-width:720px;
    margin:2.25rem auto 1.5rem;
    padding:1.5rem;
    display:flex;
    align-items:center;
    gap:1.5rem;
    background:var(--glass);
    border:1px solid var(--glass-brd);
    border-radius:18px;
    backdrop-filter:blur(16px);
    box-shadow:0 20px 60px -20px rgba(0,0,0,0.6);
  }
  .avatar-ring{
    flex-shrink:0;
    width:88px;height:88px;
    border-radius:50%;
    padding:3px;
    /* Was a hardcoded near-white tint tuned to sit against a dark card -
       invisible against light mode's light card background. var(--glass-brd)
       is already tuned per-theme to give a subtle, visible ring either way. */
    background:var(--glass-brd);
  }
  .avatar-ring img{
    width:100%;height:100%;
    border-radius:50%;
    object-fit:cover;
    display:block;
    border:3px solid var(--void);
  }
  .user-info-content{flex:1;min-width:0;}
  .username{
    font-family:var(--font-display);
    font-size:1.3em;
    display:block;
    margin-bottom:.5rem;
    letter-spacing:.5px;
  }
  .user-details{
    display:flex;
    flex-wrap:wrap;
    gap:.4rem 1.2rem;
    font-family:var(--font-mono);
    font-size:.82em;
    color:var(--ink-dim);
    margin-bottom:1rem;
  }
  .user-details strong{color:var(--ink);font-weight:500;}
  .user-actions{display:flex;gap:.75rem;flex-wrap:wrap;}
  .pill-btn{
    padding:.6rem 1.2rem;
    border-radius:999px;
    text-decoration:none;
    font-size:.85em;
    font-weight:600;
    border:1px solid transparent;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .pill-btn.primary{background:var(--cyan);color:#031018;}
  .pill-btn.primary:hover{transform:translateY(-2px);box-shadow:0 8px 24px -8px var(--cyan);}
  .pill-btn.ghost{background:transparent;border-color:var(--glass-brd);color:var(--ink);}
  .pill-btn.ghost:hover{border-color:var(--pink);color:var(--pink);transform:translateY(-2px);}

  /* ---------- module grid ---------- */
  .container{
    position:relative;
    z-index:5;
    max-width:1180px;
    margin:1.5rem auto 6rem;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
    padding:0 1.25rem;
  }

  .section{
    position:relative;
    padding:1.5rem;
    border-radius:18px;
    background:var(--glass);
    border:1px solid var(--glass-brd);
    backdrop-filter:blur(14px);
    animation:breathe 4.5s ease-in-out infinite;
    box-shadow:0 0 0 1px rgba(var(--highlight-rgb),0.02) inset;
  }
  @keyframes breathe{
    0%,100%{transform:scale(1);}
    50%{transform:scale(1.008);}
  }

  /* color identity per module, via top glow bar + button accent */
  .section::before{
    content:'';
    position:absolute;
    top:0;left:1.25rem;right:1.25rem;
    height:2px;
    border-radius:2px;
    background:var(--accent);
    box-shadow:0 0 14px var(--accent);
  }
  .section:nth-of-type(1){--accent:var(--pink);}
  .section:nth-of-type(2){--accent:var(--cyan);}
  .section:nth-of-type(3){--accent:var(--gold);}
  .section:nth-of-type(4){--accent:var(--violet);}
  .section:nth-of-type(5){--accent:var(--mint);}
  .section:nth-of-type(6){--accent:var(--orange);}

  /* "Manage You" and "Vibez" swapped DOM position (home.php) so viewers see
     Vibez right under What's Crackin', but the person asked to KEEP each
     section's original color. :nth-of-type() above assigns --accent purely
     by position, so a plain DOM swap would swap colors too. These two-class
     selectors match the same (0,2,0) specificity as the nth-of-type rules
     above and win on source order (declared after them) - identity-based
     color, independent of whichever position each section now sits in. */
  .section.section-manage-you{--accent:var(--cyan);}
  .section.section-vibez{--accent:var(--gold);}

  .section-title{
    font-family:var(--font-display);
    font-size:1.05em;
    letter-spacing:.5px;
    color:var(--accent-text, var(--accent));
    margin-bottom:1rem;
    text-align:left;
  }

  .button-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
  }

  /* compact activity hub — quiet on purpose */
  .activity-list{
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  .activity-item{
    position:relative;
    isolation:isolate;
    display:flex;
    align-items:center;
    gap:.7rem;
    padding:.6rem .7rem;
    border-radius:9px;
    text-decoration:none;
    color:var(--ink);
    opacity:0;
    overflow:visible;
    animation:fadeInRow .5s ease-out forwards;
    transition:background .25s ease, box-shadow .35s ease, transform .25s ease;
  }
  .activity-item:hover{
    background:rgba(var(--highlight-rgb),0.06);
    box-shadow:0 0 24px -9px var(--accent);
    transform:translateX(2px);
  }
  .activity-item:nth-child(1){animation-delay:.05s;}
  .activity-item:nth-child(2){animation-delay:.15s;}
  .activity-item:nth-child(3){animation-delay:.25s;}
  .activity-item:nth-child(4){animation-delay:.35s;}

  /* flowing gradient border that only wakes up on hover */
  .activity-item::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:9px;
    padding:1.5px;
    background:linear-gradient(120deg, transparent 10%, var(--accent) 40%, #fff 50%, var(--accent) 60%, transparent 90%);
    background-size:260% 260%;
    background-position:0% 50%;
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
  }
  .activity-item:hover::before{
    opacity:1;
    animation:borderFlow 1.43s linear infinite;
  }
  @keyframes borderFlow{ to{ background-position:260% 50%; } }

  .activity-icon{
    font-size:1em;
    flex-shrink:0;
    display:inline-block;
    transition:transform .35s cubic-bezier(.34,1.7,.64,1);
  }
  .activity-item:hover .activity-icon{
    transform:scale(1.35) rotate(-10deg);
  }
  .activity-text{font-size:.85em;color:var(--ink-dim);transition:color .25s ease;}
  .activity-item:hover .activity-text{color:var(--ink);}
  .activity-text strong{color:var(--ink);font-weight:600;}
  .activity-empty{font-size:.85em;color:var(--ink-dim);padding:.6rem .7rem 0;opacity:.7;}
  .activity-empty-cta{
    display:block;
    margin:.6rem .7rem 0;
    padding:.5rem .9rem;
    font-family:inherit;
    font-size:.78em;
    font-weight:600;
    color:var(--ink);
    background:rgba(var(--highlight-rgb),0.06);
    border:1px solid var(--accent);
    border-radius:8px;
    cursor:pointer;
    transition:background .2s ease, transform .2s ease;
  }
  .activity-empty-cta:hover{background:var(--accent);color:var(--void);transform:translateY(-2px);}
  .activity-empty-cta.secondary{
    background:none;
    border-color:var(--glass-brd);
    color:var(--ink-dim);
    font-weight:500;
    text-decoration:none;
  }
  .activity-empty-cta.secondary:hover{background:rgba(var(--highlight-rgb),0.06);color:var(--ink);border-color:var(--accent);transform:none;}
  @keyframes fadeInRow{
    from{opacity:0;transform:translateX(-6px);}
    to{opacity:1;transform:translateX(0);}
  }
  .view-all{
    display:inline-block;
    margin-top:.75rem;
    font-family:var(--font-mono);
    font-size:.75em;
    color:var(--accent-text, var(--accent));
    text-decoration:none;
    opacity:.85;
  }
  .view-all:hover{opacity:1;text-decoration:underline;}

  .button-grid .button{
    position:relative;
    isolation:isolate;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:58px;
    padding:.6rem;
    font-size:.78rem;
    line-height:1.25;
    font-weight:500;
    color:var(--ink);
    text-decoration:none;
    border-radius:10px;
    background:rgba(var(--void-2-rgb),0.62);
    border:1px solid var(--glass-brd);
    cursor:pointer;
    opacity:0;
    overflow:visible;
    animation-name:flyIn;
    animation-duration:var(--dur, .8s);
    animation-timing-function:cubic-bezier(.2,.8,.2,1);
    animation-delay:var(--delay, 0s);
    animation-fill-mode:forwards;
    transition:border-color .25s ease, background .25s ease, transform .25s ease;
  }
  :root:not([data-theme="candy"], [data-theme="easter"], [data-theme="steampunk"], [data-theme="construction"], [data-theme="valentines"]) .button-grid .button:hover{
    border-color:var(--accent);
    background:rgba(var(--highlight-rgb),0.08);
    transform:translateY(-3px) !important;
    box-shadow:0 10px 24px -12px var(--accent);
  }

  /* light trail dragging behind each button as it flies in */
  .button-grid .button::before{
    content:'';
    position:absolute;
    inset:-8px;
    z-index:-1;
    border-radius:14px;
    background:radial-gradient(circle, var(--accent) 0%, transparent 72%);
    filter:blur(7px);
    opacity:0;
    pointer-events:none;
    animation-name:trailFly;
    animation-duration:calc(var(--dur, .8s) + .39s);
    animation-timing-function:ease-out;
    animation-delay:var(--delay, 0s);
    animation-fill-mode:forwards;
  }
  @keyframes trailFly{
    0%{ opacity:.65; transform:translate(var(--start-x),var(--start-y)) scale(1.3); }
    75%{ opacity:.3; }
    100%{ opacity:0; transform:translate(0,0) scale(.55); }
  }

  /* burst of particles thrown off on hover */
  .particle-burst{
    position:absolute;
    top:50%;left:50%;
    width:3px;height:3px;
    margin:-1.5px 0 0 -1.5px;
    border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 6px 1px var(--accent);
    opacity:1;
    pointer-events:none;
    animation:burstOut .6s ease-out forwards;
  }
  @keyframes burstOut{
    0%{ opacity:1; transform:rotate(var(--a,0deg)) translateX(0) scale(1); }
    100%{ opacity:0; transform:rotate(var(--a,0deg)) translateX(var(--dist,30px)) scale(.25); }
  }

  /* firework burst that fires the moment each button lands */
  .firework-flash{
    position:absolute;
    top:50%;left:50%;
    width:10px;height:10px;
    margin:-5px 0 0 -5px;
    border-radius:50%;
    background:radial-gradient(circle, #fff 0%, var(--accent) 45%, transparent 72%);
    opacity:.95;
    pointer-events:none;
    animation:flashPop .44s ease-out forwards;
  }
  @keyframes flashPop{
    0%{ transform:scale(0); opacity:1; }
    60%{ opacity:.55; }
    100%{ transform:scale(4.2); opacity:0; }
  }
  .particle-firework{
    position:absolute;
    top:50%;left:50%;
    width:3px;height:3px;
    margin:-1.5px 0 0 -1.5px;
    border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 7px 1.5px var(--accent);
    opacity:1;
    pointer-events:none;
    animation:fireworkOut .77s cubic-bezier(.15,.8,.3,1) forwards;
  }
  @keyframes fireworkOut{
    0%{ opacity:1; transform:rotate(var(--a,0deg)) translateX(0) scale(1); }
    70%{ opacity:1; }
    100%{ opacity:0; transform:rotate(var(--a,0deg)) translateX(var(--dist,45px)) scale(.15); }
  }

  @keyframes flyIn{
    0%{ opacity:0; transform:translate(var(--start-x),var(--start-y)) rotate(var(--spin,360deg)) rotateY(360deg); }
    100%{ opacity:1; transform:translate(0,0) rotate(0deg) rotateY(0deg); }
  }

  /* Locks in the flyIn entrance's held end-state (opacity:1) as a plain
     class instead of leaving it riding on flyIn's own
     animation-fill-mode:forwards - js/home.js adds this class the moment
     flyIn's animationend fires. Needed because a per-theme :hover rule
     that assigns its own animation (Rainbows' rainbowShimmer, Construction's
     constructionJackhammer) reassigns animation-name away from "flyIn"
     while hovering; without a plain, non-animation-driven opacity:1 and a
     resting animation-name of "none" to fall back to, un-hovering
     reassigns animation-name back to "flyIn", which RESTARTS it from its
     0% keyframe (opacity:0, off-screen position/rotation) instead of
     just sitting idle at its already-finished end state - i.e. the button
     vanishes the moment a themed hover animation binds, then replays its
     whole entrance on mouseleave. (0,3,0) specificity - higher than the
     base .button-grid .button rule (0,2,0) so it wins there, and higher
     than any single-class rule like .wiggle-btn (0,1,0) so it can't be
     accidentally shadowed by one. */
  .button-grid .button.landed{
    opacity:1;
    animation:none;
  }

  /* 2026-11-14: home.php adds html.fly-wait in <head>; js/home.js removes it
     right after it has set every button's --start-x/--start-y/--dur/--delay.
     Paused (not removed) so the fly-in plays from its start when released,
     instead of having already run out while the page's scripts loaded. */
  html.fly-wait .button-grid .button,
  html.fly-wait .button-grid .button::before{
    animation-play-state:paused;
  }

  /* landing wiggle — applied via JS to the Make Post button once it settles */
  .wiggle-btn{
    animation-name:wobble;
    animation-duration:.5s;
    animation-timing-function:ease-in-out;
    animation-iteration-count:1;
  }
  @keyframes wobble{
    0%,100%{transform:translateX(0);}
    25%{transform:translateX(-6px) rotate(-2deg);}
    50%{transform:translateX(6px) rotate(2deg);}
    75%{transform:translateX(-4px) rotate(-1deg);}
  }

  /* ---------- signature: vinyl record ---------- */
  /* Redesigned 2026-09-23 (user: "look more like an actual vinyl record
     black wax with a red label") - was a full-disc rainbow holographic
     conic-gradient with just a tiny spindle-hole dot, not read as a record
     at all. Now: dark radial-gradient "wax" body with a soft off-center
     gloss highlight (::vinyl itself), the existing fine groove-ring
     texture unchanged (::before, still reads fine over black), and a
     round red paper label (::after) - the label layers a small black
     spindle-hole dot ON TOP of a red radial-gradient (its own gloss
     highlight + darker rim), both stacked as multiple backgrounds on the
     one pseudo-element so no extra markup/child div is needed here. Same
     ~40%-of-diameter label proportion as a real 7"/12" single. */
  .vinyl-dock{
    position:fixed;
    bottom:0;left:50%;
    transform:translateX(-50%);
    z-index:8;
    pointer-events:none;
  }
  .vinyl{
    width:96px;height:96px;
    border-radius:50%;
    position:relative;
    background:
      radial-gradient(circle at 38% 32%, rgba(255,255,255,0.14) 0%, transparent 40%),
      radial-gradient(circle at 50% 50%, #2b2b2b 0%, #111111 55%, #050505 100%);
    box-shadow:0 0 30px -6px rgba(255,255,255,0.14), 0 10px 28px -8px rgba(0,0,0,0.65);
    animation:vinylRise 2.4s ease-in-out 3.2s forwards, vinylSpin 3.5s linear 3.2s infinite;
    opacity:0;
  }
  .vinyl::before{
    content:'';
    position:absolute;inset:8px;
    border-radius:50%;
    background:repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0 1px, transparent 1px 4px);
  }
  .vinyl::after{
    content:'';
    position:absolute;
    width:38px;height:38px;
    top:50%;left:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:
      radial-gradient(circle at 50% 50%, #000 0 3px, transparent 3.5px),
      radial-gradient(circle at 40% 35%, #e0454f 0%, #c4232f 45%, #8f1620 100%);
    box-shadow:0 0 0 2px rgba(0,0,0,0.4);
  }
  @keyframes vinylSpin{ to{ transform:translateX(-50%) rotate(360deg); } }
  @keyframes vinylRise{
    0%{ bottom:-100px; opacity:0; }
    22%{ bottom:-30px; opacity:1; }
    78%{ bottom:-30px; opacity:1; }
    100%{ bottom:-100px; opacity:0; }
  }

  @media (prefers-reduced-motion:reduce){
    *{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important;}
    .button-grid .button{opacity:1; transform:none;}
    :root[data-theme="candy"] .button-grid .button:hover{transform:translateY(-3px) !important;}
    :root[data-theme="easter"] .button-grid .button:hover{transform:translateY(-3px) !important;}
    :root[data-theme="steampunk"] .button-grid .button:hover{transform:translateY(-3px) !important;}
    :root[data-theme="construction"] .button-grid .button:hover{transform:translateY(-3px) !important;}
    :root[data-theme="valentines"] .button-grid .button:hover{transform:translateY(-3px) !important;}
    .particle-burst{display:none;}
    .water-drop,.plant-sprout,.coin-fall,.leaf-swirl,.spring-vine,.spring-bud,.spring-leaf,.winter-frost,.water-splash,.love-heart,.firework-flash,.firework-spark,.cash-fan-bill,.mem-honor-star,.nye-confetti,.nye-coin,.nye-spark,.bed-sparkle,.eas-egg-burst,.dad-mvp,.mom-bloom,.steam-puff,.bball-bounce,.baseball-roll,.football-drop,.soccer-roll,.metal-ember,.hh-bling,.rnb-petal,.cty-firefly,.hw-spider{display:none;}
  }

  @media (max-width:820px){
    .container{grid-template-columns:1fr;}
  }
  @media (max-width:520px){
    .user-info{flex-direction:column;text-align:center;padding:1.25rem;}
    .user-details{justify-content:center;}
    .button-grid{grid-template-columns:repeat(2,1fr);}
    .wordmark{font-size:1.05em;}
    .vinyl{width:74px;height:74px;}
  }

/* A closed <select> happily picks up whatever dark/translucent styling a
   page gives it, but its OPEN dropdown list is rendered by the OS/browser,
   not this stylesheet - without an explicit background-color + color here,
   most browsers render that list on a light/white system background by
   default regardless of the select's own color, so light-on-light or
   dark-on-dark depending on what got set. This exact bug has already been
   patched page-by-page (css/groups.css has its own copy) - promoted here,
   loaded on every single page, so it can't recur on some future page that
   adds a <select> and never thinks to re-fix this. */
select option {
    background-color: var(--void);
    color: var(--ink);
}


/* Multi-Language (PLANS.md): minimal RTL support for Arabic. Only the
   base direction/alignment + the one shared dropdown menu that's
   genuinely broken if left mirrored the wrong way (it would render
   off-screen past the right edge in a right-to-left layout) - this is a
   first pass, not a full mirrored redesign of every component. */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .vibez-post-menu-dropdown {
    right: auto;
    left: 0;
}

/* ---------- Theme Selector: per-theme effect overrides ----------
   Token colors above handle most of the re-theming for free (every rule
   in this file already reads through var(--...)). What's left is the
   handful of effects that aren't simple color swaps. */

/* Light Mode's ambient background glow was never actually themed - it was
   still rendering Dark Mode's own bright, fully-saturated pink/cyan/violet
   blobs (see the base .glow-field rule above) on top of Light's pale
   void gradient, and since .section's own fill (--glass) is only ~3.5%
   opaque, those wrong blob colors dominated nearly everything on the page
   showing through it. Ported straight from proposed_themes/
   vibez-light-theme.html's own .vl-glow: four much softer pastel radials,
   no hue-rotate animation (the reference doesn't animate its glow either -
   a hue-shifting pastel wash reads as more unsettled than Dark Mode's
   version, which is saturated enough to read as intentional motion). */
:root[data-theme="light"] .glow-field{
  background:
    radial-gradient(600px 420px at 8% 4%, rgba(157,78,244,0.16), transparent 60%),
    radial-gradient(650px 460px at 92% 10%, rgba(255,79,168,0.14), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(59,130,246,0.12), transparent 62%),
    radial-gradient(500px 380px at 30% 90%, rgba(255,196,0,0.14), transparent 60%),
    linear-gradient(180deg, var(--void) 0%, var(--void-2) 100%);
  animation:none;
}

/* Halloween's background is a real photo (site_assets/background_themed/
   helloween.png), not a generated gradient - per PLAN_THEMES_HOME.md's
   "Background Haze" rule, no dark overlay/tint sits on top of it, so the
   two radial glows are the only thing layered over the image itself. Also
   turns off driftGlow's hue-rotate animation here: hue-shifting a real
   photo over time reads as a color bug, not an effect, and the plan is
   explicit that a themed background's true colors/brightness must stay
   visible - a real photo needs this even where a plain gradient
   background (Dark/Light) doesn't. Same background-position/size/
   attachment behavior as profile.php's uploaded backgrounds (center/cover,
   no-repeat, fixed), per the plan's "Background Behavior" requirement. */
:root[data-theme="halloween"] .glow-field{
  background:
    radial-gradient(550px 390px at 14% 13%, rgba(224,107,26,0.18), transparent 62%),
    radial-gradient(620px 480px at 86% 16%, rgba(167,25,34,0.15), transparent 63%),
    url('../site_assets/background_themed/helloween.png') center top / cover no-repeat fixed;
  animation:none;
}

/* Re-reading the Halloween reference while building St. Patrick's Day
   below turned up a gap it shares with Light Mode's original miss: the
   reference's own .halloween-section:hover DOES lift + border-glow the
   whole card, same as every other reference file checked so far - this
   was never ported. Retrofitted here rather than left for a future
   session to re-discover. */
:root[data-theme="halloween"] .section{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
:root[data-theme="halloween"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--orange);
  box-shadow:0 14px 30px -20px rgba(224,107,26,0.85);
}

/* St. Patrick's Day background: site_assets/background_themed/stpatricks.jpg,
   no haze (same "Background Haze" rule as Halloween) - the reference's own
   page-bg layer has no dark overlay to begin with, so nothing to strip
   here, just the two radial glows on top of the photo. */
:root[data-theme="st-patricks"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(46,204,113,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(255,215,0,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(255,140,26,0.14), transparent 62%),
    url('../site_assets/background_themed/stpatricks.jpg') center center / cover no-repeat fixed;
  animation:none;
}
:root[data-theme="st-patricks"] .section{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
:root[data-theme="st-patricks"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--gold);
  box-shadow:0 14px 30px -20px rgba(255,215,0,0.85);
}

/* Gardening background: site_assets/background_themed/gardening.png, same
   no-haze treatment. */
:root[data-theme="gardening"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(92,138,58,0.2), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(193,101,47,0.16), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(232,185,58,0.18), transparent 62%),
    url('../site_assets/background_themed/gardening.png') center center / cover no-repeat fixed;
  animation:none;
}

/* "The button flyin effect should persist minus the firework burst in the
   middle" (PLAN_THEMES_HOME.md) - applies to every theme except Dark Mode,
   which IS the current, already-shipped site and stays pixel-for-pixel
   as-is. flyIn/trailFly (the fly-in entrance + its light trail) are
   untouched; only the landing flash/particles (js/home.js spawns
   .firework-flash/.particle-firework on each button's animationend) are
   suppressed, purely in CSS so no JS branching on theme is needed. */
:root:not([data-theme="dark"]) .firework-flash,
:root:not([data-theme="dark"]) .particle-firework{
  display:none;
}

/* ---------- Theme Selector: per-theme button/pill hover treatments ----------
   Token colors alone only re-tint the shared hover (still just border+bg+
   shadow via var(--accent)). The proposed theme files show a genuinely
   different hover TREATMENT per theme - a diagonal shine sweep instead of
   Dark Mode's JS-spawned spark particles, plus (Light) a gradient fill with
   inverted text instead of a flat tint. This section ports those, theme by
   theme, straight from proposed_themes/ - Dark Mode's own hover (particle
   bursts, flat tint) is completely untouched, still the only theme using it.

   Sources: proposed_themes/vibez-light-theme.html (.vl-tile/.vl-pill),
   proposed_themes/halloween-midnight-harvest.html (.halloween-tile/
   .halloween-pill). */

/* home.js spawns .particle-burst on hover for both button-grid buttons and
   activity-item rows (mouseenter listener, shared code path) - a Dark Mode
   flourish with no equivalent in any reference theme, which use a shine
   sweep instead (below). Suppressing it here, same technique as the
   landing-firework suppression already in place. */
:root:not([data-theme="dark"]) .particle-burst{
  display:none;
}

/* Clip the new sweep to each tile's own rounded rect. Dark Mode keeps
   overflow:visible (untouched) so its light-trail entrance effect still
   bleeds past the edges exactly as before; the other themes' reference
   tiles are drawn with overflow:hidden from the start, so clipping their
   (now-hidden) firework/particle remnants along with it is correct, not
   a loss. */
:root:not([data-theme="dark"]) .button-grid .button{
  overflow:hidden;
}
:root:not([data-theme="dark"]) .button-grid .button::after{
  content:'';
  position:absolute;
  inset:0;
  transform:translateX(-135%);
  transition:transform .45s ease;
  pointer-events:none;
}
:root:not([data-theme="dark"]) .button-grid .button:hover::after{
  transform:translateX(135%);
}

/* Light Mode - .vl-tile: sweep is a plain white streak. Hover fill is
   ported as the reference's own EXACT per-section two-tone gradients
   (#b672f7->#7a2fd9 etc - these are their own distinct hex pairs, not a
   lighten/darken of the section's --accent token) since the reference
   only defines 4 accent roles; the two sections it doesn't cover
   (Upgrade/mint, Top of the Vibez/orange) fall back to a color-mix()
   generalization in the same spirit. See the --accent/--accent-text
   role-mapping block below for which real section carries which of the
   reference's 4 roles - it does NOT match dark mode's nth-of-type
   rotation (that mapping was never checked against this reference either,
   see PLAN_THEMES_HOME.md's 2026-08-29 third follow-up). */
:root[data-theme="light"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.9) 50%, transparent 67%);
}
:root[data-theme="light"] .button-grid .button:hover{
  z-index:1;
  border-color:transparent;
  color:#fff;
  /* default/violet section (activity) - reference's un-classed .vl-section */
  background:linear-gradient(120deg,#b672f7,#7a2fd9);
  box-shadow:0 12px 24px -10px rgba(157,78,244,0.55);
}
:root[data-theme="light"] .section-vibez .button-grid .button:hover{
  /* pink section (Vibez) */
  background:linear-gradient(120deg,#ff7ac0,#e0338c);
  box-shadow:0 12px 24px -10px rgba(255,79,168,0.55);
}
:root[data-theme="light"] .section-manage-you .button-grid .button:hover{
  /* blue/cyan section (Manage You) */
  background:linear-gradient(120deg,#60a5fa,#2563eb);
  box-shadow:0 12px 24px -10px rgba(59,130,246,0.55);
}
:root[data-theme="light"] .section:nth-of-type(4) .button-grid .button:hover{
  /* gold section (Vibezmart) - the reference's one section with dark hover text */
  background:linear-gradient(120deg,#ffd54f,#d99a00);
  box-shadow:0 12px 24px -10px rgba(255,196,0,0.55);
  color:#3a2c00;
}
:root[data-theme="light"] .section:nth-of-type(5) .button-grid .button:hover,
:root[data-theme="light"] .section:nth-of-type(6) .button-grid .button:hover{
  /* mint/orange - not in the reference (only 4 roles exist there) */
  background:var(--accent); /* fallback for browsers without color-mix() */
  background:linear-gradient(120deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent));
  box-shadow:0 12px 24px -10px var(--accent);
}

/* Halloween - .halloween-tile: sweep is a warm cream streak; hover is a
   flat orange fill/glow (the reference uses the same orange across every
   section's tiles regardless of that section's own top-bar accent color -
   matched here rather than generalized to var(--accent), to stay faithful
   to the actual reference file). */
:root[data-theme="halloween"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,232,190,0.16) 50%, transparent 67%);
}
:root[data-theme="halloween"] .button-grid .button:hover{
  z-index:1;
  border-color:var(--orange);
  background:rgba(224,107,26,0.13); /* --orange (#e06b1a) at .13 alpha - no --orange-rgb token exists, keep in sync with --orange above if that hex ever changes */
  box-shadow:0 10px 24px -12px var(--orange);
}

/* .pill-btn (View Profile / Log Out on the profile card) - reference
   .vl-pill/.halloween-pill both add a shine-sweep no version of .pill-btn
   has ever had. position/overflow are safe to set unconditionally (Dark
   Mode has no pseudo-element here, so this is a no-op for it); the sweep
   itself and the hover color override are still theme-scoped so Dark Mode's
   plain lift+glow hover stays exactly as it is. */
.pill-btn{
  position:relative;
  overflow:hidden;
}
:root:not([data-theme="dark"]) .pill-btn::before{
  content:'';
  position:absolute;
  inset:0;
  transform:translateX(-125%);
  transition:transform .45s ease;
  pointer-events:none;
}
:root:not([data-theme="dark"]) .pill-btn:hover::before{
  transform:translateX(125%);
}
:root[data-theme="light"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="halloween"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,232,190,0.24) 49%, transparent 70%);
}
:root[data-theme="light"] .pill-btn:hover{
  border-color:var(--violet);
  box-shadow:0 8px 22px -8px var(--violet);
}
:root[data-theme="light"] .pill-btn.ghost:hover{
  color:var(--violet);
}
:root[data-theme="halloween"] .pill-btn:hover{
  border-color:var(--orange);
  box-shadow:0 8px 24px -8px var(--orange);
}
:root[data-theme="halloween"] .pill-btn.ghost:hover{
  color:var(--orange);
}

/* ---------- Halloween: wrought-iron gate borders + tombstone buttons (2026-10-06) ----------
   Second pass on this existing theme (palette/tokens above are untouched).
   Graveyard-gate language taken from the photo (iron fence, brick posts,
   lanterns, cobwebs, jack-o'-lantern glow):
     - cards: forge-hot iron border (border-image: orange rim fading to rust
       and soot, so square corners), a row of iron fence-spear pickets along
       the top edge (::after, 45deg/315deg gradient pair = up-pointing
       triangles, same trick as Heavy Metal's hanging teeth, flipped), a
       cobweb in the top-right corner (two background layers on the card:
       repeating-conic spokes + repeating-radial rings, 90px box pinned to
       the corner so only one quarter shows), and a darker 84% backing so the
       web and text read over the photo's lantern/pumpkin hot-spots;
     - titles: a pumpkin before, orange ember text-glow;
     - buttons: tombstones (rounded arch top, flat base, soot-stone gradient,
       rust edge); hover = candle ignition (an orange glow rises from the
       base via the shared sweep ::after re-pointed to a radial fade +
       z-index:-1), the edge goes pumpkin orange, the label warms and gets an
       ember text-shadow, and js/home.js lowers a spider on a silk thread
       (.hw-spider) that dangles then climbs back.
   No transform/animation is put on the buttons themselves (hover lift is the
   shared rule's), so the flyIn entrance race can't recur. */
:root[data-theme="halloween"] .user-info,
:root[data-theme="halloween"] .section{
  border:2px solid transparent;
  border-image:linear-gradient(180deg,#e06b1a 0%,#7a3510 35%,#2c1a12 100%) 1;
  border-radius:0;
  background:
    repeating-radial-gradient(circle at 100% 0, transparent 0 13px, rgba(226,214,200,0.20) 13px 14px) right top/92px 92px no-repeat,
    repeating-conic-gradient(from 180deg at 100% 0, rgba(226,214,200,0.22) 0 0.8deg, transparent 0.8deg 15deg) right top/92px 92px no-repeat,
    linear-gradient(180deg, rgba(224,107,26,0.05), transparent 40%),
    rgba(10,6,8,0.84);
}
:root[data-theme="halloween"] .section{
  margin-top:10px;
  box-shadow:inset 0 0 36px -22px var(--accent), 0 14px 30px -20px #000;
}
:root[data-theme="halloween"] .user-info{
  margin-top:3rem;
  box-shadow:inset 0 0 36px -22px var(--orange), 0 14px 30px -20px #000;
}
:root[data-theme="halloween"] .section:hover{
  border-image:linear-gradient(180deg,#ff8a2a 0%,#b5501a 40%,#3a2216 100%) 1;
  box-shadow:inset 0 0 48px -16px var(--orange), 0 0 26px -8px rgba(224,107,26,0.7), 0 14px 30px -20px #000;
}
/* Iron fence pickets above the top edge (spear tips). */
:root[data-theme="halloween"] .user-info::after,
:root[data-theme="halloween"] .section::after{
  content:'';
  position:absolute;
  left:-2px;right:-2px;
  top:-13px;
  height:11px;
  pointer-events:none;
  background:
    linear-gradient(45deg,#8a4a28 25%,transparent 25%) 0 0/11px 11px,
    linear-gradient(315deg,#4a2a1c 25%,transparent 25%) 0 0/11px 11px;
}
:root[data-theme="halloween"] .section:nth-of-type(1){--accent-text:#f26a6c;}
:root[data-theme="halloween"] .section-vibez{--accent-text:#f2bc52;}
:root[data-theme="halloween"] .section-manage-you{--accent-text:#93d3ab;}
:root[data-theme="halloween"] .section:nth-of-type(4){--accent-text:#bf9fdc;}
:root[data-theme="halloween"] .section:nth-of-type(5){--accent-text:#b9d77f;}
:root[data-theme="halloween"] .section:nth-of-type(6){--accent-text:#f79c4c;}
:root[data-theme="halloween"] .section::before{
  left:0;right:0;
  height:2px;
  border-radius:0;
  background:linear-gradient(90deg,transparent,var(--accent) 22%,var(--accent) 78%,transparent);
  box-shadow:0 0 12px 0 var(--accent);
}
:root[data-theme="halloween"] .section-title{
  letter-spacing:2px;
  text-shadow:0 0 14px rgba(224,107,26,0.55), 0 2px 0 #000;
}
:root[data-theme="halloween"] .section-title::before{
  content:'\1F383';
  font-size:.9em;
  margin-right:.5em;
  text-shadow:none;
}
:root[data-theme="halloween"] header{
  background:rgba(9,7,10,0.9);
  border-bottom:2px solid transparent;
  border-image:linear-gradient(90deg,#2c1a12,#e06b1a 50%,#2c1a12) 1;
}

/* ----- Buttons: tombstones + candle-ignition hover ----- */
:root[data-theme="halloween"] .button-grid .button{
  border:2px solid #5a3220;
  border-radius:16px 16px 3px 3px;
  background:linear-gradient(180deg,#2a1e22 0%,#130c0e 100%);
  color:#efe2d2;
  letter-spacing:.04em;
  font-weight:600;
  box-shadow:inset 0 2px 0 rgba(255,232,200,0.07), 0 4px 10px -6px #000;
  transition:border-color .25s ease, background .3s ease, color .25s ease, text-shadow .25s ease, box-shadow .3s ease, transform .25s ease;
}
:root[data-theme="halloween"] .button-grid .button.button-empty{
  background:rgba(19,12,14,0.55);
  border:2px dashed rgba(90,50,32,0.45);
  box-shadow:none;
}
:root[data-theme="halloween"] .button-grid .button::after{
  z-index:-1;
  inset:0;
  transform:none;
  opacity:0;
  transition:opacity .4s ease;
  background:radial-gradient(ellipse at 50% 115%,rgba(255,150,40,0.75) 0%,rgba(224,107,26,0.38) 42%,transparent 75%);
}
:root[data-theme="halloween"] .button-grid .button:hover::after{
  transform:none;
  opacity:1;
}
:root[data-theme="halloween"] .button-grid .button:hover{
  border-color:#ff8a2a;
  background:linear-gradient(180deg,#34211f 0%,#1a0e0e 100%);
  color:#fff1dc;
  text-shadow:0 0 10px rgba(255,140,40,0.9), 0 1px 0 #000;
  box-shadow:inset 0 2px 0 rgba(255,232,200,0.12), 0 10px 22px -10px var(--orange);
}
:root[data-theme="halloween"] .button-grid .button.button-empty:hover{
  box-shadow:none; border-color:rgba(90,50,32,0.45); text-shadow:none;
}
:root[data-theme="halloween"] .button-grid .button.button-empty::after{display:none;}

/* A spider lowered on a silk thread over a hovered tile/pill - js/home.js
   ('halloween' branch), self-removing on animationend. The thread is the
   element itself (width:1px, height animated); the spider is its ::after. */
.hw-spider{
  position:absolute;
  top:0;
  left:var(--x,50%);
  width:1px;
  height:0;
  background:linear-gradient(180deg,rgba(235,225,212,0.1),rgba(235,225,212,0.75));
  pointer-events:none;
  z-index:3;
  animation:hwSpiderDrop var(--t,1.6s) cubic-bezier(.3,.7,.4,1) var(--d,0s) forwards;
}
.hw-spider::after{
  /* hand-drawn SVG spider (body + 8 legs) - not the U+1F577 emoji, which is
     text-presentation on many systems and renders as a blank/monochrome box. */
  content:'';
  position:absolute;
  left:50%;
  top:100%;
  width:var(--s,16px);
  height:var(--s,16px);
  transform:translate(-50%,-25%);
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23e9dcc8' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'><path d='M42 46 L20 28 L8 38'/><path d='M40 52 L14 54 L6 68'/><path d='M42 58 L22 76 L14 92'/><path d='M46 62 L38 84 L34 98'/><path d='M58 46 L80 28 L92 38'/><path d='M60 52 L86 54 L94 68'/><path d='M58 58 L78 76 L86 92'/><path d='M54 62 L62 84 L66 98'/></g><ellipse cx='50' cy='62' rx='17' ry='22' fill='%23140b0d' stroke='%23e9dcc8' stroke-width='4'/><circle cx='50' cy='38' r='11' fill='%23140b0d' stroke='%23e9dcc8' stroke-width='4'/><circle cx='46' cy='36' r='2' fill='%23ff5a2a'/><circle cx='54' cy='36' r='2' fill='%23ff5a2a'/></svg>") center/contain no-repeat;
  filter:drop-shadow(0 0 2px rgba(0,0,0,0.9));
}
@keyframes hwSpiderDrop{
  0%{ height:0; opacity:0; }
  10%{ opacity:1; }
  45%{ height:var(--drop,30px); }
  62%{ height:calc(var(--drop,30px) - 5px); }
  74%{ height:var(--drop,30px); }
  100%{ height:0; opacity:0; }
}

/* ----- Pills ----- */
:root[data-theme="halloween"] .pill-btn{
  letter-spacing:.05em;
}
:root[data-theme="halloween"] .pill-btn.primary{
  background:linear-gradient(180deg,#f07a22,#b8470f);
  color:#1a0b05;
  font-weight:800;
}


/* ---------- Light Mode: full re-match against vibez-light-theme.html ----------
   Second correction pass. The first pass only fixed accidentally-hardcoded
   Dark Mode literals; it never actually checked the *reference file's own
   role/color mapping and component treatments* against what's here. That
   checking is what this section is. */

/* Section accent + accent-TEXT role mapping. The reference only defines 4
   accent roles (default/violet, pink, blue, gold) tied to specific
   sections by name - "What's Happening"=default/violet, "Vibez"=pink,
   "Manage You"=blue, "Vibezmart"=gold - which is a DIFFERENT pairing than
   Dark Mode's own nth-of-type rotation (pink/cyan/gold/violet/mint/orange)
   this file already had. Re-paired here for Light Mode specifically,
   using our token names (--cyan holds the reference's "blue" hue, see the
   light token block above). --accent-text is a second, darker tone used
   ONLY for text (.section-title/.view-all below) - the reference never
   uses its vivid fill colors directly as text, it has its own darker
   version of each (e.g. --gold's #ffc400 fill vs. #b78600 title text) for
   contrast against a white page. Upgrade/Top-of-the-Vibez have no
   reference equivalent (it only shows 4 sections) - extended in the same
   style. */
:root[data-theme="light"] .section:nth-of-type(1){--accent:var(--violet); --accent-text:#7a3ad4;}
:root[data-theme="light"] .section-vibez{--accent:var(--pink); --accent-text:#e0338c;}
:root[data-theme="light"] .section-manage-you{--accent:var(--cyan); --accent-text:#2563eb;}
:root[data-theme="light"] .section:nth-of-type(4){--accent:var(--gold); --accent-text:#b78600;}
:root[data-theme="light"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#15803d;}
:root[data-theme="light"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#c2410c;}

/* Gardening's 4 reference roles: default/green="What's Happening",
   terracotta="Vibez", yellow="Manage You", brown="Vibezmart". A light
   theme, so --accent-text is DARKER than the fill, same reasoning as
   Light Mode's. Upgrade/Top-of-the-Vibez extended in the same style. */
:root[data-theme="gardening"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#3f6b22;}
:root[data-theme="gardening"] .section-vibez{--accent:var(--cyan); --accent-text:#9c4a1e;}
:root[data-theme="gardening"] .section-manage-you{--accent:var(--gold); --accent-text:#a8860a;}
:root[data-theme="gardening"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#4a2f18;}
:root[data-theme="gardening"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#0369a1;}
:root[data-theme="gardening"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#be185d;}

/* St. Patrick's Day's 4 reference roles: deep-green="What's Happening",
   green/default="Vibez", gold="Manage You", orange="Vibezmart". A dark
   theme, so --accent-text is LIGHTER than the fill, same reasoning as
   Halloween's would be if it had one. Upgrade/Top-of-the-Vibez extended
   in the same style. */
:root[data-theme="st-patricks"] .section:nth-of-type(1){--accent:var(--violet); --accent-text:#3fbf75;}
:root[data-theme="st-patricks"] .section-vibez{--accent:var(--pink); --accent-text:#4fdd8c;}
:root[data-theme="st-patricks"] .section-manage-you{--accent:var(--gold); --accent-text:#ffe066;}
:root[data-theme="st-patricks"] .section:nth-of-type(4){--accent:var(--cyan); --accent-text:#ffab5c;}
:root[data-theme="st-patricks"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#7dd3fc;}
:root[data-theme="st-patricks"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#f9a8d4;}

/* St. Patrick's Day's "see everything" link is a fixed gold, per the
   reference (.stp-see), regardless of which section's --accent-text it
   would otherwise inherit - the one theme so far that doesn't tie this
   link to its own section's color. */
:root[data-theme="st-patricks"] .view-all{color:var(--gold);}

/* Wordmark: reference is a 4-stop violet/pink/blue/gold shimmer, not the
   shared 3-stop pink/gold/cyan gradient every other theme uses. */
:root[data-theme="light"] .wordmark{
  /* The `background` shorthand resets EVERY background sub-property it
     doesn't mention - including background-clip, back to its default
     border-box. The base .wordmark rule relies on background-clip:text to
     turn this gradient into the word's own fill instead of a solid block;
     omitting it here silently broke that, which is why the word "VIBEZ"
     disappeared into a plain gradient rectangle. Re-declaring clip+color
     alongside the gradient every time, not just once in the base rule. */
  background:linear-gradient(90deg, var(--violet), var(--pink), var(--cyan), var(--gold));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Avatar ring: reference's .vl-avatar is a 4-color conic rainbow, not the
   shared flat --glass-brd ring. */
:root[data-theme="light"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--violet), var(--pink), var(--cyan), var(--gold), var(--violet));
}

/* Gardening - own 4-stop wordmark (green,terracotta,yellow,brown), the
   shared 3-stop rule can't fit a 4th color. Re-declares background-clip/
   color alongside the gradient (see the wordmark background-clip bug note
   near the base .wordmark rule - the `background` shorthand silently
   resets it otherwise). Static, no scrolling animation, per this
   session's wordmark decision. */
:root[data-theme="gardening"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="gardening"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--gold));
}

/* St. Patrick's Day needs no wordmark override - --pink/--gold/--cyan
   above already hold green/gold/orange in the right order, so the shared
   3-stop .wordmark rule already matches the reference exactly. */
:root[data-theme="st-patricks"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--gold));
}

/* Profile card + section cards: reference uses solid white cards with a
   soft, slightly colored drop shadow - not our shared "glass panel +
   heavy black shadow" look (--glass is now near-opaque white already, see
   the token block, so only the shadows need overriding here). Section
   cards also get the reference's hover lift, which none of our sections
   had before at all. */
:root[data-theme="light"] .user-info{
  box-shadow:0 20px 46px -22px rgba(var(--violet-rgb),0.35), 0 4px 16px -6px rgba(28,27,41,0.08);
}
:root[data-theme="light"] .section{
  box-shadow:0 14px 34px -22px rgba(28,27,41,0.18);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none; /* reference's cards are static, not pulsing */
}
:root[data-theme="light"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(28,27,41,0.24);
}

/* "View Profile" (.pill-btn.primary): reference is a violet->pink
   gradient with white text/bold weight, not the shared solid-cyan/dark-
   text treatment (which is Dark Mode's own high-contrast-on-near-black
   design). */
:root[data-theme="light"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--violet), var(--pink));
  color:#fff;
  font-weight:700;
}
:root[data-theme="light"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.6);
}
/* pill hover glow now resolves correctly now that --violet is the
   reference's actual vivid hue, just tightened to the reference's own
   semi-transparent glow instead of a flat opaque one. */
:root[data-theme="light"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(var(--violet-rgb),0.5);
}

/* Activity row hover: reference tints with the section's own accent
   (always violet here - "What's Happening" is the one section this
   activity list lives in), not a flat dark/light highlight. */
:root[data-theme="light"] .activity-item:hover{
  background:rgba(var(--violet-rgb),0.08);
}

/* ---------- Gardening + St. Patrick's Day: cards, pills, tiles, activity ----------
   Same property-by-property approach used for Light Mode's second pass -
   see PLAN_THEMES_HOME.md's lesson 3. Gardening is architecturally like
   Light Mode (light bg, solid opaque cards, colored soft shadows); St.
   Patrick's Day is architecturally like Halloween (dark bg, glass cards,
   Dark Mode's own black shadow already reads correctly so no shadow
   override needed there - only pill/tile/activity treatments below). */

/* Gardening profile/section card shadows - reference's cards are solid
   white (--glass already handles that, see the token block), just the
   shadow needs to be the reference's soft green-tinted one instead of the
   shared heavy black one (same reasoning as Light Mode's). */
:root[data-theme="gardening"] .user-info{
  box-shadow:0 20px 46px -22px rgba(var(--pink-rgb),0.3), 0 4px 16px -6px rgba(46,42,28,0.08);
}
:root[data-theme="gardening"] .section{
  box-shadow:0 14px 34px -22px rgba(46,42,28,0.16);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="gardening"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(46,42,28,0.22);
}

/* Activity row hover - reference tints with a fixed color (not
   necessarily the row's own section's accent - same "fixed, not
   per-section" pattern Halloween and St. Patrick's both use here too). */
:root[data-theme="gardening"] .activity-item:hover{
  background:rgba(var(--pink-rgb),0.12);
}
:root[data-theme="st-patricks"] .activity-item:hover{
  background:rgba(255,215,0,0.12);
}

/* Gardening pills: reference's ghost pill hover changes ONLY box-shadow
   (no border-color/text-color change, unlike every other theme so far) -
   overriding the shared Dark-Mode-authored `.pill-btn.ghost:hover` (which
   would otherwise flip border/text to --pink here) back to a no-op. */
:root[data-theme="gardening"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="gardening"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(var(--pink-rgb),0.5);
}
:root[data-theme="gardening"] .pill-btn.ghost:hover{
  border-color:var(--glass-brd);
  color:var(--ink);
}
:root[data-theme="gardening"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), #8fb865);
  color:#1a2e10;
  font-weight:700;
}
:root[data-theme="gardening"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.55);
}

/* Gardening tiles: reference doesn't fill with a gradient on hover at all
   (unlike Light/Halloween/St. Patrick's) - just a green border/shadow
   plus a CSS filter to punch up saturation/brightness, so the tile's own
   base look is what's still showing, just "healthier". Cancelling the
   shared highlight-tint hover background back to the tile's own resting
   color to match that (the shared rule would otherwise still show a faint
   dark tint that the reference doesn't have). */
:root[data-theme="gardening"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.85) 50%, transparent 67%);
}
:root[data-theme="gardening"] .button-grid .button:hover{
  border-color:var(--pink);
  background:rgba(var(--void-2-rgb),0.62);
  box-shadow:0 10px 22px -12px rgba(var(--pink-rgb),0.5);
  filter:saturate(1.25) brightness(1.03);
}

/* St. Patrick's Day pills. */
:root[data-theme="st-patricks"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,246,223,0.24) 49%, transparent 70%);
}
:root[data-theme="st-patricks"] .pill-btn:hover{
  border-color:var(--gold);
  box-shadow:0 8px 24px -8px var(--gold);
}
:root[data-theme="st-patricks"] .pill-btn.ghost:hover{
  color:var(--gold);
}
:root[data-theme="st-patricks"] .pill-btn.primary{
  /* Static stand-in for the reference's animated 5-stop shimmer
     (this session dropped scrolling/animated gradients everywhere - see
     the VIBEZ wordmark fix above) - same 3 colors, no motion. */
  background:linear-gradient(120deg,#e0a92c, var(--gold), #fff3b0);
  color:#1c1b0a;
  font-weight:700;
}

/* St. Patrick's Day tiles: reference hover is an animated rainbow sweep,
   uniform across every section regardless of that section's own accent
   (same "fixed, not per-section" pattern as Halloween's tile hover) -
   ported as one static representative gradient instead of the animation. */
:root[data-theme="st-patricks"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,246,223,0.16) 50%, transparent 67%);
}
:root[data-theme="st-patricks"] .button-grid .button:hover{
  z-index:1;
  border-color:transparent;
  color:#1c1b0a;
  text-shadow:0 1px 0 rgba(255,255,255,0.4);
  background:linear-gradient(120deg,#7be8a4,#2ecc71,#ffd700);
  box-shadow:0 10px 24px -10px rgba(255,215,0,0.5);
}

/* ---------- Theme Selector: JS-spawned hover flourishes ----------
   Gardening and St. Patrick's Day both reference a small hover flourish
   ON TOP OF the border/shadow/color hover already ported above - Gardening
   rains water-drop emoji plus a sprout growing in from the bottom
   (proposed_themes/gardening-theme.html's .gar-drop/.gar-sprout),
   St. Patrick's Day rains coin/cash emoji (proposed_themes/
   st-patricks-theme.html's .stp-coin - the user asked for cash in addition
   to coins, so js/home.js alternates between the two rather than porting
   the coin-only reference literally). These are additive per-theme
   flourishes, not a replacement for the color/border hover already
   defined per theme above - both fire together.

   Spawned by js/home.js on every .button-grid .button and .pill-btn
   regardless of the current theme (the JS checks documentElement's live
   data-theme on each mouseenter, since the Theme Selector dropdown flips
   it instantly without a reload - these classes just have to exist here
   for whichever theme is active at hover time). Both parents already have
   position:relative + overflow:hidden for every non-dark theme (.pill-btn
   unconditionally; .button-grid .button via the "Clip the new sweep" rule
   above), so the falling elements are naturally clipped to the button. */
.water-drop{
  position:absolute;
  top:-10px;
  color:#4fa8d8;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:waterDropFall .7s linear forwards;
}
@keyframes waterDropFall{
  0%{ transform:translateY(0); opacity:0; }
  15%{ opacity:1; }
  100%{ transform:translateY(var(--fall,60px)); opacity:0; }
}
.plant-sprout{
  position:absolute;
  left:50%;
  bottom:4px;
  transform:translate(-50%,50%) scale(0);
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:plantSproutIn .5s ease-out .35s forwards;
}
@keyframes plantSproutIn{
  0%{ transform:translate(-50%,50%) scale(0); opacity:0; }
  60%{ transform:translate(-50%,50%) scale(1.25); opacity:1; }
  100%{ transform:translate(-50%,50%) scale(1); opacity:1; }
}
.coin-fall{
  position:absolute;
  top:-14px;
  left:50%;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:coinFall .9s linear forwards;
}
@keyframes coinFall{
  0%{ transform:translate(calc(-50% + var(--dx,0px)),-10px) rotate(0deg); opacity:0; }
  12%{ opacity:1; }
  100%{ transform:translate(calc(-50% + var(--dx,0px)),var(--fall,90px)) rotate(300deg); opacity:.95; }
}

/* Fall's leaf-swirl (js/home.js spawns these on hover, positioned via the
   --endrot/--radius custom properties it sets per-leaf) and Spring's
   growing-vine + blooming-bud (same js/home.js flourish IIFE) - same
   "spawned by JS, --custom-property-driven, cleaned up on animationend or
   immediate .remove()" pattern as the water-drop/coin-fall pair above. */
.leaf-swirl{
  position:absolute;
  left:50%;
  top:50%;
  line-height:1;
  pointer-events:none;
  z-index:3;
  transform:translate(-50%,-50%) rotate(0deg) translateX(0) scale(.5);
  animation:leafGust .95s ease-out forwards;
}
@keyframes leafGust{
  0%{ transform:translate(-50%,-50%) rotate(0deg) translateX(0) scale(.5); opacity:0; }
  20%{ opacity:1; }
  100%{ transform:translate(-50%,-50%) rotate(var(--endrot)) translateX(var(--radius)) scale(.85); opacity:0; }
}
.spring-vine{
  position:absolute;
  left:50%;
  bottom:6px;
  width:1.5px;
  height:40%;
  background:linear-gradient(to top,#4a8a2a,#8bc668);
  transform:translateX(-50%) scaleY(0);
  transform-origin:bottom;
  border-radius:2px;
  pointer-events:none;
  z-index:3;
  animation:springGrow .55s ease-out forwards;
}
@keyframes springGrow{
  0%{ transform:translateX(-50%) scaleY(0); }
  100%{ transform:translateX(-50%) scaleY(1); }
}
/* A pair of small leaves sprouting from the base of the stem, shortly
   after the vine starts growing - a leaf shape via one asymmetric
   border-radius corner (teardrop), mirrored left/right off the stem's own
   center line rather than an emoji, so their size/thinness stays exactly
   in our control (this is the same class of sizing bug the flower bud
   just had - not repeating it here). */
.spring-leaf{
  position:absolute;
  left:50%;
  bottom:15%;
  width:9px;
  height:6px;
  background:linear-gradient(135deg,#8bc668,#4a8a2a);
  pointer-events:none;
  z-index:3;
}
.spring-leaf.left{
  border-radius:0 100% 0 100%;
  transform-origin:100% 50%;
  animation:springLeafLeft .3s ease-out .18s forwards;
}
.spring-leaf.right{
  border-radius:100% 0 100% 0;
  transform-origin:0% 50%;
  animation:springLeafRight .3s ease-out .18s forwards;
}
@keyframes springLeafLeft{
  0%{ transform:translateX(-100%) rotate(-28deg) scale(0); opacity:0; }
  100%{ transform:translateX(-100%) rotate(-28deg) scale(1); opacity:1; }
}
@keyframes springLeafRight{
  0%{ transform:translateX(0%) rotate(28deg) scale(0); opacity:0; }
  100%{ transform:translateX(0%) rotate(28deg) scale(1); opacity:1; }
}
.spring-bud{
  position:absolute;
  left:50%;
  bottom:calc(6px + 40%);
  transform:translate(-50%,50%) scale(0);
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:springBloom .5s ease-out .5s forwards;
}
@keyframes springBloom{
  0%{ transform:translate(-50%,50%) scale(0); opacity:0; }
  60%{ transform:translate(-50%,50%) scale(1.3); opacity:1; }
  100%{ transform:translate(-50%,50%) scale(1); opacity:1; }
}
.winter-frost{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:0;
  background:linear-gradient(to top, rgba(207,235,250,0.95), rgba(207,235,250,0.15));
  clip-path:polygon(0% 100%,0% 60%,8% 80%,16% 55%,24% 85%,32% 60%,40% 90%,48% 58%,56% 82%,64% 55%,72% 88%,80% 60%,88% 82%,96% 58%,100% 78%,100% 100%);
  pointer-events:none;
  z-index:3;
  animation:winterFrostRise .7s ease-out forwards;
}
@keyframes winterFrostRise{
  0%{ height:0; }
  100%{ height:75%; }
}

.water-splash{
  position:absolute;
  left:50%;
  bottom:10%;
  transform:translate(-50%,0) scale(.3);
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:waterSplash .7s ease-out forwards;
}
@keyframes waterSplash{
  0%{ transform:translate(-50%,0) scale(.3); opacity:0; }
  15%{ opacity:1; }
  50%{ transform:translate(calc(-50% + var(--dx) * 0.5), calc(-1 * var(--peak))) scale(1); opacity:1; }
  100%{ transform:translate(calc(-50% + var(--dx)), 0) scale(.5); opacity:0; }
}

.love-heart{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(.4);
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:loveHeartRace .7s ease-out forwards;
}
@keyframes loveHeartRace{
  0%{ transform:translate(-50%,-50%) scale(.4); opacity:0; }
  18%{ opacity:1; transform:translate(-50%,-50%) scale(1); }
  100%{ transform:translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(.75); opacity:0; }
}

.firework-flash{
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:10px;
  border-radius:50%;
  background:radial-gradient(circle, #ffffff, rgba(255,255,255,0) 70%);
  transform:translate(-50%,-50%) scale(.2);
  pointer-events:none;
  z-index:2;
  animation:fireworkFlashPop .35s ease-out forwards;
}
@keyframes fireworkFlashPop{
  0%{ transform:translate(-50%,-50%) scale(.2); opacity:0; }
  30%{ opacity:1; transform:translate(-50%,-50%) scale(1); }
  100%{ transform:translate(-50%,-50%) scale(2.4); opacity:0; }
}
.firework-spark{
  position:absolute;
  left:50%;
  top:50%;
  width:3px;
  height:16px;
  transform-origin:50% 0%;
  pointer-events:none;
  z-index:3;
  animation:fireworkSparkFly .55s ease-out forwards;
}
@keyframes fireworkSparkFly{
  0%{ transform:translate(-50%,-50%) rotate(var(--ang,0deg)) translateY(0) scaleY(.3); opacity:0; }
  15%{ opacity:1; }
  100%{ transform:translate(-50%,-50%) rotate(var(--ang,0deg)) translateY(calc(var(--dist,40px) * -1)) scaleY(1); opacity:0; }
}

.cash-fan-bill{
  position:absolute;
  left:50%;
  bottom:8%;
  width:24px;
  height:14px;
  margin-left:-12px;
  border-radius:2px;
  background:linear-gradient(135deg, #2f8f4e, #1f6b38);
  border:1px solid rgba(255,255,255,0.35);
  box-shadow:0 2px 5px rgba(0,0,0,0.4);
  transform-origin:50% 100%;
  pointer-events:none;
  animation:cashFanOut .4s cubic-bezier(.22,.9,.32,1.2) forwards;
  animation-delay:var(--fan-delay,0s);
}
.cash-fan-bill::before{
  content:"$";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:8px;
  font-weight:800;
  color:rgba(255,255,255,0.85);
}
@keyframes cashFanOut{
  0%{ transform:rotate(0deg) scale(.35); opacity:0; }
  40%{ opacity:1; }
  100%{ transform:rotate(var(--fan-angle,0deg)) scale(1); opacity:1; }
}

/* Memorial Day's quiet honor-star glow (js/home.js spawns this on hover,
   same "spawned by JS, self-cleaning via animationend" pattern as the
   water-drop/coin-fall/firework elements above - no --custom-properties
   needed since it always renders centered). */
.mem-honor-star{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(0);
  color:#ffffff;
  text-shadow:0 0 8px rgba(255,255,255,0.9);
  pointer-events:none;
  z-index:3;
  animation:memHonorPop .9s ease-out forwards;
}
@keyframes memHonorPop{
  0%{ transform:translate(-50%,-50%) scale(0); opacity:0; }
  35%{ transform:translate(-50%,-50%) scale(1.3); opacity:1; }
  100%{ transform:translate(-50%,-50%) scale(1.6); opacity:0; }
}

/* New Year's ambient confetti/coin/spark - a fixed set of plain elements
   (js/home.js mounts/unmounts the whole container on theme change, see
   that IIFE's own comment), positioned via inline styles it sets per-
   element (left/background/animation-duration/animation-delay), animated
   purely by these three keyframes - no per-frame JS, ported near-verbatim
   off the reference's own hardcoded span list. */
.nye-confetti{
  position:absolute;
  top:-24px;
  width:9px;
  height:16px;
  opacity:0.9;
  border-radius:2px;
  animation:nyeConfettiFall linear infinite;
}
@keyframes nyeConfettiFall{
  0%{ transform:translateY(0) rotate(0deg); opacity:0; }
  8%{ opacity:0.9; }
  100%{ transform:translateY(960px) rotate(340deg); opacity:0.9; }
}
.nye-coin{
  position:absolute;
  top:-28px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff3c4, #e0a92c 55%, #8a6100 100%);
  box-shadow:0 0 6px rgba(255,215,120,0.7), inset -2px -2px 4px rgba(0,0,0,0.35), inset 2px 2px 3px rgba(255,255,255,0.7);
  animation:nyeCoinFall linear infinite;
}
@keyframes nyeCoinFall{
  0%{ transform:translateY(0) scaleX(1) rotate(0deg); opacity:0; }
  8%{ opacity:1; }
  25%{ transform:translateY(240px) scaleX(0.15) rotate(90deg); }
  50%{ transform:translateY(480px) scaleX(1) rotate(180deg); }
  75%{ transform:translateY(720px) scaleX(0.15) rotate(270deg); }
  96%{ opacity:1; }
  100%{ transform:translateY(960px) scaleX(1) rotate(360deg); opacity:0; }
}
.nye-spark{
  position:absolute;
  border-radius:50%;
  background:#ffe9a8;
  box-shadow:0 0 10px 3px rgba(255,233,168,0.9);
  animation:nyeSparkTwinkle 2.2s ease-in-out infinite;
}
@keyframes nyeSparkTwinkle{
  0%,100%{ opacity:0.3; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.5); }
}

/* Bedazzled's twinkling rhinestone sparkles - a burst of many elements
   spawned at once on hover (not staggered by a timer), each looping its
   own twinkle independently via randomized animation-duration/-delay,
   all cleared together on mouseleave (js/home.js tracks them in an
   array) - a new "spawn-many, clear-array" flourish shape. */
.bed-sparkle{
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle, #ffffff, transparent 70%);
  pointer-events:none;
  z-index:3;
  animation:bedazzledTwinkle ease-in-out infinite;
}
@keyframes bedazzledTwinkle{
  0%,100%{ opacity:0; transform:scale(0.3); }
  50%{ opacity:1; transform:scale(1.4); }
}

/* Easter's one-shot "egg crack" burst - colored shell pieces flying
   radially outward from the hovered TILE (not pills - the reference
   itself only wires this to .eas-tile), self-cleaning via animationend,
   same "no interval, no mouseleave cleanup" shape as July4th's firework. */
.eas-egg-burst{
  position:absolute;
  left:50%;
  top:50%;
  border-radius:50% 50% 50% 50% / 60% 60% 40% 40%;
  transform:translate(-50%,-50%) scale(0.3);
  pointer-events:none;
  z-index:3;
  box-shadow:inset -1px -1px 2px rgba(0,0,0,0.15), inset 1px 1px 2px rgba(255,255,255,0.6);
  animation:easterEggFly 0.6s ease-out forwards;
}
@keyframes easterEggFly{
  0%{ transform:translate(-50%,-50%) scale(0.3) rotate(0deg); opacity:0; }
  20%{ opacity:1; transform:translate(-50%,-50%) scale(1) rotate(45deg); }
  100%{ transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(0.6) rotate(200deg); opacity:0; }
}

/* Father's Day's one-shot "nice work, dad" badge pop - a single glyph
   that pops in with a bounce and fades, self-cleaning via animationend,
   same shape as Memorial Day's honor-star. */
.dad-mvp{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(0);
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:dadMvpPop 0.8s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes dadMvpPop{
  0%{ transform:translate(-50%,-50%) scale(0) rotate(-15deg); opacity:0; }
  55%{ transform:translate(-50%,-50%) scale(1.25) rotate(6deg); opacity:1; }
  75%{ transform:translate(-50%,-50%) scale(.95) rotate(-2deg); opacity:1; }
  100%{ transform:translate(-50%,-50%) scale(1) rotate(0deg); opacity:0; }
}

/* Mother's Day's repeating "blooming flowers" burst - a flower glyph
   flung radially outward, respawning every 260ms while hovered, cleared
   via clearInterval on mouseleave - same repeating-interval shape as
   Gardening/St. Patrick's/Fall/Summer. */
.mom-bloom{
  position:absolute;
  left:50%;
  top:50%;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:momBloomFly 0.9s ease-out forwards;
}
@keyframes momBloomFly{
  0%{ transform:translate(-50%,-50%) scale(0.2) rotate(0deg); opacity:0; }
  25%{ opacity:1; transform:translate(-50%,-50%) scale(1.15) rotate(60deg); }
  100%{ transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(0.8) rotate(200deg); opacity:0; }
}

/* Steampunk's repeating "steam hiss" - small soft-white puffs rise from
   the bottom of the hovered tile/pill, drifting sideways and expanding
   as they fade, respawning every 260ms while hovered - same repeating-
   interval shape as Gardening/St. Patrick's/Fall/Summer/Mother's Day.
   Original flourish (no reference to port), added per user request after
   the theme's initial ship. */
.steam-puff{
  position:absolute;
  bottom:6px;
  left:50%;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(238,230,214,0.55) 55%, rgba(238,230,214,0) 78%);
  filter:blur(.5px);
  box-shadow:0 0 5px rgba(46,32,21,0.1);
  pointer-events:none;
  z-index:3;
  animation:steampunkSteamRise ease-out forwards;
}
@keyframes steampunkSteamRise{
  0%{ opacity:0; transform:translate(-50%,0) scale(0.4); }
  20%{ opacity:.92; }
  60%{ opacity:.65; }
  100%{ opacity:0; transform:translate(calc(-50% + var(--drift,0px)),-46px) scale(1.8); }
}

/* Basketball's one-shot "bounce across" - a single ball emoji drops in
   from the top-left, bounces 4 times with decreasing height while
   traveling left-to-right across the hovered tile/pill, spinning as it
   goes, and exits past the right edge - self-cleaning via animationend,
   same "no interval, no mouseleave cleanup" shape as July4th's firework/
   Memorial Day's honor-star/Father's Day's MVP-pop. Original flourish
   (no reference to port), built per explicit user request. The keyframe
   percentages double as horizontal position (left:X% at offset X%) so
   the ball's rightward travel reads as roughly constant speed while the
   vertical bounce keyframes do all the "physics" work. */
.bball-bounce{
  position:absolute;
  bottom:0;
  left:0;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:basketballBounceAcross 1.15s ease-out forwards;
}
@keyframes basketballBounceAcross{
  0%{ left:-4%; bottom:100%; transform:translate(-50%,0) rotate(0deg); opacity:0; }
  6%{ opacity:1; }
  14%{ left:10%; bottom:0%; transform:translate(-50%,0) rotate(95deg); }
  30%{ left:26%; bottom:58%; transform:translate(-50%,0) rotate(190deg); }
  46%{ left:42%; bottom:0%; transform:translate(-50%,0) rotate(300deg); }
  60%{ left:58%; bottom:32%; transform:translate(-50%,0) rotate(410deg); }
  73%{ left:74%; bottom:0%; transform:translate(-50%,0) rotate(510deg); }
  84%{ left:88%; bottom:16%; transform:translate(-50%,0) rotate(600deg); }
  94%{ left:100%; bottom:0%; transform:translate(-50%,0) rotate(680deg); opacity:1; }
  100%{ left:108%; bottom:4%; transform:translate(-50%,0) rotate(720deg); opacity:0; }
}

/* Baseball's one-shot "roll across" - a single ball emoji rolls
   left-to-right along the bottom of the hovered tile/pill, spinning
   continuously (three-ish full rotations) with only a small ground-
   texture wobble instead of Basketball's big bounce arcs, easing to a
   stop like a grounder losing momentum to friction - self-cleaning via
   animationend, same "no interval, no mouseleave cleanup" shape as
   Basketball's bounce/July4th's firework/Memorial Day's honor-star/
   Father's Day's MVP-pop. Original flourish (no reference to port),
   built per explicit user request. Same "keyframe percentages double as
   horizontal position" technique as Basketball's bounce, but the
   vertical axis stays nearly flat (2-7px) the whole trip and rotation
   scales continuously with distance traveled instead of jumping between
   bounce peaks - the deliberate visual difference between "rolling" and
   "bouncing". */
.baseball-roll{
  position:absolute;
  bottom:0;
  left:0;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:baseballRollAcross 1.05s ease-out forwards;
}
@keyframes baseballRollAcross{
  0%{ left:-6%; bottom:2px; transform:translate(-50%,0) rotate(0deg); opacity:0; }
  6%{ opacity:1; }
  15%{ left:12%; bottom:6px; transform:translate(-50%,0) rotate(160deg); }
  30%{ left:28%; bottom:2px; transform:translate(-50%,0) rotate(340deg); }
  45%{ left:44%; bottom:5px; transform:translate(-50%,0) rotate(520deg); }
  60%{ left:60%; bottom:2px; transform:translate(-50%,0) rotate(700deg); }
  75%{ left:76%; bottom:5px; transform:translate(-50%,0) rotate(880deg); }
  90%{ left:92%; bottom:2px; transform:translate(-50%,0) rotate(1050deg); opacity:1; }
  100%{ left:106%; bottom:3px; transform:translate(-50%,0) rotate(1150deg); opacity:0; }
}

/* Football's one-shot "drop and bounce" - a single ball emoji drops
   straight down from near the top of the hovered tile/pill to the
   bottom, then bounces twice with quickly-decreasing height before
   settling and fading out. No left-right travel (unlike Basketball's
   bounce-across or Baseball's roll-across) and no rotation at all - a
   small scale-based squash/stretch on each impact stands in for
   "physics" instead. Third football concept tried: the first ("field
   goal kick", rise-and-exit-upward) and second ("spiral pass", a thrown
   parabolic arc with a rotateY spin) were both built, shipped, and then
   rejected by the user on taste in turn - the user's own words for the
   spiral pass were that it read as "flipping end over end" rather than
   spiraling. This concept was given directly by the user ("dropping to
   the bottom of the button and bouncing very small twice"), not chosen
   from an offered list, so it's ported as literally as possible rather
   than elaborated on. Self-cleaning via animationend, same shape as
   Basketball's bounce/Baseball's roll.

   Architecturally this is a plain tile-relative absolute child, like
   .bball-bounce/.baseball-roll - `left` is fixed at 50% (transform
   -50% centers the glyph on that point) and never animated, since there
   is no horizontal travel. The drop and both bounce peaks all stay at or
   under bottom:20%, nowhere near the tile's 100% bound, so - like
   Basketball/Baseball, and unlike the kick two concepts ago - this never
   needs to escape the tile's `overflow:hidden` (see that rule's own
   comment above, and the CRITICAL rule in project memory). */
.football-drop{
  position:absolute;
  bottom:0;
  left:50%;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:footballDropBounce 0.95s ease-out forwards;
}
@keyframes footballDropBounce{
  0%{ bottom:90%; transform:translate(-50%,0) scale(1,1); opacity:0; }
  8%{ opacity:1; }
  28%{ transform:translate(-50%,0) scale(1,1); }
  32%{ bottom:2%; transform:translate(-50%,0) scale(1.14,0.84); }
  40%{ transform:translate(-50%,0) scale(1,1); }
  52%{ bottom:15%; transform:translate(-50%,0) scale(1,1); }
  60%{ transform:translate(-50%,0) scale(1,1); }
  64%{ bottom:2%; transform:translate(-50%,0) scale(1.1,0.88); }
  71%{ transform:translate(-50%,0) scale(1,1); }
  80%{ bottom:6%; transform:translate(-50%,0) scale(1,1); }
  90%{ bottom:2%; transform:translate(-50%,0) scale(1.05,0.94); opacity:1; }
  100%{ bottom:2%; transform:translate(-50%,0) scale(1,1); opacity:0; }
}

/* Soccer's one-shot "roll through" - a single ball emoji rolls
   left-to-right along the bottom of the hovered tile/pill, spinning
   continuously, and exits fully past the far edge - self-cleaning via
   animationend, same "no interval, no mouseleave cleanup" shape as
   Basketball's bounce/Baseball's roll/Football's drop. Reuses Baseball's
   roll-across mechanism SHAPE (flat ground-level travel, rotation
   scaling with distance, no vertical arc) since "rolling through the
   button" is genuinely the same physical motion Baseball's roll already
   models - but retuned distinctly rather than reskinned: bigger ground
   hops (up to 10px vs Baseball's 2-7px, reading as a firmer turf skid
   instead of a smooth grounder), more total rotation (1450deg vs
   Baseball's 1150deg - a regulation soccer ball's visible black/white
   panels make the extra spin read clearly), and a longer travel span
   (-8% to 112% vs Baseball's -6% to 106%) so it visibly exits "through"
   the far edge rather than just "across" to it. Original flourish (no
   reference to port), built per explicit user request. Same "keyframe
   percentages double as horizontal position" technique as Basketball's
   bounce/Baseball's roll. */
.soccer-roll{
  position:absolute;
  bottom:0;
  left:0;
  line-height:1;
  pointer-events:none;
  z-index:3;
  animation:soccerRollThrough 1.1s ease-out forwards;
}
@keyframes soccerRollThrough{
  0%{ left:-8%; bottom:2px; transform:translate(-50%,0) rotate(0deg); opacity:0; }
  6%{ opacity:1; }
  16%{ left:14%; bottom:10px; transform:translate(-50%,0) rotate(200deg); }
  30%{ left:30%; bottom:2px; transform:translate(-50%,0) rotate(430deg); }
  44%{ left:46%; bottom:9px; transform:translate(-50%,0) rotate(650deg); }
  58%{ left:62%; bottom:2px; transform:translate(-50%,0) rotate(880deg); }
  72%{ left:78%; bottom:8px; transform:translate(-50%,0) rotate(1090deg); }
  88%{ left:96%; bottom:2px; transform:translate(-50%,0) rotate(1320deg); opacity:1; }
  100%{ left:112%; bottom:3px; transform:translate(-50%,0) rotate(1450deg); opacity:0; }
}

/* ================= Construction ================= */

/* Section accent + accent-text role map. Reference's 4 named roles:
   default/orange="What's Happening", yellow="Vibez", steel="Manage You",
   blue="Vibezmart". Upgrade/Top-of-the-Vibez extended in-style (safety
   green, caution red). Light theme, so --accent-text is darker than the
   fill, same reasoning as Light Mode's. */
:root[data-theme="construction"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#c25400;}
:root[data-theme="construction"] .section-vibez{--accent:var(--cyan); --accent-text:#a8890a;}
:root[data-theme="construction"] .section-manage-you{--accent:var(--gold); --accent-text:#4c4f54;}
:root[data-theme="construction"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#234a94;}
:root[data-theme="construction"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#2e7d32;}
:root[data-theme="construction"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#b91c1c;}

/* Wordmark: reference is a 4-stop orange/yellow/steel/blue shimmer - the
   shared 3-stop rule can't fit a 4th color, so this gets its own override
   (background-clip/color re-declared alongside the gradient, same
   standing gotcha as every other custom wordmark this session). Static,
   no scrolling animation. */
:root[data-theme="construction"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="construction"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* Profile/section cards: solid white with a soft warm-dark shadow (the
   reference's own rgba(34,31,26,X) - a near-black neutral, not a specific
   accent hue, so kept as a literal rather than forced through --pink-rgb/
   --violet-rgb like Light/Gardening's colored shadows). Sharper corners
   throughout (14px cards, 6px pills/tiles) and no card-pulse animation -
   both straight from the reference, which is otherwise structurally like
   Light Mode. */
:root[data-theme="construction"] .user-info{
  border-radius:14px;
  box-shadow:0 20px 46px -22px rgba(34,31,26,0.3), 0 4px 16px -6px rgba(34,31,26,0.1);
}
:root[data-theme="construction"] .section{
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 14px 34px -22px rgba(34,31,26,0.2);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="construction"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(34,31,26,0.26);
}
/* Reference's top bar is a diagonal caution-tape stripe in the section's
   own accent color, not a solid glowing line - full-width (no side
   inset), no glow shadow, twice as tall (6px). */
:root[data-theme="construction"] .section::before{
  left:0; right:0;
  height:6px;
  border-radius:0;
  background:repeating-linear-gradient(45deg, #1a1a1a 0 8px, var(--accent) 8px 16px);
  box-shadow:none;
}
/* Header gets the same caution-tape treatment as its own border, in place
   of the shared plain 1px --glass-brd line. */
:root[data-theme="construction"] header{
  border-bottom:3px solid transparent;
  border-image:repeating-linear-gradient(45deg, #1a1a1a 0 10px, #ffcc00 10px 20px) 1;
}

/* Pills: sharp 6px corners (not the shared 999px pill shape), primary is
   an orange->yellow gradient with dark bold text. */
:root[data-theme="construction"] .pill-btn{
  border-radius:6px;
}
:root[data-theme="construction"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="construction"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(var(--pink-rgb),0.5);
}
:root[data-theme="construction"] .pill-btn.ghost:hover{
  border-color:var(--glass-brd);
  color:var(--ink);
}
:root[data-theme="construction"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--cyan));
  color:var(--ink);
  font-weight:800;
}
:root[data-theme="construction"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.55);
}

:root[data-theme="construction"] .activity-item:hover{
  background:rgba(255,204,0,0.16);
}

/* Tiles: sharp 6px corners, and hover swaps the whole tile to the same
   caution-tape stripe as the header/section-bar, plus a one-shot
   "jackhammer" shake - a transform wiggle, not a gradient animation, so
   it's unaffected by the no-scrolling-gradient rule and ported as-is. */
:root[data-theme="construction"] .button-grid .button{
  border-radius:6px;
}
:root[data-theme="construction"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.7) 50%, transparent 67%);
}
:root[data-theme="construction"] .button-grid .button:hover{
  border-color:transparent;
  color:#1a1a1a;
  text-shadow:0 1px 0 rgba(255,255,255,0.5);
  background:repeating-linear-gradient(45deg, #1a1a1a 0 10px, #ffcc00 10px 20px);
  box-shadow:0 12px 22px -10px rgba(0,0,0,0.4);
  /* Was also re-including "flyIn ... forwards" here, on the mistaken
     assumption it was needed to keep the button visible - it actually
     re-triggered the WHOLE entrance animation (off-screen position, spin,
     opacity fade-in) every time hover started, and again every time it
     ended, since reassigning animation-name to "flyIn" restarts it
     regardless of it being the "same" name as before. The .landed class
     (js/home.js adds it once flyIn's own entrance genuinely finishes) now
     owns keeping the button visible at rest - this only ever needs to
     name its OWN hover animation. */
  animation:constructionJackhammer .4s ease-in-out 1 forwards;
}
@keyframes constructionJackhammer{
  0%,100%{ transform:translateY(-3px) translateX(0) rotate(0deg); }
  10%{ transform:translateY(-3px) translateX(-2px) rotate(-1deg); }
  20%{ transform:translateY(-3px) translateX(2px) rotate(1deg); }
  30%{ transform:translateY(-3px) translateX(-2px) rotate(-1deg); }
  40%{ transform:translateY(-3px) translateX(2px) rotate(1deg); }
  50%{ transform:translateY(-3px) translateX(-1px) rotate(0deg); }
  60%{ transform:translateY(-3px) translateX(1px) rotate(0deg); }
  70%{ transform:translateY(-3px) translateX(-1px) rotate(0deg); }
  80%{ transform:translateY(-3px) translateX(1px) rotate(0deg); }
  90%{ transform:translateY(-3px) translateX(0) rotate(0deg); }
}

/* Background: construction.png, no haze (same rule as every photo-backed
   theme so far), plus the reference's own faint blueprint grid-line
   overlay stacked on top of the photo. */
:root[data-theme="construction"] .glow-field{
  background:
    repeating-linear-gradient(0deg, rgba(46,90,172,0.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(46,90,172,0.06) 0 1px, transparent 1px 40px),
    radial-gradient(600px 440px at 12% 8%, rgba(255,111,0,0.16), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(255,204,0,0.16), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(46,90,172,0.12), transparent 62%),
    url('../site_assets/background_themed/construction.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Rainbows ================= */
/* User-approved exception (2026-08-29) to the "no scrolling/animated
   gradients" rule: the page background, wordmark, primary pill, and tile
   hover all keep the reference's own continuous color-cycle animation -
   every other theme this session flattens this to static, this one
   theme's whole identity IS the motion. */

:root[data-theme="rainbows"] .section:nth-of-type(1){--accent:#ff2d55; --accent-text:#e0304f;}
:root[data-theme="rainbows"] .section-vibez{--accent:#22e07a; --accent-text:#1b9e5a;}
:root[data-theme="rainbows"] .section-manage-you{--accent:#00b8ff; --accent-text:#0088cc;}
:root[data-theme="rainbows"] .section:nth-of-type(4){--accent:#ff2fc0; --accent-text:#b02fc0;}
:root[data-theme="rainbows"] .section:nth-of-type(5){--accent:#ffe600; --accent-text:#a16207;}
:root[data-theme="rainbows"] .section:nth-of-type(6){--accent:#7c4dff; --accent-text:#6d28d9;}

@keyframes rainbowShimmer{
  0%{ background-position:0% center; }
  50%{ background-position:100% center; }
  100%{ background-position:0% center; }
}
@keyframes rainbowBgShift{
  0%{ background-position:0 0, 0% 50%; }
  50%{ background-position:0 0, 100% 50%; }
  100%{ background-position:0 0, 0% 50%; }
}

:root[data-theme="rainbows"] .heart-beat-icon{ color:#ff2fc0; }

:root[data-theme="rainbows"] .wordmark{
  background:linear-gradient(90deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0);
  background-size:280% auto;
  background-repeat:no-repeat;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:rainbowShimmer 8s linear infinite;
}
:root[data-theme="rainbows"] .avatar-ring{
  background:conic-gradient(from 0deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0,#ff2d55);
}

/* Profile card: white fill with a rainbow-gradient BORDER via the
   layered-background technique (an opaque white gradient clipped to
   padding-box sits over a rainbow gradient clipped to border-box) -
   ported straight from the reference, a new pattern for this project
   since no theme so far has had a gradient border. */
:root[data-theme="rainbows"] .user-info{
  border:3px solid transparent;
  border-radius:18px;
  background-image:linear-gradient(#fff,#fff), linear-gradient(120deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0);
  background-origin:border-box;
  background-clip:padding-box, border-box;
  box-shadow:0 20px 46px -20px rgba(28,27,41,0.4);
}
:root[data-theme="rainbows"] .section{
  border:none;
  overflow:hidden;
  box-shadow:0 16px 36px -20px rgba(28,27,41,0.35);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="rainbows"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 44px -18px rgba(28,27,41,0.45);
}
/* Per-section top bar is its own 2-color gradient slice, not a solid
   var(--accent) line - full-width, no side inset, matching the
   reference's edge-to-edge bar. */
:root[data-theme="rainbows"] .section::before{
  left:0; right:0;
  height:5px;
  border-radius:0;
}
:root[data-theme="rainbows"] .section:nth-of-type(1)::before{ background:linear-gradient(90deg,#ff2d55,#ff8f00); box-shadow:0 0 12px rgba(255,45,85,0.6); }
:root[data-theme="rainbows"] .section-vibez::before{ background:linear-gradient(90deg,#ffe600,#22e07a); box-shadow:0 0 12px rgba(34,224,122,0.6); }
:root[data-theme="rainbows"] .section-manage-you::before{ background:linear-gradient(90deg,#00b8ff,#7c4dff); box-shadow:0 0 12px rgba(0,184,255,0.6); }
:root[data-theme="rainbows"] .section:nth-of-type(4)::before{ background:linear-gradient(90deg,#7c4dff,#ff2fc0); box-shadow:0 0 12px rgba(255,47,192,0.6); }
:root[data-theme="rainbows"] .section:nth-of-type(5)::before{ background:linear-gradient(90deg,#ff2fc0,#ff2d55); box-shadow:0 0 12px rgba(255,47,192,0.6); }
:root[data-theme="rainbows"] .section:nth-of-type(6)::before{ background:linear-gradient(90deg,#22e07a,#00b8ff); box-shadow:0 0 12px rgba(34,224,122,0.6); }

/* Pills: base pill is opaque white regardless of ghost/primary (the
   shared .pill-btn.ghost rule defaults to a transparent background, which
   would let the animated rainbow page background show through - wrong,
   the reference's plain pill is solid white). Primary keeps the reference's
   own animated 7-stop shimmer fill. */
:root[data-theme="rainbows"] .pill-btn.ghost{
  background:#fff;
  border-color:transparent;
  color:var(--ink);
}
:root[data-theme="rainbows"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.8) 49%, transparent 70%);
}
:root[data-theme="rainbows"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(124,77,255,0.5);
}
:root[data-theme="rainbows"] .pill-btn.ghost:hover{
  border-color:transparent;
  color:var(--ink);
}
:root[data-theme="rainbows"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0);
  background-size:280% auto;
  background-repeat:no-repeat;
  color:#fff;
  font-weight:800;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  animation:rainbowShimmer 3s linear infinite;
  box-shadow:0 8px 20px -8px rgba(255,47,192,0.55);
}

:root[data-theme="rainbows"] .activity-item:hover{
  background:rgba(124,77,255,0.08);
}
:root[data-theme="rainbows"] .view-all{
  color:#7c4dff;
  font-weight:700;
}

/* Tiles: 2px border (not the shared 1px), hover fills with the same
   animated 7-stop shimmer as the primary pill. */
/* Resting-state tile fill was never overridden here (bug, user-reported
   2026-08-29) - it was silently falling through to the SHARED base rule's
   Dark-Mode-authored rgba(var(--void-2-rgb),0.62) fill, which now that
   --void-2 is fixed to a near-white value would just look washed-out
   rather than actually wrong, but before that fix was a dark-purple tile
   sitting on top of the animated rainbow background - i.e. every button
   still looked like unthemed Dark Mode, because it effectively was.
   Reference's own resting tile is a distinct off-white with a visible
   thin border, ported directly as literals (not derived from a --token,
   matching the reference exactly). */
:root[data-theme="rainbows"] .button-grid .button{
  border-width:2px;
  background:#faf9fd;
  border-color:rgba(28,27,41,0.08);
}
:root[data-theme="rainbows"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.95) 50%, transparent 67%);
}
:root[data-theme="rainbows"] .button-grid .button:hover{
  border-color:transparent;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  background:linear-gradient(120deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0);
  background-size:280% auto;
  background-repeat:no-repeat;
  animation:rainbowShimmer 2.5s linear infinite;
  box-shadow:0 12px 24px -10px rgba(124,77,255,0.55);
}

/* Background: no photo (the reference has none - the animated gradient
   itself IS the background), so .glow-field gets a soft white highlight
   radial over the continuously panning 7-stop rainbow. */
:root[data-theme="rainbows"] .glow-field{
  background-image:
    radial-gradient(900px 700px at 50% 30%, rgba(255,255,255,0.35), transparent 65%),
    linear-gradient(120deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0,#ff2d55);
  background-size:auto, 400% 400%;
  background-repeat:no-repeat, no-repeat;
  animation:rainbowBgShift 16s ease infinite;
}

/* ================= Light-card themes: DM widget legibility fix =================
   User-reported (2026-08-29): the global DM widget (css/dm-widget.css) and
   its expanded-thread internals (css/chats.css's .vibez-chat-dm-mini-*
   rules) fill several surfaces - the search box, the panel's close
   button, DM rows, accept/decline, the thread's close button, its reply
   textarea, and both attach buttons - with a hardcoded rgba(255,255,255,
   .04) tint. That assumes a dark backdrop (a barely-visible LIGHTER patch
   against near-black) - on a light-card theme (Light, Gardening,
   Construction, Rainbows) the DM widget's own panel background is a
   near-white var(--void)/var(--void-2), so that same 4% WHITE tint reads
   as almost nothing, leaving these surfaces with no visible boundary
   against the panel/thread around them. Neither dm-widget.css nor
   chats.css is touched directly - both load on ~19 other, non-themed
   pages where this Dark-Mode-tuned value is still correct; these
   selectors only ever match while home.css is also loaded AND
   [data-theme] is one of the four light-card themes, i.e. only on
   home.php, so nothing outside this project's scope is affected. */
:root[data-theme="light"] .vibez-dm-widget-search,
:root[data-theme="light"] .vibez-dm-widget-panel-close,
:root[data-theme="light"] .vibez-chat-dm-mini-row,
:root[data-theme="light"] .vibez-chat-dm-mini-accept,
:root[data-theme="light"] .vibez-chat-dm-mini-decline,
:root[data-theme="light"] .vibez-chat-dm-mini-close,
:root[data-theme="light"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="light"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="gardening"] .vibez-dm-widget-search,
:root[data-theme="gardening"] .vibez-dm-widget-panel-close,
:root[data-theme="gardening"] .vibez-chat-dm-mini-row,
:root[data-theme="gardening"] .vibez-chat-dm-mini-accept,
:root[data-theme="gardening"] .vibez-chat-dm-mini-decline,
:root[data-theme="gardening"] .vibez-chat-dm-mini-close,
:root[data-theme="gardening"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="gardening"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="construction"] .vibez-dm-widget-search,
:root[data-theme="construction"] .vibez-dm-widget-panel-close,
:root[data-theme="construction"] .vibez-chat-dm-mini-row,
:root[data-theme="construction"] .vibez-chat-dm-mini-accept,
:root[data-theme="construction"] .vibez-chat-dm-mini-decline,
:root[data-theme="construction"] .vibez-chat-dm-mini-close,
:root[data-theme="construction"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="construction"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="rainbows"] .vibez-dm-widget-search,
:root[data-theme="rainbows"] .vibez-dm-widget-panel-close,
:root[data-theme="rainbows"] .vibez-chat-dm-mini-row,
:root[data-theme="rainbows"] .vibez-chat-dm-mini-accept,
:root[data-theme="rainbows"] .vibez-chat-dm-mini-decline,
:root[data-theme="rainbows"] .vibez-chat-dm-mini-close,
:root[data-theme="rainbows"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="rainbows"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="thanksgiving"] .vibez-dm-widget-search,
:root[data-theme="thanksgiving"] .vibez-dm-widget-panel-close,
:root[data-theme="thanksgiving"] .vibez-chat-dm-mini-row,
:root[data-theme="thanksgiving"] .vibez-chat-dm-mini-accept,
:root[data-theme="thanksgiving"] .vibez-chat-dm-mini-decline,
:root[data-theme="thanksgiving"] .vibez-chat-dm-mini-close,
:root[data-theme="thanksgiving"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="thanksgiving"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="fall"] .vibez-dm-widget-search,
:root[data-theme="fall"] .vibez-dm-widget-panel-close,
:root[data-theme="fall"] .vibez-chat-dm-mini-row,
:root[data-theme="fall"] .vibez-chat-dm-mini-accept,
:root[data-theme="fall"] .vibez-chat-dm-mini-decline,
:root[data-theme="fall"] .vibez-chat-dm-mini-close,
:root[data-theme="fall"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="fall"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="spring"] .vibez-dm-widget-search,
:root[data-theme="spring"] .vibez-dm-widget-panel-close,
:root[data-theme="spring"] .vibez-chat-dm-mini-row,
:root[data-theme="spring"] .vibez-chat-dm-mini-accept,
:root[data-theme="spring"] .vibez-chat-dm-mini-decline,
:root[data-theme="spring"] .vibez-chat-dm-mini-close,
:root[data-theme="spring"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="spring"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="winter"] .vibez-dm-widget-search,
:root[data-theme="winter"] .vibez-dm-widget-panel-close,
:root[data-theme="winter"] .vibez-chat-dm-mini-row,
:root[data-theme="winter"] .vibez-chat-dm-mini-accept,
:root[data-theme="winter"] .vibez-chat-dm-mini-decline,
:root[data-theme="winter"] .vibez-chat-dm-mini-close,
:root[data-theme="winter"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="winter"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="summer"] .vibez-dm-widget-search,
:root[data-theme="summer"] .vibez-dm-widget-panel-close,
:root[data-theme="summer"] .vibez-chat-dm-mini-row,
:root[data-theme="summer"] .vibez-chat-dm-mini-accept,
:root[data-theme="summer"] .vibez-chat-dm-mini-decline,
:root[data-theme="summer"] .vibez-chat-dm-mini-close,
:root[data-theme="summer"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="summer"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="candy"] .vibez-dm-widget-search,
:root[data-theme="candy"] .vibez-dm-widget-panel-close,
:root[data-theme="candy"] .vibez-chat-dm-mini-row,
:root[data-theme="candy"] .vibez-chat-dm-mini-accept,
:root[data-theme="candy"] .vibez-chat-dm-mini-decline,
:root[data-theme="candy"] .vibez-chat-dm-mini-close,
:root[data-theme="candy"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="candy"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="easter"] .vibez-dm-widget-search,
:root[data-theme="easter"] .vibez-dm-widget-panel-close,
:root[data-theme="easter"] .vibez-chat-dm-mini-row,
:root[data-theme="easter"] .vibez-chat-dm-mini-accept,
:root[data-theme="easter"] .vibez-chat-dm-mini-decline,
:root[data-theme="easter"] .vibez-chat-dm-mini-close,
:root[data-theme="easter"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="easter"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="fathers-day"] .vibez-dm-widget-search,
:root[data-theme="fathers-day"] .vibez-dm-widget-panel-close,
:root[data-theme="fathers-day"] .vibez-chat-dm-mini-row,
:root[data-theme="fathers-day"] .vibez-chat-dm-mini-accept,
:root[data-theme="fathers-day"] .vibez-chat-dm-mini-decline,
:root[data-theme="fathers-day"] .vibez-chat-dm-mini-close,
:root[data-theme="fathers-day"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="fathers-day"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="mothers-day"] .vibez-dm-widget-search,
:root[data-theme="mothers-day"] .vibez-dm-widget-panel-close,
:root[data-theme="mothers-day"] .vibez-chat-dm-mini-row,
:root[data-theme="mothers-day"] .vibez-chat-dm-mini-accept,
:root[data-theme="mothers-day"] .vibez-chat-dm-mini-decline,
:root[data-theme="mothers-day"] .vibez-chat-dm-mini-close,
:root[data-theme="mothers-day"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="mothers-day"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="steampunk"] .vibez-dm-widget-search,
:root[data-theme="steampunk"] .vibez-dm-widget-panel-close,
:root[data-theme="steampunk"] .vibez-chat-dm-mini-row,
:root[data-theme="steampunk"] .vibez-chat-dm-mini-accept,
:root[data-theme="steampunk"] .vibez-chat-dm-mini-decline,
:root[data-theme="steampunk"] .vibez-chat-dm-mini-close,
:root[data-theme="steampunk"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="steampunk"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="baseball"] .vibez-dm-widget-search,
:root[data-theme="baseball"] .vibez-dm-widget-panel-close,
:root[data-theme="baseball"] .vibez-chat-dm-mini-row,
:root[data-theme="baseball"] .vibez-chat-dm-mini-accept,
:root[data-theme="baseball"] .vibez-chat-dm-mini-decline,
:root[data-theme="baseball"] .vibez-chat-dm-mini-close,
:root[data-theme="baseball"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="baseball"] .vibez-chat-dm-mini-attach-btn,
:root[data-theme="football"] .vibez-dm-widget-search,
:root[data-theme="football"] .vibez-dm-widget-panel-close,
:root[data-theme="football"] .vibez-chat-dm-mini-row,
:root[data-theme="football"] .vibez-chat-dm-mini-accept,
:root[data-theme="football"] .vibez-chat-dm-mini-decline,
:root[data-theme="football"] .vibez-chat-dm-mini-close,
:root[data-theme="football"] .vibez-chat-dm-mini-form textarea,
:root[data-theme="football"] .vibez-chat-dm-mini-attach-btn{
  background:rgba(0,0,0,0.04);
}
/* button.vibez-chat-dm-mini-row (the clickable variant) needs the same
   fix, kept as its own selector group since the base rule uses element+
   class compound selectors, not just a class. */
:root[data-theme="light"] button.vibez-chat-dm-mini-row,
:root[data-theme="gardening"] button.vibez-chat-dm-mini-row,
:root[data-theme="construction"] button.vibez-chat-dm-mini-row,
:root[data-theme="rainbows"] button.vibez-chat-dm-mini-row,
:root[data-theme="thanksgiving"] button.vibez-chat-dm-mini-row,
:root[data-theme="fall"] button.vibez-chat-dm-mini-row,
:root[data-theme="spring"] button.vibez-chat-dm-mini-row,
:root[data-theme="winter"] button.vibez-chat-dm-mini-row{
  background:rgba(0,0,0,0.04);
}
:root[data-theme="summer"] button.vibez-chat-dm-mini-row,
:root[data-theme="candy"] button.vibez-chat-dm-mini-row,
:root[data-theme="easter"] button.vibez-chat-dm-mini-row,
:root[data-theme="fathers-day"] button.vibez-chat-dm-mini-row,
:root[data-theme="mothers-day"] button.vibez-chat-dm-mini-row,
:root[data-theme="steampunk"] button.vibez-chat-dm-mini-row,
:root[data-theme="baseball"] button.vibez-chat-dm-mini-row,
:root[data-theme="football"] button.vibez-chat-dm-mini-row{
  background:rgba(0,0,0,0.04);
}

/* Header: reference's own header has a rainbow-gradient border-image
   bottom edge (same technique as Construction's caution-stripe header
   border), not the shared plain 1px --glass-brd line - missed in the
   first pass, added now. */
:root[data-theme="rainbows"] header{
  background:rgba(255,255,255,0.85);
  border-bottom:3px solid transparent;
  border-image:linear-gradient(90deg,#ff2d55,#ff8f00,#ffe600,#22e07a,#00b8ff,#7c4dff,#ff2fc0) 1;
}

/* ================= Christmas ================= */

:root[data-theme="christmas"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ff7c82;}
:root[data-theme="christmas"] .section-vibez{--accent:var(--cyan); --accent-text:#82d7a0;}
:root[data-theme="christmas"] .section-manage-you{--accent:var(--gold); --accent-text:#f2be4a;}
:root[data-theme="christmas"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e6f6ff;}
:root[data-theme="christmas"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#7fc4f0;}
:root[data-theme="christmas"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#ff8fae;}

/* Reference's "SEE EVERYTHING" link is a fixed gold regardless of which
   section it sits in (.ch-see), not tied to that section's own
   --accent-text - same "fixed, not per-section" pattern St. Patrick's Day
   already established. */
:root[data-theme="christmas"] .view-all{color:var(--gold);}

:root[data-theme="christmas"] .heart-beat-icon{ color:#d6333d; }

:root[data-theme="christmas"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="christmas"] .avatar-ring{
  background:linear-gradient(140deg, var(--gold), var(--pink), #27724d);
}
:root[data-theme="christmas"] header{
  background:rgba(4,18,35,0.70);
  border-bottom:1px solid rgba(242,190,74,0.42);
}

/* Sections: unlike every theme so far, the reference gives each NAMED
   section its own two-stop diagonal card fill + border, not one shared
   translucent --glass token - the accent-driven top bar and hover-lift
   border/shadow ARE still uniform via var(--accent) (identical shape as
   every other theme), just the fill itself needs one override per
   section. Upgrade/Top-of-the-Vibez (5/6) extended in the same two-stop-
   diagonal style using the invented icy-blue/berry-pink accents. */
:root[data-theme="christmas"] .section{
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(247,251,255,0.025) inset;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation:none;
}
:root[data-theme="christmas"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--accent);
  box-shadow:0 15px 30px -20px var(--accent);
}
:root[data-theme="christmas"] .section::before{
  box-shadow:0 0 14px var(--accent);
}
:root[data-theme="christmas"] .section:nth-of-type(1){ background:linear-gradient(145deg, rgba(86,13,24,0.89), rgba(43,18,28,0.86)); border-color:rgba(207,38,51,0.52); }
:root[data-theme="christmas"] .section-vibez{ background:linear-gradient(145deg, rgba(10,70,48,0.90), rgba(5,40,36,0.88)); border-color:rgba(76,183,120,0.52); }
:root[data-theme="christmas"] .section-manage-you{ background:linear-gradient(145deg, rgba(38,67,100,0.90), rgba(10,31,56,0.88)); border-color:rgba(242,190,74,0.48); }
:root[data-theme="christmas"] .section:nth-of-type(4){ background:linear-gradient(145deg, rgba(54,84,110,0.90), rgba(23,48,76,0.88)); border-color:rgba(230,246,255,0.52); }
:root[data-theme="christmas"] .section:nth-of-type(5){ background:linear-gradient(145deg, rgba(20,55,80,0.90), rgba(8,28,45,0.88)); border-color:rgba(83,151,212,0.52); }
:root[data-theme="christmas"] .section:nth-of-type(6){ background:linear-gradient(145deg, rgba(80,20,45,0.90), rgba(40,10,25,0.88)); border-color:rgba(255,111,145,0.52); }

/* Pills: reference has no shine-sweep pseudo-element for pills at all
   (only structural position/overflow, no ::before background ever
   declared) - leaving .pill-btn::before with no background under this
   theme (no rule sets one) keeps it invisible, matching that. */
:root[data-theme="christmas"] .pill-btn{
  background:rgba(255,255,255,0.06);
  border-color:rgba(242,190,74,0.46);
}
:root[data-theme="christmas"] .pill-btn:hover{
  border-color:var(--gold);
  box-shadow:0 8px 24px -8px var(--gold);
}
:root[data-theme="christmas"] .pill-btn.ghost:hover{
  color:var(--ink);
}
:root[data-theme="christmas"] .pill-btn.primary{
  background:var(--pink);
  border-color:#f05c62;
  color:#fff9eb;
}

:root[data-theme="christmas"] .activity-item:hover{
  background:rgba(242,190,74,0.13);
}

/* Tiles: RESTING background/border/color is the reference's own default
   (untagged) tile look, which doubles as the fallback for "Manage You"
   (the one section with no color class in the reference either) - the
   3 named sections (red/green/white) plus the 2 invented extensions each
   override just the border color at rest and the border/background/
   shadow on hover, layered on top via higher-specificity descendant
   selectors, same structure the reference itself uses
   (.ch-section.red .ch-tile etc). No shine-sweep here either, same
   reasoning as the pills above. */
:root[data-theme="christmas"] .button-grid .button{
  background:rgba(4,15,30,0.67);
  border-color:rgba(234,247,255,0.19);
}
:root[data-theme="christmas"] .button-grid .button:hover{
  border-color:var(--gold);
  background:rgba(242,190,74,0.14);
  box-shadow:0 10px 24px -12px var(--gold);
}
:root[data-theme="christmas"] .section:nth-of-type(1) .button-grid .button{ border-color:rgba(207,38,51,0.52); }
:root[data-theme="christmas"] .section:nth-of-type(1) .button-grid .button:hover{ border-color:var(--pink); background:rgba(207,38,51,0.16); box-shadow:0 10px 24px -12px var(--pink); }
:root[data-theme="christmas"] .section-vibez .button-grid .button{ border-color:rgba(76,183,120,0.52); }
:root[data-theme="christmas"] .section-vibez .button-grid .button:hover{ border-color:var(--cyan); background:rgba(76,183,120,0.16); box-shadow:0 10px 24px -12px var(--cyan); }
:root[data-theme="christmas"] .section:nth-of-type(4) .button-grid .button{ border-color:rgba(230,246,255,0.52); }
:root[data-theme="christmas"] .section:nth-of-type(4) .button-grid .button:hover{ border-color:var(--violet); background:rgba(230,246,255,0.14); box-shadow:0 10px 24px -12px var(--violet); }
:root[data-theme="christmas"] .section:nth-of-type(5) .button-grid .button{ border-color:rgba(83,151,212,0.52); }
:root[data-theme="christmas"] .section:nth-of-type(5) .button-grid .button:hover{ border-color:var(--mint); background:rgba(83,151,212,0.16); box-shadow:0 10px 24px -12px var(--mint); }
:root[data-theme="christmas"] .section:nth-of-type(6) .button-grid .button{ border-color:rgba(255,111,145,0.52); }
:root[data-theme="christmas"] .section:nth-of-type(6) .button-grid .button:hover{ border-color:var(--orange); background:rgba(255,111,145,0.16); box-shadow:0 10px 24px -12px var(--orange); }

/* Background: site_assets/background_themed/christmas.png. Reference's
   own .bg layer has a dark vertical haze (rgba(3,15,31,.42→.78)) sitting
   on top of the photo - stripped per the plan's "Background Haze" rule,
   same as every other photo-backed theme; only the 2 radial glows from
   its .sky layer remain, over the raw photo. */
:root[data-theme="christmas"] .glow-field{
  background:
    radial-gradient(580px 420px at 52% 8%, rgba(83,151,212,0.3), transparent 60%),
    radial-gradient(500px 350px at 14% 20%, rgba(242,190,74,0.17), transparent 60%),
    url('../site_assets/background_themed/christmas.png') center top / cover no-repeat fixed;
  animation:none;
}


/* ================= Thanksgiving =================
   Built from proposed_themes/thanksgiving-hearth-home.html - a light-card
   theme like Light/Gardening/Construction (solid warm-cream cards, no
   scrolling gradients, no card-pulse breathe animation). Unlike Christmas,
   the reference's card FILL is uniform across every section (only the
   top-bar/title color and, for the reference's 4 defined roles, nothing
   else varies) - so this fits the standard --glass-token card pattern
   with no per-section fill/border overrides needed. hasScript=0 in the
   reference - no JS hover flourish for this theme, same as every other
   theme except Gardening/St. Patrick's Day. */

/* Section role map: --pink/--cyan/--gold/--violet hold the reference's 4
   actual roles in DOM order (red "What's Crackin'"/green "Vibez"/default
   amber "Manage You"/berry "Vibezmart" - see the token block above for
   why --pink=red and --gold=amber, not the other way round). --mint/
   --orange (golden wheat/deep cranberry) are this build's own additions
   for the 2 sections the reference has no opinion on (Upgrade, Top of the
   Vibez) - --accent-text values are hand-picked darker shades of each
   role's own hue for AA-safe text contrast on the near-white cards, same
   approach as every other light-card theme. */
:root[data-theme="thanksgiving"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#a94729;}
:root[data-theme="thanksgiving"] .section-vibez{--accent:var(--cyan); --accent-text:#4c6b31;}
:root[data-theme="thanksgiving"] .section-manage-you{--accent:var(--gold); --accent-text:#a9661d;}
:root[data-theme="thanksgiving"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#7b3934;}
:root[data-theme="thanksgiving"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#8a6a0a;}
:root[data-theme="thanksgiving"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#7a1f30;}

/* Wordmark needs NO override - the shared 3-stop rule is
   linear-gradient(90deg,var(--pink),var(--gold),var(--cyan)), which with
   this theme's tokens already renders exactly the reference's own
   linear-gradient(90deg,#b8512d,#c47a22,#5f7b3d). Same free ride
   St. Patrick's Day got (see that theme's own note near its avatar-ring). */

/* Avatar ring: reference's .thanksgiving-avatar is a 3-stop diagonal
   gradient (amber->rust->olive), not the shared flat --glass-brd ring. */
:root[data-theme="thanksgiving"] .avatar-ring{
  background:linear-gradient(140deg, var(--gold), var(--pink), var(--cyan));
}

/* Profile/section cards: --glass/--glass-brd already give the exact
   reference fill+border (see the token block), only the shadows need
   overriding here, plus killing the shared breathe pulse (reference's
   cards are static) and adding the reference's hover lift, which is a
   single fixed amber border/glow for EVERY section regardless of that
   section's own accent color - matched literally, not generalized to
   var(--accent), to stay faithful to the actual reference file (it really
   does use one hardcoded #c47a22 for every section's hover border). */
:root[data-theme="thanksgiving"] .user-info{
  box-shadow:0 20px 60px -24px rgba(68,35,18,0.55);
}
:root[data-theme="thanksgiving"] .section{
  box-shadow:0 0 0 1px rgba(255,255,255,0.52) inset, 0 16px 34px -28px rgba(68,35,18,0.75);
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="thanksgiving"] .section:hover{
  transform:translateY(-3px);
  border-color:#c47a22;
  box-shadow:0 16px 30px -22px rgba(143,77,25,0.75);
}

/* Pills: ghost ("Log Out") is a translucent warm-cream tint at rest, not
   the shared fully-transparent ghost fill; primary ("View Profile") is a
   flat rust-red fill, not gold/cyan. Both pills share one fixed amber
   hover border/glow in the reference (same "one hardcoded hover color for
   everything" pattern as the section cards above), which wins over the
   shared per-variant hover rules that would otherwise apply (base
   .pill-btn.primary:hover uses var(--cyan) - overridden explicitly below
   so it doesn't leak through). */
:root[data-theme="thanksgiving"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.8) 49%, transparent 70%);
}
:root[data-theme="thanksgiving"] .pill-btn:hover{
  border-color:#c47a22;
  box-shadow:0 8px 24px -8px rgba(196,122,34,0.75);
}
:root[data-theme="thanksgiving"] .pill-btn.ghost{
  background:rgba(255,252,241,0.46);
  border-color:rgba(124,77,33,0.38);
  color:var(--ink);
}
:root[data-theme="thanksgiving"] .pill-btn.primary{
  background:var(--pink);
  color:#fff9eb;
  border-color:var(--pink);
}
:root[data-theme="thanksgiving"] .pill-btn.primary:hover{
  box-shadow:0 8px 24px -8px rgba(196,122,34,0.75);
}

/* Activity row hover: reference tints every row with the same fixed amber
   (this activity list only ever lives in the "What's Crackin'" section,
   which is itself red-accented - the reference still uses amber here, not
   that section's own red, so matched literally rather than via
   var(--accent)). "SEE EVERYTHING" (.view-all) is likewise a fixed amber,
   not the section's own red --accent-text - same "fixed gold .view-all"
   pattern used for Christmas. */
:root[data-theme="thanksgiving"] .activity-item:hover{
  background:rgba(196,122,34,0.13);
}
:root[data-theme="thanksgiving"] .view-all{
  color:#a9661d;
}

/* Tiles: one uniform resting/hover treatment across every section (the
   reference's .thanksgiving-tile rules are un-scoped by section, unlike
   Light/Christmas which vary tile hover color per section) - amber shine
   sweep, cream-gold hover fill+border+glow. */
:root[data-theme="thanksgiving"] .button-grid .button{
  background:rgba(255,253,244,0.72);
  border-color:rgba(124,77,33,0.22);
}
:root[data-theme="thanksgiving"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(239,193,105,0.35) 50%, transparent 67%);
}
:root[data-theme="thanksgiving"] .button-grid .button:hover{
  z-index:1;
  border-color:#c47a22;
  background:rgba(255,244,216,0.96);
  box-shadow:0 10px 24px -14px rgba(158,90,25,0.78);
}

/* Background: thanksgiving.png, no haze (same rule as every photo-backed
   theme so far - the reference's own flat dark-overlay wash layer is
   dropped, its two radial glows kept). */
:root[data-theme="thanksgiving"] .glow-field{
  background:
    radial-gradient(570px 410px at 14% 14%, rgba(255,250,229,0.55), transparent 66%),
    radial-gradient(620px 420px at 88% 15%, rgba(232,145,49,0.22), transparent 65%),
    url('../site_assets/background_themed/thanksgiving.png') center top / cover no-repeat fixed;
  animation:none;
}


/* ================= Fall =================
   Built from proposed_themes/fall-theme.html - light-card architecture
   like Light/Gardening/Thanksgiving. hasScript=1 (leaf-swirl hover
   flourish, see js/home.js). */

/* Section role map: DOM order already matches the reference's own
   untagged-vs-classed sections exactly (see the token block's own note) -
   no re-pairing needed. */
:root[data-theme="fall"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#b8500f;}
:root[data-theme="fall"] .section-vibez{--accent:var(--cyan); --accent-text:#9c2c0a;}
:root[data-theme="fall"] .section-manage-you{--accent:var(--gold); --accent-text:#96700a;}
:root[data-theme="fall"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#5c3814;}
:root[data-theme="fall"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#5c5211;}
:root[data-theme="fall"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#6b2a12;}

/* Wordmark: reference is a 4-stop orange/red/gold/brown shimmer - flattened
   to static per the standing no-scrolling-gradient rule (background-clip/
   color re-declared alongside the gradient, same gotcha as every other
   custom wordmark this session). */
:root[data-theme="fall"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="fall"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--pink), var(--cyan), var(--gold), var(--violet), var(--pink));
}
/* Reference's heart is a specific red (#bf360c), not whichever hue landed
   in --pink (orange here) - matches lesson 8. No glow per the standing
   no-radiating-heartbeat-glow rule. */
:root[data-theme="fall"] .heart-beat-icon{color:#bf360c;}

/* Profile/section cards: solid white (--glass already handles that), but
   the profile card's own border/shadow are accent-tinted while the shared
   --glass-brd token above is tuned to match the SECTION cards' fainter,
   neutral border instead (the reference genuinely uses two different
   border colors here) - .user-info gets its own border-color override to
   cover that difference. Sections get the reference's hover-lift and lose
   the shared breathe pulse (reference's cards are static); the top accent
   bar is 3px here, not the shared 2px. */
:root[data-theme="fall"] .user-info{
  border-color:rgba(216,98,29,0.28);
  box-shadow:0 20px 46px -22px rgba(191,54,12,0.28), 0 4px 16px -6px rgba(58,36,22,0.08);
}
:root[data-theme="fall"] .section{
  box-shadow:0 14px 34px -22px rgba(58,36,22,0.18);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="fall"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(58,36,22,0.24);
}
:root[data-theme="fall"] .section::before{
  height:3px;
}

/* Pills: ghost ("Log Out") is solid white at rest, not the shared fully-
   transparent ghost fill, and its hover leaves border/text color alone -
   only lift+glow, matching the reference's own generic .fal-pill:hover
   (no border-color/color override there at all) rather than the shared
   ghost:hover rule's border/text recolor. Primary ("View Profile") is a
   permanent orange->red gradient with its own resting glow, not just a
   hover-triggered one. */
:root[data-theme="fall"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="fall"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(191,54,12,0.45);
}
:root[data-theme="fall"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(58,36,22,0.16);
  color:var(--ink);
}
:root[data-theme="fall"] .pill-btn.ghost:hover{
  border-color:rgba(58,36,22,0.16);
  color:var(--ink);
}
:root[data-theme="fall"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, var(--pink), var(--cyan));
  color:#fff3e0;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(191,54,12,0.5);
}

/* Activity row hover: fixed to the reference's own orange, matches
   --pink-rgb exactly (no override needed for .view-all - section 1's own
   --accent-text above already equals the reference's literal .fal-see
   color, since that section is the reference's default/untagged role). */
:root[data-theme="fall"] .activity-item:hover{
  background:rgba(216,98,29,0.12);
}

/* Tiles: reference only specifies border-color+box-shadow on hover (no
   background/transform change beyond what the shared rule already gives),
   so only those two are overridden here. */
:root[data-theme="fall"] .button-grid .button{
  background:#fdf6ee;
  border-color:rgba(58,36,22,0.14);
}
:root[data-theme="fall"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.85) 50%, transparent 67%);
}
:root[data-theme="fall"] .button-grid .button:hover{
  border-color:#d8621d;
  box-shadow:0 10px 22px -12px rgba(216,98,29,0.5);
}

/* Background: fall.png, reference's own 3 radial glows (no dark-overlay
   haze layer to strip this time - the reference itself has none). */
:root[data-theme="fall"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(216,98,29,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(191,54,12,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(217,164,65,0.2), transparent 62%),
    url('../site_assets/background_themed/fall.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Spring =================
   Built from proposed_themes/spring-theme.html - light-card, same
   architecture as Fall. hasScript=1, with two separate JS pieces: the
   growing-vine/blooming-bud hover flourish (js/home.js flourishTargets
   IIFE) AND an always-on ambient floating-glyph canvas (js/home.js's own
   dedicated IIFE, starts/stops via a MutationObserver on <html
   data-theme> - see that IIFE's own comment for how it avoids needing any
   changes to theme-selector.js). */

/* Section role map: DOM order already matches the reference exactly, same
   as Fall - no re-pairing needed. */
:root[data-theme="spring"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#4a8a2a;}
:root[data-theme="spring"] .section-vibez{--accent:var(--cyan); --accent-text:#2a7bb0;}
:root[data-theme="spring"] .section-manage-you{--accent:var(--gold); --accent-text:#a17c00;}
:root[data-theme="spring"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#d1517a;}
:root[data-theme="spring"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#1f7a52;}
:root[data-theme="spring"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a84d34;}

/* Wordmark: reference is a 4-stop green/blue/yellow/pink shimmer -
   flattened to static per the standing rule, same technique as Fall's. */
:root[data-theme="spring"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="spring"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--pink), var(--cyan), var(--gold), var(--violet), var(--pink));
}
/* Reference's heart is pink (#f4879f), matching --violet here, not --pink
   (green) - same lesson-8 override as Fall's red heart. No glow per the
   standing rule. */
:root[data-theme="spring"] .heart-beat-icon{color:#f4879f;}

/* Same "profile card border is accent-tinted, section cards' is neutral"
   split as Fall - see that theme's own note. Static cards, hover-lift,
   3px top accent bar. */
:root[data-theme="spring"] .user-info{
  border-color:rgba(111,174,74,0.22);
  box-shadow:0 20px 46px -22px rgba(111,174,74,0.3), 0 4px 16px -6px rgba(43,58,46,0.08);
}
:root[data-theme="spring"] .section{
  box-shadow:0 14px 34px -22px rgba(43,58,46,0.16);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="spring"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(43,58,46,0.22);
}
:root[data-theme="spring"] .section::before{
  height:3px;
}

/* Pills: same "ghost is solid white, hover leaves border/text alone,
   primary carries a permanent glow" shape as Fall. */
:root[data-theme="spring"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="spring"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(111,174,74,0.5);
}
:root[data-theme="spring"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(43,58,46,0.14);
  color:var(--ink);
}
:root[data-theme="spring"] .pill-btn.ghost:hover{
  border-color:rgba(43,58,46,0.14);
  color:var(--ink);
}
:root[data-theme="spring"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, #6fae4a, #a8d86a);
  color:#1a2e12;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(111,174,74,0.55);
}

/* Activity row hover: fixed to the reference's own green, matches
   --pink-rgb exactly (no .view-all override needed, same reasoning as
   Fall's). */
:root[data-theme="spring"] .activity-item:hover{
  background:rgba(111,174,74,0.1);
}

/* Tiles: reference only specifies border-color+box-shadow on hover, same
   shape as Fall's. */
:root[data-theme="spring"] .button-grid .button{
  background:#f8fbf5;
  border-color:rgba(43,58,46,0.12);
}
:root[data-theme="spring"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.85) 50%, transparent 67%);
}
:root[data-theme="spring"] .button-grid .button:hover{
  border-color:#6fae4a;
  box-shadow:0 10px 22px -12px rgba(111,174,74,0.5);
}

/* Background: spring.png, reference's own 3 radial glows, no haze layer
   to strip (same as Fall - the reference has none here either). */
:root[data-theme="spring"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(111,174,74,0.2), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(79,168,216,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(244,135,159,0.16), transparent 62%),
    url('../site_assets/background_themed/spring.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Winter =================
   Built from proposed_themes/winter-theme.html - light-card, same shape
   as Fall/Spring. hasScript=1 (frost-rise hover flourish, see
   js/home.js). */

/* Section role map: DOM order already matches the reference's own
   untagged-vs-classed sections exactly (see the token block's own note) -
   no re-pairing needed. */
:root[data-theme="winter"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#2a7bb0;}
:root[data-theme="winter"] .section-vibez{--accent:var(--cyan); --accent-text:#5a6c80;}
:root[data-theme="winter"] .section-manage-you{--accent:var(--gold); --accent-text:#1f3a54;}
:root[data-theme="winter"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#1c8a8f;}
:root[data-theme="winter"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#4a6483;}
:root[data-theme="winter"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#1e4a34;}

/* Wordmark: reference is a 4-stop ice-blue/silver/navy/teal shimmer -
   flattened to static per the standing no-scrolling-gradient rule (same
   technique as Fall/Spring's own 4-stop wordmarks). */
:root[data-theme="winter"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="winter"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--pink), var(--cyan), var(--gold), var(--violet), var(--pink));
}
/* Reference's heart is #4fa8d8, which already IS --pink here - no
   override needed, same free ride St. Patrick's/Thanksgiving got. No
   glow per the standing no-radiating-heartbeat-glow rule either way. */

/* Same "profile card border is accent-tinted, section cards' is neutral"
   split as Fall/Spring - see those themes' own notes. Static cards,
   hover-lift, 3px top accent bar. */
:root[data-theme="winter"] .user-info{
  border-color:rgba(79,168,216,0.26);
  box-shadow:0 20px 46px -22px rgba(79,168,216,0.3), 0 4px 16px -6px rgba(30,42,56,0.08);
}
:root[data-theme="winter"] .section{
  box-shadow:0 14px 34px -22px rgba(30,42,56,0.16);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="winter"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(30,42,56,0.22);
}
:root[data-theme="winter"] .section::before{
  height:3px;
}

/* Pills: same "ghost is solid white, hover leaves border/text alone,
   primary carries a permanent glow" shape as Fall/Spring. */
:root[data-theme="winter"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="winter"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(79,168,216,0.5);
}
:root[data-theme="winter"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(30,42,56,0.14);
  color:var(--ink);
}
:root[data-theme="winter"] .pill-btn.ghost:hover{
  border-color:rgba(30,42,56,0.14);
  color:var(--ink);
}
:root[data-theme="winter"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, var(--gold), var(--pink));
  color:#eef6fb;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(44,74,104,0.5);
}

/* Activity row hover: fixed to the reference's own ice-blue, matches
   --pink-rgb exactly (no .view-all override needed, same reasoning as
   Fall/Spring's). */
:root[data-theme="winter"] .activity-item:hover{
  background:rgba(79,168,216,0.12);
}

/* Tiles: reference only specifies border-color+box-shadow on hover, same
   shape as Fall/Spring's. */
:root[data-theme="winter"] .button-grid .button{
  background:#f7fbfd;
  border-color:rgba(30,42,56,0.12);
}
:root[data-theme="winter"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.85) 50%, transparent 67%);
}
:root[data-theme="winter"] .button-grid .button:hover{
  border-color:#4fa8d8;
  box-shadow:0 10px 22px -12px rgba(79,168,216,0.5);
}

/* Background: winter.png, reference's own 3 radial glows, no haze layer
   to strip (same as Fall/Spring - the reference has none here either). */
:root[data-theme="winter"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(79,168,216,0.2), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(125,142,163,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(79,195,200,0.16), transparent 62%),
    url('../site_assets/background_themed/winter.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Summer =================
   Built from proposed_themes/summer-theme.html - light-card, same shape
   as Fall/Spring/Winter. hasScript=1 (water-splash burst hover flourish,
   see js/home.js). */

/* Section role map: DOM order already matches the reference's own
   untagged-vs-classed sections exactly (see the token block's own note) -
   no re-pairing needed. */
:root[data-theme="summer"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#b8860a;}
:root[data-theme="summer"] .section-vibez{--accent:var(--cyan); --accent-text:#1c7fb0;}
:root[data-theme="summer"] .section-manage-you{--accent:var(--gold); --accent-text:#d1503f;}
:root[data-theme="summer"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#158a99;}
:root[data-theme="summer"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#1f9f68;}
:root[data-theme="summer"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#c9600f;}

/* Wordmark: reference is a 4-stop gold/sky/coral/aqua shimmer -
   flattened to static per the standing no-scrolling-gradient rule (same
   technique as Fall/Spring/Winter's own 4-stop wordmarks). */
:root[data-theme="summer"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="summer"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--pink), var(--cyan), var(--gold), var(--violet), var(--pink));
}
/* Reference's heart is #ff6f61 (the coral/--gold role), NOT --pink -
   needs an explicit override, unlike Winter's free ride. No glow per the
   standing no-radiating-heartbeat-glow rule either way. */
:root[data-theme="summer"] .heart-beat-icon{
  color:#ff6f61;
}

/* Same "profile card border is accent-tinted, section cards' is neutral"
   split as Fall/Spring/Winter - see those themes' own notes. Static
   cards, hover-lift, 3px top accent bar. */
:root[data-theme="summer"] .user-info{
  border-color:rgba(255,202,40,0.3);
  box-shadow:0 20px 46px -22px rgba(41,182,246,0.3), 0 4px 16px -6px rgba(43,36,24,0.08);
}
:root[data-theme="summer"] .section{
  box-shadow:0 14px 34px -22px rgba(43,36,24,0.16);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="summer"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(43,36,24,0.22);
}
:root[data-theme="summer"] .section::before{
  height:3px;
}

/* Pills: same "ghost is solid white, hover leaves border/text alone,
   primary carries a permanent glow" shape as Fall/Spring/Winter. */
:root[data-theme="summer"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="summer"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(41,182,246,0.5);
}
:root[data-theme="summer"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(43,36,24,0.14);
  color:var(--ink);
}
:root[data-theme="summer"] .pill-btn.ghost:hover{
  border-color:rgba(43,36,24,0.14);
  color:var(--ink);
}
:root[data-theme="summer"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, var(--pink), var(--gold));
  color:#3a1305;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(255,111,97,0.55);
}

/* Activity row hover: fixed to the reference's own gold, matches
   --pink-rgb exactly (no .view-all override needed, same reasoning as
   Fall/Spring/Winter's). */
:root[data-theme="summer"] .activity-item:hover{
  background:rgba(255,202,40,0.14);
}

/* Tiles: reference only specifies border-color+box-shadow on hover, same
   shape as Fall/Spring/Winter's. */
:root[data-theme="summer"] .button-grid .button{
  background:#fffaf0;
  border-color:rgba(43,36,24,0.12);
}
:root[data-theme="summer"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.85) 50%, transparent 67%);
}
:root[data-theme="summer"] .button-grid .button:hover{
  border-color:#29b6f6;
  box-shadow:0 10px 22px -12px rgba(41,182,246,0.5);
}

/* Background: summer.png, reference's own 3 radial glows, no haze layer
   to strip (same as Fall/Spring/Winter - the reference has none here
   either). */
:root[data-theme="summer"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(255,202,40,0.3), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(41,182,246,0.22), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(38,198,218,0.18), transparent 62%),
    url('../site_assets/background_themed/summer.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Valentine's Day =================
   Built from proposed_themes/valentines-hearts-theme.html - dark-card,
   crimson/pink/rosegold/hot-pink palette. hasScript=1 (racing-heart burst
   on hover, see js/home.js) PLUS an always-on ambient floating-heart
   canvas (reuses Spring's canvas IIFE/MutationObserver machinery with its
   own glyph set - see js/home.js's GLYPH_SETS). */

/* Section role map: the reference's UNCLASSED/default section is
   "Vibezmart" (section 4), not section 1 like every other theme so far -
   crimson/pink/rosegold explicitly tag sections 1-3. Re-paired
   accordingly, double-checked before writing the rest of this block. */
:root[data-theme="valentines"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#e0577c;}
:root[data-theme="valentines"] .section-vibez{--accent:var(--cyan); --accent-text:#ffb3c6;}
:root[data-theme="valentines"] .section-manage-you{--accent:var(--gold); --accent-text:#d99aa3;}
:root[data-theme="valentines"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#ff4f7d;}
:root[data-theme="valentines"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#ffc2d1;}
:root[data-theme="valentines"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#d9738f;}

/* Chrome (heart/wordmark/avatar/pill-hover/section-hover) all use the
   reference's own hot-pink #ff4f7d pervasively - which landed in
   --violet, not --pink, because of the re-pairing above. Every one of
   these needed an explicit redirect off the shared base's var(--pink)
   default. */
:root[data-theme="valentines"] .heart-beat-icon{ color:var(--violet); }
:root[data-theme="valentines"] .wordmark{
  background:linear-gradient(90deg, var(--violet), #ffb3c6, var(--pink));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="valentines"] .avatar-ring{
  background:linear-gradient(140deg, var(--violet), var(--gold));
}

/* Profile card and section cards share the exact same border color in
   this reference (rgba(255,143,171,.3), baked into --glass-brd) - the
   first theme so far that DOESN'T need a .user-info split override. */
:root[data-theme="valentines"] .section{
  box-shadow:0 0 0 1px rgba(253,241,238,0.025) inset;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="valentines"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--violet);
  box-shadow:0 14px 30px -20px rgba(255,79,125,0.85);
}
:root[data-theme="valentines"] .section::before{
  height:2px;
  box-shadow:0 0 14px var(--accent);
}

:root[data-theme="valentines"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,230,236,0.24) 49%, transparent 70%);
}
:root[data-theme="valentines"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(255,79,125,0.5);
}
/* Ghost hover: reference's own hover color (#ff4f7d) happens to be
   exactly what the shared base default recolors ghost pills to (var(
   --pink)) - EXCEPT --pink here holds crimson, not the hero pink, so it
   still needs redirecting to --violet, same reasoning as heart/wordmark
   above. */
:root[data-theme="valentines"] .pill-btn.ghost:hover{
  border-color:var(--violet);
  color:var(--violet);
}
:root[data-theme="valentines"] .pill-btn.primary{
  border-color:var(--violet);
  background:linear-gradient(120deg, var(--pink), var(--violet));
  color:#fdf1ee;
  box-shadow:0 8px 20px -8px rgba(255,79,125,0.5);
}

:root[data-theme="valentines"] .activity-item:hover{
  background:rgba(255,79,125,0.14);
}

/* Tiles: reference's own hover is an ANIMATED scrolling gradient sweep
   plus a pulsing box-shadow - both banned by the standing no-scrolling-
   gradient/no-pulsing-glow rules. Flattened to a static full-pink fill
   (still a genuinely new "recolor the whole tile" hover treatment, not
   just border+glow like every other theme) with a static glow, keeping
   the reference's spirit without the animation. */
:root[data-theme="valentines"] .button-grid .button{
  background:rgba(38,9,18,0.67);
  border-color:rgba(255,143,171,0.26);
}
:root[data-theme="valentines"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,230,236,0.18) 50%, transparent 67%);
}
:root[data-theme="valentines"] .button-grid .button:hover{
  transform:translateY(-3px);
  border-color:transparent;
  color:#3a0a1c;
  font-weight:700;
  text-shadow:0 1px 0 rgba(255,255,255,0.4);
  background:linear-gradient(120deg, #ffd1dc, #ff8fab, #ff4f7d, #c81d4f);
  box-shadow:0 10px 24px -10px rgba(255,79,125,0.55);
}

:root[data-theme="valentines"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(255,79,125,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(183,110,121,0.22), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(255,209,220,0.14), transparent 62%),
    url('../site_assets/background_themed/valentines-day.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= July 4th =================
   Built from proposed_themes/july4th-theme.html - dark-card,
   red/white/blue palette. hasScript=1 (firework flash+spark burst on
   hover, see js/home.js) PLUS an always-on ambient floating-sparkle
   canvas (reuses Spring/Valentine's canvas IIFE with its own glyph set).
   has_background:false - see the token block's own note on the missing
   asset. */

/* Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed, and the reference's
   own chrome hero color (#c8102e) already IS --pink here (section 1's
   own color), a free ride like Winter/July4th's own heart got. */
:root[data-theme="july4th"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#e35c73;}
:root[data-theme="july4th"] .section-vibez{--accent:#1d356e; --accent-text:#1d356e;}
:root[data-theme="july4th"] .section-manage-you{--accent:var(--gold); --accent-text:#8fb6de;}
:root[data-theme="july4th"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#7186c2;}
:root[data-theme="july4th"] .section:nth-of-type(5){--accent:#1d356e; --accent-text:#1d356e;}
:root[data-theme="july4th"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#ffe08a;}

/* Heart-beat-icon and ghost-pill-hover both need NO override at all -
   the shared base defaults (var(--pink)) already equal the reference's
   own #c8102e exactly, same free ride Winter's heart got. */
:root[data-theme="july4th"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="july4th"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--gold));
}

/* .section's own inset box-shadow (rgba(245,245,245,.02)) and
   .activity-item:hover (rgba(200,16,46,.12)) both already match the
   shared base defaults exactly once --highlight-rgb/--pink-rgb are set
   right - no overrides needed for either. */
:root[data-theme="july4th"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--pink);
  box-shadow:0 14px 30px -20px rgba(200,16,46,0.85);
}
:root[data-theme="july4th"] .section::before{
  height:2px;
  box-shadow:0 0 14px var(--accent);
}

/* 2026-08-29: user asked for the sections to read more red/white/blue -
   the uniform navy --glass fill was diluting it down to just the top
   bars. Each section gets its own SOLID fill + border (no opacity/alpha
   anywhere - a first pass used translucent rgba() blended into the dark
   page behind it, which read as dark grey instead of true red/white/
   blue, so this pass is flat opaque hex only), cycled red/white/blue/
   blue/white/red for a balanced 2-2-2 split across the 6 sections. White
   sections (.section-vibez, section 5) needed both --accent AND
   --accent-text flipped to dark navy above too - a solid white fill
   would otherwise swallow both the light --ink title color AND make
   their own top accent bar (previously --cyan/--mint, both light hues)
   invisible against the now-solid-white card. overflow:hidden stays so
   nothing bleeds past the rounded corners. */
:root[data-theme="july4th"] .section{
  overflow:hidden;
}
:root[data-theme="july4th"] .section:nth-of-type(1){ background:#b0142a; border-color:#7a0f1f; }
:root[data-theme="july4th"] .section-vibez{ background:#ffffff; border-color:#c9c9c9; }
:root[data-theme="july4th"] .section-manage-you{ background:#3b6ea5; border-color:#2c567f; }
:root[data-theme="july4th"] .section:nth-of-type(4){ background:#1d356e; border-color:#142545; }
:root[data-theme="july4th"] .section:nth-of-type(5){ background:#ffffff; border-color:#c9c9c9; }
:root[data-theme="july4th"] .section:nth-of-type(6){ background:#b0142a; border-color:#7a0f1f; }

:root[data-theme="july4th"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.24) 49%, transparent 70%);
}
:root[data-theme="july4th"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(200,16,46,0.5);
}
:root[data-theme="july4th"] .pill-btn.primary{
  border-color:var(--gold);
  background:linear-gradient(120deg, var(--pink), var(--gold));
  color:#f5f5f5;
  box-shadow:0 8px 20px -8px rgba(200,16,46,0.5);
}

/* 2026-08-29: two fixes layered here. First (lesson 21) - solid opaque
   fill/border instead of rgba() blending into whatever section color
   sits behind the tile. Second (this pass) - a single shared tile color
   for every section meant section 4 (navy card) had navy tiles and
   section-manage-you (blue card) had near-navy tiles, both reading as
   "the button IS the card" with barely any separation. Every section now
   gets its OWN tile fill+hover, deliberately never the same color as
   that section's own card - white/navy/red tiles rotate so each one
   contrasts against its own background, and each tile's own text color
   is set explicitly (not inherited from the shared --ink) since some
   tiles are now light and some are dark. The ::after shine-sweep and
   hover box-shadow stay translucent on purpose (decorative polish, not
   a flat-color fill). */

/* Section 1 (red card) + section 6 (red card, "Top of the Vibez") -
   white tiles, dark navy text. */
:root[data-theme="july4th"] .section:nth-of-type(1) .button-grid .button,
:root[data-theme="july4th"] .section:nth-of-type(6) .button-grid .button{
  background:#ffffff;
  border-color:#c9c9c9;
  color:#14213d;
}
:root[data-theme="july4th"] .section:nth-of-type(1) .button-grid .button::after,
:root[data-theme="july4th"] .section:nth-of-type(6) .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(20,33,61,0.12) 50%, transparent 67%);
}
:root[data-theme="july4th"] .section:nth-of-type(1) .button-grid .button:hover,
:root[data-theme="july4th"] .section:nth-of-type(6) .button-grid .button:hover{
  border-color:#b0142a;
  background:#f0f0f0;
  color:#14213d;
  box-shadow:0 10px 24px -12px rgba(176,20,42,0.5);
}

/* Vibez (white card) + section 5 (white card, "Upgrade") - navy tiles,
   light text. */
:root[data-theme="july4th"] .section-vibez .button-grid .button,
:root[data-theme="july4th"] .section:nth-of-type(5) .button-grid .button{
  background:#0f1b3d;
  border-color:#2a3a66;
  color:#f5f5f5;
}
:root[data-theme="july4th"] .section-vibez .button-grid .button::after,
:root[data-theme="july4th"] .section:nth-of-type(5) .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.16) 50%, transparent 67%);
}
:root[data-theme="july4th"] .section-vibez .button-grid .button:hover,
:root[data-theme="july4th"] .section:nth-of-type(5) .button-grid .button:hover{
  border-color:#f5f5f5;
  background:#1c2c58;
  color:#f5f5f5;
  box-shadow:0 10px 24px -12px rgba(59,110,165,0.8);
}

/* Manage You (blue card) - white tiles, dark navy text (same treatment
   as the red-card sections, kept as its own rule since it's a different
   section role, not because the colors differ). */
:root[data-theme="july4th"] .section-manage-you .button-grid .button{
  background:#ffffff;
  border-color:#c9c9c9;
  color:#14213d;
}
:root[data-theme="july4th"] .section-manage-you .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(20,33,61,0.12) 50%, transparent 67%);
}
:root[data-theme="july4th"] .section-manage-you .button-grid .button:hover{
  border-color:#1d356e;
  background:#f0f0f0;
  color:#14213d;
  box-shadow:0 10px 24px -12px rgba(29,53,110,0.5);
}

/* Vibezmart (navy card) - red tiles, light text. */
:root[data-theme="july4th"] .section:nth-of-type(4) .button-grid .button{
  background:#b0142a;
  border-color:#7a0f1f;
  color:#f5f5f5;
}
:root[data-theme="july4th"] .section:nth-of-type(4) .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.16) 50%, transparent 67%);
}
:root[data-theme="july4th"] .section:nth-of-type(4) .button-grid .button:hover{
  border-color:#f5f5f5;
  background:#d31f3a;
  color:#f5f5f5;
  box-shadow:0 10px 24px -12px rgba(176,20,42,0.6);
}

/* Background: july4th.png (added 2026-08-29) + the reference's own 3
   radial glows, no haze layer to strip (the reference has none here
   either, same as every other theme). */
:root[data-theme="july4th"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(200,16,46,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(59,110,165,0.24), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(245,245,245,0.1), transparent 62%),
    url('../site_assets/background_themed/july4th.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Money =================
   Built from proposed_themes/money-theme.html - dark-card, green/gold/
   emerald/platinum palette. hasScript=1 (falling cash bill+coin burst on
   hover, see js/home.js). */

/* Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. Reference's own
   chrome hero color is #d4af37 (gold), which landed in --cyan, not
   --pink (section 1's green) - every chrome rule below redirects off the
   shared base's var(--pink) default accordingly. */
:root[data-theme="money"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#5fbf82;}
:root[data-theme="money"] .section-vibez{--accent:var(--cyan); --accent-text:#e7c860;}
:root[data-theme="money"] .section-manage-you{--accent:var(--gold); --accent-text:#3fd6ac;}
:root[data-theme="money"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e3e3ee;}
:root[data-theme="money"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#8ce8cc;}
:root[data-theme="money"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#f2dc9a;}

:root[data-theme="money"] .heart-beat-icon{ color:var(--cyan); }
:root[data-theme="money"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="money"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* .section's own inset box-shadow (rgba(238,245,238,.02)) already
   matches the shared base default exactly once --highlight-rgb is set
   right - no override needed. */
:root[data-theme="money"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--cyan);
  box-shadow:0 14px 30px -20px rgba(212,175,55,0.6);
}
:root[data-theme="money"] .section::before{
  height:2px;
  box-shadow:0 0 14px var(--accent);
}

:root[data-theme="money"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,246,223,0.18) 49%, transparent 70%);
}
:root[data-theme="money"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(212,175,55,0.5);
}
:root[data-theme="money"] .pill-btn.ghost:hover{
  border-color:var(--cyan);
  color:var(--cyan);
}
:root[data-theme="money"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, #1f6b38, var(--pink));
  color:#eef5ee;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(47,143,78,0.5);
}

:root[data-theme="money"] .activity-item:hover{
  background:rgba(212,175,55,0.12);
}

:root[data-theme="money"] .button-grid .button{
  background:rgba(10,20,14,0.7);
  border-color:rgba(212,175,55,0.24);
}
:root[data-theme="money"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,246,223,0.14) 50%, transparent 67%);
}
:root[data-theme="money"] .button-grid .button:hover{
  border-color:var(--cyan);
  box-shadow:0 10px 22px -12px rgba(212,175,55,0.55);
}

:root[data-theme="money"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(47,143,78,0.24), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(212,175,55,0.2), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(15,76,58,0.22), transparent 62%),
    url('../site_assets/background_themed/money.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Candy =================
   Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. */
:root[data-theme="candy"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#d1247a;}
:root[data-theme="candy"] .section-vibez{--accent:var(--cyan); --accent-text:#1c8fbf;}
:root[data-theme="candy"] .section-manage-you{--accent:var(--gold); --accent-text:#a8890a;}
:root[data-theme="candy"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#8a3fd6;}
:root[data-theme="candy"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#d1244a;}
:root[data-theme="candy"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#1c8a6c;}

/* Heart is #ff4fa8, exactly --pink - a free ride, same as July4th/Winter's
   own heart. Wordmark/avatar-ring are the reference's 5-stop gradients,
   flattened to static per the standing rule. */
:root[data-theme="candy"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--mint), var(--gold), var(--violet), var(--cyan));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="candy"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--pink), var(--mint), var(--gold), var(--violet), var(--cyan), var(--pink));
}

/* Same "profile card border is accent-tinted, section cards' is neutral"
   split as Fall/Spring. Static cards, hover-lift, 3px top accent bar. */
:root[data-theme="candy"] .user-info{
  border-color:rgba(255,79,168,0.24);
  box-shadow:0 20px 46px -22px rgba(255,79,168,0.3), 0 4px 16px -6px rgba(58,26,52,0.08);
}
:root[data-theme="candy"] .section{
  box-shadow:0 14px 34px -22px rgba(58,26,52,0.16);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="candy"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(58,26,52,0.22);
}
:root[data-theme="candy"] .section::before{
  height:3px;
}

/* Pills: ghost is solid white, hover leaves border/text alone (only lifts
   + glows), primary carries a permanent glow - same shape as Fall/Spring. */
:root[data-theme="candy"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="candy"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(255,79,168,0.5);
}
:root[data-theme="candy"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(58,26,52,0.14);
  color:var(--ink);
}
:root[data-theme="candy"] .pill-btn.ghost:hover{
  border-color:rgba(58,26,52,0.14);
  color:var(--ink);
}
:root[data-theme="candy"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, var(--pink), var(--mint));
  color:#fff;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(255,79,168,0.55);
}

/* Activity row hover (rgba(255,79,168,.1)) and "SEE EVERYTHING" link
   (#d1247a, matches section 1's own --accent-text exactly) both already
   match the shared base defaults once --pink-rgb/--accent-text are set
   right - no overrides needed for either, same free ride as Spring's. */

/* Tiles: uniform pale-pink resting fill across every section (matches the
   reference exactly - only the HOVER state differs per section). Hover is
   a full gradient recolor per section PLUS the gummy-wobble squash/stretch
   keyframe (pure CSS transform, allowed under the no-scrolling-gradient
   rule same as Construction's jackhammer shake) - ported literally since
   the reference itself specifies this per-section recolor, unlike July4th
   where the per-section split was our own fix for a collision problem.
   The keyframe's own transform values are marked !important since the
   shared base's `.button-grid .button:hover{transform:...!important}`
   would otherwise silently block the animation from ever taking effect
   on that property (important animations outrank important static author
   declarations; important static declarations alone do not). */
:root[data-theme="candy"] .button-grid .button{
  background:#fef8fc;
  border-color:rgba(58,26,52,0.12);
  color:var(--ink);
}
:root[data-theme="candy"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.85) 50%, transparent 67%);
}
:root[data-theme="candy"] .section:nth-of-type(1) .button-grid .button:hover{
  border-color:transparent;
  background:linear-gradient(120deg, #ff7ac0, var(--pink));
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  box-shadow:0 12px 24px -10px rgba(255,79,168,0.55);
  animation:can-gummy-wobble .6s ease-out 1 forwards;
}
:root[data-theme="candy"] .section-vibez .button-grid .button:hover{
  border-color:transparent;
  background:linear-gradient(120deg, #6bd4fa, var(--cyan));
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  box-shadow:0 12px 24px -10px rgba(41,197,246,0.55);
  animation:can-gummy-wobble .6s ease-out 1 forwards;
}
:root[data-theme="candy"] .section-manage-you .button-grid .button:hover{
  border-color:transparent;
  background:linear-gradient(120deg, #fff08a, var(--gold));
  color:#4a3c00;
  text-shadow:0 1px 0 rgba(255,255,255,0.4);
  box-shadow:0 12px 24px -10px rgba(255,225,53,0.55);
  animation:can-gummy-wobble .6s ease-out 1 forwards;
}
:root[data-theme="candy"] .section:nth-of-type(4) .button-grid .button:hover{
  border-color:transparent;
  background:linear-gradient(120deg, #d19bff, var(--violet));
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  box-shadow:0 12px 24px -10px rgba(182,102,255,0.55);
  animation:can-gummy-wobble .6s ease-out 1 forwards;
}
:root[data-theme="candy"] .section:nth-of-type(5) .button-grid .button:hover{
  border-color:transparent;
  background:linear-gradient(120deg, #ff7a90, var(--mint));
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  box-shadow:0 12px 24px -10px rgba(255,59,92,0.55);
  animation:can-gummy-wobble .6s ease-out 1 forwards;
}
:root[data-theme="candy"] .section:nth-of-type(6) .button-grid .button:hover{
  border-color:transparent;
  background:linear-gradient(120deg, #a8f5de, var(--orange));
  color:#1c3d34;
  text-shadow:0 1px 0 rgba(255,255,255,0.4);
  box-shadow:0 12px 24px -10px rgba(111,230,196,0.55);
  animation:can-gummy-wobble .6s ease-out 1 forwards;
}
@keyframes can-gummy-wobble{
  0%{ transform:translateY(0) scale(1,1); }
  15%{ transform:translateY(-2px) scale(1.18,.82); }
  35%{ transform:translateY(-4px) scale(.88,1.12); }
  55%{ transform:translateY(-2px) scale(1.08,.94); }
  75%{ transform:translateY(-3px) scale(.96,1.04); }
  100%{ transform:translateY(-3px) scale(1,1); }
}

/* Background: candy.png + the reference's own 3 radial glows, no haze
   layer to strip (the reference has none here either). */
:root[data-theme="candy"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(255,79,168,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(41,197,246,0.2), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(182,102,255,0.18), transparent 62%),
    url('../site_assets/background_themed/candy.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Memorial Day =================
   Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. */
:root[data-theme="memorial-day"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#e0c060;}
:root[data-theme="memorial-day"] .section-vibez{--accent:var(--cyan); --accent-text:#e0677c;}
:root[data-theme="memorial-day"] .section-manage-you{--accent:var(--gold); --accent-text:#f5f5f5;}
:root[data-theme="memorial-day"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#7fa0d6;}
:root[data-theme="memorial-day"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#c7cbd2;}
:root[data-theme="memorial-day"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#c9a877;}

/* Heart is red (#b32234), matching --cyan here, not --pink (gold) - needs
   its own redirect off the shared base's var(--pink) default, same lesson-
   17 shape as Money's gold-not-green heart. Wordmark/avatar-ring are the
   reference's own red/white/blue/gold gradients, flattened to static per
   the standing rule. */
:root[data-theme="memorial-day"] .heart-beat-icon{ color:var(--cyan); }
:root[data-theme="memorial-day"] .wordmark{
  background:linear-gradient(90deg, var(--cyan), var(--gold), var(--violet), var(--pink));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="memorial-day"] .avatar-ring{
  background:linear-gradient(140deg, var(--cyan), var(--pink));
}

:root[data-theme="memorial-day"] .user-info{
  border-color:rgba(212,175,55,0.24);
  box-shadow:0 20px 60px -20px rgba(0,0,0,0.8);
}
:root[data-theme="memorial-day"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--pink);
  box-shadow:0 14px 30px -20px rgba(212,175,55,0.5);
}
:root[data-theme="memorial-day"] .section::before{
  height:2px;
  box-shadow:0 0 12px var(--accent);
}

:root[data-theme="memorial-day"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.2) 49%, transparent 70%);
}
:root[data-theme="memorial-day"] .pill-btn:hover{
  box-shadow:0 8px 24px -8px rgba(212,175,55,0.5);
}
:root[data-theme="memorial-day"] .pill-btn.ghost:hover{
  color:var(--ink);
}
:root[data-theme="memorial-day"] .pill-btn.primary{
  border-color:var(--pink);
  background:linear-gradient(120deg, #8c1c29, var(--cyan));
  color:var(--gold);
  font-weight:700;
}

/* "SEE EVERYTHING" is fixed gold in the reference regardless of which
   section it's in (unlike the per-section title tint) - the shared base's
   var(--accent-text, var(--accent)) default would vary by section, so
   this needs its own unconditional override. */
:root[data-theme="memorial-day"] .view-all{ color:var(--pink); }

/* Tiles: a single uniform indigo fill across every section (matches the
   reference exactly) - no per-section split needed since this color never
   collides with the one shared red --glass card fill behind it (unlike
   July4th's since-corrected per-section situation). */
:root[data-theme="memorial-day"] .button-grid .button{
  background:#3c3b6e;
  border-color:rgba(212,175,55,0.2);
}
:root[data-theme="memorial-day"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.1) 50%, transparent 67%);
}
:root[data-theme="memorial-day"] .button-grid .button:hover{
  border-color:#ffffff;
}

/* Background: memorialday.jpg (note: no underscore - a second, unused
   file memorial_day.png also exists on disk, but the reference's own
   markup points at memorialday.jpg, so that's the one wired up here) +
   the reference's own 3 radial glows, no haze layer to strip. */
:root[data-theme="memorial-day"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(179,34,52,0.16), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(212,175,55,0.14), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(245,245,245,0.08), transparent 62%),
    url('../site_assets/background_themed/memorialday.jpg') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= New Year's =================
   Section role map - re-paired by role/content, not DOM position (see the
   token block's own note). */
:root[data-theme="new-years"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#1f3f9c;}
:root[data-theme="new-years"] .section-vibez{--accent:var(--cyan); --accent-text:#7a5000;}
:root[data-theme="new-years"] .section-manage-you{--accent:var(--gold); --accent-text:#a01d5e;}
:root[data-theme="new-years"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#5b3aa0;}
:root[data-theme="new-years"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#2a4fae;}
:root[data-theme="new-years"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a01458;}

/* Heart is a lighter gold (#ffe9a8) than --cyan's #ffd166 - close enough
   family but not an exact token match, so it gets its own literal
   override rather than a var() redirect. Wordmark/avatar-ring are the
   reference's own gold/cream/blue gradients, flattened to static. */
:root[data-theme="new-years"] .heart-beat-icon{ color:#ffe9a8; }
:root[data-theme="new-years"] .wordmark{
  background:linear-gradient(90deg, var(--cyan), var(--ink), var(--mint), var(--cyan));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="new-years"] .avatar-ring{
  background:linear-gradient(140deg, var(--cyan), var(--mint));
  box-shadow:0 0 22px -4px rgba(255,209,102,0.7);
}

:root[data-theme="new-years"] .user-info{
  box-shadow:0 20px 60px -20px rgba(0,0,0,0.75), 0 0 40px -18px rgba(255,209,102,0.5);
}

/* Section cards: the reference's own metallic gold-foil gradient, uniform
   across every section (only the top bar/title vary, same "one shared
   fill" shape as Memorial Day's) - bypasses --glass entirely since a
   multi-stop gradient doesn't fit that token. The reference's own
   continuously-looping shine-sweep (`::after`) and ambient `breathe` pulse
   are both dropped per the standing no-scrolling-gradient rule - a static
   foil card, hover-lift only. */
:root[data-theme="new-years"] .section{
  background:linear-gradient(120deg, #fff8ec 0%, #d9c9a3 18%, #a3927a 32%, #f2e6c9 48%, #bfae8c 62%, #fff8ec 78%, #a89873 92%, #e6d8b8 100%);
  border-color:rgba(255,248,230,0.85);
  box-shadow:0 18px 34px -18px rgba(60,45,20,0.55), inset 0 2px 0 rgba(255,251,238,0.95), inset 0 -3px 8px rgba(70,55,30,0.35);
  animation:none;
}
:root[data-theme="new-years"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 42px -16px rgba(60,45,20,0.6), inset 0 2px 0 rgba(255,251,238,1), inset 0 -3px 8px rgba(70,55,30,0.4);
}
:root[data-theme="new-years"] .section::before{
  height:3px;
}

:root[data-theme="new-years"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,246,223,0.32) 49%, transparent 70%);
}
:root[data-theme="new-years"] .pill-btn:hover{
  border-color:var(--cyan);
  box-shadow:0 8px 26px -6px var(--cyan);
}
:root[data-theme="new-years"] .pill-btn.ghost:hover{
  border-color:var(--cyan);
  color:var(--ink);
}
:root[data-theme="new-years"] .pill-btn.primary{
  border-color:var(--cyan);
  background:linear-gradient(120deg, #e0a92c, var(--cyan));
  color:#1c1440;
  font-weight:700;
}

/* Cards are a LIGHT gold-foil fill (see above), so every text-bearing
   element that would otherwise inherit the dark chrome's light --ink/
   --ink-dim needs an explicit dark override here for legibility - the
   reference's own .nye-activity/.nye-tile treatment. */
:root[data-theme="new-years"] .activity-item{
  color:#4a3f2c;
  text-shadow:0 1px 0 rgba(255,251,238,0.6);
}
:root[data-theme="new-years"] .activity-text{ color:#4a3f2c; }
:root[data-theme="new-years"] .activity-item:hover{
  background:rgba(255,251,238,0.55);
}
:root[data-theme="new-years"] .activity-item:hover .activity-text{ color:#2e2410; }
:root[data-theme="new-years"] .activity-text strong{ color:#2e2410; }
/* "SEE EVERYTHING" is fixed gold-brown in the reference regardless of
   section (same unconditional-override shape as Memorial Day's). */
:root[data-theme="new-years"] .view-all{ color:#7a5000; }

/* Tiles: the reference's own metallic gold-gradient fill, uniform across
   every section, dark text - hover only deepens the shadow (no border/
   background recolor, matches the reference exactly). */
:root[data-theme="new-years"] .button-grid .button{
  background:linear-gradient(160deg, #fbe6a8 0%, #e0b23c 38%, #c1901f 65%, #e6bd52 100%);
  border-color:rgba(120,86,10,0.45);
  color:#3a2600;
  font-weight:700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 10px -5px rgba(0,0,0,0.5);
}
:root[data-theme="new-years"] .button-grid .button::after{
  background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.9) 50%, transparent 70%);
}
:root[data-theme="new-years"] .button-grid .button:hover{
  transform:translateY(-3px) !important;
  border-color:rgba(120,86,10,0.45);
  background:linear-gradient(160deg, #fbe6a8 0%, #e0b23c 38%, #c1901f 65%, #e6bd52 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.7), 0 12px 22px -8px rgba(193,144,31,0.85);
}

/* Background: new-years.png. The reference actually ships TWO background
   layers - a dead `.nye-page-bg` pointing at a non-existent "new_year.png"
   (underscore, never created) AND a working `.nye-backdrop` pointing at
   the real "new-years.png" (hyphenated) with its own dark gradient
   overlay for contrast - this wires up the working one, same photo the
   reference itself actually renders with. */
:root[data-theme="new-years"] .glow-field{
  background:
    radial-gradient(650px 460px at 16% 8%, rgba(255,209,102,0.34), transparent 60%),
    radial-gradient(700px 520px at 84% 12%, rgba(76,140,255,0.3), transparent 62%),
    radial-gradient(600px 420px at 50% 100%, rgba(255,92,180,0.18), transparent 65%),
    url('../site_assets/background_themed/new-years.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Bedazzled =================
   Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. */
:root[data-theme="bedazzled"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ff8fc4;}
:root[data-theme="bedazzled"] .section-vibez{--accent:var(--cyan); --accent-text:#e7c860;}
:root[data-theme="bedazzled"] .section-manage-you{--accent:var(--gold); --accent-text:#e3e3ee;}
:root[data-theme="bedazzled"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#d5b0ff;}
:root[data-theme="bedazzled"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#f2f2f2;}
:root[data-theme="bedazzled"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#ff8fa8;}

/* Heart is #ff4fa8, exactly --pink - a free ride. Wordmark/avatar-ring
   are the reference's own 4-stop gold/pink/pearl/purple gradients,
   flattened to static per the standing rule. */
:root[data-theme="bedazzled"] .wordmark{
  background:linear-gradient(90deg, var(--cyan), var(--pink), var(--mint), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="bedazzled"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--cyan), var(--pink), var(--mint), var(--violet), var(--cyan));
}

:root[data-theme="bedazzled"] .user-info{
  border-color:rgba(212,175,55,0.35);
  box-shadow:0 20px 60px -20px rgba(0,0,0,0.85), 0 0 40px -18px rgba(255,79,168,0.35);
}
:root[data-theme="bedazzled"] .section:hover{
  transform:translateY(-3px);
  border-color:var(--cyan);
  box-shadow:0 14px 30px -20px rgba(212,175,55,0.7);
}
:root[data-theme="bedazzled"] .section::before{
  height:2px;
  box-shadow:0 0 14px var(--accent);
}

:root[data-theme="bedazzled"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.3) 49%, transparent 70%);
}
:root[data-theme="bedazzled"] .pill-btn:hover{
  box-shadow:0 8px 24px -8px rgba(212,175,55,0.6);
}
:root[data-theme="bedazzled"] .pill-btn.ghost:hover{
  border-color:var(--cyan);
  color:var(--ink);
}
:root[data-theme="bedazzled"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, var(--cyan), var(--pink));
  color:#2b0f1c;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(255,79,168,0.55);
}

/* "SEE EVERYTHING" and the activity-row hover tint are both fixed gold
   in the reference regardless of section - neither matches section 1's
   own pink accent-text, so both need unconditional overrides. */
:root[data-theme="bedazzled"] .activity-item:hover{
  background:rgba(212,175,55,0.14);
}
:root[data-theme="bedazzled"] .view-all{ color:var(--cyan); }

/* Tiles: a single uniform dark-plum fill across every section. Hover
   replaces it with the same 4-stop gold/pink/pearl/purple gradient as the
   wordmark, but STATIC (the reference scrolls it via `background-position`
   - same banned category as the wordmark shimmer, flattened here too). */
:root[data-theme="bedazzled"] .button-grid .button{
  background:rgba(28,15,36,0.75);
  border-color:rgba(212,175,55,0.28);
}
:root[data-theme="bedazzled"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.18) 50%, transparent 67%);
}
:root[data-theme="bedazzled"] .button-grid .button:hover{
  border-color:transparent;
  background-image:linear-gradient(120deg, var(--cyan), var(--pink), var(--mint), var(--violet));
  box-shadow:0 12px 24px -10px rgba(212,175,55,0.6);
}

/* Background: bedazzled.png + the reference's own 3 radial glows, no
   haze layer to strip (the reference has none here either). */
:root[data-theme="bedazzled"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(255,79,168,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(212,175,55,0.2), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(182,102,255,0.18), transparent 62%),
    url('../site_assets/background_themed/bedazzled.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Easter =================
   Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. */
:root[data-theme="easter"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#e0577c;}
:root[data-theme="easter"] .section-vibez{--accent:var(--cyan); --accent-text:#b7860a;}
:root[data-theme="easter"] .section-manage-you{--accent:var(--gold); --accent-text:#1f9d6f;}
:root[data-theme="easter"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#7a4fd6;}
:root[data-theme="easter"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#1c8a63;}
:root[data-theme="easter"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a8890a;}

/* Heart is #ff8fab, exactly --pink - a free ride. Wordmark/avatar-ring
   use their own literal hex values (not var()) since the reference's
   gradient stops are slightly more saturated than the matching section
   accent tokens - see the token block's own note. */
:root[data-theme="easter"] .wordmark{
  background:linear-gradient(90deg, #ff8fab, #ffd97a, #7bdcb5, #b79cf0);
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="easter"] .avatar-ring{
  background:conic-gradient(from 180deg, #ff8fab, #ffd97a, #7bdcb5, #b79cf0, #ff8fab);
}

:root[data-theme="easter"] .user-info{
  border-color:rgba(183,156,240,0.22);
  box-shadow:0 20px 46px -22px rgba(183,156,240,0.35), 0 4px 16px -6px rgba(58,52,80,0.08);
}
:root[data-theme="easter"] .section{
  box-shadow:0 14px 34px -22px rgba(58,52,80,0.18);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="easter"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(58,52,80,0.24);
}
:root[data-theme="easter"] .section::before{
  height:3px;
}

:root[data-theme="easter"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="easter"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(183,156,240,0.5);
}
:root[data-theme="easter"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(58,52,80,0.14);
  color:var(--ink);
}
:root[data-theme="easter"] .pill-btn.ghost:hover{
  border-color:rgba(58,52,80,0.14);
  color:var(--ink);
}
:root[data-theme="easter"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, #ff8fab, #ffd97a);
  color:#3a1220;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(255,143,171,0.55);
}

/* Activity row hover (rgba(255,143,171,.1)) and "SEE EVERYTHING"
   (#e0577c, matches section 1's own --accent-text exactly) both already
   match the shared base defaults once --pink-rgb/--accent-text are set
   right - no overrides needed for either, same free ride as Spring's. */

/* Tiles: uniform off-white resting fill across every section. Hover is a
   single pastel 4-stop gradient (NOT per-section like Candy's - the
   reference keeps this one uniform) plus a rotate-based "wobble" keyframe
   - a pure CSS transform animation, allowed under the no-scrolling-
   gradient rule same as Construction's jackhammer shake, but (like
   Candy's gummy-wobble) it needs Easter excluded from the shared base's
   `!important`-transform hover rule to actually take effect - see that
   rule's own comment for why. */
:root[data-theme="easter"] .button-grid .button{
  background:#faf9fd;
  border-color:rgba(58,52,80,0.12);
}
:root[data-theme="easter"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.9) 50%, transparent 67%);
}
:root[data-theme="easter"] .button-grid .button:hover{
  border-color:transparent;
  color:#3a1220;
  background:linear-gradient(120deg, #ffe1ea, #fff3c9, #d7f7e8, #e6dcfb);
  box-shadow:0 12px 24px -10px rgba(183,156,240,0.5);
  animation:easterWobble 0.5s ease-in-out 1 forwards;
}
@keyframes easterWobble{
  0%{ transform:translateY(0) rotate(0deg); }
  20%{ transform:translateY(-3px) rotate(-4deg); }
  40%{ transform:translateY(-3px) rotate(4deg); }
  60%{ transform:translateY(-3px) rotate(-3deg); }
  80%{ transform:translateY(-3px) rotate(2deg); }
  100%{ transform:translateY(-3px) rotate(0deg); }
}

/* Background: easter.png + the reference's own 3 radial glows, no haze
   layer to strip (the reference has none here either). */
:root[data-theme="easter"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(255,179,198,0.25), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(183,156,240,0.2), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(123,220,181,0.18), transparent 62%),
    url('../site_assets/background_themed/easter.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Father's Day =================
   Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. */
:root[data-theme="fathers-day"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#b8621a;}
:root[data-theme="fathers-day"] .section-vibez{--accent:var(--cyan); --accent-text:#8a3d1e;}
:root[data-theme="fathers-day"] .section-manage-you{--accent:var(--gold); --accent-text:#96700a;}
:root[data-theme="fathers-day"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#2f5a38;}
:root[data-theme="fathers-day"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#3f6b30;}
:root[data-theme="fathers-day"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#5a3520;}

/* Heart is a coral-red (#e06e5a), not an exact match to --pink's amber
   #e8873a - gets its own literal override. Wordmark/avatar-ring match
   the token order exactly. */
:root[data-theme="fathers-day"] .heart-beat-icon{ color:#e06e5a; }
:root[data-theme="fathers-day"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--gold), var(--violet), var(--cyan));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="fathers-day"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--gold));
}

/* Several accents (profile/section-hover/pill border+hover/"SEE
   EVERYTHING") use a literal #d4af37 gold and a blue-tinted border/shadow
   that don't map onto any section-role token - ported as literals rather
   than forced var() reuse, same as Easter's wordmark situation. */
:root[data-theme="fathers-day"] .user-info{
  border-color:rgba(212,175,86,0.3);
  box-shadow:0 20px 46px -22px rgba(58,90,140,0.25), 0 4px 16px -6px rgba(43,50,66,0.08);
}
:root[data-theme="fathers-day"] .section:hover{
  transform:translateY(-3px);
  border-color:#d4af37;
  box-shadow:0 14px 30px -20px rgba(212,175,55,0.6);
}
:root[data-theme="fathers-day"] .section::before{
  height:2px;
  box-shadow:0 0 12px var(--accent);
}

:root[data-theme="fathers-day"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.6) 49%, transparent 70%);
}
:root[data-theme="fathers-day"] .pill-btn.ghost{
  background:#ffffff;
  border-color:rgba(58,90,140,0.3);
  color:var(--ink);
}
:root[data-theme="fathers-day"] .pill-btn:hover{
  box-shadow:0 8px 24px -8px rgba(212,175,55,0.5);
}
:root[data-theme="fathers-day"] .pill-btn.ghost:hover{
  border-color:#d4af37;
  color:var(--ink);
}
:root[data-theme="fathers-day"] .pill-btn.primary{
  border-color:#d4af37;
  background:linear-gradient(120deg, var(--pink), var(--gold));
  color:#2e1a05;
  font-weight:700;
}

:root[data-theme="fathers-day"] .activity-item:hover{
  background:rgba(212,175,55,0.12);
}
:root[data-theme="fathers-day"] .view-all{ color:#d4af37; }

/* Tiles: uniform off-white resting fill across every section, a light
   gold-tinted wash on hover (translucent on purpose here - a light wash
   over an already-near-white tile, not the "flat color read as muddy"
   problem solid-fill discipline was written for). No transform-animating
   hover here, so no shared-base exclusion needed (unlike Candy/Easter). */
:root[data-theme="fathers-day"] .button-grid .button{
  background:#faf8f4;
  border-color:rgba(212,175,86,0.22);
}
:root[data-theme="fathers-day"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.7) 50%, transparent 67%);
}
:root[data-theme="fathers-day"] .button-grid .button:hover{
  border-color:#d4af37;
  background:rgba(212,175,55,0.18);
  box-shadow:0 10px 24px -12px rgba(212,175,55,0.4);
}

/* Background: fathersday.png + the reference's own 3 radial glows, no
   haze layer to strip (the reference has none here either). */
:root[data-theme="fathers-day"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(232,135,58,0.22), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(74,107,79,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(161,81,46,0.16), transparent 62%),
    url('../site_assets/background_themed/fathersday.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Mother's Day =================
   Section role map: DOM order matches the reference's own untagged-vs-
   classed sections exactly - no re-pairing needed. */
:root[data-theme="mothers-day"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#d6547a;}
:root[data-theme="mothers-day"] .section-vibez{--accent:var(--cyan); --accent-text:#a87c1e;}
:root[data-theme="mothers-day"] .section-manage-you{--accent:var(--gold); --accent-text:#3f7a52;}
:root[data-theme="mothers-day"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#8f5fd1;}
:root[data-theme="mothers-day"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#a85a6e;}
:root[data-theme="mothers-day"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a8703a;}

/* Heart is #ff9eb5, exactly --pink - a free ride. Wordmark/avatar-ring
   match the token order exactly. */
:root[data-theme="mothers-day"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="mothers-day"] .avatar-ring{
  background:conic-gradient(from 180deg, var(--pink), var(--cyan), var(--gold), var(--violet), var(--pink));
}

:root[data-theme="mothers-day"] .user-info{
  border-color:rgba(201,168,224,0.2);
  box-shadow:0 20px 46px -22px rgba(201,168,224,0.35), 0 4px 16px -6px rgba(63,52,72,0.08);
}
:root[data-theme="mothers-day"] .section{
  box-shadow:0 14px 34px -22px rgba(63,52,72,0.16);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="mothers-day"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(63,52,72,0.22);
}
:root[data-theme="mothers-day"] .section::before{
  height:3px;
}

:root[data-theme="mothers-day"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.7) 49%, transparent 70%);
}
:root[data-theme="mothers-day"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(201,168,224,0.5);
}
:root[data-theme="mothers-day"] .pill-btn.ghost{
  background:#fff;
  border-color:rgba(63,52,72,0.14);
  color:var(--ink);
}
:root[data-theme="mothers-day"] .pill-btn.ghost:hover{
  border-color:rgba(63,52,72,0.14);
  color:var(--ink);
}
:root[data-theme="mothers-day"] .pill-btn.primary{
  border-color:transparent;
  background:linear-gradient(120deg, var(--pink), var(--cyan));
  color:#3a1220;
  font-weight:700;
  box-shadow:0 8px 20px -8px rgba(255,158,181,0.55);
}

/* Activity row hover (rgba(255,158,181,.1)) and "SEE EVERYTHING"
   (#d6547a, matches section 1's own --accent-text exactly) both already
   match the shared base defaults once --pink-rgb/--accent-text are set
   right - no overrides needed for either, same free ride as Spring's. */

/* Tiles: uniform off-white resting fill across every section, a single
   pastel 4-stop gradient on hover (uniform, not per-section), no
   animation (unlike Easter's wobble) so no shared-base exclusion needed. */
:root[data-theme="mothers-day"] .button-grid .button{
  background:#fdfaf9;
  border-color:rgba(63,52,72,0.12);
}
:root[data-theme="mothers-day"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.9) 50%, transparent 67%);
}
:root[data-theme="mothers-day"] .button-grid .button:hover{
  border-color:transparent;
  color:#3a1220;
  background:linear-gradient(120deg, #ffe4ec, #fff1d6, #e3f3e6, #efe3f8);
  box-shadow:0 12px 26px -10px rgba(201,168,224,0.5);
}

/* Background: mothers-day.png + the reference's own 3 radial glows, no
   haze layer to strip (the reference has none here either). */
:root[data-theme="mothers-day"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 10%, rgba(255,158,181,0.24), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(232,182,76,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(201,168,224,0.2), transparent 62%),
    url('../site_assets/background_themed/mothers-day.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Steampunk ================= */
/* Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html reference,
   see the token block's own note for the full explanation. Structurally
   closest to Construction (light theme, uniform --glass card, sharp
   corners, one CSS-only signature tile-hover animation) since both are
   "mechanical/industrial" in spirit, but every color/motif here was
   designed against site_assets/background_themed/steampunk.png directly
   rather than ported. No JS flourish and no ambient canvas - a static
   palette + one CSS hover animation was judged sufficient for this
   theme's motif (small gear-grind wobble, not a scripted spawn effect),
   same "not every theme needs a script" precedent as Halloween/Christmas/
   Thanksgiving/Money/Rainbows. */

/* Section accent + accent-text role map. Invented (no reference to port):
   default/copper="What's Happening", brass="Vibez", bronze="Manage You",
   gunmetal="Vibezmart". Upgrade/Top-of-the-Vibez extended in-style
   (verdigris patina, amber lamp-glow). Light theme, so --accent-text is
   darker than the fill, same reasoning as every other light-card theme. */
:root[data-theme="steampunk"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#8a4a15;}
:root[data-theme="steampunk"] .section-vibez{--accent:var(--cyan); --accent-text:#8a721c;}
:root[data-theme="steampunk"] .section-manage-you{--accent:var(--gold); --accent-text:#6e4522;}
:root[data-theme="steampunk"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#243542;}
:root[data-theme="steampunk"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#3f6a55;}
:root[data-theme="steampunk"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a8611a;}

/* Wordmark: 4-stop copper/brass/bronze/gunmetal metallic gradient, static
   (no scrolling animation, same standing rule as every theme). */
:root[data-theme="steampunk"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="steampunk"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* Profile/section cards: warm ivory-parchment fill (--glass already
   carries this), soft warm-dark shadow (literal --ink rgba, a neutral
   sepia-black, not a specific accent hue - same "literal shadow" pattern
   as Construction/Fall/Spring/Winter/Summer). Sharp 12px cards / 6px
   tiles+pills throughout - a riveted brass-plate feel rather than the
   shared rounded-pill default, same reasoning as Construction's own
   sharper-corners departure. */
:root[data-theme="steampunk"] .user-info{
  border-radius:12px;
  box-shadow:0 20px 46px -22px rgba(46,32,21,0.32), 0 4px 16px -6px rgba(46,32,21,0.12);
}
:root[data-theme="steampunk"] .section{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 14px 34px -22px rgba(46,32,21,0.22);
  transition:transform .22s ease, box-shadow .22s ease;
  animation:none;
}
:root[data-theme="steampunk"] .section:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px -20px rgba(46,32,21,0.28);
}
/* Riveted brass-plate top bar: small dark gaps every 16px stand in for
   rivet heads, taller (4px) than the shared plain 2px glow line. */
:root[data-theme="steampunk"] .section::before{
  left:0; right:0;
  height:4px;
  border-radius:0;
  background:repeating-linear-gradient(90deg, var(--accent) 0 14px, rgba(46,32,21,0.4) 14px 16px);
  box-shadow:none;
}

/* Pills: sharp 6px corners (brass placards, not rounded pills), primary
   is a copper->brass gradient with dark bold text. */
:root[data-theme="steampunk"] .pill-btn{
  border-radius:6px;
}
:root[data-theme="steampunk"] .pill-btn::before{
  background:linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.55) 49%, transparent 70%);
}
:root[data-theme="steampunk"] .pill-btn:hover{
  box-shadow:0 8px 22px -8px rgba(var(--pink-rgb),0.5);
}
:root[data-theme="steampunk"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--cyan));
  color:#2e2015;
  font-weight:800;
}
:root[data-theme="steampunk"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.55);
}

/* Tiles: sharp 6px corners, hover swaps to a copper->brass metallic
   gradient with dark ink text plus a "gear-grind" wobble - short
   rotation-only oscillations mimicking gear teeth catching, distinct from
   Construction's translateX+rotate jackhammer shake. Needed the same
   :not([data-theme="steampunk"]) exclusion from the shared base's
   !important hover transform as Candy/Easter (see that rule further up) -
   applied proactively here during the build itself, since a tile-hover
   animation that touches `transform` is now a known, recurring failure
   mode against that shared rule, not something to wait for a bug report
   on. */
:root[data-theme="steampunk"] .button-grid .button{
  border-radius:6px;
}
:root[data-theme="steampunk"] .button-grid .button::after{
  background:linear-gradient(105deg, transparent 33%, rgba(255,255,255,0.55) 50%, transparent 67%);
}
:root[data-theme="steampunk"] .button-grid .button:hover{
  border-color:transparent;
  color:#2e2015;
  text-shadow:0 1px 0 rgba(255,255,255,0.35);
  background:linear-gradient(120deg, var(--cyan), var(--pink));
  box-shadow:0 12px 22px -10px rgba(46,32,21,0.4);
  animation:steampunkGearGrind .5s ease-in-out 1 forwards;
}
@keyframes steampunkGearGrind{
  0%,100%{ transform:translateY(-3px) rotate(0deg); }
  15%{ transform:translateY(-3px) rotate(-2deg); }
  30%{ transform:translateY(-3px) rotate(2deg); }
  45%{ transform:translateY(-3px) rotate(-1.5deg); }
  60%{ transform:translateY(-3px) rotate(1.5deg); }
  75%{ transform:translateY(-3px) rotate(-1deg); }
  90%{ transform:translateY(-3px) rotate(.5deg); }
}

/* Background: steampunk.png, no haze (same rule as every photo-backed
   theme so far) - 3 radial glows in copper/brass/gunmetal echo the
   photo's own warm-lamp-glow-vs-cool-clocktower-roof contrast. */
:root[data-theme="steampunk"] .glow-field{
  background:
    radial-gradient(600px 440px at 12% 8%, rgba(181,101,29,0.18), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(201,162,39,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(53,72,92,0.14), transparent 62%),
    url('../site_assets/background_themed/steampunk.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ================= Basketball ================= */
/* Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html reference,
   see the token block's own note for the full explanation. Dark theme
   like Halloween/Christmas/Memorial Day/Bedazzled (glass cards on a
   near-black base), so most chrome free-rides the shared base defaults
   (section top-bar glow line, tile/pill hover border+shadow, activity-
   item hover, .view-all accent-text) rather than getting bespoke
   overrides - the one deliberate addition here is the requested "ball
   bounces across on hover" JS flourish (see js/home.js's flourishTargets
   IIFE, 'basketball' branch, and the .bball-bounce class/keyframe further
   up this file), not a from-scratch reinvention of every shared rule. */

/* Section accent + accent-text role map. Invented (no reference to port):
   default/basketball-orange="What's Happening", steel-blue="Vibez",
   trophy-gold="Manage You", sneaker-red="Vibezmart". Upgrade/Top-of-the-
   Vibez extended in-style (backboard-glass graphite, ember spark). Dark
   theme, so --accent-text is a lightened tint of each accent rather than
   a darkened one (same reasoning as Memorial Day's), for readability as
   body text against the dark card. */
:root[data-theme="basketball"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ffab6b;}
:root[data-theme="basketball"] .section-vibez{--accent:var(--cyan); --accent-text:#a9c4dc;}
:root[data-theme="basketball"] .section-manage-you{--accent:var(--gold); --accent-text:#f0c975;}
:root[data-theme="basketball"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e8776a;}
:root[data-theme="basketball"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#a3b0ba;}
:root[data-theme="basketball"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#ffa07a;}

/* Wordmark: 4-stop orange/steel-blue/gold/red gradient, static (no
   scrolling animation, same standing rule as every theme). */
:root[data-theme="basketball"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="basketball"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* Profile/section cards: warm-dark glass fill (--glass already carries
   this), soft warm-black shadow (literal --void rgba, a neutral near-
   black, not a specific accent hue - same "literal shadow" pattern as
   Construction/Fall/Spring/Winter/Summer/Steampunk). */
:root[data-theme="basketball"] .user-info{
  box-shadow:0 20px 46px -22px rgba(15,13,12,0.55), 0 4px 16px -6px rgba(15,13,12,0.3);
}
:root[data-theme="basketball"] .section{
  box-shadow:0 14px 34px -22px rgba(15,13,12,0.5);
}
:root[data-theme="basketball"] .section:hover{
  box-shadow:0 20px 42px -20px rgba(15,13,12,0.6);
}

:root[data-theme="basketball"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--gold));
  color:#1c1512;
  font-weight:800;
}
:root[data-theme="basketball"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.55);
}

/* Background: basketball.png, no haze (same rule as every photo-backed
   theme so far) - the photo's own darkness already carries the mood. 3
   radial glows echo the photo's own warm hoop-side glow, cool chalkboard-
   side glow, and a warm ember pool at the bottom. */
:root[data-theme="basketball"] .glow-field{
  background:
    radial-gradient(650px 480px at 10% 15%, rgba(232,117,44,0.22), transparent 60%),
    radial-gradient(650px 480px at 90% 12%, rgba(111,143,174,0.18), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(255,106,61,0.14), transparent 62%),
    url('../site_assets/background_themed/basketball.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Baseball ================= */
/* Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html reference,
   see the token block's own note for the full explanation. Light theme
   like Light/Gardening/Construction (white glass cards on a bright sky-
   blue base), so most chrome free-rides the shared base defaults
   (section top-bar glow line, tile/pill hover border+shadow, activity-
   item hover, .view-all accent-text) rather than getting bespoke
   overrides - the one deliberate addition here is the requested "ball
   rolls across on hover" JS flourish (see js/home.js's flourishTargets
   IIFE, 'baseball' branch, and the .baseball-roll class/keyframe further
   up this file), not a from-scratch reinvention of every shared rule.
   Same economical approach as Basketball, just on a light card instead
   of a dark one. */

/* Section accent + accent-text role map. Invented (no reference to port):
   default/brick-red="What's Happening", sky-blue="Vibez", infield-dirt-
   tan="Manage You", helmet-navy="Vibezmart". Upgrade/Top-of-the-Vibez
   extended in-style (outfield grass green, scoreboard amber). Light
   theme, so --accent-text is a darkened shade of each accent for
   readability as body text against the white card (same reasoning as
   Light/Construction's). */
:root[data-theme="baseball"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#8a3520;}
:root[data-theme="baseball"] .section-vibez{--accent:var(--cyan); --accent-text:#1f6fa8;}
:root[data-theme="baseball"] .section-manage-you{--accent:var(--gold); --accent-text:#8a5a24;}
:root[data-theme="baseball"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#1f3a63;}
:root[data-theme="baseball"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#2e6b2e;}
:root[data-theme="baseball"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a85a10;}

/* Wordmark: 4-stop brick/sky/dirt/navy gradient, static (no scrolling
   animation, same standing rule as every theme). */
:root[data-theme="baseball"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="baseball"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* Profile/section cards: solid white glass (--glass already carries
   this), soft warm-dark shadow (literal near-black-brown rgba, a neutral
   tone not a specific accent hue - same "literal shadow" pattern as
   Construction/Fall/Spring/Winter/Summer/Steampunk/Basketball). */
:root[data-theme="baseball"] .user-info{
  box-shadow:0 20px 46px -22px rgba(36,29,21,0.3), 0 4px 16px -6px rgba(36,29,21,0.1);
}
:root[data-theme="baseball"] .section{
  box-shadow:0 14px 34px -22px rgba(36,29,21,0.2);
}
:root[data-theme="baseball"] .section:hover{
  box-shadow:0 20px 42px -20px rgba(36,29,21,0.26);
}

:root[data-theme="baseball"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--cyan));
  color:#fdf9f4;
  font-weight:800;
}
:root[data-theme="baseball"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.45);
}

/* Background: baseball.png, no haze (same rule as every photo-backed
   theme so far) - the photo's own bright daylight already carries the
   mood. 3 radial glows echo the photo's own blue sky, brick-red corner,
   and grass-green base. */
:root[data-theme="baseball"] .glow-field{
  background:
    radial-gradient(650px 480px at 12% 10%, rgba(47,143,209,0.16), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(177,71,46,0.14), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(63,143,63,0.14), transparent 62%),
    url('../site_assets/background_themed/baseball.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Football ================= */
/* Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html reference,
   see the token block's own note for the full explanation. Light theme
   like Light/Gardening/Construction/Baseball (white glass cards on a
   bright, green-tinted white base), so most chrome free-rides the shared
   base defaults (section top-bar glow line, tile/pill hover
   border+shadow, activity-item hover, .view-all accent-text) rather than
   getting bespoke overrides - the one deliberate addition here is the
   "drop and bounce" JS flourish (see js/home.js's flourishTargets IIFE,
   'football' branch, and the .football-drop class/keyframe further down
   this file), not a from-scratch reinvention of every shared rule. Same
   economical approach as Basketball/Baseball. NOTE: two earlier versions
   ("field goal kick", then "spiral pass") were each replaced per user
   feedback (both 2026-08-29) - see PLAN_THEMES_HOME.md for the swaps and
   the overflow:hidden tile-clipping lesson the kick surfaced. */

/* Section accent + accent-text role map. Invented (no reference to port):
   default/down-marker-red-orange="What's Happening", sky-blue="Vibez",
   goal-post-gold="Manage You", helmet-navy="Vibezmart". Upgrade/Top-of-
   the-Vibez extended in-style (turf green, pylon orange). Light theme,
   so --accent-text is a darkened shade of each accent for readability as
   body text against the white card (same reasoning as Light/
   Construction's/Baseball's). */
:root[data-theme="football"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#8a2e1c;}
:root[data-theme="football"] .section-vibez{--accent:var(--cyan); --accent-text:#1f6fa8;}
:root[data-theme="football"] .section-manage-you{--accent:var(--gold); --accent-text:#8a6b0a;}
:root[data-theme="football"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#1c2d52;}
:root[data-theme="football"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#2b5e28;}
:root[data-theme="football"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#a8460f;}

/* Wordmark: 4-stop down-marker-red/sky-blue/goal-post-gold/navy
   gradient, static (no scrolling animation, same standing rule as every
   theme). */
:root[data-theme="football"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="football"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* Profile/section cards: solid white glass (--glass already carries
   this), soft navy-tinted shadow (literal near-black-navy rgba, a
   neutral tone not a specific accent hue - same "literal shadow" pattern
   as Construction/Fall/Spring/Winter/Summer/Steampunk/Basketball/
   Baseball). */
:root[data-theme="football"] .user-info{
  box-shadow:0 20px 46px -22px rgba(27,36,56,0.3), 0 4px 16px -6px rgba(27,36,56,0.1);
}
:root[data-theme="football"] .section{
  box-shadow:0 14px 34px -22px rgba(27,36,56,0.2);
}
:root[data-theme="football"] .section:hover{
  box-shadow:0 20px 42px -20px rgba(27,36,56,0.26);
}

:root[data-theme="football"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--gold));
  color:#1b2438;
  font-weight:800;
}
:root[data-theme="football"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.45);
}

/* Background: football.png, no haze (same rule as every photo-backed
   theme so far) - the photo's own bright daylight already carries the
   mood. 3 radial glows echo the photo's own blue sky, down-marker
   red-orange corner, and turf-green base. */
:root[data-theme="football"] .glow-field{
  background:
    radial-gradient(650px 480px at 12% 10%, rgba(58,143,208,0.16), transparent 60%),
    radial-gradient(650px 480px at 88% 14%, rgba(200,64,42,0.14), transparent 62%),
    radial-gradient(600px 460px at 50% 100%, rgba(58,125,52,0.16), transparent 62%),
    url('../site_assets/background_themed/football.png') center center / cover no-repeat fixed;
  animation:none;
}

/* ================= Soccer ================= */
/* Built FROM SCRATCH (2026-08-29) - no proposed_themes/*.html reference,
   see the token block's own note for the full explanation. Dark theme
   like Basketball (glass cards on a near-black base), so most chrome
   free-rides the shared base defaults (section top-bar glow line, tile/
   pill hover border+shadow, activity-item hover, .view-all accent-text)
   rather than getting bespoke overrides - the one deliberate addition
   here is the "roll through" JS flourish (see js/home.js's
   flourishTargets IIFE, 'soccer' branch, and the .soccer-roll class/
   keyframe further up this file), not a from-scratch reinvention of
   every shared rule. Same economical approach as Basketball/Baseball/
   Football. */

/* Section accent + accent-text role map. Invented (no reference to port):
   default/pitch-green="What's Happening", floodlight-blue="Vibez",
   trophy-gold="Manage You", corner-flag-red="Vibezmart". Upgrade/Top-of-
   the-Vibez extended in-style (glove silver-grey, floodlight amber).
   Dark theme, so --accent-text is a lightened tint of each accent rather
   than a darkened one (same reasoning as Basketball's), for readability
   as body text against the dark card. */
:root[data-theme="soccer"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#6ecf8f;}
:root[data-theme="soccer"] .section-vibez{--accent:var(--cyan); --accent-text:#a9d2f0;}
:root[data-theme="soccer"] .section-manage-you{--accent:var(--gold); --accent-text:#e8cc7a;}
:root[data-theme="soccer"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e88a7a;}
:root[data-theme="soccer"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#b7c0ca;}
:root[data-theme="soccer"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#f5c665;}

/* Wordmark: 4-stop pitch-green/floodlight-blue/trophy-gold/flag-red
   gradient, static (no scrolling animation, same standing rule as every
   theme). */
:root[data-theme="soccer"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--cyan), var(--gold), var(--violet));
  background-size:100% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
:root[data-theme="soccer"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* Profile/section cards: cool-dark glass fill (--glass already carries
   this), soft near-black shadow (literal --void rgba, a neutral tone not
   a specific accent hue - same "literal shadow" pattern as Construction/
   Fall/Spring/Winter/Summer/Steampunk/Basketball/Baseball/Football). */
:root[data-theme="soccer"] .user-info{
  box-shadow:0 20px 46px -22px rgba(10,14,20,0.55), 0 4px 16px -6px rgba(10,14,20,0.3);
}
:root[data-theme="soccer"] .section{
  box-shadow:0 14px 34px -22px rgba(10,14,20,0.5);
}
:root[data-theme="soccer"] .section:hover{
  box-shadow:0 20px 42px -20px rgba(10,14,20,0.6);
}

:root[data-theme="soccer"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--cyan));
  color:#0a0e14;
  font-weight:800;
}
:root[data-theme="soccer"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.55);
}

/* Background: soccer.png, no haze (same rule as every photo-backed theme
   so far) - the photo's own night-match darkness already carries the
   mood. 3 radial glows echo the photo's own floodlight blue-white glow,
   pitch green, and a warm trophy-gold pool at the bottom right. */
:root[data-theme="soccer"] .glow-field{
  background:
    radial-gradient(650px 480px at 88% 10%, rgba(127,184,232,0.2), transparent 60%),
    radial-gradient(650px 480px at 12% 85%, rgba(47,158,82,0.18), transparent 62%),
    radial-gradient(600px 460px at 85% 90%, rgba(212,175,55,0.16), transparent 62%),
    url('../site_assets/background_themed/soccer.png') center center / cover no-repeat fixed;
  animation:none;
}


/* ---------- Punk Rock theme (2026-10-06) ----------
   Token block + rationale: see the "Punk Rock" comment near the Soccer
   tokens at the top of this file. Everything here is chrome on top of
   those tokens; no JS. The stacking rule that matters: the page photo is
   LOUD and its centre is pale, so every surface that carries text gets an
   opaque near-black fill (cards via --glass .94, header/footer/selector
   below) - never rely on the photo for contrast. */
:root[data-theme="punk-rock"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ff72b8;}
:root[data-theme="punk-rock"] .section-vibez{--accent:var(--cyan); --accent-text:#6fd6f5;}
:root[data-theme="punk-rock"] .section-manage-you{--accent:var(--gold); --accent-text:#ffe45e;}
:root[data-theme="punk-rock"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#ff8d72;}
:root[data-theme="punk-rock"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#dfe2e7;}
:root[data-theme="punk-rock"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#f0dcae;}

/* Header bar: solid black strip (base is a 55% tint + blur, which over this
   photo's pale centre turns mid-grey and loses the wordmark). */
:root[data-theme="punk-rock"] header{
  background:rgba(8,8,10,0.94);
  border-bottom:3px solid var(--pink);
}
:root[data-theme="punk-rock"] .wordmark{
  background:linear-gradient(90deg, var(--pink), var(--gold), var(--cyan));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:3px;
}
:root[data-theme="punk-rock"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--gold));
}

/* Cards: black "sticker" slabs - 2px hot-pink edge plus a hard, un-blurred
   offset shadow in the section's own accent (the cut-and-paste gig-poster
   look). Static; the shared 4.5s breathe scale animation still applies. */
:root[data-theme="punk-rock"] .user-info{
  border:2px solid var(--pink);
  box-shadow:6px 6px 0 var(--cyan);
}
:root[data-theme="punk-rock"] .section{
  border:2px solid var(--accent);
  box-shadow:6px 6px 0 rgba(0,0,0,0.85);
}
:root[data-theme="punk-rock"] .section:hover{
  box-shadow:8px 8px 0 var(--accent);
}
:root[data-theme="punk-rock"] .section-title{
  text-transform:uppercase;
  letter-spacing:2px;
}

:root[data-theme="punk-rock"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--pink), var(--gold));
  color:#0b0b0d;
  font-weight:800;
}
:root[data-theme="punk-rock"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.7);
}
:root[data-theme="punk-rock"] .pill-btn.ghost{
  background:#0b0b0d;
  border-color:var(--cyan);
}

/* Theme selector button sits on the header strip - keep it solid. */
:root[data-theme="punk-rock"] .theme-selector-btn{
  background:#0b0b0d;
  border-color:var(--pink);
}

/* Footer: --glass is already .94 black; thicken its top edge to match the
   header. (Footer text colors come from --ink/--ink-dim via site_footer.css.) */
:root[data-theme="punk-rock"] .vbz-foot{
  border-top:3px solid var(--pink);
}

/* Background: punk_rock.jpg, no haze layer (standing rule) - 3 soft radial
   glows echo the photo's own pink / cyan / yellow paint. Cards are opaque
   enough that the photo never needs dimming for legibility. */
:root[data-theme="punk-rock"] .glow-field{
  background:
    radial-gradient(650px 480px at 10% 12%, rgba(255,45,149,0.18), transparent 60%),
    radial-gradient(650px 480px at 90% 86%, rgba(34,184,232,0.16), transparent 62%),
    radial-gradient(600px 460px at 12% 88%, rgba(255,210,31,0.14), transparent 62%),
    url('../site_assets/background_themed/punk_rock.jpg') center center / cover no-repeat fixed;
  animation:none;
}


/* ---------- Hip Hop theme (2026-10-06) ----------
   Token block + rationale: see the "Hip Hop" comment near the Soccer
   tokens at the top of this file. Chrome on top of those tokens; no JS.
   The photo is loud with a pale centre, so every surface that carries text
   gets an opaque near-black fill - never rely on the photo for contrast. */
:root[data-theme="hip-hop"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ff7b73;}
:root[data-theme="hip-hop"] .section-vibez{--accent:var(--cyan); --accent-text:#7fb0ff;}
:root[data-theme="hip-hop"] .section-manage-you{--accent:var(--gold); --accent-text:#f5cf5e;}
:root[data-theme="hip-hop"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e8946c;}
:root[data-theme="hip-hop"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#e4e7ec;}
:root[data-theme="hip-hop"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#eadcb8;}

/* Header bar: solid black strip (base is a 55% tint + blur, which over this
   photo's pale centre turns mid-grey and loses the wordmark). */
:root[data-theme="hip-hop"] header{
  background:rgba(9,8,7,0.94);
  border-bottom:3px solid var(--gold);
}
:root[data-theme="hip-hop"] .wordmark{
  background:linear-gradient(90deg, var(--gold), #f7dc7a, var(--gold));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:3px;
}
:root[data-theme="hip-hop"] .avatar-ring{
  background:linear-gradient(140deg, var(--gold), var(--pink));
}

/* Cards: black "sticker" slabs - 2px gold edge plus a hard, un-blurred
   offset shadow in the section's own accent (the sticker-slab look). Static; the shared 4.5s breathe scale animation still applies. */
:root[data-theme="hip-hop"] .user-info{
  border:2px solid var(--gold);
  box-shadow:6px 6px 0 var(--pink);
}
:root[data-theme="hip-hop"] .section{
  border:2px solid var(--accent);
  box-shadow:6px 6px 0 rgba(0,0,0,0.85);
}
:root[data-theme="hip-hop"] .section:hover{
  box-shadow:8px 8px 0 var(--accent);
}
:root[data-theme="hip-hop"] .section-title{
  text-transform:uppercase;
  letter-spacing:2px;
}

:root[data-theme="hip-hop"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--gold), #f7dc7a);
  color:#0c0b0a;
  font-weight:800;
}
:root[data-theme="hip-hop"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(var(--pink-rgb),0.7);
}
:root[data-theme="hip-hop"] .pill-btn.ghost{
  background:#0c0b0a;
  border-color:var(--cyan);
}

/* Theme selector button sits on the header strip - keep it solid. */
:root[data-theme="hip-hop"] .theme-selector-btn{
  background:#0c0b0a;
  border-color:var(--gold);
}

/* Footer: --glass is already .94 black; gold top edge matches the header. (Footer text colors come from --ink/--ink-dim via site_footer.css.) */
:root[data-theme="hip-hop"] .vbz-foot{
  border-top:3px solid var(--gold);
}

/* Background: hip_hop.jpg, no haze layer (standing rule) - 3 soft radial
   glows echo the photo's own red / blue / gold. Cards are opaque
   enough that the photo never needs dimming for legibility. */
:root[data-theme="hip-hop"] .glow-field{
  background:
    radial-gradient(650px 480px at 10% 12%, rgba(229,48,48,0.18), transparent 60%),
    radial-gradient(650px 480px at 90% 86%, rgba(61,127,230,0.18), transparent 62%),
    radial-gradient(600px 460px at 12% 88%, rgba(224,176,48,0.14), transparent 62%),
    url('../site_assets/background_themed/hip_hop.jpg') center center / cover no-repeat fixed;
  animation:none;
}

/* ---------- Hip Hop: street-poster borders + spray/bling buttons (2026-10-06) ----------
   Second pass on this theme (first pass = palette/chrome only, above), same
   idea as Heavy Metal's own border/button language but a different flavour:
     - cards: double-frame (3px gold border + 2px accent outline offset 3px),
       hard black offset shadow, and spray-paint DRIPS hanging off the bottom
       edge in the section's accent colour (::after, seven vertical bars with
       round ends at varied lengths - all background layers, no extra markup);
     - titles: marker-highlighter underlay in the section colour;
     - buttons: black street-sign plates, 2px gold border, bold italic caps;
       hover = a spray-paint circle blooms from the centre in gold (the shared
       sweep ::after, re-pointed to a clip-path circle + z-index:-1 so the
       label stays on top), label flips to black, plate pops up-left with a
       hard accent shadow via the INDIVIDUAL `translate` property (the shared
       hover's `transform:... !important` blocks transform effects, not this),
       and js/home.js throws gold "bling" glints (.hh-bling).
   Same legibility rule as the rest of the theme: opaque near-black fills. */
:root[data-theme="hip-hop"] .section{
  border:3px solid var(--gold);
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:4px;
  box-shadow:8px 8px 0 #000;
  margin-bottom:14px;
}
:root[data-theme="hip-hop"] .section:hover{
  box-shadow:8px 8px 0 #000, 0 0 26px -6px var(--accent);
}
:root[data-theme="hip-hop"] .user-info{
  border:3px solid var(--gold);
  outline:2px solid var(--pink);
  outline-offset:3px;
  border-radius:4px;
  box-shadow:8px 8px 0 #000;
  margin-bottom:2.1rem;
}
/* Spray drips: 7 rounded-end vertical bars (2 layers each: bar + dot cap)
   at different x/length, hanging 3px..22px below the card's bottom edge. */
:root[data-theme="hip-hop"] .user-info::after,
:root[data-theme="hip-hop"] .section::after{
  content:'';
  position:absolute;
  left:0;right:0;
  top:100%;
  margin-top:-4px;
  height:30px;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 50%, var(--drip,var(--accent)) 0 3.5px, transparent 4px) 9% 18px/10px 10px no-repeat,
    linear-gradient(var(--drip,var(--accent)),var(--drip,var(--accent))) 9% 0/4px 20px no-repeat,
    radial-gradient(circle at 50% 50%, var(--drip,var(--accent)) 0 3px, transparent 3.5px) 24% 10px/8px 8px no-repeat,
    linear-gradient(var(--drip,var(--accent)),var(--drip,var(--accent))) 24% 0/3px 13px no-repeat,
    radial-gradient(circle at 50% 50%, var(--drip,var(--accent)) 0 4px, transparent 4.5px) 41% 24px/12px 12px no-repeat,
    linear-gradient(var(--drip,var(--accent)),var(--drip,var(--accent))) 41% 0/5px 26px no-repeat,
    radial-gradient(circle at 50% 50%, var(--drip,var(--accent)) 0 3px, transparent 3.5px) 58% 12px/8px 8px no-repeat,
    linear-gradient(var(--drip,var(--accent)),var(--drip,var(--accent))) 58% 0/3px 15px no-repeat,
    radial-gradient(circle at 50% 50%, var(--drip,var(--accent)) 0 3.5px, transparent 4px) 73% 16px/10px 10px no-repeat,
    linear-gradient(var(--drip,var(--accent)),var(--drip,var(--accent))) 73% 0/4px 19px no-repeat,
    radial-gradient(circle at 50% 50%, var(--drip,var(--accent)) 0 3px, transparent 3.5px) 88% 8px/8px 8px no-repeat,
    linear-gradient(var(--drip,var(--accent)),var(--drip,var(--accent))) 88% 0/3px 11px no-repeat;
}
:root[data-theme="hip-hop"] .user-info{--drip:var(--pink);}

:root[data-theme="hip-hop"] .section-title{
  display:inline-block;
  padding:0 .35em;
  margin-left:-.35em;
  text-shadow:2px 2px 0 #000;
  background:linear-gradient(transparent 58%, rgba(255,255,255,0.12) 58%);
  background-color:transparent;
  border-bottom:3px solid var(--accent);
}

/* ----- Buttons: street-sign plates + spray-bloom hover ----- */
:root[data-theme="hip-hop"] .button-grid .button{
  border:2px solid var(--gold);
  border-radius:3px;
  background:#0c0b0a;
  color:#f6f0e2;
  text-transform:uppercase;
  font-style:italic;
  font-weight:800;
  letter-spacing:.05em;
  font-size:.72rem;
  text-shadow:1px 1px 0 #000;
  box-shadow:3px 3px 0 #000;
  transition:translate .18s ease, box-shadow .18s ease, color .18s ease, text-shadow .18s ease, background .2s ease;
}
:root[data-theme="hip-hop"] .button-grid .button.button-empty{
  background:rgba(12,11,10,0.55);
  border:2px dashed rgba(224,176,48,0.3);
  box-shadow:none;
}
/* shared sweep ::after -> spray-paint circle bloom (gold, speckled) */
:root[data-theme="hip-hop"] .button-grid .button::after{
  z-index:-1;
  inset:0;
  transform:none;
  clip-path:circle(0% at 50% 55%);
  transition:clip-path .38s cubic-bezier(.2,.8,.2,1);
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.35) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 64%, rgba(255,255,255,0.3) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 44% 82%, rgba(0,0,0,0.25) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 86% 22%, rgba(0,0,0,0.22) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 50%, #f7d36a 0%, #e0b030 70%);
}
:root[data-theme="hip-hop"] .button-grid .button:hover::after{
  transform:none;
  clip-path:circle(85% at 50% 55%);
}
:root[data-theme="hip-hop"] .button-grid .button:hover{
  border-color:#fff3c4;
  background:#0c0b0a;
  color:#0c0b0a;
  text-shadow:none;
  translate:-2px -2px;
  box-shadow:5px 5px 0 var(--accent), 0 0 0 1px #000;
}
:root[data-theme="hip-hop"] .button-grid .button.button-empty:hover{
  translate:0 0; box-shadow:none; border-color:rgba(224,176,48,0.3);
}
:root[data-theme="hip-hop"] .button-grid .button.button-empty::after{display:none;}

/* Bling glints thrown by a hovered tile/pill - js/home.js ('hip-hop'
   branch), self-removing on animationend; 4-point star via clip-path. */
.hh-bling{
  position:absolute;
  left:var(--x,50%);
  top:var(--y,50%);
  width:var(--s,10px);
  height:var(--s,10px);
  margin:calc(var(--s,10px) / -2) 0 0 calc(var(--s,10px) / -2);
  background:linear-gradient(135deg,#ffffff,#ffe07a 55%,#e0b030);
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
  pointer-events:none;
  z-index:3;
  opacity:0;
  animation:hhBling var(--t,.7s) ease-out var(--d,0s) forwards;
}
@keyframes hhBling{
  0%{ transform:scale(0) rotate(0deg); opacity:0; }
  35%{ transform:scale(1.25) rotate(45deg); opacity:1; }
  100%{ transform:scale(0) rotate(120deg); opacity:0; }
}

/* ----- Pills: same sign-plate language ----- */
:root[data-theme="hip-hop"] .pill-btn{
  border-radius:3px;
  text-transform:uppercase;
  font-style:italic;
  font-weight:800;
  letter-spacing:.06em;
  font-size:.78em;
  box-shadow:3px 3px 0 #000;
}
:root[data-theme="hip-hop"] .pill-btn.primary{border:2px solid #000;}
:root[data-theme="hip-hop"] .pill-btn.ghost{border:2px solid var(--gold);}
:root[data-theme="hip-hop"] .pill-btn:hover{translate:-2px -2px; box-shadow:5px 5px 0 var(--pink);}



/* ---------- R&B theme (2026-10-06) ----------
   Token block + rationale: see the "R&B" comment near the Soccer tokens at
   the top of this file. Chrome on top of those tokens; no JS. Photo is dark
   with drapes/marble at the edges, so surfaces carrying text still get a
   heavy plum-black fill - never rely on the photo for contrast. */
:root[data-theme="rnb"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#f07a9e;}
:root[data-theme="rnb"] .section-vibez{--accent:var(--cyan); --accent-text:#c9a0f0;}
:root[data-theme="rnb"] .section-manage-you{--accent:var(--gold); --accent-text:#f0cf86;}
:root[data-theme="rnb"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e07a9e;}
:root[data-theme="rnb"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#bcc5f0;}
:root[data-theme="rnb"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#f5c27e;}

/* Header: near-opaque plum-black strip with a gold hairline (base is a 55%
   tint + blur, which lets the drapes through behind the wordmark). */
:root[data-theme="rnb"] header{
  background:rgba(16,8,20,0.93);
  border-bottom:1px solid var(--gold);
  box-shadow:0 6px 24px -10px rgba(224,180,90,0.45);
}
:root[data-theme="rnb"] .wordmark{
  background:linear-gradient(90deg, var(--gold), #f7e2ae, var(--pink));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:3px;
}
:root[data-theme="rnb"] .avatar-ring{
  background:linear-gradient(140deg, var(--gold), var(--pink));
}

/* Cards: plum-black velvet slabs, gold hairline edge in the section's own
   accent, soft accent glow (no hard shadow - this is the smooth theme). */
:root[data-theme="rnb"] .user-info{
  border:1px solid var(--gold);
  box-shadow:0 18px 50px -22px rgba(0,0,0,0.8), 0 0 28px -10px rgba(224,180,90,0.45);
}
:root[data-theme="rnb"] .section{
  border:1px solid var(--accent);
  box-shadow:0 16px 40px -22px rgba(0,0,0,0.8), 0 0 22px -12px var(--accent);
}
:root[data-theme="rnb"] .section:hover{
  box-shadow:0 20px 46px -20px rgba(0,0,0,0.85), 0 0 30px -8px var(--accent);
}
:root[data-theme="rnb"] .section-title{
  letter-spacing:1.5px;
}

:root[data-theme="rnb"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--gold), #f3d089);
  color:#1a0d1f;
  font-weight:800;
}
:root[data-theme="rnb"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(224,180,90,0.7);
}
:root[data-theme="rnb"] .pill-btn.ghost{
  background:#120a16;
  border-color:var(--cyan);
}

/* Theme selector button sits on the header strip - keep it solid. */
:root[data-theme="rnb"] .theme-selector-btn{
  background:#120a16;
  border-color:var(--gold);
}

/* Footer: --glass is .90 plum-black; gold hairline top edge matches header. */
:root[data-theme="rnb"] .vbz-foot{
  background:rgba(16,8,20,0.95);
  border-top:1px solid var(--gold);
}

/* Background: RnB.jpg, no haze layer (standing rule) - 3 soft radial glows
   echo the photo's own burgundy drape, violet velvet and champagne gold. */
:root[data-theme="rnb"] .glow-field{
  background:
    radial-gradient(650px 480px at 8% 12%, rgba(194,48,92,0.16), transparent 60%),
    radial-gradient(650px 480px at 92% 88%, rgba(165,106,216,0.16), transparent 62%),
    radial-gradient(600px 460px at 14% 90%, rgba(224,180,90,0.14), transparent 62%),
    url('../site_assets/background_themed/RnB.jpg') center center / cover no-repeat fixed;
  animation:none;
}

/* ---------- R&B: velvet-lounge borders + petal buttons (2026-10-06) ----------
   Second pass on this theme (first pass = palette/chrome, above). Smooth,
   sensual, unhurried - the opposite energy of Heavy Metal/Hip Hop:
     - cards: gold hairline border + a second faint gold hairline inset 6px
       (outline with a negative offset - no layout change), art-deco corner
       brackets in brighter gold (::after, 8 one-pixel-thin gradient bars),
       soft rounded corners and a warm accent glow;
     - titles: serif italic with a fading gold flourish line trailing them;
     - buttons: dark plum glass, gold hairline, soft rounded; hover = the
       plate warms to wine/plum, the edge brightens to champagne with a
       gentle accent glow, it lifts 2px via the INDIVIDUAL `translate`
       property (the shared hover's `transform:... !important` blocks
       transform effects, not this), a slow champagne sheen glides across
       (the shared sweep ::after, slowed + z-index:-1 so the label stays on
       top) and js/home.js lets a few rose petals drift down through it
       (.rnb-petal).
   Same legibility rule as the rest of the theme: heavy plum-black fills. */
:root[data-theme="rnb"] .section,
:root[data-theme="rnb"] .user-info{
  border:1px solid rgba(224,180,90,0.75);
  border-radius:16px;
  outline:1px solid rgba(224,180,90,0.32);
  outline-offset:-7px;
}
:root[data-theme="rnb"] .section::before{
  left:2rem;right:2rem;
  height:1px;
  border-radius:0;
  background:linear-gradient(90deg,transparent,var(--accent) 25%,#f7e2ae 50%,var(--accent) 75%,transparent);
  box-shadow:0 0 14px 1px var(--accent);
}
/* art-deco corner brackets, inset 6px to sit on the inner hairline */
:root[data-theme="rnb"] .section::after,
:root[data-theme="rnb"] .user-info::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(#e0b45a,#e0b45a) left 6px top 6px/20px 2px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) left 6px top 6px/2px 20px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) right 6px top 6px/20px 2px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) right 6px top 6px/2px 20px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) left 6px bottom 6px/20px 2px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) left 6px bottom 6px/2px 20px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) right 6px bottom 6px/20px 2px no-repeat,
    linear-gradient(#e0b45a,#e0b45a) right 6px bottom 6px/2px 20px no-repeat;
  opacity:.85;
}
:root[data-theme="rnb"] .section-title{
  font-style:italic;
  font-weight:600;
  letter-spacing:2px;
  text-shadow:0 0 14px rgba(0,0,0,0.6);
}
:root[data-theme="rnb"] .section-title::after{
  content:'';
  display:inline-block;
  width:56px;height:1px;
  margin-left:.9em;
  vertical-align:middle;
  background:linear-gradient(90deg,var(--accent),transparent);
}

/* ----- Buttons: plum-glass plates + velvet-warm hover ----- */
:root[data-theme="rnb"] .button-grid .button{
  border:1px solid rgba(224,180,90,0.5);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(46,24,56,0.85),rgba(24,12,32,0.92));
  color:#f6eef3;
  font-weight:500;
  letter-spacing:.04em;
  font-size:.78rem;
  box-shadow:inset 0 1px 0 rgba(255,235,200,0.08), 0 4px 14px -8px #000;
  transition:translate .3s ease, box-shadow .35s ease, border-color .3s ease, background .35s ease, color .25s ease;
}
:root[data-theme="rnb"] .button-grid .button.button-empty{
  background:rgba(24,12,32,0.5);
  border:1px dashed rgba(224,180,90,0.22);
  box-shadow:none;
}
/* shared sweep ::after -> slow champagne sheen (behind the label) */
:root[data-theme="rnb"] .button-grid .button::after{
  z-index:-1;
  background:linear-gradient(105deg,transparent 30%,rgba(255,232,190,0.20) 50%,transparent 70%);
  transition:transform .9s cubic-bezier(.25,.6,.3,1);
}
:root[data-theme="rnb"] .button-grid .button:hover{
  border-color:#f2d58a;
  background:linear-gradient(180deg,rgba(120,36,80,0.88),rgba(44,16,44,0.95));
  color:#fff4e0;
  translate:0 -2px;
  box-shadow:inset 0 1px 0 rgba(255,235,200,0.18), 0 10px 22px -10px var(--accent), 0 0 18px -4px var(--accent);
}
:root[data-theme="rnb"] .button-grid .button.button-empty:hover{
  translate:0 0; box-shadow:none; border-color:rgba(224,180,90,0.22);
}
:root[data-theme="rnb"] .button-grid .button.button-empty::after{display:none;}

/* Rose petals drifting down a hovered tile/pill - js/home.js ('rnb'
   branch), self-removing on animationend. Falls from just above the top
   edge to just past the bottom, all inside the tile (shared overflow:
   hidden clips the entry/exit, which is the intended look). */
.rnb-petal{
  position:absolute;
  top:-10px;
  left:var(--x,50%);
  width:var(--w,7px);
  height:calc(var(--w,7px) * 1.35);
  background:radial-gradient(circle at 30% 30%,#ff8fb3 0%,#c2305c 60%,#7a1f45 100%);
  border-radius:80% 0 80% 0;
  pointer-events:none;
  z-index:3;
  opacity:0;
  animation:rnbPetal var(--t,1.3s) ease-in-out var(--d,0s) forwards;
}
@keyframes rnbPetal{
  0%{ transform:translate(0,0) rotate(0deg); opacity:0; }
  15%{ opacity:.95; }
  50%{ transform:translate(calc(var(--dx,10px) * -0.5), calc(var(--fall,50px) * .5)) rotate(calc(var(--rot,160deg) * .5)); opacity:.95; }
  100%{ transform:translate(var(--dx,10px), var(--fall,50px)) rotate(var(--rot,160deg)); opacity:0; }
}

/* ----- Pills ----- */
:root[data-theme="rnb"] .pill-btn{
  border-radius:999px;
  letter-spacing:.04em;
  transition:translate .3s ease, box-shadow .3s ease, border-color .3s ease;
}
:root[data-theme="rnb"] .pill-btn:hover{
  translate:0 -2px;
  box-shadow:0 10px 22px -10px rgba(224,180,90,0.7);
}
:root[data-theme="rnb"] .pill-btn.ghost{border-color:rgba(224,180,90,0.6);}



/* ---------- Country theme (2026-10-06) ----------
   Token block + rationale: see the "Country" comment near the Soccer tokens
   at the top of this file. Chrome on top of those tokens; no JS. The photo's
   centre is a pale sunset sky with dark wood at the edges, so every surface
   that carries text gets a heavy walnut fill - never rely on the photo for
   contrast. */
:root[data-theme="country"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ff8a6e;}
:root[data-theme="country"] .section-vibez{--accent:var(--cyan); --accent-text:#b4d07a;}
:root[data-theme="country"] .section-manage-you{--accent:var(--gold); --accent-text:#ffc566;}
:root[data-theme="country"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#e6a06a;}
:root[data-theme="country"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#a9c8de;}
:root[data-theme="country"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#f2dc94;}

/* Header: near-opaque walnut strip with an amber rule (base is a 55% tint +
   blur, which over the pale sky would turn the wordmark's backdrop tan). */
:root[data-theme="country"] header{
  background:rgba(24,15,8,0.94);
  border-bottom:3px solid var(--gold);
}
:root[data-theme="country"] .wordmark{
  background:linear-gradient(90deg, var(--gold), #ffe0a0, var(--violet));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:3px;
}
:root[data-theme="country"] .avatar-ring{
  background:linear-gradient(140deg, var(--gold), var(--violet));
}

/* Cards: dark walnut planks - 2px accent border, soft drop shadow, and a
   dashed "leather stitching" line inset 7px (outline with a negative
   offset, so it never changes layout). */
:root[data-theme="country"] .user-info{
  border:2px solid var(--gold);
  box-shadow:0 18px 44px -18px rgba(0,0,0,0.75);
  outline:1px dashed rgba(240,168,64,0.5);
  outline-offset:-8px;
}
:root[data-theme="country"] .section{
  border:2px solid var(--accent);
  box-shadow:0 14px 34px -16px rgba(0,0,0,0.75);
  outline:1px dashed rgba(251,241,222,0.28);
  outline-offset:-8px;
}
:root[data-theme="country"] .section:hover{
  box-shadow:0 20px 42px -16px rgba(0,0,0,0.8), 0 0 22px -10px var(--accent);
}
:root[data-theme="country"] .section-title{
  letter-spacing:1.5px;
}

:root[data-theme="country"] .pill-btn.primary{
  background:linear-gradient(120deg, var(--gold), #ffd283);
  color:#2a1708;
  font-weight:800;
}
:root[data-theme="country"] .pill-btn.primary:hover{
  box-shadow:0 8px 20px -8px rgba(240,168,64,0.7);
}
:root[data-theme="country"] .pill-btn.ghost{
  background:#150e08;
  border-color:var(--cyan);
}

/* Theme selector button sits on the header strip - keep it solid. */
:root[data-theme="country"] .theme-selector-btn{
  background:#150e08;
  border-color:var(--gold);
}

/* Footer: --glass is .93 walnut; amber top rule matches the header. */
:root[data-theme="country"] .vbz-foot{
  background:rgba(24,15,8,0.96);
  border-top:3px solid var(--gold);
}

/* Background: country.jpg, no haze layer (standing rule) - 3 soft radial
   glows echo the photo's own sunset amber, barn red and field green. */
:root[data-theme="country"] .glow-field{
  background:
    radial-gradient(650px 480px at 50% 30%, rgba(240,168,64,0.16), transparent 62%),
    radial-gradient(650px 480px at 8% 90%, rgba(196,69,47,0.16), transparent 62%),
    radial-gradient(600px 460px at 90% 85%, rgba(138,166,86,0.14), transparent 62%),
    url('../site_assets/background_themed/country.jpg') center center / cover no-repeat fixed;
  animation:none;
}

/* ---------- Country: rope-and-plank borders + hanging-sign buttons (2026-10-06) ----------
   Second pass on this theme (first pass = palette/chrome, above). Rustic,
   warm, hand-made - a different flavour from Heavy Metal/Hip Hop/R&B:
     - cards: a twisted-rope border (border-image of a 45deg repeating
       tan/brown gradient, so the corners are square plank frames), four
       brass nail heads at the corners (stacked radial-gradients), the
       existing dashed leather-stitch line kept inside, and a warm inset
       glow in the section's accent colour;
     - titles: uppercase with a star either side, dotted stitch underline;
     - buttons: leather patches (saddle-brown gradient, stitched dashed
       inner line); hover = the patch swings like a hanging sign (the
       INDIVIDUAL `rotate` property pivoting from the top edge with an
       overshoot ease - the shared hover's `transform:... !important` blocks
       transform effects, not this), a lantern-amber glow blooms behind the
       label (the shared sweep ::after, re-pointed to a radial fade +
       z-index:-1), the edge goes lantern gold, and js/home.js lets a few
       fireflies drift up through it (.cty-firefly).
   Same legibility rule: heavy walnut fills, never rely on the photo. */
:root[data-theme="country"] .user-info,
:root[data-theme="country"] .section{
  border:5px solid transparent;
  border-image:repeating-linear-gradient(45deg,#d9b676 0 3px,#8a6532 3px 6px,#c4995a 6px 9px) 5;
  border-radius:0;
  outline:1px dashed rgba(251,241,222,0.32);
  outline-offset:-10px;
  background:
    radial-gradient(circle at 11px 11px, #f1d58c 0 1.5px,#8a6128 2.5px 4px,transparent 5px),
    radial-gradient(circle at calc(100% - 11px) 11px, #f1d58c 0 1.5px,#8a6128 2.5px 4px,transparent 5px),
    radial-gradient(circle at 11px calc(100% - 11px), #f1d58c 0 1.5px,#8a6128 2.5px 4px,transparent 5px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), #f1d58c 0 1.5px,#8a6128 2.5px 4px,transparent 5px),
    linear-gradient(180deg, rgba(255,230,180,0.03), transparent 45%),
    var(--glass);
}
:root[data-theme="country"] .user-info{
  box-shadow:0 0 0 1px #000, inset 0 0 40px -22px var(--gold), 0 18px 42px -16px rgba(0,0,0,0.8);
}
:root[data-theme="country"] .section{
  box-shadow:0 0 0 1px #000, inset 0 0 40px -22px var(--accent), 0 16px 36px -16px rgba(0,0,0,0.8);
}
:root[data-theme="country"] .section:hover{
  box-shadow:0 0 0 1px #000, inset 0 0 52px -16px var(--accent), 0 0 24px -8px var(--accent), 0 16px 36px -16px rgba(0,0,0,0.8);
}
:root[data-theme="country"] .section::before{
  left:0;right:0;
  height:3px;
  border-radius:0;
  background:linear-gradient(90deg,transparent,var(--accent) 18%,var(--accent) 82%,transparent);
  box-shadow:0 0 12px 0 var(--accent);
}
:root[data-theme="country"] .section-title{
  text-transform:uppercase;
  letter-spacing:2.5px;
  text-shadow:0 2px 0 #000;
  padding-bottom:.45rem;
  background:radial-gradient(circle,var(--accent) 0 1.2px,transparent 1.8px) left bottom/8px 4px repeat-x;
}
:root[data-theme="country"] .section-title::before,
:root[data-theme="country"] .section-title::after{
  content:'\2605';
  font-size:.7em;
  color:var(--accent);
  vertical-align:.08em;
}
:root[data-theme="country"] .section-title::before{margin-right:.6em;}
:root[data-theme="country"] .section-title::after{margin-left:.6em;}

/* ----- Buttons: leather patches + swinging-sign hover ----- */
:root[data-theme="country"] .button-grid .button{
  border:2px solid #8a5a2c;
  border-radius:6px;
  background:linear-gradient(180deg,#4a2d18 0%,#2e1b0e 100%);
  color:#fbf1de;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.07em;
  font-size:.72rem;
  text-shadow:0 1px 0 #000;
  box-shadow:inset 0 0 0 3px #2e1b0e, inset 0 0 0 4px rgba(240,200,130,0.35), 0 4px 10px -6px #000;
  transform-origin:50% 0;
  transition:rotate .5s cubic-bezier(.3,1.7,.5,1), border-color .25s ease, color .2s ease, background .3s ease, box-shadow .3s ease;
}
:root[data-theme="country"] .button-grid .button.button-empty{
  background:rgba(34,22,12,0.5);
  border:2px dashed rgba(138,90,44,0.4);
  box-shadow:none;
}
/* shared sweep ::after -> lantern-amber glow behind the label */
:root[data-theme="country"] .button-grid .button::after{
  z-index:-1;
  inset:0;
  transform:none;
  opacity:0;
  transition:opacity .35s ease;
  background:radial-gradient(ellipse at 50% 55%,rgba(255,200,100,0.65) 0%,rgba(240,150,50,0.32) 45%,transparent 78%);
}
:root[data-theme="country"] .button-grid .button:hover::after{
  transform:none;
  opacity:1;
}
:root[data-theme="country"] .button-grid .button:hover{
  border-color:#f0a840;
  background:linear-gradient(180deg,#5c3820 0%,#3a2312 100%);
  color:#fff7e4;
  rotate:2.2deg;
  box-shadow:inset 0 0 0 3px #3a2312, inset 0 0 0 4px rgba(255,210,140,0.6), 0 8px 18px -8px rgba(240,168,64,0.7);
}
:root[data-theme="country"] .button-grid .button.button-empty:hover{
  rotate:0deg; box-shadow:none; border-color:rgba(138,90,44,0.4);
}
:root[data-theme="country"] .button-grid .button.button-empty::after{display:none;}

/* Fireflies drifting up a hovered tile/pill - js/home.js ('country'
   branch), self-removing on animationend. Stays inside the tile. */
.cty-firefly{
  position:absolute;
  left:var(--x,50%);
  bottom:var(--y,10%);
  width:var(--s,4px);
  height:var(--s,4px);
  border-radius:50%;
  background:#ffe9a0;
  box-shadow:0 0 6px 2px rgba(255,200,80,0.9), 0 0 12px 4px rgba(255,160,40,0.45);
  pointer-events:none;
  z-index:3;
  opacity:0;
  animation:ctyFirefly var(--t,1.3s) ease-in-out var(--d,0s) forwards;
}
@keyframes ctyFirefly{
  0%{ transform:translate(0,0); opacity:0; }
  20%{ opacity:1; }
  45%{ transform:translate(calc(var(--dx,8px) * 0.8), calc(var(--rise,24px) * -0.45)); opacity:.35; }
  70%{ opacity:1; }
  100%{ transform:translate(calc(var(--dx,8px) * -0.5), calc(var(--rise,24px) * -1)); opacity:0; }
}

/* ----- Pills: leather patches ----- */
:root[data-theme="country"] .pill-btn{
  border-radius:6px;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.07em;
  font-size:.78em;
  transform-origin:50% 0;
  transition:rotate .5s cubic-bezier(.3,1.7,.5,1), box-shadow .3s ease;
}
:root[data-theme="country"] .pill-btn.primary{border:2px solid #8a5a2c;}
:root[data-theme="country"] .pill-btn:hover{
  rotate:2deg;
  box-shadow:0 8px 18px -8px rgba(240,168,64,0.7);
}
:root[data-theme="country"] .pill-btn.ghost{border:2px solid #8a5a2c;}



/* ---------- Heavy Metal theme (2026-10-06) ----------
   Token block + rationale: see the "Heavy Metal" comment near the Soccer
   tokens at the top of this file. This is the first theme with its OWN
   card/border/button language rather than free-riding the shared chrome:
     - cards: sharp brushed-steel plate border (border-image, so no radius),
       four corner rivets (stacked radial-gradients), an inset accent glow,
       and a row of steel spike teeth hanging off the bottom edge (::after);
     - buttons: chamfered (clip-path) steel plates, uppercase; hover floods
       the plate with lava rising from the bottom (the shared sweep ::after,
       re-pointed vertical + z-index:-1 so the label stays on top), the label
       goes white with a hard black shadow, plate tilts/scales via the
       INDIVIDUAL `rotate`/`scale` properties (the shared hover rule's
       `transform:... !important` blocks any transform-based effect, but not
       these), and js/home.js throws ember sparks (.metal-ember).
   Legibility: every surface carrying text is near-opaque black - never rely
   on the photo (spotlight haze/smoke) for contrast. */
:root[data-theme="heavy-metal"] .section:nth-of-type(1){--accent:var(--pink); --accent-text:#ff6b6e;}
:root[data-theme="heavy-metal"] .section-vibez{--accent:var(--cyan); --accent-text:#c39bff;}
:root[data-theme="heavy-metal"] .section-manage-you{--accent:var(--gold); --accent-text:#ffa45e;}
:root[data-theme="heavy-metal"] .section:nth-of-type(4){--accent:var(--violet); --accent-text:#c9cfdc;}
:root[data-theme="heavy-metal"] .section:nth-of-type(5){--accent:var(--mint); --accent-text:#f4ecdc;}
:root[data-theme="heavy-metal"] .section:nth-of-type(6){--accent:var(--orange); --accent-text:#ff7078;}

/* Header: near-black strip, brushed-steel underline, blood-red glow. */
:root[data-theme="heavy-metal"] header{
  background:rgba(6,3,10,0.95);
  border-bottom:3px solid transparent;
  border-image:linear-gradient(90deg,#3b3e48,#d9dde7 20%,#6b7080 45%,#e0262b 50%,#6b7080 55%,#d9dde7 80%,#3b3e48) 1;
  box-shadow:0 8px 30px -10px rgba(224,38,43,0.55);
}
:root[data-theme="heavy-metal"] .wordmark{
  background:linear-gradient(180deg,#ffffff 0%,#b9bfcc 45%,#6d7384 55%,#e0262b 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:6px;
  filter:drop-shadow(0 0 10px rgba(224,38,43,0.55));
}
:root[data-theme="heavy-metal"] .avatar-ring{
  background:linear-gradient(140deg, var(--pink), var(--cyan));
}

/* ----- Cards: riveted steel plates with spike teeth ----- */
:root[data-theme="heavy-metal"] .user-info,
:root[data-theme="heavy-metal"] .section{
  border:3px solid transparent;
  border-image:linear-gradient(135deg,#454853 0%,#d6dae4 14%,#5a5e6b 32%,#9096a6 52%,#3a3d47 70%,#cfd3de 88%,#4a4d58 100%) 1;
  border-radius:0;
  background:
    radial-gradient(circle at 9px 9px,   #c9ced9 0 2px,#4a4d58 3px 4.5px,transparent 5.5px),
    radial-gradient(circle at calc(100% - 9px) 9px,   #c9ced9 0 2px,#4a4d58 3px 4.5px,transparent 5.5px),
    radial-gradient(circle at 9px calc(100% - 9px),   #c9ced9 0 2px,#4a4d58 3px 4.5px,transparent 5.5px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px),   #c9ced9 0 2px,#4a4d58 3px 4.5px,transparent 5.5px),
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%),
    var(--glass);
}
:root[data-theme="heavy-metal"] .user-info{
  box-shadow:0 0 0 1px #000, inset 0 0 44px -20px var(--pink), 0 20px 46px -16px #000;
  margin-bottom:2rem;
}
:root[data-theme="heavy-metal"] .section{
  box-shadow:0 0 0 1px #000, inset 0 0 40px -20px var(--accent), 0 18px 40px -16px #000;
  margin-bottom:12px;
}
:root[data-theme="heavy-metal"] .section:hover{
  box-shadow:0 0 0 1px #000, inset 0 0 52px -16px var(--accent), 0 0 28px -8px var(--accent), 0 18px 40px -16px #000;
}
/* Spike teeth hanging off the bottom edge: two interleaved 45deg triangles
   make a sawtooth; sits in the 12px/2rem margin added above so it never
   touches the next card. */
:root[data-theme="heavy-metal"] .user-info::after,
:root[data-theme="heavy-metal"] .section::after{
  content:'';
  position:absolute;
  left:-3px;right:-3px;
  bottom:-15px;
  height:12px;
  background:
    linear-gradient(135deg,#8d93a3 25%,transparent 25%) -6px 0/12px 12px,
    linear-gradient(225deg,#5f6372 25%,transparent 25%) -6px 0/12px 12px;
  pointer-events:none;
}
/* Accent bar at the top of each card: hot line in the section colour. */
:root[data-theme="heavy-metal"] .section::before{
  left:0;right:0;
  height:3px;
  border-radius:0;
  background:linear-gradient(90deg,transparent,var(--accent) 20%,var(--accent) 80%,transparent);
  box-shadow:0 0 16px 1px var(--accent);
}
:root[data-theme="heavy-metal"] .section-title{
  text-transform:uppercase;
  letter-spacing:3px;
  text-shadow:0 0 12px var(--accent), 0 2px 0 #000;
}
:root[data-theme="heavy-metal"] .section-title::before{
  content:'';
  display:inline-block;
  width:.5em;height:.5em;
  margin-right:.7em;
  background:var(--accent);
  transform:rotate(45deg);
  box-shadow:0 0 8px var(--accent);
  vertical-align:.08em;
}

/* ----- Buttons: chamfered steel plates + lava-fill hover ----- */
:root[data-theme="heavy-metal"] .button-grid .button{
  border:2px solid transparent;
  border-image:linear-gradient(135deg,#4a4d58,#c9ced9 30%,#5c6070 55%,#aeb4c2 80%,#3d4049) 1;
  border-radius:0;
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  background:linear-gradient(180deg,#1d1722 0%,#0d0911 100%);
  color:#e6e1ea;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.72rem;
  font-weight:700;
  text-shadow:0 1px 0 #000;
  transition:rotate .25s ease, scale .25s ease, letter-spacing .25s ease, color .2s ease, text-shadow .2s ease, background .25s ease;
}
:root[data-theme="heavy-metal"] .button-grid .button.button-empty{
  background:rgba(8,5,12,0.6);
  border-image:none;
  border:2px dashed rgba(140,147,163,0.28);
}
/* The shared sweep ::after (inset:0, translateX) becomes a vertical lava
   flood; z-index:-1 inside the button's own isolation context keeps it above
   the plate background but below the label. */
:root[data-theme="heavy-metal"] .button-grid .button::after{
  z-index:-1;
  background:linear-gradient(0deg,#ff2a0e 0%,#ff6a1a 32%,rgba(255,150,40,0.6) 62%,rgba(120,0,20,0) 100%);
  transform:translateY(102%);
  transition:transform .38s cubic-bezier(.2,.8,.2,1);
}
:root[data-theme="heavy-metal"] .button-grid .button:hover::after{
  transform:translateY(0);
}
:root[data-theme="heavy-metal"] .button-grid .button:hover{
  border-image:linear-gradient(135deg,#ff7a1f,#fff1c9 30%,#ff3b12 60%,#ffb347 85%,#e0262b) 1;
  background:linear-gradient(180deg,#2a1218 0%,#12070b 100%);
  box-shadow:none;
  color:#fff;
  text-shadow:0 1px 0 #000, 0 0 10px rgba(0,0,0,0.9);
  letter-spacing:.09em;
  rotate:-1.2deg;
  scale:1.04;
}
:root[data-theme="heavy-metal"] .button-grid .button.button-empty:hover{
  rotate:0deg; scale:1; letter-spacing:.06em;
}
:root[data-theme="heavy-metal"] .button-grid .button.button-empty::after{display:none;}

/* Ember sparks thrown off a hovered tile/pill - spawned by js/home.js
   ('heavy-metal' branch), self-removing on animationend. Stays inside the
   tile (rise <= tile height), so the shared overflow:hidden doesn't clip it. */
.metal-ember{
  position:absolute;
  bottom:0;
  left:var(--x, 50%);
  width:var(--s, 3px);
  height:var(--s, 3px);
  border-radius:50%;
  background:#ffd27a;
  box-shadow:0 0 6px 2px #ff6a1a;
  pointer-events:none;
  z-index:3;
  animation:metalEmber var(--t, .9s) ease-out forwards;
}
@keyframes metalEmber{
  0%{ transform:translate(0,0) scale(1); opacity:0; }
  12%{ opacity:1; }
  100%{ transform:translate(var(--dx, 0px), calc(var(--rise, 40px) * -1)) scale(.3); opacity:0; }
}

/* ----- Pills (View Profile / Log out) ----- */
:root[data-theme="heavy-metal"] .pill-btn{
  border-radius:0;
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  font-size:.78em;
}
:root[data-theme="heavy-metal"] .pill-btn.primary{
  background:linear-gradient(180deg,#ff4a3d,#a8131a);
  color:#fff;
  text-shadow:0 1px 0 #000;
}
:root[data-theme="heavy-metal"] .pill-btn.primary:hover{
  box-shadow:none;
  background:linear-gradient(180deg,#ff8a2a,#e0262b);
}
:root[data-theme="heavy-metal"] .pill-btn.ghost{
  background:#0d0911;
  border:1px solid #8c93a3;
}
:root[data-theme="heavy-metal"] .pill-btn.ghost:hover{
  border-color:var(--pink);
  color:#fff;
}

/* Theme selector sits on the header strip - keep it solid steel. */
:root[data-theme="heavy-metal"] .theme-selector-btn{
  background:#0d0911;
  border:1px solid #8c93a3;
  border-radius:0;
}

/* Activity rows: dark rows with a red left spike on hover. */
:root[data-theme="heavy-metal"] .activity-item:hover{
  box-shadow:inset 3px 0 0 var(--pink);
}

/* Footer: near-black, steel top edge with red centre glow. */
:root[data-theme="heavy-metal"] .vbz-foot{
  background:rgba(6,3,10,0.96);
  border-top:3px solid transparent;
  border-image:linear-gradient(90deg,#3b3e48,#d9dde7 20%,#6b7080 45%,#e0262b 50%,#6b7080 55%,#d9dde7 80%,#3b3e48) 1;
}

/* Background: heavy_metal.jpg, no haze layer (standing rule) - 3 soft
   radial glows echo the photo's own red and violet spotlights and the
   floor embers. */
:root[data-theme="heavy-metal"] .glow-field{
  background:
    radial-gradient(620px 460px at 10% 6%, rgba(224,38,43,0.2), transparent 60%),
    radial-gradient(620px 460px at 90% 6%, rgba(155,77,255,0.2), transparent 60%),
    radial-gradient(900px 340px at 50% 100%, rgba(255,106,26,0.16), transparent 65%),
    url('../site_assets/background_themed/heavy_metal.jpg') center center / cover no-repeat fixed;
  animation:none;
}


/* ---------- Coming Soon modal (2026-09-23) ----------
   Shared by every not-yet-built button on this page (.js-coming-soon,
   see home.php) - one overlay/modal reused for all of them rather than
   one per button. Same fixed-inset-flex shape as .vibez-composer-overlay
   (css/vibe-content.css) so it centers in the CURRENT viewport regardless
   of scroll position, just simpler content (a single centered message,
   no form). z-index above every other overlay/toast on this page (highest
   elsewhere is 270, vibe-content.css's error toast) since nothing else
   should ever be open at the same time a placeholder button is clicked. */
.vibez-coming-soon-overlay{
  position:fixed;
  inset:0;
  z-index:300;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(var(--void-rgb),0.75);
  backdrop-filter:blur(4px);
  padding:1.5rem;
}
.vibez-coming-soon-overlay[hidden]{
  display:none;
}
.vibez-coming-soon-modal{
  position:relative;
  width:100%;
  max-width:380px;
  background:var(--void-2);
  border:1px solid var(--glass-brd);
  border-radius:16px;
  box-shadow:0 24px 70px -24px rgba(0,0,0,0.7);
  padding:2.25rem 1.75rem 1.75rem;
  text-align:center;
}
.vibez-coming-soon-modal p{
  margin:0;
  color:var(--ink);
  font-size:1.1em;
  font-weight:600;
  line-height:1.4;
}
.vibez-coming-soon-close{
  position:absolute;
  top:0.75rem;
  right:0.9rem;
  background:none;
  border:none;
  color:var(--ink-dim);
  font-size:1.4em;
  line-height:1;
  cursor:pointer;
}
.vibez-coming-soon-close:hover{
  color:var(--ink);
}

  /* Empty placeholder cells that hold the 3x3 shape of a button grid (home.php Vibezmart / Vibez Sellers). */
  .button-grid .button.button-empty,.button-grid .button.button-empty:hover{pointer-events:none;cursor:default;transform:none;background:rgba(var(--void-2-rgb),0.25);border-style:dashed}
