/* Crowd Hits visitor, voting and live-screen presentation */

.home-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 22px 0;
    opacity: .5;
    font-size: 15px;
    font-weight: 600;
}

.home-separator::before,
.home-separator::after {
    content: "";
    flex: 1;
    max-width: 140px;
    height: 1px;
    background: rgba(255,255,255,.25);
}

.visitor-body {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-tap-highlight-color: transparent;
  background: radial-gradient(circle at 20% 20%, rgba(255, 0, 160, 0.14), transparent 34%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.12), transparent 36%),
        linear-gradient(135deg, #070711 0%, #160826 44%, #05050b 100%);
}

.visitor-body.form-mode:not(.success-mode) {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.visitor-body.success-mode {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.visitor-shell {
  position: relative;
  min-height: 100svh;
  overflow: visible;
}

.ambient {
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.ambient-a {
  top: -14vw;
  left: -10vw;
  background: var(--accent-2);
}

.ambient-b {
  right: -16vw;
  bottom: -14vw;
  background: var(--accent);
}

.home-screen,
.form-screen {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: 100%;
}

.home-screen {
  display: grid;
  place-items: center;
  padding: clamp(22px, 4.2vw, 46px);
}

.home-card {
  width: min(100%, 760px);
  text-align: center;
  padding: clamp(46px, 5vw, 72px) clamp(34px, 4.8vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0 !important;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 26px);
}

.home-card h1 {
  margin: 12px 0 20px;
  font-size: clamp(4.1rem, 13vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 900;
  text-transform: uppercase;
}

.home-card p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.45;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.form-screen {
  display: block;
  padding: clamp(12px, 2.4vw, 24px);
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(10px, 2vw, 20px));
}

.visitor-body.form-mode:not(.success-mode) .form-screen {
  position: fixed;
  inset: 0;
  min-height: 0;
  height: 100dvh;
  overflow: hidden;
  padding: 0;
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}

.dot.active {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(246,255,0,0.55);
}

.flow-message {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 0.8rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: auto;
  max-width: min(390px, calc(100vw - 2rem));
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(18, 8, 24, 0.92);
  border: 1px solid rgba(255, 95, 135, 0.55);
  color: #ff6b8a;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.flow-message.success {
  border-color: rgba(145, 255, 100, 0.55);
  color: #9cff66;
}

.flow-message.info {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.flow-message.hidden {
  display: none !important;
}

.flow-message-text {
  display: inline-block;
  max-width: 310px;
  white-space: normal;
}

.flow-message-close {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.flow-message-close:active {
  transform: scale(0.94);
}

.slide-form {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visitor-body.form-mode:not(.success-mode) .slide-form {
  width: 100%;
  max-width: none;
  height: 100dvh;
  margin: 0;
  display: block;
}

.nav-bar {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + clamp(10px, 2vw, 18px));
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 950;
  display: grid;
  grid-template-columns: minmax(104px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 14px;
  width: min(calc(100% - clamp(24px, 4.8vw, 48px)), var(--content-max));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(18,18,31,0.84), rgba(12,12,22,0.66));
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  isolation: isolate;
  will-change: transform;
  -webkit-transform: translate3d(-50%, 0, 0);
}

.nav-bar .step-indicator {
  justify-self: center;
}

.nav-bar .flow-actions-left {
  justify-self: start;
}

.nav-bar #nextBtn {
  justify-self: end;
}

.flow-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-nav-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
}

.nav-button,
.primary-button,
.secondary-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .12s ease, opacity .12s ease, background .12s ease;
}

.nav-button,
.primary-button {
  background: var(--accent);
  color: #07070a;
  padding: 16px 24px;
  box-shadow: 0 14px 34px rgba(246,255,0,0.18);
}

.nav-button.submit-nav {
  min-width: 190px;
  background: #97DB4F;
}

.nav-button.ghost,
.secondary-button {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 20px;
}

button:disabled {
  opacity: .36;
  cursor: default;
}

button:not(:disabled):active {
  transform: scale(0.98);
}

.home-cta {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  padding: 22px 34px;
}

.reset-btn {
  min-width: 0;
  height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--line);
}

.reset-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.slides {
  display: block;
  margin-top: 92px;
}

.visitor-body.form-mode:not(.success-mode) .slides {
  width: 100%;
  height: 100dvh;
  margin-top: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 104px) clamp(12px, 2.4vw, 24px) calc(34px + env(safe-area-inset-bottom, 0px));
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 104px);
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.single-input-step.active {
  align-items: start;
}

.card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: clamp(40px, 3.2vw, 36px);
}

.card-center {
  text-align: center;
}

.card-scrollable {
  max-height: none;
  overflow: visible;
  padding-bottom: clamp(30px, 5vw, 58px);
}

.card h2 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: .94;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.microcopy {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.45;
}

.field-hint {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 800;
  margin-left: 6px;
}

.field-label {
  display: block;
  margin: 18px 0 8px;
  color: rgba(255,255,255,0.78);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.text-input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  outline: none;
  padding: 20px 22px;
  font-size: 1.15rem;
}

.text-input:focus {
  border-color: rgba(246,255,0,.65);
  box-shadow: 0 0 0 4px rgba(246,255,0,.1);
}

.giant-input {
  text-align: center;
  font-size: clamp(1.8rem, 5.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  padding: clamp(18px, 3vw, 28px);
}

.textarea-input {
  resize: vertical;
  min-height: 104px;
  line-height: 1.35;
}

.textarea-large {
  min-height: 132px;
}

.textarea-medium {
  min-height: 110px;
}

.tall-style-input {
  min-height: 118px;
}

.optional-stack {
  margin-top: 14px;
}

.optional-panel {
  margin-top: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.choice-chip {
  min-height: 52px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  padding: 12px 14px;
  font-weight: 900;
  text-align: center;
}

.choice-chip.active {
  color: #08080a;
  background: var(--accent);
  border-color: var(--accent);
}

.options-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.compact-top {
  margin-top: 18px;
}

.submit-message {
  min-height: 24px;
  margin: 22px 0 12px;
  font-weight: 800;
}

.submit-message.error {
  color: var(--danger);
}

.submit-message.success {
  color: var(--ok);
}

.submit-inline {
  width: 100%;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  padding: 22px 26px;
}

.success-screen {
  min-height: 0;
  display: block;
  text-align: center;
  padding: clamp(18px, 4vw, 42px) 0;
}

.success-screen h2 {
  max-width: 780px;
  margin: 0 auto 18px;
}

.success-screen p {
  color: var(--muted);
  margin: 0 auto 22px;
  font-size: 1.1rem;
  max-width: 680px;
}

.visitor-body.success-mode .form-screen {
  position: relative;
  inset: auto;
  overflow: visible;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 34px);
}

.visitor-body.success-mode .flow-message {
  display: none;
}

.visitor-body.success-mode .slide-form {
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.visitor-body.success-mode .slides {
  margin-top: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  padding-bottom: 0;
}

.visitor-body.success-mode .slide.active {
  display: grid;
  place-items: center;
  min-height: calc(100svh - clamp(36px, 6vw, 68px));
}

.visitor-body.success-mode .success-card {
  max-width: 920px;
  margin: 0 auto;
}

.visitor-body.success-mode .success-screen {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 3vw, 36px);
}

.idle-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(12px);
}

.idle-prompt-card {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.idle-prompt-card h3 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: .9;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.idle-prompt-card p {
  margin: 0 auto 24px;
  max-width: 420px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.4;
}

.idle-prompt-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}

.loading-card {
  width: min(100%, 420px);
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-strong);
  text-align: center;
  box-shadow: var(--shadow);
}

.loading-card h3 {
  margin: 16px 0 6px;
  font-size: 1.45rem;
}

.loading-card p {
  margin: 0;
  color: var(--muted);
}

.loading-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 5px solid rgba(255,255,255,.16);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

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

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.1);
  font-weight: 900;
  font-size: .78rem;
}

.status-approved .status-pill {
  background: rgba(93,255,179,.18);
  color: var(--ok);
}

.status-rejected .status-pill {
  background: rgba(255,84,104,.18);
  color: var(--danger);
}

.status-played .status-pill {
  background: rgba(246,255,0,.18);
  color: var(--accent);
}

.meta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 7px;
  background: rgba(255,255,255,.05);
}

.meta-box span {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.meta-box strong {
  display: block;
  margin-top: 5px;
}

.snippet {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .home-card {
    padding: 32px 22px;
  }

  .form-screen {
    padding: 12px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
  }

  .nav-bar {
    grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius-md);
  }

  .nav-button {
    padding: 14px 16px;
  }

  .icon-nav-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    font-size: 1.32rem;
  }

  .flow-actions {
    gap: 6px;
  }

  .slides {
    margin-top: 84px;
  }

  .visitor-body.form-mode:not(.success-mode) .slides {
    height: 100dvh;
    margin-top: 0;
    padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  }

  .card-scrollable {
    max-height: none;
    overflow: visible;
  }

  .card-center {
    min-height: 0;
  }

  .options-grid-2 {
    grid-template-columns: 1fr;
    display: grid;
  }

  .giant-input {
    font-size: clamp(1.7rem, 10vw, 3.4rem);
  }

  .compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

.live-body {
  min-height: 100dvh;
  overflow: hidden;
  background: #040407;
}

.live-screen {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 76px);
  isolation: isolate;
  background: radial-gradient(circle at 20% 20%, rgba(255, 0, 160, 0.20), transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #070711 0%, #160826 44%, #05050b 100%);
  background-size: 140% 140%;
  /* Spain pilot: background motion disabled for Smart TV performance.
  animation: aiClubBgBreath 11s ease-in-out infinite alternate; */
  overflow-x: hidden;
}

.live-orb {
  position: fixed;
  width: 44vw;
  height: 44vw;
  border-radius: 999px;
  filter: blur(68px);
  opacity: .42;
  z-index: -2;
  /* Spain pilot: orb motion disabled for Smart TV performance.
  animation: liveFloat 13s ease-in-out infinite alternate; */
}

.live-orb-a {
  left: -12vw;
  top: -14vw;
  background: var(--accent-2);
}

.live-orb-b {
  right: -12vw;
  bottom: -14vw;
  background: var(--accent);
  animation-delay: -4s;
}

.live-noise {
  position: fixed;
  inset: 0;
  opacity: .11;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  /* Spain pilot: grid motion disabled for Smart TV performance.
  animation: liveGrid 12s linear infinite; */
}

.live-idle,
.live-active {
  width: min(100%, 1500px);
  min-height: min(74vh, 820px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: clamp(24px, 3vw, 44px);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  box-shadow: 0 38px 110px rgba(0,0,0,.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.live-idle {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(34px, 7vw, 110px);
}

.live-brand {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 3vw, 42px);
}

.live-idle h1 {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(3.6rem, 9vw, 9.4rem);
  line-height: .88;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.live-idle p {
  margin: clamp(24px, 3vw, 40px) 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.live-pulse {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 56px);
}

.live-pulse span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  animation: livePulse 1.2s ease-in-out infinite;
}

.live-pulse span:nth-child(2) {
  animation-delay: .16s;
}

.live-pulse span:nth-child(3) {
  animation-delay: .32s;
}

.live-active {
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  padding: clamp(26px, 4vw, 68px);
}

.live-cover-frame {
  aspect-ratio: 1;
  width: 100%;
  border-radius: clamp(22px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
  background: rgba(255,255,255,.07);
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  transform: rotate(-1.2deg);
  animation: liveCoverDrift 8s ease-in-out infinite alternate;
}

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

.live-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(1.6rem, 3vw, 3rem);
  background: radial-gradient(circle at 30% 25%, rgba(255,61,242,.36), transparent 45%),
    radial-gradient(circle at 70% 75%, rgba(249,137,72,.34), transparent 42%),
    #0b0b14;
}

.live-track-info {
  min-width: 0;
}

.live-kicker {
  display: inline-flex;
  margin-bottom: clamp(18px, 3vw, 36px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #07070a;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.live-track-info h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 10rem);
  line-height: .86;
  letter-spacing: -.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.live-track-info h2 {
  margin: clamp(18px, 2vw, 32px) 0 0;
  font-size: clamp(1.8rem, 3.4vw, 4.4rem);
  line-height: 1;
  color: var(--accent-2);
  overflow-wrap: anywhere;
}

.live-track-info p {
  margin: clamp(22px, 2.4vw, 34px) 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  font-weight: 800;
}

@keyframes liveFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(4vw, -2vw, 0) scale(1.14); }
}

@keyframes liveGrid {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(42px, 42px, 0); }
}

@keyframes livePulse {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(-12px); opacity: 1; }
}

@keyframes liveCoverDrift {
  from { transform: rotate(-1.2deg) translate3d(0,0,0); }
  to { transform: rotate(.8deg) translate3d(0,-10px,0); }
}

@media (max-width: 900px), (orientation: portrait) {
  .live-active {
    grid-template-columns: 1fr;
    min-height: 88vh;
    text-align: center;
  }

  .live-cover-frame {
    width: min(72vw, 520px);
    margin: 0 auto;
  }

  .live-track-info h1 {
    font-size: clamp(3rem, 12vw, 7rem);
  }
}

.visitor-body::before,
.visitor-body::after {
  content: none !important;
  display: none !important;
}

.live-screen::before,
.live-screen::after {
  content: "";
  position: fixed;
  inset: -35%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  filter: blur(18px);
  transform: translateZ(0);
  will-change: transform, opacity;
}

.live-screen::before {
  background: radial-gradient(circle at 16% 26%, rgba(255, 255, 255, 0.28), transparent 20%),
        radial-gradient(circle at 68% 34%, rgba(255, 0, 160, 0.48), transparent 28%),
        radial-gradient(circle at 38% 78%, rgba(0, 210, 255, 0.42), transparent 26%),
        radial-gradient(circle at 84% 78%, rgba(255, 230, 0, 0.26), transparent 22%);
  /* Spain pilot: animated background wave disabled for Smart TV performance.
  animation: aiClubWaveOne 7s ease-in-out infinite alternate; */
}

.live-screen::after {
  background: radial-gradient(circle at 82% 18%, rgba(255, 230, 0, 0.34), transparent 24%),
        radial-gradient(circle at 24% 72%, rgba(140, 80, 255, 0.48), transparent 30%),
        radial-gradient(circle at 62% 88%, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at 10% 86%, rgba(0, 255, 190, 0.34), transparent 26%);
  /* Spain pilot: animated background wave disabled for Smart TV performance.
  animation: aiClubWaveTwo 10s ease-in-out infinite alternate; */
  mix-blend-mode: screen;
}

@keyframes aiClubBgBreath {
    0% {
        background-position: 0% 45%;
        filter: saturate(1);
    }

    100% {
        background-position: 100% 55%;
        filter: saturate(1.18);
    }
}

@keyframes aiClubWaveOne {
    0% {
        transform: translate3d(-8%, -5%, 0) scale(1) rotate(0deg);
        opacity: 0.78;
    }

    45% {
        transform: translate3d(7%, 4%, 0) scale(1.16) rotate(8deg);
        opacity: 1;
    }

    100% {
        transform: translate3d(-4%, 9%, 0) scale(1.28) rotate(-7deg);
        opacity: 0.88;
    }
}

@keyframes aiClubWaveTwo {
    0% {
        transform: translate3d(6%, 7%, 0) scale(1.06) rotate(4deg);
        opacity: 0.72;
    }

    50% {
        transform: translate3d(-10%, -5%, 0) scale(1.22) rotate(-9deg);
        opacity: 1;
    }

    100% {
        transform: translate3d(7%, -8%, 0) scale(1.10) rotate(7deg);
        opacity: 0.84;
    }
}

.visitor-shell,
.home-screen,
.form-screen,
.success-screen,
.idle-modal,
.live-screen .live-wrap,
.live-screen .live-stage,
.live-screen .live-idle,
.live-screen .live-active {
  position: relative;
  z-index: 2;
}

.card,
.nav-card,
.live-panel,
.live-cover-wrap {
  position: relative;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .live-screen,
.live-screen::before,
.live-screen::after,
.live-vinyl-view.is-revealing .live-kicker,
.live-vinyl-view.is-revealing .live-track-info h1,
.live-vinyl-view.is-revealing .live-track-info h2,
.live-vinyl-view.is-revealing .live-track-info p {
    animation: none !important;
  }
}

.live-active.live-vinyl-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: grid;
  grid-template-columns: minmax(0, 58vw) minmax(360px, 42vw);
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  z-index: 5;
}

.live-record-area {
  position: relative;
  min-width: 0;
  height: 100dvh;
  overflow: visible;
  z-index: 3;
}

.live-record {
  position: absolute;
  width: min(150vw, 180vh);
  aspect-ratio: 1 / 1;
  left: clamp(-500px, -500vw, -500px);
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  --record-base-transform: translateY(-50%);
  animation: liveVinylSpin 18s linear infinite;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.16) 0 2.8%, transparent 3.2%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0 18%, transparent 18.4%),
        repeating-radial-gradient(circle at 50% 50%,
            rgba(255,255,255,.09) 0px,
            rgba(255,255,255,.09) 1px,
            rgba(0,0,0,0) 2px,
            rgba(0,0,0,0) 7px),
        radial-gradient(circle at 33% 24%, rgba(255,255,255,.18), transparent 23%),
        radial-gradient(circle at 70% 82%, rgba(255,0,160,.14), transparent 24%),
        linear-gradient(135deg, #050508 0%, #141421 44%, #020203 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10),
        0 34px 120px rgba(0,0,0,.72),
        inset 0 0 0 18px rgba(255,255,255,.025),
        inset 0 0 110px rgba(255,255,255,.08);
}

.live-record.is-starting {
  animation: liveVinylStart 3.4s cubic-bezier(.10, .72, .18, 1) 1 both,
        liveVinylSpin 18s linear 3.4s infinite;
}

.live-record::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035),
        inset 0 0 0 8px rgba(0,0,0,.14),
        inset 0 0 0 16px rgba(255,255,255,.025),
        inset 0 0 0 26px rgba(0,0,0,.16);
  pointer-events: none;
}

.live-record::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 18deg,
            rgba(255,255,255,.00),
            rgba(255,255,255,.16),
            rgba(255,255,255,.00) 14%,
            rgba(255,255,255,.00) 52%,
            rgba(255,255,255,.10),
            rgba(255,255,255,.00) 64%,
            rgba(255,255,255,.00));
  mix-blend-mode: screen;
  opacity: .38;
  pointer-events: none;
}

.live-record-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center,
            transparent 0,
            transparent 12px,
            rgba(255,255,255,.045) 13px,
            transparent 15px);
  opacity: .58;
  pointer-events: none;
}

.live-record .live-cover-frame,
.live-record .live-record-label {
  position: absolute;
  width: 43%;
  aspect-ratio: 1 / 1;
  left: 50%;
  top: 50%;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(0,0,0,.72),
        0 20px 60px rgba(0,0,0,.42),
        inset 0 0 24px rgba(255,255,255,.10);
  transform: translate(-50%, -50%);
  animation: none;
  z-index: 4;
}

.live-record .live-cover-img,
.live-record .live-cover-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.live-record .live-cover-placeholder {
  display: grid;
  place-items: center;
  padding: 8%;
  font-size: clamp(1.1rem, 2.8vw, 2.8rem);
  line-height: 1;
}

.live-vinyl-view .live-track-info {
  position: relative;
  z-index: 9;
  min-width: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(54px, 6vw, 120px)
        clamp(58px, 6vw, 128px)
        clamp(54px, 6vw, 120px)
        0;
  margin-left: -9vw;
  width: calc(100% + 9vw);
  text-shadow: 0 8px 40px rgba(0,0,0,.78);
  pointer-events: none;
}

.live-vinyl-view .live-kicker,
.live-vinyl-view .live-track-info h1,
.live-vinyl-view .live-track-info h2,
.live-vinyl-view .live-track-info p {
  pointer-events: auto;
}

.live-vinyl-view .live-kicker {
  margin-bottom: clamp(18px, 3vw, 38px);
  box-shadow: 0 12px 38px rgba(151,219,79,.18);
}

.live-vinyl-view .live-track-info h1 {
  font-size: clamp(4.4rem, 8.8vw, 12rem);
  line-height: .82;
  letter-spacing: -.085em;
  max-width: 8.2em;
}

.live-vinyl-view .live-track-info h2 {
  font-size: clamp(1.8rem, 3.8vw, 5rem);
  max-width: 13em;
}

.live-vinyl-view .live-track-info p {
  max-width: 44rem;
}

.live-vinyl-view.is-revealing .live-kicker,
.live-vinyl-view.is-revealing .live-track-info h1,
.live-vinyl-view.is-revealing .live-track-info h2,
.live-vinyl-view.is-revealing .live-track-info p {
  animation: liveTextReveal .76s cubic-bezier(.16, .82, .22, 1) both;
}

.live-vinyl-view.is-revealing .live-kicker {
  animation-delay: .10s;
}

.live-vinyl-view.is-revealing .live-track-info h1 {
  animation-delay: .24s;
}

.live-vinyl-view.is-revealing .live-track-info h2 {
  animation-delay: .42s;
}

.live-vinyl-view.is-revealing .live-track-info p {
  animation-delay: .58s;
}

@keyframes liveTextReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 26px, 0) scale(.985);
        filter: blur(10px);
    }

    70% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes liveVinylStart {
    from {
        transform: var(--record-base-transform) rotate(0deg);
    }

    to {
        transform: var(--record-base-transform) rotate(-1080deg);
    }
}

@keyframes liveVinylSpin {
    from {
        transform: var(--record-base-transform) rotate(0deg);
    }

    to {
        transform: var(--record-base-transform) rotate(360deg);
    }
}

@media (max-width: 900px), (orientation: portrait) {
  .live-active.live-vinyl-view {
    position: fixed;
    inset: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 58dvh 42dvh;
    text-align: center;
  }

  .live-record-area {
    height: 58dvh;
  }

  .live-record {
    width: min(122vw, 82vh);
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    --record-base-transform: translate(-50%, -50%);
  }

  .live-vinyl-view .live-track-info {
    height: auto;
    width: 100%;
    margin-left: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 0 clamp(28px, 7vw, 64px) clamp(34px, 6vw, 60px);
    text-align: center;
  }

  .live-vinyl-view .live-track-info h1 {
    font-size: clamp(2.8rem, 12vw, 7rem);
  }
}

.live-vote-box {
  margin-top: clamp(24px, 3vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.22) !important;
  background: rgba(0,0,0,.32);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  overflow: hidden !important;
}

.live-vote-copy {
  display: grid;
  gap: 3px;
  text-align: right;
}

.live-vote-copy span {
  color: var(--muted);
  font-size: clamp(.72rem, .9vw, .9rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.live-vote-copy strong {
  color: var(--text);
  font-size: clamp(.96rem, 1.15vw, 1.25rem);
  line-height: 1;

  text-transform: uppercase;
}

.live-vote-qr {
  width: clamp(148px, 12vw, 220px);
  height: clamp(148px, 12vw, 220px);
  border-radius: 20px;
  background: #fff;
  padding: 10px;
}

.vote-body {
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 10%, rgba(255,61,242,.28), transparent 32rem),
    radial-gradient(circle at 80% 90%, rgba(249,137,72,.24), transparent 30rem),
    #050509;
}

.vote-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 54px);
}

.vote-card {
  width: min(100%, 560px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: clamp(28px, 7vw, 56px);
  text-align: center;
}

.vote-back-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px 0;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
}

.vote-back-link:hover,
.vote-back-link:focus-visible {
  background: rgba(255,255,255,.13);
  outline: none;
}

.vote-back-link span {
  font-size: 1rem;
}

.vote-cover-wrap {
  width: min(58vw, 240px);
  aspect-ratio: 1 / 1;
  margin: 4px auto 22px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  background: rgba(255,255,255,.06);
}

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

.vote-card h1 {
  margin: 14px 0 8px;
  font-size: clamp(2.6rem, 12vw, 5.3rem);
  line-height: .88;
  letter-spacing: -.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.vote-card h2 {
  margin: 0;
  color: var(--accent-2);
  font-size: clamp(1.4rem, 6vw, 2.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.vote-copy {
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 1.05rem;
}

.vote-message {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 900;
  background: rgba(255,255,255,.08);
}

.vote-message.success {
  color: #c9ffe5;
  background: rgba(93,255,179,.14);
}

.vote-message.error {
  color: #ffd5db;
  background: rgba(255,84,104,.14);
}

.vote-message.info {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.vote-form {
  margin-top: 26px;
}

.vote-submit {
  width: 100%;
  justify-content: center;
}

.vote-thanks {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 820px) {

  .live-vote-box {
    align-self: flex-start;
  }
}

@media (max-width: 980px) {
  .live-vote-box {
    margin-top: 18px;
  }

  .live-vote-copy {
    text-align: left;
  }
}

.live-vinyl-view .live-vote-box,
.live-vote-box {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  margin: 0;
  padding: 14px;
  gap: 14px;
  border-radius: var(--radius-md);
  pointer-events: auto;
}

@media (max-width: 900px), (orientation: portrait) {

  .live-vote-box {
    right: 14px;
    bottom: 14px;
    padding: 10px;
  }

  .live-vote-copy {
    display: none;
  }

  .live-vote-qr {
    width: clamp(118px, 34vw, 168px);
    height: clamp(118px, 34vw, 168px);
  }
}

.home-card-closed {
  max-width: min(900px, 92vw);
}

.closed-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--line);
  font-weight: 950;
  letter-spacing: .18em;
  color: var(--accent);
}

.home-card-closed p {
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  font-weight: 850;
}

.live-style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  max-width: min(720px, 46vw);
}

.live-style-chips.hidden {
  display: none;
}

.live-style-chips span {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.86);
  font-size: clamp(.68rem, 1vw, .9rem);
  font-weight: 800;
}

@media (max-width: 720px) {

  .live-style-chips {
    max-width: 80vw;
    gap: 6px;
  }

  .live-style-chips span {
    max-width: 140px;
  }
}

.home-live-now {
  display: block;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  text-align: left;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  min-height: 196px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.home-live-now.is-active {
  display: block;
}

.home-live-now h2 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 14px;
}

.home-live-now-content {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 128px;
}

.home-live-cover {
  width: 104px;
  height: 104px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  overflow: hidden;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.10);
}

.home-live-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-live-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.56);
  width: 100%;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
}

.home-live-text strong,
.home-live-text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-live-text strong {
  color: #fff;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.08;
}

.home-live-text span {
  color: rgba(255,255,255,.68);
  font-size: 0.96rem;
  margin-top: 8px;
  line-height: 1.35;
  white-space: normal;
}

@media (max-width: 1024px) {
  html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

button,
input[type="button"],
input[type="submit"],
.nav-button,
.primary-button,
.secondary-button {
  border-radius: var(--radius-md) !important;
}

.status-pill,
.live-vote-qr,
.live-vote-box,
.tag,
.pill,
.round-pill {
  border-radius: 999px !important;
}

.vote-pill,
.status-pill,
.live-vote-qr,
.live-vote-box,
.tag,
.pill,
.round-pill {
  border-radius: 999px !important;
}

.live-vote-box,
.live-vote-qr {
  border-radius: var(--radius-md) !important;
}

.nav-button,
.primary-button,
.secondary-button {
  border-radius: var(--radius-md) !important;
}

.vote-pill,
.status-pill,
.pill,
.round-pill {
  border-radius: 999px !important;
}

.home-gate-message {
  margin: -6px auto 0 !important;
  max-width: 520px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  line-height: 1.35;
  margin-top: 18px !important;
  font-size: 0.98rem;
}

#startFlowBtn:disabled,
#startRequestBtn:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.live-charts-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  padding: clamp(34px, 3.8vw, 72px) clamp(58px, 6vw, 116px) !important;
  z-index: 6;
  display: grid;
  place-items: center;
  align-items: stretch !important;
  justify-items: stretch !important;
}

.live-charts-view.hidden {
  display: none !important;
}

.live-charts-shell {
  width: 100% !important;
  height: 100% !important;
  display: grid;
  grid-template-rows: 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  position: relative;
  max-width: none !important;
  max-height: none !important;
}

.live-charts-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 100%),
    linear-gradient(rgba(255,255,255,.045) 0 1px, transparent 1px 100%);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 48%, transparent 76%);
  opacity: .38;
  display: none !important;
}

.live-charts-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end !important;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(6px, .5vw, 12px) !important;
}

.live-charts-header span {
  display: block;
  color: #7cff9d !important;
  font-size: clamp(.9rem, 1vw, 1.25rem);
  font-weight: 950;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.live-charts-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(5.2rem, 8.8vw, 10.8rem) !important;
  line-height: .78 !important;
  letter-spacing: -.085em;
  text-transform: uppercase;
  text-shadow: 0 18px 70px rgba(0,0,0,.7);
}

.live-charts-header strong {
  flex: 0 0 auto;
  max-width: 40vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 14px 18px;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.78);
  font-size: clamp(.9rem, 1.15vw, 1.35rem);
  font-weight: 950;
  border-color: rgba(255,255,255,.18) !important;
}

.live-charts-table {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.15vw, 20px) !important;
  min-height: 0 !important;
  height: 100% !important;
  align-content: stretch !important;
}

.live-chart-row {
  min-height: 0 !important;
  display: grid;
  grid-template-columns: clamp(74px, 6vw, 118px) clamp(86px, 6.4vw, 124px) minmax(0, 1fr) clamp(82px, 6.2vw, 132px) clamp(124px, 9.4vw, 184px) !important;
  align-items: center;
  gap: clamp(16px, 1.55vw, 30px) !important;
  padding: clamp(9px, .95vw, 18px) clamp(16px, 1.75vw, 30px) !important;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-md) !important;
  background: linear-gradient(90deg, rgba(255,255,255,.13), rgba(255,255,255,.045)) !important;
  box-shadow: 0 12px 38px rgba(0,0,0,.22);
  overflow: hidden;
  position: relative;
}

.live-chart-rank-1,
.live-chart-rank-2,
.live-chart-rank-3 {
  background: linear-gradient(90deg, rgba(124,255,157,.18), rgba(255,255,255,.055));
  border-color: rgba(124,255,157,.22);
}

.live-chart-rank {
  color: rgba(255,255,255,.94);
  font-size: clamp(3.7rem, 5vw, 7rem) !important;
  font-weight: 1000;
  letter-spacing: -.08em;
  text-align: center;
  opacity: .96;
}

.live-chart-cover {
  width: clamp(86px, 6.4vw, 124px) !important;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.26);
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
}

.live-chart-cover img,
.live-chart-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: rgba(255,255,255,.54);
  font-weight: 1000;
  letter-spacing: -.08em;
  background: radial-gradient(circle at 30% 25%, rgba(255,0,160,.42), transparent 58%), #10101a;
}

.live-chart-track {
  min-width: 0;
  display: grid;
  gap: clamp(4px, .4vw, 8px) !important;
  align-content: center;
}

.live-chart-track strong,
.live-chart-track span,
.live-chart-track em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chart-track strong {
  color: #fff;
  font-size: clamp(2rem, 3vw, 4.35rem) !important;
  line-height: .98 !important;
  letter-spacing: -.04em;
  font-weight: 1000;
}

.live-chart-track span {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.42vw, 1.88rem) !important;
  font-weight: 850;
}

.live-chart-track em {
  color: #7cff9d;
  font-size: clamp(.82rem, 1vw, 1.18rem) !important;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .82;
}

.live-chart-votes {
  justify-self: end;
  min-width: clamp(124px, 9.4vw, 184px) !important;
  display: grid;
  place-items: center;
  padding: clamp(10px, .9vw, 16px) clamp(12px, 1vw, 18px) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
}

.live-chart-votes strong {
  color: #7cff9d;
  font-size: clamp(2.65rem, 4vw, 5.4rem) !important;
  line-height: .9;
  font-weight: 1000;
}

.live-chart-votes span {
  margin-top: 5px;
  color: rgba(255,255,255,.60);
  font-size: clamp(.62rem, .78vw, .85rem);
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.live-chart-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.70);
  font-size: clamp(2.6rem, 5vw, 6.8rem) !important;
  font-weight: 1000;
  letter-spacing: -.06em;
  min-height: 100% !important;
}

.live-charts-now {
  justify-self: end;
  max-width: min(760px, 58vw);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124,255,157,.24);
  background: linear-gradient(90deg, rgba(124,255,157,.16), rgba(255,255,255,.06));
  box-shadow: 0 18px 58px rgba(0,0,0,.26);
  color: #fff;
}

.live-charts-now.hidden {
  display: none !important;
}

.live-charts-now span {
  color: #7cff9d;
  font-size: clamp(.66rem, .78vw, .9rem);
  font-weight: 1000;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-charts-now strong,
.live-charts-now em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-charts-now strong {
  font-size: clamp(1rem, 1.45vw, 1.85rem);
  line-height: 1;
  font-style: normal;
  font-weight: 1000;
}

.live-charts-now em {
  color: rgba(255,255,255,.72);
  font-size: clamp(.78rem, 1vw, 1.2rem);
  font-style: normal;
  font-weight: 850;
}

@media (max-width: 900px) {
  .live-charts-view {
    padding: 34px 22px !important;
  }

  .live-charts-header {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .live-charts-header strong {
    max-width: 100% !important;
  }

  .live-charts-now {
    justify-self: stretch;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .live-chart-row {
    grid-template-columns: 42px 56px minmax(0, 1fr) 64px !important;
    gap: 10px !important;
    padding: 9px 10px !important;
  }

  .live-chart-cover {
    width: 56px !important;
  }

  .live-chart-rank {
    font-size: 2.25rem !important;
  }

  .live-chart-track strong {
    font-size: 1.3rem !important;
  }

  .live-chart-track span {
    font-size: .9rem !important;
  }

  .live-chart-votes {
    min-width: 58px !important;
    padding: 8px 6px !important;
  }

  .live-chart-votes strong {
    font-size: 1.7rem !important;
  }
}

.live-charts-header,
.live-charts-now {
  display: none !important;
}

.live-chart-row.is-now-playing {
  border-color: rgba(124,255,157,.48) !important;
  background: linear-gradient(90deg, rgba(124,255,157,.20), rgba(255,255,255,.055) 58%, rgba(124,255,157,.10)) !important;
  box-shadow: 0 0 0 1px rgba(124,255,157,.16), 0 24px 76px rgba(0,0,0,.32), 0 0 42px rgba(124,255,157,.10) !important;
  transform-origin: center center;
  animation: liveChartNowPulse 1.15s ease-in-out infinite;
  will-change: transform;
}

.live-chart-row.is-now-playing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(5px, .45vw, 9px);
  background: #7cff9d;
  box-shadow: 0 0 24px rgba(124,255,157,.72);
}

.live-chart-playing-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, .45vw, 9px);
  min-width: 0;
  height: 100%;
  opacity: 0;
  transform: scaleX(.86);
  transition: opacity .2s ease, transform .2s ease;
}

.live-chart-row.is-now-playing .live-chart-playing-wave {
  opacity: 1;
  transform: scaleX(1);
}

.live-chart-playing-wave i {
  display: block;
  width: clamp(5px, .5vw, 9px);
  height: clamp(18px, 1.8vw, 34px);
  border-radius: 999px;
  background: linear-gradient(180deg, #7cff9d, #caff3d);
  box-shadow: 0 0 18px rgba(124,255,157,.42);
  animation: liveChartWave 1.05s ease-in-out infinite;
  transform-origin: center;
}

.live-chart-playing-wave i:nth-child(2) {
  animation-delay: .10s;
}

.live-chart-playing-wave i:nth-child(3) {
  animation-delay: .20s;
}

.live-chart-playing-wave i:nth-child(4) {
  animation-delay: .30s;
}

.live-chart-playing-wave i:nth-child(5) {
  animation-delay: .40s;
}

@keyframes liveChartWave {
  0%, 100% { transform: scaleY(.38); opacity: .55; }
  45% { transform: scaleY(1.55); opacity: 1; }
}

@keyframes liveChartNowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

@media (prefers-reduced-motion: reduce) {
  .live-chart-row.is-now-playing {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .live-charts-view {
    padding: 24px 14px !important;
  }

  .live-chart-row {
    grid-template-columns: 36px 52px minmax(0, 1fr) 44px 58px !important;
    gap: 8px !important;
    padding: 8px 9px !important;
  }

  .live-chart-playing-wave {
    gap: 3px;
  }

  .live-chart-playing-wave i {
    width: 4px;
    height: 18px;
  }
}

.home-choice-actions {
  display: grid;
  gap: 14px;
  margin-top: 0;
  width: 100%;
  max-width: 540px;
}

.secondary-home-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-md);
}

.request-screen.active {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top, 0px) + 72px) clamp(14px, 4vw, 24px) calc(env(safe-area-inset-bottom, 0px) + 24px);
}

.visitor-body.form-mode:not(.success-mode) .request-screen.active {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.request-form-card {
  position: relative;
  width: min(92vw, 620px);
  margin: 0 auto;
}

.request-nav-bar {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + clamp(10px, 2vw, 18px));
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - clamp(24px, 4.8vw, 48px)), 620px);
  pointer-events: none;
}

.request-nav-bar > button {
  pointer-events: auto;
}

.request-back-btn {
  position: static;
  z-index: 2;
}

.request-home-btn {
  min-width: 112px;
}

.request-card {
  gap: 14px;
}

.request-submit-btn {
  width: 100%;
  margin-top: 6px;
}

.live-screen.is-request .live-record {
  animation: none;
}

.live-request-placeholder {
  font-size: clamp(1.3rem, 3vw, 2.3rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  isolation: isolate;
  color: #fff !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.34);
  background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.72), transparent 0 10%, transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(255,92,208,.88), transparent 0 26%, transparent 48%),
    radial-gradient(circle at 82% 18%, rgba(255,209,74,.92), transparent 0 24%, transparent 48%),
    radial-gradient(circle at 78% 82%, rgba(99,255,179,.86), transparent 0 26%, transparent 50%),
    linear-gradient(135deg, #6d5dfc 0%, #18c8ff 36%, #ff4fc3 68%, #ffd257 100%) !important;
}

.live-screen.is-request .live-cover-frame {
  border-color: rgba(255,255,255,.28) !important;
  box-shadow: 0 34px 90px rgba(0,0,0,.46),
    0 0 90px rgba(86,190,255,.26) !important;
}

.live-request-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.16) 0 2px, transparent 2px 13px),
    radial-gradient(circle at center, transparent 0 38%, rgba(0,0,0,.18) 72%);
  mix-blend-mode: soft-light;
}

.live-request-placeholder::after {
  content: "🎧";
  display: block;
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  font-size: clamp(3.8rem, 9vw, 8rem);
  opacity: .18;
  z-index: -1;
}

.home-live-cover,
.home-live-cover img,
.home-live-placeholder {
  border-radius: var(--radius-md) !important;
}

.logo {margin-top: 40px; margin-bottom: 40px;}

@media (max-width: 760px) {
  .home-logo {
    width: min(100%, 360px);
    margin-bottom: 0px;
  }
}

.home-cta,
.home-choice-actions .primary-button,
.home-choice-actions .secondary-button {
  width: 100%;
  min-height: 68px;
  padding: 18px 28px;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  letter-spacing: -0.02em;
}

.home-live-now.is-idle {
  opacity: 0.96;
}

.home-live-cover img,
.home-live-placeholder {
  border-radius: var(--radius-md) !important;
}

.home-live-text {
  align-self: center;
}

@media (max-width: 900px) {
  .home-card {
    width: min(100%, 700px);
    min-height: 0;
    padding: clamp(30px, 5.8vw, 48px) clamp(20px, 4.4vw, 34px);
  }
}

@media (max-width: 760px) {
  .home-screen {
    padding: 14px;
  }

  .home-card {
    width: 100%;
    min-height: 0;
    gap: 16px;
    padding: 28px 18px;
    justify-content: center;
  }

  .home-choice-actions,
.home-live-now {
    max-width: none;
  }

  .home-live-now {
    min-height: 174px;
    padding: 16px;
  }

  .home-live-now-content {
    min-height: 112px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .home-live-cover {
    width: 88px;
    height: 88px;
  }

  .home-live-text strong {
    font-size: 1.1rem;
  }

  .home-live-text span {
    font-size: 0.9rem;
  }
}

.home-logo {
  width: min(100%, 360px);
  margin: 0;
}

@media (min-width: 761px) {
  .home-screen.active {
    min-height: 0;
    height: 100dvh;
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .home-card {
    padding: clamp(38px, 5.4vw, 58px) clamp(24px, 4.4vw, 42px);
  }

  .home-logo {
    width: min(100%, 360px);
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .home-card {
    padding: 32px 20px;
  }

  .home-logo {
    width: min(100%, 360px);
    margin-bottom: 0;
  }
}

@keyframes crowd-hits-generation-pulse {
  to { transform: translateX(110%); }
}

.visitor-body {
  background:
    radial-gradient(circle at 16% 15%, rgba(255, 17, 120, .24), transparent 34rem),
    radial-gradient(circle at 88% 76%, rgba(193, 60, 255, .18), transparent 32rem),
    radial-gradient(circle at 48% 110%, rgba(255, 17, 120, .16), transparent 36rem),
    linear-gradient(145deg, #030308 0%, #090b15 42%, #120719 100%) !important;
}

.ambient-a { background: #ff1178; opacity: .28; }

.ambient-b { background: #8f38ff; opacity: .22; }

.home-card,
.card,
.request-card {
  border: 1px solid rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(5, 7, 16, .76) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(22px);
}

.home-logo { filter: drop-shadow(0 0 18px rgba(255,17,120,.25)); }

.logo > div { color: rgba(255,255,255,.82); letter-spacing: .04em; }

.primary-button,
.nav-button:not(.ghost) {
  background: linear-gradient(135deg, #ff1178, #c725ff) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 16px 40px rgba(255, 17, 120, .32) !important;
}

.secondary-button,
.nav-button.ghost,
.nav-btn.reset-btn {
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.88) !important;
}

.dot {
  width: 12px !important;
  height: 12px !important;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08) !important;
}

.dot.active {
  background: var(--accent) !important;
  border-color: rgba(255, 17, 120, .9) !important;
  box-shadow: 0 0 0 7px rgba(255,17,120,.13), 0 0 22px rgba(255,17,120,.72) !important;
}

.visitor-body.form-mode:not(.success-mode) .slide-form {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  height: 100dvh !important;
  max-width: min(1020px, 100vw) !important;
  margin: 0 auto !important;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) clamp(14px, 3vw, 28px) calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
}

.nav-bar.nav-bar-top {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 20 !important;
  display: grid !important;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr) !important;
  align-items: center !important;
  gap: clamp(10px, 2vw, 18px) !important;
  width: 100% !important;
  padding: 0 0 clamp(10px, 2vh, 18px) !important;
  background: transparent !important;
  border: 0 !important;
}

.flow-actions-left { justify-self: start; }

#nextBtn { justify-self: end; min-width: 138px; }

.visitor-body.form-mode:not(.success-mode) .slides {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: grid !important;
}

.slide {
  min-height: 0 !important;
  height: 100% !important;
  align-items: stretch !important;
  justify-content: center !important;
  padding: 0 !important;
}

.slide.active { display: grid !important; }

.songmaker-step {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.songmaker-card {
  width: 100% !important;
  max-width: 920px !important;
  min-height: 0 !important;
  max-height: 100% !important;
  border-radius: var(--radius-md) !important;
  padding: clamp(22px, 4vw, 42px) !important;
  overflow: auto !important;
}

.identity-card {
  align-self: start !important;
  overflow: visible !important;
}

.step-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #ff4aa0;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.songmaker-card h2 {
  margin: 0 0 10px !important;
  font-size: clamp(2rem, 5.3vw, 4rem) !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
  text-transform: none !important;
}

.songmaker-card .intro-copy {
  max-width: 660px;
  margin-bottom: clamp(18px, 3vh, 30px) !important;
  font-size: clamp(1rem, 2.1vw, 1.2rem) !important;
  color: rgba(255,255,255,.72) !important;
}

.identity-fields {
  display: grid;
  gap: clamp(16px, 2.5vh, 22px);
}

.identity-fields .field-label,
.songmaker-card .field-label {
  display: block;
  margin: 0 0 8px;
  color: rgba(255,255,255,.78) !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}

.text-input,
.giant-input,
.textarea-input {
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(0,0,0,.28) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.text-input:focus,
.giant-input:focus,
.textarea-input:focus {
  border-color: rgba(255,17,120,.86) !important;
  box-shadow: 0 0 0 4px rgba(255,17,120,.14), 0 0 30px rgba(255,17,120,.18) !important;
}

.identity-fields .giant-input {
  min-height: clamp(58px, 9vh, 76px) !important;
  font-size: clamp(1.15rem, 3vw, 1.55rem) !important;
  padding: 0 clamp(16px, 3vw, 24px) !important;
}

.preset-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  margin-bottom: clamp(18px, 3vh, 28px);
}

.style-preset-card {
  min-height: clamp(118px, 17vh, 154px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: clamp(14px, 2.5vw, 20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,17,120,.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  color: #fff;
  text-align: left;
  box-shadow: 0 18px 46px rgba(0,0,0,.32);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.style-preset-card .preset-icon {
  --preset-icon-accent: #ff3aa7;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  font-size: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.style-preset-card .preset-title {
  font-size: clamp(.95rem, 2.1vw, 1.12rem);
  font-weight: 900;
  letter-spacing: -.02em;
}

.style-preset-card .preset-subline {
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  line-height: 1.25;
}

.style-preset-card.active {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(255,17,120,.86);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,17,120,.48), transparent 58%),
    linear-gradient(135deg, rgba(255,17,120,.32), rgba(193,60,255,.18));
  box-shadow: 0 24px 70px rgba(255,17,120,.26), inset 0 0 0 1px rgba(255,255,255,.08);
}

.advanced-toggle,
.lyrics-toggle {
  width: 100%;
  min-height: 52px;
  margin: 0 0 16px;
}

.advanced-style-panel,
.custom-lyrics-panel {
  padding: clamp(14px, 2vw, 20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}

.song-idea-input {
  min-height: clamp(150px, 26vh, 230px) !important;
  resize: vertical;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem) !important;
  line-height: 1.45 !important;
  padding: clamp(16px, 2.5vw, 22px) !important;
}

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 20px;
}

.example-chip {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-size: .86rem;
  font-weight: 700;
}

.example-chip:active { transform: scale(.98); }

.rights-consent-card {
  margin-top: clamp(14px, 2vh, 20px) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
}

.loading-overlay {
  background:
    radial-gradient(circle at 50% 46%, rgba(255,17,120,.26), transparent 28rem),
    rgba(2, 3, 8, .84) !important;
  backdrop-filter: blur(18px);
}

.loading-card {
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(8,9,18,.86) !important;
  box-shadow: 0 35px 110px rgba(0,0,0,.58), 0 0 80px rgba(255,17,120,.16) !important;
}

.loading-spinner {
  width: 86px !important;
  height: 86px !important;
  border: 2px solid rgba(255,255,255,.12) !important;
  border-top-color: #ff1178 !important;
  border-right-color: #c13cff !important;
  box-shadow: 0 0 42px rgba(255,17,120,.22);
}

.crowd-success-screen {
  width: 100%;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.success-pulse {
  width: clamp(92px, 18vw, 136px);
  height: clamp(92px, 18vw, 136px);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,17,120,.32), rgba(193,60,255,.18));
  border: 2px solid rgba(255,17,120,.82);
  box-shadow: 0 0 0 0 rgba(255,17,120,.45), 0 0 70px rgba(255,17,120,.28);
  animation: crowdSuccessPulse 1.8s ease-in-out infinite;
}

.success-pulse span {
  color: #fff;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  font-weight: 900;
}

@keyframes crowdSuccessPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,17,120,.34), 0 0 70px rgba(255,17,120,.28); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(255,17,120,0), 0 0 90px rgba(255,17,120,.36); }
}

.crowd-success-screen h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 6vw, 4.3rem) !important;
  line-height: 1 !important;
  letter-spacing: -.06em !important;
}

.crowd-success-screen p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.42;
}

.loading-magic-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  color: #fff;
  font-size: 2.6rem;
  background: linear-gradient(145deg, rgba(255,17,120,.22), rgba(193,60,255,.16));
  box-shadow: 0 0 44px rgba(255,17,120,.22);
  animation: crowdMagicMark 1.35s ease-in-out infinite;
}

.loading-magic-progress {
  height: 7px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.loading-magic-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff1178, #c13cff);
  box-shadow: 0 0 20px rgba(255,17,120,.42);
  transition: width .42s ease;
}

.success-email-form {
  width: min(100%, 520px);
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  text-align: left;
}

.success-email-form label { font-weight: 700; }
.success-email-form label span { color: var(--muted); font-weight: 500; }
.success-email-form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.success-email-form input,
.success-email-form button { min-height: 46px; border-radius: 12px; }
.success-email-form input { min-width: 0; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28); color: #fff; }
.success-email-form button { padding: 0 16px; border: 0; background: #fff; color: #090910; font-weight: 800; }
.success-email-form small { color: var(--muted); line-height: 1.35; }
.success-email-form em { min-height: 1.2em; color: #ff77b5; font-style: normal; font-size: .86rem; }

@keyframes crowdMagicMark {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.06) rotate(2deg); }
}

@media (max-width: 520px) {
  .success-email-form > div { grid-template-columns: 1fr; }
}

@media (orientation: portrait) and (max-width: 900px) {
  .visitor-body.form-mode:not(.success-mode) .slide-form {
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
  }

  .nav-bar.nav-bar-top {
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
  }

  .flow-actions-left .reset-btn span:not(.reset-icon) { display: none; }

  #nextBtn { min-width: 112px; }

  .songmaker-card {
    border-radius: var(--radius-md) !important;
    padding: clamp(18px, 4.8vw, 30px) !important;
  }

  .identity-card {
    margin-top: min(4vh, 26px);
  }

  .songmaker-card h2 {
    font-size: clamp(1.85rem, 7vw, 3.3rem) !important;
  }

  .identity-fields {
    gap: 14px;
  }

  .identity-fields .giant-input {
    min-height: 58px !important;
    font-size: 1.08rem !important;
  }

  .preset-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .style-preset-card {
    min-height: 112px;
    border-radius: var(--radius-md);
    padding: 13px;
  }

  .style-preset-card .preset-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
  }

  .style-preset-card .preset-title { font-size: .94rem; }
  .style-preset-card .preset-subline { font-size: .72rem; }
  .song-idea-input { min-height: 145px !important; }
}

@media (max-height: 740px) {
  .songmaker-card {
    padding: 18px !important;
  }

  .songmaker-card h2 {
    font-size: clamp(1.65rem, 5.6vh, 2.8rem) !important;
  }

  .songmaker-card .intro-copy {
    margin-bottom: 14px !important;
    font-size: .94rem !important;
  }

  .step-kicker { margin-bottom: 6px; }

  .identity-fields .giant-input {
    min-height: 52px !important;
  }

  .preset-card-grid {
    gap: 8px;
  }

  .style-preset-card {
    min-height: 98px;
    padding: 11px;
    gap: 5px;
  }

  .style-preset-card .preset-icon {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .song-idea-input { min-height: 120px !important; }
}

.visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
  transform: none !important;
  -webkit-transform: none !important;
  margin-left: 0 !important;
  box-sizing: border-box !important;
}

.songmaker-success .songmaker-header {
    display: none;
}

.visitor-body.form-mode:not(.success-mode) {
  height: auto !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.visitor-body.form-mode:not(.success-mode) .form-screen {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow: visible !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) .slide-form {
  display: block !important;
  height: auto !important;
  min-height: 100dvh !important;
  max-width: min(1020px, 100vw) !important;
  margin: 0 auto !important;
  padding: calc(env(safe-area-inset-top, 0px) + 104px) clamp(14px, 3vw, 28px) calc(env(safe-area-inset-bottom, 0px) + 34px) !important;
}

.visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 14px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(1020px, calc(100vw - 28px)) !important;
  z-index: 1000 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.visitor-body.form-mode:not(.success-mode) .slides {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.visitor-body.form-mode:not(.success-mode) .slide {
  display: none !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: initial !important;
  justify-content: initial !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) .slide.active {
  display: block !important;
}

.visitor-body.form-mode:not(.success-mode) .songmaker-step {
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
}

.visitor-body.form-mode:not(.success-mode) .songmaker-card,
.visitor-body.form-mode:not(.success-mode) .card-scrollable {
  max-height: none !important;
  overflow: visible !important;
}

.visitor-body.form-mode:not(.success-mode) .card-styles,
.visitor-body.form-mode:not(.success-mode) .preset-card-screen,
.visitor-body.form-mode:not(.success-mode) .idea-card-screen,
.visitor-body.form-mode:not(.success-mode) .identity-card {
  align-self: auto !important;
  margin-top: 0 !important;
}

.songmaker-idea-step .example-chips {
  margin-bottom: clamp(16px, 2.6vh, 24px);
}

@media (orientation: portrait) and (max-width: 900px) {
  .visitor-body.form-mode:not(.success-mode) .slide-form {
    padding-top: calc(env(safe-area-inset-top, 0px) + 92px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
    top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
    width: calc(100vw - 24px) !important;
  }
}

@media (max-height: 740px) {
  .visitor-body.form-mode:not(.success-mode) .slide-form {
    padding-top: calc(env(safe-area-inset-top, 0px) + 82px) !important;
  }
}

html,
body.visitor-body {
  min-height: 100%;
  overflow-x: hidden !important;
}

body.visitor-body.form-mode:not(.success-mode) {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: contain;
}

.visitor-body.form-mode:not(.success-mode) .visitor-shell {
  min-height: 100dvh !important;
  overflow: visible !important;
}

.visitor-body.form-mode:not(.success-mode) #formScreen.form-screen {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow: visible !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
  display: block !important;
  width: min(100%, 1020px) !important;
  max-width: 1020px !important;
  height: auto !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: calc(env(safe-area-inset-top, 0px) + 132px) clamp(20px, 3vw, 34px) calc(env(safe-area-inset-bottom, 0px) + 44px) !important;
}

.visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 18px) !important;
  left: 50% !important;
  right: auto !important;
  width: min(1020px, calc(100vw - 32px)) !important;
  min-height: 64px !important;
  transform: translateX(-50%) !important;
  -webkit-transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 8px clamp(12px, 2vw, 18px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  z-index: 1000 !important;
  border-radius: var(--radius-md) !important;
  background: rgba(10, 10, 18, .58) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0,0,0,.24) !important;
}

.visitor-body.form-mode:not(.success-mode) .flow-actions-left {
  justify-self: start !important;
}

.visitor-body.form-mode:not(.success-mode) .step-indicator {
  justify-self: center !important;
}

.visitor-body.form-mode:not(.success-mode) #nextBtn {
  justify-self: end !important;
  min-width: 132px !important;
}

.visitor-body.form-mode:not(.success-mode) .slides,
.visitor-body.form-mode:not(.success-mode) #slides {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) .slide {
  display: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  align-items: initial !important;
  justify-content: initial !important;
}

.visitor-body.form-mode:not(.success-mode) .slide.active {
  display: block !important;
}

.visitor-body.form-mode:not(.success-mode) .songmaker-step {
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) .songmaker-card,
.visitor-body.form-mode:not(.success-mode) .card-scrollable,
.visitor-body.form-mode:not(.success-mode) .card-styles,
.visitor-body.form-mode:not(.success-mode) .preset-card-screen,
.visitor-body.form-mode:not(.success-mode) .idea-card-screen,
.visitor-body.form-mode:not(.success-mode) .identity-card {
  align-self: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.visitor-body.success-mode .nav-bar.nav-bar-top {
  display: none !important;
}

.visitor-body.success-mode #formScreen.form-screen {
  position: relative !important;
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(18px, 3vw, 34px) !important;
  overflow: visible !important;
}

.visitor-body.success-mode #songForm.slide-form {
  width: min(100%, 920px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.visitor-body.success-mode .slide.active {
  min-height: auto !important;
}

@media (orientation: portrait) and (max-width: 900px) {
  .visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
    padding-top: calc(env(safe-area-inset-top, 0px) + 118px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
    top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
    width: calc(100vw - 24px) !important;
    min-height: 58px !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    border-radius: var(--radius-md) !important;
  }

  .visitor-body.form-mode:not(.success-mode) #nextBtn {
    min-width: 104px !important;
  }
}

@media (max-height: 740px) {
  .visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
    padding-top: calc(env(safe-area-inset-top, 0px) + 104px) !important;
  }
}

body.visitor-body.form-mode:not(.success-mode) {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
}

.visitor-body.form-mode:not(.success-mode) .visitor-shell,
.visitor-body.form-mode:not(.success-mode) #formScreen.form-screen,
.visitor-body.form-mode:not(.success-mode) #songForm.slide-form,
.visitor-body.form-mode:not(.success-mode) .slides,
.visitor-body.form-mode:not(.success-mode) #slides,
.visitor-body.form-mode:not(.success-mode) .slide,
.visitor-body.form-mode:not(.success-mode) .slide.active {
  overflow: visible !important;
  max-height: none !important;
  pointer-events: auto !important;
}

.visitor-body.form-mode:not(.success-mode) .visitor-shell {
  position: relative !important;
  min-height: 100dvh !important;
}

.visitor-body.form-mode:not(.success-mode) #formScreen.form-screen {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
  position: relative !important;
  display: block !important;
  width: min(100%, 1020px) !important;
  max-width: 1020px !important;
  height: auto !important;
  min-height: calc(100dvh + 1px) !important;
  margin: 0 auto !important;
  padding-top: calc(env(safe-area-inset-top, 0px) + 132px) !important;
  padding-right: clamp(20px, 3vw, 34px) !important;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 56px) !important;
  padding-left: clamp(20px, 3vw, 34px) !important;
}

.visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 18px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translate3d(-50%, 0, 0) !important;
  -webkit-transform: translate3d(-50%, 0, 0) !important;
  width: min(1020px, calc(100vw - 32px)) !important;
  min-height: 64px !important;
  z-index: 1000 !important;
  padding: 8px clamp(12px, 2vw, 18px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

.visitor-body.form-mode:not(.success-mode) .slides,
.visitor-body.form-mode:not(.success-mode) #slides {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) .slide {
  display: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.visitor-body.form-mode:not(.success-mode) .slide.active {
  display: block !important;
}

.visitor-body.form-mode:not(.success-mode) .songmaker-step {
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
}

.visitor-body.form-mode:not(.success-mode) .songmaker-card,
.visitor-body.form-mode:not(.success-mode) .card-scrollable,
.visitor-body.form-mode:not(.success-mode) .card-styles,
.visitor-body.form-mode:not(.success-mode) .preset-card-screen,
.visitor-body.form-mode:not(.success-mode) .idea-card-screen,
.visitor-body.form-mode:not(.success-mode) .identity-card {
  max-height: none !important;
  overflow: visible !important;
  align-self: auto !important;
  margin-top: 0 !important;
}

.visitor-body.success-mode .nav-bar,
.visitor-body.success-mode .nav-bar.nav-bar-top,
.visitor-body.success-mode .songmaker-header {
  display: none !important;
}

.visitor-body.success-mode #formScreen.form-screen {
  position: relative !important;
  inset: auto !important;
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
  padding: clamp(18px, 3vw, 34px) !important;
}

.visitor-body.success-mode #songForm.slide-form {
  width: min(100%, 920px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 0 !important;
}

@media (orientation: portrait) and (max-width: 900px) {
  .visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
    padding-top: calc(env(safe-area-inset-top, 0px) + 118px) !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .visitor-body.form-mode:not(.success-mode) .nav-bar.nav-bar-top {
    top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
    width: calc(100vw - 24px) !important;
    min-height: 58px !important;
  }
}

@media (max-height: 740px) {
  .visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
    padding-top: calc(env(safe-area-inset-top, 0px) + 104px) !important;
  }
}

.rights-confirm-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: grid !important;
  place-items: center !important;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
  isolation: isolate !important;
}

.rights-confirm-modal.hidden {
  display: none !important;
}

.rights-confirm-backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 17, 120, .22), transparent 28rem),
    rgba(2, 3, 8, .76) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;
  backdrop-filter: blur(16px) saturate(1.15) !important;
}

.rights-confirm-card {
  position: relative !important;
  z-index: 1 !important;
  width: min(92vw, 620px) !important;
  max-height: calc(100svh - 36px) !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: clamp(24px, 4vw, 38px) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)),
    rgba(8, 9, 18, .94) !important;
  box-shadow: 0 34px 110px rgba(0,0,0,.62), 0 0 90px rgba(255,17,120,.18) !important;
  color: var(--text) !important;
  text-align: left !important;
}

.rights-confirm-icon {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 0 18px !important;
  border-radius: var(--radius-md) !important;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.28), transparent 34%), linear-gradient(135deg, #ff1178, #c13cff) !important;
  color: #fff !important;
  font-size: 2rem !important;
  font-weight: 950 !important;
  box-shadow: 0 18px 48px rgba(255,17,120,.26) !important;
}

.rights-confirm-card h3 {
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(1.8rem, 5vw, 3.2rem) !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
  font-weight: 950 !important;
}

.rights-confirm-main {
  margin: 0 0 18px !important;
  padding: 15px 16px !important;
  border: 1px solid rgba(255,17,120,.26) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(255,17,120,.10) !important;
  color: rgba(255,255,255,.94) !important;
  font-size: clamp(1rem, 2.2vw, 1.18rem) !important;
  line-height: 1.38 !important;
  font-weight: 850 !important;
}

.rights-confirm-copy {
  display: grid !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: .94rem !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

.rights-confirm-copy p {
  margin: 0 !important;
}

.rights-confirm-check {
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 18px 0 18px !important;
  padding: 13px 15px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.065) !important;
  color: #fff !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.rights-confirm-check input {
  width: 22px !important;
  height: 22px !important;
  accent-color: #ff1178 !important;
  flex: 0 0 auto !important;
}

.rights-confirm-actions {
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

.rights-confirm-actions button {
  min-height: 56px !important;
  justify-content: center !important;
}

.rights-confirm-submit:disabled {
  opacity: .42 !important;
}

@media (max-width: 560px) {
  .rights-confirm-card {
    width: 100% !important;
    padding: 22px !important;
    border-radius: var(--radius-md) !important;
  }

  .rights-confirm-actions {
    grid-template-columns: 1fr !important;
  }

  .rights-confirm-actions .rights-confirm-cancel {
    order: 2 !important;
  }

  .rights-confirm-actions .rights-confirm-submit {
    order: 1 !important;
  }
}

.idea-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.idea-option-row .secondary-button {
  flex: 1 1 210px;
  justify-content: center;
}

.battle-song-panel {
  border: 1px solid rgba(255, 61, 242, .18);
  border-radius: var(--radius-md);
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 61, 242, .08), rgba(255,255,255,.035));
}

.battle-target-select {
  min-height: 58px;
  font-weight: 850;
}

.battle-empty-note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .idea-option-row {
    display: grid;
  }
  .idea-option-row .secondary-button {
    width: 100%;
  }
}

.visitor-body {
  --radius-md: 10px;
  --radius-lg: 10px;
  --radius-xl: 10px;
}

.visitor-body .card,
.visitor-body .home-card,
.visitor-body .request-card,
.visitor-body .songmaker-card,
.visitor-body .optional-panel,
.visitor-body .text-input,
.visitor-body .primary-button,
.visitor-body .secondary-button,
.visitor-body .nav-button,
.visitor-body .choice-chip,
.visitor-body .style-preset-card,
.visitor-body .rights-confirm-card,
.visitor-body .loading-card,
.visitor-body .idle-prompt-card,
.visitor-body .submit-message,
.visitor-body .flow-message,
.visitor-body .home-live-now,
.visitor-body .home-live-cover,
.visitor-body .home-live-placeholder,
.visitor-body .home-live-standby,
.visitor-body .nav-bar {
  border-radius: var(--radius-md) !important;
}

#startFlowBtn.home-cta {
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 1rem;
  letter-spacing: .01em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 18px 46px rgba(255, 38, 111, .34), 0 0 28px rgba(126, 35, 255, .28);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

#startFlowBtn.home-cta:not(:disabled):active,
#startFlowBtn.home-cta:not(:disabled):focus-visible,
#startFlowBtn.home-cta:not(:disabled):hover {
  transform: translateY(-1px) scale(1.025);
  filter: saturate(1.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 22px 58px rgba(255, 38, 111, .44), 0 0 42px rgba(126, 35, 255, .42);
}

.home-cta-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.16);
  font-size: 1.35rem;
}

.home-cta-lines {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.home-cta-lines strong {
  font-size: 1.08rem;
  font-weight: 900;
}

.home-cta-lines small {
  margin-top: 5px;
  font-size: .82rem;
  font-weight: 800;
  opacity: .86;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-choice-separator {
  width: min(100%, 430px);
  margin: 22px auto 24px !important;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: .82;
}

.home-choice-separator span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
}

.home-choice-separator em {
  font-style: normal;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.home-live-now {
  width: min(100%, 470px);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px !important;
}

.home-live-now.is-idle {
  visibility: hidden;
}

.home-live-now h2 {
  margin-bottom: 8px !important;
}

.home-live-now-content {
  align-items: center;
}

.home-live-text strong {
  display: block;
  font-size: 1rem;
}

.home-live-text span {
  display: block;
  margin-top: 3px;
  opacity: .74;
}

.home-live-cover {
  position: relative;
  overflow: hidden;
}

.home-live-cover::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px 8px;
  height: 16px;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 3px, transparent 3px 7px);
  opacity: .65;
  animation: chWavePan 1.15s linear infinite;
}

.home-live-standby,
.mini-wave {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-wave {
  gap: 4px;
}

.mini-wave i {
  display: block;
  width: 4px;
  height: 18px;
  border-radius: var(--radius-md);
  background: currentColor;
  opacity: .75;
  animation: chMiniWave .9s ease-in-out infinite;
}

.mini-wave i:nth-child(2) { animation-delay: .1s; }

.mini-wave i:nth-child(3) { animation-delay: .2s; }

.mini-wave i:nth-child(4) { animation-delay: .3s; }

.mini-wave i:nth-child(5) { animation-delay: .4s; }

@keyframes chMiniWave {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1.2); }
}

@keyframes chWavePan {
  from { transform: translateX(-7px); }
  to { transform: translateX(7px); }
}

.request-screen {
  padding: 0 !important;
}

.request-screen .request-nav-bar {
  width: min(100% - 24px, var(--content-max, 720px));
  margin: 12px auto 12px;
}

.request-title {
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
  opacity: .82;
}

.request-form-card {
  width: min(100% - 24px, 620px);
  margin: 0 auto;
}

.request-card {
  margin-top: 0 !important;
}

.inline-identity-fields {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compact-identity-input {
  min-height: 48px !important;
  font-size: 1rem !important;
}

.idea-option-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.idea-option-row .compact-toggle {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.compact-toggle.active {
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 0 24px rgba(255, 38, 111, .22);
}

.preset-card-grid .style-preset-card {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.preset-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px !important;
  font-size: 2rem !important;
  line-height: 1;
  color: rgba(255,255,255,.92);
  filter: none !important;
}

.advanced-toggle {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 560px) {
  .inline-identity-fields,
.idea-option-row {
    grid-template-columns: 1fr;
  }
}

body.visitor-body.request-mode #formScreen.form-screen,
body.visitor-body.request-mode #songForm.slide-form,
body.visitor-body.request-mode #slides,
body.visitor-body.request-mode .songmaker-step {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.visitor-body.request-mode #requestScreen.request-screen {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  min-height: 100dvh !important;
  place-items: center !important;
  padding: calc(env(safe-area-inset-top, 0px) + 104px) 14px calc(env(safe-area-inset-bottom, 0px) + 28px) !important;
  overflow: hidden !important;
}

body.visitor-body.request-mode #requestScreen .request-nav-bar.nav-bar-top {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translate3d(-50%, 0, 0) !important;
  width: min(620px, calc(100vw - 24px)) !important;
  min-height: 58px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  z-index: 1200 !important;
  border-radius: var(--radius-md) !important;
  background: rgba(10, 10, 18, .68) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  backdrop-filter: blur(18px) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.24) !important;
  pointer-events: auto !important;
}

body.visitor-body.request-mode #requestScreen .request-nav-bar .flow-actions-left {
  justify-self: start !important;
}

body.visitor-body.request-mode #requestScreen .request-nav-bar .icon-nav-button {
  pointer-events: auto !important;
}

body.visitor-body.request-mode #requestScreen .request-form-card {
  width: min(100%, 620px) !important;
  margin: 0 auto !important;
}

body.visitor-body.request-mode #requestScreen .request-card {
  width: 100% !important;
  margin: 0 !important;
  border-radius: var(--radius-md) !important;
}

.cover-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 16px;
}

.cover-choice-card {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 24px;
  padding: 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
}

.cover-choice-card.active {
  border-color: rgba(246,255,0,0.9);
  background: rgba(246,255,0,0.12);
  box-shadow: 0 18px 42px rgba(246,255,0,0.10);
}

.cover-choice-icon {
  font-size: 2rem;
  line-height: 1;
}

.cover-choice-card strong {
  font-size: 1.15rem;
}

.cover-choice-card small {
  color: var(--muted);
  line-height: 1.35;
}

.cover-selfie-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(0,0,0,0.24);
}

.camera-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 14px;
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 45%, rgba(0,0,0,0.34));
  border: 1px solid rgba(255,255,255,0.16);
}

.cover-camera-video,
.cover-selfie-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-camera-video {
  transform: scaleX(-1);
}

.camera-face-guide {
  position: absolute;
  inset: 10%;
  border: 2px dashed rgba(246,255,0,0.85);
  border-radius: 26px;
  pointer-events: none;
  box-shadow: 0 0 0 999px rgba(0,0,0,0.12);
}

.cover-group-note {
  margin: 12px 0 0;
  color: rgba(246,255,0,0.92);
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
}

.cover-selfie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cover-privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 720px) {
  .cover-choice-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================================================== 
   Spain Pilot · Smartphone Songmaker Experience
   ========================================================================== */

:root {
  --experience-yellow: #f5ff24;
  --experience-pink: #ff2d93;
  --experience-cyan: #42d7ff;
  --experience-panel: rgba(16, 12, 27, 0.94);
  --experience-line: rgba(255, 255, 255, 0.13);
}

.visitor-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 45, 147, 0.19), transparent 29rem),
    radial-gradient(circle at 91% 32%, rgba(66, 215, 255, 0.13), transparent 30rem),
    linear-gradient(155deg, #08060d 0%, #14091f 48%, #07070d 100%);
}

.home-screen {
  display: block;
  padding: max(18px, env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom));
}

.songmaker-experience-home {
  width: min(100%, 960px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.event-brand-header {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 4px 2px 10px;
}

.event-brand-logo-wrap {
  flex: 0 0 auto;
  width: clamp(76px, 24vw, 142px);
  height: 62px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--experience-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.event-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-brand-copy {
  min-width: 0;
}

.event-brand-kicker,
.event-welcome-label,
.home-section-head span,
.charts-panel-intro > span,
.vote-qr-kicker {
  display: block;
  color: var(--experience-yellow);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-brand-copy h1 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 5vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-brand-copy p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-welcome-card,
.experience-live-card,
.home-charts-card {
  border: 1px solid var(--experience-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.event-welcome-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}

.event-welcome-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--experience-yellow);
  color: #111;
  font-size: 0.95rem;
  box-shadow: 0 9px 26px rgba(245, 255, 36, 0.16);
}

.event-welcome-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.91rem;
  line-height: 1.5;
}

.experience-live-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  min-height: 220px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 147, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(34, 21, 49, 0.98), rgba(12, 10, 20, 0.98));
}

.experience-live-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.025), 0 0 0 50px rgba(255, 255, 255, 0.016);
  pointer-events: none;
}

.experience-live-head {
  position: relative;
  z-index: 1;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.live-state-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-state-dot,
.dock-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff385d;
  box-shadow: 0 0 0 5px rgba(255, 56, 93, 0.13), 0 0 18px rgba(255, 56, 93, 0.7);
}

.experience-live-card.is-idle .live-state-dot {
  background: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.live-state-status {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  text-align: right;
}

.experience-live-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 148px;
}

.experience-live-cover,
.overlay-live-cover {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 19px;
  background: #15111d;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.experience-live-cover {
  width: 124px;
  height: 124px;
}

.experience-live-cover img,
.overlay-live-cover img,
.chart-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-cover-placeholder,
.chart-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 45, 147, 0.46), transparent 50%),
    linear-gradient(145deg, #2b173a, #0e0c15);
}

.experience-cover-placeholder span,
.chart-cover-placeholder span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.experience-live-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 124px;
}

.experience-live-titles {
  min-height: 55px;
}

.experience-live-titles strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #fff;
  font-size: clamp(1.18rem, 5vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.experience-live-titles span {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.experience-wave {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 8px 0 10px;
  overflow: hidden;
  opacity: 0.38;
}

.experience-wave i {
  width: 3px;
  height: 70%;
  flex: 0 0 3px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--experience-pink), var(--experience-yellow));
  transform: scaleY(0.18);
  transform-origin: center;
}

.experience-wave.is-playing {
  opacity: 1;
}

.experience-wave.is-playing i {
  animation: experienceWave 1.1s ease-in-out infinite alternate;
}

.experience-wave i:nth-child(3n + 1) { animation-delay: -0.72s; }
.experience-wave i:nth-child(3n + 2) { animation-delay: -0.34s; }
.experience-wave i:nth-child(4n) { animation-duration: 0.78s; }
.experience-wave i:nth-child(5n) { animation-duration: 1.42s; }

@keyframes experienceWave {
  0% { transform: scaleY(0.16); }
  35% { transform: scaleY(0.48); }
  72% { transform: scaleY(1); }
  100% { transform: scaleY(0.3); }
}

.experience-live-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.experience-live-actions[hidden],
.overlay-live-vote[hidden] {
  display: none !important;
}

.experience-vote-button,
.experience-qr-button,
.chart-vote-link,
.chart-qr-button,
.home-section-head button {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.experience-vote-button,
.chart-vote-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--experience-yellow);
  color: #101010;
  font-size: 0.76rem;
  font-weight: 900;
}

.experience-qr-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.experience-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.experience-action-card {
  appearance: none;
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--experience-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.experience-action-card.is-primary {
  background: var(--experience-yellow);
  border-color: var(--experience-yellow);
  color: #111;
  box-shadow: 0 16px 34px rgba(245, 255, 36, 0.12);
}

.experience-action-card.is-compact {
  grid-column: 1 / -1;
  min-height: 72px;
}

.experience-action-card:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.experience-action-card.is-gate-closed,
.experience-action-card.is-gate-closed:disabled {
  opacity: 1;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 46, 149, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(38, 24, 48, 0.98), rgba(19, 16, 29, 0.98));
  color: #fff;
  box-shadow: none;
}

.experience-action-card.is-gate-closed .experience-action-icon {
  background: rgba(255, 255, 255, 0.09);
  color: var(--experience-yellow);
}

.experience-action-card.is-gate-closed small {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.experience-action-status {
  color: var(--experience-yellow);
  font-size: 0.58rem;
  text-align: right;
  filter: drop-shadow(0 0 7px rgba(245, 255, 36, 0.55));
}

.experience-action-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 900;
}

.experience-action-card.is-primary .experience-action-icon {
  background: rgba(0, 0, 0, 0.1);
}

.experience-action-card > span:nth-child(2) {
  min-width: 0;
}

.experience-action-card strong,
.experience-action-card small {
  display: block;
}

.experience-action-card strong {
  font-size: 0.92rem;
  line-height: 1.12;
}

.experience-action-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.69rem;
  line-height: 1.2;
}

.experience-action-card.is-primary small {
  color: rgba(0, 0, 0, 0.58);
}

.experience-action-arrow {
  font-size: 1.15rem;
  text-align: right;
}

.home-gate-message {
  margin: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 188, 62, 0.23);
  border-radius: 16px;
  background: rgba(255, 188, 62, 0.08);
  color: rgba(255, 228, 178, 0.9);
  text-align: center;
  font-size: 0.8rem;
}

.home-charts-card {
  padding: 16px;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-section-head h2,
.charts-panel-intro h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.home-section-head button {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
}

.home-charts-preview,
.songmaker-charts-list {
  display: grid;
  gap: 8px;
}

.songmaker-chart-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}

.songmaker-chart-row.is-compact {
  grid-template-columns: 32px 46px minmax(0, 1fr) 30px;
  min-height: 64px;
  padding: 8px;
}

.chart-rank {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.chart-rank span {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.55rem;
  vertical-align: super;
}

.chart-cover {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 13px;
  background: #17121f;
}

.is-compact .chart-cover {
  width: 46px;
  height: 46px;
  border-radius: 11px;
}

.chart-song-copy {
  min-width: 0;
}

.chart-song-copy strong,
.chart-song-copy span,
.chart-song-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chart-song-copy strong {
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.15;
}

.chart-song-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.73rem;
}

.chart-song-copy small {
  margin-top: 4px;
  color: var(--experience-yellow);
  font-size: 0.63rem;
  font-weight: 800;
}

.chart-preview-arrow {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chart-vote-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-qr-button {
  width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
  color: #111;
}

.chart-qr-button img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.chart-qr-button span {
  display: none;
}

.chart-vote-link {
  min-width: 84px;
}

.charts-empty {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.charts-empty span {
  color: var(--experience-yellow);
  font-size: 1.4rem;
}

.charts-empty p {
  max-width: 300px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.session-language-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.7rem;
  text-align: center;
}

.session-language-note span {
  color: var(--experience-yellow);
  font-size: 0.45rem;
}

.fixed-language-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 255, 36, 0.23);
  border-radius: 17px;
  background: rgba(245, 255, 36, 0.07);
}

.fixed-language-lock {
  color: var(--experience-yellow);
  font-size: 0.58rem;
}

.fixed-language-card strong,
.fixed-language-card small {
  display: block;
}

.fixed-language-card strong {
  color: #fff;
  font-size: 0.9rem;
}

.fixed-language-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  line-height: 1.3;
}

.songmaker-mobile-dock {
  position: fixed;
  z-index: 8000;
  left: 12px;
  right: 12px;
  bottom: max(10px, env(safe-area-inset-bottom));
  height: 66px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(12, 9, 18, 0.95);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.songmaker-mobile-dock button {
  appearance: none;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.82rem;
}

.songmaker-mobile-dock button strong {
  font-size: 0.63rem;
  line-height: 1;
}

.songmaker-mobile-dock .dock-create {
  background: var(--experience-yellow);
  color: #111;
}

.songmaker-mobile-dock .dock-create > span {
  font-size: 1.05rem;
}

.visitor-body.form-mode .songmaker-mobile-dock,
.visitor-body.success-mode .songmaker-mobile-dock,
.visitor-body.request-mode .songmaker-mobile-dock {
  display: none;
}

.experience-overlay,
.vote-qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
}

.experience-overlay.hidden,
.vote-qr-overlay.hidden {
  display: none !important;
}

.experience-overlay-backdrop,
.vote-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 5, 0.82);
}

.experience-sheet {
  position: absolute;
  inset: auto 0 0;
  max-height: 92dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 45, 147, 0.16), transparent 24rem),
    #0d0b13;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.56);
}

.experience-sheet-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 10px;
}

.experience-sheet-head span {
  color: var(--experience-yellow);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.experience-sheet-head h2 {
  max-width: 74vw;
  margin: 4px 0 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.experience-close {
  appearance: none;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.experience-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 18px 12px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.experience-tabs button {
  appearance: none;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
}

.experience-tabs button.active {
  background: #fff;
  color: #111;
}

.experience-tab-panel {
  display: none;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 18px calc(22px + env(safe-area-inset-bottom));
}

.experience-tab-panel.active {
  display: block;
}

.overlay-live-visual {
  display: grid;
  gap: 18px;
  padding: 8px 0 18px;
  text-align: center;
}

.overlay-live-cover {
  width: min(66vw, 300px);
  height: min(66vw, 300px);
  margin: 0 auto;
  border-radius: 28px;
}

.overlay-live-content h3 {
  margin: 14px auto 0;
  color: #fff;
  font-size: clamp(1.8rem, 9vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.overlay-live-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.98rem;
}

.overlay-live-content .live-state-label {
  justify-content: center;
}

.overlay-wave {
  width: min(100%, 390px);
  height: 42px;
  justify-content: center;
  margin: 14px auto 0;
}

.overlay-wave i {
  width: 4px;
  flex-basis: 4px;
}

.overlay-live-vote {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(245, 255, 36, 0.2);
  border-radius: 20px;
  background: rgba(245, 255, 36, 0.06);
}

.overlay-live-vote img {
  width: 90px;
  height: 90px;
  padding: 5px;
  border-radius: 13px;
  background: #fff;
}

.overlay-live-vote strong,
.overlay-live-vote span {
  display: block;
}

.overlay-live-vote strong {
  color: #fff;
  font-size: 0.91rem;
}

.overlay-live-vote span {
  margin: 5px 0 10px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.71rem;
  line-height: 1.35;
}

.charts-panel-intro {
  padding: 8px 2px 16px;
}

.charts-panel-intro p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.81rem;
  line-height: 1.45;
}

.vote-qr-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(calc(100% - 28px), 390px);
  transform: translate(-50%, -50%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: #100d17;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
  text-align: center;
}

.vote-qr-card .experience-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.vote-qr-card h2 {
  margin: 10px 34px 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.vote-qr-card p {
  margin: 7px 0 16px;
  color: rgba(255, 255, 255, 0.57);
}

.vote-qr-image-wrap {
  width: min(74vw, 260px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
}

.vote-qr-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vote-qr-card .experience-vote-button {
  width: 100%;
  min-height: 48px;
}

.experience-open,
.vote-qr-open {
  overflow: hidden !important;
}

/* Smart TV performance mode: the old animated layers remain in the file above,
   but are intentionally disabled for the Spain pilot. */
.live-screen {
  animation: none !important;
  background-size: cover !important;
  background-position: center !important;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 0, 160, 0.16), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(0, 210, 255, 0.13), transparent 35%),
    linear-gradient(138deg, #070711 0%, #160826 48%, #05050b 100%) !important;
}

.live-screen::before,
.live-screen::after,
.live-orb,
.live-noise {
  display: none !important;
  animation: none !important;
  will-change: auto !important;
}

@media (min-width: 740px) {
  .home-screen {
    padding: 34px 28px 54px;
  }

  .songmaker-experience-home {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .event-brand-header,
  .event-welcome-card,
  .session-language-note,
  .experience-live-card,
  .experience-action-grid,
  .home-charts-card,
  .home-gate-message {
    grid-column: 1;
  }

  .experience-live-card {
    min-height: 280px;
  }

  .experience-live-main {
    grid-template-columns: 174px minmax(0, 1fr);
    min-height: 200px;
  }

  .experience-live-cover {
    width: 174px;
    height: 174px;
    border-radius: 25px;
  }

  .experience-action-grid {
    grid-column: 1;
  }

  .home-charts-card {
    grid-column: 1;
    position: relative;
    top: auto;
  }

  .songmaker-mobile-dock {
    display: none;
  }

  .experience-sheet {
    inset: 50% auto auto 50%;
    width: min(calc(100% - 40px), 780px);
    max-height: min(88dvh, 850px);
    transform: translate(-50%, -50%);
    border-radius: 28px;
  }

  .overlay-live-visual {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .overlay-live-cover {
    width: 280px;
    height: 280px;
  }

  .overlay-live-content .live-state-label {
    justify-content: flex-start;
  }

  .overlay-live-content h3 {
    margin-left: 0;
  }

  .overlay-wave {
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 430px) {
  .event-brand-header {
    gap: 11px;
  }

  .event-brand-logo-wrap {
    width: 78px;
    height: 56px;
    border-radius: 16px;
  }

  .experience-live-main {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 13px;
  }

  .experience-live-cover {
    width: 104px;
    height: 104px;
    border-radius: 17px;
  }

  .experience-live-copy {
    min-height: 104px;
  }

  .experience-live-actions {
    gap: 6px;
  }

  .experience-vote-button,
  .experience-qr-button {
    padding: 0 10px;
    font-size: 0.69rem;
  }

  .experience-action-card {
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    padding: 12px;
  }

  .experience-action-icon {
    width: 34px;
    height: 34px;
  }

  .songmaker-chart-row:not(.is-compact) {
    grid-template-columns: 30px 52px minmax(0, 1fr);
  }

  .songmaker-chart-row:not(.is-compact) .chart-cover {
    width: 52px;
    height: 52px;
  }

  .songmaker-chart-row:not(.is-compact) .chart-vote-actions {
    grid-column: 2 / -1;
    justify-content: flex-end;
  }

  .chart-qr-button {
    width: auto;
    min-height: 38px;
    display: flex;
    gap: 6px;
    padding: 5px 9px 5px 5px;
    border-radius: 999px;
  }

  .chart-qr-button img {
    width: 28px;
    height: 28px;
  }

  .chart-qr-button span {
    display: inline;
    font-size: 0.65rem;
    font-weight: 900;
  }

  .chart-vote-link {
    min-width: 94px;
    min-height: 38px;
  }
}

@media (max-width: 350px) {
  .experience-live-main {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .experience-live-cover {
    width: 88px;
    height: 88px;
  }

  .experience-action-grid {
    grid-template-columns: 1fr;
  }

  .experience-action-card.is-compact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-wave.is-playing i {
    animation: none !important;
    transform: scaleY(0.52);
  }
}

.success-email-form input:disabled {
  opacity: .74;
}

.success-email-form button:disabled {
  cursor: wait;
  opacity: .62;
}

.success-email-form.is-saved {
  border-color: rgba(87, 225, 164, .32);
  background: rgba(87, 225, 164, .06);
}

.success-email-form.is-saved em {
  color: #72e3ad;
}

/* ==========================================================================
   Songmaker inline tab navigation · Spain pilot refinement
   ========================================================================== */

.songmaker-home-views {
  min-width: 0;
}

.songmaker-home-view {
  display: none;
  min-width: 0;
  gap: 16px;
}

.songmaker-home-view.is-active {
  display: grid;
}

.experience-action-card.is-wide {
  grid-column: 1 / -1;
  min-height: 98px;
}

.home-live-view,
.home-charts-view {
  padding-top: 4px;
}

.inline-live-shell {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--experience-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 147, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(34, 21, 49, 0.98), rgba(12, 10, 20, 0.98));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.home-charts-view .charts-panel-intro {
  padding: 8px 2px 18px;
}

.home-charts-view .charts-panel-intro h3 {
  font-size: clamp(1.5rem, 7vw, 2.2rem);
}

.home-charts-view .songmaker-charts-list {
  gap: 10px;
}

.songmaker-mobile-dock {
  left: 50%;
  right: auto;
  width: min(calc(100% - 24px), 620px);
  transform: translateX(-50%);
  display: grid;
}

.songmaker-mobile-dock .dock-create {
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
}

.songmaker-mobile-dock button.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.songmaker-mobile-dock .dock-create.active {
  background: var(--experience-yellow);
  color: #111;
}

@media (min-width: 740px) {
  .home-screen {
    padding-bottom: 122px;
  }

  .songmaker-experience-home {
    width: min(100%, 920px);
  }

  .songmaker-mobile-dock {
    display: grid;
  }

  .home-live-view .overlay-live-visual {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .home-live-view .overlay-live-content .live-state-label {
    justify-content: flex-start;
  }

  .home-live-view .overlay-live-content h3 {
    margin-left: 0;
  }
}

@media (max-width: 350px) {
  .experience-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-action-card {
    min-height: 82px;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 7px;
    padding: 11px;
  }

  .experience-action-card.is-wide {
    min-height: 92px;
  }

  .experience-action-icon {
    width: 32px;
    height: 32px;
  }
}


/* Songmaker v6: QR voting and live-tab invitation */
.songmaker-mobile-dock button.has-live-track:not(.active) {
  color: #fff;
  background: rgba(255, 56, 93, .12);
  animation: songmakerLiveTabInvite 1.7s ease-in-out infinite;
}

.songmaker-mobile-dock button.has-live-track:not(.active) .dock-live-dot {
  animation: songmakerLiveDotInvite .85s ease-in-out infinite alternate;
}

@keyframes songmakerLiveTabInvite {
  0%, 100% {
    transform: translateY(0);
    box-shadow: inset 0 0 0 1px rgba(255, 56, 93, .08), 0 0 0 rgba(255, 56, 93, 0);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 56, 93, .28), 0 8px 24px rgba(255, 56, 93, .2);
  }
}

@keyframes songmakerLiveDotInvite {
  from {
    transform: scale(.86);
    box-shadow: 0 0 0 4px rgba(255, 56, 93, .1), 0 0 10px rgba(255, 56, 93, .45);
  }
  to {
    transform: scale(1.18);
    box-shadow: 0 0 0 7px rgba(255, 56, 93, .16), 0 0 22px rgba(255, 56, 93, .9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .songmaker-mobile-dock button.has-live-track:not(.active),
  .songmaker-mobile-dock button.has-live-track:not(.active) .dock-live-dot {
    animation: none;
  }
}


/* Phase 2.1 v7: unified sticky form headers */
body.visitor-body.form-mode:not(.success-mode) #songForm.slide-form,
body.visitor-body.request-mode #requestScreen.request-screen {
  box-sizing: border-box !important;
}

body.visitor-body.form-mode:not(.success-mode) #songForm.slide-form {
  width: min(100%, 944px) !important;
  max-width: 944px !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 44px) !important;
}

body.visitor-body.form-mode:not(.success-mode) #songForm .flow-header,
body.visitor-body.request-mode #requestScreen .flow-header {
  position: sticky !important;
  top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  width: 100% !important;
  max-width: 920px !important;
  min-height: 64px !important;
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 auto 18px !important;
  padding: 8px clamp(12px, 2vw, 18px) !important;
  box-sizing: border-box !important;
  z-index: 1200 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(10, 10, 18, .82) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.28) !important;
  pointer-events: auto !important;
}

body.visitor-body.form-mode:not(.success-mode) #songForm .slides,
body.visitor-body.request-mode #requestScreen .request-form-card {
  width: 100% !important;
  max-width: 920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.visitor-body.request-mode #requestScreen.request-screen {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: min(100%, 944px) !important;
  max-width: 944px !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 44px) !important;
  overflow: visible !important;
}

body.visitor-body.request-mode #requestScreen .request-nav-bar.flow-header {
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) !important;
}

body.visitor-body.request-mode #requestScreen .request-form-card,
body.visitor-body.request-mode #requestScreen .request-card {
  width: 100% !important;
  max-width: 920px !important;
}

body.visitor-body.request-mode #requestScreen .request-card {
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(22px, 4vw, 42px) !important;
}

@media (orientation: portrait) and (max-width: 900px) {
  body.visitor-body.form-mode:not(.success-mode) #songForm.slide-form,
  body.visitor-body.request-mode #requestScreen.request-screen {
    width: 100% !important;
    max-width: none !important;
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body.visitor-body.form-mode:not(.success-mode) #songForm .flow-header,
  body.visitor-body.request-mode #requestScreen .flow-header {
    top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
    min-height: 58px !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding: 7px 10px !important;
  }

  body.visitor-body.request-mode #requestScreen .request-nav-bar.flow-header {
    grid-template-columns: auto 1fr minmax(46px, auto) !important;
  }
}

/* Phase 2.1 v8: definitive fixed flow header and request-page geometry */
:root {
  --flow-content-width: 920px;
  --flow-page-gutter: 12px;
  --flow-header-top: 12px;
  --flow-header-height: 64px;
  --flow-header-gap: 18px;
}

/* Songmaker: the page scrolls, the header remains fixed, and content starts below it. */
body.visitor-body.form-mode:not(.success-mode):not(.request-mode) {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

body.visitor-body.form-mode:not(.success-mode):not(.request-mode) #formScreen.form-screen {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.visitor-body.form-mode:not(.success-mode):not(.request-mode) #songForm.slide-form {
  position: relative !important;
  display: block !important;
  width: min(100%, calc(var(--flow-content-width) + (var(--flow-page-gutter) * 2))) !important;
  max-width: calc(var(--flow-content-width) + (var(--flow-page-gutter) * 2)) !important;
  height: auto !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding:
    calc(env(safe-area-inset-top, 0px) + var(--flow-header-top) + var(--flow-header-height) + var(--flow-header-gap))
    var(--flow-page-gutter)
    calc(env(safe-area-inset-bottom, 0px) + 32px) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* One shared header shape for all Songmaker steps and the music-request page. */
body.visitor-body.form-mode:not(.success-mode) #songForm > .flow-header,
body.visitor-body.request-mode #requestScreen > .flow-header {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + var(--flow-header-top)) !important;
  left: 50% !important;
  right: auto !important;
  transform: translate3d(-50%, 0, 0) !important;
  -webkit-transform: translate3d(-50%, 0, 0) !important;
  width: min(var(--flow-content-width), calc(100vw - (var(--flow-page-gutter) * 2))) !important;
  max-width: var(--flow-content-width) !important;
  min-height: var(--flow-header-height) !important;
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 8px clamp(12px, 2vw, 18px) !important;
  box-sizing: border-box !important;
  z-index: 2000 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(10, 10, 18, .90) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.32) !important;
  pointer-events: auto !important;
}

body.visitor-body.form-mode:not(.success-mode):not(.request-mode) #songForm .slides,
body.visitor-body.form-mode:not(.success-mode):not(.request-mode) #songForm .songmaker-step,
body.visitor-body.form-mode:not(.success-mode):not(.request-mode) #songForm .songmaker-card {
  width: 100% !important;
  max-width: var(--flow-content-width) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

/* Music request: use one viewport scroll container so no empty second page is created. */
body.visitor-body.form-mode.request-mode:not(.success-mode) {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.visitor-body.request-mode #requestScreen.request-screen {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding:
    calc(env(safe-area-inset-top, 0px) + var(--flow-header-top) + var(--flow-header-height) + var(--flow-header-gap))
    var(--flow-page-gutter)
    calc(env(safe-area-inset-bottom, 0px) + 20px) !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

body.visitor-body.request-mode #requestScreen .request-form-card,
body.visitor-body.request-mode #requestScreen .request-card {
  width: 100% !important;
  max-width: var(--flow-content-width) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

body.visitor-body.request-mode #requestScreen .request-card {
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: clamp(22px, 4vw, 42px) !important;
  overflow: visible !important;
}

body.visitor-body.request-mode #requestScreen > .request-nav-bar.flow-header {
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr) !important;
}

@media (max-width: 900px) {
  :root {
    --flow-header-top: 8px;
    --flow-header-height: 58px;
    --flow-header-gap: 12px;
  }

  body.visitor-body.form-mode:not(.success-mode) #songForm > .flow-header,
  body.visitor-body.request-mode #requestScreen > .flow-header {
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
    padding: 7px 10px !important;
  }

  body.visitor-body.request-mode #requestScreen > .request-nav-bar.flow-header {
    grid-template-columns: auto 1fr minmax(46px, auto) !important;
  }

  body.visitor-body.form-mode:not(.success-mode):not(.request-mode) #songForm.slide-form,
  body.visitor-body.request-mode #requestScreen.request-screen {
    padding-right: var(--flow-page-gutter) !important;
    padding-left: var(--flow-page-gutter) !important;
  }
}

/* Songmaker v9: closed submission state is an information card, not a faded disabled button. */
#startFlowBtn.experience-action-card.is-gate-closed:disabled {
  opacity: 1;
  cursor: default;
  color: #fff;
  -webkit-text-fill-color: initial;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 46, 149, 0.2), transparent 44%),
    linear-gradient(135deg, rgba(42, 25, 51, 0.99), rgba(18, 16, 29, 0.99));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

#startFlowBtn.experience-action-card.is-gate-closed:disabled strong {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

#startFlowBtn.experience-action-card.is-gate-closed:disabled small {
  color: rgba(255, 255, 255, 0.68);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.68);
}

#startFlowBtn.experience-action-card.is-gate-closed:disabled .experience-action-icon {
  background: rgba(245, 255, 36, 0.1);
  color: var(--experience-yellow);
  -webkit-text-fill-color: var(--experience-yellow);
}

#startFlowBtn.experience-action-card.is-gate-closed:disabled .experience-action-status {
  color: var(--experience-yellow);
  -webkit-text-fill-color: var(--experience-yellow);
  opacity: 1;
}

/* Songmaker v10: keep the primary action visually primary while submissions are closed. */
#startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  opacity: 1;
  cursor: default;
  color: #111;
  -webkit-text-fill-color: initial;
  border-color: var(--experience-yellow);
  background: var(--experience-yellow);
  box-shadow: 0 16px 34px rgba(245, 255, 36, 0.12);
}

#startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled strong {
  color: #111;
  -webkit-text-fill-color: #111;
}

#startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled small {
  color: rgba(0, 0, 0, 0.62);
  -webkit-text-fill-color: rgba(0, 0, 0, 0.62);
  line-height: 1.35;
}

#startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled .experience-action-icon {
  background: rgba(0, 0, 0, 0.1);
  color: #111;
  -webkit-text-fill-color: #111;
}

#startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled .experience-action-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  color: #111;
  -webkit-text-fill-color: #111;
  font-size: 0.64rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  filter: none;
}

@media (max-width: 520px) {
  #startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  #startFlowBtn.experience-action-card.is-primary.is-gate-closed:disabled .experience-action-status {
    grid-column: 2;
    justify-self: start;
    min-height: 26px;
    margin-top: 2px;
    padding: 0 8px;
    font-size: 0.58rem;
  }
}


/* ========================================================================== 
   Event preview / flyer mode
   ========================================================================== */

body.visitor-body.pre-event-mode,
body.visitor-body.post-event-mode {
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.visitor-body.pre-event-mode .home-screen,
body.visitor-body.post-event-mode .home-screen {
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) 14px calc(30px + env(safe-area-inset-bottom));
}

.pre-event-page {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.pre-event-hero,
.pre-event-explainer,
.post-event-card {
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 0 0, rgba(255,45,147,.16), transparent 42%),
    linear-gradient(145deg, rgba(25,18,35,.96), rgba(10,9,16,.97));
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.pre-event-hero {
  display: grid;
  grid-template-columns: minmax(250px, 390px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 32px;
}

.pre-event-flyer-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: #090810;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}

.pre-event-flyer-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.pre-event-flyer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #08080d;
}

.pre-event-flyer-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(circle at 75% 20%, rgba(245,255,36,.13), transparent 35%),
    radial-gradient(circle at 20% 72%, rgba(255,45,147,.38), transparent 45%),
    linear-gradient(155deg, #1c1025, #08070e 70%);
}

.pre-event-flyer-fallback::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  right: -28%;
  top: 8%;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 62px rgba(255,255,255,.014);
}

.pre-event-flyer-fallback img {
  position: absolute;
  top: clamp(24px, 5vw, 44px);
  left: clamp(24px, 5vw, 44px);
  width: min(48%, 170px);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.pre-event-flyer-fallback span,
.pre-event-eyebrow,
.pre-event-explainer > header > span,
.post-event-card > span {
  color: var(--experience-yellow);
  font-size: .7rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pre-event-flyer-fallback strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.pre-event-flyer-fallback small {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}

.pre-event-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pre-event-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 5vw, 52px);
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pre-event-logo-wrap {
  width: 78px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}

.pre-event-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pre-event-content h1 {
  margin: 9px 0 0;
  color: #fff;
  font-size: clamp(2.15rem, 6vw, 4.65rem);
  line-height: .96;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.pre-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.pre-event-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.74);
  font-size: .76rem;
  font-weight: 700;
}

.pre-event-lead {
  margin: 21px 0 0;
  max-width: 660px;
  color: rgba(255,255,255,.72);
  font-size: clamp(.94rem, 2vw, 1.08rem);
  line-height: 1.62;
}

.pre-event-song-teaser {
  position: relative;
  margin-top: clamp(24px, 4vw, 38px);
  padding: 18px;
  overflow: hidden;
  border-radius: 23px;
  background: var(--experience-yellow);
  color: #101010;
  box-shadow: 0 18px 42px rgba(245,255,36,.12);
}

.pre-event-song-teaser::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -62px;
  bottom: -82px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(0,0,0,.035);
}

.pre-event-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.10);
  color: #111;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pre-event-teaser-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 43px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  margin-top: 12px;
}

.pre-event-teaser-icon,
.pre-event-request-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0,0,0,.10);
  font-size: 1.05rem;
  font-weight: 900;
}

.pre-event-song-teaser h2 {
  margin: 0;
  font-size: clamp(1.14rem, 3vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.pre-event-song-teaser p {
  margin: 5px 0 0;
  max-width: 520px;
  color: rgba(0,0,0,.63);
  font-size: .78rem;
  line-height: 1.4;
}

.pre-event-request-button {
  appearance: none;
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 43px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  margin-top: 10px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.pre-event-request-button:hover,
.pre-event-request-button:focus-visible {
  background: rgba(255,255,255,.105);
  border-color: rgba(245,255,36,.38);
}

.pre-event-request-button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.pre-event-request-button small {
  color: var(--experience-yellow);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pre-event-request-button strong {
  font-size: .98rem;
}

.pre-event-request-button em {
  color: rgba(255,255,255,.52);
  font-size: .7rem;
  font-style: normal;
  line-height: 1.3;
}

.pre-event-request-button > span:last-child {
  font-size: 1.2rem;
}

.pre-event-explainer {
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
}

.pre-event-explainer > header {
  max-width: 680px;
}

.pre-event-explainer h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  letter-spacing: -.045em;
}

.pre-event-explainer header p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.pre-event-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 24px;
}

.pre-event-steps article {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 12px;
  min-height: 116px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}

.pre-event-steps b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(245,255,36,.11);
  color: var(--experience-yellow);
  font-size: .78rem;
}

.pre-event-steps strong {
  color: #fff;
  font-size: .86rem;
}

.pre-event-steps p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  line-height: 1.45;
}

.pre-event-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 0 0;
  color: rgba(255,255,255,.42);
  font-size: .72rem;
}

.pre-event-footer img {
  width: 92px;
  max-height: 30px;
  object-fit: contain;
}

.post-event-page {
  width: min(100%, 720px);
  min-height: calc(100dvh - 60px);
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.post-event-card {
  width: 100%;
  padding: clamp(34px, 7vw, 70px);
  border-radius: 30px;
  text-align: center;
}

.post-event-card img {
  width: min(180px, 55%);
  max-height: 90px;
  object-fit: contain;
  margin-bottom: 28px;
}

.post-event-card h1 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.post-event-card p {
  max-width: 520px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .pre-event-hero {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 26px;
  }

  .pre-event-flyer-shell {
    width: min(100%, 520px);
    justify-self: center;
    border-radius: 21px;
  }

  .pre-event-content {
    padding: 8px 5px 7px;
  }

  .pre-event-brand-row {
    margin-bottom: 25px;
  }

  .pre-event-content h1 {
    font-size: clamp(2.15rem, 12vw, 4rem);
  }

  .pre-event-steps {
    grid-template-columns: 1fr;
  }

  .pre-event-steps article {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  body.visitor-body.pre-event-mode .home-screen,
  body.visitor-body.post-event-mode .home-screen {
    padding-right: 10px;
    padding-left: 10px;
  }

  .pre-event-hero {
    gap: 18px;
    padding: 10px;
  }

  .pre-event-content {
    padding: 7px 4px 8px;
  }

  .pre-event-logo-wrap {
    width: 68px;
  }

  .pre-event-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pre-event-meta span {
    justify-content: flex-start;
  }

  .pre-event-song-teaser,
  .pre-event-request-button {
    border-radius: 19px;
  }

  .pre-event-request-button {
    grid-template-columns: 43px minmax(0,1fr) 20px;
    padding: 14px;
  }

  .pre-event-explainer {
    padding: 22px 16px;
    border-radius: 24px;
  }
}


/* ========================================================================== 
   Success email CTA · explicit action, never a nested form
   ========================================================================== */
.success-email-form {
  width: min(100%, 560px);
  gap: 11px;
  padding: 18px;
  border-color: rgba(245, 255, 36, .28);
  background: linear-gradient(145deg, rgba(245, 255, 36, .085), rgba(255,255,255,.035));
  box-shadow: 0 16px 38px rgba(0,0,0,.2);
}

.success-email-form > label {
  color: #fff;
  font-size: .96rem;
}

.success-email-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.success-email-form .success-email-submit {
  min-width: 150px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--experience-yellow, #f5ff24);
  color: #101010;
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .01em;
  box-shadow: 0 12px 28px rgba(245, 255, 36, .16);
  cursor: pointer;
}

.success-email-form .success-email-submit:hover,
.success-email-form .success-email-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(245, 255, 36, .24);
}

.success-email-form .success-email-submit:disabled {
  transform: none;
  cursor: wait;
  opacity: .68;
}

@media (max-width: 520px) {
  .success-email-controls {
    grid-template-columns: 1fr;
  }

  .success-email-form .success-email-submit {
    width: 100%;
    min-height: 52px;
    font-size: .92rem;
  }
}
