@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/*****************
******************
COLOR VARIABLES
******************
*****************/
:root {
  --background: #0f0f0f;

  --white: #f7f7f7;
  --opacity-white: #ffffff30;
  --opacity-white-text: #ffffff60;
  --white-text-form-header: #ffffff85;
  --opacity-white-text-brighter: #ffffff95;
  --custom-link: #4b4b4b;
  --subtle-white: #ffffff13;
  --black: #0f0f0f;
  --light-black: #1D1F20;
  --lighter-black: #27292A;
  --lightest-black: #3B3C3D;
  --gray: #A0A0A0;
  --disable: #727273;
  --text-area: #232526;

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


/*live first switch*/
--background-live: #0f0f0f;

--white-live: #f7f7f7;
--opacity-white-live: #ffffff30;
--opacity-white-text-live: #ffffff60;
--subtle-white-live: #ffffff13;
--black-live: #0f0f0f;
--light-black-live: #1D1F20;
--lighter-black-live: #2A2C2D;
--lightest-black-live: #3B3C3D;
--gray-live: #A0A0A0;


--header-height: 156px; /* your real header height */
}

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

.readonly-artist {
  fled: 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(--opacity-white-text);
}



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

.main-button-secondary {
  flex: 1;
  border: 1px solid var(--opacity-white);
  border-radius: 12px;
  padding: 13px;
  font-size: 16px;
  color: var(--opacity-white);
  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: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}


/* ======================================================
   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;
}

/* 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 {
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 30px);
  padding: 15px 15px 15px 15px;
}

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

/* 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(--opacity-white-text);
  user-select: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  padding: 10px 18px 10px 20px;
  border: solid 1px var(--opacity-white);
  border-radius: 100px;
}

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

/* Arrow */
.pluvi-arrow {
  width: 18px !important;
  stroke: var(--opacity-white-text);
  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(--opacity-white);
  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(--white);
  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);
}






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

   .account-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    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: 92vw;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  border-left: 1px solid var(--subtle-white);
  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;
}

/* =============================
   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(--subtle-white);

    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 {
    margin: 0;
    font-size: 13px;
    color: var(--opacity-white);
  }

  .drawer-questions {
    margin: 20px 0 5px 0;
    font-size: 13px;
    color: var(--opacity-white);
    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: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  /* animation */
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* 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;
}

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

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

  background: var(--light-black);
  border-radius: 18px;
  padding: 21px 15px 20px 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;
}

/* =============================
   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: 22px;
}

#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: 4px;
  font-size: 15px;
  color: var(--opacity-white-text);
  cursor: pointer;
}

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

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

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

.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(--opacity-white-text);
  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(--subtle-white);
  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: 0 4px 20px rgba(0,0,0,0.35);
  z-index: 9000;
}

.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 {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  margin-top: 12px;

  transition:
  opacity 0.25s ease,
  transform 0.35s ease;
}

.bottom-nav-bottom-row .main-bottom-nav-item {
  flex: 1 1 0;
}

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

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

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

/* ======================================================
   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(--subtle-white);

  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: rgba(255,255,255,0.92);
  width: 60px;
  margin-bottom: -3px;
}

.index-top-header .top-header-logo {
  position: absolute;
  left: 15px;
  fill: rgba(255,255,255,0.92);
  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;
}


.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 */
}

[data-page="index"] .header-image-view-mode {
  margin-bottom: 15px !important;
}

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

.index-artist-view {
  font-size: 24px;
  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(--opacity-white-text);
}

.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;
}


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








/******************************************************
==================== 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 rgba(255,255,255,0.2);
  background: color-mix(in srgb, var(--light-black) 70%, transparent);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  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 rgba(255,255,255,0.2);
}

.theme-option.active {
  border-color: #ffffff !important;
}


.theme-option[data-theme="0"] { background: #3B3C3D; }
.theme-option[data-theme="1"] { background: #1a2c44; }
.theme-option[data-theme="2"] { background: #3a1f46; }
.theme-option[data-theme="3"] { background: #541010; }
.theme-option[data-theme="4"] { background: #185433; }

/******************************************************
==================== 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 rgba(255,255,255,0.2);
  background: color-mix(in srgb, var(--light-black) 70%, transparent);
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  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 rgba(255,255,255,0.2);
  background: color-mix(in srgb, var(--light-black) 70%, transparent);
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px) saturate(160%);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  transition-delay: 0.04s;
}

/* ======================================================
   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);
  }

  body.view-mode-active[data-page="epk"] .inline-save-button,
  body.view-mode-active[data-page="merch"] .inline-save-button,
  body.view-mode-active[data-page="index"] .inline-save-button,
  body.view-mode-active[data-page="music"] .inline-save-button,
  body.view-mode-active[data-page="shows"] .inline-save-button {
    bottom: 1px !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: 5px 0px 7px 0px;
  text-align: center;
}

.shows-artist-view {
  font-size: 24px;
  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(--opacity-white-text);
}

/* 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-more-info-view {
  margin-top: 7px;
}

.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 .form-header + .shows-view-row {
  padding-top: 0;
}

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

.single-show-ticket-wrapper {
  position: relative; /* 🔑 required for ::before */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  /*width: 100% !important;*/

  padding: 13px 18px;
  background: var(--light-black);
  border-radius: 18px;
  margin: 2px 2px 0px 2px;
}

/* Animated gradient border */
.single-show-ticket-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;                /* border thickness */
  padding: 2px;
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    #ff5a3d 0%,
    #ff4d6d 35%,
    #c43cff 70%,
    #7b2cff 100%
  );
  background-size: 300% 300%;
  animation: singleShowTicketBorder 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;
  z-index: 0;
}

/* Ensure content sits above the border */
.single-show-ticket-wrapper > * {
  position: relative;
  z-index: 1;
}

/* Separate animation namespace */
@keyframes singleShowTicketBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* 🔥 force ticket link to behave like a button */
.single-show-ticket-wrapper .tour-ticket-link {
  align-items: center;
  justify-content: center;

  font-weight: 500;
  color: var(--white);
  text-decoration: none;
}


.single-show-ticket-wrapper svg {
  width: 22px !important;
}



/* ADD SHOW TYPE PROMPT */
.add-show-type-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  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%;

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

  border-radius: 18px;
  background: var(--light-black);
  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:active {
  transform: scale(0.96);
}

.add-show-type-btn::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: showTypeButtonGlow 8s 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 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-page,
.music-page,
.toolkit-page,
.rider-page {
  padding: 71px 15px 129px 15px;
}

.epk-page {
  padding: 155px 15px 145px 15px; 
}

.merch-page {
  padding: 155px 15px 150px 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; 
}

.index-page {
  padding: 155px 15px 145px 15px; 
}

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 */

.big-circle-add {
  position: absolute;
  bottom: 87px;

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

  height: 50px;
  width: 50px;
  border-radius: 14px;

  background: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);

  z-index: 999;
  overflow: hidden;

  user-select: none;

  transition:
  width 0.25s cubic-bezier(.25,.1,.25,1),
  background 0.25s ease,
  box-shadow 0.25s ease,
  transform 0.25s ease;
  will-change: width, transform;
}

@supports (-webkit-touch-callout: none) {
  .big-circle-add {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
  }
}

/* ───────────────────────────── */
/* FLOATING STATE — GRADIENT OUTLINE */
/* ───────────────────────────── */

.big-circle-add::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: addButtonGlow 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 addButtonGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* ───────────────────────────── */
/* DOCKED STATE — FULL WIDTH + SOLID */
/* ───────────────────────────── */
.big-circle-add.is-docked p {
  font-size: 16px;
  transition: 0.3s;
  opacity: 1;
}

.big-circle-add.is-docked svg {
  margin-right: 0;
  width: 8px;
  height: 8px;
  stroke-width: 6px;
  margin-bottom: -1px;
  transition: 0.25s;
}

.big-circle-add.is-docked {
  width: calc(100% - 58px);

  box-shadow:

  backdrop-filter: none;
}

/* Remove outline + animation when docked */
.big-circle-add.is-docked::before {
  /*opacity: 0.9;*/
  filter: blur(6px);
}

/* ───────────────────────────── */
/* ICON + LABEL */
/* ───────────────────────────── */

.big-circle-add svg {
  position: relative;
  z-index: 2;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  stroke: var(--white);
  stroke-width: 5px;
  margin-right: -10.5px;
  transition: 0.25s;
}

.big-circle-add p {
  margin: 0;
  font-weight: 500;
  color: var(--white);
  font-size: 0px;
  transition: 0.3s;
  opacity: 0;
}

/* ───────────────────────────── */
/* INTERACTION */
/* ───────────────────────────── */

.big-circle-add:active {
  transform: scale(0.97);
}

/* ───────────────────────────── */
/* EMPTY STATE — CENTERED ADD BUTTON */
/* ───────────────────────────── */
.big-circle-add.is-empty p {
  margin: 0;
  font-weight: 500;
  color: var(--white);
  font-size: 16px;
  opacity: 1;
  transition: none;
}

.big-circle-add.is-empty svg {
  margin-right: 0;
  width: 8px;
  height: 8px;
  stroke-width: 6px;
  transition: 0.25s;
  margin-bottom: -1px;
  transition: none;
}

.big-circle-add.is-empty {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 60%;
  transition: none !important;
}

/* In empty state, no dock animation */
.big-circle-add.is-empty.is-docked {
  transform: translateY(-50%);
}








.previous-release-container {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
  color: var(--opacity-white-text);
}


/* ================= 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(--opacity-white-text);
  margin-bottom: 20px;
}

.index-add-button {
  position: absolute;
  right: 17px;
  top: 22px;
}

.index-add-button svg {
  fill: var(--white);
  width: 15px;
}

.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(--opacity-white);
  background-color: rgba(0,0,0,0.1);
  height: 100px;
  border-radius: 14px;
  margin: 0;
  margin-bottom: -4px;
  padding: 0px 50px;
  text-align: center;
}

.index-edit-button {
  position: fixed;
  bottom: 85px;
  right: 12px;
  border-radius: 11px;
  /*border: solid 1px rgba(255,255,255,0.14);*/
  background: color-mix(in srgb, var(--white) 95%, transparent);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  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: rgba(0, 0, 0, 0.65);
  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: 18px 18px 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(--subtle-white);

    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: 18px;
    padding: 20px 15px;
    margin-bottom: 15px;
  }


/* ======================================================
   BIO TEXTAREA
   ====================================================== */

   .index-bio-textarea {
    width: 100%;
    min-height: 69px;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: -14px;
    font-family: inherit;
    background: var(--lighter-black);
    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(--opacity-white-text);

  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
   ====================================================== */

   .index-horizontal-scroll {
    display: flex;
    padding-top: 3px;
    gap: 15px;
    overflow-x: auto;
    /*scroll-snap-type: x mandatory;*/
    margin-left: -15px;
    width: calc(100vw - 30px);
  }

  .index-card:first-of-type {
    margin-left: 15px;
  }

  .index-card:last-of-type {
    margin-right: 15px;
  }

  .index-horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .index-card {
    width: 75%;
    flex: 0 0 auto;
    scroll-snap-align: start;
    overflow: hidden;
    background: var(--light-black);
    color: var(--white);
    text-decoration: none;
    position: relative;
  }

  .index-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
  }

  .index-shows-scroll.has-single-card .index-card {
  width: calc(100% - 30px);
}

.index-discography-scroll.has-single-card .index-card {
  width: calc(100% - 30px);
}


  .index-card.no-image .index-card-img-fallback {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--lighter-black);
    border-radius: 12px;
  }

  .index-show-image-wrapper.is-placeholder::after {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--lighter-black);
    border-radius: 12px;
  }

  .index-card-body {
    margin-top: 10px;
  }

  .index-card-title {
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .index-card-subtitle {
    font-size: 15px;
    color: var(--opacity-white-text);
  }

/* =========================================
   INDEX CARD — IMAGE OVERLAY CENTERING
   ========================================= */

   .index-card-action--overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 10px 14px 10px 10px;
    border-radius: 8px;
  }

  .index-card-presave-label {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    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(--opacity-white);
  }




/* ==========================
   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(--opacity-white);
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }


  .featured-show-block {
    position: relative;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 1px !important;
    overflow: visible;
  }

  .featured-show-block::before {
    content: "";
    position: absolute;
    inset: -2px;
    padding: 2px;                 /* thickness of border */
    border-radius: inherit;

    background: linear-gradient(
      180deg,
      #ff5a3d 0%,
      #ff4d6d 35%,
      #c43cff 70%,
      #7b2cff 100%
    );
    background-size: 300% 300%;
    animation: featuredShowBorder 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;   /* Don’t block clicks */
    z-index: 1;
  }

/* NEW animation name, separate from share-input-row */
@keyframes featuredShowBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}





/******************************************************
==================== FULLSCREEN MODAL =================
*******************************************************/
/* Overlay */
.builder-modal-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  display: flex;
  justify-content: center;
  z-index: 8888;
}

.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;
}


/* 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(--subtle-white);
  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);
}

.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 {
  fill: var(--white);
  width: 14px;
  margin-top: -3px;
  stroke-width: 3px;
}

/* ---------- 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: 17.5px;
  font-weight: 600;
  color: var(--white-text-form-header);
  margin: 0;
  margin-bottom: 17px;
  margin-top: -1px;
}

.index-form-header-tour {
  margin-top: 20px;
  padding: 16px 0 0 0;
  border-top: 1px solid var(--subtle-white);
}

.index-form-header-tour.index-tour-title-change {
  border-top: none;
  margin-top: -20px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.toggle-row-label {
  color: var(--text-white);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

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

.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);
}

.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%;
  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;
}

.form-row input::placeholder {
  color: var(--opacity-white-text);
  opacity: 0.6;
  font-size: 16px !important;
}

textarea::placeholder {
  color: var(--opacity-white);
}

/******************************************************
================ 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;
}

/* TRACK — OFF */
.toggle {
  width: 46px;
  height: 26px;
  border-radius: 40px;
  background: var(--opacity-white-text); /* subtle, modern, clearly clickable */
  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 */
  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);
}

/* TRACK — ON */
.toggle--on {
  background: var(--white);
}


/* KNOB — ON */
.toggle--on .toggle-knob {
  background: var(--lighter-black);
  transform: translateX(20px);
}


.edit-mode-container {
  background: var(--light-black);
  border-radius: 18px;
  padding: 20px 15px;
  margin-bottom: 15px;
  position: relative;
}

.no-bottom-border {
  border-bottom: none !important;
  padding-bottom: 0;
}



.social-display-row {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 15px 0 17px 0;
  gap: 8px;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  height: 50px;
  width: 50px;
  background: var(--light-black)
}

/* SVG sizing */
.icon-wrapper svg {
  width: 55% !important;
  height: 55% !important;
  fill: white;
}

/* Adjustments */
.apple-icon-adjust svg {
  width: 59% !important;
  height: 59% !important;
  margin-top: -2px !important;
  margin-left: -1px !important;
}

.tiktok-icon-adjust svg {
  width: 49% !important;
  height: 49% !important;
  margin-top: 0px !important;
}


/******************************************************
================ Tour / Show Row ======================
*******************************************************/
.tour-stop-row {
  display: flex;
  gap: 14px;
  padding: 10px;
  align-items: center;
  background: var(--light-black);
  border-radius: 18px;
  position: relative;
  margin-bottom: 8px;
}

.tour-stop-row:first-of-type {
  margin-top: -2px;
}


/* ===================================== */
/* 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(--lightest-black);
  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: 22px;
  line-height: 22px;
  font-weight: 700;
  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: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.tour-stop-meta {
  font-size: 15px;
  color: var(--opacity-white-text-brighter);
  margin: 0;
}


.tour-ticket-link {
  position: absolute;
  bottom: 4px;
  right: 14px;
  text-decoration: none;
}

.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: 13px;
  right: 13px;

  background: var(--warning);
  color: #fff;

  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-text-form-header);
  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(--lightest-black);
}

.placeholder-icon {
  width: 28px;
  opacity: 0.12;
  stroke: var(--white);
  stroke-width: 3px;
  fill: none;
}



/* =====================================
   PAST SHOWS TOGGLE BUTTON
===================================== */

.past-shows-toggle {
  background: var(--light-black);
  display: flex;
  align-items: center;
  justify-content: center;

  width: calc(100% - 26px);
  position: relative;

  text-align: center;
  opacity: 0.6;
  margin-top: 10px;
}

/* Chevron */
.past-shows-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;

  width: 18px;
  height: 18px;

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

  -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.2s 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 {
  margin-top: 10px;
  opacity: 0.6;
}

.past-show:last-of-type {
  margin-bottom: 0px;
}




/* ======================================================
   INDEX — TOUR STOP (BASE)
   ====================================================== */

   .index-tour-stop-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
    background: var(--lighter-black);
    border-radius: 12px;
    position: relative;
  }

/* Tour variant */
.index-card--tour .index-tour-stop-row {
  border-radius: 12px;
  margin-top: 8px;
}

.index-card--tour {
  width: calc(100% - 30px);
}

.index-card--tour .index-tour-stops-scroll > a:first-child .index-tour-stop-row {
  margin-top: 0;
}

.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: 54px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    padding: 12px 0 11px 0px;
    border-radius: 9px;
    background: var(--lightest-black);
    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: 22px;
    line-height: 22px;
    font-weight: 700;

    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: 15px;
    line-height: 18px;
    font-weight: 600;

    color: var(--white);
    margin: 0;
    margin-bottom: 1px;
  }

  .index-tour-stop-meta {
    font-size: 15px;
    line-height: 19px;

    color: var(--opacity-white-text-brighter);
    margin: 0;
  }

/* ======================================================
   INDEX — TOUR STOP LINK + ICON
   ====================================================== */

   .index-tour-stop-link {
    display: block;
    position: relative;
    text-decoration: none;
  }

  .index-ticket-icon { 
    position: absolute; 
    bottom: 6px; 
    right: 14px; 
  } 

  .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: 12px;
    background: var(--lighter-black);
  }

  .index-show-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
  }

/* ======================================================
   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: 8px;
  margin-top: 13px;
}

/* Mask wrapper (handles fade overlay) */
.index-tour-stops-mask {
  position: relative;
}

/* Fade overlay */
.index-tour-stops-mask::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(--light-black)
  );
}

.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: 15px;
  border-radius: 14px;
  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: 18px;
  display: block;
}

.index-header-image-preview {
  border-radius: 0px !important;
}

/* CROPPER OVERLAY */
#header-cropper-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  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: 18px;
  /*border: solid 1px var(--subtle-white);*/
}

/* 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: 18px;
}

/* VIEW MODE HEADER IMAGE */
#header-image-view-mode,
#headerimage-view-mode {
  width: 100%;
/*  margin-left: -15px;
  margin-top: -15px;*/
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}



.header-image-view-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transform-origin: center top;
  will-change: transform;
  transition: transform 0.02s linear;
}

.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(--opacity-white);
  font-size: 15px;
  text-align: center;
  border-radius: 18px;
  background: var(--light-black);
}

.index-square-image-button {
  border-radius: 0px !important;
}

.edit-only {
  /* nothing needed here by default */
}

/* ================= 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;
  border-radius: 6px;
  top: 84px;
  font-weight: 500;
  font-size: 12px;
  margin: 0px;
  display: none;
  z-index: 1000;
  background: var(--warning);
  padding: 6px 8px 6px 7px;
}

.slug-hint.error {
  color: var(--white);
  opacity: 1;
}

.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;
}

.custom-link-title {
  color: var(--white);
  font-weight: 400;
  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: rgba(255,255,255,0.2);
}

.custom-link-bar-inner.shake {
  animation: subtle-shake 0.35s ease;
}


/* ======================================================
   SHAKE ANIMATION — SUBTLE (FORM FEEDBACK)
====================================================== */
@keyframes subtle-shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-4px); }
  40%  { transform: translateX(4px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}



.custom-link-input-row,
.modal-share-btn {
  height: 47px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease, background 0.15s ease;
}

.modal-share-btn {
  flex-shrink: 1;
  background: rgba(255,255,255,0.2);
  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;
}

.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.3 !important;
  pointer-events: none;
}

.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;
  width: 100%;
  font-size: 16px;
  color: var(--white) !important;
}

.custom-link-input::placeholder {
  color: var(--opacity-white-text);
}

.custom-link-share {
  flex-shrink: 0;
  padding: 0px;
  fill: var(--white);
  opacity: 0.7;
  width: 22px;
  white-space: nowrap;
  margin-bottom: -6px;
}

/* =========================================
   OVERLAY
========================================= */
#share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 99999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px) saturate(110%);
}

#share-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.share-copy-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  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: 999;
}

.share-copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ================================
   BOTTOM SHEET MODAL
================================ */
#share-modal {
  width: 100%;
  padding: 44px 20px 49px;
  border-radius: 22px 22px 0 0;

  transform: translateY(100%);
  transition: transform 0.35s ease;
  position: relative;

  color: var(--white);

  background: color-mix(in srgb, var(--lighter-black) 75%, transparent);
  box-shadow: 0 4px 40px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px) saturate(160%);
  will-change: transform;
}

#share-modal-overlay.open #share-modal {
  transform: translateY(0);
}

/* ================================
   CLOSE BUTTON
================================ */
.share-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
}

.share-modal-close svg {
  width: 14px;
  stroke: var(--white);
  stroke-width: 4px;
}

/* ================================
   HEADER TEXT
================================ */
.share-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-top: 5px;
}

.share-subtext {
  font-size: 14px;
  text-align: center;
  opacity: 0.7;
  margin-bottom: 25px;
}

/* ================================
   UNIFIED INPUT + BUTTONS ROW
================================ */
/* =========================================
   ANIMATED GRADIENT BORDER
========================================= */
.share-input-row {
  position: relative;
  display: flex;
  align-items: center;

  background: transparent;
  backdrop-filter: blur(10px) saturate(160%);
  border-radius: 16px;

  /* Remove old static border */
  border: none;

  height: 60px;
  padding: 0 10px 0 14px;
  overflow: hidden; /* important: clips glow */

  /* Inner content elevation */
  z-index: 1;
}

/* Gradient border layer */
.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;

  /* 🧨 FIX: allow clicks to pass through */
  pointer-events: none;
}


/* Color-shift animation */
@keyframes animatedBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ================================
   LINK INPUT
================================ */
#share-modal-link {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--white);
  padding-right: 16px;
  margin-top: -1px;
}

/* ================================
   BUTTON GROUP (right side)
================================ */
.share-inline-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================================
   BUTTONS (square, inset)
================================ */
.share-inline-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;

  /* 🌈 Animated gradient background with ~30% opacity */
  background: linear-gradient(
    180deg,
    #ff5a3d 0%,
    #ff4d6d 35%,
    #c43cff 70%,
    #7b2cff 100%
  );
  background-size: 300% 300%;
  animation: shareBtnGradient 6s linear infinite;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.18s ease;
}

.share-inline-btn svg {
  width: 21px;
  height: 21px;
  stroke: var(--white);
  stroke-width: 3px;
  fill: none;
}

#share-modal-sms svg {
  margin-bottom: -1.5px;
}

@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: 5px 0px 5px 0px;
  text-align: center;
}

.epk-artist-view {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  margin-bottom: -1px;
  color: var(--white);
  text-align: center;
}


#epk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* your current layout */
  gap: 8px;
}

.ui-sortable-helper {
  box-shadow:
  0 8px 24px rgba(0,0,0,0.15),
  0 2px 8px rgba(0,0,0,0.08);
  transform: scale(1.06);
}

.gallery-item {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--lighter-black);
  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;
}

/* Sort placeholder should also stay square */
.sortable-placeholder {
  position: relative !important;
  width: 100% !important;
  background: var(--light-black);
  border-radius: 12px;
}

.sortable-placeholder::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}


.gallery-placeholder-text {
  text-align: center;
  width: 100px;
  color: var(--opacity-white);
  font-size: 13px;
  pointer-events: none;
}

/* ==============================
   EPK — GALLERY DELETE BUTTON
============================== */

.gallery-item {
  position: relative;
}

.gallery-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;
}

.gallery-delete-btn svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 3px;
  width: 22px;
  padding: 7px;
}

/* ==============================
   EPK — VIEW MODE GALLERY
============================== */

.epk-gallery-view {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0px;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  margin-bottom: 10px;
}

body[data-page="epk"] #header-image-view-mode {
  display: none !important;
}

.epk-gallery-track {
  display: flex;
  /*gap: 10px;*/
}

.epk-gallery-item {
  flex: 0 0 91%;
}

.epk-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}



/* SINGLE IMAGE OVERRIDE */
.epk-gallery-view.single {
  overflow: hidden;
}

.epk-gallery-view.single .epk-gallery-track {
  padding: 0;
}

.epk-gallery-view.single .epk-gallery-item {
  flex: 0 0 100%;
}


.epk-textarea {
  width: 100%;
  min-height: 100px;
  padding: 15px;
  box-sizing: border-box;
  font-family: inherit;
  background: var(--lighter-black);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 16px !important; /* prevents iOS zoom */
  resize: none;
  positoiin: 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: rgba(255,255,255,0.18);
}

.stageplot-section { 
  margin-top: 20px; 
}

.basic-rider-instructions {
  margin: 0;
  margin-top: 25px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--white);
}

.stageplot-instructions {
  margin-top: -2px;
}

.stageplot-instructions p {
  margin: 0;
  font-size: 14px;
  color: var(--opacity-white-text);
}

.stageplot-category-container {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 12px 0;
  margin: 5px 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(--lighter-black);
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  font-size: 26px;
  color: var(--white);
  user-select: none;

/*  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;

  touch-action: 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(--lighter-black);
  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: 50px;
  height: 8px;
  border-radius: 999px;

  background: var(--opacity-white);
  opacity: 0.6;

  cursor: ns-resize;
  touch-action: none;

  z-index: 10;
}

#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(--opacity-white);
  font-size: 12px;
  opacity: 0.8;
}


.sp-draggable {
  position: absolute;
  background: none;
  font-size: 26px;
}


/* ================================
   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(--lighter-black);
    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: 18px;
  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%;
  margin-top: 15px;
}

.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;
}







/* ===============================
   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: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.01)
  ), var(--light-black);

  color: var(--opacity-white-text);
  margin-top: 15px;
}

/* Bio text itself */
.epk-bio-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--opacity-white-text);
}


.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(--opacity-white-text);
  text-align: center;
}

.epk-stat-divider {
  width: 1px;
  height: 44px;
  align-self: center;
  background: var(--subtle-white);
}


/* ======================================================
   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(--opacity-white-text);

  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(--opacity-white-text);
}

.epk-view-assets {
  margin-top: 15px;
  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-top: 15px;
  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 — 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;
  border-bottom: 1px solid var(--divider);
  padding: 0px 15px 0px 0;

  font-family: inherit;
  margin-bottom: -2px;
  margin-right: -1px;
  font-size: 16px;
  color: var(--opacity-white-text);

  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(--opacity-white-text);
}

/* Value input */
.epk-highlight-value {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  padding: 0;
  font-size: 16px;
  color: var(--white);
}

/* Focus states */
.epk-highlight-select:focus,
.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: 18px;
    padding: 20px 15px 16px 15px;
    margin-top: 15px;
  }

  .epk-view-header {
    font-size: 17px;
    font-weight: 600;
    color: var(--white-text-form-header);
    margin: 0;
    margin-bottom: 15px;
  }

  .epk-tech-block {
    margin-top: 15px;
  }

  .epk-tech-view-block h4 {
    font-size: 13px;
    color: var(--opacity-white-text);
    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(--subtle-white);
    padding-top: 15px;
  }

/* Each pill */
.epk-tech-pill {
  background: var(--lightest-black);
  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: 18px;
  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: 15px;
  line-height: 1;
  font-weight: 500;

  padding: 0;
  height: auto;

  color: var(--opacity-white);
  background: transparent;
  border-radius: 0;

  cursor: pointer;
  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 11px;          

  background: rgba(255,255,255,0.12);
  border-radius: 1px;

  vertical-align: middle;
  pointer-events: none;
}





/* ======================================================
   MERCH — EDIT MODE IMAGE GRID
====================================================== */
.merch-instructions {
  font-size: 13px;
  color: var(--opacity-white-text);
  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: rgba(255,255,255,0.12);
  margin: 13px 0;
}

.edit-merch-container {
  background: var(--light-black);
  border-radius: 18px;
  padding: 20px 15px;
  margin-bottom: 15px;
  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-text-form-header);
}

.delete-merch-btn {
  height: 19px;
  stroke: var(--warning);
  stroke-width: 3.4px;
  fill: none;
  margin-top: -1px;
  margin-left: 32px;
}

/* ==============================
   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;
  cursor: pointer;
}

/* disabled state */
.merch-reorder-controls span.disabled {
  pointer-events: none;
}

.merch-reorder-controls span.disabled .merch-arrow {
  opacity: 0.25;
  transform: none;
}





.merch-image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.merch-image-tip-container {
  margin-top: 0px;
  margin-bottom: 10px;
}

.merch-image-slot {
  aspect-ratio: 1 / 1;
  background: var(--lighter-black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--opacity-white);
  font-size: 13px;
  cursor: pointer;
  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: 12.5px;
  color: var(--opacity-white-text);
  margin-top: 13px;
}

.merch-add-item-button {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  background: var(--light-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  gap: 8px;
}

.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(--opacity-white-text);
}

/* ======================================================
   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;
}





/* ======================================================
   MERCH — VIEW MODE
====================================================== */

.merch-view-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

/* ----------------------------
   ITEM
---------------------------- */

.merch-view-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--light-black);
  border-radius: 18px;
}

/* ----------------------------
   IMAGES
---------------------------- */

.merch-view-image-single,
.merch-view-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--lighter-black);
  border-radius: 18px 18px 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-scroll {
  display: flex;
  gap: 1.5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 18px 18px 0px 0px;
}

.merch-view-image-scroll img {
  width: 100%;
  max-width: 92%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  scroll-snap-align: start;
}

/* ----------------------------
   META
---------------------------- */

.merch-view-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 3px 15px 15px 15px;
}

.merch-view-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.merch-view-price {
  font-size: 14px;
  color:var(--opacity-white-text);
}

/* ----------------------------
   BUTTON
---------------------------- */

.merch-view-purchase-btn {
  margin-top: 6px;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  background: var(--lighter-black);
  font-size: 15px;
  text-decoration: none;
  color: var(--white);
  margin-top: 16px;
}


/* ==============================
   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(--opacity-white);
  width: 35px;
  margin-top: 13px;
  margin-bottom: 19px;
}

/* reuse stream bg text exactly */
.merch-stream-header .stream-bgtext {
  pointer-events: none;
  opacity: 0.3;
}

/* foreground label (artist name) */
.merch-stream-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;

  font-size: 24px;
  font-weight: 600;
  /*letter-spacing: 0.8px;*/
  /*text-transform: uppercase;*/

  color: var(--white);
  z-index: 2;
  margin-bottom: -4px;
}

.merch-sub-label {
  font-size: 15px;
  color: var(--opacity-white-text);
  font-weight: 500;
}

.index-merch-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--lighter-black);
  border-radius: 12px;
}

.index-merch-card.is-single {
  width: calc(100% - 30px);
}


















/* ================================
   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(--opacity-white-text);
  background: var(--subtle-white);
  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 svg {
  width: 19px;
  height: 19px;
  fill: var(--warning);
}

/* photo circle */
.bandmember-image-row {
  margin-bottom: 8px;
}

.bandmember-image-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 100px;
  background: var(--subtle-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bandmember-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100px;
  display: none;
}

.bandmember-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--opacity-white-text);
  text-align: center;
}

.bandmember-image-wrapper.has-image .bandmember-image {
  display: block;
}

.bandmember-image-wrapper.has-image .bandmember-image-placeholder {
  display: none;
}


/* ================================
   BAND MEMBER – VIEW MODE CARD
   ================================ */

   .epk-tech-card {
    background: var(--lighter-black);
    border-radius: 14px;
    padding: 15px;
    margin-top: 8px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: var(--opacity-white-text);
  }

/* image */
.epk-tech-card-image {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  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(--opacity-white-text);
}

/* divider above notes */
.epk-tech-notes::before {
  content: "";
  display: block;
  height: 1px;
  width: 15px;
  background: var(--opacity-white-text);
  margin: 13px 0;
}

/* ================================
   NOTES – EDIT MODE
   ================================ */

   .bm-notes-row {
    position: relative;
    align-items: flex-start;
  }

  .bm-notes-input {
    width: 100%;
    min-height: 90px;
    padding: 12px 15px;
    box-sizing: border-box;
    font-family: inherit;
    background: var(--lighter-black);
    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;
}

.general-page-container {
  background: var(--light-black);
  border-radius: 18px;
  padding: 20px 15px;
  margin-bottom: 15px;
  position: relative;
}

.account-form-description {
  font-size: 13px;
  color: var(--opacity-white-text);
  margin: 0;
  margin-top: -13px;
  margin-bottom: 22px;
}

.account-switch-saving {
  margin-top: -10px;
  margin-bottom: 25px;
  font-size: 13px;
  color: var(--opacity-white-text);
}

.manage-sub-button {
  margin-bottom: -4px;
}

.account-questions {
  font-size: 13px;
  color: var(--opacity-white-text);
}

.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(--subtle-white);
  border-radius: 0px !important;
}

/* ============================
   SHOW CARD
============================ */
.page-card-holder {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* CARD */
.page-card {
  background: var(--light-black);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

/* HEADER IMAGE */
.page-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* 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(--opacity-white-text);
}

.form-subheader {
  font-size: 13px;
  color: var(--opacity-white-text);
  margin: 0;
  margin-top: -10px;
  margin-bottom: 18px;
}

.form-helper {
  font-size: 13px;
  color: var(--opacity-white-text);
  margin: 0;
  margin-top: 5px;
}

.form-subheader-margin-large {
  margin-bottom: 22px;
}

.epk-tech-rider-textarea-header {
  font-size: 16px;
  color: var(--white);
  margin: 0;
  margin-bottom: 10px;
}

.form-subheader-tech-rider-epk {
  font-size: 13px;
  color: var(--opacity-white-text);
  margin: 0;
  margin-bottom: 18px;
}

.epk-tech-rider-textarea-header:last-of-type {
  margin-top: 15px;
}

.form-subheader a {
  color: var(--opacity-white-text);
}

.page-instructions {
  font-size: 14px;
  color: var(--opacity-white-text);
  margin: 0;
  margin-bottom: 20px;
}

.form-instructions {
  font-size: 13px;
  color: var(--opacity-white-text);
  margin: 0;
  margin-bottom: 15px;
}

.form-sortable-handle {
  width: 32px;
  padding: 2px 0;
  margin-left: 14px;
  fill: var(--opacity-white-text);
}


.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;
}


.edit-mode-streaming-container {
  position: relative;
}

.form-sortable-handle {
  cursor: grab;
}

.form-sortable-handle:active {
  cursor: grabbing;
}

.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(--opacity-white-text);
}

.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(--lighter-black);
  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(--lighter-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.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: rgba(0, 0, 0, 0.74);
  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: 18px;
  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: rgba(255,255,255,0.2);
}

.delete-modal-button-cancel-alt {
  background: rgba(255,255,255,0.08);
  /*background: var(--warning);*/
}

.delete-modal-overlay.open .delete-modal,
.fix-shareable-link-overlay.open .fix-modal {
  transform: translateY(0);
}

.delete-modal-title {
  color: white;
  font-size: 17px;
  margin-bottom: 5px;
  font-weight: 500;
}

.delete-modal-title-alt {
  color: white;
  font-size: 17px;
  margin-bottom: 18px;
  font-weight: 500;
}

.delete-modal-subtitle {
  color: var(--opacity-white-text);
  font-size: 14px;
  margin-bottom: 18px;
}

.delete-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.delete-modal-cancel {
  background: #333;
  color: 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: #ff3b30;
  color: 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;
  }






/******************************************************
================ DISC0GRAPHY VIEW MODE ================
*******************************************************/
  .discog-info-view {
    display: flex;
    flex-direction: column;
    padding: 5px 0px 7px 0px;
    text-align: center;
  }

/* Artist Name */
.discog-artist-view {
  font-size: 24px;
  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(--opacity-white-text);
}

/* Year + Type (e.g. 2024 Album) */
.discog-year-type-view {
  font-size: 16px;
  margin-top: 3px;
  margin-bottom: 4px;
  color: var(--opacity-white);
}

.view-page:has(.discog-artist-view):has(.discog-title-view) .social-display-row {
  margin-top: 10px;
  margin-bottom: 7px;
}

#type-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  fill: var(--opacity-white-text);

  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(--opacity-white-text);
  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;
}

/* 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;
  gap: 11px;
  border: solid 1px var(--opacity-white-text);
  border-radius: 100px;
  padding: 14px 30px 14px 26px;
}

/* 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: 18px;
}


/* 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: 18px;
}


.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(--opacity-white-text);
}

.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;
}

[data-page="index"] .streaming-item-view {
  margin-top: 0px;
  margin-bottom: 15px;
}

[data-page="epk"] .streaming-item-view {
  margin-top: 15px;
}

[data-page="epk"] .social-display-row {
  margin-bottom: 5px;
}

.discog-stream-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  overflow: hidden;
  padding: 20px 20px;
  height: 110px; /* optional but gives consistency */
}

/* 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.2;
  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-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: 18px;
  overflow: hidden;           /* CRITICAL: no padding bleed */
}

/* ===============================
   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
====================================================== */

.discog-stream-item {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  border-radius: 18px;
}


.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; }





/* -----------------------------------------
   LYRICS ACCORDION (mirrors credits)
------------------------------------------*/
.lyrics-accordion {
  margin-top: 15px;
  margin-bottom: -7px;
  background: var(--light-black);
  border-radius: 14px;
  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;
  margin: 6px 0;
  white-space: pre-wrap;
  color: var(--opacity-white-text);
}

.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: 14px;
  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(--opacity-white-text);
}

.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(--lighter-black);
  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(--opacity-white-text);
}


/* -----------------------------------------
   PREVIOUS RELEASES TOGGLE TEXT
------------------------------------------*/
.discog-previous-view {
  margin-top: 8px;
  font-size: 14px;
  color: var(--opacity-white-text);
}


/* -----------------------------------------
   TOOLKIT DAILY INSPIRATION (REFINED)
------------------------------------------*/
.daily-inspiration {
  width: calc(100% - 30px);
  margin-bottom: 25px;
  padding: 18px 15px;

  /* Softer, more atmospheric */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.02)
  );

  border-radius: 14px;
}

/* Label */
.daily-inspiration-header {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 9px;
  margin: 0 0 8px 0;
  color: var(--white);
  opacity: 0.22;
}

/* Quote text */
.daily-inspiration-text {
  position: relative;
  margin: 0;
  padding-left: 12px;

  font-style: italic;
  font-size: 13px;          /* slightly quieter */
  line-height: 1.45;

  color: var(--opacity-white-text);
  opacity: 0.8;             /* keeps it present, not dominant */
}

/* Subtle left accent */
.daily-inspiration-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1.5px;
  border-radius: 2px;
  background: var(--subtle-white);
  opacity: 0.8;
}




/* ================================
   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(--lightest-black);
  color: var(--opacity-white-text);
  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(--lighter-black);
  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: white;
  pointer-events: none;
  position: absolute;
  left: 16.5px;
  margin-top: 15.5px;
}

/* 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(--opacity-white-text);
}

.tool-input-row input:focus {
  outline: none;
}




/* ================================
   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(--opacity-white-text);
}

#qr-input:focus {
  outline: none;
}


/* ================================
   RESULTS VISIBILITY STATE
================================ */
.qr-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.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;
}











/* =========================
   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: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14px;
}

.toolkit-tour-stop-input:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
}

.toolkit-tour-stop-remove {
  background: transparent;
  border: none;
  color: var(--opacity-white-text);
  font-size: 18px;
  cursor: pointer;
}

/* Add stop */

.toolkit-tour-stop-add {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--opacity-white-text);
  font-size: 13px;
  cursor: pointer;
  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: 14px 16px;
  font-size: 15px;
  color: var(--white);
}

#timezone-time-input::placeholder {
  color: var(--opacity-white-text);
}

#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;
  background: var(--darkest-black);
  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(--lightest-black);
  border-radius: 12px;
}

/* Labels + values */
.tz-label {
  font-size: 13px;
  color: var(--opacity-white-text);
}

.tz-value {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}

/* ================================
   LOCAL EMPHASIS (COLOR-BASED)
================================ */

.timezone-row--local {
  background: rgba(255, 255, 255, 0.06);
}

.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(--opacity-white-text);
  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(--opacity-white-text);
  text-align: left;
}


/* ================================
   TOOLKIT ACCORDION
================================ */
.toolkit-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CARD */
.toolkit-accordion-item {
  background: var(--light-black);
  border-radius: 18px;
  overflow: hidden;
}

/* 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;
  stroke: var(--opacity-white-text);
  stroke-width: 2;
  transition: transform 0.25s ease;
}

.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(--opacity-white-text);
  margin-bottom: 25px;
}

.toolkit-playlist-list {
  max-height: 350px;
  overflow-y: auto;
}

/* Optional: smoother scrolling on iOS */
.toolkit-playlist-list {
  -webkit-overflow-scrolling: touch;
}

.toolkit-playlist-item {
  background: var(--lighter-black);
  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(--subtle-white);
  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(--lightest-black);
}

.toolkit-playlist-item-description {
  margin: 17px 0 18px 0;
  font-size: 15px;
  color: var(--opacity-white-text);
}

.toolkit-playlist-list a {
  color: var(--white);
  margin-bottom: 3px;
  font-size: 15px;
}













/******************************************************
==================== AUTH (LOGIN / SIGNUP) ============
******************************************************/

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background: linear-gradient(
    180deg,
    #ff5a3d 0%,
    #ff4d6d 35%,
    #c43cff 70%,
    #7b2cff 100%
  );
  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(--opacity-white-text);
}

.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: 260px auto;
  background-position: 40px 60px;
  animation: bgDrift 20s 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;
}

.auth-logo {
  width: 132px;
  margin-bottom: 32px;
  fill: var(--white);
  opacity: 0.66;
}

.auth-card {
  width: calc(100% - 95px);

  background: rgba(30,30,30,0.6);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);

  border-radius: 24px;
  padding: 25px;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.3);
}

/* ---------- 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: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.auth-row input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--opacity-white);
  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: 15px 0;
  border-radius: 14px;
  border: none;
  background: rgba(20,20,20,0.55);
  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(--opacity-white-text);
  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(--opacity-white);
}

.tc-p {
  font-size: 15px;
  color: var(--opacity-white-text);
  margin: 0 0 14px 0;
}














/* =============================
   TRIAL / PAYWALL GATE
   ============================= */

#trial-gate {
  position: fixed;
  inset: 0;

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

  background: rgba(0,0,0,0.65);
  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);

  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::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: addButtonGlow 6s linear infinite;

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

.trial-gate-card h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.trial-gate-card p {
  font-size: 15px;
  color: var(--opacity-white-text);
  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(--opacity-white-text);
  font-size: 14px;
}



