@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo+Black&family=Bangers&family=Bebas+Neue&family=Bricolage+Grotesque:wght@400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&family=DM+Serif+Display&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Grenze+Gotisch:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=Josefin+Sans:wght@500;600;700&family=Kalam:wght@400;700&family=Libre+Baskerville:wght@400;700&family=Lora:wght@500;600;700&family=Major+Mono+Display&family=Manrope:wght@400;500;600;700;800&family=Merriweather:wght@400;700;900&family=Montserrat:wght@500;600;700;800&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@500;600;700&family=Playfair+Display:wght@500;600;700;800&family=Raleway:wght@500;600;700;800&family=Righteous&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@500;600;700;800&family=Unbounded:wght@500;600;700;800&display=swap');

/*****************
******************
COLOR VARIABLES
******************
*****************/
:root {

  --artist-brand-font-family: "Open Sans", Arial, sans-serif;
  /* ======================================================
  CORE THEME COLORS
  ====================================================== */

  --background: #131112;

  --white: #f7f7f7;
  --black: #0f0f0f;
  --darkest-black: #090909;
  --light-black: #1D1F20;
  --lighter-black: #27292A;
  --lightest-black: #3B3C3D;

  --gray: #A0A0A0;
  --disable: #727273;
  --text-area: #232526;

  --warning: #B85252;
  --helper: #7FA6C9;

  --custom-link: #4b4b4b;

  /* ======================================================
  SEMANTIC TEXT / BORDER / SURFACE TOKENS
  ====================================================== */

  --text-muted: rgba(255,255,255,0.38);
  --text-medium: rgba(255,255,255,0.6);
  --text-strong: rgba(255,255,255,0.90);
  --text-bright: rgba(255,255,255,0.95);

  --white-04: rgba(255,255,255,0.04);
  --white-08: rgba(255,255,255,0.08);
  --white-12: rgba(255,255,255,0.12);
  --white-20: rgba(255,255,255,0.20);
  --white-35: rgba(255,255,255,0.35);
  --white-60: rgba(255,255,255,0.60);
  --white-72: rgba(255,255,255,0.72);
  --white-90: rgba(255,255,255,0.90);
  --white-95: rgba(255,255,255,0.95);

  --border-subtle: var(--white-08);
  --border-soft: var(--white-12);
  --border-medium: var(--white-20);

  --surface-soft: var(--white-04);
  --surface-medium: var(--white-08);
  --surface-strong: var(--white-12);

  --black-08: rgba(0,0,0,0.08);
  --black-18: rgba(0,0,0,0.18);
  --black-25: rgba(0,0,0,0.25);
  --black-35: rgba(0,0,0,0.35);
  --black-45: rgba(0,0,0,0.45);
  --black-60: rgba(0,0,0,0.60);
  --black-65: rgba(0,0,0,0.65);
  --black-80: rgba(0,0,0,0.80);

  --overlay-soft: var(--black-45);
  --overlay-medium: var(--black-60);
  --overlay-strong: var(--black-65);
  --overlay-extra-strong: var(--black-80);

  --glass-soft: rgba(20,20,20,0.55);
  --glass-medium: rgba(20,20,20,0.80);
  --glass-strong: rgba(20,20,20,0.90);
  --glass-modal: rgba(15,15,15,0.88);
  --glass-notice: rgba(18,18,18,0.92);
  --glass-menu: rgba(30,30,30,0.60);

  /* ======================================================
  SURFACES
  ====================================================== */

  --surface: var(--light-black);

  --surface-gradient:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--light-black) 94%, #ffffff 6%) 0%,
      var(--light-black) 48%,
      color-mix(in srgb, var(--light-black) 88%, #2b2430 12%) 100%
    );

  --surface-gradient-soft:
    radial-gradient(
      700px 420px at 8% 0%,
      rgba(255,255,255,0.035),
      transparent 54%
    ),
    radial-gradient(
      620px 420px at 100% 100%,
      rgba(196,60,255,0.045),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--light-black) 96%, #ffffff 4%) 0%,
      var(--light-black) 55%,
      color-mix(in srgb, var(--light-black) 90%, #2a2230 10%) 100%
    );

  --input-surface-gradient:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--text-area) 94%, #ffffff 6%) 0%,
      var(--text-area) 100%
    );

  /* ======================================================
  TACTILE SURFACES
  ====================================================== */

  --surface-tactile:
    radial-gradient(
      520px 280px at 8% 0%,
      rgba(255,255,255,0.055),
      transparent 48%
    ),
    radial-gradient(
      420px 260px at 100% 12%,
      rgba(190,145,95,0.085),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #202324 0%,
      #181a1b 48%,
      #151718 100%
    );

  --surface-tactile-inset:
    radial-gradient(
      420px 220px at 14% 0%,
      rgba(255,255,255,0.055),
      transparent 46%
    ),
    linear-gradient(
      145deg,
      #292c2d 0%,
      #222526 55%,
      #1b1d1e 100%
    );

  --surface-tactile-border:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.055) 34%,
      rgba(255,255,255,0.035) 58%,
      rgba(206,158,102,0.20) 100%
    );

  --surface-tactile-shadow:
    0 14px 24px rgba(0,0,0,0.18),
    0 4px 9px rgba(0,0,0,0.14),
    inset 0 1px 1px rgba(255,255,255,0.085),
    inset 0 0 0 1px rgba(255,255,255,0.035),
    inset 0 -1px 1px var(--black-45);

  /* ======================================================
  SHADOWS / INSETS
  ====================================================== */

  --shadow-soft:
    0 4px 14px var(--black-35);

  --shadow-floating:
    0 4px 20px var(--black-35);

  --shadow-modal:
    0 14px 42px var(--black-35);

  --shadow-heavy:
    0 20px 60px rgba(0,0,0,0.38);

  --shadow-hero:
    0 4px 14px var(--black-45),
    inset 0 1px 1px rgba(255,255,255,0.05);

  --shadow-button-deep:
    0 15px 30px rgba(0,0,0,0.38),
    0 6px 10px var(--black-18),
    inset 0 1px 1px rgba(255,255,255,0.05);

  --inset-soft:
    inset 0 1px 1px rgba(255,255,255,0.05);

  --inset-border-soft:
    inset 0 0 0 1px var(--white-04);

  --inset-dark-bottom:
    inset 0 -1px 1px var(--black-45);

  /* ======================================================
  FIELD / EMPTY / MEDIA HELPERS
  ====================================================== */

  --empty-text: var(--text-muted);
  --empty-bg: rgba(0,0,0,0.30);
  --placeholder-bg: #252425;

  --field-bg: var(--white-04);
  --field-bg-hover: var(--white-08);
  --field-bg-active: var(--white-12);
  --field-border: var(--white-04);

  --media-overlay-bg: var(--black-60);

  --muted-footer-text: rgba(255,255,255,0.25);
  --soft-icon-stroke: #ececec;

  --highlight-warning-soft: #ff8a8a;
  --highlight-gold: #ffb86b;
  --danger-red: #B85252;

  --hero-fade-transparent: rgba(19,17,18,0);
  --hero-fade-soft: rgba(19,17,18,0.35);
  --hero-fade-strong: rgba(19,17,18,0.82);
  --hero-fade-solid: rgba(19,17,18,1);

  /* ======================================================
  PLUVI BRAND
  ====================================================== */

  --pluvi-red: #ff4d4d;
  --pluvi-pink: #ff4fa3;
  --pluvi-purple: #a93cff;
  --pluvi-violet: #6f2cff;

  --pluvi-gradient:
    linear-gradient(
      180deg,
      var(--pluvi-red) 0%,
      var(--pluvi-pink) 35%,
      var(--pluvi-purple) 70%,
      var(--pluvi-violet) 100%
    );

  --pluvi-warm-start: #ff5a3d;
  --pluvi-warm-mid: #ff4d6d;
  --pluvi-warm-purple: #c43cff;
  --pluvi-warm-end: #7b2cff;

  --pluvi-warm-gradient:
    linear-gradient(
      180deg,
      var(--pluvi-warm-start) 0%,
      var(--pluvi-warm-mid) 35%,
      var(--pluvi-warm-purple) 70%,
      var(--pluvi-warm-end) 100%
    );

  --pluvi-diagonal-gradient:
    linear-gradient(
      135deg,
      var(--pluvi-warm-start),
      var(--pluvi-warm-purple)
    );

  --ambient-warm-soft: rgba(255,90,61,0.14);
  --ambient-warm-medium: rgba(255,90,61,0.20);
  --ambient-purple-soft: rgba(196,60,255,0.12);
  --ambient-purple-medium: rgba(196,60,255,0.14);
  --ambient-purple-strong: rgba(196,60,255,0.30);

  --theme-swatch-default: #3B3C3D;
  --theme-swatch-blue: #1a2c44;
  --theme-swatch-purple: #3a1f46;
  --theme-swatch-red: #541010;
  --theme-swatch-green: #185433;

  --spotify-light: #27d968;
  --spotify-dark: #159d47;
  --apple-music-light: #ff4055;
  --apple-music-dark: #c81c2e;
  --amazon-music-light: #1cc2ff;
  --amazon-music-dark: #0086b8;
  --tidal-light: #555555;
  --tidal-dark: #1f1f1f;
  --youtube-music-light: #ff2e2e;
  --youtube-music-dark: #c40000;
  --soundcloud-light: #ff7a1f;
  --soundcloud-dark: #d64500;
  --bandcamp-light: #7fb6c6;
  --bandcamp-dark: #4c7f8d;
}


/* ======================================================
PLUVI THEME — BURGUNDY
Deep red / velvet / cinematic
====================================================== */

body.pluvi-theme-burgundy {
  --background: #241015;

  --white: #FFF0DF;
  --black: #0D0708;
  --darkest-black: #080405;
  --light-black: #351820;
  --lighter-black: #4B202A;
  --lightest-black: #74313D;

  --gray: rgba(255,240,223,0.72);
  --disable: rgba(255,240,223,0.42);
  --text-area: rgba(255,240,223,0.10);

  --warning: #B85252;
  --helper: #C98C9C;
  --custom-link: rgba(255,240,223,0.22);

  --text-muted: rgba(255,240,223,0.48);
  --text-medium: rgba(255,240,223,0.68);
  --text-strong: rgba(255,240,223,0.86);
  --text-bright: rgba(255,240,223,0.96);

  --white-04: rgba(255,240,223,0.04);
  --white-08: rgba(255,240,223,0.08);
  --white-12: rgba(255,240,223,0.12);
  --white-20: rgba(255,240,223,0.20);
  --white-35: rgba(255,240,223,0.35);
  --white-60: rgba(255,240,223,0.60);
  --white-72: rgba(255,240,223,0.72);
  --white-90: rgba(255,240,223,0.90);
  --white-95: rgba(255,240,223,0.95);

  --border-subtle: var(--white-08);
  --border-soft: var(--white-12);
  --border-medium: var(--white-20);

  --surface-soft: rgba(255,240,223,0.055);
  --surface-medium: rgba(255,240,223,0.085);
  --surface-strong: rgba(255,240,223,0.13);

  --black-08: rgba(8,4,5,0.08);
  --black-18: rgba(8,4,5,0.18);
  --black-25: rgba(8,4,5,0.25);
  --black-35: rgba(8,4,5,0.35);
  --black-45: rgba(8,4,5,0.45);
  --black-60: rgba(8,4,5,0.60);
  --black-65: rgba(8,4,5,0.65);
  --black-80: rgba(8,4,5,0.80);

  --overlay-soft: rgba(8,4,5,0.28);
  --overlay-medium: rgba(8,4,5,0.42);
  --overlay-strong: rgba(8,4,5,0.56);
  --overlay-extra-strong: rgba(8,4,5,0.72);

  --glass-soft: rgba(36,16,21,0.54);
  --glass-medium: rgba(36,16,21,0.68);
  --glass-strong: rgba(28,12,16,0.82);
  --glass-modal: rgba(25,10,14,0.90);
  --glass-notice: rgba(25,10,14,0.94);
  --glass-menu: rgba(35,15,20,0.76);

  --divider: var(--border-subtle);
  --text-white: var(--white);
  --opacity-white: var(--border-medium);
  --opacity-white-text: var(--text-medium);
  --white-text-form-header: var(--text-strong);
  --opacity-white-text-brighter: var(--text-bright);
  --subtle-white: var(--surface-medium);
  --inside-divider: var(--border-subtle);

  --surface: #351820;

  --surface-gradient:
    linear-gradient(
      145deg,
      #4B202A 0%,
      #351820 48%,
      #241015 100%
    );

  --surface-gradient-soft:
    radial-gradient(
      700px 420px at 8% 0%,
      rgba(202,67,79,0.20),
      transparent 54%
    ),
    radial-gradient(
      620px 420px at 100% 100%,
      rgba(255,177,128,0.10),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      #4A202A 0%,
      #351820 55%,
      #241015 100%
    );

  --input-surface-gradient:
    linear-gradient(
      145deg,
      rgba(255,240,223,0.09) 0%,
      rgba(255,240,223,0.04) 100%
    );

  --surface-tactile:
    radial-gradient(
      520px 280px at 8% 0%,
      rgba(202,67,79,0.22),
      transparent 48%
    ),
    radial-gradient(
      420px 260px at 100% 12%,
      rgba(255,177,128,0.10),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #542330 0%,
      #3A1922 48%,
      #251016 100%
    );

  --surface-tactile-inset:
    radial-gradient(
      420px 220px at 14% 0%,
      rgba(255,240,223,0.13),
      transparent 46%
    ),
    linear-gradient(
      145deg,
      #4A202A 0%,
      #381820 55%,
      #2A1218 100%
    );

  --surface-tactile-border:
    linear-gradient(
      145deg,
      rgba(255,240,223,0.24) 0%,
      rgba(255,240,223,0.08) 34%,
      rgba(255,240,223,0.03) 58%,
      rgba(202,67,79,0.22) 100%
    );

  --surface-tactile-shadow:
    0 14px 24px rgba(8,4,5,0.16),
    0 4px 9px rgba(8,4,5,0.12),
    inset 0 1px 1px rgba(255,240,223,0.12),
    inset 0 0 0 1px rgba(255,240,223,0.055),
    inset 0 -1px 1px rgba(0,0,0,0.20);

  --shadow-soft: 0 4px 14px rgba(8,4,5,0.18);
  --shadow-floating: 0 4px 20px rgba(8,4,5,0.22);
  --shadow-modal: 0 14px 42px rgba(8,4,5,0.30);
  --shadow-heavy: 0 20px 60px rgba(8,4,5,0.38);

  --shadow-hero:
    0 4px 14px rgba(8,4,5,0.26),
    inset 0 1px 1px rgba(255,240,223,0.10);

  --shadow-button-deep:
    0 15px 30px rgba(8,4,5,0.30),
    0 6px 10px rgba(8,4,5,0.18),
    inset 0 1px 1px rgba(255,240,223,0.12);

  --inset-soft: inset 0 1px 1px rgba(255,240,223,0.12);
  --inset-border-soft: inset 0 0 0 1px rgba(255,240,223,0.055);
  --inset-dark-bottom: inset 0 -1px 1px rgba(0,0,0,0.20);

  --field-bg: rgba(255,240,223,0.07);
  --field-bg-hover: rgba(255,240,223,0.10);
  --field-bg-active: rgba(255,240,223,0.13);
  --field-border: rgba(255,240,223,0.07);

  --empty-text: var(--text-muted);
  --empty-bg: rgba(255,240,223,0.07);
  --placeholder-bg: rgba(255,240,223,0.11);
  --media-overlay-bg: rgba(20,8,11,0.48);

  --muted-footer-text: rgba(255,240,223,0.38);
  --soft-icon-stroke: rgba(255,240,223,0.76);

  --hero-fade-transparent: rgba(36,16,21,0);
  --hero-fade-soft: rgba(36,16,21,0.34);
  --hero-fade-strong: rgba(36,16,21,0.82);
  --hero-fade-solid: rgba(36,16,21,1);

  --ambient-warm-soft: rgba(202,67,79,0.18);
  --ambient-warm-medium: rgba(202,67,79,0.24);
  --ambient-purple-soft: rgba(255,177,128,0.12);
  --ambient-purple-medium: rgba(255,177,128,0.16);
  --ambient-purple-strong: rgba(202,67,79,0.30);

  --theme-accent: #CA434F;
  --theme-accent-2: #FFB180;
}


/* ======================================================
PLUVI THEME — GARDEN
Moss green base with pond / olive / petrol tones
====================================================== */

body.pluvi-theme-garden {
  --background: #23361A;

  --white: #F7F3D9;
  --black: #081007;
  --darkest-black: #050A04;
  --light-black: #2E4522;
  --lighter-black: #395527;
  --lightest-black: #4F7137;

  --gray: rgba(247,243,217,0.72);
  --disable: rgba(247,243,217,0.42);
  --text-area: rgba(247,243,217,0.10);

  --warning: #B85252;
  --helper: #516F7A;
  --custom-link: rgba(247,243,217,0.22);

  --text-muted: rgba(247,243,217,0.48);
  --text-medium: rgba(247,243,217,0.68);
  --text-strong: rgba(247,243,217,0.84);
  --text-bright: rgba(247,243,217,0.96);

  --white-04: rgba(247,243,217,0.04);
  --white-08: rgba(247,243,217,0.08);
  --white-12: rgba(247,243,217,0.12);
  --white-20: rgba(247,243,217,0.20);
  --white-35: rgba(247,243,217,0.35);
  --white-60: rgba(247,243,217,0.60);
  --white-72: rgba(247,243,217,0.72);
  --white-90: rgba(247,243,217,0.90);
  --white-95: rgba(247,243,217,0.95);

  --border-subtle: var(--white-08);
  --border-soft: var(--white-12);
  --border-medium: var(--white-20);

  --surface-soft: rgba(247,243,217,0.055);
  --surface-medium: rgba(247,243,217,0.085);
  --surface-strong: rgba(247,243,217,0.13);

  --black-08: rgba(8,14,7,0.08);
  --black-18: rgba(8,14,7,0.18);
  --black-25: rgba(8,14,7,0.25);
  --black-35: rgba(8,14,7,0.35);
  --black-45: rgba(8,14,7,0.45);
  --black-60: rgba(8,14,7,0.60);
  --black-65: rgba(8,14,7,0.65);
  --black-80: rgba(8,14,7,0.80);

  --overlay-soft: rgba(8,14,7,0.28);
  --overlay-medium: rgba(8,14,7,0.42);
  --overlay-strong: rgba(8,14,7,0.56);
  --overlay-extra-strong: rgba(8,14,7,0.70);

  --glass-soft: rgba(26,41,19,0.54);
  --glass-medium: rgba(26,41,19,0.68);
  --glass-strong: rgba(26,41,19,0.82);
  --glass-modal: rgba(26,41,19,0.90);
  --glass-notice: rgba(26,41,19,0.94);
  --glass-menu: rgba(26,41,19,0.76);

  --surface: #2E4522;

  --surface-gradient:
    linear-gradient(
      145deg,
      #395527 0%,
      #2C431F 48%,
      #23361A 100%
    );

  --surface-gradient-soft:
    radial-gradient(
      700px 420px at 8% 0%,
      rgba(162,180,71,0.18),
      transparent 54%
    ),
    radial-gradient(
      620px 420px at 100% 100%,
      rgba(81,111,122,0.16),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      #3A5728 0%,
      #2D4320 55%,
      #23361A 100%
    );

  --input-surface-gradient:
    linear-gradient(
      145deg,
      rgba(247,243,217,0.09) 0%,
      rgba(247,243,217,0.04) 100%
    );

  --surface-tactile:
    radial-gradient(
      520px 280px at 8% 0%,
      rgba(162,180,71,0.18),
      transparent 48%
    ),
    radial-gradient(
      420px 260px at 100% 12%,
      rgba(81,111,122,0.14),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #385426 0%,
      #2C421F 48%,
      #213219 100%
    );

  --surface-tactile-inset:
    radial-gradient(
      420px 220px at 14% 0%,
      rgba(247,243,217,0.14),
      transparent 46%
    ),
    linear-gradient(
      145deg,
      #334D24 0%,
      #29401D 55%,
      #22361A 100%
    );

  --surface-tactile-border:
    linear-gradient(
      145deg,
      rgba(247,243,217,0.24) 0%,
      rgba(247,243,217,0.08) 34%,
      rgba(247,243,217,0.03) 58%,
      rgba(81,111,122,0.22) 100%
    );

  --surface-tactile-shadow:
    0 14px 24px rgba(8,14,7,0.15),
    0 4px 9px rgba(8,14,7,0.11),
    inset 0 1px 1px rgba(247,243,217,0.14),
    inset 0 0 0 1px rgba(247,243,217,0.06),
    inset 0 -1px 1px rgba(0,0,0,0.20);

  --shadow-soft: 0 4px 14px rgba(8,14,7,0.18);
  --shadow-floating: 0 4px 20px rgba(8,14,7,0.22);
  --shadow-modal: 0 14px 42px rgba(8,14,7,0.30);
  --shadow-heavy: 0 20px 60px rgba(8,14,7,0.36);

  --shadow-hero:
    0 4px 14px rgba(8,14,7,0.26),
    inset 0 1px 1px rgba(247,243,217,0.10);

  --shadow-button-deep:
    0 15px 30px rgba(8,14,7,0.30),
    0 6px 10px rgba(8,14,7,0.18),
    inset 0 1px 1px rgba(247,243,217,0.12);

  --inset-soft: inset 0 1px 1px rgba(247,243,217,0.12);
  --inset-border-soft: inset 0 0 0 1px rgba(247,243,217,0.055);
  --inset-dark-bottom: inset 0 -1px 1px rgba(0,0,0,0.20);

  --field-bg: rgba(247,243,217,0.07);
  --field-bg-hover: rgba(247,243,217,0.10);
  --field-bg-active: rgba(247,243,217,0.13);
  --field-border: rgba(247,243,217,0.07);

  --empty-text: var(--text-muted);
  --empty-bg: rgba(247,243,217,0.07);
  --placeholder-bg: rgba(247,243,217,0.11);
  --media-overlay-bg: rgba(14,24,11,0.46);

  --muted-footer-text: rgba(247,243,217,0.38);
  --soft-icon-stroke: rgba(247,243,217,0.76);

  --hero-fade-transparent: rgba(35,54,26,0);
  --hero-fade-soft: rgba(35,54,26,0.34);
  --hero-fade-strong: rgba(35,54,26,0.82);
  --hero-fade-solid: rgba(35,54,26,1);

  --ambient-warm-soft: rgba(162,180,71,0.16);
  --ambient-warm-medium: rgba(162,180,71,0.22);
  --ambient-purple-soft: rgba(81,111,122,0.18);
  --ambient-purple-medium: rgba(81,111,122,0.22);
  --ambient-purple-strong: rgba(81,111,122,0.32);

  --theme-accent: #A2B447;
  --theme-accent-2: #516F7A;
}


/* ======================================================
PLUVI THEME — NOCTURNE
Warm midnight navy with orange / mango / soft aqua
====================================================== */

body.pluvi-theme-nocturne {
  --background: #121936;

  --white: #FFF3E4;
  --black: #070B16;
  --darkest-black: #040711;
  --light-black: #1A2448;
  --lighter-black: #202D5B;
  --lightest-black: #31447A;

  --gray: rgba(255,243,228,0.72);
  --disable: rgba(255,243,228,0.42);
  --text-area: rgba(255,243,228,0.10);

  --warning: #B85252;
  --helper: #AFCFD0;
  --custom-link: rgba(255,243,228,0.22);

  --text-muted: rgba(255,243,228,0.48);
  --text-medium: rgba(255,243,228,0.68);
  --text-strong: rgba(255,243,228,0.84);
  --text-bright: rgba(255,243,228,0.96);

  --white-04: rgba(255,243,228,0.04);
  --white-08: rgba(255,243,228,0.08);
  --white-12: rgba(255,243,228,0.12);
  --white-20: rgba(255,243,228,0.20);
  --white-35: rgba(255,243,228,0.35);
  --white-60: rgba(255,243,228,0.60);
  --white-72: rgba(255,243,228,0.72);
  --white-90: rgba(255,243,228,0.90);
  --white-95: rgba(255,243,228,0.95);

  --border-subtle: var(--white-08);
  --border-soft: var(--white-12);
  --border-medium: var(--white-20);

  --surface-soft: rgba(255,243,228,0.055);
  --surface-medium: rgba(255,243,228,0.085);
  --surface-strong: rgba(255,243,228,0.13);

  --black-08: rgba(5,8,20,0.08);
  --black-18: rgba(5,8,20,0.18);
  --black-25: rgba(5,8,20,0.25);
  --black-35: rgba(5,8,20,0.35);
  --black-45: rgba(5,8,20,0.45);
  --black-60: rgba(5,8,20,0.60);
  --black-65: rgba(5,8,20,0.65);
  --black-80: rgba(5,8,20,0.80);

  --overlay-soft: rgba(5,8,20,0.28);
  --overlay-medium: rgba(5,8,20,0.42);
  --overlay-strong: rgba(5,8,20,0.56);
  --overlay-extra-strong: rgba(5,8,20,0.70);

  --glass-soft: rgba(16,23,49,0.54);
  --glass-medium: rgba(16,23,49,0.68);
  --glass-strong: rgba(16,23,49,0.82);
  --glass-modal: rgba(12,18,39,0.90);
  --glass-notice: rgba(12,18,39,0.94);
  --glass-menu: rgba(16,23,49,0.76);

  --surface: #1A2448;

  --surface-gradient:
    linear-gradient(
      145deg,
      #202D5B 0%,
      #192347 48%,
      #121936 100%
    );

  --surface-gradient-soft:
    radial-gradient(
      700px 420px at 8% 0%,
      rgba(226,91,43,0.18),
      transparent 54%
    ),
    radial-gradient(
      620px 420px at 100% 100%,
      rgba(155,202,204,0.10),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      #253261 0%,
      #1B254A 55%,
      #121936 100%
    );

  --input-surface-gradient:
    linear-gradient(
      145deg,
      rgba(255,243,228,0.09) 0%,
      rgba(255,243,228,0.04) 100%
    );

  --surface-tactile:
    radial-gradient(
      520px 280px at 8% 0%,
      rgba(226,91,43,0.16),
      transparent 48%
    ),
    radial-gradient(
      420px 260px at 100% 12%,
      rgba(155,202,204,0.09),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #24315E 0%,
      #1A2448 48%,
      #111833 100%
    );

  --surface-tactile-inset:
    radial-gradient(
      420px 220px at 14% 0%,
      rgba(255,243,228,0.13),
      transparent 46%
    ),
    linear-gradient(
      145deg,
      #212D58 0%,
      #192449 55%,
      #151D3D 100%
    );

  --surface-tactile-border:
    linear-gradient(
      145deg,
      rgba(255,243,228,0.22) 0%,
      rgba(255,243,228,0.075) 34%,
      rgba(255,243,228,0.03) 58%,
      rgba(226,91,43,0.22) 100%
    );

  --surface-tactile-shadow:
    0 14px 24px rgba(5,8,20,0.15),
    0 4px 9px rgba(5,8,20,0.11),
    inset 0 1px 1px rgba(255,243,228,0.13),
    inset 0 0 0 1px rgba(255,243,228,0.055),
    inset 0 -1px 1px rgba(0,0,0,0.20);

  --shadow-soft: 0 4px 14px rgba(5,8,20,0.18);
  --shadow-floating: 0 4px 20px rgba(5,8,20,0.22);
  --shadow-modal: 0 14px 42px rgba(5,8,20,0.30);
  --shadow-heavy: 0 20px 60px rgba(5,8,20,0.36);

  --shadow-hero:
    0 4px 14px rgba(5,8,20,0.26),
    inset 0 1px 1px rgba(255,243,228,0.10);

  --shadow-button-deep:
    0 15px 30px rgba(5,8,20,0.30),
    0 6px 10px rgba(5,8,20,0.18),
    inset 0 1px 1px rgba(255,243,228,0.12);

  --inset-soft: inset 0 1px 1px rgba(255,243,228,0.12);
  --inset-border-soft: inset 0 0 0 1px rgba(255,243,228,0.055);
  --inset-dark-bottom: inset 0 -1px 1px rgba(0,0,0,0.20);

  --field-bg: rgba(255,243,228,0.07);
  --field-bg-hover: rgba(255,243,228,0.10);
  --field-bg-active: rgba(255,243,228,0.13);
  --field-border: rgba(255,243,228,0.07);

  --empty-text: var(--text-muted);
  --empty-bg: rgba(255,243,228,0.07);
  --placeholder-bg: rgba(255,243,228,0.11);
  --media-overlay-bg: rgba(8,13,31,0.46);

  --muted-footer-text: rgba(255,243,228,0.38);
  --soft-icon-stroke: rgba(255,243,228,0.76);

  --hero-fade-transparent: rgba(18,25,54,0);
  --hero-fade-soft: rgba(18,25,54,0.34);
  --hero-fade-strong: rgba(18,25,54,0.82);
  --hero-fade-solid: rgba(18,25,54,1);

  --ambient-warm-soft: rgba(226,91,43,0.17);
  --ambient-warm-medium: rgba(226,91,43,0.23);
  --ambient-purple-soft: rgba(32,45,91,0.14);
  --ambient-purple-medium: rgba(32,45,91,0.18);
  --ambient-purple-strong: rgba(32,45,91,0.26);

  --theme-accent: #E25B2B;
  --theme-accent-2: #F18A1E;
}


/* ======================================================
PLUVI THEME — PURPLE
Warm dark purple / plum / artist lounge
====================================================== */

body.pluvi-theme-purple {
  --background: #201629;

  --white: #FFF1E8;
  --black: #0D0712;
  --darkest-black: #08040B;
  --light-black: #30203D;
  --lighter-black: #432B55;
  --lightest-black: #654078;

  --gray: rgba(255,241,232,0.72);
  --disable: rgba(255,241,232,0.42);
  --text-area: rgba(255,241,232,0.10);

  --warning: #B85252;
  --helper: #B79ADB;
  --custom-link: rgba(255,241,232,0.22);

  --text-muted: rgba(255,241,232,0.48);
  --text-medium: rgba(255,241,232,0.68);
  --text-strong: rgba(255,241,232,0.86);
  --text-bright: rgba(255,241,232,0.96);

  --white-04: rgba(255,241,232,0.04);
  --white-08: rgba(255,241,232,0.08);
  --white-12: rgba(255,241,232,0.12);
  --white-20: rgba(255,241,232,0.20);
  --white-35: rgba(255,241,232,0.35);
  --white-60: rgba(255,241,232,0.60);
  --white-72: rgba(255,241,232,0.72);
  --white-90: rgba(255,241,232,0.90);
  --white-95: rgba(255,241,232,0.95);

  --border-subtle: var(--white-08);
  --border-soft: var(--white-12);
  --border-medium: var(--white-20);

  --surface-soft: rgba(255,241,232,0.055);
  --surface-medium: rgba(255,241,232,0.085);
  --surface-strong: rgba(255,241,232,0.13);

  --black-08: rgba(13,7,18,0.08);
  --black-18: rgba(13,7,18,0.18);
  --black-25: rgba(13,7,18,0.25);
  --black-35: rgba(13,7,18,0.35);
  --black-45: rgba(13,7,18,0.45);
  --black-60: rgba(13,7,18,0.60);
  --black-65: rgba(13,7,18,0.65);
  --black-80: rgba(13,7,18,0.80);

  --overlay-soft: rgba(13,7,18,0.28);
  --overlay-medium: rgba(13,7,18,0.42);
  --overlay-strong: rgba(13,7,18,0.56);
  --overlay-extra-strong: rgba(13,7,18,0.72);

  --glass-soft: rgba(32,22,41,0.54);
  --glass-medium: rgba(32,22,41,0.68);
  --glass-strong: rgba(27,18,35,0.82);
  --glass-modal: rgba(24,16,31,0.90);
  --glass-notice: rgba(24,16,31,0.94);
  --glass-menu: rgba(36,24,46,0.76);

  --divider: var(--border-subtle);
  --text-white: var(--white);
  --opacity-white: var(--border-medium);
  --opacity-white-text: var(--text-medium);
  --white-text-form-header: var(--text-strong);
  --opacity-white-text-brighter: var(--text-bright);
  --subtle-white: var(--surface-medium);
  --inside-divider: var(--border-subtle);

  --surface: #30203D;

  --surface-gradient:
    linear-gradient(
      145deg,
      #432B55 0%,
      #30203D 48%,
      #201629 100%
    );

  --surface-gradient-soft:
    radial-gradient(
      700px 420px at 8% 0%,
      rgba(183,93,151,0.20),
      transparent 54%
    ),
    radial-gradient(
      620px 420px at 100% 100%,
      rgba(167,128,220,0.16),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      #442C57 0%,
      #30203D 55%,
      #201629 100%
    );

  --input-surface-gradient:
    linear-gradient(
      145deg,
      rgba(255,241,232,0.09) 0%,
      rgba(255,241,232,0.04) 100%
    );

  --surface-tactile:
    radial-gradient(
      520px 280px at 8% 0%,
      rgba(183,93,151,0.20),
      transparent 48%
    ),
    radial-gradient(
      420px 260px at 100% 12%,
      rgba(167,128,220,0.16),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #4A305D 0%,
      #342244 48%,
      #21162B 100%
    );

  --surface-tactile-inset:
    radial-gradient(
      420px 220px at 14% 0%,
      rgba(255,241,232,0.13),
      transparent 46%
    ),
    linear-gradient(
      145deg,
      #422B53 0%,
      #332140 55%,
      #271933 100%
    );

  --surface-tactile-border:
    linear-gradient(
      145deg,
      rgba(255,241,232,0.24) 0%,
      rgba(255,241,232,0.08) 34%,
      rgba(255,241,232,0.03) 58%,
      rgba(183,93,151,0.24) 100%
    );

  --surface-tactile-shadow:
    0 14px 24px rgba(13,7,18,0.16),
    0 4px 9px rgba(13,7,18,0.12),
    inset 0 1px 1px rgba(255,241,232,0.12),
    inset 0 0 0 1px rgba(255,241,232,0.055),
    inset 0 -1px 1px rgba(0,0,0,0.20);

  --shadow-soft: 0 4px 14px rgba(13,7,18,0.18);
  --shadow-floating: 0 4px 20px rgba(13,7,18,0.22);
  --shadow-modal: 0 14px 42px rgba(13,7,18,0.30);
  --shadow-heavy: 0 20px 60px rgba(13,7,18,0.38);

  --shadow-hero:
    0 4px 14px rgba(13,7,18,0.26),
    inset 0 1px 1px rgba(255,241,232,0.10);

  --shadow-button-deep:
    0 15px 30px rgba(13,7,18,0.30),
    0 6px 10px rgba(13,7,18,0.18),
    inset 0 1px 1px rgba(255,241,232,0.12);

  --inset-soft: inset 0 1px 1px rgba(255,241,232,0.12);
  --inset-border-soft: inset 0 0 0 1px rgba(255,241,232,0.055);
  --inset-dark-bottom: inset 0 -1px 1px rgba(0,0,0,0.20);

  --field-bg: rgba(255,241,232,0.07);
  --field-bg-hover: rgba(255,241,232,0.10);
  --field-bg-active: rgba(255,241,232,0.13);
  --field-border: rgba(255,241,232,0.07);

  --empty-text: var(--text-muted);
  --empty-bg: rgba(255,241,232,0.07);
  --placeholder-bg: rgba(255,241,232,0.11);
  --media-overlay-bg: rgba(18,10,24,0.48);

  --muted-footer-text: rgba(255,241,232,0.38);
  --soft-icon-stroke: rgba(255,241,232,0.76);

  --hero-fade-transparent: rgba(32,22,41,0);
  --hero-fade-soft: rgba(32,22,41,0.34);
  --hero-fade-strong: rgba(32,22,41,0.82);
  --hero-fade-solid: rgba(32,22,41,1);

  --ambient-warm-soft: rgba(183,93,151,0.18);
  --ambient-warm-medium: rgba(183,93,151,0.24);
  --ambient-purple-soft: rgba(167,128,220,0.16);
  --ambient-purple-medium: rgba(167,128,220,0.22);
  --ambient-purple-strong: rgba(167,128,220,0.32);

  --theme-accent: #B75D97;
  --theme-accent-2: #A780DC;
}

/* ======================================================
PLUVI THEME — ROSE
Dark raspberry / vivid pink / glossy editorial
====================================================== */

html.pluvi-theme-rose,
body.pluvi-theme-rose {
  --background: #2B0D22;

  --white: #FFF1F8;
  --black: #12040C;
  --darkest-black: #080207;
  --light-black: #3D1231;
  --lighter-black: #681D50;
  --lightest-black: #A63778;

  --gray: rgba(255,241,248,0.72);
  --disable: rgba(255,241,248,0.42);
  --text-area: rgba(255,241,248,0.10);

  --warning: #B85252;
  --helper: #FF9DCA;
  --custom-link: rgba(255,241,248,0.24);

  --text-muted: rgba(255,241,248,0.50);
  --text-medium: rgba(255,241,248,0.70);
  --text-strong: rgba(255,241,248,0.88);
  --text-bright: rgba(255,241,248,0.97);

  --white-04: rgba(255,241,248,0.04);
  --white-08: rgba(255,241,248,0.08);
  --white-12: rgba(255,241,248,0.12);
  --white-20: rgba(255,241,248,0.20);
  --white-35: rgba(255,241,248,0.35);
  --white-60: rgba(255,241,248,0.60);
  --white-72: rgba(255,241,248,0.72);
  --white-90: rgba(255,241,248,0.90);
  --white-95: rgba(255,241,248,0.95);

  --border-subtle: var(--white-08);
  --border-soft: var(--white-12);
  --border-medium: var(--white-20);

  --surface-soft: rgba(255,241,248,0.06);
  --surface-medium: rgba(255,241,248,0.095);
  --surface-strong: rgba(255,241,248,0.14);

  --black-08: rgba(18,4,12,0.08);
  --black-18: rgba(18,4,12,0.18);
  --black-25: rgba(18,4,12,0.25);
  --black-35: rgba(18,4,12,0.35);
  --black-45: rgba(18,4,12,0.45);
  --black-60: rgba(18,4,12,0.60);
  --black-65: rgba(18,4,12,0.65);
  --black-80: rgba(18,4,12,0.80);

  --overlay-soft: rgba(18,4,12,0.28);
  --overlay-medium: rgba(18,4,12,0.42);
  --overlay-strong: rgba(18,4,12,0.56);
  --overlay-extra-strong: rgba(18,4,12,0.72);

  --glass-soft: rgba(43,13,34,0.56);
  --glass-medium: rgba(43,13,34,0.70);
  --glass-strong: rgba(35,9,27,0.84);
  --glass-modal: rgba(31,8,24,0.91);
  --glass-notice: rgba(31,8,24,0.95);
  --glass-menu: rgba(49,14,38,0.78);

  --divider: var(--border-subtle);
  --text-white: var(--white);
  --opacity-white: var(--border-medium);
  --opacity-white-text: var(--text-medium);
  --white-text-form-header: var(--text-strong);
  --opacity-white-text-brighter: var(--text-bright);
  --subtle-white: var(--surface-medium);
  --inside-divider: var(--border-subtle);

  --surface: #3D1231;

  --surface-gradient:
    linear-gradient(
      145deg,
      #681D50 0%,
      #3D1231 48%,
      #2B0D22 100%
    );

  --surface-gradient-soft:
    radial-gradient(
      700px 420px at 8% 0%,
      rgba(255,77,160,0.30),
      transparent 54%
    ),
    radial-gradient(
      620px 420px at 100% 100%,
      rgba(255,186,220,0.16),
      transparent 58%
    ),
    linear-gradient(
      145deg,
      #6E2054 0%,
      #441434 55%,
      #2B0D22 100%
    );

  --input-surface-gradient:
    linear-gradient(
      145deg,
      rgba(255,241,248,0.10) 0%,
      rgba(255,241,248,0.045) 100%
    );

  --surface-tactile:
    radial-gradient(
      520px 280px at 8% 0%,
      rgba(255,77,160,0.30),
      transparent 48%
    ),
    radial-gradient(
      420px 260px at 100% 12%,
      rgba(255,186,220,0.16),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #742459 0%,
      #491637 48%,
      #2B0D22 100%
    );

  --surface-tactile-inset:
    radial-gradient(
      420px 220px at 14% 0%,
      rgba(255,241,248,0.15),
      transparent 46%
    ),
    linear-gradient(
      145deg,
      #681F50 0%,
      #481536 55%,
      #341027 100%
    );

  --surface-tactile-border:
    linear-gradient(
      145deg,
      rgba(255,241,248,0.26) 0%,
      rgba(255,241,248,0.085) 34%,
      rgba(255,241,248,0.035) 58%,
      rgba(255,77,160,0.34) 100%
    );

  --surface-tactile-shadow:
    0 14px 24px rgba(18,4,12,0.16),
    0 4px 9px rgba(18,4,12,0.12),
    inset 0 1px 1px rgba(255,241,248,0.13),
    inset 0 0 0 1px rgba(255,241,248,0.06),
    inset 0 -1px 1px rgba(0,0,0,0.20);

  --shadow-soft: 0 4px 14px rgba(18,4,12,0.18);
  --shadow-floating: 0 4px 20px rgba(18,4,12,0.22);
  --shadow-modal: 0 14px 42px rgba(18,4,12,0.30);
  --shadow-heavy: 0 20px 60px rgba(18,4,12,0.38);

  --shadow-hero:
    0 4px 14px rgba(18,4,12,0.26),
    inset 0 1px 1px rgba(255,241,248,0.10);

  --shadow-button-deep:
    0 15px 30px rgba(18,4,12,0.30),
    0 6px 10px rgba(18,4,12,0.18),
    inset 0 1px 1px rgba(255,241,248,0.12);

  --inset-soft: inset 0 1px 1px rgba(255,241,248,0.12);
  --inset-border-soft: inset 0 0 0 1px rgba(255,241,248,0.06);
  --inset-dark-bottom: inset 0 -1px 1px rgba(0,0,0,0.20);

  --field-bg: rgba(255,241,248,0.075);
  --field-bg-hover: rgba(255,241,248,0.11);
  --field-bg-active: rgba(255,241,248,0.15);
  --field-border: rgba(255,241,248,0.075);

  --empty-text: var(--text-muted);
  --empty-bg: rgba(255,241,248,0.075);
  --placeholder-bg: rgba(255,241,248,0.13);
  --media-overlay-bg: rgba(24,6,16,0.48);

  --muted-footer-text: rgba(255,241,248,0.40);
  --soft-icon-stroke: rgba(255,241,248,0.80);

  --hero-fade-transparent: rgba(43,13,34,0);
  --hero-fade-soft: rgba(43,13,34,0.34);
  --hero-fade-strong: rgba(43,13,34,0.82);
  --hero-fade-solid: rgba(43,13,34,1);

  --ambient-warm-soft: rgba(255,77,160,0.22);
  --ambient-warm-medium: rgba(255,77,160,0.30);
  --ambient-purple-soft: rgba(255,186,220,0.16);
  --ambient-purple-medium: rgba(255,186,220,0.23);
  --ambient-purple-strong: rgba(255,77,160,0.36);

  --theme-accent: #FF4DA0;
  --theme-accent-2: #FFBADB;
}


/* ======================================================
THEME PREVIEWS
====================================================== */

.pluvi-theme-preview-burgundy {
  background:
    radial-gradient(
      42px 34px at 85% 12%,
      rgba(255,177,128,0.22),
      transparent 70%
    ),
    radial-gradient(
      54px 42px at 14% 84%,
      rgba(202,67,79,0.26),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      #4B202A 0%,
      #351820 50%,
      #241015 100%
    );
}

.pluvi-theme-preview-burgundy span:first-child {
  background: rgba(255,240,223,0.92);
}

.pluvi-theme-preview-burgundy span:last-child {
  background: rgba(202,67,79,0.48);
}


.pluvi-theme-preview-garden {
  background:
    radial-gradient(
      42px 34px at 85% 12%,
      rgba(81,111,122,0.28),
      transparent 70%
    ),
    radial-gradient(
      54px 42px at 14% 84%,
      rgba(162,180,71,0.24),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      #395527 0%,
      #2D4320 52%,
      #23361A 100%
    );
}

.pluvi-theme-preview-garden span:first-child {
  background: rgba(239,244,189,0.90);
}

.pluvi-theme-preview-garden span:last-child {
  background: rgba(162,180,71,0.52);
}


.pluvi-theme-preview-nocturne {
  background:
    radial-gradient(
      42px 34px at 85% 12%,
      rgba(196,231,229,0.26),
      transparent 70%
    ),
    radial-gradient(
      54px 42px at 14% 84%,
      rgba(76,110,229,0.22),
      transparent 72%
    ),
    radial-gradient(
      46px 36px at 74% 80%,
      rgba(243,107,46,0.16),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      #253C96 0%,
      #213374 50%,
      #19244E 100%
    );
}

.pluvi-theme-preview-nocturne span:first-child {
  background: rgba(255,248,236,0.92);
}

.pluvi-theme-preview-nocturne span:last-child {
  background: rgba(196,231,229,0.62);
}


.pluvi-theme-preview-purple {
  background:
    radial-gradient(
      42px 34px at 85% 12%,
      rgba(167,128,220,0.26),
      transparent 70%
    ),
    radial-gradient(
      54px 42px at 14% 84%,
      rgba(183,93,151,0.24),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      #432B55 0%,
      #30203D 50%,
      #201629 100%
    );
}

.pluvi-theme-preview-purple span:first-child {
  background: rgba(255,241,232,0.92);
}

.pluvi-theme-preview-purple span:last-child {
  background: rgba(183,93,151,0.44);
}

.pluvi-theme-preview-rose {
  background:
    radial-gradient(
      42px 34px at 85% 12%,
      rgba(255,186,220,0.42),
      transparent 70%
    ),
    radial-gradient(
      54px 42px at 14% 84%,
      rgba(255,77,160,0.38),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      #681D50 0%,
      #3D1231 50%,
      #2B0D22 100%
    );
}

.pluvi-theme-preview-rose span:first-child {
  background: rgba(255,241,248,0.94);
}

.pluvi-theme-preview-rose span:last-child {
  background: rgba(255,77,160,0.68);
}

/* ======================================================
ACCOUNT DRAWER — THEME PICKER
====================================================== */

/* Safety: the old fixed page toggle should no longer appear. */
.pluvi-theme-toggle {
  display: none !important;
}

.account-theme-container {
  overflow: hidden;
}

.pluvi-theme-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;

  margin-top: 18px;

  max-height: 224px;
  overflow-y: auto;
  overscroll-behavior: contain;

  margin-top: 14px;

  -webkit-overflow-scrolling: touch;
}

.pluvi-theme-choice {
  position: relative;

  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 13px;

  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);

  cursor: pointer;
  user-select: none;

  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.pluvi-theme-choice:active {
  transform: scale(0.985);
}

.pluvi-theme-choice.is-active {
  background: var(--surface-medium);
  border-color: var(--border-medium);

  box-shadow:
    inset 0 1px 1px var(--white-08),
    0 8px 18px var(--black-18);
}

.pluvi-theme-preview {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;

  border-radius: 17px;
  border: 1px solid var(--border-soft);

  position: relative;
  overflow: hidden;

  box-shadow:
    inset 0 1px 1px var(--white-08),
    0 8px 16px var(--black-18);
}

.pluvi-theme-preview span:first-child {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 9px;

  border-radius: 999px;
  opacity: 0.9;
}

.pluvi-theme-preview span:last-child {
  position: absolute;
  left: 8px;
  right: 18px;
  bottom: 10px;
  height: 24px;

  border-radius: 10px;
  opacity: 0.72;
}

.pluvi-theme-preview-dark {
  background:
    radial-gradient(
      42px 34px at 85% 10%,
      var(--ambient-purple-soft),
      transparent 70%
    ),
    linear-gradient(
      145deg,
      #202324 0%,
      #151718 100%
    );
}

.pluvi-theme-preview-dark span:first-child {
  background: rgba(255,255,255,0.82);
}

.pluvi-theme-preview-dark span:last-child {
  background: rgba(255,255,255,0.12);
}

.pluvi-theme-choice-copy {
  min-width: 0;
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pluvi-theme-choice-title {
  color: var(--text-bright);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.15;
}

.pluvi-theme-choice-subtitle {
  color: var(--text-medium);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.25;
}

.pluvi-theme-choice-check {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--background);
  background: var(--white);

  font-size: 0;
  font-weight: 800;
  line-height: 1;

  opacity: 0;
  transform: scale(0.88);

  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.pluvi-theme-choice-check::before {
  content: "";
  width: 11px;
  height: 6px;

  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;

  transform: rotate(-45deg) translate(1px, -1px);
  border-radius: 1px;
}

.pluvi-theme-choice.is-active .pluvi-theme-choice-check {
  opacity: 1;
  transform: scale(1);
}




#reset-storage {
  position: absolute;
  top: 23px;
  right: 40px;
  z-index: 2000;
  border: none;
  background: none;
  color: var(--white);
  opacity: 0.01;
}

.readonly-artist {
  flex: 1;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  padding: 0;
  text-align: left;
  background: transparent;
}

.edit-artist-link-container {
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: 8px; /* optional spacing */
}

.edit-artist-link-container a {
  white-space: nowrap;
  font-size: 13px;
  color: var(--text-medium);
}


/* ======================================================
ACCOUNT DRAWER — ARTIST FONT PICKER
====================================================== */

.account-artist-font-container {
  overflow: hidden;
}

.artist-font-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;

  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;

  margin-top: 14px;
  padding-right: 2px;

  -webkit-overflow-scrolling: touch;
}

.artist-font-picker::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.artist-font-choice {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 15px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;

  background: var(--surface-soft);
  color: var(--white);

  text-align: left;
  cursor: pointer;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.artist-font-choice:active {
  transform: scale(0.985);
}

.artist-font-choice.is-selected {
  background: var(--surface-medium);
  border-color: var(--border-medium);

  box-shadow:
    inset 0 1px 1px var(--white-08),
    0 8px 18px var(--black-18);
}

.artist-font-choice-main {
  min-width: 0;
  flex: 1;
}

.artist-font-choice-preview {
  display: block;
  width: 100%;
  max-width: 100%;

  color: var(--text-bright);
  font-size: clamp(22px, 6vw, 31px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.035em;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-font-choice-label {
  display: block;
  margin-top: 7px;

  color: var(--text-muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-font-choice-check {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--background);
  background: var(--white);

  font-size: 0;
  font-weight: 800;
  line-height: 1;

  opacity: 0;
  transform: scale(0.88);

  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.artist-font-choice-check::before {
  content: "";
  width: 11px;
  height: 6px;

  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;

  transform: rotate(-45deg) translate(1px, -1px);
  border-radius: 1px;
}

.artist-font-choice.is-selected .artist-font-choice-check {
  opacity: 1;
  transform: scale(1);
}


/*****************
******************
BUTTONS
******************
*****************/
.main-button {
  flex: 1;
  padding: 13px;
  border-radius: 14px;
  background: var(--surface-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  gap: 8px;
}

.main-button-secondary {
  flex: 1;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 13px;
  font-size: 16px;
  color: var(--border-medium);
  background: transparent;
  text-align: center;
  text-decoration: none;
}

/*****************
******************
GENERAL
******************
*****************/
/* ======================================================
GLOBAL LAYOUT — CAPACITOR SAFE
====================================================== */

html,
body {
  overscroll-behavior: none;
  overflow-x: hidden;

  height: 100%;
  min-height: 100dvh;

  padding-top: 0;
  padding-bottom: 0;
}

/* Prevent nested page/modal rubber-band scrolling */
.builder-modal,
.builder-modal-body,
#page-edit-mode,
#page-view-mode,
.music-page,
.shows-page {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: auto;
}

/* ======================================================
CAPACITOR / NATIVE APP SAFE AREA FIXES
====================================================== */

html.pluvi-native-app,
body.pluvi-native-app {
  min-height: 100dvh;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Header clears the native status bar / notch.
   index-top-header and top-header have different base padding,
   so they need separate native offsets. */
body.pluvi-native-app .index-top-header {
  box-sizing: border-box !important;
  padding: calc(env(safe-area-inset-top) + 16px) 0 0 0 !important;
}

body.pluvi-native-app .top-header {
  box-sizing: border-box !important;

  /* Preserve the normal top-header rhythm:
     original .top-header is 27px top + 27px bottom.
     Native only adds the safe area to the top. */
  padding: calc(env(safe-area-inset-top) + 27px) 0 27px 0 !important;
}

/* Account drawer header clears native iPhone status area */
body.pluvi-native-app .account-drawer-header {
  box-sizing: border-box !important;
  padding: calc(env(safe-area-inset-top) + 15px) 15px 15px 15px !important;
}

/* Account page container clears native iPhone bottom area */
body.pluvi-native-app .account-page-container {
  box-sizing: border-box !important;
  padding: 15px 15px calc(15px + env(safe-area-inset-bottom)) 15px !important;
}

/* The normal page shareable link bar already sits below the header.
   Keep this generic rule for page-level bars only. Builder-modal gets
   its own stricter rule below. */
body.pluvi-native-app .custom-link-bar {
  padding-top: 12px !important;
}

/* ======================================================
NATIVE APP PAGE PADDING
====================================================== */

/* Pages with index-top-header + custom/share link area */
body.pluvi-native-app .index-page,
body.pluvi-native-app .epk-page {
  padding: calc(env(safe-area-inset-top) + 155px) 15px 163px 15px !important;
}

body.pluvi-native-app .merch-page {
  padding: calc(env(safe-area-inset-top) + 155px) 15px 170px 15px !important;
}

body.pluvi-native-app .merch-page.has-tip-item {
  padding: calc(env(safe-area-inset-top) + 155px) 15px 182px 15px !important;
}

/* Pages with standard top-header */
body.pluvi-native-app .shows-page,
body.pluvi-native-app .music-page {
  padding: calc(env(safe-area-inset-top) + 72px) 15px 170px 15px !important;
}

body.pluvi-native-app .toolkit-page {
  padding: calc(env(safe-area-inset-top) + 72px) 15px 113px 15px !important;
}

body.pluvi-native-app .misc-page,
body.pluvi-native-app .stats-page {
  padding: calc(env(safe-area-inset-top) + 72px) 15px 95px 15px !important;
}

/* ======================================================
NATIVE APP BUILDER MODAL PADDING
====================================================== */

/* Native edit mode:
   The sticky custom-link bar owns the top safe-area / notch spacing.
   Keep builder-modal itself flush so the hidden bar does not poke out. */
body.pluvi-native-app .builder-modal {
  box-sizing: border-box !important;
  padding-top: 0 !important;
}

/* Native builder modal custom-link bar:
   Fill the notch/status area with padding, not margin. */
body.pluvi-native-app .builder-modal .custom-link-bar {
  top: 0 !important;
  margin-top: 0 !important;

  padding-top: calc(env(safe-area-inset-top) + 15px) !important;

  background: color-mix(in srgb, var(--background) 86%, transparent) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* Native: align modal slug hint with safe-area-padded custom link bar */
body.pluvi-native-app[data-page="music"] .builder-modal .custom-link-bar > .slug-hint,
body.pluvi-native-app[data-page="shows"] .builder-modal .custom-link-bar > .slug-hint {
  top: calc(env(safe-area-inset-top) + 87px) !important;
}

/* Hide the whole safe-area-filled custom-link bar */
body.pluvi-native-app .builder-modal .custom-link-bar.is-hidden {
  transform: translateY(calc(-100% - 12px)) !important;
  border-color: transparent !important;
}

/* Native: Music/Shows builder modal gets extra bottom clearance in edit mode */
body.pluvi-native-app[data-page="music"] .builder-modal,
body.pluvi-native-app[data-page="shows"] .builder-modal {
  padding-bottom: calc(125px + env(safe-area-inset-bottom)) !important;
}

/* Native: Music/Shows view mode.
   In view mode, the custom-link bar is hidden and builder modal padding can be reset,
   so #page-view-mode owns both the top notch spacing and bottom rhythm. */
body.pluvi-native-app.view-mode-active[data-page="music"] .builder-modal,
body.pluvi-native-app.view-mode-active[data-page="shows"] .builder-modal {
  padding-top: 0 !important;
  padding-bottom: calc(25px + env(safe-area-inset-bottom)) !important;
}

/* Bottom nav: keep collapsed height truly collapsed.
   Add home-indicator room through padding, not by making the collapsed
   nav tall enough to reveal the second row. */
body.pluvi-native-app .main-bottom-nav {
  box-sizing: border-box !important;

  --nav-collapsed-height: 55px;
  --nav-expanded-height: 128px;

  height: calc(var(--nav-collapsed-height) + env(safe-area-inset-bottom)) !important;
  padding: 12px 11px calc(10px + env(safe-area-inset-bottom)) !important;
}

/* Native expanded state */
body.pluvi-native-app .main-bottom-nav.nav-expanded {
  height: calc(var(--nav-expanded-height) + env(safe-area-inset-bottom)) !important;
}

/* Force bottom row hidden while collapsed.
   This prevents safe-area height from exposing the More row. */
body.pluvi-native-app .main-bottom-nav:not(.nav-expanded) .bottom-nav-bottom-row {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(18px) !important;
  pointer-events: none !important;
  transition: 0.35s;
}

/* Show bottom row only after tapping More */
body.pluvi-native-app .main-bottom-nav.nav-expanded .bottom-nav-bottom-row {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0px) !important;
  pointer-events: auto !important;
  transition: 0.35s;
}

/* Native: lift edit/view pill slightly above the bottom nav */
body.pluvi-native-app[data-page="epk"] .page-mode-toggle,
body.pluvi-native-app[data-page="merch"] .page-mode-toggle,
body.pluvi-native-app[data-page="index"] .page-mode-toggle {
  bottom: calc(68px + env(safe-area-inset-bottom)) !important;
}

/* Native: view-mode toggle raised */
body.pluvi-native-app.view-mode-active[data-page="epk"] .page-mode-toggle,
body.pluvi-native-app.view-mode-active[data-page="merch"] .page-mode-toggle,
body.pluvi-native-app.view-mode-active[data-page="index"] .page-mode-toggle,
body.pluvi-native-app.view-mode-active[data-page="music"] .page-mode-toggle,
body.pluvi-native-app.view-mode-active[data-page="shows"] .page-mode-toggle {
  bottom: 30px !important;
}

/* Native: keep page-mode-toggle above bottom nav when builder modal is open */
body.pluvi-native-app .builder-modal-overlay.builder-modal-open .page-mode-toggle {
  bottom: calc(68px + env(safe-area-inset-bottom)) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Native: in Music/Shows view mode, page toggle should drop down */
body.pluvi-native-app.view-mode-active[data-page="music"] .builder-modal-overlay.builder-modal-open .page-mode-toggle,
body.pluvi-native-app.view-mode-active[data-page="shows"] .builder-modal-overlay.builder-modal-open .page-mode-toggle {
  bottom: 30px !important;
}

/* Native: Index/Profile view mode keeps page-specific rhythm */
body.pluvi-native-app[data-page="index"] #page-view-mode {
  padding-top: calc(env(safe-area-inset-top) + 18px) !important;
  padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
}

/* Native: Music/Shows view mode should not force full modal height.
   These are the important restored top-padding rules. */
body.pluvi-native-app.view-mode-active[data-page="music"] #page-view-mode {
  min-height: auto !important;
  padding-top: calc(env(safe-area-inset-top) + 15px) !important;
  padding-bottom: calc(25px + env(safe-area-inset-bottom)) !important;
}

body.pluvi-native-app.view-mode-active[data-page="shows"] #page-view-mode {
  min-height: auto !important;
  padding-top: calc(env(safe-area-inset-top) + 15px) !important;
  padding-bottom: calc(17px + env(safe-area-inset-bottom)) !important;
}

/* Native: Merch view mode */
body.pluvi-native-app[data-page="merch"] #page-view-mode {
  min-height: auto !important;
  padding-top: calc(env(safe-area-inset-top) + 18px) !important;
  padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
}

/* Native: EPK view mode */
body.pluvi-native-app[data-page="epk"] #page-view-mode {
  padding-top: calc(env(safe-area-inset-top) + 18px) !important;
  padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
}

body.pluvi-native-app .big-circle-add {
  bottom: 100px !important;
}

/* ======================================================
PUBLIC MODE — REMOVE IN-APP BROWSER SAFE AREA TOP GAP
------------------------------------------------------
Instagram/TikTok in-app browsers can report a top safe-area
inset even though public pages should start flush.
====================================================== */

html.public-loading,
html.public-loading body,
body.public-mode {
  padding-top: 0 !important;
}

/* Public pages do not use the private bottom app nav,
   so avoid inherited safe-area body padding there too. */
html.public-loading body,
body.public-mode {
  padding-bottom: 0 !important;
}


/* ======================================================
BODY BASE
====================================================== */

body {
  background-color: var(--background);
  font-family: "Open Sans", sans-serif;
  margin: 0;
  color: var(--white);

/* Hide scrollbar (Firefox / legacy) */
scrollbar-width: none;
-ms-overflow-style: none;
margin: 0 auto;
}

/* ======================================================
SCROLL RESTORE PAINT LOCK
====================================================== */

html.pluvi-restoring-scroll,
body.pluvi-restoring-scroll {
  scroll-behavior: auto !important;
}

body.pluvi-restoring-scroll #page-edit-mode,
body.pluvi-restoring-scroll #page-view-mode,
body.pluvi-restoring-scroll .builder-modal {
  opacity: 0;
  transition: none !important;
}

/* Hide scrollbar (WebKit) */
body::-webkit-scrollbar {
  display: none;
}


/* ======================================================
VIEW MODE ADJUSTMENTS
====================================================== */

body.view-mode-active .custom-link-bar {
  display: none !important;
}

body.view-mode-active .builder-modal {
  padding: 0px;
}


/* =====================================
VIEW MODE — SMART FLOW FOOTER LAYOUT
===================================== */
#page-view-mode {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 30px);
  padding: 15px;
  width: calc(100% - 30px);
  margin: 0 auto;
  overflow: visible;
  isolation: isolate;
}

body.view-mode-active {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.view-mode-active #page-view-mode {
  overflow: visible !important;
}

body.view-mode-active[data-page="music"] .builder-modal,
body.view-mode-active[data-page="shows"] .builder-modal {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  -webkit-overflow-scrolling: touch !important;
}

body.view-mode-active[data-page="music"] #header-image-view-mode,
body.view-mode-active[data-page="music"] #headerimage-view-mode,
body.view-mode-active[data-page="shows"] #header-image-view-mode,
body.view-mode-active[data-page="shows"] #headerimage-view-mode {
  overflow: hidden !important;
  max-width: 100vw !important;
}

[data-page="index"] #page-view-mode {
  padding-bottom: 77px;
}

[data-page="music"] #page-view-mode {
  padding-bottom: 53px;
}

[data-page="shows"] #page-view-mode {
  padding-bottom: 50px;
}

[data-page="merch"] #page-view-mode {
  padding-bottom: 92px;
}

[data-page="epk"] #page-view-mode {
  padding-bottom: 90px;
}

body.public-mode #page-view-mode {
  padding-bottom: 15px !important;
}

/* ======================================================
PUBLIC MODE — PRIVATE OVERLAY SAFETY KILL SWITCH
------------------------------------------------------
Public pages should never show or capture input with
private app/editor overlays.

To add future overlays, add their class/id to this list,
or give them the reusable class: .public-mode-private-overlay
====================================================== */

body.public-mode .public-mode-private-overlay,

body.public-mode .account-drawer-overlay,
body.public-mode #account-drawer-overlay,
body.public-mode .account-drawer,
body.public-mode #account-drawer,

body.public-mode #share-modal-overlay,
body.public-mode .share-modal-overlay,

body.public-mode .delete-modal-overlay,
body.public-mode #delete-modal-overlay,

body.public-mode .fix-shareable-link-overlay,
body.public-mode #fix-shareable-link-overlay,

body.public-mode #slug-required-overlay,
body.public-mode .slug-required-overlay,

body.public-mode .add-show-type-overlay,
body.public-mode #add-show-type-overlay,

body.public-mode #update-email-modal,
body.public-mode #update-password-modal,
body.public-mode #spotify-import-modal {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Public mode should never inherit private scroll locks */
body.public-mode,
body.public-mode.account-drawer-open,
body.public-mode.account-modal-open,
body.public-mode.delete-modal-open,
body.public-mode.share-modal-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Ensure content sits above */
#page-view-mode > * {
  position: relative;
  z-index: 1;
}

/* Slot lives INSIDE view mode and pushes footer down */
#view-mode-footer-slot {
  margin-top: auto;
  padding: 0;
  padding-top: 35px;
  display: flex;
  justify-content: center;
}

.pluvi-footer-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Footer content (CTA text) */
.pluvi-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--text-medium);
  user-select: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  padding: 10px 18px 10px 20px;
  border: solid 1px var(--border-medium);
  border-radius: 100px;
}

.pluvi-footer-logo {
  width: 11.5px;
  margin-bottom: -1px;
  fill: var(--text-medium);
}

/* Arrow */
.pluvi-arrow {
  width: 18px !important;
  stroke: var(--text-medium);
  stroke-width: 2;
  fill: none;
  animation: arrow-slide 3s ease-in-out infinite;
  opacity: 0;
  margin-left: -2px;
}

/* Animation */
@keyframes arrow-slide {
  0% {
    transform: translateX(-4px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    transform: translateX(4px);
    opacity: 1;
  }
  100% {
    transform: translateX(8px);
    opacity: 0;
  }
}






/* ======================================================
SCROLL UTILITIES
====================================================== */

/* Smooth momentum scrolling for iOS */
.scroll-smooth {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

/* Hide scrollbar inside scroll containers */
scrollbar-width: none;
-ms-overflow-style: none;
}

.scroll-smooth::-webkit-scrollbar {
  display: none;
}



* {
  -webkit-tap-highlight-color: transparent;
}

input[type="url"] {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: none;
  outline: none;
  -webkit-text-fill-color: inherit; /* iOS fix */
}

input[type="url"]::placeholder {
  color: var(--text-medium);
  opacity: 1;
}


@supports not selector(:has(*)) {
  .form-row::after {
    display: none;
  }
}



/* Chrome, Safari, iOS, WKWebView */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.3;
}


/* Force date + time inputs to left align text */
input[type="date"],
input[type="time"] {
  text-align: left !important;
  direction: ltr;
  font-family: inherit;
  font-size: 16px;
  color: var(--white);
  -webkit-appearance: auto;
  appearance: auto;
  padding-right: 20px;
}

/* Internal segments */
input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
  text-align: left !important;
}

/* Extra internal wrappers Safari uses */
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  text-align: left !important;
}


/* iOS WebKit override */
input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
  text-align: left;
}

/* iOS WebKit final override – forces true left alignment */
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value {
  text-align: left !important;
}

/* Handles inner segments on iOS */
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  text-align: left;
}

/* Make all inputs visually identical */
input[type="text"],
input[type="url"],
input[type="number"],
input[type="email"] {
  font-family: inherit;
  font-size: 16px;
  color: var(--white);
  -webkit-text-fill-color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

/* Remove iOS special styling for URL fields */
input[type="url"] {
  appearance: none;
  -webkit-appearance: none;
}

/* ------------------------------------------------------
INPUT HELPERS
------------------------------------------------------ */
.input-helper {
  font-family: inherit !important;
  margin-top: 0.5px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-medium);
  pointer-events: none;
  position: absolute;
  left: 131px;
}

/* Hide helper when input is focused or has a value */
input[type="date"]:focus + .input-helper,
input[type="date"]:valid + .input-helper,
input[type="time"]:focus + .input-helper,
input[type="time"]:valid + .input-helper {
  display: none;
}

/* ------------------------------------------------------
DATE/TIME COLOR STATES (Safari/iOS-safe)
Goal:
- empty + not focused: native placeholder transparent
- focus or valid: native text white
------------------------------------------------------ */

/* Base: keep native text transparent by default */
input[type="date"],
input[type="time"] {
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Focus: show the native UI/text in white */
input[type="date"]:focus,
input[type="time"]:focus {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

/* Valid (has value): show in white */
input[type="date"]:valid,
input[type="time"]:valid {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

/* Required + empty: ensure it stays transparent (wins against Safari) */
input[type="date"]:required:invalid,
input[type="time"]:required:invalid {
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Focused but still invalid → show text/cursor */
input[type="date"]:focus:required:invalid,
input[type="time"]:focus:required:invalid {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}


/* ============================================
   REMOVE BROWSER AUTOFILL BACKGROUND
============================================ */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white) !important;
  caret-color: var(--white) !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 999999s ease-in-out 0s !important;
}










/* =============================
ACCOUNT DRAWER (GLOBAL)
============================= */

.account-drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-soft);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Drawer shell */
.account-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 87vw;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  border-left: 1px solid var(--surface-medium);
  z-index: 9999;

  transform: translateX(102%);
  transition: transform 0.32s ease;

  display: flex;
  flex-direction: column;

/* Drawer itself never scrolls */
overflow: hidden;
}

/* Open state */
body.account-drawer-open .account-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.account-drawer-open .account-drawer {
  transform: translateX(0);
}

body.account-drawer-open {
  overflow: hidden; /* lock body scroll */
}

.artistname-error {
  font-size: 14px;
  color: var(--warning);
  margin: 0;
  margin-top: 15px;
  margin-bottom: 0px;
}

.account-drawer-email {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-drawer-copy-notice {
  position: fixed;
  left: 50%;
  bottom: 95px;
  transform: translateX(-50%) translateY(8px);
  background: var(--glass-strong);
  color: var(--white);
  border: 1px solid var(--surface-medium);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  z-index: 10020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.account-drawer-copy-notice.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =============================
Drawer Header (Sticky)
============================= */

.account-drawer-header {
  position: sticky;
  top: 0;
  z-index: 5;

  padding: 15px;
  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--surface-medium);

  position: relative; /* 🔑 anchor for absolute centering */
}


.account-drawer-close svg {
  width: 14px;
  stroke: var(--white);
  stroke-width: 4px;
  margin-bottom: -1px;
  fill: none;
  background: none;
}

.account-drawer-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  font-size: 16px;
  font-weight: 600;
  color: var(--white);

  pointer-events: none; /* optional: avoids blocking close button */
}

.account-drawer-misc-container {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.account-drawer-misc-container a,
.account-drawer-misc-container p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-footer-text);
  text-decoration: underline;
}

.drawer-questions {
  margin: 20px 0 5px 0;
  font-size: 13px;
  color: var(--muted-footer-text);
  text-align: center;
}



/* =============================
Drawer Body (KEY FIX)
============================= */

/* This is the missing link */
.account-page {
  flex: 1;
  min-height: 0;
  display: flex;
}

/* Actual scroll container */
.account-page-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  overscroll-behavior: contain;
  padding-bottom: 0px;
  height: calc(100vh - 85px);
}





/* =============================
GLOBAL ACCOUNT MODALS
============================= */

#update-email-modal,
#update-password-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--overlay-medium);
  backdrop-filter: blur(6px);

opacity: 0;
transition: opacity 0.25s ease;
}

.password-reset-inline-email {
  color: var(--text-bright);
  font-weight: 650;
  word-break: break-word;
}

/* Visible state */
#update-email-modal.is-visible,
#update-password-modal.is-visible {
  opacity: 1;
}

/* Disable drawer interaction when modal is open */
body.account-modal-open .account-drawer {
  pointer-events: none;
}

body.account-modal-open .account-drawer-overlay {
  pointer-events: none;
}

body.account-modal-open {
  overflow: hidden;
}

/* =============================
SPOTIFY IMPORT MODAL
============================= */

#spotify-import-modal {
  position: fixed;
  padding: 22px 15px 19px 15px;
  inset: 0;
  z-index: 20000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--overlay-medium);
  backdrop-filter: blur(6px);

  opacity: 0;
  transition: opacity 0.25s ease;
}

#open-spotify-import-modal {
  margin-bottom: -3px;
}

#spotify-import-modal.is-visible {
  opacity: 1;
}

#spotify-import-modal .modal {
  width: calc(100% - 30px);
  max-width: 460px;

  background: var(--glass-modal);
  border-radius: 22px;
  padding: 22px 15px 19px 15px;

  display: flex;
  flex-direction: column;
  overflow: hidden;

  transform: translateY(6px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(.2,.8,.2,1),
    opacity 0.2s ease;
}

#spotify-import-modal.is-visible .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

#spotify-import-modal .modal-body {
  display: flex;
  flex-direction: column;
}

#spotify-import-modal .modal-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotify-import-subheader {
  margin-top: -2px;
  margin-bottom: 20px;
  color: var(--text-medium);
  line-height: 1.45;
}

.spotify-search-row {
  padding-top: 0 !important;
  margin-top: 5px;
}

#cancel-spotify-import {
  text-align: center;
  margin-top: 5px;
  font-size: 15px;
  color: var(--text-medium);
}

.spotify-import-helper {
  margin-top: 12px;
  color: var(--text-medium);
  font-size: 13px;
  line-height: 1.4;
}

.spotify-search-loading,
.spotify-search-empty {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-medium);
}

.spotify-search-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.spotify-search-results::-webkit-scrollbar {
  display: none;
}

.spotify-search-result-item {
  width: 100%;
  border: 1px solid var(--surface-medium);
  background: var(--field-bg);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--white);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.spotify-search-result-item:active {
  transform: scale(0.995);
}

.spotify-search-result-item.is-selected {
  border-color: var(--border-medium);
  background: var(--field-bg-active);
}

.spotify-result-left {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--field-bg-hover);
  border: 1px solid var(--border-subtle);
}

.spotify-result-avatar,
.spotify-result-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  border: none;
}

.spotify-result-avatar img,
.spotify-result-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotify-search-result-item {
  appearance: none;
  -webkit-appearance: none;
}

.spotify-result-right {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotify-result-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotify-result-avatar-fallback svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-medium);
  stroke-width: 2;
  fill: none;
}

.spotify-result-right {
  min-width: 0;
  flex: 1;
}

.spotify-result-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-result-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-medium);
}

.spotify-import-launcher-container .music-import-search-btn {
  margin-top: 0 !important;
}

.spotify-release-picker-toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -4px;
  margin-bottom: 14px;
}

.spotify-text-button {
  border: none;
  background: transparent;
  color: var(--text-medium);
  font-size: 14px;
  padding: 0;
}

.spotify-release-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.spotify-release-results::-webkit-scrollbar {
  display: none;
}

.spotify-release-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--surface-medium);
  background: var(--field-bg);
  border-radius: 16px;
  padding: 12px;
}

.spotify-release-item input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
}

.spotify-release-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--field-bg-hover);
  border: 1px solid var(--border-subtle);
}

.spotify-release-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotify-release-thumb-fallback {
  width: 100%;
  height: 100%;
  background: var(--field-border);
}

.spotify-release-copy {
  min-width: 0;
  flex: 1;
}

.spotify-release-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-release-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-medium);
}

/* ============================================
   SPOTIFY IMPORTING OVERLAY
============================================ */

.spotify-importing-notice {
  position: fixed;
  inset: 0;
  z-index: 20050;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
  background: var(--overlay-soft);
  backdrop-filter: blur(7px);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.22s ease;
}

.spotify-importing-notice.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.spotify-importing-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  padding: 14px 18px;
  border-radius: 999px;

  background: var(--glass-notice);
  border: 1px solid var(--white-20);
  color: var(--white);

  font-size: 15px;
  font-weight: 600;

  box-shadow: var(--shadow-modal);

  transform: translateY(8px) scale(0.98);
  transition:
    transform 0.24s cubic-bezier(.2,.8,.2,1),
    opacity 0.22s ease;
}

.spotify-importing-notice.is-visible .spotify-importing-card {
  transform: translateY(0) scale(1);
}

.spotify-importing-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;

  background:
    conic-gradient(
      from 0deg,
      var(--white-12) 0deg,
      var(--white-12) 85deg,
      var(--white-95) 360deg
    );

  -webkit-mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 2.5px),
      var(--black) calc(100% - 2.5px)
    );

  mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 2.5px),
      var(--black) calc(100% - 2.5px)
    );

  animation: spotifyImportSpin 0.82s linear infinite;
}

@keyframes spotifyImportSpin {
  to {
    transform: rotate(360deg);
  }
}

#spotify-import-selected.disabled {
  opacity: 0.35;
  pointer-events: none;
}

#spotify-import-selected.is-loading {
  opacity: 0.7;
}

/* =============================
MODAL CARD
============================= */

#update-email-modal .modal,
#update-password-modal .modal {
  width: calc(100% - 60px);
  max-width: 420px;

  background: var(--glass-modal);
  border-radius: 22px;
  padding: 22px 15px 19px 15px;

  display: flex;
  flex-direction: column;
  overflow: hidden;

/* animation */
transform: translateY(6px) scale(0.98);
opacity: 0;
transition:
transform 0.28s cubic-bezier(.2,.8,.2,1),
opacity 0.2s ease;
}

/* Card visible */
#update-email-modal.is-visible .modal,
#update-password-modal.is-visible .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ======================================================
PLUVI FIRST-RUN ONBOARDING MODAL
====================================================== */

.pluvi-onboarding-modal {
  position: fixed;
  inset: 0;
  z-index: 21000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 22px 14px;

  background:
    radial-gradient(
      650px 420px at 50% 8%,
      rgba(196,60,255,0.12),
      transparent 62%
    ),
    rgba(0,0,0,0.66);

  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);

  opacity: 0;
  transition: opacity 0.25s ease;
}

.pluvi-onboarding-modal.is-visible {
  display: flex;
  opacity: 1;
}

.pluvi-onboarding-card {
  width: min(calc(100vw - 28px), 520px);
  max-height: calc(100dvh - 34px);

  padding: 20px 25px 18px;
  border-radius: 30px;

  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: var(--surface-tactile);

  /*border: 1px solid transparent;*/
  background-clip: padding-box;
  position: relative;

  box-shadow: var(--surface-tactile-shadow);

  transform: translateY(8px) scale(0.975);
  opacity: 0;

  transition:
    transform 0.28s cubic-bezier(.2,.8,.2,1),
    opacity 0.2s ease;
}

.pluvi-onboarding-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;

  background: var(--surface-tactile-border);

  -webkit-mask:
    linear-gradient(var(--black) 0 0) content-box,
    linear-gradient(var(--black) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.pluvi-onboarding-modal.is-visible .pluvi-onboarding-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pluvi-onboarding-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
}

.pluvi-onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--white-35);
  /*opacity: 0.72;*/

  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.pluvi-onboarding-dot.is-active {
  width: 32px;
  opacity: 1;
  background: var(--white);
}

.pluvi-onboarding-step {
  display: none;
  min-height: 0;
}

.pluvi-onboarding-step.is-active {
  display: flex;
  flex-direction: column;
}

.pluvi-onboarding-step .form-header {
  color: var(--text-bright);
  margin-bottom: 20px;
}

.pluvi-onboarding-step #spotify-import-selected {
  margin-top: 18px;
}

.pluvi-onboarding-subheader {
  margin-bottom: 22px !important;
  font-size: 14px !important;
  line-height: 1.5;
  color: var(--text-medium);
}

.pluvi-onboarding-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pluvi-onboarding-primary-btn {
  width: 100%;
  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 18px;
  border-radius: 22px;

  background:
    radial-gradient(
      180px 90px at 50% 0%,
      rgba(255,255,255,0.12),
      transparent 70%
    ),
    var(--surface-tactile-inset);

  color: var(--text-bright);
  -webkit-text-fill-color: var(--text-bright);

  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-align: center;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 28px rgba(0,0,0,0.26),
    inset 0 1px 1px rgba(255,255,255,0.08),
    inset 0 -1px 1px rgba(0,0,0,0.32);

  cursor: pointer;
  user-select: none;

  transition:
    transform 0.16s ease,
    opacity 0.16s ease,
    filter 0.16s ease;
}

.pluvi-onboarding-primary-btn:active {
  transform: scale(0.985);
  filter: brightness(1.08);
}

.pluvi-onboarding-text-btn {
  width: fit-content;
  align-self: center;

  margin: 0 auto;
  padding: 8px 12px;

  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);

  font-size: 13px;
  text-align: center;

  background: transparent;
  border: 0;
  box-shadow: none;

  cursor: pointer;
  user-select: none;

  transition:
    color 0.16s ease,
    opacity 0.16s ease,
    transform 0.16s ease;
}

.pluvi-onboarding-link-fields {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 20px 15px;
}

.pluvi-onboarding-footer-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

.pluvi-onboarding-check {
  width: 72px;
  height: 72px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 4px auto 22px;

  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255,255,255,0.26),
      rgba(255,255,255,0.08) 42%,
      rgba(196,60,255,0.20) 100%
    );

  color: var(--white);
  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    0 18px 40px rgba(196,60,255,0.18),
    0 10px 24px rgba(0,0,0,0.25),
    inset 0 1px 1px rgba(255,255,255,0.14);

  font-size: 36px;
  font-weight: 700;
}

body.pluvi-onboarding-open {
  overflow: hidden;
}

#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row {
  display: flex;
  align-items: center;
  gap: 8px;

  width: 100%;
  margin: 0;
  padding: 0 !important;

  border: 0 !important;
}

#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row::after {
  display: none !important;
}

#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row label {
  display: none;
}

#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row #spotify-artist-search-input {
  flex: 1;
  min-width: 0;

  width: auto;
  height: 47px;

  padding: 0 13px;

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  border-radius: 14px;
  background: var(--field-bg);

  color: var(--white);
  font-family: inherit;
  font-size: 16px;

  appearance: none;
  -webkit-appearance: none;
}

#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row #spotify-artist-search-input:focus,
#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row #spotify-artist-search-input:focus-visible,
#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-row #spotify-artist-search-input:active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  background: var(--field-bg-hover);
}

#pluvi-onboarding-spotify-mount .pluvi-onboarding-spotify-search-btn {
  flex: 0 0 auto;

  min-width: 80px;
  height: 47px;

  width: auto;
  max-width: none;

  padding: 0 8px;
  margin-top: 0 !important;

  box-sizing: border-box;
  border-radius: 14px;
}

/* ======================================================
ONBOARDING — FINAL MAGICAL SETUP SCREEN
====================================================== */

.pluvi-onboarding-modal[data-onboarding-active-step="finalizing"] .pluvi-onboarding-topbar {
  opacity: 0;
  pointer-events: none;
  margin-bottom: 0;
  min-height: 0;
}

.pluvi-onboarding-finalizing-step {
  text-align: center;
}

.pluvi-final-orbit {
  position: relative;
  width: 92px;
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 24px;
}

.pluvi-final-orbit-ring {
  position: absolute;
  inset: 4px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);

  box-shadow:
    0 0 28px rgba(52, 255, 216, 0.15),
    0 0 34px rgba(196, 60, 255, 0.13),
    inset 0 1px 1px rgba(255,255,255,0.12);

  animation: pluviFinalOrbitSpin 3.8s linear infinite;
}

.pluvi-final-orbit-core {
  position: relative;
  z-index: 2;

  width: 48px;
  height: 48px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(255,255,255,0.95);
  font-size: 24px;

  background:
    radial-gradient(
      circle at 36% 24%,
      rgba(255,255,255,0.24),
      rgba(255,255,255,0.08) 42%,
      rgba(196,60,255,0.16) 100%
    );

  box-shadow:
    0 18px 40px rgba(196,60,255,0.16),
    0 10px 24px rgba(0,0,0,0.25),
    inset 0 1px 1px rgba(255,255,255,0.14);
}

.pluvi-final-orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;

  border-radius: 999px;
  background: rgba(255,255,255,0.92);

  box-shadow:
    0 0 12px rgba(255,255,255,0.38),
    0 0 18px rgba(52,255,216,0.30);
}

.pluvi-final-orbit-dot.dot-one {
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.pluvi-final-orbit-dot.dot-two {
  right: 5px;
  bottom: 16px;
  background: rgba(52,255,216,0.92);
}

.pluvi-final-orbit-dot.dot-three {
  left: 5px;
  bottom: 16px;
  background: rgba(52,255,216,0.82);
}

.pluvi-final-steps {
  width: min(260px, 100%);
  margin: 28px auto 24px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pluvi-final-step {
  position: relative;

  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 14px;

  color: var(--text-medium);
  text-align: left;
}

.pluvi-final-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 31px;

  width: 2px;
  height: 20px;

  background: rgba(255,255,255,0.14);
}

.pluvi-final-step span {
  width: 28px;
  height: 28px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.18);
}

.pluvi-final-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.pluvi-final-step.is-complete span {
  position: relative;
  border-color: rgba(32, 220, 190, 0.78);
  background: transparent;

  box-shadow:
    0 0 0 1px rgba(32, 220, 190, 0.12),
    0 0 14px rgba(32, 220, 190, 0.18);
}

.pluvi-final-step.is-complete span::before {
  content: "";
  position: absolute;

  width: 10px;
  height: 6px;

  border-left: 3px solid rgba(32, 220, 190, 0.96);
  border-bottom: 3px solid rgba(32, 220, 190, 0.96);

  transform: rotate(-45deg) translate(1px, -1px);
  border-radius: 1px;
}

.pluvi-final-step.is-active {
  color: var(--text-bright);
}

.pluvi-final-step.is-active span {
  border-color: rgba(52,255,216,0.82);
  border-top-color: transparent;
  animation: pluviFinalStepSpin 0.85s linear infinite;
}

.pluvi-final-progress {
  position: relative;
  width: min(340px, 100%);
  height: 5px;

  margin: 6px auto 20px;

  overflow: hidden;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 1px rgba(0,0,0,0.34),
    0 0 18px rgba(52,255,216,0.08);
}

.pluvi-final-progress span {
  position: absolute;
  inset: 0 auto 0 0;

  width: 72%;
  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      rgba(52,255,216,0.05),
      rgba(52,255,216,0.86),
      rgba(255,255,255,0.82),
      rgba(52,255,216,0.12)
    );

  box-shadow:
    0 0 18px rgba(52,255,216,0.52),
    0 0 34px rgba(52,255,216,0.22);

  animation: pluviFinalProgress 5s ease-in-out forwards;
}

.pluvi-final-note {
  margin: 0;
  color: var(--text-medium);
  font-size: 13px;
  line-height: 1.35;
}

@keyframes pluviFinalOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pluviFinalStepSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pluviFinalProgress {
  0% {
    width: 18%;
    transform: translateX(-18%);
  }

  55% {
    width: 76%;
    transform: translateX(0);
  }

  100% {
    width: 100%;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pluvi-final-orbit-ring,
  .pluvi-final-step.is-active span,
  .pluvi-final-progress span {
    animation: none !important;
  }

  .pluvi-final-progress span {
    width: 100%;
  }
}

/* ======================================================
ONBOARDING SPOTIFY EMBED
Uses #spotify-import-modal only to reuse existing handlers.
Inside onboarding, it must behave like normal modal content,
not a standalone full-screen overlay.
====================================================== */

#pluvi-onboarding-spotify-mount {
  margin-top: 2px;
  min-height: 0;
  overflow: visible;
}

#pluvi-onboarding-spotify-mount #spotify-import-modal.spotify-import-modal-embedded {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;

  width: 100% !important;
  height: auto !important;

  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  transition: none !important;
}

#pluvi-onboarding-spotify-mount #spotify-import-modal.spotify-import-modal-embedded .modal-body,
#pluvi-onboarding-spotify-mount #spotify-import-modal.spotify-import-modal-embedded .modal-footer {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#pluvi-onboarding-spotify-mount .spotify-import-subheader,
#pluvi-onboarding-spotify-mount .modal-body > .form-header,
#pluvi-onboarding-spotify-mount .modal-footer .pluvi-onboarding-text-btn {
  display: none !important;
}

#pluvi-onboarding-spotify-mount #spotify-artist-search-input::placeholder {
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  opacity: 1;
}

#pluvi-onboarding-spotify-mount #spotify-search-loading {
  display: none !important;
}

#pluvi-onboarding-spotify-mount #spotify-search-empty {
  margin: 12px 0 0;
  color: var(--text-medium);
  font-size: 15px;
  text-align: center;
}

#pluvi-onboarding-spotify-mount #spotify-search-results,
#pluvi-onboarding-spotify-mount #spotify-release-results,
#pluvi-onboarding-spotify-mount .spotify-release-results,
#pluvi-onboarding-spotify-mount .spotify-search-results {
  max-height: min(42dvh, 300px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  padding-right: 2px;
}

#pluvi-onboarding-spotify-mount #spotify-search-results,
#pluvi-onboarding-spotify-mount #spotify-release-results,
#pluvi-onboarding-spotify-mount .spotify-search-result-item,
#pluvi-onboarding-spotify-mount .spotify-release-item {
  opacity: 1 !important;
  visibility: visible !important;
}

#pluvi-onboarding-spotify-mount .spotify-search-result-item,
#pluvi-onboarding-spotify-mount .spotify-release-item {
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.035),
    0 8px 20px rgba(0,0,0,0.16);
}

.pluvi-onboarding-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 22px;
  margin: 0 0 25px;
}

.pluvi-onboarding-topbar .pluvi-onboarding-progress {
  margin: 0;
}

.pluvi-onboarding-back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);

  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  padding: 7px 0;

  cursor: pointer;
  user-select: none;

  opacity: 1;
  pointer-events: auto;

  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    color 0.16s ease;
}

/*.onboarding-link-container {
  margin-bottom: 5px;
}*/

.pluvi-onboarding-back-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pluvi-onboarding-back-btn:active {
  transform: translateY(-50%) scale(0.96);
  color: var(--text-bright);
  -webkit-text-fill-color: var(--text-bright);
}

#pluvi-onboarding-spotify-mount #cancel-spotify-import {
  display: none !important;
}


/* =============================
CONTENT
============================= */

#update-email-modal .modal-body,
#update-password-modal .modal-body {
  display: flex;
  flex-direction: column;
}

#update-email-modal .modal-footer,
#update-password-modal .modal-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#update-email-modal .form-header,
#update-password-modal .form-header {
  margin-bottom: 25px;
}

#update-email-modal .form-helper,
#update-password-modal .form-helper {
  margin-top: 15px;
}

/* Email modal: first child inside .modal-body IS a .form-row */
#update-email-modal .modal-body > .form-row:first-child {
  padding-top: 0;
}

/* Password modal: first child is the forgot-password div, so the first .form-row is child #2 */
#update-password-modal .modal-body > .form-row:nth-child(2) {
  padding-top: 0;
}

#cancel-email-update,
#cancel-password-update {
  text-align: center;
  margin-top: 5px;
  font-size: 15px;
  color: var(--text-medium);
}

#cancel-email-update.main-button,
#cancel-password-update.main-button {
  color: var(--white);
}

/* =============================
CONFIRMATION STATES
============================= */

.email-confirmation-text {
  font-size: 15px;
  text-align: center;
  margin-top: 0px;
  line-height: 1.6;
}

.email-status-text {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

/* =============================
BUTTON SPACING
============================= */

#send-email-confirmation,
#update-password-button {
  margin-top: 5px;
}

/* =============================
PASSWORD VALIDATION
============================= */

.password-error,
.email-error {
  margin-top: 12px;
  font-size: 14px;
  color: var(--warning) !important;
}

.email-error {
  margin-bottom: 0px;
}

.forgot-password-container {
  position: absolute;
  right: 16px;
  top: 25px;
}


#forgot-password-link {
  text-align: center;
  color: var(--text-medium);
  font-size: 13px;
}

#account-password-input::placeholder {
  color: var(--white);
  opacity: 1;
}

#account-password-input {
  margin-bottom: -3px;
}

#update-password-modal input {
  margin-bottom: -3px;
}
















/*****************
******************
BOTTOM NAVIGATION
******************
*****************/
.main-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  padding: 11px;
  gap: 6px;

  border-top: 1px solid var(--surface-medium);
  background: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: blur(10px) saturate(160%);

  --nav-collapsed-height: 50px;
  --nav-expanded-height: 117px;

  height: var(--nav-collapsed-height);
  overflow: hidden;

  transition:
  height 0.35s cubic-bezier(.4,0,.2,1),
  box-shadow 0.35s ease;

  box-shadow: var(--shadow-floating);
  z-index: 9997;
}

.main-bottom-nav.nav-expanded {
  height: var(--nav-expanded-height);
  padding-top: 14px;
}

/* ======================================================
NAV ROWS
====================================================== */

.bottom-nav-top-row,
.bottom-nav-bottom-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* MUST match top row item count */
  width: 100%;
}

.bottom-nav-bottom-row {
/*transform: translateY(12px);*/
pointer-events: none;
margin-top: 12px;

/*  transition:
transform 0.35s ease;*/
}

/* Reveal bottom row when expanded */
.main-bottom-nav.nav-expanded .bottom-nav-bottom-row {
  transform: translateY(0);
  pointer-events: auto;
}

/* ======================================================
NAV ITEMS
====================================================== */

.main-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding-bottom: 3px;

  width: 100%;        /* 🔑 force grid fill */
  min-width: 0;       /* 🔑 prevents intrinsic sizing */
}


/* ======================================================
ICONS + LABELS
====================================================== */

.nav-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
  opacity: 0.4;
}

.nav-icon-merch svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  stroke: none;
}

.nav-icon-rider svg {
  stroke-width: 3.5px;
}

.nav-more-icon svg {
  width: 22px;
  fill: var(--white);
  stroke: var(--white);
  stroke-width: 4px;
}

.nav-disable {
  pointer-events: none !important;
  position: relative;
  opacity: 0.7;
}

.nav-disable svg {
  opacity: 0.25 !important;
}

.nav-disable .nav-coming-soon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  margin-top: -6px;
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  color: var(--white);
  text-align: center;
}

.shows-active-icon svg {
  stroke-width: 0px !important;
}

.nav-label {
  font-size: 10px;
  margin-top: 3px;
  opacity: 0.4;
  color: var(--white);
  font-weight: 500;
  line-height: 1;
  min-width: 42px;
  text-align: center;
}

/* ======================================================
ACTIVE STATE
====================================================== */

.current-nav .nav-icon svg {
  opacity: 1;
  fill: var(--white);
}

.current-nav .nav-label {
  opacity: 1;
}

/* Default icon swap system */
.nav-icon.icon-active { display: none; }
.current-nav .icon-default { display: none; }
.current-nav .icon-active { display: block; }





/*****************
******************
HEADER
******************
*****************/
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;


  padding: 27px 0px;
  font-weight: 100;

  background: color-mix(in srgb, var(--background) 75%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid var(--surface-medium);

  transform: translateY(0);
  transition: transform 0.4s ease,
  border-color 0.2s ease;
}

.top-header.is-hidden {
  transform: translateY(-100%);
  border-color: transparent;
}

.custom-link-bar.is-hidden {
  transform: translateY(-100%);
  border-color: transparent;
}


.top-header-logo {
  position: absolute;
  left: 15px;
  fill: var(--white);
  width: 60px;
  margin-bottom: -3px;
}

.index-top-header .top-header-logo {
  position: absolute;
  left: 15px;
  fill: var(--white);
  width: 60px;
  margin-top: -1.5px !important;
}

.top-header h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  margin-top: -1px;

  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  pointer-events: none; /* optional but nice */
}

.account-icon-container {
  position: absolute !important;
  right: 15px !important;
  margin-top: 4.5px;
}

.index-top-header .account-icon-container {
  position: absolute !important;
  right: 15px !important;
  margin-top: 0.5px !important;
}

.account-icon-container svg {
  width: 24px;
  stroke-width: 3px;
  fill: none;
  /*stroke: #4B4B4B;*/
  stroke: var(--soft-icon-stroke);
}


.index-top-header {
  position: fixed;
  padding: 16.5px 0px 0px 0px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  font-weight: 100;

  background: color-mix(in srgb, var(--background) 75%, transparent);
  backdrop-filter: blur(10px) saturate(160%);

  transform: translateY(0);
  transition: transform 0.4s ease,
  border-color 0.2s ease;
}

.index-top-header.is-hidden {
  transform: translateY(-100%);
  border-color: transparent;
}

.index-top-header h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  margin-top: -0.5px !important;

  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  pointer-events: none; /* optional but nice */
}

.index-info-view {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 7px 0px;
  text-align: center;
}

.index-artist-view {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 13px;
  color: var(--white);
}

.index-bio-view {
  font-size: 15px;
  margin: 0;
  margin-top: 4px;
  margin-bottom: 15px;
  color: var(--text-medium);
}

.view-page:has(.index-bio-view) .index-artist-view {
  margin-bottom: 0px;
}

.view-page:has(.social-display-row):not(:has(.index-bio-view)) .index-artist-view {
  margin-bottom: -3px;
}

.view-page:has(.index-bio-view):has(.social-display-row) .index-bio-view {
  margin-bottom: 0;
}








/******************************************************
==================== THEME CHOICE =================
*******************************************************/
.page-theme-container {
  position: fixed;
  left: 12px;
  bottom: -200px;
  z-index: 9000;
  display: flex;
  width: calc(100vw - 163px);
  border-radius: 100px;
  padding: 4px 2px;
  border: solid 1px var(--border-medium);
  background: color-mix(in srgb, var(--light-black) 70%, transparent);
  z-index: 999;
  box-shadow: var(--shadow-floating);
  backdrop-filter: blur(10px) saturate(160%);
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s cubic-bezier(.25,.8,.25,1);
  opacity: 0;
}

body.view-mode-active .page-theme-container.visible {
  bottom: 12px;
  opacity: 1;
}

.theme-option {
  flex: 1;     
  height: 38px;         
  border-radius: 50px;  
  margin: 0 3px;
  border: solid 1px var(--border-medium);
}

.theme-option.active {
  border-color: var(--white) !important;
}

.theme-option[data-theme="0"] { background: var(--theme-swatch-default); }
.theme-option[data-theme="1"] { background: var(--theme-swatch-blue); }
.theme-option[data-theme="2"] { background: var(--theme-swatch-purple); }
.theme-option[data-theme="3"] { background: var(--theme-swatch-red); }
.theme-option[data-theme="4"] { background: var(--theme-swatch-green); }

/******************************************************
==================== INLINE SAVE =================
*******************************************************/
.inline-save-button {
  position: fixed;
  bottom: 70px;              /* slightly more breathing room */
/*right: 143px;*/
left: 12px;
z-index: 999;

display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;

height: 53px;
width: 112px;

font-size: 14px;
font-weight: 600;
letter-spacing: 0.2px;

color: var(--white);

border: solid 1px var(--border-medium);
background: color-mix(in srgb, var(--light-black) 70%, transparent);
z-index: 1001;
box-shadow: var(--shadow-floating);
backdrop-filter: blur(10px) saturate(160%);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);

border-radius: 100px;       /* not a perfect pill */
}


/******************************************************
==================== PAGE MODE TOGGLE =================
*******************************************************/
.page-mode-toggle {
  position: fixed;
  right: 12px;
  bottom: -200px;
  z-index: 999;
  display: flex;
  width: 114px;
  border-radius: 100px;
  padding: 8px 4px;
  border: solid 1px var(--border-medium);
  background: color-mix(in srgb, var(--light-black) 70%, transparent);
  z-index: 1001;
  box-shadow: var(--shadow-floating);
  backdrop-filter: blur(10px) saturate(160%);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  transition-delay: 0.04s;
}

/* =====================================================
PLUVI GRADIENT BORDER (CRISP, NOT MUSHY)
===================================================== */

.big-circle-add::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  /* Logo gradient */
  background: linear-gradient(
    180deg,
    #ff4d4d 0%,
    #ff4fa3 35%,
    #a93cff 70%,
    #6f2cff 100%
  );

  /* No heavy blur — keep it sharp */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}

/* ======================================================
EPK — Page mode toggle lives on the page (not modal)
====================================================== */

body[data-page="epk"] .page-mode-toggle,
body[data-page="merch"] .page-mode-toggle, 
body[data-page="index"] .page-mode-toggle {
  bottom: 84px !important;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

body.view-mode-active[data-page="epk"] .page-mode-toggle,
body.view-mode-active[data-page="merch"] .page-mode-toggle,
body.view-mode-active[data-page="index"] .page-mode-toggle,
body.view-mode-active[data-page="music"] .page-mode-toggle,
body.view-mode-active[data-page="shows"] .page-mode-toggle {
  bottom: 15px !important;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.builder-modal-overlay.builder-modal-open .page-mode-toggle {
  bottom: 84px;
  opacity: 1;
}


/* SLIDER */
.page-mode-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--white);
  border-radius: 100px;
  transition: all 0.25s cubic-bezier(.25,.8,.25,1);
  pointer-events: none;
  z-index: 1;
}

/* BUTTONS */
.page-mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  position: relative;
  z-index: 2;
  padding: 6px 0;
  border-radius: 100px;
}

.page-mode-btn svg {
  width: 25px;
  height: 25px;
  stroke: var(--gray);
  stroke-width: 3.3px;
  fill: none;
  transition: all 0.25s cubic-bezier(.25,.8,.25,1);
}

.page-mode-btn--active svg {
  stroke: var(--black);
}

/* Move slider right */
.page-mode-toggle.view-mode .page-mode-slider {
  left: calc(50%);
}


/******************************************************
==================== SHOWS PAGE =======================
*******************************************************/
.shows-info-view {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 7px 0px;
  text-align: center;
}

.shows-artist-view {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

/* Release Title */
.shows-title-view {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 17px;
  color: var(--text-medium);
}

/* Default spacing below title */
.view-page .shows-title-view {
  margin-bottom: 15px;
}

/* Collapse title spacing when social row is present */
.view-page:has(.social-display-row) .shows-title-view {
  margin-bottom: 0;
}

/* Artist never controls vertical spacing by default */
.view-page .shows-artist-view {
  margin-bottom: -3px;
}

/* Exception: if Artist is the only header line (no title + no social), give it spacing */
.view-page:has(.shows-artist-view):not(:has(.shows-title-view)):not(:has(.social-display-row)) .shows-artist-view {
  margin-bottom: 15px;
}

.shows-view-row {
  display: flex;
  align-items: top;
  justify-content: space-between;
  padding: 9px 0 11px 0;
  border-bottom: 1px solid var(--lightest-black);
  text-align: left !important;
  position: relative;
}

.shows-more-info-view .shows-view-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.shows-more-info-view-single {
  margin-bottom: 10px !important;
}

.shows-more-info-view .form-header + .shows-view-row {
  padding-top: 0;
}

.shows-view-value {
  text-align: left;
  width: calc(100% - 70px);
}

/* ======================================================
SHOWS — SINGLE MORE INFO ITEM
------------------------------------------------------
If only one More Info field is filled, render inline:
Label: Value
If multiple fields exist, normal row styling remains.
====================================================== */

.shows-more-info-view-single .form-header + .shows-view-row-single {
  padding-top: 0;
}

.shows-view-row-single {
  display: block;
  border-bottom: none;
  padding-bottom: 0;
}

.shows-view-single-line {
  display: inline;
  width: 100%;

  color: var(--white);
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

.shows-view-label-inline {
  color: var(--text-medium);
}

.shows-view-value-inline {
  color: var(--white);
}

/* =========================================
   SINGLE SHOW TICKET WRAPPER
========================================= */

.single-show-ticket-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
}

.single-show-ticket-wrapper .tour-ticket-link {
  position: relative;
  bottom: initial;
  right: initial;
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  width: 100%;
  z-index: 1;
  text-align: center;
  padding: 13px 0px;
}

.single-show-ticket-wrapper .tour-soldout-badge {
  bottom: 10px;
  right: 13px;
}

#builder-modal-overlay[data-show-type="single"] .tour-stop-row .tour-ticket-link {
  display: none;
}

#builder-modal-overlay[data-show-type="tour"] .tour-stop-row {
  margin-bottom: 10px;
}

/* Imported single-show More Info uses general-page-container,
   which adds a 20px bottom margin. Pull only the ticket wrapper
   up by 10px so the final gap matches the intended 10px spacing. */
/*.general-page-container.shows-more-info-view + .single-show-ticket-wrapper,
.general-page-container.shows-more-info-view-single + .single-show-ticket-wrapper {
  margin-top: -10px !important;
}*/


/* ADD SHOW TYPE PROMPT */
.add-show-type-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-soft);
  backdrop-filter: blur(6px);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* visible state */
.add-show-type-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

/* hidden state (important override) */
.add-show-type-overlay[hidden] {
  display: flex; /* keep layout */
  opacity: 0;
  pointer-events: none;
}

.add-show-type-overlay:not([hidden]) .add-show-type-sheet {
  transform: translateY(0);
  opacity: 1;
}

.add-show-type-sheet {
  display: flex;
  gap: 15px;
  flex-direction: column;
  width: calc(100% - 60px);
  text-align: center;
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.add-show-type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.add-show-type-header {
  margin: 0;
  margin-bottom: 8px;
  font-size: 17px;
}

.add-show-type-btn {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding-top: 3px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  border-radius: 18px;
  background: color-mix(in srgb, var(--background) 85%, transparent);
  color: var(--white);

  font-size: 15px;
  font-weight: 500;
  text-align: center;

  user-select: none;
  overflow: hidden;

  transition: transform 0.15s ease;
}

.add-show-type-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    #ff5a3d 0%,
    #ff4d6d 35%,
    #c43cff 70%,
    #7b2cff 100%
  );
  background-size: 300% 300%;
  animation: showTypeButtonGlow 8s linear infinite;
  opacity: 0.8;

  -webkit-mask:
  linear-gradient(#000 0 0) content-box,
  linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

@keyframes showTypeButtonGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.add-show-type-btn svg {
  width: 34px;
  fill: none;
  margin-bottom: 12px;
  stroke: var(--white);
  stroke-width: 3px;
}

.add-show-type-cancel {
  position: absolute;
  top: 18px;
  left: 18px;
}

.add-show-type-cancel svg {
  width: 14px;
  stroke: var(--white);
  stroke-width: 4px;
}


/* ======================================================
SHOWS — AUTO-BUILD IMPORT
====================================================== */

.shows-import-panel {
  display: none;

  width: 100%;
  box-sizing: border-box;

  padding: 0;
  margin: 0 0 20px;
}

/* Empty-state modal wrapper */
#shows-import-panel.is-modal,
.shows-import-panel.is-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;

  display: flex !important;
  align-items: center;
  justify-content: center;

  width: auto;
  margin: 0;
  padding: 0 15px;

  background: var(--overlay-medium);
  backdrop-filter: blur(6px);

  opacity: 0;
  transition: opacity 0.25s ease;
}

#shows-import-panel.is-modal.is-visible,
.shows-import-panel.is-modal.is-visible {
  opacity: 1;
}

/* Match merch import card */
.shows-import-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;

  background: var(--surface-gradient-soft);
  border-radius: 22px;
  padding: 20px 15px;
  margin-bottom: 20px;

  position: relative;
  overflow: hidden;

  box-shadow: var(--surface-tactile-shadow);
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Modal card version */
#shows-import-panel.is-modal .shows-import-card,
.shows-import-panel.is-modal .shows-import-card {
  width: 100%;
  max-width: 460px;
  margin-bottom: 0;

  transform: translateY(6px) scale(0.98);
  opacity: 0;

  transition:
    transform 0.28s cubic-bezier(.2,.8,.2,1),
    opacity 0.2s ease;
}

#shows-import-panel.is-modal.is-visible .shows-import-card,
.shows-import-panel.is-modal.is-visible .shows-import-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.shows-import-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.shows-import-subheader {
  margin-top: 4px;
  margin-bottom: 18px;

  color: var(--text-medium);
  line-height: 1.35;
}

.shows-import-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#shows-import-url {
  flex: 1;
  min-width: 0;

  width: auto;
  height: 47px;

  border-radius: 14px;
  background: var(--field-bg);
  color: var(--white);

  padding: 0 13px;
  outline: none;
}

#shows-import-url:focus {
  background: var(--field-bg-hover);
}

.shows-import-submit,
#shows-import-btn {
  flex: 0 0 auto;

  min-width: 80px;
  height: 47px;

  width: auto;
  max-width: none;

  padding: 0 8px;
  margin-top: 0;

  box-sizing: border-box;
  border-radius: 14px;
}

#shows-import-btn.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.shows-import-status {
  display: none;

  margin-top: 11px;

  color: var(--text-medium);
  font-size: 0.82rem;
  line-height: 1.35;
}

.shows-import-status.is-visible {
  display: block;
}

.shows-import-status.is-error {
  color: var(--warning, #ff9b9b);
}

.shows-import-status.is-success {
  color: var(--success, #a8ffcf);
}

.shows-import-modal-footer {
  display: none;
}

#shows-import-panel.is-modal .shows-import-modal-footer,
.shows-import-panel.is-modal .shows-import-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
}

#shows-import-panel.is-modal .modal-cancel,
.shows-import-panel.is-modal .modal-cancel {
  text-align: center;
  margin-top: 20px;

  font-size: 15px;
  color: var(--text-medium);
}

@media (max-width: 520px) {
  .shows-import-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #shows-import-url {
    min-width: 0;
  }

  #shows-import-btn {
    flex: 0 0 auto;
    width: auto;
  }
}

/* ======================================================
SHOWS IMPORT — EMPTY STATE MODAL VERSION
------------------------------------------------------
When opened from .big-circle-add.is-empty, the same DOM is
used, but it should behave like a modal card, not accordion.
====================================================== */

#shows-import-panel.is-modal,
.shows-import-panel.is-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 20000 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 20px !important;
  box-sizing: border-box !important;

  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

#shows-import-panel.is-modal .shows-import-card,
.shows-import-panel.is-modal .shows-import-card {
  width: min(367px, calc(100vw - 40px)) !important;
  max-width: min(367px, calc(100vw - 40px)) !important;

  padding: 20px 15px !important;
  box-sizing: border-box !important;

  border-radius: 24px !important;
}

/* Modal mode: keep the title/header, but make it non-accordion */
#shows-import-panel.is-modal .auto-build-accordion-header,
.shows-import-panel.is-modal .auto-build-accordion-header {
  display: flex !important;
  width: 100% !important;
  padding: 0 0 18px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

.shows-import-panel.is-modal .auto-build-accordion-title-text .form-header {
  font-size: 18.5px !important;
}

#shows-import-panel.is-modal .auto-build-accordion-title,
.shows-import-panel.is-modal .auto-build-accordion-title {
  font-size: 32px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  color: var(--white) !important;
}

#shows-import-panel.is-modal .auto-build-accordion-chevron,
.shows-import-panel.is-modal .auto-build-accordion-chevron {
  display: none !important;
}

/* Force the accordion body to behave like normal modal content */
#shows-import-panel.is-modal .auto-build-accordion-body,
.shows-import-panel.is-modal .auto-build-accordion-body {
  display: flex !important;
  flex-direction: column !important;

  max-height: none !important;
  height: auto !important;
  overflow: visible !important;

  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#shows-import-panel.is-modal .shows-import-row,
.shows-import-panel.is-modal .shows-import-row {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Empty-state Shows import modal: title-only header */
#shows-import-panel.is-modal .auto-build-accordion-header,
.shows-import-panel.is-modal .auto-build-accordion-header {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

/* Hide sparkle icon in modal version */
#shows-import-panel.is-modal .auto-build-accordion-icon,
.shows-import-panel.is-modal .auto-build-accordion-icon {
  display: none !important;
}

/* Keep title aligned after icon is removed */
#shows-import-panel.is-modal .auto-build-accordion-title,
.shows-import-panel.is-modal .auto-build-accordion-title {
  margin: 0 !important;
  padding: 0 !important;
}

/* Still hide chevron in modal version */
#shows-import-panel.is-modal .auto-build-accordion-chevron,
.shows-import-panel.is-modal .auto-build-accordion-chevron {
  display: none !important;
}

/* ======================================================
SHOWS EMPTY STATE — ADD MANUALLY UNDER IMPORT BUTTON
====================================================== */

[data-page="shows"] .shows-add-manually {
  position: absolute;
  top: calc(50% + 30px);
  left: 50%;
  transform: translateX(-50%);

  margin-top: 0;

  z-index: 1000;

  color: var(--text-medium);
  font-size: 14px;
  font-weight: 600;
  text-align: center;

  user-select: none;

  transition:
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

[data-page="shows"] .big-circle-add:not(.is-empty) + .shows-add-manually,
[data-page="shows"] .page-empty-wrapper.has-shows .shows-add-manually {
  display: none;
}





.shows-page,
.music-page {
  padding: 71px 15px 159px 15px;
}

.toolkit-page {
  padding: 71px 15px 100px 15px; 
}

.index-page {
  padding: 155px 15px 145px 15px; 
}

.stats-page {
  padding: 71px 15px 80px 15px;
}

.epk-page {
  padding: 155px 15px 145px 15px; 
}

.merch-page {
  padding: 155px 15px 150px 15px;
}

.merch-page.has-tip-item {
  padding: 155px 15px 162px 15px;
}

.misc-page {
  padding: 70px 15px 90px 15px;
}

body.view-mode-active .index-page {
  display: none;
}

body.view-mode-active .epk-page {
  display: none; 
}

body.view-mode-active .merch-page {
  display: none; 
}

body.view-mode-active .index-top-header {
  display: none;
}

/* DEFAULT: when there are NO shows */
.page-empty-wrapper {
  max-height: 100vh; /* full-page center */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
}

/* When show cards exist — collapse so add button sits below cards */
.page-empty-wrapper.has-shows {
  min-height: auto;
  justify-content: flex-start;
  padding-top: 40px;
}




/* =====================================================
BIG CIRCLE ADD — PLUVI PRIMARY CTA
===================================================== */

.big-circle-add {
  position: absolute;
  bottom: 86px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 50px;
  width: 50px;
  border-radius: 18px;

  /* Dark confident core */
  background: var(--glass-medium);
  backdrop-filter: blur(18px) saturate(180%);

  /* Strong vertical separation */
  box-shadow: var(--shadow-button-deep);

  z-index: 999;
  overflow: hidden;
  user-select: none;
}




/* ======================================================
AUTO-BUILD ACCORDION — SHARED
Music / Shows / Merch
====================================================== */

.auto-build-accordion {
  overflow: hidden;
  border-radius: 16px !important;

  transition:
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.auto-build-accordion-header {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.auto-build-accordion-header:focus {
  outline: none;
}

.auto-build-accordion-title-wrap {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 12px;
}

.auto-build-accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  margin-bottom: -1px;
}

.auto-build-accordion-icon svg {
  width: 22px;
  height: 22px;

  fill: var(--white);
  opacity: 0.92;
}

.auto-build-accordion-title-text {
  min-width: 0;
}

.auto-build-accordion-title-text .form-header {
  margin: 0;
  line-height: 1.1;
  font-size: 16px;
  font-weight: 600;
}

.auto-build-accordion-chevron {
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;

  transform: rotate(0deg);
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    opacity 180ms ease;

  margin-bottom: -2px;
}

.auto-build-accordion-chevron svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: var(--text-strong);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auto-build-accordion.is-open .auto-build-accordion-chevron {
  transform: rotate(180deg);
  background: transparent !important;
}

.auto-build-accordion-body {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;

  transition:
    max-height 340ms cubic-bezier(.2,.8,.2,1),
    opacity 220ms ease,
    margin-top 260ms ease;
}

.auto-build-accordion.is-open .auto-build-accordion-body {
  opacity: 1;
  margin-top: 16px;
  pointer-events: auto;
}

.auto-build-accordion .form-subheader {
  margin-top: 0;
}

.auto-build-accordion:not(.is-open),
.auto-build-accordion.is-open {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Prevent page-load accordion fighting / animated boot collapse */
.auto-build-accordion.is-boot-closing,
.auto-build-accordion.is-boot-closing .auto-build-accordion-body,
.auto-build-accordion.is-boot-closing .auto-build-accordion-chevron {
  transition: none !important;
}

.auto-build-accordion:not(.is-open) .auto-build-accordion-body {
  max-height: 0 !important;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}







/* ======================================================
MUSIC PAGE — AUTO-BUILD RELEASES
====================================================== */

.music-import-launcher-container {
  width: 100%;
  box-sizing: border-box;

  background: var(--surface-gradient-soft);
  padding: 20px 15px;
  margin-bottom: 20px;

  position: relative;
  overflow: hidden;

  box-shadow: var(--surface-tactile-shadow);
  transform: translateZ(0);
  backface-visibility: hidden;
}

body.public-mode .music-import-launcher-container {
  display: none !important;
}

.music-add-manually {
  margin-top: 16px;

  color: var(--text-medium);
  font-size: 14px;
  font-weight: 600;
  text-align: center;

  user-select: none;
}

.music-import-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.music-import-subheader {
  margin-top: 4px;
  margin-bottom: 18px;

  color: var(--text-medium);
  line-height: 1.35;
}

.music-import-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-import-row #spotify-artist-search-input {
  flex: 1;
  min-width: 0;

  width: auto;
  height: 47px;

  padding: 0 13px;

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  border-radius: 14px;
  background: var(--field-bg);

  color: var(--white);
  font-family: inherit;
  font-size: 16px;

  appearance: none;
  -webkit-appearance: none;
}

.music-import-row #spotify-artist-search-input::placeholder {
  color: var(--text-medium);
  opacity: 1;
}

.music-import-row #spotify-artist-search-input:focus,
.music-import-row #spotify-artist-search-input:focus-visible,
.music-import-row #spotify-artist-search-input:active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  background: var(--field-bg-hover);
}

.music-import-search-btn {
  flex: 0 0 auto;

  min-width: 80px;
  height: 47px;

  width: auto;
  max-width: none;

  padding: 0 8px;
  margin-top: 0 !important;

  box-sizing: border-box;
  border-radius: 14px;
}

.music-import-launcher-container .spotify-search-loading,
.music-import-launcher-container .spotify-search-empty {
  margin-top: 11px;

  color: var(--text-medium);
  font-size: 0.82rem;
  line-height: 1.35;
}

.music-import-launcher-container .spotify-search-results {
  margin-top: 14px;
  max-height: 260px;
  overflow: auto;
}

/* ======================================================
SPOTIFY IMPORT MODAL — MATCH AUTO-BUILD CARD STYLE
------------------------------------------------------
Only targets the standalone body-level modal.
Does not affect onboarding because onboarding mounts
#spotify-import-modal inside #pluvi-onboarding-spotify-mount.
====================================================== */

body > #spotify-import-modal .spotify-import-modal-card {
  width: 100%;
  box-sizing: border-box;

  padding: 20px 15px;

  background: var(--surface-gradient-soft);
  border-radius: 22px;
  box-shadow: var(--surface-tactile-shadow);

  overflow: hidden;
}

.spotify-import-modal-card .form-header {
  margin-bottom: 8px;
}

body > #spotify-import-modal .spotify-import-modal-card .modal-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

body > #spotify-import-modal .spotify-import-subheader {
  margin-top: 4px;
  margin-bottom: 18px;

  color: var(--text-medium);
  line-height: 1.35;
}

/* Convert old label-row Spotify search into the same field style */
body > #spotify-import-modal .spotify-search-row {
  display: flex;
  align-items: center;
  gap: 8px;

  width: 100%;
  margin: 0;
  padding: 0;

  border: 0 !important;
}

body > #spotify-import-modal .spotify-search-row::after {
  display: none !important;
}

body > #spotify-import-modal .spotify-search-row label {
  display: none;
}

body > #spotify-import-modal .spotify-search-row #spotify-artist-search-input {
  flex: 1;
  min-width: 0;

  width: 100%;
  height: 47px;

  padding: 0 13px;

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  border-radius: 14px;
  background: var(--field-bg);

  color: var(--white);
  font-family: inherit;
  font-size: 16px;

  appearance: none;
  -webkit-appearance: none;
}

body > #spotify-import-modal .spotify-search-row #spotify-artist-search-input::placeholder {
  color: var(--text-medium);
  opacity: 1;
}

body > #spotify-import-modal .spotify-search-row #spotify-artist-search-input:focus,
body > #spotify-import-modal .spotify-search-row #spotify-artist-search-input:focus-visible,
body > #spotify-import-modal .spotify-search-row #spotify-artist-search-input:active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  background: var(--field-bg-hover);
}

body > #spotify-import-modal .spotify-search-loading,
body > #spotify-import-modal .spotify-search-empty {
  margin-top: 11px;

  color: var(--text-medium);
  font-size: 0.82rem;
  line-height: 1.35;
}

body > #spotify-import-modal .spotify-search-results {
  margin-top: 14px;
}

/* Artist search results */
body > #spotify-import-modal .spotify-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  box-sizing: border-box;

  padding: 11px 12px;

  border-radius: 16px;
  background: var(--field-bg);
  border: 1px solid var(--border-subtle);

  cursor: pointer;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

body > #spotify-import-modal .spotify-search-result-item:active {
  transform: scale(0.985);
}

body > #spotify-import-modal .spotify-search-result-item.is-selected {
  background: var(--field-bg-hover);
  border-color: var(--border-medium);
}

body > #spotify-import-modal .spotify-search-result-img,
body > #spotify-import-modal .spotify-search-result-image,
body > #spotify-import-modal .spotify-artist-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  border-radius: 11px;
  overflow: hidden;

  background: var(--surface-medium);
}

body > #spotify-import-modal .spotify-search-result-img img,
body > #spotify-import-modal .spotify-search-result-image img,
body > #spotify-import-modal .spotify-artist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body > #spotify-import-modal .spotify-search-result-copy,
body > #spotify-import-modal .spotify-artist-copy {
  min-width: 0;
  flex: 1;
}

body > #spotify-import-modal .spotify-search-result-name,
body > #spotify-import-modal .spotify-artist-name {
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body > #spotify-import-modal .spotify-search-result-subtitle,
body > #spotify-import-modal .spotify-artist-meta {
  margin-top: 2px;

  color: var(--text-medium);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* Standalone Spotify modal: make nested input/button row fill the card */
body > #spotify-import-modal .spotify-modal-search-row {
  width: 100% !important;
  box-sizing: border-box !important;
}

body > #spotify-import-modal .spotify-modal-search-row .music-import-row {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body > #spotify-import-modal .spotify-modal-search-row .music-import-row #spotify-artist-search-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

body > #spotify-import-modal .spotify-modal-search-row .music-import-search-btn {
  flex: 0 0 auto !important;
}

/* Loading state after choosing an artist */
body > #spotify-import-modal .spotify-selected-artist-card {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  box-sizing: border-box;

  margin-top: 2px;
  margin-bottom: 14px;
  padding: 12px;

  border-radius: 16px;
  background: var(--field-bg);
  border: 1px solid var(--border-subtle);
}

body > #spotify-import-modal .spotify-selected-artist-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  border-radius: 12px;
  overflow: hidden;

  background: var(--surface-medium);
}

body > #spotify-import-modal .spotify-selected-artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body > #spotify-import-modal .spotify-selected-artist-avatar-fallback {
  width: 100%;
  height: 100%;
  background: var(--surface-medium);
}

body > #spotify-import-modal .spotify-selected-artist-copy {
  min-width: 0;
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

body > #spotify-import-modal .spotify-selected-artist-name {
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body > #spotify-import-modal .spotify-selected-artist-meta {
  color: var(--text-medium);
  font-size: 13px;
  line-height: 1.2;
}

/* Release picker layout polish */
body > #spotify-import-modal .spotify-release-picker-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 2px 0 14px;
}

body > #spotify-import-modal .spotify-text-button {
  appearance: none;
  -webkit-appearance: none;

  border: 0;
  background: transparent;
  padding: 0;

  color: var(--text-medium);
  font-family: inherit;
  font-size: 14px;

  cursor: pointer;
}

body > #spotify-import-modal .spotify-text-button:active {
  opacity: 0.7;
}

body > #spotify-import-modal .spotify-release-results {
  display: flex;
  flex-direction: column;
  gap: 10px;

  max-height: min(43vh, 340px);
  overflow: auto;
  padding-bottom: 2px;
}

body > #spotify-import-modal .spotify-release-item {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  box-sizing: border-box;

  padding: 11px 12px;

  border-radius: 16px;
  background: var(--field-bg);
  border: 1px solid var(--border-subtle);

  cursor: pointer;
}

body > #spotify-import-modal .spotify-release-checkbox {
  flex: 0 0 auto;
}

body > #spotify-import-modal .spotify-release-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  border-radius: 11px;
  overflow: hidden;

  background: var(--surface-medium);
}

body > #spotify-import-modal .spotify-release-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body > #spotify-import-modal .spotify-release-thumb-fallback {
  width: 100%;
  height: 100%;
  background: var(--surface-medium);
}

body > #spotify-import-modal .spotify-release-copy {
  min-width: 0;
  flex: 1;
}

body > #spotify-import-modal .spotify-release-name {
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body > #spotify-import-modal .spotify-release-meta {
  margin-top: 2px;

  color: var(--text-medium);
  font-size: 13px;
  line-height: 1.2;
}

body > #spotify-import-modal .modal-footer {
  margin-top: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

body > #spotify-import-modal .modal-footer .main-button {
  width: 100%;
  min-height: 47px;
  border-radius: 14px;
}

/* Import selected button */
body > #spotify-import-modal #spotify-import-selected {
  width: 100%;
  min-height: 47px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0 13px;

  border-radius: 14px;
  background: var(--surface-medium);

  color: var(--white);
  font-size: 16px;

  box-sizing: border-box;
}

body > #spotify-import-modal #spotify-import-selected.disabled,
body > #spotify-import-modal #spotify-import-selected[aria-disabled="true"] {
  opacity: 0.42;
  pointer-events: none;
}

body > #spotify-import-modal #spotify-import-selected.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

body > #spotify-import-modal .modal-cancel {
  text-align: center;

  font-size: 15px;
  color: var(--text-medium);
}

@media (max-width: 520px) {
  .music-import-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .music-import-row #spotify-artist-search-input {
    min-width: 0;
  }

  .music-import-search-btn {
    flex: 0 0 auto;
    width: auto;
  }
}

/* ======================================================
ONBOARDING — SPOTIFY RELEASE SELECTION POLISH
====================================================== */

#pluvi-onboarding-spotify-mount .spotify-release-item {
  position: relative;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

#pluvi-onboarding-spotify-mount .spotify-release-item:active {
  transform: scale(0.985);
}

#pluvi-onboarding-spotify-mount .spotify-release-item:has(.spotify-release-checkbox:checked) {
  background: var(--field-bg-hover);
  border-color: var(--border-medium);
  box-shadow:
    inset 0 0 0 1px var(--white-04),
    0 0 18px rgba(196,60,255,0.08);
}

#pluvi-onboarding-spotify-mount .spotify-release-checkbox {
  accent-color: var(--white);
}

/*#pluvi-onboarding-spotify-mount #spotify-import-selected:not(.disabled) {
  background: var(--white);
  color: var(--black);
}*/

/* ======================================================
MUSIC EMPTY STATE — ADD MANUALLY UNDER IMPORT BUTTON
====================================================== */

/* Do not change #page-empty-wrapper height/layout.
   Match the absolute positioning system already used by .big-circle-add. */

[data-page="music"] .music-add-manually {
  position: absolute;
  top: calc(50% + 30px);
  left: 50%;
  transform: translateX(-50%);

  margin-top: 0;

  z-index: 1000;

  color: var(--text-medium);
  font-size: 14px;
  font-weight: 600;
  text-align: center;

  user-select: none;

  transition:
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

/* Hide it once the empty-state add button is no longer the active state */
[data-page="music"] .big-circle-add:not(.is-empty) + .music-add-manually,
[data-page="music"] .page-empty-wrapper.has-shows .music-add-manually {
  display: none;
}

/* =====================================================
PLUVI GRADIENT BORDER (CRISP, NOT MUSHY)
===================================================== */

.big-circle-add::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  /* Logo gradient */
  background: linear-gradient(
    180deg,
    #ff4d4d 0%,
    #ff4fa3 35%,
    #a93cff 70%,
    #6f2cff 100%
  );

  opacity: 0.9;

  /* No heavy blur — keep it sharp */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}

/* =====================================================
ICON + LABEL
===================================================== */

.big-circle-add svg {
  position: relative;
  z-index: 3;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  stroke: var(--white);
  stroke-width: 5px;
  margin-right: -10px;

  filter: drop-shadow(0 2px 6px var(--black-45));
}

.big-circle-add p {
  margin: 0;
  font-weight: 600;
  color: var(--white);
  font-size: 0px;
  opacity: 0;
}

/* =====================================================
EMPTY STATE
===================================================== */

.big-circle-add.is-empty {
  top: calc(50% - 15px);
  bottom: auto;
  transform: translateY(-50%);
  width: 60%;
  transition: none !important;
}

.big-circle-add.is-empty p {
  font-size: 16px;
  opacity: 1;
  transition: none;
}

.big-circle-add.is-empty svg {
  margin-right: 0;
  width: 8px;
  height: 8px;
  stroke-width: 6px;
  margin-bottom: -1px;
  transition: none;
}

.big-circle-add.is-empty.is-docked {
  transform: translateY(-50%);
}

.big-circle-add.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;

  /* Logo gradient */
  background: linear-gradient(
    180deg,
    #ff4d4d 0%,
    #ff4fa3 35%,
    #a93cff 70%,
    #6f2cff 100%
  );

  opacity: 0.75;

  /* No heavy blur — keep it sharp */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}







.previous-release-container {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
  color: var(--text-medium);
}


/* ================= INDEX PAGE ================= */
.index-artist-name {
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 16px;
}

.index-artist-bio {
  margin: 0 auto;
  text-align: center;
  margin-top: -13px;
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.index-add-button {
  position: absolute;
  right: 17px;
  top: 22px;
  background:var(--surface-medium);
  border: solid 1px var(--white-04);
  padding: 8px;
  border-radius: 9px;
}

.index-add-button svg {
  fill: var(--white);
  width: 14px;
}

.index-general-edit-button {
  position: absolute;
  right: 17px;
  top: 20px;
}

.index-general-edit-button svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
  width: 19px;
  margin-right: -1px;
}


.index-empty-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--empty-text);
  background-color: var(--field-bg);
  height: 100px;
  border-radius: 14px;
  margin: 0;
  margin-bottom: -3px;
  padding: 0px 50px;
  text-align: center;
}

.index-edit-button {
  position: fixed;
  bottom: 85px;
  right: 12px;
  border-radius: 11px;
background: color-mix(in srgb, var(--white) 95%, transparent);
z-index: 999;
box-shadow: var(--shadow-floating);
backdrop-filter: blur(10px) saturate(160%);
}

.index-edit-button svg {
  padding: 9px 9px 10px 10px;
  width: 26px;
  height: 26px;
  margin-bottom: -4px;
  stroke: var(--black);
  fill: none;
  stroke-width: 3px;
}

.index-social-container {
  margin-top: 0px !important;
}

/* ======================================================
INDEX EDIT MODAL — SLIDE UP (SCROLLABLE / BLURRED)
====================================================== */

/* overlay */
.index-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;

  background: var(--overlay-strong);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(9px) saturate(140%);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* modal panel */
.index-edit-modal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 90vh;

  border-radius: 22px 22px 0 0;
  background: var(--light-black);

  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);

  z-index: 99999;
  overflow: hidden; /* 🔑 required for sticky header */
}

/* OPEN STATE */
.index-edit-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.index-edit-overlay.open .index-edit-modal {
  transform: translateY(0);
}

/* ======================================================
SCROLL AREA
====================================================== */

.index-edit-scroll {
  max-height: calc(90vh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 15px;
}

/* ======================================================
STICKY HEADER (Customize Home + Done)
====================================================== */
.index-edit-header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 15px;
  background: var(--light-black);

  border-bottom: 1px solid var(--surface-medium);

  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.index-edit-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.index-edit-done-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.25;
}

.index-edit-done-btn:not(.disabled) {
  opacity: 1;
}

.index-edit-done-btn.disabled {
  pointer-events: none;
}

.index-edit-close {
  background: none;
  border: none;
  margin-top: 5px;
}

.index-edit-close svg {
  width: 14px;
  stroke: var(--white);
  stroke-width: 4px;
}

.index-edit-close:active svg {
  opacity: 1;
}

/* ======================================================
MODAL INTERNALS
====================================================== */

.index-modal-edit-container {
  background: var(--lighter-black);
  border-radius: 22px;
  padding: 20px 15px;
  margin-bottom: 15px;
}


/* ======================================================
BIO TEXTAREA
====================================================== */

.index-bio-textarea {
  width: 100%;
  min-height: 69px;
  padding: 12px 13px;
  box-sizing: border-box;
  margin-bottom: -14px;
  font-family: inherit;
  background: var(--field-bg);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 16px !important;
  resize: none;
}

.index-bio-textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
}


/* ======================================================
CHARACTER COUNTER
====================================================== */

.index-bio-counter {
  text-align: right;
  margin-top: 14px;        /* 👈 always present */
  margin-bottom: -7px;    /* 👈 always present */
  margin-right: 3px;
  font-size: 12px;
  color: var(--text-medium);

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;

  transition:
  max-height 0.2s ease,
  opacity 0.15s ease;
}

.index-bio-textarea:focus + .index-bio-counter,
.edit-mode-container:focus-within .index-bio-counter {
  max-height: 24px;
  opacity: 1;
  pointer-events: auto;
}




.index-bio-counter.limit {
  color: var(--warning);
  opacity: 1;
}

/* ======================================================
INDEX HORIZ SCROLL CONTAINER / CARDS
====================================================== */

/* Animate the mask opacity, not the mask width */
@property --index-scroll-fade-alpha {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.index-horizontal-scroll {
  display: flex;
  gap: 15px;
  padding-top: 3px;
  overflow-x: auto;
  margin-left: -14px;
  width: calc(100vw - 31px);

  --index-scroll-fade-alpha: 1;

  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 calc(100% - 38px),
    rgba(0,0,0,var(--index-scroll-fade-alpha)) 100%
  );

  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 calc(100% - 38px),
    rgba(0,0,0,var(--index-scroll-fade-alpha)) 100%
  );

  transition:
    --index-scroll-fade-alpha 220ms ease,
    0.2s;

  scroll-snap-type: x proximity;
  scroll-padding-left: 15px;
  scroll-padding-right: 15px;
  -webkit-overflow-scrolling: touch;
}

/* Fade visible */
.index-horizontal-scroll.has-scroll-overflow:not(.is-scrolled-end) {
  --index-scroll-fade-alpha: 0;
}

.index-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.index-card {
  width: 75%;
  flex: 0 0 auto;
  scroll-snap-align: center;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.index-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.index-merch-card img {
  border-radius: 12px 12px 0px 0px;
}

.index-merch-tip .index-card-button {
  margin-top: 36.5px;
}

.index-merch-purchase-btn {
  margin-top: 13px;
  border-radius: 15px;
  padding: 13px;
  font-size: 16px;
  background: var(--surface-medium);
}

.index-render-module[data-section="merch"] {
  padding-bottom: 18px;
}

.index-shows-scroll.has-single-card .index-card {
  width: 100%;
}

.index-tours-scroll.has-single-card .index-card {
  width: 100%;
}

.index-discography-scroll.has-single-card .index-card {
  width: 100%;
}

.index-merch-scroll.has-single-card .index-card {
  width: 100%;
}

.index-merch-scroll .index-card img {
  border-radius: 15px 15px 0px 0px !important;
}




.index-card.no-image .index-card-img-fallback {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--surface-medium);
  border-radius: 15px;
}

.index-show-image-wrapper.is-placeholder::after {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--lighter-black);
  border-radius: 15px;
}

.index-card-body {
  margin-top: 14px;
}

.index-card-title {
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}



.index-card-subtitle {
  font-size: 15px;
  color: var(--text-medium);
}

.index-merch-scroll .index-card-title {
  display: block;
  width: 100%;
  max-width: 100%;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.index-merch-scroll .index-card-subtitle {
  color: var(--text-medium);
  font-size: 16px;
}


/* ======================================================
INDEX — MERCH IMAGE ARROWS
====================================================== */

.index-merch-scroll .index-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: var(--lighter-black);
}

.index-merch-scroll .index-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.index-merch-scroll .index-card-img.active {
  opacity: 1;
}

/* ======================================================
INDEX / MERCH / EPK — IMAGE ARROWS
Light/dark-aware shared carousel controls
====================================================== */

.index-card-img-wrapper {
  --media-arrow-color: rgba(255,255,255,0.86);
  --media-arrow-shadow:
    0 1px 3px rgba(0,0,0,0.45),
    0 0 10px rgba(0,0,0,0.22);
}

.index-card-img-wrapper.media-is-light,
.index-card-img-wrapper.light-image {
  --media-arrow-color: rgba(10,10,10,0.74);
  --media-arrow-shadow:
    0 1px 3px rgba(255,255,255,0.35),
    0 0 10px rgba(255,255,255,0.18);
}

.index-card-img-wrapper.media-is-dark,
.index-card-img-wrapper.dark-image {
  --media-arrow-color: rgba(255,255,255,0.88);
  --media-arrow-shadow:
    0 1px 3px rgba(0,0,0,0.50),
    0 0 10px rgba(0,0,0,0.24);
}

.index-merch-scroll .index-card-arrow,
.merch-view-item .index-card-arrow,
.epk-gallery-view .index-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  user-select: none;
  z-index: 5;
  color: var(--media-arrow-color) !important;
  filter: drop-shadow(var(--media-arrow-shadow));
}

.index-merch-scroll .index-card-arrow::before,
.merch-view-item .index-card-arrow::before,
.epk-gallery-view .index-card-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.index-merch-scroll .index-card-arrow.left-arrow,
.merch-view-item .index-card-arrow.left-arrow,
.epk-gallery-view .index-card-arrow.left-arrow {
  left: 0;
  padding: 14px;
}

.index-merch-scroll .index-card-arrow.left-arrow::before,
.merch-view-item .index-card-arrow.left-arrow::before,
.epk-gallery-view .index-card-arrow.left-arrow::before {
  transform: rotate(-135deg);
}

.index-merch-scroll .index-card-arrow.right-arrow,
.merch-view-item .index-card-arrow.right-arrow,
.epk-gallery-view .index-card-arrow.right-arrow {
  right: 0;
  padding: 14px;
}

/* ======================================================
MERCH VIEW — IMAGE CAROUSEL STACKING
(matches index-card behavior)
====================================================== */

.merch-view-item .index-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* stack all images */
.merch-view-item .index-card-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* active image only */
.merch-view-item .index-card-img.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}



.index-card-button {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lightest-black);
  color: var(--white);
  border-radius: 9px;
  width: calc(100% - 20px);
  margin-top: 12px;
  padding: 10px;
}

/* =========================================
INDEX CARD — IMAGE OVERLAY CENTERING
========================================= */

.index-card-action--overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--overlay-medium);
  backdrop-filter: blur(4px);
  padding: 8px 13px 8px 10px;
  border-radius: 11px;
}

.index-card-presave-label {
  display: block;
  font-size: 12px;
  color: var(--text-medium);
  margin-bottom: 2px;
  font-weight: 500;
}

.index-card-presave-date {
  font-size: 14px;
  font-weight: 600;
}

.index-card-presave-button {
  font-size: 13px;
  color: var(--white);
  margin: 0;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 4.5px 0px;
  width: 100%;
  border-radius: 100px;
  border: solid 1px var(--border-medium);
}





/******************************************************
==================== FULLSCREEN MODAL =================
*******************************************************/
/* Overlay */
.builder-modal-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  display: flex;
  justify-content: center;
  z-index: 8888;
  contain: layout paint;
  will-change: transform;
}

.builder-modal-done {
  pointer-events: auto !important;
  z-index: 10001;
}

.builder-modal-footer {
  pointer-events: auto;
  z-index: 10000;
}


/* Enable interaction when open */
.builder-modal-overlay.builder-modal-open {
  pointer-events: auto;
}

/* Closing animation */
.builder-modal-overlay.closing .builder-modal {
  transform: translateY(100%);
}

/* ---------- MAIN MODAL CONTAINER ---------- */
/* This must scroll (not the body) */
.builder-modal {
  width: 100%;

/* Use dynamic viewport height so nothing hides under Safari’s bars */
height: 100vh;
height: 100dvh;
max-height: 100vh;
max-height: 100dvh;

background: var(--background);
transform: translateY(100%);
transition: transform 0.33s ease;

/* Outer container is the ONLY scrollable thing */
overflow-y: auto;
-webkit-overflow-scrolling: touch;

pointer-events: auto;

/* Add bottom padding so footer clears browser / bottom nav */
padding: 0 15px 145px 15px;

display: flex;
flex-direction: column;
box-sizing: border-box;
position: relative;
}

.modal-subheader {
  font-size: 13px;
  color: var(--white);
  margin: 0;
  margin-bottom: 15px;
}

/* Public pages should not animate the modal shell */
body.public-mode .builder-modal {
  transition: none !important;
}


/* When opened */
.builder-modal-overlay.builder-modal-open .builder-modal {
  transform: translateY(0);
}

.home-custom-link-bar {
  width: calc(100% - 30px) !important;
  z-index: 800 !important;
  background: transparent !important;
  margin-top: 37.5px !important;
  margin-bottom: 6px;
  margin-left: 0px !important;
  border-top: 1px solid var(--surface-medium);
  padding: 13px 15px 11px 15px !important;
  backdrop-filter: none !important;
}

/* ---------- HEADER INSIDE FIXED BAR ---------- */
.builder-modal-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  width: 100vw;
  margin-left: -15px;
  margin-bottom: 12px;
}

.builder-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);

  min-width: 0 !important;
  max-width: 100% !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.builder-modal-header-button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 0 15px;
}

.builder-modal-header-button svg {
  width: 14px;
  margin-top: -3px;

  color: var(--white);
  fill: currentColor;

  stroke-width: 3px;
}

#builder-modal-cancel svg,
#builder-modal-cancel svg line {
  stroke: var(--white) !important;
}

/* ---------- SCROLLABLE BODY ---------- */
.builder-modal-body {
  flex: 1;
  overflow: visible;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: auto !important;
}

/******************************************************
================ Input Rows (NOT boxed) ===============
*******************************************************/
.form-header {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  margin-bottom: 17px;
  margin-top: -1px;
}

.index-form-header-tour {
  margin-top: 23px;
  padding: 16px 0 0 0;
  border-top: 1px solid var(--surface-medium);
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-strong);
  transition: 0.2s;
}

.index-form-header-tour.no-single-shows {
  margin-top: -7px;
  padding-top: 0;
  border-top: none;
  color: var(--white);
}


.toggle-row-label {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 13px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left !important;
  position: relative;
}

.form-row-links-adjustment {
  display: flex;
  justify-content: flex-end;
}

.form-row-links-adjustment .social-toggle {
  margin-right: 15px;
  margin-bottom: -3px;
}

#show-lineup-input {
  white-space: wrap;
}

.form-row:first-of-type {
  padding-top: 0px;
}

/* Fix: when a presave badge DIV sits before the first form-row (Credits) */
#discog-credits .presave-live-badge + .form-row {
  padding-top: 0px;
}


.form-row label {
  flex: 0 0 100px;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: -1px;
}

.form-row-small label {
  flex: 0 0 80px;
}

.form-row-md label {
  flex: 0 0 113px;
}

.form-row-large label {
  flex: 0 0 130px;
}

.form-row-xlarge label {
  flex: 0 0 150px;
}

.form-row input {
  width: 100%;
  min-width: 0;

  background: transparent;
  border: none !important;
  outline: none !important;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  padding: 0;
  box-shadow: none !important;
  margin-bottom: -1px;
}

/* Truncate long input values when the field is not being edited */
.form-row input:not(:focus) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keep form row text metrics stable across value / placeholder / focus */
.form-row input,
.form-row input::placeholder {
  font-family: "Open Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

.form-row input {
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  appearance: none;
  -webkit-appearance: none;
}

.form-row input::placeholder {
  color: var(--text-medium);
  opacity: 0.8;
}

/* Account drawer link rows — prevent first-focus row height jump */
#account-drawer .general-page-container .form-row {
  min-height: 43.5px;
  box-sizing: border-box;
}

#account-drawer .general-page-container .form-row-input-clear {
  height: 20px;
  line-height: 20px;
  transform: translateY(1px);
}

#account-drawer .general-page-container .form-row.has-input-clear.is-input-focused.has-input-value .form-row-input-clear {
  flex-basis: 20px;
  width: 20px;
  min-width: 20px;
}


/* ======================================================
FORM ROW — FOCUSED INPUT CLEAR BUTTON
====================================================== */

.form-row.has-input-clear input {
  padding-right: 0;
}

.form-row.has-input-clear.has-sort-handle input {
  padding-right: 0;
}

/* Let the clear button take physical space only while visible */
.form-row-input-clear {
  flex: 0 0 0;
  width: 0;
  height: 24px;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;

  overflow: hidden;

  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  transform: translateY(2px);

  background: transparent;
  color: var(--text-medium);

  font-size: 21px;
  line-height: 24px;
  font-weight: 400;

  opacity: 0;
  pointer-events: none;

  z-index: 4;
  -webkit-tap-highlight-color: transparent;
}

.form-row.has-input-clear.is-input-focused.has-input-value .form-row-input-clear {
  flex-basis: 24px;
  width: 24px;
  min-width: 24px;
  margin-left: 6px;

  opacity: 1;
  pointer-events: auto;
}

.form-row-input-clear:active {
  background: transparent;
  color: var(--white);
}

/* Don’t show the custom clear affordance on rows with cramped/system inputs */
.form-row.no-input-clear .form-row-input-clear {
  display: none !important;
}

/** clear button end **/

.tool-input-row.has-input-clear input {
  padding-right: 0;
  min-width: 0;
}

.tool-input-row .form-row-input-clear {
  flex: 0 0 0;
  width: 0;
  height: 24px;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transform: translateY(2px);

  overflow: hidden;

  border: none;
  outline: none;
  padding: 0;
  margin: 0;

  background: transparent;
  color: var(--text-medium);

  font-size: 21px;
  line-height: 24px;
  font-weight: 400;

  opacity: 0;
  pointer-events: none;

  z-index: 4;
  -webkit-tap-highlight-color: transparent;
}

.tool-input-row.has-input-clear.is-input-focused.has-input-value .form-row-input-clear {
  flex-basis: 24px;
  width: 24px;
  min-width: 24px;
  margin-left: 2px;
  margin-right: 12px;
  margin-top: -1px;

  opacity: 1;
  pointer-events: auto;
}

textarea::placeholder {
  color: var(--text-muted);
}

/******************************************************
================ Add Show Button ======================
*******************************************************/
.shows-add-show-button {
  margin-top: 23px;
  margin-bottom: -4px;
}

/******************************************************
==================== SOCIAL TOGGLE ====================
*******************************************************/
.form-toggle-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ======================================================
INDEX — SHOW/HIDE DIM STATE
Only dim the actual content body, never the header row/toggle
====================================================== */

.index-horizontal-scroll.index-section-dimmed {
  opacity: 0.4 !important;
  transition: opacity 0.2s ease;
  will-change: opacity;
  transform: translateZ(0);
}

/* Empty-state text uses color instead of opacity.
   This avoids mobile Safari/WKWebView opacity repaint bugs. */
.index-empty-container.index-empty-dimmed {
  opacity: 0.6 !important;
  color: var(--empty-text);
  transition: opacity 0.2s ease;
  will-change: opacity;
  transform: translateZ(0);
}

.index-render-module.index-section-dimmed .index-header-row,
.index-render-module.index-section-dimmed .index-header-controls {
  opacity: 1 !important;
}

.index-section-dimmed .index-form-header-tour {
  opacity: 0.3;
  transition: 0.2s;
}

.index-tours-scroll,
.index-shows-scroll {
  margin-bottom: -3px;
}



/* TRACK — OFF */
.toggle {
  width: 46px;
  height: 26px;
  border-radius: 40px;
  background: var(--border-medium);
  position: relative;
  transition: background 0.22s ease;
}

/* TRACK — ON */
.toggle--on {
  background: var(--white); /* bright and premium */
}

/* KNOB — OFF */
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white); /* bright → looks interactive */
  opacity: 0.85;
  border-radius: 50%;
  transition: background 0.22s ease, transform 0.22s ease;
}

.social-toggle,
.previous-toggle,
.index-toggle {
  min-width: 46px;
}

/* KNOB — ON */
.toggle--on .toggle-knob {
  background: var(--lighter-black); /* softer than black, more premium */
  transform: translateX(20px);
  opacity: 1;
}

/* TRACK — ON */
.toggle--on {
  background: var(--white);
}


/* KNOB — ON */
.toggle--on .toggle-knob {
  background: var(--lighter-black);
  transform: translateX(20px);
}


.edit-mode-container,
.general-page-container {
  background: var(--surface-gradient-soft);
  border-radius: 22px;
  padding: 20px 15px;
  margin-bottom: 20px;
  position: relative;
}

.no-bottom-border {
  border-bottom: none !important;
  padding-bottom: 0;
}

.edit-mode-streaming-container .form-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.social-display-row {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 15px 0 22px 0;
  gap: 8px;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--light-black);
  padding: 11px;
  box-sizing: border-box;
}

.icon-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--white);
  min-width: 20px;
}

/* Adjustments */
.icon-wrapper[data-icon="apple"] svg {

  margin-top: -2.5px !important;
  margin-left: -1px !important;
}

.icon-wrapper[data-icon="tiktok"] svg {
  transform: scale(0.9);
}

.icon-wrapper[data-icon="website"] svg {

}

.icon-wrapper[data-icon="patreon"] svg {
  transform: scale(0.92);
}

.icon-wrapper[data-icon="website"] svg {
  transform: scale(0.97);
}


/******************************************************
================ Tour / Show Row ======================
*******************************************************/
.tour-stop-row {
  display: flex;
  gap: 15px;
  padding: 15px;
  align-items: center;
  background: var(--light-black);
  border-radius: 22px;
  position: relative;
  margin-bottom: 10px;
}

.past-shows-container .tour-stop-row:first-of-type {
  margin-top: 0px;
}


/* ===================================== */
/* DATEBOX — minimal, vertical badge      */
/* ===================================== */

.tour-stop-datebox {
  width: 65px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 13px 0px 12px 0px;
  border-radius: 14px;
  background: var(--surface-medium);
  align-self: flex-start;
}

/* Month */
.datebox-month {
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.3px;
  margin: 0;
  margin-bottom: -2px;
}

/* Day */
.datebox-day {
  font-size: 25px;
  line-height: 22px;
  font-weight: 650;
  margin: 0;   /* ← important */
  color: var(--white);
}

/* Weekday */
.datebox-weekday {
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.3px;
  margin: 0;
}



/* ===================================== */
/* CONTENT — open, breathable text block  */
/* ===================================== */

.tour-stop-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: calc(100% - 122px);
}


/* Text block */
.tour-stop-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: -1px;
}

.tour-stop-venue {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.tour-stop-meta {
  font-size: 15px;
  color: var(--text-medium);
  margin: 0;
}


.tour-ticket-link {
  position: absolute;
  bottom: 6px;
  right: 19px;
  text-decoration: none;
  border-radius: 18px;
}

.tour-ticket-link svg {
  width: 27px;
  height: 27px;
  stroke-width: 3px;
  stroke: var(--white);
  fill: none;
}


.page-empty-state {
  color: var(--white);
  font-size: 16px;
}

.tour-soldout-badge {
  position: absolute;
  bottom: 17px;
  right: 15px;

  background: var(--warning);
  color: var(--white);

  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  border-radius: 4px;
  transform: rotate(-4.5deg);
}

.shows-full-width-divider {
  width: calc(100vw - 30px);
  height: 1px;
  background: var(--white);
  opacity: 0.5;
  margin: 25px 0;
  margin-left: -15px;
}

.show-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  margin-top: -2px;
  margin-bottom: 10px;
}

.show-label-added {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.delete-show-btn {
  height: 19px;
  stroke: var(--warning);
  stroke-width: 3.4px;
  fill: none;
  margin-bottom: -1px;
}

.page-card-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.epk-page .page-card-img-wrapper {
  aspect-ratio: auto;
  height: calc(100vh - 287px);
}

.epk-page .page-card-img {
  height: 100%;
} 

/* Hide broken empty images */
.page-card-img[src=""],
.page-card-img:not([src]) {
  display: none !important;
}

.placeholder-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--placeholder-bg);
  z-index: 2;
}

.placeholder-icon {
  width: 28px;
  opacity: 0.12;
  stroke: var(--white);
  stroke-width: 3px;
  fill: none;
}



/* =====================================
PAST SHOWS TOGGLE BUTTON
===================================== */
.past-shows-wrapper {
  overflow: hidden;
  margin-top: 10px;
  opacity: 0.6;
  border: solid 1px var(--border-medium);
  border-radius: 22px;
box-shadow:
  var(--shadow-soft),
  var(--inset-soft);
}

.past-shows-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 14px 0;
  color: var(--text-medium);
}

/* Chevron */
.past-shows-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;

  width: 18px;
  height: 18px;

  background-color: var(--text-medium);

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='6,9 12,15 18,9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='6,9 12,15 18,9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;

  transform-origin: 50% 50%;
  transition: transform 0.4s ease;
}

/* CLOSED (down) — nudge slightly lower */
.past-shows-toggle[aria-expanded="false"]::after {
  transform: translateY(-43%) rotate(0deg);
}

/* OPEN (up) — true center */
.past-shows-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}


.past-shows-container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding: 0 15px;
}

.past-shows-container.is-open {
  transform: translateY(0);
  max-height: none;
}

.past-show:first-child {
  margin-top: 10px !important;
}

.past-show:last-of-type {
  margin-bottom: 15px;
}




/* ======================================================
INDEX — TOUR STOP (BASE)
====================================================== */

.index-tour-stop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-medium);
  border-radius: 15px;
  position: relative;
}

/* Tour variant */
.index-card--tour .index-tour-stop-row {
  border-radius: 15px;
  margin-top: 8px;
}


.index-card--tour .index-tour-stops-scroll > .index-tour-stop-row:first-child {
  margin-top: 0 !important;
}

.index-card--tour.no-image .index-tour-stops-scroll {
  margin-top: 0px;
}

.index-tour-stops-scroll.no-bottom-padding {
  padding-bottom: 0;
}

/* ======================================================
INDEX — TOUR STOP DATEBOX
====================================================== */

.index-tour-stop-datebox {
  width: 60px;
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  padding: 12px 0 11px 0px;
  border-radius: 10px;
  background: var(--surface-medium);
  text-align: center;

  align-self: flex-start;
}

.index-datebox-month {
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;

  color: var(--white);
  margin: 0;
  margin-bottom: -2px;
}

.index-datebox-day {
  font-size: 25px;
  line-height: 22px;
  font-weight: 650;

  color: var(--white);
  margin: 0;
}

.index-datebox-weekday {
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;

  color: var(--white);
  margin: 0;
}

/* ======================================================
INDEX — TOUR STOP CONTENT
====================================================== */

.index-tour-stop-content {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: calc(100% - 102px);
}

.index-tour-stop-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: -2px;
}

.index-tour-stop-venue {
  font-size: 17px;
  font-weight: 600;

  color: var(--white);
  margin: 0;
}

.index-tour-stop-meta {
  font-size: 15px;
  line-height: 19px;

  color: var(--text-medium);
  margin: 0;
}

/* ======================================================
INDEX — TOUR STOP LINK + ICON
====================================================== */

.index-tour-stop-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.index-ticket-icon { 
  position: absolute; 
  bottom: 8px; 
  right: 15px; 
} 

.index-ticket-icon svg {  
  width: 27px; 
  stroke-width: 3px;
  stroke: var(--white);
  fill: none;
}

/* ======================================================
INDEX — TOUR CARD IMAGE
====================================================== */

.index-show-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 15px;
  background: var(--lighter-black);
}

.index-show-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 15px;
}

/* ======================================================
INDEX — TOUR CARD SCROLL SYSTEM (NEW)
====================================================== */

/* Scroll container (REPLACES old tour scroll classes) */
.index-tour-stops-scroll {
  max-height: 265px;
  overflow-y: auto;
  padding-bottom: 3px;
  margin-top: 13px;
}

/* ======================================
TOUR STOPS — FADE MASK
====================================== */

.index-tour-stops-mask {
  position: relative;
}

/* bottom fade */
.index-tour-stops-mask::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 45px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
  to bottom,
  var(--hero-fade-transparent),
  var(--hero-fade-solid)
);

  opacity: 1;
  transition: opacity 0.2s ease;
}

/* hide fade when fully scrolled */
.index-tour-stops-mask.at-bottom::after {
  opacity: 0;
}

.index-tour-stops-mask.is-transparent::after {
  display: none !important;
  content: none !important;
}


/* ======================================================
INDEX — TOUR CARD FOOTER
====================================================== */

.index-view-more-dates {
  display: block;
  margin-top: 17px;

  text-align: center;
  font-size: 14px;
  color: var(--white);
  text-decoration: underline;
}




/******************************************************
====================== HEADER IMAGE ===================
*******************************************************/
/* EDIT MODE HEADER IMAGE AREA */
.index-header-image-container {
  position: relative;
}

#header-image-edit-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border-radius: 22px;
  position: relative;
}

.index-header-image-edit-container {
  width: 100vw !important;
  margin-left: -15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
  border-radius: 0px !important;
}

.index-header-image-edit-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 40px;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    var(--background)
  );
}

#header-image-preview {
  width: 100%;
  border-radius: 22px;
  display: block;
  pointer-events: auto;
  box-shadow: var(--shadow-hero);
}

.index-header-image-preview {
  border-radius: 0px !important;
    box-shadow: var(--shadow-hero);
}

/* CROPPER OVERLAY */
#header-cropper-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-extra-strong);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
}

#header-cropper-wrapper {
  padding: 20px 18px;
  background: var(--light-black);
  border-radius: 22px;
/*border: solid 1px var(--surface-medium);*/
}

/* CROPPER BOX */
#header-cropper-box {
  width: calc(100vw - 64px);
  height: auto;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  max-height: calc(100vh - 100px); /* crucial: prevents spilling off screen */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  align-items: center; /* ensures children center horizontally */
}

#header-cropper-box img {
  overflow: auto;
  max-height: calc(100vh - 300px);
}

/* CROPPER IMAGE */
#header-cropper-image {
  width: 100%;
  max-height: calc(100vh - 100px); /* ensures fit */
  object-fit: contain;
  display: block;
}

#header-cropper-box .cropper-container {
  margin-left: auto !important;
  margin-right: auto !important;
}


/* CROPPER BUTTONS */
#header-cropper-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  margin-top: 15px;
  gap: 10px;
}

.cropper-button {
  background: var(--lighter-black) !important;
}

/* EDIT MODE PREVIEW */
#header-image-preview {
  width: 100%;
  margin: 0;
  border-radius: 22px;
}

#header-image-view-mode,
#headerimage-view-mode {
  width: 100vw;
  margin-top: -15px;
  margin-left: -15px;
  position: relative;
  overflow: visible;

  transform-origin: center top;
  will-change: transform, opacity;

  background: var(--background);
  transform: translateZ(0);
  backface-visibility: hidden;
}

#header-image-view-mode::after,
#headerimage-view-mode::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  /* Pull it below the image slightly to hide transform seams */
  bottom: -1px;

  /* Slightly taller to compensate for the negative bottom */
  height: 170px;

  pointer-events: none;
  z-index: 2;

background: linear-gradient(
  to bottom,
  var(--hero-fade-transparent) 0%,
  var(--hero-fade-soft) 42%,
  var(--hero-fade-strong) 74%,
  var(--hero-fade-solid) 94%,
  var(--background) 100%
);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.header-image-view-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;

  /* Important: wrapper handles zoom now */
  transform: none !important;
  transition: none !important;
}

/* ======================================================
SHOWS/MODAL HEADER IMAGE — FORCE SQUARE DISPLAY
====================================================== */

#header-image-edit-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#header-image-preview {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* View mode header image should cover cleanly too */
#header-image-view-mode img,
#header-image-view-mode .header-image-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ======================================================
SHOWS — SQUARE HEADER IMAGE IN VIEW MODE
====================================================== */

body[data-page="shows"] #header-image-view-mode,
body[data-page="shows"] #headerimage-view-mode {
  width: 100vw;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
}

body[data-page="shows"] #header-image-view-mode .header-image-view-img,
body[data-page="shows"] #headerimage-view-mode .header-image-view-img,
body[data-page="shows"] #header-image-view-mode img,
body[data-page="shows"] #headerimage-view-mode img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center;
}

.square-image-button svg {
  width: 25px;
  height: 25px;
  fill: var(--white);
}

.square-image-button {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-medium);
  font-size: 15px;
  text-align: center;
  border-radius: 22px;
  background: var(--light-black);
}

.index-square-image-button {
  border-radius: 0px !important;
}

.edit-only {
/* nothing needed here by default */
}


/* Header image delete button */
.delete-header-image-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 8;

  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: none;

  display: none;
  align-items: center;
  justify-content: center;

  background: color-mix(in srgb, var(--background) 78%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);

  padding: 0;
}

.delete-header-image-btn svg {
  width: 17px;
  height: 17px;
  stroke: var(--white);
  stroke-width: 3;
  fill: none;
}

#header-image-edit-container.has-header-image .delete-header-image-btn {
  display: flex;
}

#header-image-edit-container:not(.has-header-image) .delete-header-image-btn {
  display: none !important;
}


/* ================= GLOBAL CUSTOM LINK BAR ================= */
.custom-link-bar-inner {
  flex: 1;  
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-custom-link-bar .slug-hint {
  right: 113px;
  border-radius: 7px;
  top: 48.5px; 
}

.slug-hint {
  position: absolute;
  right: 112px;
  top: 84px;

  border-radius: 6px;
  font-weight: 500;
  font-size: 12px;
  margin: 0;
  z-index: 1000;

  background: var(--warning);
  padding: 6px 8px 6px 7px;

  opacity: 0;
  visibility: visible; /* remove hidden */
  pointer-events: none;

  transition: opacity 200ms cubic-bezier(.4,0,.2,1);
}

.slug-hint.show {
  opacity: 1;
  pointer-events: auto;
}

.slug-hint.error {
  color: var(--white);
}

/* ======================================================
SLUG UI — TIMING UNIFICATION
====================================================== */

.custom-link-input,
#page-slug,
#builder-modal-done,
.builder-modal-header-button,
.builder-modal-header-button-right,
.modal-share-btn,
.slug-hint {
  transition: opacity 200ms cubic-bezier(.4,0,.2,1) !important;
  transition-delay: 0ms !important;
}

.custom-link-input.slug-invalid {
  opacity: 0.4;
}



.bottom-fixed {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  z-index: 999;
}

.custom-link-bar {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1200;
  margin: 0px;
  margin-left: -15px;
  padding: 15px;
  margin-bottom: 2px;

  background: color-mix(in srgb, var(--background) 70%, transparent);
  backdrop-filter: blur(10px) saturate(160%);

  transform: translateY(0);
  transition: transform 0.4s ease,
  border-color 0.2s ease;
}

/* ======================================================
MODE SWITCH HEADER LOCK
Prevents top header/link bars from animating during edit/view toggle
====================================================== */

body.mode-switch-lock .index-top-header,
body.mode-switch-lock .custom-link-bar,
body.mode-switch-lock .home-custom-link-bar {
  transform: translateY(-120%) !important;
  transition: none !important;
}

body.mode-switch-reveal .index-top-header,
body.mode-switch-reveal .custom-link-bar,
body.mode-switch-reveal .home-custom-link-bar {
  transition: transform 0.4s ease, border-color 0.2s ease !important;
}

body.mode-switch-instant .index-top-header,
body.mode-switch-instant .custom-link-bar,
body.mode-switch-instant .home-custom-link-bar {
  transition: none !important;
}

.custom-link-title {
  color: var(--white);
  font-weight: 500;
  font-size: 13px;
  margin: 0;
  margin-bottom: 8px;
}

/* Left side: label + input */
.custom-link-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.custom-link-input-row {
  display: flex;
  align-items: center;
  border-radius: 12px;
  z-index: 888;
  background: var(--white-20);
}





.custom-link-input-row,
.modal-share-btn {
  height: 50px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.modal-share-btn {
  flex-shrink: 1;
  background: var(--white-20);
  font-weight: 400;
  padding: 0px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px; 
  text-align: center;
  opacity: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.modal-share-btn-index {
  width: 73px;
}

.modal-share-btn-index-view {
  width: 48px;
}

.modal-share-btn-index-view svg {
  width: 21px;
  stroke: var(--white);
  stroke-width: 3px;
  fill: none;
  margin-bottom: -0.5px;
}

.modal-share-btn.disabled {
  opacity: 0.35 !important;
}

/* Native app: prevent Share button opacity flicker when #page-slug is emptied */
body.pluvi-native-app.pluvi-slug-empty-share-lock .modal-share-btn {
  opacity: 0.35 !important;
  transition: background 0.2s ease !important;
}

body.pluvi-native-app.pluvi-slug-empty-share-lock .modal-share-btn.disabled {
  opacity: 0.35 !important;
}

/* ======================================
SHARE — DISABLED TOAST MESSAGE
====================================== */
#share-disabled-toast {
  position: absolute;
  left: 134px;
  top: 148px;
  padding: 7px 10px;
  border-radius: 9px;
  transform: translateX(-50%) translateY(8px);
  color: var(--white);
  background: var(--lighter-black);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  text-align: center;
  white-space: nowrap;
}

#share-disabled-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.builder-modal-overlay #share-disabled-toast {
  top: 132px !important;
}


.custom-link-prefix {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  flex-shrink: 0;
  padding-left: 12px;
}

.custom-link-input {
  border: none;
  outline: none;
  padding: 12px 0px;
  background: transparent;
  font-weight: 500;
  width: 100%;
  font-size: 16px;
  color: var(--white) !important;
}

.custom-link-input::placeholder {
  color: var(--text-medium);
}

.custom-link-share {
  flex-shrink: 0;
  padding: 0px;
  fill: var(--white);
  opacity: 0.7;
  width: 22px;
  white-space: nowrap;
  margin-bottom: -6px;
}

/* =========================================
SHARE MODAL — CENTERED BRANDED CARD
========================================= */

#share-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 15px;

  background:
    radial-gradient(circle at center, rgba(196, 60, 255, 0.10) 0%, rgba(0, 0, 0, 0) 45%),
    rgba(6, 2, 7, 0.70);

  backdrop-filter: blur(13px) saturate(130%);
  -webkit-backdrop-filter: blur(13px) saturate(130%);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

#share-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* copied toast */
.share-copy-toast {
  position: absolute;
  left: 50%;
  bottom: -46px;
  transform: translateX(-50%);

  background: var(--white);
  color: var(--black);
  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.share-copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* card */
#share-modal {
  position: relative;
  overflow: hidden;

  width: min(100%, 560px);
  max-width: 560px;

  padding: 50px 20px 22px;
  border-radius: 22px;

  color: var(--white);
  text-align: center;

 background:
  radial-gradient(
    circle at 50% 0%,
    rgba(255, 77, 140, 0.16),
    transparent 42%
  ),

  linear-gradient(
    180deg,
    rgba(255,255,255,0.13) 0%,
    rgba(255,255,255,0.055) 18%,
    rgba(255,255,255,0.018) 52%,
    rgba(0,0,0,0.12) 100%
  ),

  linear-gradient(
    145deg,
    color-mix(in srgb, var(--light-black) 76%, transparent 24%) 0%,
    color-mix(in srgb, #30101d 72%, transparent 28%) 52%,
    color-mix(in srgb, #12070d 76%, transparent 24%) 100%
  );

  border: 1px solid rgba(255, 79, 163, 0.78);

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.52),
    0 0 42px rgba(196, 60, 255, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.025);

  backdrop-filter: blur(24px) saturate(170%);
-webkit-backdrop-filter: blur(24px) saturate(170%);

  transform: translateY(14px) scale(0.965);
  opacity: 0;

  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease;
}

#share-modal::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(
    135deg,
    rgba(255, 79, 163, 0.95) 0%,
    rgba(196, 60, 255, 0.72) 58%,
    rgba(123, 44, 255, 0.68) 100%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* =========================
SHARE MODAL — LOGO MARK
========================= */

/* =========================
SHARE MODAL — STAR CLUSTER
========================= */

/* =========================
SHARE MODAL — STAR CLUSTER
========================= */

.share-modal-logo {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);

  width: 85px;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
  z-index: 2;

  filter:
    drop-shadow(0 8px 16px rgba(196, 60, 255, 0.24))
    drop-shadow(0 0 16px rgba(255, 79, 163, 0.20));
}

.share-modal-logo svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

#share-modal-overlay.open #share-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* close */
.share-modal-close {
  position: absolute;
  top: 22px;
  left: 20px;

  width: 14px;
  height: 14px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;

  opacity: 0.92;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.share-modal-close svg {
  stroke: var(--white);
  stroke-width: 3.5px;
}

/* text */
.share-title {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 650;

  margin: 50px 0 10px;
  color: var(--white);
}

.share-subtext {
  max-width: 330px;

  margin: 0 auto 28px;

  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;

  color: var(--text-medium);
  opacity: 1;
}

.share-modal-footer {
  margin: 30px 0 0;
}

.share-modal-footer svg {
  width: 50px;
  fill:var(--white-20);
}

/* link row */
.share-input-row {
  position: relative;

  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 20px;

  background:
    radial-gradient(circle at 30% 20%, rgba(255, 79, 163, 0.10), transparent 44%),
    rgba(255,255,255,0.035);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.035),
    0 12px 30px rgba(0,0,0,0.20);

  overflow: hidden;
  z-index: 1;
}

.share-input-row::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    #ff5a3d 0%,
    #ff4d6d 35%,
    #c43cff 70%,
    #7b2cff 100%
  );

  background-size: 300% 300%;
  animation: animatedBorder 6s linear infinite;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

@keyframes animatedBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#share-modal-link {
  flex: 1;
  min-width: 0;

  background: transparent;
  border: none;
  outline: none;

  color: var(--white);
  font-size: 16px;
  font-weight: 600;

  padding: 0 8px 0 13px;
  margin: 0;

  text-overflow: ellipsis;
}

.share-inline-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.share-inline-btn {
  width: 48px;
  height: 48px;
  border-radius: 15px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--pluvi-warm-gradient);
  background-size: 300% 300%;
  animation: shareBtnGradient 6s linear infinite;

  box-shadow:
    0 12px 28px rgba(196, 60, 255, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);

  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
}

.share-inline-btn svg {
  width: 23px;
  height: 23px;
  stroke: var(--white);
  stroke-width: 3px;
  fill: none;
}

.share-live-page-btn {
  width: fit-content;
  margin: 18px auto 0;

  color: var(--white-72);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;

  cursor: pointer;
  user-select: none;
}

@keyframes shareBtnGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}




/* ================= EPK PAGE ================= */

.epk-info-view {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 5px 0px;
  text-align: center;
}

.epk-artist-view {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 13px;
  color: var(--white);
  text-align: center;
}

/* If EPK social links exist, let the social row own the spacing. */
.view-page:has(.social-display-row) .epk-artist-view {
  margin-bottom: -3px;
}


#epk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* your current layout */
  gap: 8px;
}

.ui-sortable {
  position: relative;
}

.ui-sortable-helper {
  box-shadow:
  0 8px 24px var(--black-18),
  0 2px 8px var(--black-08);
}

.gallery-item {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-medium);
    touch-action: pan-y;
  -webkit-user-select: none;
  transition:
  box-shadow 0.14s ease,
  transform 0.14s ease;
}

/* Force the square shape */
.gallery-item::before {
  content: "";
  display: block;
  padding-bottom: 100%;   /* 1:1 aspect ratio */
}

/* Actual image or placeholder stays perfectly square */
.gallery-item > img,
.gallery-item > .gallery-placeholder-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* ensures nice cropping */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sortable-placeholder {
  position: relative !important;
  width: 100% !important;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 12px;
}

.merch-image-placeholder {
  position: relative !important;
  width: 100% !important;
  background: var(--surface-soft);
  opacity: 0.8;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 12px;
}

.sortable-placeholder::before {
  content: "";
  display: block;
  padding-bottom: 100%;
  background: var(--surface-soft);
  opacity: 0.8;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 12px;
}


.gallery-placeholder-text {
  text-align: center;
  width: 100px;
  color: var(--border-medium);
  font-size: 13px;
  pointer-events: none;
}

/* ==============================
EPK — GALLERY DELETE BUTTON
============================== */

.gallery-item {
  position: relative;
}

.gallery-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 9px;
  border: none;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  z-index: 5;
  width: 28px;
  height: 28px;
  display: flex;
}

.gallery-delete-btn svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
  width: 22px;
  padding: 7px;
}

/* ==============================
EPK — VIEW MODE GALLERY
============================== */
.epk-gallery-view {
  width: 100vw;
  margin-top: -15px;
  margin-left: -15px;
  margin-bottom: 10px;

  position: relative;
  overflow: visible;

  transform-origin: center top;
  will-change: transform, opacity;

  background: var(--background);
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* EPK now uses the standard single header image in view mode. */
body[data-page="epk"] #header-image-view-mode,
body[data-page="epk"] #headerimage-view-mode {
  display: block;
}

/* EPK bottom fade — matches Index header fade */
.epk-gallery-view::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;

  height: 170px;

  pointer-events: none;
  z-index: 6;

background: linear-gradient(
  to bottom,
  var(--hero-fade-transparent) 0%,
  var(--hero-fade-soft) 42%,
  var(--hero-fade-strong) 74%,
  var(--hero-fade-solid) 94%,
  var(--background) 100%
);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.epk-gallery-image-wrapper {
  width: 100%;
  position: relative;
  overflow: visible;
  border-radius: 0;
}

.epk-gallery-view .index-card-img-wrapper {
  position: relative;
  width: 100%;

  /* Match the full-bleed hero feel */
  aspect-ratio: 1.1 / 1;

  overflow: visible;
  border-radius: 0;
  background: var(--background);
}

.epk-gallery-view .index-card-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;

  /* Important: wrapper handles zoom now */
  transform: none !important;
}

.epk-gallery-view .index-card-img.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* EPK gallery/header arrows — shared color-aware system */
.epk-gallery-view .index-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  user-select: none;
  z-index: 7;

  color: var(--media-arrow-color) !important;
  filter: drop-shadow(var(--media-arrow-shadow));
}

.epk-gallery-view .index-card-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.epk-gallery-view .index-card-arrow.left-arrow {
  left: 0;
  padding: 14px;
}

.epk-gallery-view .index-card-arrow.left-arrow::before {
  transform: rotate(-135deg);
}

.epk-gallery-view .index-card-arrow.right-arrow {
  right: 0;
  padding: 14px;
}


.epk-textarea {
  width: 100%;
  min-height: 100px;
  padding: 15px;
  box-sizing: border-box;
  font-family: inherit;
  background: var(--field-border);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 16px !important; /* prevents iOS zoom */
  resize: none;
  position: relative;
}

.epk-textarea-rider-basic {
  padding-top: 35px;
}

.epk-textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.epk-textarea-wrapper {
  position: relative;
}

.epk-text-area-instructions {
  position: absolute;
  font-size: 13px;
  top: 0px;
  left: 15px;
  color: var(--white-20);
}

.stageplot-section { 
  margin-top: 12px; 
}

.basic-rider-instructions {
  margin: 0;
  margin-top: 25px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--white);
}

.stageplot-instructions {
  margin-top: -10px;
}

.stageplot-instructions p {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--text-medium);
}


.stageplot-category-container {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 12px 0;
  margin: 7px 0px 5px 0px;
}

.sp-category-label {
  font-size: 14px !important;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 500;
  line-height: 1;
}

.sp-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}




.sp-item-list { 
  display: flex; gap: 10px; 
}

.sp-icon {
  width: 80px !important;
  height: 80px !important;
  border-radius: 10px;
  background: var(--field-border);
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  font-size: 26px;
  color: var(--white);
  user-select: none;
}

.sp-icon[data-type="perc-2"] img {
  transform: scale(0.8);
}

.sp-icon[data-type="audio-1"] img {
  transform: scale(0.6);
}

.sp-icon[data-type="brass-1"] img {
  transform: scale(0.8);
}

.sp-icon[data-type="keys-4"] img,
.sp-icon[data-type="keys-5"] img {
  transform: scale(0.9);
}

.sp-icon[data-type="guitar-1"] img,
.sp-icon[data-type="guitar-2"] img,
.sp-icon[data-type="guitar-3"] img,
.sp-icon[data-type="bass-1"] img {
/*transform: rotate(40deg);*/
margin-top: -2px;
}

.sp-icon[data-type="guitar-4"] img {
/*transform: rotate(23.5deg);*/
margin-top: -3px;
margin-left: -6px;
}



.sp-icon img {
  max-width: 85%;
  max-height: 85%;
}

#stageplot-canvas {
  position: relative;
  width: 100%;
  height: 230px;
  min-height: 230px;
  background: var(--surface-medium);
  border-radius: 14px;
  overflow: hidden;

/* EDIT MODE RESIZE */
resize: none;
pointer-events: auto;
}

.stageplot-resize-handle {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);

  width: 55px;
  height: 6px;
  border-radius: 999px;

  background: var(--white-35);
  opacity: 0.6;

  cursor: ns-resize;
  touch-action: none;

  z-index: 10;
}

/* invisible touch expansion */
.stageplot-resize-handle::before {
  content: "";
  position: absolute;

  left: -20px;
  right: -20px;
  top: -13px;
  bottom: -16px;

  /* invisible but interactive */
  background: transparent;
}

#stageplot-canvas-view {
  resize: none;
  min-height: 230px;
}


#stageplot-canvas .sp-draggable {
  pointer-events: auto;
  touch-action: none; /* critical for drag without scroll */
}

.sp-canvas-item {
  position: absolute;
  touch-action: none;
}

.sp-canvas-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}




.stageplot-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--border-medium);
  font-size: 12px;
  opacity: 0.8;
}


.sp-draggable {
  position: absolute;
  background: none;
  font-size: 26px;

  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}


/* ================================
EPK — STAGE PLOT (VIEW MODE)
================================ */
.epk-stageplot-view {
  margin-top: 16px;
  background: var(--lighter-black);
  border-radius: 14px;
  padding: 12px;
}

.epk-stageplot-view .stageplot-canvas {
  position: relative;
  width: 100%;
  background: var(--light-black);
  border-radius: 10px;
}



.epk-stageplot-view .sp-draggable {
  position: absolute;
  pointer-events: none;
}

#stageplot-canvas-view,
.stageplot-canvas-view {
  position: relative;
  width: 100%;
  background: var(--surface-medium);
  border-radius: 14px;
  overflow: hidden;
  touch-action: pan-y !important;
}



/* =========================================================
STAGEPLOT ICON SIZING — EXACT DATA-TYPE ORDER
========================================================= */

/* =========================================================
GUITAR
========================================================= */

.sp-draggable[data-type="guitar-1"] {
  width: 25px;
}

.sp-draggable[data-type="guitar-2"] {
  width: 25px;
}

.sp-draggable[data-type="guitar-3"] {
  width: 25px;
}

.sp-draggable[data-type="guitar-4"] {
  width: 34px;
}

/* =========================================================
BASS
========================================================= */

.sp-draggable[data-type="bass-1"] {
  width: 25px;
}

.sp-draggable[data-type="bass-2"] {
  width: 32px;
}

/* =========================================================
KEYS
========================================================= */

.sp-draggable[data-type="keys-1"] {
  width: 50px;
}

.sp-draggable[data-type="keys-2"] {
  width: 80px;
}

.sp-draggable[data-type="keys-3"] {
  width: 84px;
}

.sp-draggable[data-type="keys-4"] {
  width: 80px;
}

.sp-draggable[data-type="keys-5"] {
  width: 100px;
}

/* =========================================================
PERCUSSION
========================================================= */

.sp-draggable[data-type="perc-1"] {
  width: 90px;
}

.sp-draggable[data-type="perc-2"] {
  width: 32px;
}

/* =========================================================
FOLK
========================================================= */

.sp-draggable[data-type="folk-1"] {
  width: 35px;
}

.sp-draggable[data-type="folk-2"] {
  width: 30px;
}

.sp-draggable[data-type="folk-3"] {
  width: 36px;
}

.sp-draggable[data-type="folk-4"] {
  width: 70px;
}

/* =========================================================
BRASS / WIND
========================================================= */

.sp-draggable[data-type="brass-1"] {
  width: 37px;
}

.sp-draggable[data-type="brass-2"] {
  width: 80px;
}

.sp-draggable[data-type="brass-3"] {
  width: 35px;
}

/* =========================================================
AUDIO
========================================================= */

.sp-draggable[data-type="audio-1"] {
  width: 22px;
}

.sp-draggable[data-type="audio-2"] {
  width: 27px;
}

.sp-draggable[data-type="audio-3"] {
  width: 51px;
}

.sp-draggable[data-type="audio-4"] {
  width: 37px;
}

.sp-draggable[data-type="audio-5"] {
  width: 37px;
}

.sp-draggable[data-type="audio-6"] {
  width: 46px;
}

.sp-draggable[data-type="audio-7"] {
  width: 64px;
}

.sp-draggable[data-type="audio-8"] {
  width: 43px;
}

.sp-draggable[data-type="audio-9"] {
  width: 42px;
}

.sp-draggable[data-type="audio-10"] {
  width: 50px;
}

.sp-draggable[data-type="audio-11"] {
  width: 56px;
}

.sp-draggable[data-type="audio-12"] {
  width: 56px;
}


















/* ======================================================
VIDEO EMBEDS — FULL WIDTH + ROUNDED
====================================================== */

.video-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;

  border-radius: 22px;
  overflow: hidden;

  background: #000; /* prevents flash while loading */
}

/* iframe fill */
.video-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.edit-video-input {
  padding-top: 0px;
}

/* View mode spacing */
.epk-video-view {
  width: 100%;
}

.video-invalid-text {
  font-size: 13px;
  color: var(--warning);
  margin: 0;
  margin-top: 6px;
}


/* Hidden by default */
#epk-video-preview {
  display: none;
}

/* Show only when an iframe exists (valid YouTube/Vimeo) */
#epk-video-preview:has(iframe) {
  display: block;
  margin-top: 15px;
  margin-bottom: -4px;
}

.music-video-view {
  margin-bottom: 5px;
  margin-top: 10px;
}

/* YouTube safe preview card used in edit/native app mode */
.pluvi-youtube-preview-card {
  display: block;
  text-decoration: none;
  color: var(--text-bright);
  background: #111;
}

.pluvi-youtube-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  filter: saturate(0.95) contrast(0.95);
}

.pluvi-youtube-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: rgba(0, 0, 0, 0.28);
}

.pluvi-youtube-preview-play {
  width: 56px;
  height: 56px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.9);
  color: #111;
}

.pluvi-youtube-preview-play svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.pluvi-youtube-preview-text {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}


/* ======================================================
EPK MULTI VIDEO EDITOR
====================================================== */

.epk-videos-edit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.epk-video-row {
  padding: 15px 15px 15px 15px;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: var(--field-border);
}

.epk-video-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.epk-video-row-top label {
  font-size: 14px;
  color: var(--text-bright);
  font-weight: 600;
}

.epk-video-delete {
  padding: 0;
  border: none;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--text-medium);
  cursor: pointer;
  margin-top: -2px;
}

.epk-video-delete svg {
  width: 17px;
  height: auto;
  display: block;

  fill: none;
  stroke: var(--warning);
  stroke-width: 3;
}

.epk-video-preview {
  display: none;
  margin-top: 12px;
}

.epk-video-empty {
  color: var(--text-medium);
  font-size: 14px;
  padding-bottom: 14px;
}

.epk-add-video-button {
  margin-top: 15px;
  width: 100%;
  border: none;
  color: var(--white);
  font-family: inherit;
}

.epk-add-video-button.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ======================================================
EPK MULTI VIDEO VIEW
====================================================== */

.epk-video-view {
  width: 100%;
}

.epk-video-scroll {
  width: 100%;
}

.epk-video-scroll.is-scrollable {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.epk-video-scroll.is-scrollable::-webkit-scrollbar {
  display: none;
}

.epk-video-view-card {
  width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.epk-video-scroll.is-scrollable .epk-video-view-card {
  flex-basis: 88%;
}

@media (min-width: 700px) {
  .epk-video-scroll.is-scrollable .epk-video-view-card {
    flex-basis: 70%;
  }
}


/* ======================================================
INDEX MULTI VIDEO EDITOR
====================================================== */

.index-videos-edit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.index-video-row {
  padding: 15px;
  border-radius: 22px;
  /*border: 1px solid var(--border-subtle);*/
  background: var(--field-border);
}

.index-video-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.index-video-row-top label {
  font-size: 14px;
  color: var(--text-bright);
  font-weight: 600;
}

.index-video-delete {
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: -2px;
}

.index-video-delete svg {
  width: 17px;
  height: auto;
  display: block;

  fill: none;
  stroke: var(--warning);
  stroke-width: 3;
}

.index-video-delete:active {
  opacity: 0.65;
}

.index-video-delete.is-disabled,
.epk-video-delete.is-disabled {
  opacity: 0.25;
  pointer-events: none;
  cursor: default;
}

.index-video-delete.is-disabled svg,
.epk-video-delete.is-disabled svg {
  stroke: var(--text-medium);
}

.index-video-preview {
  display: none;
  margin-top: 12px;
}

.index-video-empty {
  color: var(--text-medium);
  font-size: 14px;
  padding: 14px 0;
}

.index-add-video-button {
  margin-top: 15px;
  width: 100%;
  border: none;
  color: var(--white);
  font-family: inherit;
}

.index-add-video-button.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ======================================================
INDEX MULTI VIDEO VIEW
====================================================== */

.index-video-view {
  width: 100%;
  margin-bottom: 20px;
}

/* ======================================================
INDEX / EPK VIDEO VIEW — RIGHT FADE WHEN SCROLLABLE
====================================================== */

/* Remove mask-based fade because mask-image cannot transition smoothly */
.index-video-scroll,
.epk-video-scroll {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.index-video-scroll.is-scrollable {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /*padding-bottom: 4px;*/
}

.index-video-scroll.is-scrollable::-webkit-scrollbar {
  display: none;
}

.index-video-view-card {
  width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.index-video-scroll.is-scrollable .index-video-view-card {
  flex-basis: 88%;
}

@media (min-width: 700px) {
  .index-video-scroll.is-scrollable .index-video-view-card {
    flex-basis: 70%;
  }
}


/* ======================================================
   EDIT MODE — DISABLE VIDEO PREVIEW CLICKS
   ------------------------------------------------------
   Videos should only be interactive in View/Public mode.
   This uses an invisible shield so YouTube/Vimeo iframes
   never receive taps/clicks while editing.
   ====================================================== */

/* Make preview wrappers able to hold an overlay */
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .video-embed-wrapper,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .index-video-preview,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .epk-video-preview,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode #epk-video-preview,
body:not(.view-mode-active):not(.public-mode) .builder-modal .video-embed-wrapper,
body:not(.view-mode-active):not(.public-mode) .builder-modal #epk-video-preview {
  position: relative;
}

/* Disable iframe interaction directly */
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .video-embed-wrapper iframe,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .index-video-preview iframe,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .epk-video-preview iframe,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode #epk-video-preview iframe,
body:not(.view-mode-active):not(.public-mode) .builder-modal .video-embed-wrapper iframe,
body:not(.view-mode-active):not(.public-mode) .builder-modal #epk-video-preview iframe {
  pointer-events: none !important;
}

/* Invisible click shield over edit-mode previews */
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .video-embed-wrapper::after,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .index-video-preview::after,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode .epk-video-preview::after,
body:not(.view-mode-active):not(.public-mode) #page-edit-mode #epk-video-preview::after,
body:not(.view-mode-active):not(.public-mode) .builder-modal .video-embed-wrapper::after,
body:not(.view-mode-active):not(.public-mode) .builder-modal #epk-video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  pointer-events: auto;
  cursor: default;
}

/* Public Music/Shows render inside the modal shell */
body.public-mode[data-page="music"] #builder-modal-overlay.builder-modal-open,
body.public-mode[data-page="shows"] #builder-modal-overlay.builder-modal-open {
  display: flex !important;
  pointer-events: auto;
}

body.public-mode[data-page="music"] #builder-modal-overlay.builder-modal-open .builder-modal,
body.public-mode[data-page="shows"] #builder-modal-overlay.builder-modal-open .builder-modal {
  transform: translateY(0) !important;
}


/* ======================================================
   VIDEO EDIT PREVIEWS — INERT IFRAMES
   ------------------------------------------------------
   Edit-mode previews render iframe markup, but the iframe
   itself should never receive clicks/taps.
   ====================================================== */

iframe.pluvi-video-embed-inert {
  pointer-events: none !important;
}



/* ===============================
EPK — BIO (VIEW MODE)
=============================== */

.epk-bio-container {
  position: relative;
}

.epk-stats-input-container,
.epk-bio-input-container {
  margin-bottom: 20px;
}

.epk-view-bio {
  padding: 20px 15px;
  border-radius: 22px;
  color: var(--text-medium);
}

body[data-page="epk"] #page-view-mode > .epk-view-section.is-first-epk-view-section {
  margin-top: 0px;
}

body[data-page="epk"] #page-view-mode > .streaming-item-view.is-first-epk-view-section {
  margin-top: 0 !important;
}

.epk-view-section {
  margin-top: 20px;
  border-radius: 22px;
}

/* Bio text itself */
.epk-bio-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--text-medium);
}


.epk-stats-view {
  transition: transform 0.15s linear, opacity 0.15s linear;
  transform-origin: center top;
}


.epk-stats-view {
  display: grid;

/* Center the group regardless of item count */
grid-auto-flow: column;
grid-auto-columns: max-content;
justify-content: center;
align-items: top;

gap: 32px;

/* preserve your existing perf + motion */
will-change: transform, opacity;
transition: transform 0.05s linear, opacity 0.05s linear;
}

@media (max-width: 470px) {
  .epk-stats-view {
    gap: 23px;
  }
}

@media (max-width: 410px) {
  .epk-stats-view {
    gap: 18px;
  }
}

@media (max-width: 370px) {
  .epk-stats-view {
    gap: 10px;
  }
}




.epk-stat {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.epk-stat-number {
  font-size: 31px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.epk-stat-label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-medium);
  text-align: center;
}

.epk-stat-divider {
  width: 1px;
  height: 44px;
  align-self: center;
  background: var(--surface-medium);
}


/* ======================================================
EPK — Bio spacing conditional on stats presence
====================================================== */

/* Default: no top margin */
.epk-view-bio .epk-bio-text {
  margin-top: 0;
}

/* If stats exist before bio, add spacing */
.epk-view-bio:has(.epk-stats-view) .epk-bio-text {
  margin-top: 20px;
}















/* ==============================
Bio character counter (edit mode)
============================== */

.epk-bio-counter {
  text-align: right;
  margin-top: 0px;
  margin-right: 3px;
  font-size: 12px;
  color: var(--text-medium);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;

  transition:
  max-height 0.2s ease,
  opacity 0.15s ease;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#epk-bio:focus + .epk-bio-counter,
.epk-bio-container:focus-within + .epk-bio-counter {
  max-height: 24px;
  margin-top: 0px;
  opacity: 1;
  pointer-events: auto;
}

.epk-bio-counter.limit {
  color: var(--warning);
  opacity: 1;
}


.epk-genre-tags {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
  margin-top: 7px;
  margin-bottom: 8px;
}

.epk-genre-tag {
  background: var(--light-black);
  padding: 5px 13px 6px 13px;
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-medium);
}

.epk-view-assets {
  margin-bottom: 0px !important;
  padding-bottom: 16px !important;
}

.epk-view-assets .main-button {
  text-decoration: none;
  color: var(--white);
}

.epk-contact-value {
  color: var(--white);
}

.epk-contact-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0px;
}

.epk-contact-row:first-of-type {
  padding-top: 0px;
}

.epk-view-contact {
  margin-bottom: 0px !important;
}

.epk-view-contact .form-header + .epk-contact-row {
  padding-top: 0;
}

.epk-contact-value {
  text-align: left;
  width: calc(100% - 120px);
}

.epk-contact-value.epk-copy-contact {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.epk-contact-copy-toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(8px);
  z-index: 999999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--glass-notice);
  color: var(--white);
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  box-shadow:
  0 10px 30px var(--black-25);
}

.epk-contact-copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.epk-view-contact-single .form-header + .epk-contact-row-single {
  padding-top: 0;
}

.epk-contact-row-single {
  display: block;
  border-bottom: none;
  padding-bottom: 0;
}

.epk-contact-single-line {
  appearance: none;
  border: 0;
  background: transparent;

  width: 100%;

  display: inline;
  padding: 0;
  margin: 0;

  font: inherit;
  text-align: left;
  color: var(--white);

  cursor: pointer;
}

.epk-contact-label-inline {
  color: var(--text-medium);
}

.epk-contact-value-inline {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}



/* ===============================
EPK — HIGHLIGHT INPUT ROW
=============================== */

.epk-highlight-row {
  align-items: center;
  width: 100%;
}

.epk-highlight-input-group {
  display: grid;
  grid-template-columns: 134px 1fr;
  gap: 16px;
  width: 100%;
  align-items: end;
}

/* Dropdown styled like text input */
.epk-highlight-select {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0px 15px 0px 0;

  font-family: inherit;
  margin-bottom: -2px;
  margin-right: -1px;
  font-size: 16px;
  color: var(--text-medium);

  text-decoration: none;
  box-shadow: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23bfbfbf' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

/* Once a real option is selected */
.epk-highlight-select.has-value {
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

/* Disabled placeholder option (for safety) */
.epk-highlight-select option[disabled] {
  color: var(--text-medium);
}

/* Value input */
.epk-highlight-value {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  font-size: 16px;
  color: var(--white);
}

/* Focus states */
.epk-highlight-select:focus {
  outline: none;
  border-bottom: none;
}

.epk-highlight-value:focus {
  outline: none;
  border-bottom-color: var(--white);
}






/* ================================
EPK TECH RIDER – VIEW MODE
================================ */
.epk-tech-section,
.epk-stageplot-section {
  background: var(--light-black);
  border-radius: 22px;
  padding: 20px 15px 16px 15px;
}

.epk-view-header {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  margin-bottom: 15px;
}

.epk-tech-block {
  margin-top: 15px;
}

.epk-tech-view-block h4 {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 10px;
  font-weight: 400;
}

.epk-tech-view-block > div + div h4 {
  border-top: solid 1px var(--white);
}

.epk-tech-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.is-last-tech-header {
  border-top: solid 1px var(--border-subtle);
  padding-top: 15px;
}

/* Each pill */
.epk-tech-pill {
  background: var(--surface-medium);
  border-radius: 100px;
  padding: 9px 13px;
  font-size: 14px;
  color: var(--white);
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
}


/* ================================
EPK TECH RIDER – MODE TOGGLE
================================ */
.techrider-mode-toggle {
  position: absolute;
  right: 93px;
  top: 24.5px;

  display: flex;
  align-items: center;
  gap: 0px;

  width: auto;
  height: auto;
  padding: 0;

  border: none;
  background: transparent;
  border-radius: 0;

  user-select: none;
}

/* tabs (now divs) */
.techrider-tab {
  position: relative;
  z-index: 1;

  font-size: 14px;
  font-weight: 500;

  padding: 0;
  height: auto;

  color: var(--text-medium);
  background: transparent;
  border-radius: 0;

  transition: opacity 0.1s ease, color 0.1s ease;
}

/* active text color when pill is behind it */
.techrider-tab.active {
  color: var(--white);
  opacity: 1;
  cursor: default;
}

.techrider-tab[data-mode="basic"]::after {
  content: "";
  display: inline-block;

  width: 1px;
  height: 15px;            
  margin: 0 10px;          

  background: var(--white-35);
  border-radius: 1px;

  vertical-align: middle;
  pointer-events: none;
}





/* ======================================================
MERCH — EDIT MODE IMAGE GRID
====================================================== */
.merch-instructions {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
  margin-top: 20px;
  margin-bottom: 17px;
}

.merch-image-slot img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}



.merch-image-delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 9px;
  border: none;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  z-index: 5;
  width: 28px;
  height: 28px;
  display: flex;
}

.merch-image-delete-btn svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
  width: 22px;
  padding: 7px;
}



.merch-instructions::before {
  content: "";
  display: block;
  width: 55px;
  height: 1px;
  background: var(--white-12);
  margin: 13px 0;
}

.edit-merch-container {
  background: var(--light-black);
  border-radius: 22px;
  padding: 20px 15px;
  margin-bottom: 20px;
  position: relative;
}

.merch-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.merch-header-right-container {
  display: flex;
  margin-top: 4px;
}

.merch-header {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.delete-merch-btn {
  height: 19px;
  stroke: var(--warning);
  stroke-width: 3.4px;
  fill: none;
  margin-top: -1px;
  margin-left: 32px;
}

.delete-merch-btn.is-dimmed {
  opacity: 0.3;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.delete-show-btn.is-dimmed {
  opacity: 0.3;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* ==============================
MERCH — UP / DOWN CONTROLS
============================== */
.merch-reorder-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: -1px;
}

.merch-arrow {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.merch-reorder-controls span {
  display: flex;
  align-items: center;
}

/* disabled state */
.merch-reorder-controls span.disabled {
  pointer-events: none;
}

.merch-reorder-controls span.disabled .merch-arrow {
  opacity: 0.25;
  transform: none;
}

/* ======================================================
EPK — SECTION REORDER CONTROLS
------------------------------------------------------
Matches merch reorder controls: title left, arrows right.
====================================================== */

.epk-edit-reorder-section {
  position: relative;
}

.epk-edit-reorder-section.epk-edit-reorder-section-scroll-up {
  scroll-margin-top: 245px;
}

.epk-edit-reorder-section.epk-edit-reorder-section-scroll-down {
  scroll-margin-top: 160px;
}

.epk-section-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

/*.epk-section-header-container > .form-header {
  margin: 0;
}*/

.epk-section-header-container > .epk-reorder-controls {
  margin-top: -19px;
  flex: 0 0 auto;
}

/* Uses the existing merch disabled styling:
   .merch-reorder-controls span.disabled .merch-arrow */
.epk-reorder-controls span.disabled {
  pointer-events: none;
}

.epk-edit-reorder-section {
  scroll-margin-top: 162px;
}

/* ======================================================
INDEX — SECTION REORDER CONTROLS
------------------------------------------------------
Matches merch / EPK reorder controls.
Only applies to reorderable Index edit sections.
====================================================== */

.index-edit-reorder-section {
  position: relative;
}

.index-edit-reorder-section.index-edit-reorder-section-scroll-up {
  scroll-margin-top: 245px;
}

.index-edit-reorder-section.index-edit-reorder-section-scroll-down {
  scroll-margin-top: 160px;
}

/* Streaming / Videos header row */
.index-section-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

/* Only Streaming / Videos controls */
.index-section-header-container > .index-reorder-controls--standard {
  flex: 0 0 auto;

  /* Tweak this number for Streaming / Videos only */
  margin-top: -20px;
}

/* Music / Shows / Merch header controls */
.index-edit-reorder-section .index-header-controls {
  position: absolute;
  top: 16px;
  right: 15px;
  z-index: 100;

  display: flex;
  align-items: center;
  gap: 25px;
}

/* Override older absolute positioning inside the unified control row */
.index-edit-reorder-section .index-header-controls .index-add-button {
  position: static;
  top: auto;
  right: auto;
}

/* Only Music / Shows / Merch controls */
.index-edit-reorder-section .index-header-controls .index-reorder-controls--module {
  flex: 0 0 auto;
  margin-top: 1px;
}

.index-edit-reorder-section .index-header-controls .index-add-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Uses the existing merch disabled styling:
   .merch-reorder-controls span.disabled .merch-arrow */
.index-reorder-controls span.disabled {
  pointer-events: none;
}





.merch-image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0px;
  margin-bottom: 10px;
  position: relative;
}

.merch-image-tip-container {
  margin-top: 0px;
  margin-bottom: 10px;
}

.merch-image-slot {
  aspect-ratio: 1 / 1;
  background: var(--surface-medium);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-medium);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.merch-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-image-slot span {
  pointer-events: none;
}

.merch-image-slot.has-image span {
  display: none;
}

.merch-helper-text {
  font-size: 12px;
  color: var(--text-medium);
  margin-top: 13px;
}

.merch-add-item-button {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  gap: 8px;
  position: relative;
  z-index: 10;
}

/* ======================================================
MERCH — STORE IMPORT
====================================================== */

.merch-import-card {
  background: var(--surface-gradient-soft);
  border-radius: 22px;
  padding: 20px 15px;
  margin-bottom: 20px;
  position: relative;
}

.merch-import-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.merch-import-title {
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

.merch-import-subtitle {
  margin: 4px 0 0;
  color: var(--text-medium);
  font-size: 12px;
  line-height: 1.35;
}

.merch-import-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.merch-import-status {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-height 220ms ease;
}

.merch-import-status.is-visible {
  opacity: 1;
  max-height: 80px;
  transform: translateY(0);
}

#merch-store-import-url {
  flex: 1;
  min-width: 0;
  height: 47px;
  border-radius: 14px;
  background: var(--field-bg);
  color: var(--white);
  padding: 0 13px;
  outline: none;
}

#merch-store-import-url:focus {
  background: var(--field-bg-hover);
}

.merch-store-import-btn {
  flex: 0 0 auto;
  min-width: 80px;
  height: 47px;
  padding: 0 8px;
}

.merch-store-import-btn.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.merch-import-status {
  display: none;
  margin-top: 11px;
  color: var(--text-medium);
  font-size: 12px;
  line-height: 1.4;
}

.merch-import-status.is-visible {
  display: block;
}

.merch-import-status.is-error {
  color: var(--warning);
}

.merch-import-status.is-success {
  color: var(--text-strong);
}

.merch-add-support-item-button {
  flex: 1;
  margin-top: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-medium);
}

/* ======================================================
MERCH — TIP ITEM IMAGE (FULL WIDTH)
====================================================== */

.edit-merch-container.is-tip .merch-image-container {
  display: block;
  width: 100%;
}

.edit-merch-container.is-tip .merch-image-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: none;
  border-radius: 14px;
}

.edit-merch-container.is-tip .merch-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-tip .merch-image-delete-btn {
  display: none;
  pointer-events: none;
}





/* ======================================================
MERCH — VIEW MODE
====================================================== */

.merch-view-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.merch-view-grid .index-card-img {
  border-radius: 22px 22px 0px 0px;
}

/* ----------------------------
ITEM
---------------------------- */

.merch-view-item {
  display: flex;
  flex-direction: column;

  position: relative;
  overflow: visible;

  border-radius: 22px;
  background: transparent !important;

  transform: translateZ(0);
  backface-visibility: hidden;
  isolation: isolate;
}

.merch-view-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  border-radius: inherit;
  background: var(--surface-tactile) !important;
  box-shadow: var(--surface-tactile-shadow);

  pointer-events: none;
}

/* This keeps the tactile edge/gloss ABOVE the image */
.merch-view-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;

  border-radius: inherit;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.085),
    inset 0 0 0 1px rgba(255,255,255,0.035),
    inset 0 -1px 1px var(--black-45);

  pointer-events: none;
}

/* ----------------------------
IMAGES
---------------------------- */

.merch-view-image-single,
.merch-view-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--lighter-black);
  border-radius: 22px 22px 0px 0px;
  overflow: hidden;
}
.merch-view-image-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-view-image-placeholder {
  opacity: 0.4;
}

.merch-view-image-single img,
.merch-view-image-wrapper .index-card-img {
  display: block;
}


/* ====================================
MERCH VIEW — IMAGE ARROW CONTAINER
==================================== */

.merch-view-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Force index system to behave like index cards */
.merch-view-image-wrapper .index-card-img-wrapper {
  width: 100%;
  height: 100%;
}

.merch-view-image-wrapper .index-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ----------------------------
META
---------------------------- */

.merch-view-meta {
  display: flex;
  flex-direction: column;
  /*gap: 3px;*/
  padding: 13px 15px 16px 15px;
}

.merch-view-title {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--white);
}

.merch-view-price {
  font-size: 16px;
  color:var(--text-medium);
  color: var(--text-medium);
  z-index: 10;
}

.merch-view-price:empty {
  display: none;
}

/* ----------------------------
BUTTON
---------------------------- */

.merch-view-purchase-btn {
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-medium);
  text-decoration: none;
  color: var(--white);
  margin-top: 15px;
}


/* ==============================
MERCH — STREAM HEADER
============================== */

.merch-stream-header {
  position: relative;
  height: 128px;
  overflow: hidden;
  width: 100vw;
  margin-left: -15px;
}

.merch-view-grid::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 auto;
  background-color: var(--border-medium);
  width: 35px;
  margin-top: 13px;
  margin-bottom: 19px;
}

/* reuse stream bg text exactly */
.merch-stream-header .stream-bgtext {
  pointer-events: none;
  opacity: 0.4;
}

/* foreground label (artist name) */
.merch-stream-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 100%;

  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  z-index: 2;
  margin-bottom: -4px;
}

.merch-sub-label {
  font-size: 15px;
  color: var(--text-medium);
  font-weight: 500;
  margin: 0 auto;
}

.index-merch-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--lighter-black);
  border-radius: 15px 15px 0px 0px;
}

.index-merch-card.is-single {
  width: calc(100% - 30px);
}

.index-merch-scroll .index-card-body {
  padding: 13px 12px;
  background: var(--field-bg);
  margin-top: 0px;
  border-radius: 0px 0px 15px 15px;
}

.index-merch-scroll .index-card-img-fallback {
  border-radius: 15px 15px 0px 0px !important;
}


.index-card-badge-new {
  position: absolute;
  top: 8px;
  left: 8px;

  background: var(--black-65);
  color: var(--white);

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;

  padding: 4px 12px 5px 12px;
  border-radius: 100px;

  z-index: 3;
}




/* ================================
UNIVERSAL TOGGLES & SPACING
================================ */
/* Universal Yes/No toggle group */
.toggle-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

/* Universal Yes/No button styles */
.toggle-btn {
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-medium);
  background: var(--surface-medium);
  user-select: none;
  transition: all 0.15s ease;
}

/* Selected state */
.toggle-btn.selected {
  background: var(--white);
  color: var(--black);
}

/* Spacing between the two fields */
.multi-textarea-spacing {
  margin-top: 13px !important;
}

#epk-tech-need {
  margin-bottom: -8px;
}


/* ================================
BAND MEMBER – EDIT MODE
================================ */
.bandmember-add-button {
  margin-top: 25px;
  margin-bottom: -4px;
}

.bandmember-add-button svg {
  fill: var(--white);
  width: 11px;
}

/* Band member block header */
.bandmember-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  margin-bottom: 14px;
}

.bandmember-block-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* hide divider + delete on the first member */
.bandmember-block:first-child .bandmember-divider {
  display: none;
}
.bandmember-block:first-child .bandmember-delete-btn {
  display: none;
}

/* delete button */
.bandmember-delete-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -1px;
}

.bandmember-delete-btn.is-dimmed {
  opacity: 0.3;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.bandmember-delete-btn svg {
  width: 19px;
  height: 19px;
  fill: var(--warning);
}

/* photo circle */
.bandmember-image-row {
  margin-bottom: 10px;
  position: relative;
}

.bm-delete-image {
  position: absolute;
  top: 4px;
  left: 58px;
  border-radius: 9px;
  border: none;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  z-index: 5;
  width: 28px;
  height: 28px;
  display: flex;
}

.bm-delete-image svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
  width: 22px;
  padding: 7px;
}

.bandmember-image-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: var(--surface-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bandmember-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.bandmember-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--border-medium);
  text-align: center;
}

.bandmember-image-wrapper.has-image .bandmember-image {
  display: block;
}

.bandmember-image-wrapper.has-image .bandmember-image-placeholder {
  display: none;
}


.bandmember-block .form-row.is-hidden {
  display: none;
}

/* Band member long-form fields: label above full-width textarea */
.bandmember-block .bm-detail-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 0 14px;
}

.bandmember-block .bm-detail-row label {
  flex: 0 0 auto;
  width: 100%;
}

.bandmember-block .bm-detail-textarea {
  width: 100%;
  min-height: 84px;
  box-sizing: border-box;
  padding: 14px 15px;
  border: none !important;
  outline: none !important;
  border-radius: 16px;
  background: var(--field-bg);
  color: var(--white);
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.35;
  resize: none;
  box-shadow: none !important;
}

.bandmember-block .bm-detail-textarea::placeholder {
  color: var(--text-medium);
  opacity: 0.8;
}

.bandmember-block .bm-detail-textarea:focus {
  background: var(--field-bg-hover);
}

.bandmember-block .bm-notes-input {
  min-height: 108px;
}


/* ================================
BAND MEMBER – VIEW MODE CARD
================================ */

.epk-tech-card {
  background: var(--surface-medium);
  border-radius: 14px;
  padding: 15px;
  margin-top: 8px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  color: var(--text-medium);
}

/* image */
.epk-tech-card-image {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* text column */
.epk-tech-card-content {
  display: flex;
  flex-direction: column;

/* default: center vertically for short cards */
margin-top: auto;
margin-bottom: auto;
}

/* when card is "long" (notes present), disable centering */
.epk-tech-card.has-notes .epk-tech-card-content {
  margin-top: 0;
  margin-bottom: 0;
}

/* name / role */
.epk-tech-card-title {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}

/* notes */
.epk-tech-notes {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-medium);
}

/* divider above notes */
.epk-tech-notes::before {
  content: "";
  display: block;
  height: 1px;
  width: 15px;
  background: var(--text-medium);
  margin: 13px 0;
}

/* ================================
NOTES – EDIT MODE
================================ */

.bm-notes-row {
  position: relative;
  align-items: flex-start;
  padding-bottom: 0px !important;
}

.bm-notes-input {
  width: 100%;
  min-height: 90px;
  padding: 12px 15px;
  box-sizing: border-box;
  font-family: inherit;
  background: var(--surface-medium);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 16px !important; /* prevents iOS zoom */
  resize: none;
  margin-top: 1px;
}

.bm-notes-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}










/* ================= ACCOUNT PAGE ================= */
.account-page-container {
  padding: 15px;
  position: relative;
  margin-bottom: 70px;
}

.account-page-container .general-page-container {
  margin-bottom: 15px;
}

.account-form-description {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
  margin-top: -13px;
  margin-bottom: 22px;
}

.account-switch-saving {
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-medium);
}

.manage-sub-button {
  margin-bottom: -3px;
  text-decoration: none;
  color: var(--white);
}

.account-questions {
  font-size: 13px;
  color: var(--text-medium);
}

.account-questions span {
  text-decoration: underline;
}

.account-logout {
  font-size: 15px;
  text-align: center;
  width: calc(100% + 30px);
  margin: 0 auto;
  margin-left: -15px;
  margin-top: 25px;
  padding: 15px 0px 2px 0px;
  background: transparent;
  border-top: solid 1px var(--surface-medium);
  border-radius: 0px !important;
}

/* ============================
SHOW CARD
============================ */
.page-card-holder {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD */
.page-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;

  background: var(--surface-tactile) !important;
  box-shadow: var(--surface-tactile-shadow);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.page-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;

  border-radius: inherit;
  box-shadow:var(--surface-tactile-shadow);
}

/* HEADER IMAGE */
.page-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.page-card-header-container {
  background: var(--light-black);
}

/* HEADER ROW */
.page-card-header-row {
  display: flex;
  justify-content: flex-start;
  padding: 15px 15px 18px;
}

/* TITLE + COUNT */
.page-card-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-card-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
}

.page-card-count {
  font-size: 15px;
  color: var(--text-medium);
}

.form-subheader {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
  margin-top: -10px;
  margin-bottom: 18px;
}

.form-subheader-no-margin {
  margin-bottom: 0px;
}

.form-helper {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
  margin-top: 5px;
}

.form-subheader-margin-large {
  margin-bottom: 22px;
}

.epk-tech-rider-textarea-header {
  font-size: 16px;
  color: var(--text-medium);
  margin: 0;
  margin-bottom: 10px;
}

.form-subheader-tech-rider-epk {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
  margin-bottom: 18px;
}

.epk-tech-rider-textarea-header:last-of-type {
  margin-top: 15px;
}

.form-subheader a {
  color: var(--text-medium);
}

.page-instructions {
  font-size: 14px;
  color: var(--text-medium);
  margin: 0;
  margin-bottom: 20px;
}

.form-instructions {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
  margin-bottom: 15px;
  display: flex;
  margin-top: 3px;
}

.form-sortable-handle {
  width: 18px;
  padding: 2px 0;
  margin-left: 14px;
  margin-bottom: -3px;
  fill: var(--text-medium);
  flex: 0 0 auto;
}

#social-edit-mode {
  position: relative;
}


.form-long-toggle-description {
  margin: 0;
  font-size: 16px;
  margin-top: -5px;
  max-width: 85%;
  padding-right: 15px;
}


.edit-mode-streaming-container .ui-sortable-placeholder {
  visibility: visible !important;
  background: rgba(255,255,255,0.02);
  max-height: 60px;
  min-width: 100%;
}

.edit-mode-streaming-container {
  position: relative;
}

.form-sortable-handle {
  cursor: grab;
}

.form-sortable-handle:active {
  cursor: grabbing;
}

/* ======================================================
MUSIC — PRE-SAVE SORTING
====================================================== */

.edit-mode-presave-container {
  position: relative;
}

.edit-mode-presave-container .form-sortable-handle {
  cursor: grab;
}

.edit-mode-presave-container .form-sortable-handle:active {
  cursor: grabbing;
}

.edit-mode-presave-container .presave-platform-row.no-bottom-border {
  border-bottom: none !important;
  padding-bottom: 0;
}

.presave-sortable-helper {
  pointer-events: none !important;
  box-sizing: border-box !important;
}

.presave-sortable-helper {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
}

.edit-mode-presave-container .ui-sortable-placeholder,
.edit-mode-presave-container .presave-sort-placeholder {
  visibility: visible !important;
  background: rgba(255,255,255,0.02);
  max-height: 60px;
  min-width: 100%;
  max-width: 100%;
}




.form-style-section-container {
  background: var(--lighter-black);
  padding: 17px 18px 21px 18px;
  margin-top: 22px;
  margin-bottom: -24px;
  margin-left: -18px;
  width: 100%;
  border-radius: 0px 0px 18px 18px;
}

.form-subsection-label {
  font-size: 13px;
  margin: 0;
  margin-bottom: 10px;
  color: var(--text-medium);
}

.form-radio-selector {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 7px;
}

.radio-option {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: 12px;
  background: var(--lightest-black);
  color: var(--white);
  font-size: 16px;
  user-select: none;
  border: solid 2px var(--lightest-black);
}

.radio-option.selected {
  color: var(--white);
  border-color: var(--white);
}


/* SOCIAL ICON STYLE — ICON ONLY MODE */
.icon-style-icon .icon-wrapper {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

.icon-style-icon .icon-wrapper svg {
  width: 32px !important;
  height: 32px !important;
}


.form-dropdown select {
  width: calc(100% + 4px);
  background: transparent;
  border: none;
  color: var(--white);
  font-family: "Open Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  -webkit-text-fill-color: var(--white);
  text-align-last: left;
  padding: 0;
  padding-left: 0 !important;
  margin: 0;

/* remove native iOS arrow */
-webkit-appearance: none;
appearance: none;

/* NEW: white custom arrow */
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 320 512'><path d='M31.3 192h257.3c28.4 0 42.8 34.5 22.6 54.6L182.6 374.6c-12.5 12.5-32.8 12.5-45.3 0L8.7 246.6C-11.5 226.5 2.9 192 31.3 192z'/></svg>");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 8px;

padding-right: 36px; /* space for arrow */
}

.form-dropdown {
  width: 100%;
}

.sorting-active .form-row   {
  background: var(--light-black) !important;
}

.form-dropdown select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}


.form-dropdown select {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* BUTTON ROW */
.page-card-button-row {
  display: flex;
  gap: 6px;
  padding: 0 15px 17px;
  align-items: center;
}

/* DELETE (small square) */
.page-card-delete-btn {
  width: 48px;                      /* small square button */
  height: 50px;
  border-radius: 14px;
  background: var(--surface-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;  
/*margin-left: 13px;*/
}

.page-card-delete-btn svg {
  height: 18px;
  stroke: var(--warning);
  stroke-width: 3.4px;
  fill: none;
}

/* EDIT + SHARE (big buttons) */
.page-card-edit-btn,
.card-share-square {
  flex: 1;                          /* take remaining space equally */
  height: 50px;
  font-size: 16px;
  border-radius: 14px;
  background: var(--surface-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================================================
PAGE CARD — SAVING PLACEHOLDER
====================================================== */

.page-card-saving-placeholder {
  pointer-events: none;
  opacity: 0.92;
}

.page-card-saving-image-placeholder {
  background:
    radial-gradient(
      circle at top,
      rgba(255,255,255,0.07),
      transparent 48%
    ),
    var(--placeholder-bg);
}

.page-card-saving-spinner {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--surface-strong);
  border-top-color: var(--white);
  display: inline-block;
  animation: pageCardSavingSpin 0.75s linear infinite;
}

.page-card-saving-button-placeholder,
.page-card-saving-icon-placeholder {
  height: 50px;
  border-radius: 14px;
  background: var(--surface-medium);
  opacity: 0.55;
}

.page-card-saving-button-placeholder {
  flex: 1;
}

.page-card-saving-icon-placeholder {
  width: 48px;
  flex-shrink: 0;
}

.page-card-is-saving {
  pointer-events: none;
}

.page-card-is-saving::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(0,0,0,0.18);
  pointer-events: none;
}

.page-card-saving-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 9;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 10px;
  border-radius: 999px;

  background: var(--glass-notice);
  border: 1px solid var(--surface-medium);
  color: var(--white);

  font-size: 12px;
  font-weight: 600;

  box-shadow: var(--shadow-soft);
  pointer-events: none;
}

.page-card-saving-badge .page-card-saving-spinner {
  width: 14px;
  height: 14px;
  border-width: 1.5px;
}

@keyframes pageCardSavingSpin {
  to {
    transform: rotate(360deg);
  }
}

.edit-icon,
.share-icon {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* ---------------------------------------- */
/* Add Show Animation                       */
/* ---------------------------------------- */

/* Starting state before animation begins */
.new-show-container.show-animate-in {
  opacity: 0;
  transform: translateY(12px);
}

/* Transition to this state = smooth fade + slide */
.new-show-container.show-animate-ready {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms ease, transform 280ms ease;
}



#slug-required-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#slug-required-overlay.open {
  display: flex;
}

#slug-required-overlay .modal-card {
  max-width: 320px;
  text-align: center;
}




/* ============================
DELETE MODAL (UNIVERSAL)
============================ */
.delete-modal-overlay,
.fix-shareable-link-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-extra-strong);
  backdrop-filter: blur(4px);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.delete-modal-overlay.open,
.fix-shareable-link-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- DELETE MODAL BOX --- */
.delete-modal,
.fix-modal {
  background: color-mix(in srgb, var(--lighter-black) 75%, transparent);
  padding: 18px 15px;
  border-radius: 22px;
  width: 85%;
  margin: 15px;
  max-width: 360px;
  text-align: center;

  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.delete-modal-button-delete {
  background: var(--warning);
}

.save-modal-button {
  background: var(--white-20);
}

.delete-modal-button-cancel-alt {
  background: var(--field-bg-active);
/*background: var(--warning);*/
}

.delete-modal-overlay.open .delete-modal,
.fix-shareable-link-overlay.open .fix-modal {
  transform: translateY(0);
}

.delete-modal-title {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 5px;
  font-weight: 500;
}

.delete-modal-title-alt {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 18px;
  font-weight: 500;
}

.delete-modal-subtitle {
  color: var(--text-medium);
  font-size: 14px;
  margin-bottom: 18px;
}

.delete-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.delete-modal-cancel {
  background: #333;
  color: var(--white);
}

.delete-modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
}

.delete-modal-close svg {
  width: 14px;
  stroke: var(--white);
  stroke-width: 4px;
  margin-bottom: -1px;
  fill: none;
  background: none;
}

.delete-modal-yes {
  background: var(--danger-red);
  color: var(--white);
}


/* ===========================================================
ARTIST TOOLTIP (Clean No-Link Version)
=========================================================== */

.artist-tooltip {
  position: absolute;
  bottom: 20px;
  left: 15px;
  background: var(--white);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.artist-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.artist-tooltip.fade-out {
  opacity: 0;
}


/* ======================================================
   SORT BY — CONTAINER
====================================================== */
.sortby-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
}

/* ======================================================
   LABEL
====================================================== */
.sortby-label {
  opacity: 0.65;
  color: var(--text-medium);
}

/* ======================================================
   TOGGLE GROUP
====================================================== */
.sortby-toggle-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ======================================================
   BUTTON
====================================================== */
.sortby-toggle-btn {
  cursor: pointer;
  color: var(--text-medium);
  transition: all 0.2s ease;
}

/* ACTIVE */
.sortby-toggle-btn.active {
  color: var(--white);
}

/* ======================================================
   DIVIDER
====================================================== */
.sortby-toggle-divider {
  width: 1px;
  height: 12px;
  background: var(--white-20);
}







/******************************************************
================ DISC0GRAPHY VIEW MODE ================
*******************************************************/
.discog-info-view {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 7px 0px;
  text-align: center;
}

/* Artist Name */
.discog-artist-view {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

/* Release Title */
.discog-title-view {
  font-size: 19px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  color: var(--text-medium);
}

/* Year + Type (e.g. 2024 Album) */
.discog-year-type-view {
  font-size: 16px;
  margin-top: 3px;
  margin-bottom: 4px;
  color: var(--text-medium);
}

.view-page:has(.discog-artist-view):has(.discog-title-view) .social-display-row {
  margin-top: 10px;
  margin-bottom: 15px;
}

#type-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  fill: var(--text-medium);

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23bfbfbf' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 10px 6px;
  background-position: right 9px center;
}



/* -----------------------------------------
PRESAVE
------------------------------------------*/
.presave-required-note {
  margin: 15px 0px;
  color: var(--text-medium);
  font-size: 13px;
}

.presave-conditional {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.presave-conditional.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.presave-live-badge {
  color: var(--helper);
  font-size: 13px;
  margin: 0;
  min-height: 0;
  line-height: normal;
}

.presave-live-badge:not(.is-hidden) {
  margin-bottom: 15px;
  margin-top: -9px;
}


.presave-item {
  position: relative;
}

.presave-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}


/* --------------------------------------------------
PRE-SAVE STREAM ITEMS
-------------------------------------------------- */

/* Base: inherit streaming button layout safely */
.discog-stream-item--presave {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  margin-bottom: 8px;

    box-shadow: var(--shadow-hero);
}

/* Ensure marquee stays behind overlay */
.discog-stream-item--presave .stream-bgtext {
  z-index: 0;
}

/* Wrapper that centers everything */
.discog-stream-item--presave .presave-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Row: icon + text */
.presave-icon-text-container {
  display: flex;
  align-items: center;
  position: relative;
  gap: 11px;
  /*border: solid 1px var(--text-medium);*/
  border-radius: 100px;
  padding: 14px 30px 14px 26px;
}

.presave-icon-text-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;

background: linear-gradient(
  145deg,
  var(--white-60),
  var(--white-12)
);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* Icon */
.discog-stream-item--presave .stream-icon {
  position: relative !important;
  transform: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discog-stream-item--presave .stream-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.discog-stream-item--presave.stream-apple-music .stream-icon svg {
  margin-top: -2px;
}

/* Text */
.presave-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.7px;
}


/* -----------------------------------------
PRESAVE META (DATE + COUNTDOWN)
------------------------------------------ */
.presave-meta {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 15px;
  padding: 14px 0px 16px 0px;
  margin: 0 auto;
  margin-top: 12px;
  margin-bottom: 15px;

  width: calc(100vw - 30px);

  background: var(--light-black);
  border-radius: 22px;
}


/* Date (secondary) */
.presave-meta .presave-date {
  font-size: 16px;
  display: flex;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* Countdown (primary) */
.presave-countdown {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;
  margin: 0 auto;
  width: calc(100vw - 30px);
  flex-wrap: nowrap;
  border-radius: 22px;
}


.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.countdown-number {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.countdown-label {
  margin-top: 4px;
  font-size: 14px;
/*text-transform: uppercase;*/
letter-spacing: 0.8px;
color: var(--text-medium);
}

.countdown-divider {
  width: 1px;
  height: 42px;
  align-self: center;
  background:
  linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--white) 18%, transparent),
    transparent
  );
}

@media (max-width: 410px) {
  .presave-countdown {
    gap: 10px;
  }

  .countdown-unit {
    min-width: 56px;
  }

  .countdown-number {
    font-size: 33px;
  }

  .countdown-label {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .countdown-divider {
    height: 36px;
  }
}

@media (max-width: 360px) {
  .presave-countdown {
    gap: 8px;
  }

  .countdown-number {
    font-size: 22px;
  }

  .countdown-divider {
    display: none;
  }
}









/* -----------------------------------------
STREAMING BUTTONS (New Spotify-style)
------------------------------------------*/
.streaming-item-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.streaming-item-view:first-of-type {
  margin-top: 0px;
}

[data-page="index"] .streaming-item-view {
  margin-top: 0px;
  margin-bottom: 20px;
}

[data-page="epk"] .streaming-item-view {
  margin-top: 20px;
}

[data-page="epk"] .social-display-row {
  /*margin-bottom: 5px;*/
}

.discog-stream-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
  padding: 20px 20px;
  min-height: 72px;
  height: 85px;

  box-shadow:
  inset 0 1px 0 var(--white-12),
  inset 0 -8px 20px var(--black-25);
}

.stream-spotify,
.stream-apple-music,
.stream-bandcamp,
.stream-amazon-music,
.stream-youtube-music,
.stream-soundcloud,
.stream-tidal {
  position: relative;
  border-radius: 22px; /* match your radius */
}

.stream-spotify::after,
.stream-apple-music::after,
.stream-bandcamp::after,
.stream-amazon-music::after,
.stream-youtube-music::after,
.stream-soundcloud::after {

  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(
  145deg,
  var(--white-35),
  var(--white-08)
);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.stream-tidal::after {

  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(
  145deg,
  var(--white-12),
  var(--white-08)
);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}



/* BACKGROUND TEXT */
.stream-bgtext {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.stream-bgtext span {
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.25;
  color: var(--white);
  line-height: 1;
  display: inline-block;
  transform-origin: center center;
}

.stream-bgtext[data-label="Tidal"] span {
  opacity: 0.13; /* or whatever value you want */
}





/* BRAND COLORS */
/*.stream-spotify  { background: #1DB954 !important; }
.stream-apple-music { background: #FA233B !important; }
.stream-amazon-music { background: #00A8E1 !important; }
.stream-tidal { background: #333333 !important; }
.stream-youtube-music { background: #FF0000 !important; }
.stream-soundcloud { background: #FF5500 !important; }
.stream-bandcamp { background: #629AA9 !important; }*/

.stream-spotify  {
  background: linear-gradient(
    145deg,
    #27d968,   /* lighter */
    #159d47    /* darker */
  ) !important;
}

.stream-apple-music {
  background: linear-gradient(
    145deg,
    #ff4055,
    #c81c2e
  ) !important;
}

.stream-amazon-music {
  background: linear-gradient(
    145deg,
    #1cc2ff,
    #0086b8
  ) !important;
}

.stream-tidal {
  background: linear-gradient(
    145deg,
    #555555,
    #1f1f1f
  ) !important;
}

.stream-youtube-music {
  background: linear-gradient(
    145deg,
    #ff2e2e,
    #c40000
  ) !important;
}

.stream-soundcloud {
  background: linear-gradient(
    145deg,
    #ff7a1f,
    #d64500
  ) !important;
}

.stream-bandcamp {
  background: linear-gradient(
    145deg,
    #7fb6c6,
    #4c7f8d
  ) !important;
}


.stream-amazon-music svg {
  transform: scale(1.2);
}

.stream-apple-music svg {
  transform: scale(1.1);
}

.stream-soundcloud svg {
  transform: scale(1.2);
}

/* ===============================
STREAMING BG BUTTON
=============================== */

.stream-bgbutton {
  position: relative;
  width: 100%;
  height: 90px;
  border-radius: 22px;
  overflow: hidden;
}

/* ===============================
ICON — PERFECT CENTER
=============================== */

.stream-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

/* ACTUAL LOGO */
.stream-icon {
  position: relative;
  z-index: 2;
}

.stream-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

/* ======================================================
STREAMING BUTTON — BACKGROUND TEXT
====================================================== */
.stream-bgtext {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;

  font-size: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  row-gap: 3px;
  opacity: 0.55;
}


.stream-bg-row {
  width: 100%;
  display: flex;
  align-items: center;
  padding-block: 3px;
  padding: 0;
  transform: rotate(-4deg);
}

.stream-word {
  font-weight: 600;
  line-height: 1;
}


/* The moving track */
.stream-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  --word-gap: 40px;
  padding: 0;
}

/* One unit (pattern) */
.stream-unit {
  display: flex;
  gap: var(--word-gap);
  padding-right: var(--word-gap);
}

/* Marquee */
@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.stream-track[data-dir="left"]  { animation: marqueeLeft linear infinite; }
.stream-track[data-dir="right"] { animation: marqueeRight linear infinite; }


/* ======================================================
STREAMING ITEMS — LOCK TO DARK MODE COLORS
------------------------------------------------------
Keeps Spotify / Apple / etc. visually identical across
light mode and all custom themes.
====================================================== */

.streaming-item-view {
  --stream-white: #f7f7f7;
  --stream-white-08: rgba(255,255,255,0.08);
  --stream-white-12: rgba(255,255,255,0.12);
  --stream-white-35: rgba(255,255,255,0.35);

  --stream-black-25: rgba(0,0,0,0.25);
}

.streaming-item-view .discog-stream-item {
  box-shadow:
    inset 0 1px 0 var(--stream-white-12),
    inset 0 -8px 20px var(--stream-black-25);
}

.streaming-item-view .stream-spotify::after,
.streaming-item-view .stream-apple-music::after,
.streaming-item-view .stream-bandcamp::after,
.streaming-item-view .stream-amazon-music::after,
.streaming-item-view .stream-youtube-music::after,
.streaming-item-view .stream-soundcloud::after {
  background: linear-gradient(
    145deg,
    var(--stream-white-35),
    var(--stream-white-08)
  );
}

.streaming-item-view .stream-tidal::after {
  background: linear-gradient(
    145deg,
    var(--stream-white-12),
    var(--stream-white-08)
  );
}

.streaming-item-view .stream-icon svg {
  fill: var(--stream-white);
}

.streaming-item-view .stream-bgtext span {
  color: var(--stream-white);
}


/* -----------------------------------------
LYRICS ACCORDION (mirrors credits)
------------------------------------------*/
.lyrics-accordion {
  margin-top: 15px;
  background: var(--light-black);
  border-radius: 18px;
  overflow: hidden;
}

.lyrics-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  padding: 15px;
}

.lyrics-accordion .accordion-arrow {
  width: 18px;
  height: 18px;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
  fill: var(--white);
}

.lyrics-accordion.open .accordion-arrow {
  transform: rotate(-180deg);
}

.lyrics-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.lyrics-accordion.open .lyrics-accordion-content {
  overflow-y: auto;
  padding: 0 15px 15px;
}

.lyrics-line {
  font-size: 15px;
  line-height: 1.35;
  white-space: pre-wrap;
  color: var(--text-medium);
  margin: 0;
}

.lyrics-line:first-of-type {
  margin-top: 0px;
}

.lyrics-line:last-of-type {
  margin-bottom: 0px;
}



/* -----------------------------------------
CREDITS LIST
------------------------------------------*/
/* WRAPPER always hides expansion animation cleanly */
.credits-accordion {
  margin-top: 15px;
  background: var(--light-black);
  border-radius: 18px;
  overflow: hidden;
}

.credits-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  padding: 0px;
  padding: 15px;
}

.accordion-arrow {
  width: 18px;
  height: 18px;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
  fill: var(--white);
}

.credits-accordion.open .accordion-arrow {
  transform: rotate(-180deg);
}

.credits-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.credits-accordion.open .credits-accordion-content {
  max-height: 500px; /* or a calculated value */
  padding: 0 15px 15px;
}

.credit-line {
  font-size: 15px;
  opacity: 0.85;
  margin: 6px 0;
  line-height: 1.2;
  color: var(--text-medium);
}

.credit-line:first-of-type {
  margin-top: 0px;
}

.credit-line:last-of-type {
  margin-bottom: 0px;
}







.lyrics-textarea {
  width: 100%;
  min-height: 200px;
  padding: 15px;
  box-sizing: border-box;
  font-family: inherit;
  background: var(--textarea-bg, var(--field-bg));
  color: var(--white);
  border: none;
  border-radius: 14px;

/* IMPORTANT FOR CAPACITOR */
font-size: 16px !important; /* prevents iOS zoom */
resize: none;
}

.lyrics-textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.textarea-padding-change {
  padding-bottom: 13px;
}


/* -----------------------------------------
PREVIOUS RELEASES TOGGLE TEXT
------------------------------------------*/
.discog-previous-view {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-medium);
}


/* -----------------------------------------
PREVIOUS RELEASES TOGGLE TEXT
------------------------------------------*/
.discog-previous-view {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-medium);
}


/* -----------------------------------------
TOOLKIT DAILY INSPIRATION (REFINED)
------------------------------------------*/
.daily-inspiration {
  width: calc(100% - 30px);
  margin-bottom: 25px;
  padding: 18px 15px;

/* Softer, more atmospheric */
background: linear-gradient(
  to bottom,
  var(--white-04),
  var(--white-04)
);

border-radius: 22px;
}

/* Label */
.daily-inspiration-header {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 9px;
  margin: 0 0 8px 0;
  color: var(--text-white);
}

/* Quote text */
.daily-inspiration-text {
  position: relative;
  margin: 0;
  /*padding-left: 12px;*/

  font-style: italic;
  font-size: 13px; 
  line-height: 1.45;

  color: var(--text-medium);
  opacity: 0.8;  
}

/* Subtle left accent */
/*.daily-inspiration-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1.5px;
  border-radius: 2px;
  background: var(--surface-medium);
}*/

/* ================================
TOOLKIT — MEDITATION / GROUNDING
================================ */

.daily-inspiration--grounding {
  margin-bottom: 25px;
}

.daily-grounding-divider {
  width: 40px;
  height: 1px;
  margin: 15px 0 13px 0;
  background: rgba(255,255,255,0.1);
}

.daily-grounding-row {
  display: block;
}

.daily-grounding-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toolkit-meditation-card {
  display: none;
}

.toolkit-meditation-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.toolkit-meditation-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 9px;
  color: var(--text-white);
}

.toolkit-meditation-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: var(--white);
}

.toolkit-meditation-helper {
  position: relative;
  margin: 0;
  /*padding-left: 12px;*/

  font-style: italic;
  font-size: 13px; 
  line-height: 1.45;

  color: var(--text-medium);
  opacity: 0.8; 
}

.toolkit-meditation-duration-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
}

.toolkit-meditation-duration {
  height: 31px;
  padding: 0 13px;
  border: none;
  border-radius: 999px;
  background: var(--white-04);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.toolkit-meditation-duration.is-selected {
  background: var(--white-12);
  color: var(--white);
  font-weight: 500;
}

.toolkit-meditation-start {
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  height: 31px;
  margin: 0 0 0 auto;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: var(--surface-medium);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Overlay */
.toolkit-meditation-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: flex;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  background:
    radial-gradient(
      620px 480px at 50% 16%,
      rgba(190, 215, 255, 0.14),
      transparent 58%
    ),
    radial-gradient(
      620px 460px at 18% 82%,
      rgba(126, 171, 255, 0.10),
      transparent 62%
    ),
    radial-gradient(
      700px 520px at 82% 86%,
      rgba(176, 130, 255, 0.14),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(7,10,20,0.985) 0%,
      rgba(8,11,18,0.992) 52%,
      rgba(7,8,12,0.996) 100%
    );
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.toolkit-meditation-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.toolkit-meditation-screen {
  width: 100%;
  min-height: 100%;
  padding:
    calc(env(safe-area-inset-top) + 18px)
    22px
    calc(env(safe-area-inset-bottom) + 22px)
    22px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.toolkit-meditation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toolkit-meditation-heading {
  margin: 0;
  font-size: 14px;
  color: var(--text-medium);
}

.toolkit-meditation-close {
  border: none;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-radius: 999px;
  height: 36px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.toolkit-meditation-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.toolkit-breath-circle-wrap {
  position: relative;
  width: min(68vw, 290px);
  height: min(68vw, 290px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toolkit-breath-orbit {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 90px rgba(155,190,255,0.08),
    0 0 130px rgba(183,141,255,0.06),
    inset 0 0 50px rgba(255,255,255,0.04);
}

.toolkit-breath-circle {
  width: 72%;
  height: 72%;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255,255,255,0.48),
      rgba(196,220,255,0.18) 40%,
      rgba(173,148,255,0.12) 68%,
      rgba(255,255,255,0.04) 100%
    );
  box-shadow:
    0 0 50px rgba(175,210,255,0.12),
    0 0 80px rgba(177,132,255,0.10),
    inset 0 1px 1px rgba(255,255,255,0.16);
  transform: scale(0.70);
  opacity: 0.84;
  transition:
    transform 4s ease-in-out,
    opacity 4s ease-in-out,
    box-shadow 4s ease-in-out;
}

.toolkit-meditation-overlay.is-inhale .toolkit-breath-circle {
  transform: scale(1.38);
  opacity: 1;
  box-shadow:
    0 0 70px rgba(175,210,255,0.16),
    0 0 110px rgba(177,132,255,0.12),
    inset 0 1px 1px rgba(255,255,255,0.18);
  transition-duration: 4s;
}

.toolkit-meditation-overlay.is-hold .toolkit-breath-circle {
  transform: scale(1.38);
  opacity: 0.96;
  box-shadow:
    0 0 75px rgba(175,210,255,0.17),
    0 0 120px rgba(177,132,255,0.13),
    inset 0 1px 1px rgba(255,255,255,0.18);
  transition-duration: 2s;
}

.toolkit-meditation-overlay.is-exhale .toolkit-breath-circle {
  transform: scale(0.70);
  opacity: 0.78;
  box-shadow:
    0 0 42px rgba(175,210,255,0.08),
    0 0 62px rgba(177,132,255,0.06),
    inset 0 1px 1px rgba(255,255,255,0.12);
  transition-duration: 4s;
}

.toolkit-meditation-phase {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  color: var(--white);
}

.toolkit-meditation-guidance {
  min-height: 44px;
  max-width: 320px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-medium);
}

.toolkit-meditation-countdown {
  margin: 2px 0 0 0;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.toolkit-meditation-bottom {
  min-height: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.toolkit-meditation-note {
  margin: 0;
  max-width: 300px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

body.toolkit-meditation-active {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .toolkit-breath-circle,
  .toolkit-meditation-overlay {
    transition: none !important;
  }
}




/* ================================
TOOLKIT RIGHT-ACTION BUTTON (UNIFIED)
================================ */

.tool-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  width: 70px;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.15s ease;
  height: 100%; /* 🔑 matches input row height */
  background: var(--surface-medium);
  color: var(--text-medium);
  opacity: 0.5;
}

/* Active */
.tool-action.is-active {
  color: var(--white);
  opacity: 1;
}

.tool-action:not(.is-active) {
  pointer-events: none;
}


/* ================================
TOOLKIT — UNIFIED INPUT ROW
================================ */

.tool-input-row {
  display: flex;
  align-items: stretch;
  background: var(--surface-medium);
  border-radius: 14px;
  overflow: hidden;
  height: 52px; /* 🔑 forces identical height everywhere */
  position: relative;
}

.tool-input-row .input-helper {
  font-family: inherit !important;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  pointer-events: none;
  position: absolute;
  left: 16.5px;
  margin-top: 14px;
}

.release-roadmap-tool .input-helper {
  left: 113px;
}

/* Input */
.tool-input-row input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 16px;
  font-size: 15px;
  color: var(--white);
}

.tool-input-row input::placeholder {
  color: var(--text-medium);
}

.single-show-time .input-helper {
  left: 101px;
}




/* ================================
TOOLKIT QR CODE
================================ */
.qr-tool {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ================================
INPUT + GENERATE (SINGLE CONTROL)
================================ */

#qr-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--white);
}

#qr-input::placeholder {
  color: var(--text-medium);
}

#qr-input:focus {
  outline: none;
}


/* ================================
RESULTS VISIBILITY STATE
================================ */
.qr-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qr-results--inactive {
  display: none;
}

/* ================================
QR PREVIEW
================================ */
.qr-preview {
  display: flex;
  justify-content: center;
}

.qr-preview svg {
  width: 180px;
  height: 180px;
}

.qr-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-buttons-container .main-button {
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

/* ================================
QR VARIANT PICKER
================================ */
.qr-variant-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.qr-variant-option {
  min-height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--text-medium);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
}

.qr-variant-option.selected {
  background: var(--surface-strong);
  border-color: var(--border-medium);
  color: var(--white);
}

.qr-variant-swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex: 0 0 auto;
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.qr-variant-swatch--black-white {
  background: #fff;
}

.qr-variant-swatch--black-white::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #000;
  border-radius: 4px;
}

.qr-variant-swatch--white-black {
  background: #000;
}

.qr-variant-swatch--white-black::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #fff;
  border-radius: 4px;
}

.qr-variant-swatch--white-transparent {
  background:
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25% 75%, rgba(255,255,255,0.18) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25% 75%, rgba(255,255,255,0.18) 75%);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
}

.qr-variant-swatch--white-transparent::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: #fff;
  border-radius: 3px;
}

.qr-variant-swatch--black-transparent {
  background:
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25% 75%, rgba(255,255,255,0.18) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25% 75%, rgba(255,255,255,0.18) 75%);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
}

.qr-variant-swatch--black-transparent::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: #000;
  border-radius: 3px;
}

/* ================================
TOOLKIT — RELEASE ROADMAP
================================ */

.release-roadmap-tool {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.release-roadmap-helper {
  margin: 0;
  color: var(--text-medium);
  font-size: 14px;
  line-height: 1.45;
}

#release-roadmap-heading {
  display: none;
}

.release-roadmap-form {
  overflow: hidden;
}

.release-roadmap-form .form-row input,
.release-roadmap-form .form-row input::placeholder {
  text-align: left;
}

.release-roadmap-form .form-row input[type="date"] {
  min-width: 145px;
}

.release-roadmap-generate-btn {
  margin-top: 5px;
}

.release-roadmap-generate-btn,
.release-roadmap-calendar-all {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  border: none;
}

.release-roadmap-calendar-all {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 14px;
  margin-top: 15px;
}

.release-roadmap-generate-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.release-roadmap-results {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.release-roadmap-results--inactive {
  display: none;
}

.release-roadmap-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.release-roadmap-results-kicker {
  margin: 0 0 5px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.release-roadmap-results-header h3 {
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
}

.release-roadmap-list {
  display: flex;
  flex-direction: row;
  gap: 12px;

  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  padding-bottom: 2px;
  padding-right: 28px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.release-roadmap-list::-webkit-scrollbar {
  display: none;
}

.release-roadmap-card {
  box-sizing: border-box;
  flex: 0 0 calc(100% - 42px);
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border-radius: 18px;
  background: var(--surface-medium);
  box-shadow:
    var(--inset-border-soft),
    0 10px 22px rgba(0,0,0,0.12);
}

.release-roadmap-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.release-roadmap-card-meta {
  min-width: 0;
}

.release-roadmap-card-offset {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}

.release-roadmap-card-date-preview {
  margin: 4px 0 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.release-roadmap-remove-btn {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: var(--white);
  stroke-width: 4px;
  transform: translateY(4px);
}

.release-roadmap-card-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.release-roadmap-card-field,
.release-roadmap-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.release-roadmap-card-field label,
.release-roadmap-control label {
  color: var(--text-medium);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.release-roadmap-task-title,
.release-roadmap-control input {
  width: 100%;
  box-sizing: border-box;
  outline: none;
  appearance: none;

  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--white);

  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;

  padding: 11px 14px;
}

.release-roadmap-task-title {
  min-height: 82px;
  resize: vertical;
}

.release-roadmap-control input {
  height: 46px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.release-roadmap-task-title::placeholder,
.release-roadmap-control input::placeholder {
  color: var(--text-muted);
}

.release-roadmap-card-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 12px;
}

.release-roadmap-task-title:focus,
.release-roadmap-control input:focus {
  border-color: var(--border-medium);
  background: var(--field-bg-active);
}

.release-roadmap-task-calendar {
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 14px;
  margin-top: 8px;
}

.release-roadmap-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 430px) {
  .release-roadmap-card-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}


/* =========================
TOOLKIT — TOUR PLANNER
========================= */

.toolkit-tour-planner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Stops */

.toolkit-tour-planner-stops {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toolkit-tour-stop-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolkit-tour-stop-input {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--field-bg-hover);
  color: var(--white);
  font-size: 14px;
}

.toolkit-tour-stop-input:focus {
  outline: none;
  background: var(--field-bg-active);
}

.toolkit-tour-stop-remove {
  background: transparent;
  border: none;
  color: var(--text-medium);
  font-size: 18px;
}

/* Add stop */

.toolkit-tour-stop-add {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--text-medium);
  font-size: 13px;
  padding-left: 2px;
}

/* Action */

.toolkit-tour-planner-actions {
  display: flex;
  justify-content: flex-end;
}

.toolkit-tour-plan-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--lightest-black);
  color: var(--white);
  font-size: 13px;
  transition: opacity 0.15s ease;
}

.toolkit-tour-plan-btn.is-inactive {
  opacity: 0.4;
  pointer-events: none;
}

/* Results */

.toolkit-tour-planner-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toolkit-tour-legs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toolkit-tour-leg {
  background: var(--lighter-black);
  border-radius: 14px;
  padding: 12px 14px;
}

.toolkit-tour-leg-route {
  font-size: 14px;
  font-weight: 600;
}

.toolkit-tour-leg-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}

.toolkit-tour-leg-warning {
  margin-top: 6px;
  font-size: 12px;
  color: #ffb86b;
}

/* Summary */

.toolkit-tour-summary {
  background: var(--light-black);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toolkit-tour-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}






/* ================================
SHOW TIME CONVERTER
================================ */
#timezone-time-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 16px 14px 16px;
  font-size: 15px;
  color: var(--white);
}

#timezone-time-input::placeholder {
  color: var(--text-medium);
}

#timezone-time-input:focus {
  outline: none;
}

/* Disabled AFTER interaction */
.timezone-action.is-disabled:not(.is-pristine) {
  opacity: 0.4;
  pointer-events: none;
}

/* Pristine (page load) */
.timezone-action.is-pristine {
  opacity: 1;
  pointer-events: none;
}

/* ================================
RESULTS CONTAINER
================================ */

.timezone-results {
  margin-top: 10px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 16px;
}

.timezone-results--inactive {
  display: none;
}

/* ================================
RESULT ROWS
================================ */

.timezone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface-medium);
  border-radius: 12px;
}

/* Labels + values */
.tz-label {
  font-size: 13px;
  color: var(--text-medium);
}

.tz-value {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}

/* ================================
LOCAL EMPHASIS (COLOR-BASED)
================================ */

.timezone-row--local {
  background: rgba(255, 255, 255, 0.04);
}

.timezone-row--local .tz-label {
  color: var(--white);
}

.timezone-row--local .tz-value {
  color: var(--white);
}

/* ================================
TOMORROW INDICATOR
================================ */

.tz-shift {
  font-size: 11px;
  color: var(--text-medium);
  margin-left: 6px;
  white-space: nowrap;
}

/* ================================
COPY ALL TIMES
================================ */

.timezone-copy {
  margin-top: 4px;
  padding: 6px 2px 0px 2px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--text-medium);
  text-align: left;
}


/* ================================
TOOLKIT ACCORDION
================================ */
.toolkit-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* HEADER */
.toolkit-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.form-header-toolkit {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
}

.form-header-toolkit svg {
  width: 17px;
  fill: none;
  stroke: var(--white);
  stroke-width: 4px;
}

/* CHEVRON */
.accordion-chevron {
  width: 20px;
  height: 20px;
  fill: none;
  transition: transform 0.25s ease;

  fill: none;
  stroke: var(--text-strong);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toolkit-accordion-body{
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(.25,.8,.25,1);
}

/* optional: keeps spacing consistent */
.toolkit-accordion-body > .edit-mode-container{
  margin: 0 16px 16px 16px;
}


/* inner wrapper must be able to shrink */
.toolkit-accordion-body > div {
  min-height: 0;
  overflow: hidden;
}


/* OPEN STATE */
.toolkit-accordion-item.open .toolkit-accordion-body {
  grid-template-rows: 1fr;
}


.toolkit-accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

/* INNER CONTENT SPACING FIX */
.toolkit-accordion-body .toolkit-open-container {
  padding: 3px 15px 15px 15px;
}



/******************************************************
==================== TOOLKIT PLAYLIST ============
******************************************************/
.toolkit-playlist-helper {
  font-size: 14px;
  margin: 0;
  color: var(--text-medium);
  margin-bottom: 25px;
}

.toolkit-playlist-list {
  max-height: 550px;
  overflow-y: auto;
}

/* Optional: smoother scrolling on iOS */
.toolkit-playlist-list {
  -webkit-overflow-scrolling: touch;
}

.toolkit-playlist-item {
  background: var(--surface-medium);
  padding: 18px 15px;
  border-radius: 14px;
  margin-bottom: 15px;
}

.toolkit-playlist-item:last-of-type {
  margin-bottom: 0px;
}

.toolkit-playlist-header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: solid 1px var(--surface-medium);
  padding-bottom: 18px;
}

.toolkit-playlist-list-header {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.toolkit-playlist-pill {
  margin: 0;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--surface-medium);
}

.toolkit-playlist-item-description {
  margin: 17px 0 18px 0;
  font-size: 15px;
  color: var(--text-medium);
}

.toolkit-playlist-list a {
  color: var(--white);
  margin-bottom: 3px;
  font-size: 15px;
}






/* ======================================================
ARTIST BRAND FONT
Applies chosen artist font across public/view artist names.
====================================================== */

.index-artist-view,
.discog-artist-view,
.music-artist-view,
.shows-artist-view,
.merch-artist-view,
.epk-artist-view,
[class$="-artist-view"] {
  max-width: 100%;
  min-width: 0;

  font-family: var(--artist-brand-font-family, "Open Sans", Arial, sans-serif);
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

/* Keep long names from breaking mobile/public layouts */
.index-info-view,
.discog-info-view,
.music-info-view,
.shows-info-view,
.merch-info-view,
.epk-info-view {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.index-artist-view,
.discog-artist-view,
.music-artist-view,
.shows-artist-view,
.merch-artist-view,
.epk-artist-view {
  /*line-height: 1.02;*/
  margin-top: 5px;
}






/******************************************************
==================== AUTH (LOGIN / SIGNUP) ============
******************************************************/

.auth-page {
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--background)
  background-size: 100% 200%;
  animation: authGradientMove 12s ease-in-out infinite;
}

@keyframes authGradientMove {
  0% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 50% 0%;
  }
}


.auth-error-text {
  text-align: center;
  font-size: 13px;
  color: var(--white);
  margin: 0;
  max-height: 0;
  overflow: hidden;

  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;

  transition:
  all 0.2s ease;
}

.auth-error-text.is-visible {
  max-height: 50px;
  margin: 12px 0;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}





.auth-page {
  position: relative;
  overflow: hidden;
}

.auth-card .form-row {
  border-color: var(--text-medium);
}

.auth-page::before {
/*  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;*/

/* Step & repeat background */
/*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1104 450'%3E%3Cg fill='white' fill-opacity='0.06' %3E%3Cpath d='M557.32,131.17c16.78-20.09,55.03-19.79,71.12,2,5.83,7.9,9.29,17.55,9.3,27.89l.04,162.17c0,9.26-2.3,17.38-5.3,25.59-7.08,17.68-23.93,27.99-42.97,26.76-13-.84-24.07-7.54-31.43-19.17-26.62,23.67-72.88,25.07-105.34,15.29-49.42-15.94-65.33-60.73-65.18-108.92l.32-104.86c.04-12.71,6.79-24.39,16.03-31.91,16.14-13.11,46.89-13.16,62.23,3.13,8.03,8.54,12.53,19.79,12.56,31.9l.26,94.24c.05,17.61,11.27,32.93,29.34,34.45,14.18,1.19,27.11-3.39,33.63-16.55,3.07-6.21,4.23-12.8,4.26-19.96l.31-93.28c.04-10.76,4.26-20.88,10.85-28.76Z'/%3E%3Cpath d='M893.51,131.25c11.72,11.33,12.67,28.14,6.62,43.14l-65.02,161.49c-7.39,18.34-16.77,33.22-36.55,38.82-7.98,2.26-15.86,2.62-24.24,2.7-27.06.23-44.08-13.42-53.94-38.01l-66.18-165.13c-8.12-20.27-3.31-40.22,16.79-50.07,12.17-5.96,26.19-7.3,39.2-3.72s21.09,12.57,25.32,24.4l16.16,45.17,25.84,73.18,16.36-46.84,26.2-73.91c2.31-4.38,4.39-8.7,7.73-12.23,15.78-16.67,49.02-15.1,65.71,1.03Z'/%3E%3Crect x='272.83' y='23.75' width='92.03' height='353.65' rx='42.5' ry='42.5'/%3E%3Ccircle cx='963.07' cy='51.54' r='51.54'/%3E%3Crect x='917.06' y='118.33' width='92.03' height='259.06' rx='40.44' ry='40.44'/%3E%3Cpath d='M253.72,118.83c-3.99-17.87-12.46-33.64-25.19-46.76-29.34-30.22-56.15-38.84-97.1-38.71l-58.1.2c-9.48.58-18.3,1.73-27,4.03C20.9,44.32.11,64.4.09,92.31l-.09,196.33v44.65c0,24.36,19.75,44.1,44.1,44.1h5.55c24.36,0,44.1-19.75,44.1-44.1v-44.65h.02l-.08-25.92h34.63c17-.01,33.91-2.51,50.18-7.46.92-.28,1.86-.57,2.84-.86,32.11-11.18,59.47-33.8,69.77-66.94,6.96-22.41,7.72-45.74,2.61-68.63ZM172,148.13c0,20.3-16.45,36.75-36.75,36.75h-40.18c-.72,0-1.31-.59-1.31-1.31v-61.43c0-5.94,4.81-10.75,10.75-10.75h30.75c20.3,0,36.75,16.45,36.75,36.75h0Z'/%3E%3C/g%3E%3C/svg%3E");
background-repeat: repeat;
background-size: 500px auto;
background-position: 40px 60px;
animation: bgDrift 17s linear infinite;*/
}

@keyframes bgDrift {
  0%   { background-position: 40px 60px; }
  50%  { background-position: 120px 140px; }
  100% { background-position: 40px 60px; }
}

/* keep content above */
.auth-logo,
.auth-card {
  position: relative;
  z-index: 1;
}

/* ---------- TITLE ---------- */

.auth-title {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 25px 0;
}

/* ---------- FORM ROWS ---------- */

.auth-row {
  margin-bottom: 14px;
}

.auth-row label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--white-72);
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.auth-row input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  padding: 2px 0px 8px 0px;
  font-size: 16px;
  color: var(--white);
  transition: 0.4s;
}

.auth-row input::placeholder {
  color: var(--white);
  opacity: 0.46;
}

.auth-row input:focus {
  outline: none;
  border-bottom-color: var(--white);
  transition: 0.4s;
}

/* ---------- PRIMARY BUTTON ---------- */

.auth-primary-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px 0;
  border-radius: 14px;
  border: none;
  background: var(--glass-soft);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.12s ease, opacity 0.12s ease;
  position: relative;
  overflow: hidden;
}

.auth-primary-btn:active {
  transform: scale(0.97);
  opacity: 0.85;
}

/* ---------- FOOTER LINKS ---------- */

.auth-footer {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

.auth-footer a {
  color: var(--white);
  opacity: 0.5;
  text-decoration: none;
}

.auth-footer span {
  margin: 0 6px;
  opacity: 0.6;
}

/* ---------- SUBTLE HELP TEXT ---------- */

.auth-subtle {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-medium);
  text-align: center;
}

/* ---------- STATE HANDLING ---------- */

.auth-state {
  display: none;
}

.auth-page[data-state="signin"] .auth-signin,
.auth-page[data-state="signup"] .auth-signup,
.auth-page[data-state="forgot"] .auth-forgot {
  display: block;
}


/* ---------- ON PAGE EDIT STUFF (NO MODAL) ---------- */

.edit-page-container {
  background: var(--background);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative !important;

}


.misc-container {
  margin: 0 auto;
}

.tc-h2 {
  font-size: 13.5px;
  font-weight: 500;
  margin: 21px 0 6px 0;
  color: var(--white);
}

.tc-p {
  font-size: 15px;
  color: var(--text-medium);
  margin: 0 0 14px 0;
}


/* ---------- PUBLIC NOT FOUND ---------- */


.public-not-found-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 30px);
  padding: 15px;
  flex-direction: column;
}

.public-not-found-container svg {
  width: 120px;
  fill: var(--white);
  margin-bottom: 30px;
}

.public-not-found-header {
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.public-not-found-message {
  font-size: 16px;
  color: var(--text-medium);
}














/* =============================
TRIAL / PAYWALL GATE
============================= */

#trial-gate {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  background: var(--overlay-strong);
  backdrop-filter: blur(8px);

  z-index: 1500;

  pointer-events: auto;
}

.gate-logo {
  fill: var(--white);
  width: 100px;
  margin: 0 auto;
  margin-bottom: 15px;
}


body.trial-gated #trial-gate {
  display: flex;
}

/* Card */
.trial-gate-card {
  width: calc(100% - 60px);
  margin-top: -40px;

  background: var(--light-black);
  border-radius: 20px;
  padding: 23px 15px;

  display: flex;
  flex-direction: column;
  gap: 15px;

  text-align: center;
  position: relative;
}

.trial-gate-card h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.trial-gate-card p {
  font-size: 15px;
  color: var(--text-medium);
  margin: 0;
  margin-top: -2px;
  margin-bottom: 8px;
}

.start-subscription-button {
  background: linear-gradient(
    90deg,
    #ff5a3d 0%,
    #ff4d6d 35%,
    #c43cff 70%,
    #7b2cff 100%
  );
  background-size: 300% 300%;
  animation: addButtonGlow 6s linear infinite;
}

.trial-secondary-button {
  color: var(--text-medium);
  font-size: 14px;
}



/* ======================================================
   DELETE ACCOUNT FLOW
====================================================== */

.account-delete-trigger {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.account-delete-trigger:hover {
  opacity: 0.65;
}

/* ----------------------------------
   Delete Account Modal Overlay
---------------------------------- */
#delete-account-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px;

  background: var(--black-60);
  backdrop-filter: blur(7px);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#delete-account-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ----------------------------------
   Modal Card
---------------------------------- */
#delete-account-modal .modal {
  position: relative;
  isolation: isolate;

  width: calc(100% - 36px);
  max-width: 430px;
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  background: var(--glass-modal);
  color: var(--white);
  border-radius: 22px;
  padding: 22px 15px 19px 15px;

  display: flex;
  flex-direction: column;

  transform: translateY(6px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(.2,.8,.2,1),
    opacity 0.2s ease;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.38),
    0 0 0 1px rgba(255,255,255,0.04);
}

#delete-account-modal.is-visible .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

#delete-account-modal .modal > * {
  position: relative;
  z-index: 3;
}

/* ----------------------------------
   Content
---------------------------------- */
#delete-account-modal .form-header {
  margin-bottom: 22px;
}

#delete-account-modal .modal-body {
  display: flex;
  flex-direction: column;
}

#delete-account-modal .form-subheader {
  color: var(--text-medium);
  line-height: 1.45;
  margin: 0;
}

#delete-account-modal .delete-account-summary {
  margin-top: -8px;
  margin-bottom: 17px;
}

#delete-account-modal .delete-account-note {
  margin-bottom: 18px;
}

#delete-account-modal .delete-account-confirm-copy {
  margin-bottom: 10px;
}

.delete-account-confirm-copy span {
  font-weight: 600;
}

#delete-account-modal .delete-account-confirm-row {
  padding-top: 0;
}

#delete-account-modal .modal-footer {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ----------------------------------
   Error text
---------------------------------- */
#delete-account-error {
  margin-top: 13px;
  color: #ff8a8a;
}

/* ----------------------------------
   Input
---------------------------------- */
#delete-account-confirm-input {
  color: var(--white);
}

#delete-account-confirm-input::placeholder {
  color: var(--empty-text);
}

/* ----------------------------------
   Danger button
---------------------------------- */
#confirm-delete-account-btn {
  background: var(--danger-red);
  color: var(--white);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#confirm-delete-account-btn:hover {
  transform: translateY(-1px);
}

/* ----------------------------------
   Cancel button
---------------------------------- */
#delete-account-modal .modal-cancel {
  text-align: center;
  margin-top: 5px;
  font-size: 15px;
  color: var(--text-medium);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#delete-account-modal .modal-cancel:hover {
  opacity: 1;
}

/* ----------------------------------
   Mobile
---------------------------------- */
@media (max-width: 640px) {
  #delete-account-modal {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  #delete-account-modal .modal {
    width: calc(100% - 16px);
    max-width: 430px;
    max-height: calc(100dvh - 80px);
    border-radius: 22px;
  }
}



/* =====================================================
ICON + TOOLKIT SURFACES
===================================================== */

.toolkit-accordion-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;

  background: var(--surface-tactile);
box-shadow: var(--surface-tactile-shadow);
}

/* ==========================
FEATURED SHOW STYLING
========================== */
.featured-show-header {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 9px;
}

.featured-show-divider {
  width: 70px;
  height: 1px;
  background: var(--border-medium);
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.featured-show-block {
  display: flex;
  position: relative;
  border-radius: 22px;
  margin-bottom: 0px !important;
  overflow: hidden;
}

.featured-show-block::after {
  content: "";
  position: absolute;
  inset: 0px;
  padding: 2px;                 /* thickness of border */
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    #ff4d4d 0%,
    #ff4fa3 35%,
    #a93cff 70%,
    #6f2cff 100%
  );
  background-size: 100% 100%;
  opacity: 0.9;

  -webkit-mask:
  linear-gradient(#000 0 0) content-box,
  linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 1;
}













/* ======================================================
STATS PAGE
====================================================== */

[data-page="stats"] #page-view-mode {
  padding-bottom: 90px;
}

.stats-page {
  box-sizing: border-box;
  display: grid;
  gap: 16px;
}

.stats-page * {
  box-sizing: border-box;
}

/* ======================================================
STATS — LOADING
====================================================== */

.stats-loading-screen {
  min-height: calc(100dvh - 160px);
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px 0 80px;
}

.stats-loading-card {
  width: 100%;
  max-width: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;
}

.stats-loading-spinner {
  width: 24px;
  height: 24px;
  border-radius: 999px;

  border: 2px solid var(--white-12);
  border-top-color: var(--text-bright);

  animation: statsLoadingSpin 0.8s linear infinite;
}

.stats-loading-card h2 {
  margin: 4px 0 0;

  color: var(--text-bright);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
}

.stats-loading-card p {
  margin: 0;

  color: var(--text-medium);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

@keyframes statsLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ======================================================
STATS — SECTIONS
====================================================== */

/*
  Keep form-header and form-subheader using global styles.
  Do not override their size/weight here.
*/

.stats-hero-card,
.stats-section,
.stats-empty-card {
  position: relative;
  overflow: hidden;

  margin-bottom: 0 !important;

  border-radius: 22px;
}

.stats-page-list,
.stats-list {
  display: grid;
  gap: 0;
}

/* ======================================================
STATS — TIMEFRAME CONTROL
====================================================== */

.stats-section-heading-with-control {
  display: grid;
}

.stats-timeframe-control {
  width: 100%;
  padding: 5px;
  margin-bottom: 15px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;

  border-radius: 15px;
  background: var(--surface-soft);
}

.stats-timeframe-button {
  appearance: none;
  -webkit-appearance: none;

  min-width: 0;
  height: 34px;
  padding: 0 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;

  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.02em;

  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;

  opacity: 0.62;

  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.stats-timeframe-button.is-active {
  color: var(--text-bright);
  background: var(--surface-soft);

  opacity: 1;
}

.stats-timeframe-button:active {
  transform: scale(0.985);
}

.stats-timeframe-button:disabled {
  cursor: default;
}

.stats-timeframe-label-short {
  display: none;
}

.stats-page.is-refreshing-stats .stats-page-performance {
  opacity: 1;
}

/* ======================================================
STATS — HELPER TEXT
====================================================== */

.stats-page-helper {
  margin: 0 0 18px;

  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -0.01em;

  opacity: 0.78;
}

/* ======================================================
STATS — TIMEFRAME REFRESH FEEDBACK
====================================================== */

#stats-page.is-refreshing-stats .stats-timeframe-control {
  pointer-events: none;
}

#stats-page.is-refreshing-stats .stats-timeframe-button.is-active {
  position: relative;
}

#stats-page.is-refreshing-stats .stats-timeframe-button.is-active::after {
  content: "";

  flex: 0 0 9px;
  width: 9px;
  min-width: 9px;
  height: 9px;

  margin-left: 7px;

  display: block;
  box-sizing: border-box;

  border-radius: 999px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;

  opacity: 0.8;

  animation: statsTimeframeSpin 0.7s linear infinite;
}

#stats-page.is-refreshing-stats .stats-page-list {
  opacity: 0.72;
  filter: saturate(0.9);
  transition:
    opacity 160ms ease,
    filter 160ms ease;
}

@keyframes statsTimeframeSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ======================================================
STATS — TOP SUMMARY
====================================================== */

.stats-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;

  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: var(--border-subtle);
}

.stats-stat-card {
  position: relative;
  overflow: hidden;

  min-height: 72px;
  padding: 15px;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;

  border-radius: 0;
  border: 0;

  background:
    linear-gradient(
      145deg,
      var(--surface-medium),
      var(--surface-soft)
    );

  box-shadow:
    inset 0 1px 1px var(--white-04);
}

.stats-stat-card:first-child {
  border-top-left-radius: 21px;
  border-top-right-radius: 21px;
}

.stats-stat-card:last-child {
  border-bottom-left-radius: 21px;
  border-bottom-right-radius: 21px;
}

.stats-stat-card > div:last-child {
  min-width: 0;
}

.stats-stat-card strong {
  display: block;
  max-width: 100%;

  color: var(--text-bright);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.055em;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-stat-card span {
  display: block;
  margin-top: 4px;

  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

/* ======================================================
STATS — PAGE STATS SECTION
====================================================== */

.stats-page-performance {
  display: block;
  margin-bottom: 0;
}

.stats-page-card {
  position: relative;
  overflow: hidden;

  margin-bottom: 0 !important;

  border-radius: 0;
  border: 0;

  background: transparent;
  box-shadow: none;
}

.stats-page-card + .stats-page-card {
  border-top: 1px solid var(--border-subtle);
}

.stats-page-summary {
  width: 100%;
  min-height: 70px;
  padding: 14px 0;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 58px 58px 30px;
  align-items: center;
  gap: 10px;
}

.stats-page-main {
  min-width: 0;
}

.stats-page-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.stats-page-title-row h3 {
  margin: 0;

  color: var(--text-bright);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-page-numbers {
  display: contents;
}

.stats-page-numbers div {
  min-width: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 0;
  background: transparent;

  text-align: center;
}

.stats-page-numbers strong {
  display: block;

  color: var(--text-bright);
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}

.stats-page-numbers span {
  display: block;
  margin-top: 5px;

  color: var(--text-muted);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-page-expand-btn {
  appearance: none;
  -webkit-appearance: none;

  width: 24px;
  height: 24px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  color: var(--text-medium);
  cursor: pointer;

  transition:
    transform 180ms ease,
    opacity 180ms ease,
    color 180ms ease;
}

.stats-page-expand-btn .accordion-chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-strong);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.stats-page-expand-btn[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.stats-page-expand-btn:active {
  transform: scale(0.96);
}

.stats-page-expand-btn:disabled {
  opacity: 0.24;
  cursor: default;
}

.stats-page-summary.is-clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ======================================================
STATS — EXPANDABLE DETAIL PANEL
====================================================== */

.stats-page-summary.is-clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.stats-page-detail-panel {
  display: grid;
  grid-template-rows: 0fr;

  overflow: hidden;
  opacity: 0;
  transform: translateY(-3px);

  transition:
    grid-template-rows 220ms ease,
    opacity 160ms ease,
    transform 180ms ease;
}

.stats-page-card.is-expanded .stats-page-detail-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.stats-page-detail-panel-inner {
  min-height: 0;
  overflow: hidden;

  /* Important: no padding while closed.
     Padding here was creating the extra row-bottom space. */
  padding: 0 0 0 52px;
}

.stats-page-card.is-expanded .stats-page-detail-panel-inner {
  padding: 0 0 16px 52px;
}

.stats-click-detail-table {
  width: 100%;
  display: grid;
  gap: 2px;
}

.stats-click-detail-table-head,
.stats-click-detail-table-row {
  display: grid;
  align-items: center;
  column-gap: 12px;
}

.stats-click-detail-table--simple .stats-click-detail-table-head,
.stats-click-detail-table--simple .stats-click-detail-table-row {
  grid-template-columns: minmax(0, 1fr) minmax(46px, auto);
}

.stats-click-detail-table--activity .stats-click-detail-table-head,
.stats-click-detail-table--activity .stats-click-detail-table-row {
  grid-template-columns: minmax(0, 1fr) 48px 48px;
}

.stats-click-detail-table-head {
  padding: 0 0 7px;

  color: var(--text-muted);
  font-size: 8px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-click-detail-table-head span:not(:first-child) {
  text-align: center;
}

.stats-click-detail-table-body {
  display: grid;
  gap: 0;
}

.stats-click-detail-item {
  display: grid;
  gap: 0;
}

.stats-click-detail-table-row {
  min-height: 30px;
  padding: 4px 0;

  border-top: 1px solid var(--white-04);
}

.stats-click-detail-table-body > .stats-click-detail-table-row:first-child,
.stats-click-detail-table-body > .stats-click-detail-item:first-child > .stats-click-detail-table-row:first-child {
  border-top-color: transparent;
}

.stats-click-detail-label {
  min-width: 0;

  color: var(--text-medium);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-click-detail-primary-label {
  color: var(--text-bright);
  font-weight: 650;
}

.stats-click-detail-number {
  color: var(--text-bright);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.stats-click-detail-muted-number {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

.stats-click-detail-table-row--child {
  min-height: 21px;
  padding-top: 0px;
  padding-bottom: 0px;
  border-top-color: transparent;
}

.stats-click-detail-table-row--child .stats-click-detail-number {
  font-size: 11px;
  color: var(--text-muted);
}

.stats-click-detail-table-row--child .stats-click-detail-label {
  padding-left: 12px;

  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
}

.stats-click-detail-table-row--child .stats-click-detail-label::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px 2px 0;

  border-radius: 999px;
  background: var(--text-muted);
  opacity: 0.65;
}

.stats-click-detail-empty {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 360px) {
  .stats-page-detail-panel-inner {
    padding: 0 0 0 46px;
  }

  .stats-page-card.is-expanded .stats-page-detail-panel-inner {
    padding: 0 0 14px 46px;
  }
}

  .stats-click-detail-table--activity .stats-click-detail-table-head,
  .stats-click-detail-table--activity .stats-click-detail-table-row {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    column-gap: 9px;
  }

  .stats-click-detail-label {
    font-size: 11px;
  }

  .stats-click-detail-number {
    font-size: 12px;
  }
}

/* ======================================================
STATS — NEXT MOVE
====================================================== */

.stats-next-section {
  margin-bottom: 0;
}

.stats-list-card {
  position: relative;
  overflow: hidden;

  padding: 15px 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;

  border-radius: 0;
  border: 0;

  background: transparent;
  box-shadow: none;

  color: inherit;
  text-decoration: none;
  cursor: pointer;

  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.stats-list-card + .stats-list-card {
  border-top: 1px solid var(--border-subtle);
}

.stats-list-card:hover {
  opacity: 0.9;
}

.stats-list-card:active {
  transform: scale(0.99);
}

.stats-list-card.is-primary {
  padding: 15px 0;
}

.stats-list-copy {
  min-width: 0;
}

.stats-list-kicker {
  display: block;
  margin-bottom: 7px;

  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-list-copy h3 {
  margin: 0;

  color: var(--text-bright);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stats-list-card.is-primary .stats-list-copy h3 {
  font-size: 17px;
}

.stats-list-copy p {
  margin: 6px 0 0;

  color: var(--text-medium);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.stats-list-arrow {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);

  color: var(--text-medium);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;

  transform: translateY(-1px);
  pointer-events: none;
}

/* ======================================================
STATS — ICONS
====================================================== */

.stats-icon-orb,
.stats-icon-mini {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--text-strong);
  background: var(--surface-soft);

  border: 1px solid var(--border-subtle);

  box-shadow:
    inset 0 1px 1px var(--white-04);
}

.stats-icon-orb {
  width: 42px;
  height: 42px;
  border-radius: 15px;
}

.stats-icon-mini {
  width: 30px;
  height: 30px;
  border-radius: 12px;
}

.stats-icon-orb svg,
.stats-icon-mini svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-icon-orb svg {
  width: 19px;
  height: 19px;
}

.stats-icon-mini svg {
  width: 17px;
  height: 17px;
}

/* Keep old JS color classes harmless and theme-neutral */
.stats-purple,
.stats-pink,
.stats-gold,
.stats-green,
.stats-blue {
  --stats-icon-color: var(--text-strong);
}

/* Next Move is text-only now */
.stats-next-section .stats-icon-orb {
  display: none !important;
}

/* ======================================================
STATS — REMOVED / DISABLED SECTIONS
====================================================== */

.stats-micro-note,
.stats-mini-summary,
.stats-badge-grid,
.stats-next-badge {
  display: none !important;
}

/* ======================================================
STATS — RESPONSIVE TIMEFRAME LABELS
====================================================== */

@media (max-width: 374px) {
  .stats-timeframe-label-full {
    display: none;
  }

  .stats-timeframe-label-short {
    display: inline;
  }

  .stats-timeframe-button {
    padding: 0 3px;
    font-size: 10px;
  }
}

/* ======================================================
STATS — SMALL PHONE SAFETY
====================================================== */

@media (max-width: 360px) {
  .stats-hero-card,
  .stats-section,
  .stats-empty-card {
    border-radius: 24px;
  }

  .stats-stat-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .stats-stat-card .stats-icon-orb {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .stats-stat-card strong {
    font-size: 22px;
  }

  .stats-stat-card span {
    font-size: 12px;
  }

  .stats-timeframe-button {
    height: 30px;
    padding: 0 3px;
    font-size: 10px;
  }

  .stats-page-summary {
    grid-template-columns: 38px minmax(0, 1fr) 45px 45px 28px;
    gap: 8px;
    min-height: 66px;
    padding: 13px 0;
  }

  .stats-page-card .stats-icon-orb {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .stats-page-title-row h3 {
    font-size: 15px;
  }

  .stats-page-numbers strong {
    font-size: 19px;
  }

  .stats-page-numbers span {
    font-size: 8px;
  }

  .stats-page-expand-btn {
    width: 22px;
    height: 22px;
  }

  .stats-page-expand-btn .accordion-chevron {
    width: 19px;
    height: 19px;
  }

  .stats-page-detail-panel {
    padding: 0 0 14px 46px;
  }

  .stats-click-detail-row span,
  .stats-click-detail-row b,
  .stats-click-detail-empty {
    font-size: 11px;
  }

  .stats-list-card,
  .stats-list-card.is-primary {
    padding: 14px 0;
  }

  .stats-list-copy h3,
  .stats-list-card.is-primary .stats-list-copy h3 {
    font-size: 16px;
  }

  .stats-list-copy p {
    font-size: 12px;
  }
}


.general-page-container,
.epk-view-section,
.presave-meta,
.edit-mode-container,
.page-card,
.page-card-header-container,
.edit-merch-container,
.tour-stop-row,
.square-image-button,
.lyrics-accordion,
.credits-accordion,
.tour-ticket-link,
.icon-wrapper,
.merch-import-card,
.spotify-import-modal-card,
#delete-account-modal .modal,
.header-image-edit-container,
.delete-modal,
.modal {
  position: relative;
  overflow: hidden;

  background: var(--surface-tactile) !important;
  box-shadow: var(--surface-tactile-shadow);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.epk-video-view {
  position: relative;
  overflow: hidden;

  background: none !important;
  box-shadow: none;

  transform: translateZ(0);
  backface-visibility: hidden;
}

.merch-view-meta {
  position: relative;
  overflow: hidden;
  border-radius: 0px 0px 22px 22px;

  background: var(--surface-tactile) !important;

  transform: translateZ(0);
  backface-visibility: hidden;
}

/* =========================================
   TOUR SHOW TYPE — TICKET ICON ONLY
   Overrides the global .tour-ticket-link button styling
   only when the link lives inside a tour stop row.
========================================= */

.tour-stop-row .tour-ticket-link {
  position: absolute;
  right: 19px;
  bottom: 6px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: auto;
  height: auto;
  padding: 0;

  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  overflow: visible;

  transform: none;
  backface-visibility: visible;
}

.tour-stop-row .tour-ticket-link::before,
.tour-stop-row .tour-ticket-link::after {
  display: none;
  content: none;
}

.tour-stop-row .tour-ticket-link svg {
  width: 27px;
  height: 27px;
  display: block;

  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
}

/* ======================================================
SHOWS — TOUR ROW TICKET ICON RESET
------------------------------------------------------
Keeps .tour-ticket-link tactile styling available for
single show layouts, but removes the button background
inside tour stop rows.
====================================================== */

[data-show-type="tour"] .tour-stop-row .tour-ticket-link,
.builder-modal-overlay[data-show-type="tour"] .tour-stop-row .tour-ticket-link,
body[data-page="shows"] .builder-modal-overlay[data-show-type="tour"] .tour-stop-row .tour-ticket-link {
  position: absolute;
  right: 20px;
  bottom: 13px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;

  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0;
  overflow: visible;

  transform: none;
  backface-visibility: visible;
}











/* ======================================================
CENTERED SCROLL SNAP — INDEX + VIDEO ROWS
------------------------------------------------------
Middle cards snap to center.
First card aligns to the beginning.
Last card aligns to the end.
====================================================== */

/* Main Index horizontal rows: music / shows / tours / merch */
.index-horizontal-scroll {
  scroll-snap-type: x mandatory;
  
  padding-left: 14px;
  padding-right: 15px;

  scroll-padding-left: 14px !important;
  scroll-padding-right: 15px !important;

  /* Keeps the padding from making the row visually overflow weirdly */
  box-sizing: border-box;
}

.index-horizontal-scroll .index-card {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.index-horizontal-scroll .index-card:first-child {
  scroll-snap-align: start;
}

.index-horizontal-scroll .index-card:last-child {
  scroll-snap-align: end;
}

/* Kill the previous invisible edge spacers */
.index-horizontal-scroll::before,
.index-horizontal-scroll::after {
  display: none !important;
  content: none !important;
  flex: 0 0 0 !important;
  min-width: 0 !important;
}

/* Index video row */
.index-video-scroll.is-scrollable {
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0 !important;
}

.index-video-scroll.is-scrollable .index-video-view-card {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.index-video-scroll.is-scrollable .index-video-view-card:first-child {
  scroll-snap-align: start;
}

.index-video-scroll.is-scrollable .index-video-view-card:last-child {
  scroll-snap-align: end;
}

/* Kill the previous invisible edge spacers */
.index-video-scroll.is-scrollable::before,
.index-video-scroll.is-scrollable::after {
  display: none !important;
  content: none !important;
  flex: 0 0 0 !important;
  min-width: 0 !important;
}

/* EPK video row */
.epk-video-scroll.is-scrollable {
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0 !important;
}

.epk-video-scroll.is-scrollable .epk-video-view-card {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.epk-video-scroll.is-scrollable .epk-video-view-card:first-child {
  scroll-snap-align: start;
}

.epk-video-scroll.is-scrollable .epk-video-view-card:last-child {
  scroll-snap-align: end;
}

/* Kill the previous invisible edge spacers */
.epk-video-scroll.is-scrollable::before,
.epk-video-scroll.is-scrollable::after {
  display: none !important;
  content: none !important;
  flex: 0 0 0 !important;
  min-width: 0 !important;
}


/* ======================================================
   PLUVI LOGIN — DARK CONNECTED HERO POLISH
   Mobile-safe app-aligned background / glass / subtle motion
====================================================== */

body[data-page="login"] {
  min-height: 100svh;
  background: #09090a;
  overflow: hidden;
}

/* Main login world */
body[data-page="login"] .auth-page {
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background:
    radial-gradient(
      680px 470px at 50% 34%,
      rgba(255,255,255,0.025),
      transparent 38%
    ),
    radial-gradient(
      760px 560px at 18% 4%,
      rgba(255, 90, 61, 0.105),
      transparent 42%
    ),
    radial-gradient(
      720px 560px at 88% 18%,
      rgba(196, 60, 255, 0.115),
      transparent 44%
    ),
    radial-gradient(
      560px 420px at 50% 88%,
      rgba(255, 90, 61, 0.055),
      transparent 46%
    ),
    linear-gradient(
      180deg,
      #171116 0%,
      #100e12 42%,
      #09090a 100%
    );
}

/* Soft dark pocket behind the auth card */
body[data-page="login"] .auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      620px 410px at 50% 50%,
      rgba(13,13,15,0.54),
      transparent 70%
    ),
    radial-gradient(
      680px 460px at 50% 78%,
      rgba(0,0,0,0.32),
      transparent 74%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.10) 0%,
      transparent 28%,
      rgba(0,0,0,0.48) 100%
    );

  opacity: 1;
}

/* Logo */
body[data-page="login"] .auth-logo {
  width: clamp(112px, 30vw, 146px);
  margin-bottom: 27px;
  fill: var(--white);
  opacity: 0.94;

  filter:
    drop-shadow(0 0 16px rgba(255, 79, 163, 0.12))
    drop-shadow(0 12px 28px rgba(0,0,0,0.34));

  /*animation: pluviLogoFloat 5.8s ease-in-out infinite;*/
}

/* Darker glass card tied into the background */
body[data-page="login"] .auth-card {
  width: min(390px, calc(100% - 46px));
  position: relative;
  overflow: hidden;

  border-radius: 30px;
  padding: 25px;

  background:
    radial-gradient(
      520px 280px at 14% 0%,
      rgba(255,255,255,0.045),
      transparent 34%
    ),
    radial-gradient(
      520px 340px at 100% 100%,
      rgba(255,90,61,0.10),
      transparent 42%
    ),
    radial-gradient(
      460px 320px at 0% 100%,
      rgba(169,60,255,0.075),
      transparent 44%
    ),
    radial-gradient(
      520px 360px at 50% 0%,
      rgba(63,37,57,0.18),
      transparent 62%
    ),
    linear-gradient(
      145deg,
      rgba(31,31,33,0.88) 0%,
      rgba(21,22,24,0.91) 48%,
      rgba(15,15,17,0.94) 100%
    );

  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);

  box-shadow:
    0 26px 70px rgba(0,0,0,0.52),
    0 8px 24px rgba(0,0,0,0.32),
    inset 0 1px 1px rgba(255,255,255,0.09),
    inset 0 0 0 1px rgba(255,255,255,0.025);
}

/* Softer moving light reflection inside card */
body[data-page="login"] .auth-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;

  background:
    radial-gradient(
      340px 180px at var(--auth-glow-x, 50%) 0%,
      rgba(255,255,255,0.065),
      transparent 66%
    ),
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255,255,255,0.025) 42%,
      rgba(255,255,255,0.07) 50%,
      rgba(255,255,255,0.025) 58%,
      transparent 100%
    );

  opacity: 0.45;
  transform: translateX(-38%);
  animation: pluviCardSheen 6.5s ease-in-out infinite;
}

/* Keep form content above card lighting */
body[data-page="login"] .auth-state {
  position: relative;
  z-index: 2;
}

/* Title polish */
body[data-page="login"] .auth-title {
  font-size: 17px;
  color: rgba(255,255,255,0.94);
}

/* Inputs feel more native/premium */
body[data-page="login"] .auth-row {
  margin-bottom: 16px;
}

body[data-page="login"] .auth-row label {
  color: rgba(255,255,255,0.62);
}

body[data-page="login"] .auth-row input {
  border-bottom-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.94);
}

body[data-page="login"] .auth-row input:focus {
  border-bottom-color: rgba(255,255,255,0.86);
  box-shadow: 0 10px 18px -18px rgba(255, 79, 163, 0.75);
}

/* CTA: feels like Pluvi, not generic */
body[data-page="login"] .auth-primary-btn {
  margin-top: 10px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255,90,61,0.92),
      rgba(255,79,163,0.88) 46%,
      rgba(169,60,255,0.92)
    );

  box-shadow:
    0 15px 34px rgba(169,60,255,0.22),
    0 7px 18px rgba(0,0,0,0.28),
    inset 0 1px 1px rgba(255,255,255,0.25);

  letter-spacing: -0.01em;
}

body[data-page="login"] .auth-primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -55%;
  width: 46%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.34),
      transparent
    );

  transform: skewX(-18deg);
  animation: pluviButtonShine 4.8s ease-in-out infinite;
}

body[data-page="login"] .auth-primary-btn:active {
  transform: scale(0.975);
  opacity: 0.94;
}

/* Footer links sit softer */
body[data-page="login"] .auth-footer a {
  opacity: 0.58;
}

body[data-page="login"] .auth-footer a:active {
  opacity: 1;
}

/* Animations */
@keyframes pluviLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.015);
  }
}

@keyframes pluviCardSheen {
  0%, 34% {
    transform: translateX(-60%);
    opacity: 0;
  }
  48% {
    opacity: 0.45;
  }
  68%, 100% {
    transform: translateX(60%);
    opacity: 0;
  }
}

@keyframes pluviButtonShine {
  0%, 52% {
    left: -60%;
    opacity: 0;
  }
  64% {
    opacity: 0.9;
  }
  82%, 100% {
    left: 115%;
    opacity: 0;
  }
}

/* Smaller phones */
@media (max-width: 380px) {
  body[data-page="login"] .auth-logo {
    margin-bottom: 22px;
  }

  body[data-page="login"] .auth-card {
    width: calc(100% - 34px);
    padding: 22px;
    border-radius: 26px;
  }

  body[data-page="login"] .auth-title {
    margin-bottom: 20px;
  }
}

/* App Store / accessibility-safe motion fallback */
@media (prefers-reduced-motion: reduce) {
  body[data-page="login"] .auth-logo,
  body[data-page="login"] .auth-card::before,
  body[data-page="login"] .auth-primary-btn::before {
    animation: none !important;
  }
}


/* ======================================================
INDEX — DISABLE SCROLL FADES
------------------------------------------------------
Keeps the original fade code intact.
Delete/comment this block later to bring fades back.
====================================================== */

/* Main horizontal scroll fades: Music / Shows / Tours / Merch */
.index-horizontal-scroll,
.index-horizontal-scroll.has-scroll-overflow,
.index-horizontal-scroll.has-scroll-overflow:not(.is-scrolled-end),
.index-discography-scroll,
.index-shows-scroll,
.index-tours-scroll,
.index-merch-scroll {
  --index-scroll-fade-alpha: 1 !important;

  -webkit-mask-image: none !important;
  mask-image: none !important;

  -webkit-mask: none !important;
  mask: none !important;
}

/* Vertical tour-stop bottom fade */
.index-tour-stops-mask::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

/* ======================================================
EPK — SINGLE HEADER IMAGE + NORMAL GALLERY SECTION
------------------------------------------------------
Gallery is no longer the full-width header. It behaves
like a normal reorderable section with horizontal scroll.
====================================================== */

body[data-page="epk"] #header-edit-mode {
  display: block;
}

body[data-page="epk"] #header-image-edit-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

body[data-page="epk"] #header-image-view-mode,
body[data-page="epk"] #headerimage-view-mode,
body[data-page="epk"] .epk-header-image-view-mode {
  width: 100vw;
  margin-top: -15px;
  margin-left: -15px;
  position: relative;
  overflow: visible;
  background: var(--background);
  transform: translateZ(0);
  backface-visibility: hidden;
}

body[data-page="epk"] #header-image-view-mode::after,
body[data-page="epk"] #headerimage-view-mode::after,
body[data-page="epk"] .epk-header-image-view-mode::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    var(--hero-fade-transparent) 0%,
    var(--hero-fade-soft) 42%,
    var(--hero-fade-strong) 74%,
    var(--hero-fade-solid) 94%,
    var(--background) 100%
  );
}

body[data-page="epk"] #header-image-view-mode .header-image-view-img,
body[data-page="epk"] #headerimage-view-mode .header-image-view-img,
body[data-page="epk"] .epk-header-image-view-mode .header-image-view-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transform: none !important;
  transition: none !important;
}

body[data-page="epk"] .epk-gallery-section-view {
  width: 100%;
}

body[data-page="epk"] .epk-gallery-horizontal-scroll {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0 15px 2px 0;
  box-sizing: border-box;
}

body[data-page="epk"] .epk-gallery-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

body[data-page="epk"] .epk-gallery-scroll-card {
  flex: 0 0 calc(100% - 42px);
  max-width: calc(100% - 42px);
  scroll-snap-align: start;
}

body[data-page="epk"] .epk-gallery-scroll-card .index-card-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: var(--light-black);
  box-shadow: none;
}

body[data-page="epk"] .epk-gallery-scroll-card .index-card-img {
  position: static !important;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  pointer-events: auto;
  transform: none !important;
}

body[data-page="epk"] .epk-gallery-section-view .index-card-arrow,
body[data-page="epk"] .epk-gallery-section-view .left-arrow,
body[data-page="epk"] .epk-gallery-section-view .right-arrow {
  display: none !important;
}

/* ======================================================
EPK GALLERY — VIEW MODE SCROLL FIX
------------------------------------------------------
Gallery card keeps padding for the title, but the image
rail bleeds to the card edges while first/last images keep
safe inner padding.
====================================================== */

body[data-page="epk"] .epk-gallery-section-view {
  padding: 20px 0 20px 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body[data-page="epk"] .epk-gallery-section-view .form-header {
  margin: 0 15px 18px 15px !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}

body[data-page="epk"] .epk-gallery-horizontal-scroll {
  width: 100% !important;
  max-width: 100% !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  padding: 0 15px 4px 15px !important;

  display: flex !important;
  gap: 12px !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  scroll-snap-type: x mandatory !important;
  scroll-padding-left: 15px !important;
  scroll-padding-right: 15px !important;

  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;

  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body[data-page="epk"] .epk-gallery-scroll-card {
  flex: 0 0 calc(100% - 42px) !important;
  width: calc(100% - 42px) !important;
  max-width: calc(100% - 42px) !important;

  scroll-snap-align: center !important;
  scroll-snap-stop: always !important;

  box-sizing: border-box !important;
}

/* ======================================================
EPK GALLERY — SINGLE IMAGE VIEW MODE
------------------------------------------------------
If the EPK gallery has only one image, let it fill the
available width. If there are multiple images, keep the
normal peek carousel sizing.
====================================================== */

body[data-page="epk"] .epk-gallery-horizontal-scroll--single {
  overflow-x: hidden !important;
  scroll-snap-type: none !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

body[data-page="epk"] .epk-gallery-horizontal-scroll--single .epk-gallery-scroll-card {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

body[data-page="epk"] .epk-gallery-scroll-card .index-card-img-wrapper {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

body[data-page="epk"] .epk-gallery-scroll-card .index-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
