/* ==========================================================================
   Sonar Vault — Unified Minimal Design System
   Locally Hosted DSGVO-Compliant Variable Font (Outfit)
   ========================================================================== */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-black: #111111;
  --bg-dark: #111111;
  --gold: #e8c496;
  --accent-gold: #e8c496;
  --gold-soft: #f3dcc0;
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.64);
  --text-muted: rgba(255, 255, 255, 0.64);
  --text-dim: rgba(255, 255, 255, 0.44);
  --hairline: rgba(255, 255, 255, 0.09);
  --glass-bg: rgba(20, 20, 20, 0.94);
  --glass-border: rgba(255, 255, 255, 0.12);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 17.5px;
  scrollbar-gutter: stable;
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
  width: 100%;
  min-height: 100dvh;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::selection {
  background: rgba(232, 196, 150, 0.22);
  color: #ffffff;
}

/* ==========================================================================
   Atmospheric Ambient Background Field (Disabled for clean matte studio finish)
   ========================================================================== */
.sv-ambient {
  display: none;
}

/* ==========================================================================
   Shared Layout Shell, Header Navigation & Footer
   ========================================================================== */
.sv-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1rem, 2.5vw, 2.5rem);
  max-width: 1720px;
  width: 95%;
  margin: 0 auto;
}

.sv-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 36px;
  z-index: 60;
  view-transition-name: sv-main-header;
}

.sv-corner-mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 265px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

/* On the landing page home view, hide corner mark since the large centerpiece logo is displayed */
body[data-active-view="home"] .sv-corner-mark {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body[data-active-view="services"] .sv-corner-mark,
body[data-active-view="about"] .sv-corner-mark,
body[data-active-view="contact"] .sv-corner-mark,
body[data-active-view="faq"] .sv-corner-mark {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sv-corner-mark img {
  width: 24px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.sv-corner-mark span {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.sv-corner-mark:hover img {
  opacity: 1;
}

.sv-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.2rem, 5vw, 3.8rem);
}

.sv-nav-link {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.25s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.sv-nav-link:hover,
.sv-nav-link.active {
  color: #ffffff;
}

/* Shared Minimal Footer Across All Pages */
.sv-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-top: 1.5rem;
  position: relative;
  z-index: 50;
  width: 100%;
  box-sizing: border-box;
}

.sv-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2.5vw, 2.8rem);
  width: 100%;
}

.sv-footer-link {
  font-size: clamp(0.64rem, 1.8vw, 0.72rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.sv-footer-link:hover,
.sv-footer-link.active {
  color: var(--text-primary);
}

.sv-footer-copyright {
  font-size: clamp(0.60rem, 1.6vw, 0.68rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  opacity: 0.6;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  user-select: none;
  white-space: nowrap;
}

/* ==========================================================================
   Main Page Stage & Views (index.html)
   ========================================================================== */
.sv-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vh, 4rem) 0;
  position: relative;
}

body[data-active-view="services"] .sv-stage,
body[data-active-view="about"] .sv-stage,
body[data-active-view="contact"] .sv-stage,
body[data-active-view="faq"] .sv-stage {
  align-items: flex-start;
  padding: clamp(2.4rem, 5vh, 3.5rem) 0;
}

@media (min-width: 641px) {
  body[data-active-view="services"] .sv-stage,
  body[data-active-view="about"] .sv-stage,
  body[data-active-view="contact"] .sv-stage,
  body[data-active-view="faq"] .sv-stage {
    padding-top: clamp(5rem, 10.5vh, 7.5rem);
    padding-bottom: clamp(3.5rem, 7vh, 5rem);
  }
}

.sv-view {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sv-view.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sv-view.visible {
  opacity: 1;
}

/* Home Centerpiece (Large Logo + Statement) */
.sv-home-center {
  text-align: center;
  max-width: 640px;
  padding: 0 1rem;
}

.sv-logo-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2rem, 4vh, 2.8rem);
  text-decoration: none;
}

/* Subtle warm halo localized to the logo */
.sv-logo-wrap::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 165%;
  height: 165%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 196, 150, 0.18) 0%, rgba(232, 196, 150, 0.05) 45%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
  transition: opacity 0.45s ease;
  opacity: 0.75;
}

.sv-logo-wrap:hover::before {
  opacity: 1;
}

.sv-logo-img {
  width: clamp(290px, 33vw, 420px);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(232, 196, 150, 0.18));
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.sv-logo-wrap:hover .sv-logo-img {
  filter: drop-shadow(0 0 38px rgba(232, 196, 150, 0.35)) brightness(1.07);
}

.sv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sv-statement {
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
}

/* Editorial Views (Services, About, Contact, FAQ, Legal, Privacy) */
.sv-editorial {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.sv-editorial-wide {
  max-width: 720px;
}

.sv-eyebrow {
  display: none;
}

.sv-editorial h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.sv-editorial h2 {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 2.2rem 0 0.85rem;
  line-height: 1.4;
}

.sv-view .sv-editorial h2 {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0 0 1.5rem;
}

.sv-editorial h3 {
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 1.8rem 0 0.6rem;
}

.sv-editorial p,
.sv-editorial ul,
.sv-editorial ol {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.sv-editorial code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.sv-editorial ul,
.sv-editorial ol {
  padding-left: 1.25rem;
}

.sv-editorial li {
  margin-bottom: 0.4rem;
}

.sv-editorial strong {
  color: var(--text-primary);
  font-weight: 400;
}

.sv-editorial a:not(.sv-inline-action):not(.sv-contact-email):not(.sv-service-btn):not(.sv-social-pill) {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.sv-editorial a:not(.sv-inline-action):not(.sv-contact-email):not(.sv-service-btn):not(.sv-social-pill):hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.sv-trust-badge-row {
  margin: 1.6rem 0 0.8rem 0;
}

.sv-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem;
  background: rgba(232, 196, 150, 0.04);
  border: 1px solid rgba(232, 196, 150, 0.18);
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sv-trust-pill:hover {
  background: rgba(232, 196, 150, 0.07);
  border-color: rgba(232, 196, 150, 0.3);
}

.sv-trust-icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

.sv-trust-pill strong {
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.sv-trust-pill-desc {
  color: var(--text-secondary);
  font-weight: 300;
}

.sv-credits-section {
  margin-top: 2rem;
  padding: 1.45rem 1.45rem;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.sv-credits-statement {
  font-size: 0.94rem !important;
  font-weight: 300 !important;
  line-height: 1.75 !important;
  color: var(--text-primary) !important;
  margin: 0 0 1.25rem 0 !important;
  letter-spacing: 0.01em;
}

.sv-credits-statement strong {
  color: var(--gold);
  font-weight: 400;
}

.sv-credits-pills-row {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sv-credits-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sv-credits-label {
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.sv-credits-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sv-credit-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  padding: 0.26rem 0.62rem;
  transition: all 0.18s ease;
}

.sv-credit-tag:hover {
  color: #ffffff;
  border-color: rgba(232, 196, 150, 0.4);
  background: rgba(232, 196, 150, 0.08);
}

/* ==========================================================================
   Sonar Vault — Services View
   ========================================================================== */
.sv-services-intro {
  font-size: 0.94rem !important;
  font-weight: 300 !important;
  line-height: 1.75 !important;
  letter-spacing: 0.01em;
  color: var(--text-secondary) !important;
  margin-bottom: 1.8rem !important;
}

.sv-services-list {
  display: flex;
  flex-direction: column;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2.8rem;
}

.sv-service-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.sv-service-card:last-child {
  border-bottom: none;
}

.sv-service-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sv-service-card.open {
  background: rgba(232, 196, 150, 0.015);
}

.sv-service-header-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.72rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: background 0.2s ease;
}

.sv-service-header-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
}

.sv-service-index {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(232, 196, 150, 0.1);
  border: 1px solid rgba(232, 196, 150, 0.25);
  padding: 0.16rem 0.46rem;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.2;
}

.sv-service-title {
  font-size: 1.12rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  color: var(--text-primary) !important;
  margin: 0 !important;
  text-transform: none !important;
  transition: color 0.2s ease;
  line-height: 1.25 !important;
}

.sv-service-header-trigger:hover .sv-service-title {
  color: #ffffff !important;
}

.sv-service-toggle-icon {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.sv-service-card.open .sv-service-toggle-icon {
  transform: rotate(45deg);
  color: #ffffff;
}

.sv-service-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.sv-service-card.open .sv-service-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.sv-service-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.15rem 1.25rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.95rem;
}

.sv-service-tagline {
  font-size: 0.86rem !important;
  color: var(--gold) !important;
  font-weight: 400 !important;
  margin: 0 0 0.8rem 0 !important;
  line-height: 1.45 !important;
}

.sv-service-desc {
  font-size: 0.94rem !important;
  line-height: 1.75 !important;
  color: var(--text-secondary) !important;
  margin: 0 0 1rem 0 !important;
}

.sv-service-points {
  list-style: none !important;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem !important;
}

.sv-service-points li {
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
  position: relative;
  padding-left: 1.1rem;
}

.sv-service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}

.sv-service-points li strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Workflow Section — Clean Editorial 3-Column Layout */
.sv-services-workflow {
  margin: 2.8rem 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.sv-workflow-heading {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-dim) !important;
  margin: 0 0 1.5rem 0 !important;
}

.sv-workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sv-workflow-step {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.1rem 0 0 0;
}

.sv-workflow-step-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sv-workflow-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.sv-workflow-step-title {
  font-size: 0.96rem !important;
  color: var(--text-primary) !important;
  font-weight: 500 !important;
  margin: 0 !important;
  text-transform: none !important;
}

.sv-workflow-split {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.sv-workflow-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: none;
  padding: 0;
}

.sv-workflow-tag-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sv-workflow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  line-height: 1.2;
}

.sv-pill-you {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sv-pill-we {
  background: rgba(232, 196, 150, 0.14);
  color: var(--gold);
  border: 1px solid rgba(232, 196, 150, 0.3);
}

.sv-workflow-badge {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.sv-workflow-row p {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  color: var(--text-secondary) !important;
  margin: 0 !important;
}

.sv-workflow-row.sv-workflow-we p {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* CTA Card */
.sv-services-cta {
  margin-top: 2.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.sv-services-cta-lead {
  font-size: 0.94rem !important;
  line-height: 1.75 !important;
  color: var(--text-primary) !important;
  margin: 0 0 1.2rem 0 !important;
  font-weight: 300 !important;
}

.sv-services-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.sv-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sv-service-btn.primary {
  background: var(--gold) !important;
  color: #0d0e12 !important;
  border: 1px solid var(--gold) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.sv-service-btn.primary:hover {
  background: #f3dcc0 !important;
  border-color: #f3dcc0 !important;
  color: #0d0e12 !important;
  box-shadow: 0 0 18px rgba(232, 196, 150, 0.35);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.sv-service-btn.secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  text-decoration: none !important;
}

.sv-service-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

@media (max-width: 680px) {
  .sv-workflow-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .sv-service-header-trigger {
    padding: 0.65rem 1rem;
  }
  .sv-service-title {
    font-size: 1rem !important;
  }
  .sv-service-index {
    font-size: 0.74rem;
  }
  .sv-service-inner {
    padding: 0 1rem 1.15rem 1rem;
    padding-top: 0.85rem;
  }
  .sv-services-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .sv-service-btn {
    width: 100%;
  }
}

.sv-divider {
  width: 100%;
  height: 1px;
  background: var(--hairline);
  margin: 2rem 0;
}

.sv-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.sv-inline-action {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: inherit;
}

.sv-inline-action:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.sv-return-btn {
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sv-return-btn:hover {
  color: var(--text-primary);
}

/* Contact Specifics */
.sv-contact-intro {
  margin-bottom: 1.8rem !important;
}

.sv-contact-label {
  font-size: 0.94rem !important;
  line-height: 1.75 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0.35rem !important;
}

.sv-contact-label-spaced {
  margin-top: 1.4rem !important;
}

.sv-contact-email {
  display: inline-block;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-decoration: none;
  margin: 0.15rem 0 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sv-contact-email:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Contact Social Links */
.sv-contact-social {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.sv-contact-social-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 400;
  margin: 0;
}

.sv-contact-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sv-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.22s ease;
}

.sv-social-pill svg {
  flex-shrink: 0;
  color: var(--accent-gold);
  transition: transform 0.22s ease;
}

.sv-social-pill:hover {
  background: rgba(232, 196, 150, 0.08);
  border-color: rgba(232, 196, 150, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.sv-social-pill:hover svg {
  transform: scale(1.1);
}

/* Minimal FAQ Accordion */
.sv-faq-list {
  width: 100%;
  border-top: 1px solid var(--hairline);
  margin-top: 0.5rem;
}

.sv-faq-row {
  border-bottom: 1px solid var(--hairline);
}

.sv-faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.sv-faq-trigger:hover {
  color: #ffffff;
}

.sv-faq-icon {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.sv-faq-row.open .sv-faq-icon {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.sv-faq-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.35s var(--ease-out), opacity 0.3s ease;
}

.sv-faq-row.open .sv-faq-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.sv-faq-inner {
  min-height: 0;
  overflow: hidden;
}

.sv-faq-inner p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.sv-faq-inner p:last-child {
  margin-bottom: 1.25rem;
}

.sv-faq-inner ul,
.sv-faq-inner ol {
  margin: 0.2rem 0 1.25rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
}

.sv-faq-inner li {
  margin-bottom: 0.45rem;
}

.sv-faq-inner li:last-child {
  margin-bottom: 0;
}

.sv-faq-inner strong {
  color: var(--text-primary);
  font-weight: 400;
}

.sv-faq-inline-icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: 0.32rem;
  color: var(--gold);
  opacity: 0.82;
  flex-shrink: 0;
}

.sv-faq-marker-sym {
  display: inline-block;
  color: var(--gold);
  opacity: 0.82;
  font-size: 0.78em;
  line-height: 1;
  vertical-align: 0;
  margin-right: 0.18rem;
  font-variant-emoji: text;
}

/* ==========================================================================
   Docked Audio Player (Shared with Library)
   ========================================================================== */
@media (min-width: 769px) {
  .audio-player {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 74px !important;
    padding: 0 3rem !important;
    border-radius: 0 !important;
    background: rgba(20, 20, 20, 0.97) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.7) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem !important;
    box-sizing: border-box !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%) !important;
    transition: transform 0.35s var(--ease-out), opacity 0.3s ease, visibility 0.3s !important;
  }
  .audio-player.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

.player-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 1 280px;
  min-width: 160px;
  max-width: 340px;
  overflow: hidden;
  text-align: left;
  position: relative;
}

.player-info h3 {
  font-size: 0.92rem !important;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  color: var(--gold-soft) !important;
  padding: 0 !important;
  position: relative;
  display: flex;
  align-items: center;
}

.player-title-marquee {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.player-info.has-overflow {
  mask-image: linear-gradient(to right, black calc(100% - 22px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 22px), transparent 100%);
}

.player-title-marquee.has-overflow {
  animation: playerTitleMarquee 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes playerTitleMarquee {
  0%, 18% { transform: translateX(0); }
  65%, 85% { transform: translateX(calc(-1 * var(--player-overflow-dist, 40px))); }
  100% { transform: translateX(0); }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 0 0 auto;
}

.player-controls .control-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 6px;
  border-radius: 50%;
}

.player-controls .control-btn svg {
  width: 19px;
  height: 19px;
}

.player-controls .control-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.player-controls .play-btn {
  background: var(--gold) !important;
  color: #111111 !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none !important;
  box-shadow: 0 0 18px rgba(232, 196, 150, 0.25) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-controls .play-btn svg {
  width: 18px;
  height: 18px;
}

.player-controls .play-btn:hover {
  background: var(--gold-soft) !important;
  color: #111111 !important;
  box-shadow: 0 0 24px rgba(232, 196, 150, 0.4) !important;
  transform: scale(1.04);
}

.player-progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 120px;
}

.audio-player .progress-bar-container {
  flex: 1;
  min-width: 100px;
  max-width: 600px;
  height: 28px;
  cursor: pointer;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  display: flex;
  align-items: center;
}

.audio-player .player-waveform-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border: none;
}

.audio-player .waveform-hover-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 5;
}

.audio-player .waveform-hover-time {
  position: absolute;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 400;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.audio-player .progress-bar-container:hover .waveform-hover-line,
.audio-player .progress-bar-container:hover .waveform-hover-time {
  opacity: 1;
}

.audio-player .progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 3px;
  display: none;
}

.player-right-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 1.25rem;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume-btn svg {
  width: 18px;
  height: 18px;
}

.volume-slider {
  width: 85px;
  cursor: pointer;
  accent-color: var(--gold);
  height: 3px;
}

.close-player-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.close-player-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.close-player-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 196, 150, 0.45);
  color: #fff;
}

/* ==========================================================================
   Glass Panels & Cookie / Auth Modals
   ========================================================================== */
.glass-panel {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}

.cookie-banner-overlay {
  position: fixed;
  bottom: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: -moz-fit-content;
  width: fit-content;
  max-width: min(94vw, 1340px);
  z-index: 2147483647;
  transition: bottom 0.6s var(--ease-out);
  pointer-events: auto;
  box-sizing: border-box;
}

.cookie-banner-overlay.show {
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.cookie-content {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Specific Cookie Banner Overrides: Elegant floating horizontal layout */
.cookie-banner-overlay .cookie-content {
  padding: 1.4rem 2.4rem;
  gap: 1.15rem;
  max-width: 100%;
  box-sizing: border-box;
}

.cookie-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 680px;
}

.cookie-banner-overlay .cookie-text {
  max-width: 100%;
  width: 100%;
  gap: 0.55rem;
  text-align: center;
}

.cookie-content p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.cookie-banner-overlay .cookie-content p {
  font-size: clamp(0.77rem, 0.56vw + 0.18rem, 0.85rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.015em;
  margin: 0;
  color: var(--text-secondary);
}

/* Desktop screens where UI space allows (>= 1024px):
   Every paragraph is strictly placed on a single horizontal line */
@media (min-width: 1024px) {
  .cookie-banner-overlay {
    width: -moz-fit-content;
    width: fit-content;
    max-width: min(94vw, 1340px);
  }
  .cookie-banner-overlay .cookie-content {
    padding: 1.45rem 2.5rem;
    gap: 1.15rem;
  }
  .cookie-banner-overlay .cookie-content p {
    white-space: nowrap;
  }
  .cookie-banner-overlay .cookie-actions {
    flex-wrap: nowrap;
    gap: 0.85rem;
  }
}

/* Tablet & Intermediate screens (601px - 1023px):
   Natural line wrap, slightly smaller font, responsive margins */
@media (max-width: 1023px) {
  .cookie-banner-overlay {
    max-width: 92vw;
  }
  .cookie-banner-overlay .cookie-content {
    padding: 1.35rem 1.6rem;
    gap: 1.1rem;
  }
  .cookie-banner-overlay .cookie-text {
    max-width: 760px;
    gap: 0.65rem;
  }
  .cookie-banner-overlay .cookie-content p {
    font-size: 0.79rem;
    line-height: 1.55;
    white-space: normal;
  }
  .cookie-banner-overlay .cookie-actions {
    gap: 0.75rem;
  }
  .cookie-banner-overlay .cookie-btn {
    padding: 0.6rem 1.3rem;
    font-size: 0.72rem;
  }
}

.cookie-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 190, 128, 0.3);
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.cookie-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(246, 190, 128, 0.08);
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 640px) {
  .sv-shell {
    padding: 1.5rem 1.25rem;
  }
  .sv-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 40px;
  }
  .sv-corner-mark {
    position: static;
    transform: none;
    width: auto;
    justify-content: flex-start;
  }
  body[data-active-view="home"] .sv-corner-mark {
    display: none;
  }
  body[data-active-view="services"] .sv-corner-mark,
  body[data-active-view="about"] .sv-corner-mark,
  body[data-active-view="contact"] .sv-corner-mark,
  body[data-active-view="faq"] .sv-corner-mark {
    display: inline-flex;
  }
  .sv-nav {
    display: none !important;
  }
  .sv-logo-img {
    width: clamp(230px, 64vw, 310px);
  }
  .sv-statement {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }
  .sv-credits-section {
    padding: 1.15rem 1rem;
    margin-top: 1.5rem;
  }
  .sv-credit-tag {
    font-size: 0.72rem;
    padding: 0.22rem 0.52rem;
  }
  .sv-footer,
  .sv-footer#footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  .sv-footer-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(0.42rem, 2.3vw, 1rem) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .sv-footer-link {
    font-size: clamp(0.56rem, 2.05vw, 0.68rem) !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.2rem 0.05rem !important;
  }
  .sv-footer-copyright {
    font-size: clamp(0.52rem, 1.8vw, 0.62rem) !important;
    letter-spacing: 0.05em !important;
    opacity: 0.55 !important;
  }
}

/* ==========================================================================
   Licensing & Inquiries System (Contact Section & Library Modal)
   ========================================================================== */
.sv-contact-editorial {
  max-width: 720px;
}

/* ==========================================================================
   Discreet In-Flow Contact Form Accordion
   ========================================================================== */
.sv-contact-form-accordion {
  width: 100%;
  border-top: 1px solid var(--hairline);
  margin-top: 2.8rem;
  padding-top: 0;
}

.sv-contact-form-trigger {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-primary);
  transition: border-color 0.25s ease;
}

.sv-contact-form-trigger:hover {
  border-bottom-color: rgba(232, 196, 150, 0.4);
}

.sv-contact-trigger-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sv-contact-trigger-title {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.sv-contact-form-trigger:hover .sv-contact-trigger-title {
  color: #ffffff;
}

.sv-contact-trigger-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.sv-contact-trigger-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.sv-contact-trigger-text {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  transition: color 0.2s ease;
}

.sv-contact-trigger-icon {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--gold-soft);
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  display: inline-block;
}

.sv-contact-form-trigger:hover .sv-contact-trigger-text,
.sv-contact-form-trigger:hover .sv-contact-trigger-icon {
  color: var(--gold);
}

/* Open State */
.sv-contact-form-accordion.is-open .sv-contact-form-trigger {
  border-bottom-color: transparent;
  padding-bottom: 0.75rem;
}

.sv-contact-form-accordion.is-open .sv-contact-trigger-icon {
  transform: rotate(45deg);
  color: var(--text-secondary);
}

.sv-contact-form-accordion.is-open .sv-contact-trigger-text {
  color: var(--text-dim);
}

/* Smooth Accordion Body (CSS grid-template-rows transition) */
.sv-contact-form-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  opacity: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.sv-contact-form-accordion.is-open .sv-contact-form-body {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 2rem;
}

.sv-contact-form-inner {
  min-height: 0;
  overflow: hidden;
  padding-top: 0.8rem;
}

.sv-contact-form-inner .sv-licensing-intro {
  margin-bottom: 1.6rem !important;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .sv-contact-form-trigger {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem 0;
  }
  .sv-contact-trigger-action {
    align-self: flex-start;
  }
}

.sv-licensing-header {
  margin-bottom: 1.75rem;
}

.sv-licensing-header h2 {
  font-size: clamp(1.22rem, 1.9vw, 1.44rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0 0 0.65rem !important;
}

.sv-licensing-intro {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 !important;
}

/* Segmented Inquiry Type Toggle */
.sv-inquiry-type-bar {
  display: inline-flex;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.24rem;
  gap: 0.25rem;
  margin-bottom: 1.85rem;
}

.sv-inquiry-type-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.52rem 1.05rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sv-inquiry-type-btn:hover {
  color: var(--text-primary);
}

.sv-inquiry-type-btn.active {
  background: rgba(232, 196, 150, 0.12);
  border-color: rgba(232, 196, 150, 0.36);
  color: var(--gold);
}

/* Form Layout & Fieldsets */
.sv-lic-form {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
}

.sv-lic-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 22, 22, 0.65);
  border-radius: 10px;
  padding: 1.45rem 1.5rem 1.55rem;
  margin: 0;
}

.sv-lic-fieldset-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sv-lic-fieldset-title {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.sv-lic-fieldset-step {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.sv-lic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.sv-lic-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.sv-lic-field.full-width {
  grid-column: 1 / -1;
}

.sv-lic-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.sv-lic-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.015em;
}

.sv-lic-req {
  color: var(--gold);
  margin-left: 0.18rem;
  font-weight: 500;
}

.sv-lic-opt {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Inputs, Selects, Textareas */
.sv-lic-input,
.sv-lic-select,
.sv-lic-textarea {
  width: 100%;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.62rem 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.45;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  outline: none;
}

.sv-lic-input::placeholder,
.sv-lic-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.sv-lic-input:focus,
.sv-lic-select:focus,
.sv-lic-textarea:focus {
  border-color: rgba(232, 196, 150, 0.55);
  background: #151515;
}

.sv-lic-input.has-error,
.sv-lic-select.has-error,
.sv-lic-textarea.has-error,
.sv-lic-track-picker.has-error .sv-lic-track-search-wrap {
  border-color: #e57373;
}

.sv-lic-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.1rem;
  cursor: pointer;
}

.sv-lic-select option {
  background: #161616;
  color: #ffffff;
}

.sv-lic-textarea {
  resize: vertical;
  min-height: 84px;
}

.sv-lic-helper {
  font-size: 0.74rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0.15rem 0 0 !important;
}

.sv-lic-error {
  font-size: 0.74rem;
  font-weight: 400;
  color: #ef9a9a;
  min-height: 0;
  display: none;
  margin: 0.12rem 0 0 !important;
}

.sv-lic-error.visible {
  display: block;
}

/* Selected Track Cards & Track Search Picker */
.sv-lic-track-picker {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
}

.sv-lic-selected-tracks {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.sv-lic-selected-tracks:empty {
  display: none;
}

.sv-lic-track-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(232, 196, 150, 0.06);
  border: 1px solid rgba(232, 196, 150, 0.25);
  border-radius: 7px;
  padding: 0.52rem 0.75rem;
}

.sv-lic-track-card-left {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  min-width: 0;
  flex: 1;
}

.sv-lic-track-emblem {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sv-lic-track-emblem img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.85;
}

.sv-lic-track-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sv-lic-track-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.sv-lic-track-title span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.sv-lic-id-badge,
.vault-track-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--gold);
  background: rgba(232, 196, 150, 0.1);
  border: 1px solid rgba(232, 196, 150, 0.28);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.vault-track-id {
  margin-right: 0.42rem;
}

.player-track-id {
  margin-right: 0.35rem;
  vertical-align: middle;
}

.sv-lic-track-sub {
  font-size: 0.71rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sv-lic-track-remove {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.sv-lic-track-remove:hover {
  border-color: rgba(239, 154, 154, 0.5);
  color: #ef9a9a;
  background: rgba(239, 154, 154, 0.08);
}

.sv-lic-track-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.25rem 0.35rem 0.25rem 0.72rem;
  transition: border-color 0.18s ease;
}

.sv-lic-track-search-wrap:focus-within {
  border-color: rgba(232, 196, 150, 0.55);
}

.sv-lic-track-search-icon {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
  opacity: 0.75;
}

.sv-lic-track-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 300;
  padding: 0.36rem 0;
  outline: none;
  min-width: 0;
}

.sv-lic-track-search-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.sv-lic-track-manual-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.36rem 0.68rem;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.sv-lic-track-manual-btn:hover {
  color: #ffffff;
  border-color: rgba(232, 196, 150, 0.4);
  background: rgba(232, 196, 150, 0.09);
}

.sv-lic-track-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.3rem;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
  max-height: 250px;
  overflow-y: auto;
  z-index: 80;
  display: none;
}

.sv-lic-track-dropdown.open {
  display: block;
}

.sv-lic-track-option {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.58rem 0.85rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-primary);
  transition: background 0.14s ease;
}

.sv-lic-track-option:last-child {
  border-bottom: none;
}

.sv-lic-track-option:hover,
.sv-lic-track-option:focus {
  background: rgba(232, 196, 150, 0.1);
  outline: none;
}

.sv-lic-track-opt-main {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.83rem;
  font-weight: 400;
  color: #ffffff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-lic-track-opt-sub {
  font-size: 0.71rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Pill Checkboxes (Audience, Media/Platforms, Editing Requirements) */
.sv-lic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.15rem;
}

.sv-lic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #131313;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  padding: 0.36rem 0.68rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
}

.sv-lic-pill:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text-primary);
}

.sv-lic-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sv-lic-pill.checked {
  background: rgba(232, 196, 150, 0.12);
  border-color: rgba(232, 196, 150, 0.45);
  color: var(--gold);
  font-weight: 400;
}

/* Duration & Budget Special Inputs */
.sv-lic-duration-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sv-lic-duration-preset {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.74rem;
  padding: 0.56rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.sv-lic-duration-preset:hover,
.sv-lic-duration-preset.active {
  background: rgba(232, 196, 150, 0.12);
  border-color: rgba(232, 196, 150, 0.45);
  color: var(--gold);
}

.sv-lic-budget-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.sv-lic-budget-wrap:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.sv-lic-budget-wrap:focus-within {
  border-color: rgba(232, 196, 150, 0.55);
  background: #161616;
  box-shadow: 0 0 0 1px rgba(232, 196, 150, 0.25);
}

.sv-lic-currency-select {
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.62rem 1.65rem 0.62rem 0.85rem;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23e8c496' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.sv-lic-currency-select:hover {
  background-color: rgba(232, 196, 150, 0.08);
}

.sv-lic-budget-wrap .sv-lic-budget-input {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.62rem 0.85rem !important;
  flex: 1;
  min-width: 0;
  box-shadow: none !important;
  outline: none !important;
}

/* Honeypot Field (Visually Hidden) */
.sv-lic-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Submit Footer & Privacy Notice */
.sv-lic-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.sv-lic-privacy-note {
  font-size: 0.76rem !important;
  font-weight: 300;
  line-height: 1.55 !important;
  color: var(--text-dim) !important;
  margin: 0 !important;
}

.sv-lic-privacy-note a {
  color: var(--text-secondary) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sv-lic-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 2-Step Wizard Stepper & Navigation */
.sv-lic-wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 1.4rem auto;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  width: fit-content;
  max-width: 100%;
}

.sv-lic-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sv-lic-step-pill.active {
  color: var(--accent-gold);
}

.sv-lic-step-pill.completed {
  color: rgba(255, 255, 255, 0.9);
}

.sv-lic-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.sv-lic-step-pill.active .sv-lic-step-num {
  background: var(--accent-gold);
  color: #0c0d10;
}

.sv-lic-step-pill.completed .sv-lic-step-num {
  background: rgba(232, 196, 150, 0.25);
  color: var(--accent-gold);
}

.sv-lic-step-line {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.sv-lic-step-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.sv-lic-wizard-back-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--text-secondary) !important;
  padding: 0.72rem 1.4rem !important;
  border-radius: 6px !important;
  font-family: inherit !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  transition: all 0.2s ease !important;
  min-height: 42px !important;
}

.sv-lic-wizard-back-btn:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.sv-lic-submit-btn {
  background: var(--gold);
  color: #111111;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0.75rem 1.6rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  box-sizing: border-box;
}

.sv-lic-submit-btn:hover:not(:disabled) {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 196, 150, 0.25);
}

.sv-lic-submit-btn:disabled:not(.is-submitting) {
  opacity: 0.45;
  cursor: not-allowed;
}

.sv-lic-submit-btn.is-submitting {
  background: var(--gold);
  color: #111111;
  opacity: 0.92;
  cursor: wait;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(232, 196, 150, 0.2);
}

.sv-lic-submit-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(17, 17, 17, 0.25);
  border-top-color: #111111;
  border-radius: 50%;
  display: inline-block;
  animation: svBtnSpin 0.75s linear infinite;
  flex-shrink: 0;
}

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

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

.sv-lic-status-banner {
  padding: 0.75rem 0.95rem;
  border-radius: 7px;
  font-size: 0.82rem;
  line-height: 1.5;
  display: none;
}

.sv-lic-status-banner.error {
  display: block;
  background: rgba(229, 115, 115, 0.1);
  border: 1px solid rgba(229, 115, 115, 0.35);
  color: #ffcdd2;
}

/* Confirmation State */
.sv-lic-confirmation {
  background: rgba(22, 22, 22, 0.85);
  border: 1px solid rgba(232, 196, 150, 0.3);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: left;
}

.sv-lic-conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.sv-lic-confirmation h3 {
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  color: #ffffff !important;
  margin: 0 0 0.55rem !important;
}

.sv-lic-confirmation p {
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  margin-bottom: 1.1rem !important;
}

.sv-lic-conf-summary {
  background: #131313;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sv-lic-conf-summary strong {
  color: #ffffff;
  font-weight: 400;
}

.sv-lic-conf-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.sv-lic-conf-actions button,
.sv-lic-conf-btn {
  width: 200px;
  max-width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 1.25rem;
  font-family: inherit;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.sv-lic-conf-actions .sv-lic-submit-btn,
.sv-lic-conf-btn-primary {
  background: var(--gold) !important;
  color: #111111 !important;
  border: 1px solid var(--gold) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.sv-lic-conf-actions .sv-lic-submit-btn:hover,
.sv-lic-conf-btn-primary:hover {
  background: var(--gold-soft) !important;
  border-color: var(--gold-soft) !important;
  color: #111111 !important;
  box-shadow: 0 0 16px rgba(232, 196, 150, 0.28);
}

.sv-lic-conf-actions .sv-lic-track-manual-btn,
.sv-lic-conf-actions [data-reset-inquiry],
.sv-lic-conf-btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: var(--text-primary) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

.sv-lic-conf-actions .sv-lic-track-manual-btn:hover,
.sv-lic-conf-actions [data-reset-inquiry]:hover,
.sv-lic-conf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Licensing Modal Confirmation State
   Single clean container with X button inside — no double boxing
   ========================================================================== */
.sv-lic-controller.is-confirmed .sv-inquiry-type-bar {
  display: none !important;
}

.sv-lic-modal-dialog.is-confirmed {
  max-width: 640px !important;
  background: #161616 !important;
  border: 1px solid rgba(232, 196, 150, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.85) !important;
  position: relative !important;
}

.sv-lic-modal-dialog.is-confirmed .sv-lic-modal-top {
  border-bottom: none !important;
  background: transparent !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.sv-lic-modal-dialog.is-confirmed .sv-lic-modal-top > div {
  display: none !important;
}

.sv-lic-modal-dialog.is-confirmed .sv-lic-modal-close {
  position: absolute !important;
  top: 1.35rem !important;
  right: 1.35rem !important;
  z-index: 10 !important;
}

.sv-lic-modal-dialog.is-confirmed .sv-lic-modal-body {
  padding: 2rem 2rem 2rem 2rem !important;
  overflow-y: visible !important;
}

/* Remove inner container border & padding so there is only one single card */
.sv-lic-modal-dialog.is-confirmed .sv-lic-confirmation {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.library-track-item.track-spotlight {
  outline: 2px solid var(--accent-gold) !important;
  outline-offset: -2px;
  background: rgba(246, 190, 128, 0.12) !important;
  box-shadow: 0 0 20px rgba(246, 190, 128, 0.25) !important;
  transition: all 0.35s ease;
}

/* Library Modal / Drawer Overlay */
html.sv-modal-open,
body.sv-modal-open {
  overflow: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
}

.sv-lic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sv-lic-modal-overlay.open {
  display: flex;
}

.sv-lic-modal-dialog {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
  max-height: calc(100dvh - 2.5rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  overscroll-behavior: contain;
}

.sv-lic-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #181818;
}

.sv-lic-modal-top h2 {
  font-size: 1.15rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 0.25rem;
  letter-spacing: 0.01em;
}

.sv-lic-modal-top p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.sv-lic-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.sv-lic-modal-close:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.sv-lic-modal-body {
  padding: 1.4rem 1.6rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 190, 128, 0.35) rgba(255, 255, 255, 0.03);
}

.sv-lic-modal-body::-webkit-scrollbar {
  width: 6px;
}

.sv-lic-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.sv-lic-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.sv-lic-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Track Row & Audio Player "Request a License" Button in library.html */
.license-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(232, 196, 150, 0.08);
  border: 1px solid rgba(232, 196, 150, 0.28);
  color: var(--gold);
  font-family: inherit;
  padding: 0;
  width: 26px;
  height: 24px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.license-row-btn:hover {
  background: rgba(232, 196, 150, 0.18);
  border-color: rgba(232, 196, 150, 0.55);
  color: #ffffff;
}

.license-row-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.player-license-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(232, 196, 150, 0.1);
  border: 1px solid rgba(232, 196, 150, 0.32);
  color: var(--gold);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.72rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.player-license-btn:hover {
  background: rgba(232, 196, 150, 0.2);
  border-color: var(--gold);
  color: #ffffff;
}

/* Collapsible Sections in Group B & C */
.sv-lic-collapse-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.55rem 0.85rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.sv-lic-collapse-toggle:hover {
  background: rgba(232, 196, 150, 0.06);
  border-color: rgba(232, 196, 150, 0.35);
  color: #ffffff;
}

.sv-lic-collapse-toggle.open {
  background: rgba(232, 196, 150, 0.08);
  border-style: solid;
  border-color: rgba(232, 196, 150, 0.4);
  color: var(--gold);
}

.sv-lic-collapse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.sv-lic-collapse-toggle.open .sv-lic-collapse-icon {
  background: rgba(232, 196, 150, 0.2);
  color: var(--gold);
}

.sv-lic-collapsible {
  margin-top: 0.25rem;
  animation: svFadeIn 0.22s ease-out;
}

@keyframes svFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Track Audio Preview Buttons in Form & Dropdown */
.sv-lic-track-play-btn {
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
  background: transparent;
  transition: all 0.18s ease;
}

.sv-lic-track-play-btn:hover {
  border-color: rgba(232, 196, 150, 0.5);
  transform: scale(1.05);
}

.sv-lic-track-play-btn .sv-lic-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.16s ease;
  color: #ffffff;
}

.sv-lic-track-play-btn:hover .sv-lic-play-overlay,
.sv-lic-track-play-btn.playing .sv-lic-play-overlay {
  opacity: 1;
}

.sv-lic-track-play-btn .sv-lic-icon-pause {
  display: none;
}

.sv-lic-track-play-btn.playing {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(232, 196, 150, 0.35);
}

.sv-lic-track-play-btn.playing .sv-lic-icon-play {
  display: none;
}

.sv-lic-track-play-btn.playing .sv-lic-icon-pause {
  display: block;
}

.sv-lic-track-option-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sv-lic-track-option-row:last-child {
  border-bottom: none;
}

.sv-lic-opt-play-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 34px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-left: 0.35rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.sv-lic-opt-play-btn:hover {
  color: var(--gold);
  background: rgba(232, 196, 150, 0.12);
}

.sv-lic-opt-play-btn svg {
  width: 13px;
  height: 13px;
}

.sv-lic-opt-play-btn .sv-lic-icon-pause {
  display: none;
}

.sv-lic-opt-play-btn.playing {
  color: var(--gold);
  background: rgba(232, 196, 150, 0.18);
}

.sv-lic-opt-play-btn.playing .sv-lic-icon-play {
  display: none;
}

.sv-lic-opt-play-btn.playing .sv-lic-icon-pause {
  display: block;
}

.sv-lic-track-option-row .sv-lic-track-option {
  border-bottom: none;
}

/* License Playlist Action in Library Collection Banner & Sidebar */
.collection-license-btn {
  width: auto !important;
  min-width: unset !important;
  padding: 0 0.85rem !important;
  gap: 0.45rem !important;
  font-family: inherit !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  background: rgba(232, 196, 150, 0.12) !important;
  border: 1px solid rgba(232, 196, 150, 0.38) !important;
  color: var(--gold) !important;
}

.collection-license-btn:hover {
  background: rgba(232, 196, 150, 0.22) !important;
  border-color: var(--gold) !important;
  color: #ffffff !important;
}

.sidebar-pl-license-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.sidebar-pl-license-btn:hover {
  color: var(--gold);
  background: rgba(232, 196, 150, 0.15);
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .sv-inquiry-type-bar {
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
  .sv-inquiry-type-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 0.52rem 0.45rem;
    font-size: 0.72rem;
  }
  .sv-lic-grid {
    grid-template-columns: 1fr;
  }
  .sv-lic-fieldset {
    padding: 1.15rem 1.05rem;
  }
  .sv-lic-collapse-toggle {
    align-items: flex-start;
    white-space: normal;
    line-height: 1.45;
  }
  .sv-lic-collapse-icon {
    margin-top: 2px;
  }
  .sv-lic-track-card {
    min-width: 0;
  }
  .sv-lic-track-card-left {
    min-width: 0;
    flex: 1;
  }
  .sv-lic-track-title {
    min-width: 0;
  }
  .sv-lic-modal-overlay {
    padding: 0.65rem;
  }
  .sv-lic-modal-top,
  .sv-lic-modal-body {
    padding: 1.1rem;
  }
  .license-row-btn span {
    display: none;
  }
  .license-row-btn {
    padding: 0.32rem 0.42rem;
  }
  .collection-license-btn {
    padding: 0 0.65rem !important;
    font-size: 0.72rem !important;
  }
  .sv-lic-modal-dialog.is-confirmed .sv-lic-modal-close {
    top: 1.1rem !important;
    right: 1.1rem !important;
  }
  .sv-lic-modal-dialog.is-confirmed .sv-lic-modal-body {
    padding: 1.5rem 1.25rem 1.5rem 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .sv-lic-submit-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.75rem;
  }
  .sv-lic-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .sv-lic-cancel-btn {
    width: 100%;
    text-align: center;
  }
  .sv-lic-duration-row {
    flex-wrap: wrap;
  }
  .sv-lic-track-search-wrap {
    gap: 0.35rem;
    padding: 0.25rem 0.35rem 0.25rem 0.55rem;
  }
  .sv-lic-track-manual-btn {
    padding: 0.32rem 0.52rem;
    font-size: 0.68rem;
  }
  .sv-lic-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .sv-lic-conf-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .sv-lic-conf-actions button,
  .sv-lic-conf-btn {
    width: 100% !important;
  }
}

/* ==========================================================================
   Smooth Page Transitions
   ========================================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: svPageFadeOut 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(root) {
  animation: svPageFadeIn 0.24s cubic-bezier(0, 0, 0.2, 1) both;
}

@keyframes svPageFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes svPageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.sv-page-transition {
  animation: svPageFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.sv-page-leaving {
  opacity: 0 !important;
  transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ==========================================================================
   Back to Top Floating Button
   ========================================================================== */
.sv-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.26s ease,
              transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sv-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.sv-back-to-top:hover {
  background: rgba(28, 28, 28, 0.95);
  border-color: rgba(232, 196, 150, 0.55);
  color: var(--gold);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 14px rgba(232, 196, 150, 0.25);
}

.sv-back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.sv-back-to-top svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.sv-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Float above docked audio player when player is visible */
body:has(.audio-player.visible) .sv-back-to-top,
body.has-docked-player .sv-back-to-top {
  bottom: calc(74px + 1.35rem) !important;
}

@media (max-width: 768px) {
  .sv-back-to-top {
    bottom: calc(1.2rem + env(safe-area-inset-bottom, 0));
    right: 1.2rem;
    width: 40px;
    height: 40px;
  }
  body:has(.audio-player.visible) .sv-back-to-top,
  body.has-docked-player .sv-back-to-top {
    bottom: calc(90px + env(safe-area-inset-bottom, 0) + 0.8rem) !important;
  }
}

/* Header Login Button & Status */
.sv-header-auth {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 70;
}
.sv-header-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sv-header-login-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}
.sv-header-login-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Modern My Area Header Button & Dropdown */
.sv-header-dropdown-wrap {
  position: relative;
  display: inline-block;
  width: auto;
}
.sv-header-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #ffffff;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sv-header-user-btn:hover,
.sv-header-user-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 196, 150, 0.08);
}
.sv-header-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.sv-header-dropdown.show {
  display: flex;
}
.sv-dropdown-user-info {
  padding: 0.5rem 0.7rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.2rem;
}
.sv-dropdown-badge-title {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 0.15rem;
}
.sv-dropdown-user-name {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.sv-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}
.sv-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.sv-dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.sv-dropdown-item-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.sv-dropdown-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.sv-dropdown-count-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}
.sv-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.25rem 0;
}

@media (max-width: 768px) {
  .sv-nav {
    display: none !important;
  }
  .sv-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 40px;
  }
  .sv-corner-mark {
    position: static;
    transform: none;
    width: auto;
    justify-content: flex-start;
  }
  .sv-header-auth {
    position: static;
    transform: none;
    margin-top: 0;
    margin-left: auto;
  }
  .sv-header-dropdown {
    right: 0;
    left: auto;
    transform: none;
    min-width: 190px;
  }
}

/* Manage Playlists Modal Styles */
#managePlaylistsModalOverlay .custom-modal {
  max-width: 520px;
  padding: 2rem 2.2rem;
  gap: 1.4rem;
}
.manage-playlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.2s ease;
  gap: 1.2rem;
}
.manage-playlist-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.manage-playlist-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
}
.manage-playlist-name {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.35;
  transition: color 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.manage-playlist-name svg {
  margin-top: 3px;
  flex-shrink: 0;
}
.manage-playlist-title-text {
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere;
}
.manage-playlist-info:hover .manage-playlist-name {
  color: var(--accent-gold);
  transform: translateX(2px);
}
.manage-playlist-count {
  font-size: 0.73rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.02em;
  padding-left: calc(13px + 0.5rem);
}
.manage-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.manage-btn-delete,
.manage-btn-rename,
.manage-btn-share {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.manage-btn-delete:hover {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.12);
}
.manage-btn-rename:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}
.manage-btn-share:hover {
  color: var(--accent-gold);
  border-color: rgba(197, 160, 89, 0.35);
  background: rgba(197, 160, 89, 0.15);
}

/* ==========================================================================
   Sonar Vault — Modern "MY AREA" Slide-Over Drawer
   ========================================================================== */
.sv-user-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.sv-user-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sv-user-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 94vw;
  height: 100vh;
  background: #111111;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.sv-user-drawer-overlay.open .sv-user-drawer {
  transform: translateX(0);
}

/* Drawer Header */
.sv-drawer-header {
  padding: 1.5rem 1.6rem 1.2rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.015);
}
.sv-drawer-user-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.sv-drawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.sv-drawer-avatar svg {
  width: 18px;
  height: 18px;
}
.sv-drawer-user-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sv-drawer-user-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sv-drawer-user-name {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-drawer-role-badge {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(197, 160, 89, 0.3);
}
.sv-drawer-user-email {
  font-size: 0.74rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.sv-drawer-close-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
.sv-drawer-close-btn svg {
  width: 16px;
  height: 16px;
}

/* Drawer Tabs */
.sv-drawer-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 1.2rem;
  background: rgba(0, 0, 0, 0.2);
  gap: 0.5rem;
}
.sv-drawer-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.95rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin-bottom: -1px;
}
.sv-drawer-tab-btn:hover {
  color: #ffffff;
}
.sv-drawer-tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}
.sv-drawer-tab-btn svg {
  width: 14px;
  height: 14px;
}
.sv-drawer-tab-badge {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  background: rgba(197, 160, 89, 0.18);
  color: var(--accent-gold);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

/* Drawer Body & Scroll */
.sv-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.4rem 1.6rem;
  box-sizing: border-box;
}
.sv-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.sv-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.sv-drawer-tab-content {
  display: none;
  animation: svDrawerFadeIn 0.2s ease-out;
}
.sv-drawer-tab-content.active {
  display: block;
}
@keyframes svDrawerFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Favorites Quick Card */
.sv-drawer-fav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.4rem;
}
.sv-drawer-fav-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(197, 160, 89, 0.4);
  transform: translateY(-1px);
}
.sv-drawer-fav-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.sv-drawer-fav-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-drawer-fav-icon svg {
  width: 16px;
  height: 16px;
}
.sv-drawer-fav-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}
.sv-drawer-fav-count {
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.sv-drawer-fav-arrow {
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-weight: 500;
  transition: transform 0.2s ease;
}
.sv-drawer-fav-card:hover .sv-drawer-fav-arrow {
  transform: translateX(3px);
}

/* Sections */
.sv-drawer-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.sv-drawer-section-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sv-drawer-section-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.sv-drawer-section-count {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

/* Indicator dots */
.sv-license-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.sv-license-indicator.active {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}
.sv-license-indicator.pending {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

/* Create Playlist Bar */
.sv-drawer-create-pl {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.sv-drawer-create-pl input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  color: #ffffff;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.sv-drawer-create-pl input:focus {
  border-color: var(--accent-gold);
}
.sv-drawer-create-pl button {
  background: var(--accent-gold);
  color: #000000;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1rem;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.sv-drawer-create-pl button:hover {
  background: #e8c496;
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

/* Playlist list items */
.sv-drawer-pl-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* License & Request Cards */
.sv-drawer-card {
  padding: 1rem 1.15rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.2s ease;
  margin-bottom: 0.75rem;
}
.sv-drawer-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}
.sv-drawer-card.active-lic {
  border-left: 3px solid #10b981;
}
.sv-drawer-card.pending-lic {
  border-left: 3px solid #f59e0b;
}
.sv-drawer-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.sv-drawer-card-project {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}
.sv-drawer-card-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.sv-drawer-card-badge.status-licensed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.sv-drawer-card-badge.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.sv-drawer-card-badge.status-closed {
  background: rgba(255, 255, 255, 0.06);
  color: #888888;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sv-drawer-card-badge.status-rejected,
.sv-drawer-card-badge.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.sv-drawer-card-badge.status-in-review,
.sv-drawer-card-badge.status-responded {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.sv-drawer-withdraw-btn:hover {
  background: rgba(248, 113, 113, 0.12) !important;
  border-color: rgba(248, 113, 113, 0.6) !important;
  color: #f87171 !important;
}
.sv-drawer-card-tracks {
  font-size: 0.78rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sv-drawer-card-track-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e5e5e5;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.25rem 0.45rem;
  margin: -0.15rem -0.25rem;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.8rem;
  text-align: left;
  transition: all 0.16s ease;
}
.sv-drawer-card-track-item:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.06);
}
.sv-drawer-card-track-item svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent-gold);
  fill: var(--accent-gold);
  flex-shrink: 0;
}
.sv-drawer-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.5rem;
  margin-top: 0.2rem;
}
.sv-drawer-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Empty states */
.sv-drawer-empty-state {
  text-align: center;
  padding: 2.2rem 1.2rem;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 1rem;
}
.sv-drawer-empty-state svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-secondary);
  margin-bottom: 0.6rem;
  opacity: 0.6;
}
.sv-drawer-empty-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.sv-drawer-empty-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}

/* CTA Box */
.sv-drawer-new-inquiry-box {
  margin-top: 2rem;
  padding: 1.1rem;
  border-radius: 8px;
  background: rgba(197, 160, 89, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}
.sv-drawer-new-inquiry-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.sv-drawer-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sv-drawer-request-btn:hover {
  background: var(--accent-gold);
  color: #000000;
}

/* Drawer Footer */
.sv-drawer-footer {
  padding: 1.1rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sv-drawer-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sv-drawer-logout-btn:hover {
  background: #ef4444;
  color: #ffffff;
}
.sv-drawer-logout-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 600px) {
  .sv-user-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .cookie-banner-overlay {
    max-width: 95vw;
    width: 95vw;
    left: 50%;
  }
  .cookie-banner-overlay.show {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner-overlay .cookie-content,
  .cookie-content {
    padding: 1.25rem 1rem;
    gap: 0.95rem;
  }
  .cookie-banner-overlay .cookie-text {
    gap: 0.5rem;
    max-width: 100%;
  }
  .cookie-banner-overlay .cookie-content p {
    font-size: 0.74rem;
    line-height: 1.45;
    letter-spacing: 0.01em;
    white-space: normal;
  }
  .cookie-content p {
    font-size: 0.80rem;
    line-height: 1.5;
  }
  .cookie-banner-overlay .cookie-actions,
  .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
  }
  .cookie-banner-overlay .cookie-btn,
  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.8rem;
    font-size: 0.70rem;
    letter-spacing: 0.12em;
  }
}

/* ==========================================================================
   Mobile Native App Bottom Navigation Bar
   (Active on Mobile / Tablet <= 768px, matching native iOS/Android feel)
   ========================================================================== */
.sv-app-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile Shared Footer: Single horizontal line of links + copyright below */
  .sv-footer,
  .sv-footer#footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
  }

  .sv-footer-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(0.42rem, 2.3vw, 1rem) !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 101 !important;
    pointer-events: auto !important;
  }

  .sv-footer-link {
    font-size: clamp(0.56rem, 2.05vw, 0.68rem) !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.35rem 0.15rem !important;
    position: relative !important;
    z-index: 102 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .sv-footer-copyright {
    font-size: clamp(0.52rem, 1.8vw, 0.62rem) !important;
    letter-spacing: 0.05em !important;
    opacity: 0.55 !important;
  }

  .sv-app-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(12, 13, 16, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
    z-index: 9500 !important;
    display: flex;
    align-items: stretch;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
  }

  .sv-app-tab {
    flex: 1;
    max-width: 140px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 6px 4px 6px;
    transition: color 0.18s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .sv-app-tab svg,
  .sv-app-tab-label {
    pointer-events: none;
  }

  .sv-app-tab:active {
    transform: scale(0.92);
    color: var(--accent-gold);
  }

  .sv-app-tab svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    transition: stroke 0.18s ease, transform 0.18s ease;
  }

  .sv-app-tab-label {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.18s ease;
  }

  .sv-app-tab.active {
    color: var(--accent-gold);
  }

  .sv-app-tab.active svg {
    stroke: var(--accent-gold);
  }

  .sv-app-tab.active .sv-app-tab-label {
    color: var(--accent-gold);
    font-weight: 600;
  }

  /* Ensure page contents don't hide behind fixed bottom bar */
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Docked audio player sitting directly flush on top of the mobile bottom tab bar */
  body .audio-player.visible,
  .audio-player.visible,
  body .audio-player,
  .audio-player {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(14, 15, 19, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6) !important;
    z-index: 8990 !important;
  }

  body:has(.audio-player.visible),
  body.has-docked-player {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px) + 76px + 16px) !important;
  }

  /* Back to top button floats above tab bar or docked player */
  .sv-back-to-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body:has(.audio-player.visible) .sv-back-to-top,
  body.has-docked-player .sv-back-to-top {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px) + 76px + 12px) !important;
  }

  /* Mobile Pure Music Listening: Hide Non-Essential Action Buttons & One-Stop Box */
  .sv-header-auth,
  #headerAuthContainer,
  .sv-header-login-btn,
  .sv-header-user-btn,
  .sidebar-trust-box,
  .hub-crates-section,
  .btn-license,
  .license-row-btn,
  .btn-fav,
  .btn-playlist,
  .btn-cuesheet,
  .btn-info,
  .btn-download,
  .track-select-cb,
  #selectAllTracksCb,
  .vault-bulk-bar,
  .collection-actions,
  .sidebar-pl-actions,
  .sidebar-pl-license-btn,
  .track-album-sublink,
  #playerLicenseBtn,
  #playerShareBtn,
  #playerCueSheetBtn,
  #playerInfoBtn,
  #playerSimilarBtn,
  #playerTempoBtn,
  .tempo-control-wrapper,
  .player-action-icon-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Grid Row on Mobile: Play (1) | Title (2) | Duration (3) | Share (4) */
  .grid-row {
    grid-template-columns: 36px 1fr auto auto !important;
    gap: 0.65rem !important;
    align-items: center !important;
  }

  .grid-row span.row-actions-col {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .grid-row span.row-actions-col .track-action-btn:not(.btn-share) {
    display: none !important;
  }
  .grid-row span.row-actions-col .btn-info {
    display: none !important;
  }

  .grid-row span.row-actions-col .btn-share {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 32px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 6px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: color 0.18s ease, transform 0.12s ease !important;
  }

  .grid-row span.row-actions-col .btn-share:hover {
    color: var(--accent-gold) !important;
  }

  .grid-row span.row-actions-col .btn-share:active {
    transform: scale(0.88) !important;
    color: var(--accent-gold) !important;
  }

  .grid-row span.row-actions-col .btn-share svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
  }
}






@media (min-width: 769px) {
  .mobile-only-subline {
    display: none !important;
  }
}

/* Mobile Notice: Full Desktop Options Available */
.sv-mobile-desktop-notice {
  display: none;
}

@media (max-width: 768px) {
  .sv-mobile-desktop-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 0.85rem 0 1.25rem 0;
    background: rgba(232, 196, 150, 0.05);
    border: 1px solid rgba(232, 196, 150, 0.16);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }

  .sv-mobile-desktop-notice svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-gold);
    flex-shrink: 0;
    opacity: 0.9;
  }

  .sv-mobile-desktop-notice span {
    color: rgba(255, 255, 255, 0.75);
  }

  /* Mobile Tracklist: Strictly only song titles (no subtitles, styles, albums, folders) */
  .col-title-subline {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .col-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
  }

  .col-title-main {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
  }

  .col-title-text {
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    text-align: left !important;
  }
}

/* ==========================================================================
   Mobile Landing Page (Home View): Pure Minimal Splash Screen (No Scroll, No App Bar)
   ========================================================================== */
@media (max-width: 768px) {
  body[data-active-view="home"] {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
  }

  body[data-active-view="home"] .sv-shell {
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 1.2rem 1.25rem calc(0.8rem + env(safe-area-inset-bottom, 0px)) 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body[data-active-view="home"] .sv-header {
    display: none !important;
  }

  body[data-active-view="home"] .sv-stage {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
  }

  body[data-active-view="home"] #view-home {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }

  body[data-active-view="home"] .sv-home-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body[data-active-view="home"] .sv-logo-img {
    width: clamp(200px, 58vw, 260px) !important;
    height: auto !important;
    max-height: 44dvh !important;
    object-fit: contain !important;
  }

  body[data-active-view="home"] .sv-statement {
    font-size: 0.88rem !important;
    margin-top: 1.2rem !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }

  body[data-active-view="home"] .sv-footer {
    margin-top: auto !important;
    padding-top: 0.5rem !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  body[data-active-view="home"] .sv-footer-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(0.42rem, 2.3vw, 1rem) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-active-view="home"] .sv-footer-link {
    font-size: clamp(0.56rem, 2.05vw, 0.68rem) !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.2rem 0.05rem !important;
  }

  body[data-active-view="home"] .sv-footer-copyright {
    font-size: clamp(0.52rem, 1.8vw, 0.62rem) !important;
    letter-spacing: 0.05em !important;
    opacity: 0.55 !important;
  }

  body[data-active-view="home"] .sv-app-bottom-bar,
  .sv-app-bottom-bar.hidden-on-home {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body[data-active-view="home"] .sv-back-to-top {
    display: none !important;
  }

  .hub-crates-section {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

}

/* ==========================================================================
   Track Details & Cue Sheet Studio Modal (Luxury Minimalist)
   ========================================================================== */
.track-info-modal {
  max-width: 920px !important;
  width: 94vw !important;
  max-height: 90vh !important;
  padding: 2.4rem 2.6rem !important;
  gap: 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.88) !important;
  background: rgba(13, 15, 20, 0.98) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  overflow-y: auto !important;
}

.track-info-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.track-info-heading {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.track-info-subline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 7px;
}

.track-info-code-badge {
  font-family: 'Outfit', monospace, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: rgba(232, 196, 150, 0.1);
  border: 1px solid rgba(232, 196, 150, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

.track-info-meta-sep {
  opacity: 0.4;
  font-size: 0.72rem;
}

/* Two-Column Specification Grid */
.track-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.85rem;
  align-items: stretch;
}

.track-spec-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.track-spec-column-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  padding: 0 0.2rem;
}

.track-spec-column-title svg {
  opacity: 0.9;
}

.track-spec-sheet {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem 1.45rem;
  height: 100%;
  box-sizing: border-box;
}

.track-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.track-spec-row:last-child {
  border-bottom: none;
}

.track-spec-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.track-spec-val {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-primary);
  text-align: right;
  line-height: 1.45;
  word-break: break-word;
}

.track-spec-val.highlight-gold {
  color: var(--accent-gold);
  font-weight: 500;
  font-family: 'Outfit', monospace, sans-serif;
}

/* Tracklist Column Alignment & Precision */
.header-col-length,
.grid-row span.col-length {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
}

.header-col-actions,
.grid-row span.row-actions-col {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

/* Track Row Actions Column Alignment */
.row-actions-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.32rem;
  width: auto;
}

/* Track Row Favourite and Playlist buttons: visible only when logged in */
.track-action-btn.btn-fav,
.track-action-btn.btn-playlist {
  display: none !important;
}

body.vault-user-logged-in .track-action-btn.btn-fav,
body.vault-user-logged-in .track-action-btn.btn-playlist {
  display: inline-flex !important;
}

@media (max-width: 768px) {
  body.vault-user-logged-in .grid-row span.row-actions-col .track-action-btn.btn-fav,
  body.vault-user-logged-in .grid-row span.row-actions-col .track-action-btn.btn-playlist {
    display: none !important;
  }
}

.track-info-actions {
  display: flex;
  gap: 1rem;
  max-width: 480px;
  width: 100%;
  margin: 0.75rem auto 0;
}

.track-spec-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 8px;
  cursor: pointer;
  min-height: 38px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.track-spec-btn.primary {
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: #0b0c10;
  font-weight: 600;
}

.track-spec-btn.primary:hover {
  background: #d8b26e;
  border-color: #d8b26e;
  color: #000;
  transform: translateY(-1px);
}

.track-spec-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.track-spec-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 196, 150, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.track-spec-btn svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .track-info-modal {
    max-width: 95vw !important;
    padding: 1.25rem 1.15rem !important;
    max-height: 88vh !important;
  }
  .track-spec-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .track-spec-sheet {
    padding: 0.3rem 0.75rem;
  }
  .track-spec-row {
    padding: 0.42rem 0;
  }
  .track-info-actions {
    flex-direction: column;
    gap: 0.45rem;
    max-width: 100%;
  }
}

/* ==========================================================================
   Sonar Vault — Floating Toast Notification & Copied Indicator
   ========================================================================== */
#vaultToast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary, #ffffff);
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 2147483647 !important;
}
#vaultToast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
#vaultToast svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold, #c5a059);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #vaultToast {
    bottom: calc(90px + env(safe-area-inset-bottom, 0));
    max-width: 90vw;
    font-size: 0.8rem;
    padding: 0.65rem 1.1rem;
  }
}
.btn-copied-success {
  border-color: rgba(197, 160, 89, 0.5) !important;
  color: var(--accent-gold, #c5a059) !important;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* =============================================================================
   Sonar Vault — Withdraw Request Custom Modal Popup
   ============================================================================= */
.sv-withdraw-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  padding: 1.25rem;
  box-sizing: border-box;
}

.sv-withdraw-modal-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sv-withdraw-modal-dialog {
  width: 100%;
  max-width: 440px;
  background: rgba(14, 16, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  box-sizing: border-box;
}

.sv-withdraw-modal-overlay.show .sv-withdraw-modal-dialog {
  transform: scale(1);
}

.sv-withdraw-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  margin-bottom: 0.15rem;
}

.sv-withdraw-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.sv-withdraw-title {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.sv-withdraw-project-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e5e5;
  font-size: 0.88rem;
  font-weight: 400;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-withdraw-desc {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.sv-withdraw-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.sv-withdraw-btn-cancel {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e5e5;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sv-withdraw-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.sv-withdraw-btn-confirm {
  flex: 1.2;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sv-withdraw-btn-confirm:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.26);
  border-color: rgba(239, 68, 68, 0.7);
  color: #ffffff;
}

.sv-withdraw-btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
