/* SONARA iOS system. Loaded last. Pearl and ice, SF type, no serif. */

:root {
  --ios: -apple-system, "SF Pro Display", "SF Pro Text", Inter, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: var(--ios);
  --sans: var(--ios);
  --ink: #1d1d1f;
  --muted: rgba(60, 60, 67, 0.6);
  --hairline: rgba(60, 60, 67, 0.16);
  --fill: rgba(120, 120, 128, 0.1);
  --canvas: #f5f5f7;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body, button, input, select, textarea, h1, h2, h3, h4, p, small, label, a {
  font-family: var(--ios) !important;
}

body, .app-shell, #appShell {
  background: var(--canvas) !important;
  color: var(--ink);
}

h1, h2, h3, .page-title, .home-question, #landingTitle, #gateTitle, .player-intro h2, .mix-deck-head h3 {
  font-family: var(--ios) !important;
  font-weight: 700 !important;
  letter-spacing: -0.022em !important;
  background: none !important;
  -webkit-text-fill-color: currentColor;
  color: var(--ink);
}

h1, .home-question, .page-title, #landingTitle {
  font-size: 34px !important;
  line-height: 1.12 !important;
}

h2 { font-size: 22px !important; line-height: 1.18 !important; letter-spacing: -0.018em !important; }
h3 { font-size: 17px !important; font-weight: 600 !important; letter-spacing: -0.012em !important; }

.eyebrow, .brand-button small, .brand-word {
  font-family: var(--ios) !important;
  letter-spacing: -0.01em !important;
  background: none !important;
  -webkit-text-fill-color: currentColor;
  color: var(--muted);
}

/* The S mark stays on the gate and the landing. Everywhere else it steps back. */
.home-mark-frame,
.brand-button > .brand-lockup-mark,
.drawer-brand > .brand-lockup-mark,
.moment-invitation .brand-orb,
.completion-landscape .brand-orb,
.home-aurora,
.home-quote,
.home-layers {
  display: none !important;
}

.brand-button { gap: 0; }
.brand-button .brand-word,
.drawer-brand .brand-word {
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
  padding: 0 !important;
}
.brand-button small { display: none !important; }

.topbar {
  padding: calc(8px + env(safe-area-inset-top)) 8px 4px !important;
  background: transparent !important;
  border: 0 !important;
}

#mainContent { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

.home-stage, .home-panel, .page-intro, .library-explorer, .page-sessions, .page-brainwave, .page-progress, .page-programs, .page-library {
  padding-left: 20px;
  padding-right: 20px;
}

.living-hello { margin: 8px 0 18px; }
.home-lead, .page-intro p, .visitor-lead {
  font-size: 17px;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 4px;
}

.home-feature-head h2 { font-size: 22px !important; font-weight: 700 !important; }
.home-feature-head button {
  font-size: 17px;
  font-weight: 400;
  color: #007aff;
}

.for-you {
  position: relative;
  display: block;
  width: 100%;
  height: 228px;
  margin: 0 0 22px;
  padding: 0;
  border: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  background: #d7e7f2;
  box-shadow: none !important;
}
.for-you-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.for-you-copy {
  position: absolute;
  left: 16px;
  right: 64px;
  bottom: 16px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.for-you-copy small { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.for-you-copy b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.for-you-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
}

.home-features {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 22px;
}
.home-feature {
  position: relative;
  display: block;
  height: 168px;
  padding: 0;
  border: 0 !important;
  border-radius: 18px;
  overflow: hidden;
  background: #e4eef5;
  box-shadow: none !important;
}
.home-feature-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-feature-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.home-feature-copy b { display: block; font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.home-feature-copy small { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.home-feature-play { display: none; }

.brainwave-feature, .activity-card, .home-resume, .composer-invitation, .featured-session, .journey-return {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.brainwave-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 4px 0 18px;
  padding: 8px 0 16px;
  border-bottom: 0.5px solid var(--hairline) !important;
  text-align: left;
}
.brainwave-feature b { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.activity-card { padding: 8px 0 16px; }

.mood-row {
  display: flex !important;
  gap: 0 !important;
  margin: 8px 0 14px !important;
  padding: 2px !important;
  background: var(--fill) !important;
  border-radius: 12px !important;
  border: 0 !important;
  box-shadow: none !important;
}
.mood-card {
  flex: 1;
  min-height: 36px;
  border-radius: 10px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  gap: 0;
}
.mood-card svg { display: none; }
.mood-card.is-selected { background: #fff !important; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important; }

.primary-cta, .home-start {
  background: #1c1c1e !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  min-height: 50px;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  box-shadow: none !important;
}
.secondary-cta, .text-button, .glass-button {
  border-radius: 14px;
  box-shadow: none !important;
}

#appShell .bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  max-width: none;
  margin: 0;
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom)) !important;
  border: 0 !important;
  border-top: 0.5px solid var(--hairline) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: none !important;
}
#appShell .nav-button {
  min-height: 48px;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(60, 60, 67, 0.55);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
#appShell .nav-button svg { width: 24px; height: 24px; stroke-width: 1.5; }
#appShell .nav-button.is-active {
  background: transparent !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
}

.page-intro { margin: 12px 0 18px; padding-top: 4px; }
.page-intro .eyebrow { display: none; }
.section-heading h2 { font-size: 20px !important; }

.sonara-filter-row, .memory-filters, .brainwave-base {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 0 8px;
  margin: 0 0 8px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sonara-filter-row button, .memory-filters button, .brainwave-base button, .bed-chip {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 0 !important;
  min-height: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.sonara-filter-row button.is-selected, .memory-filters button[aria-pressed="true"], .brainwave-base button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 650;
  background: none !important;
  box-shadow: none !important;
}

.library-grid { display: flex; flex-direction: column; gap: 0; }
.library-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px 36px;
  grid-template-areas: "art copy fav play" "art details fav play";
  column-gap: 12px;
  align-items: center;
  margin: 0;
  padding: 10px 0;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0.5px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.library-art { grid-area: art; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.library-copy { grid-area: copy; min-width: 0; }
.library-copy h3 { font-size: 17px !important; font-weight: 600 !important; }
.library-copy p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.library-favourite { grid-area: fav; width: 36px; height: 36px; }
.library-details { grid-area: details; justify-self: start; font-size: 13px; color: #007aff; padding: 0; }
.start-library {
  grid-area: play;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fill);
  display: grid;
  place-items: center;
}
.library-card .premium-badge { display: none; }

.collection-card, .experience-card, .program-card {
  border: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  border-radius: 16px !important;
}

/* Landing and sign-in */
#visitorLanding {
  background: var(--canvas) !important;
  color: var(--ink);
}
.visitor-landing-page { padding: calc(28px + env(safe-area-inset-top)) 24px 48px; max-width: 440px; margin: 0 auto; }
.visitor-mark { width: 44px; height: 44px; margin: 0 0 28px; }
.visitor-hero .eyebrow { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.visitor-benefits {
  display: flex;
  gap: 14px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}
.visitor-benefits li {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: none !important;
}
.visitor-block, .visitor-offers li, .visitor-steps li, .visitor-close, .listening-gate-card {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.visitor-offers, .visitor-steps { display: grid; gap: 18px; margin: 12px 0 28px; padding: 0; list-style: none; }
.visitor-offers b, .visitor-steps b { display: block; font-size: 17px; font-weight: 600; }
.visitor-offers span, .visitor-steps span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.visitor-block h2 { margin-bottom: 8px; }
.gate-price b, #landingPriceAmount, .visitor-price-mirror { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
#landingStart, #landingStartEnd, #gateEmailAuthButton, #gateSubscribe { width: 100%; margin-top: 12px; }
#landingSignIn, #landingSignInEnd { display: block; width: 100%; margin-top: 8px; color: #007aff; font-size: 17px; font-weight: 400; }

.listening-gate { background: var(--canvas) !important; }
.listening-gate-card { padding: calc(36px + env(safe-area-inset-top)) 24px 32px !important; max-width: 440px; }
.gate-mark { width: 44px !important; height: 44px !important; margin: 0 0 24px !important; box-shadow: none !important; border-radius: 0 !important; }
#gateEmail, #gatePassword, .listening-gate input[type="email"], .listening-gate input[type="password"] {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--fill) !important;
  font-size: 17px !important;
  box-shadow: none !important;
}
#gateEmailRow, #gatePasswordRow { display: block; margin: 12px 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.gate-help { opacity: 0.8; }

/* Now Playing */
#player.hero-room {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(520px 280px at 50% 0%, #ffffff 0%, transparent 60%),
    #f3f6f8 !important;
  color: var(--ink);
}
#player.hero-room .player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: calc(6px + env(safe-area-inset-top)) 8px 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.np-context { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
#player .player-header .icon-button { width: 44px; height: 44px; color: var(--ink); }
#player .player-header svg { stroke-width: 1.6; }

#player .player-landscape {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 4px 28px 8px;
  background: transparent !important;
}
#player .scene-canvas,
#player .liquid-resonance,
#player .player-state-line,
#player .signal-stage,
#player .player-orb,
#player .visual-breath-cue,
#player .scene-clock-block,
#player .player-visual-name,
#player .signal-readout,
#player .player-guidance,
#player .player-brand {
  display: none !important;
}
.np-art {
  width: min(78vw, 320px);
  aspect-ratio: 1;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 18% 12%, #ffffff 0%, transparent 52%),
    radial-gradient(80% 70% at 88% 18%, #cfe8fb 0%, transparent 55%),
    radial-gradient(70% 60% at 60% 100%, #e4dcf8 0%, transparent 50%),
    linear-gradient(165deg, #f8fbfe, #d7ebf7 48%, #ebe4fb);
  box-shadow: 0 18px 40px rgba(40, 70, 100, 0.1);
  animation: np-drift 16s ease-in-out infinite alternate;
}
.np-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 68%);
  opacity: 0;
}
html:not(.breath-sync-off) .np-glow {
  animation: np-breathe 9s ease-in-out infinite;
}
html.breath-sync-off .np-glow { animation: none; opacity: 0; }
@keyframes np-drift { to { filter: hue-rotate(12deg) saturate(1.05); } }
@keyframes np-breathe {
  0%, 100% { transform: scale(0.82); opacity: 0.28; }
  50% { transform: scale(1); opacity: 0.62; }
}

.now-playing { padding: 4px 24px 58px; }
.now-playing .player-intro h2 { font-size: 22px !important; font-weight: 700 !important; }
.now-playing .player-intro p { margin-top: 2px; font-size: 15px; font-weight: 400; color: var(--muted); }
.now-playing .player-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
#playerSeek {
  width: 100%;
  accent-color: #1c1c1e;
  height: 28px;
}
.now-playing .main-play {
  width: 74px;
  height: 74px;
  margin: 8px auto 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1c1c1e !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}
.now-playing .main-play svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.np-layers {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding-bottom: 8px;
}
.np-layers .player-layer-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.np-layers .player-layer-button svg { width: 26px; height: 26px; stroke-width: 1.5; }
.np-layers .player-layer-button b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }

#player.hero-room .player-body,
#player.hero-room.sheet-open .player-body,
#player.hero-room:not(.sheet-open) .player-body {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  flex: none !important;
  max-height: min(78vh, 640px) !important;
  overflow: auto;
  padding: 6px 20px calc(20px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 -10px 30px rgba(20, 30, 40, 0.08);
  transform: translateY(calc(100% - 46px));
  transition: transform 0.38s var(--ease-out);
}
#player.hero-room.sheet-open .player-body { transform: translateY(0); }
#player.hero-room.sheet-open .player-body > :not(.sheet-grabber) { display: block; }
#player .sheet-grabber {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
}
#player .sheet-grabber span {
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: rgba(60, 60, 67, 0.28);
}
#player .mix-deck, #player .player-settings, #player .music-overlay, #player .sleep-timer, #player .player-phase-rail {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
#player .player-setting {
  border-bottom: 0.5px solid var(--hairline);
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.mini-player {
  left: 12px;
  right: 12px;
  bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  border-radius: 14px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 8px 24px rgba(20, 30, 40, 0.12) !important;
}

@media (min-width: 840px) {
  .home-stage, .visitor-landing-page { max-width: 520px; }
}

/* Beat #homeScreen / #libraryScreen / #player rules from the older sheets. */
*, *::before, *::after { font-family: var(--ios) !important; }
small, .eyebrow, .continue-copy small, .home-feature-copy small {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

img.sonara-mark.visitor-mark {
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 28px !important;
}
.listening-gate .gate-mark {
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 24px !important;
}

.round-button, .profile-button, .icon-button {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
.premium-badge { display: none !important; }

.screen:not(.player) {
  padding: 4px 20px calc(88px + env(safe-area-inset-bottom)) !important;
  animation: none !important;
}

#homeScreen .living-hello {
  display: block !important;
  grid-template-columns: none !important;
}
#homeScreen .home-question {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.022em !important;
  text-align: left !important;
  color: var(--ink) !important;
}
#homeScreen .home-lead {
  max-width: 28ch !important;
  margin: 4px 0 0 !important;
  text-align: left !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  color: var(--muted) !important;
}

#homeScreen .for-you {
  display: block !important;
  position: relative !important;
  height: 228px !important;
  min-height: 228px !important;
  margin: 18px 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #d7e7f2 !important;
  box-shadow: none !important;
  color: #fff !important;
  backdrop-filter: none !important;
}
#homeScreen .for-you-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}
#homeScreen .for-you-copy {
  position: absolute !important;
  left: 16px !important;
  right: 72px !important;
  bottom: 16px !important;
  display: block !important;
  color: #fff !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
#homeScreen .for-you-copy small {
  display: block;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: #fff !important;
}
#homeScreen .for-you-copy b {
  display: block;
  margin-top: 2px;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
#homeScreen .for-you-copy span { color: rgba(255, 255, 255, 0.92) !important; font-size: 15px !important; }
#homeScreen .for-you-play {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1d1d1f !important;
}
#homeScreen .for-you-play svg { fill: #1d1d1f !important; }

#homeScreen .home-features,
#featuredExperiences.home-carousel {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  gap: 12px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
#homeScreen .home-stage,
#homeScreen .home-panel,
.library-explorer,
.page-intro {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#homeScreen .home-feature,
#homeScreen .home-feature:first-child,
#homeScreen .home-feature:nth-child(2) {
  position: relative !important;
  flex: none !important;
  width: auto !important;
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
#homeScreen .home-feature-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
#homeScreen .home-feature-copy {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
#homeScreen .home-feature-copy b,
#homeScreen .home-feature b {
  font-size: 17px !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
#homeScreen .home-feature-copy small {
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
}
#homeScreen .home-feature-play { display: none !important; }

#homeScreen .brainwave-feature {
  display: flex !important;
  min-height: 0 !important;
  margin: 8px 0 12px !important;
  padding: 12px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}
#homeScreen .brainwave-feature b { font-size: 20px !important; font-weight: 650 !important; color: var(--ink) !important; }
#homeScreen .brainwave-feature small { color: var(--muted) !important; }

#homeScreen .activity-card,
#homeScreen .continue-row,
.program-card, .featured-session, .composer-invitation, .journey-return {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
#homeScreen .mood-row {
  background: var(--fill) !important;
  border-radius: 12px !important;
  padding: 2px !important;
}
#homeScreen .mood-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
#homeScreen .mood-card.is-selected { background: #fff !important; color: var(--ink) !important; }
#homeScreen .mood-card svg { display: none !important; }

#libraryScreen .sonara-filter-row {
  flex-wrap: nowrap !important;
  width: 100%;
  margin: 0 0 4px !important;
  padding: 0 0 8px !important;
  border-radius: 0 !important;
  background: none !important;
  overflow-x: auto;
}
#libraryScreen .sonara-filter-row button {
  flex: 0 0 auto;
  border-radius: 0 !important;
  background: none !important;
  border: 0 !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  min-height: 0 !important;
  padding: 6px 0 !important;
}
#libraryScreen .sonara-filter-row button.is-selected {
  background: none !important;
  color: var(--ink) !important;
  font-weight: 650 !important;
}
#libraryScreen .library-grid { display: flex !important; flex-direction: column; gap: 0 !important; }
#libraryScreen .library-card {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) 36px 36px !important;
  grid-template-areas: "art copy fav play" "art details fav play" !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  color: var(--ink) !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0.5px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
#libraryScreen .library-card::before { content: none !important; display: none !important; }
#libraryScreen .library-art,
#libraryScreen .library-copy,
#libraryScreen .library-favourite,
#libraryScreen .start-library,
#libraryScreen .library-details {
  position: static !important;
}
#libraryScreen .library-copy { width: auto !important; padding: 0 !important; color: var(--ink) !important; }
#libraryScreen .library-copy p { color: var(--muted) !important; margin: 2px 0 0 !important; }
#libraryScreen .library-details {
  border: 0 !important;
  background: none !important;
  color: #007aff !important;
  padding: 0 !important;
  min-height: 0 !important;
  justify-self: start;
}
#libraryScreen .start-library {
  background: var(--fill) !important;
  border: 0 !important;
  color: var(--ink) !important;
}
#libraryScreen .start-library svg { fill: var(--ink) !important; }
#libraryScreen .library-favourite {
  background: none !important;
  border: 0 !important;
  color: var(--muted);
}

.collection-list { display: flex; flex-direction: column; }
.collection-card {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) 36px !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 10px 0 !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 0.5px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.collection-thumbnail {
  width: 56px !important;
  height: 56px !important;
  border-radius: 8px !important;
  object-fit: cover;
}
.collection-copy {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: left;
  color: var(--ink) !important;
}
.collection-copy p { color: var(--muted) !important; }
.collection-play {
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--fill) !important;
}
.program-card {
  display: grid !important;
  justify-items: start;
  width: 100%;
  padding: 14px 0 !important;
  text-align: left;
  border-bottom: 0.5px solid var(--hairline) !important;
}
.program-card p { display: none; }
.journey-return .eyebrow, .featured-session .eyebrow, .composer-invitation .eyebrow { display: none !important; }

#player.hero-room .player-state-line,
#player.hero-room .signal-stage,
#player.hero-room .visual-breath-cue,
#player.hero-room .scene-clock-block,
#player.hero-room .player-orb,
#player.hero-room .scene-canvas {
  display: none !important;
}
#player .sheet-grabber { text-transform: none !important; letter-spacing: -0.01em !important; }

/* sonara-69: beat atelier, award, and ui on the screens the review called out. */

h1.home-question,
h2.page-title,
#landingTitle {
  font-size: 34px !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  letter-spacing: -0.022em !important;
}

#appShell .topbar {
  position: absolute !important;
  top: 0;
  right: 0;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 30;
  padding: calc(10px + env(safe-area-inset-top)) 16px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#menuButton,
#topbar .brand-button,
#topbar .brand-word,
#topbar .brand-lockup-mark {
  display: none !important;
}
#profileButton {
  width: 44px !important;
  height: 44px !important;
  flex-basis: 44px !important;
  border-radius: 50% !important;
  background: rgba(120, 120, 128, 0.16) !important;
  color: #1d1d1f !important;
}
#homeScreen .home-question,
h2.page-title {
  padding-right: 64px;
}

.screen:not(.player) {
  padding: calc(14px + env(safe-area-inset-top)) 20px calc(136px + env(safe-area-inset-bottom)) !important;
}
#mainContent {
  padding-bottom: 0 !important;
}

#appShell .bottom-nav {
  z-index: 50 !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 0 !important;
  background: rgba(245, 245, 247, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-top: 0.5px solid rgba(60, 60, 67, 0.18) !important;
  box-shadow: none !important;
}

#homeScreen .for-you {
  width: calc(100% + 40px) !important;
  max-width: none !important;
  height: 248px !important;
  min-height: 248px !important;
  margin: 16px -20px 20px !important;
  border-radius: 0 !important;
}
#homeScreen .for-you-copy {
  left: 20px !important;
  right: auto !important;
  width: calc(100% - 96px) !important;
  max-width: calc(100% - 96px) !important;
  bottom: 20px !important;
  overflow: hidden !important;
}
#homeScreen .for-you-copy b {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}
#homeScreen .for-you-copy span,
#forYouWhy {
  display: block !important;
  max-width: 100% !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: unset !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}
#homeScreen .for-you-play {
  top: 50% !important;
  bottom: auto !important;
  right: 16px !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
}
#homeScreen #moodRow,
#homeScreen .mood-row,
#homeScreen #startSelectedButton,
#quickStartDetailsButton,
#journeyReturnDetailsButton,
.library-details {
  display: none !important;
}

#homeScreen .home-feature,
#homeScreen .home-feature:first-child,
#homeScreen .home-feature:nth-child(2) {
  background-color: #c5d5e2 !important;
  background-image: none !important;
}
#homeScreen .home-feature-art {
  z-index: 0 !important;
  display: block !important;
}
#homeScreen .home-feature::before {
  background: linear-gradient(180deg, rgba(8, 16, 28, 0) 42%, rgba(8, 16, 28, 0.62) 100%) !important;
  z-index: 1 !important;
}
#homeScreen .home-feature-copy {
  z-index: 2 !important;
}

#libraryScreen .library-card {
  grid-template-areas: "art copy fav play" !important;
  align-items: center !important;
}

#player.hero-room {
  z-index: 60 !important;
  background: #f5f5f7 !important;
}
#player.hero-room .player-header {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 6 !important;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.72) 0%, rgba(245, 245, 247, 0) 100%) !important;
}
#player .player-header > .np-context,
#player .player-header > span {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: rgba(60, 60, 67, 0.6) !important;
  -webkit-text-fill-color: rgba(60, 60, 67, 0.6) !important;
  background: none !important;
}
#player .player-landscape {
  flex: 1 1 auto !important;
  min-height: 220px !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important;
  background: transparent !important;
}
#player .player-landscape::before {
  content: none !important;
  display: none !important;
}
#player .np-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  background: #d5e3ee !important;
}
#player .np-art img,
#npArt {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transform-origin: 50% 60%;
  animation: np-ken 22s ease-in-out infinite alternate;
}
#player .np-glow { display: none !important; }
#player .see-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
#player.visual-layer-active .see-field { opacity: 1; }
#player.hero-room.visual-layer-active { background: #f5f5f7 !important; }
#player.visual-layer-active .player-intro p { display: block !important; }
@media (prefers-reduced-motion: reduce) {
  #player .see-field { transition: opacity 0.2s linear; }
}
@keyframes np-ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  #npArt, .landing-hero-art { animation: none !important; }
}

#player .now-playing {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 12px 14px 52px !important;
  background: #f5f5f7;
}
#playerSeek {
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 44px !important;
  margin: 0 !important;
  background: transparent !important;
  accent-color: #1c1c1e !important;
}
#playerSeek:focus,
#playerSeek:focus-visible {
  outline: 2px solid #1c1c1e !important;
  outline-offset: 2px !important;
  border-radius: 8px !important;
}
#playerSeek::-webkit-slider-runnable-track {
  height: 4px !important;
  background: rgba(60, 60, 67, 0.18) !important;
  border-radius: 2px !important;
}
#playerSeek::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  width: 12px !important;
  height: 12px !important;
  margin-top: -4px !important;
  border-radius: 50% !important;
  background: #1c1c1e !important;
  border: 2px solid #1c1c1e !important;
  box-shadow: 0 0 0 1px #1c1c1e !important;
}
#playerSeek::-moz-range-track {
  height: 4px !important;
  background: rgba(60, 60, 67, 0.18) !important;
  border: 0 !important;
  border-radius: 2px !important;
}
#playerSeek::-moz-range-thumb {
  width: 12px !important;
  height: 12px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #1c1c1e !important;
  box-shadow: none !important;
}

#player .now-playing .main-play {
  width: 64px !important;
  height: 64px !important;
  color: #fff !important;
  background: #1c1c1e !important;
}
#player .now-playing .main-play svg {
  width: 26px !important;
  height: 26px !important;
  margin-left: 2px;
  fill: #fff !important;
  stroke: none !important;
  color: #fff !important;
}
#player .now-playing .main-play svg path {
  fill: #fff !important;
  stroke: none !important;
}
#player.is-playing .now-playing .main-play svg,
#player:not(.is-paused) .now-playing .main-play svg {
  margin-left: 2px;
}

#player .np-layers .player-layer-button,
#playerHearButton,
#playerSeeButton,
#playerFeelButton {
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #1d1d1f !important;
  border-radius: 0 !important;
  min-height: 0 !important;
}
#player .np-layers .player-layer-button svg {
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  fill: none !important;
  stroke: #1d1d1f !important;
  color: #1d1d1f !important;
  opacity: 0.38;
}
#player .np-layers .player-layer-button.is-active svg {
  opacity: 1;
  fill: none !important;
  stroke: #fff !important;
  background: #1d1d1f !important;
  color: #fff !important;
  padding: 6px !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
}
#player .np-layers .player-layer-button span,
#player .np-layers .player-layer-button b {
  color: rgba(29, 29, 31, 0.45) !important;
  background: none !important;
  -webkit-text-fill-color: rgba(29, 29, 31, 0.45) !important;
}
#player .np-layers .player-layer-button.is-active span,
#player .np-layers .player-layer-button.is-active b {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
}

#player .sheet-grabber {
  height: 22px !important;
  margin: 0 0 8px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#player .sheet-grabber span {
  width: 36px !important;
  height: 5px !important;
  border-radius: 3px !important;
  background: rgba(60, 60, 67, 0.28) !important;
}

#sessionsScreen .featured-session,
#quickStartCard {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  width: calc(100% + 40px) !important;
  min-height: 220px !important;
  margin: 8px -20px 22px !important;
  padding: 16px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  background: #c5d5e2 url("./assets/experience-deep-reset-card.webp") center/cover no-repeat !important;
  box-shadow: none !important;
}
#quickStartCard .featured-session-copy,
#quickStartCard h2,
#quickStartCard p,
#quickStartState {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
#quickStartCard .primary-cta {
  width: auto !important;
  min-height: 44px !important;
  margin-top: 12px !important;
  padding: 0 18px !important;
  background: #fff !important;
  color: #1d1d1f !important;
}
#quickStartCard .primary-cta svg { fill: #1d1d1f !important; stroke: none !important; }

#brainwaveScreen .brainwave-grid,
#brainwaveScreen .brainwave-journeys {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
#brainwaveScreen .brainwave-card,
#brainwaveScreen .brainwave-journey {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.16) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #1d1d1f !important;
}
#brainwaveScreen .brainwave-card b,
#brainwaveScreen .brainwave-journey b {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}
#brainwaveScreen .brainwave-card small,
#brainwaveScreen .brainwave-journey small,
#brainwaveScreen .brainwave-beat {
  color: rgba(60, 60, 67, 0.6) !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}
#brainwaveScreen .brainwave-base button.is-selected {
  background: none !important;
  color: #1d1d1f !important;
  font-weight: 650 !important;
}

#visitorLanding.visitor-landing:not([hidden]) {
  display: block !important;
  padding: 0 !important;
  place-items: stretch !important;
  background: #f5f5f7 !important;
}
html.is-returning #visitorLanding.visitor-landing,
html.is-at-gate #visitorLanding.visitor-landing,
#visitorLanding[hidden] {
  display: none !important;
}
#visitorLanding .visitor-landing-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 48px !important;
  gap: 8px !important;
}
#visitorLanding .visitor-hero {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-align: left !important;
}
#visitorLanding .landing-hero-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  animation: np-ken 28s ease-in-out infinite alternate;
}
#visitorLanding .visitor-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 64%;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0) 0%, #f5f5f7 68%);
  pointer-events: none;
}
#visitorLanding .visitor-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 76px 22px 18px;
  background: none;
  text-align: left;
}
#visitorLanding #landingTitle {
  margin: 0 0 8px !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 40px !important;
}
#visitorLanding .visitor-lead {
  margin: 0 0 14px !important;
  max-width: none !important;
  color: rgba(60, 60, 67, 0.72) !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
}
#visitorLanding #landingPrice {
  margin: 0 !important;
  color: #1d1d1f !important;
}
#visitorLanding #landingPriceNote {
  margin: 4px 0 16px !important;
  color: rgba(60, 60, 67, 0.6) !important;
  font-size: 13px !important;
}
#visitorLanding #landingStart {
  width: 100% !important;
  background: #1c1c1e !important;
  color: #fff !important;
}
#visitorLanding #landingSignIn,
#visitorLanding #landingSignInEnd,
#visitorLanding .text-button {
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  color: #1d1d1f !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}
#visitorLanding .visitor-block,
#visitorLanding .visitor-close {
  margin: 0 !important;
  padding: 28px 24px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-align: left !important;
}
#visitorLanding .visitor-block h2,
#visitorLanding #landingOfferTitle,
#visitorLanding #landingHowTitle {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  text-align: left !important;
  font-family: var(--ios) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}
#visitorLanding .visitor-offers li,
#visitorLanding .visitor-steps li {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 0 16px !important;
  box-shadow: none !important;
}
#visitorLanding .visitor-offers b,
#visitorLanding .visitor-steps b {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-family: var(--ios) !important;
}
#visitorLanding .visitor-steps li::before {
  background: #1d1d1f !important;
  color: #fff !important;
}
#visitorLanding .visitor-close .gate-price {
  display: none !important;
}

/* Polish: landing mark, iOS sheets, and the screens that still used the old card system. */
#visitorLanding .landing-brand {
  position: absolute;
  z-index: 2;
  top: calc(14px + env(safe-area-inset-top));
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #1d1d1f;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
#visitorLanding .landing-brand .sonara-mark {
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.screen:not(.player) {
  padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
}
#mainContent {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

dialog.sheet {
  inset: auto 0 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: min(92dvh, 780px) !important;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom)) !important;
  border: 0 !important;
  border-radius: 16px 16px 0 0 !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.16) !important;
}
dialog.sheet::backdrop {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: none !important;
}
dialog.sheet form > header {
  align-items: center !important;
  margin-bottom: 12px !important;
}
dialog.sheet form > header h2,
dialog.sheet legend,
.listening-gate-card #gateTitle {
  font-family: var(--ios) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
}
dialog.sheet .eyebrow,
.listening-gate .eyebrow {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(60, 60, 67, 0.6) !important;
}
dialog.sheet .icon-button,
.listening-gate .icon-button,
#player .icon-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
}

dialog.sheet input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
dialog.sheet select,
dialog.sheet textarea,
.listening-gate input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.listening-gate select,
.listening-gate textarea {
  min-height: 44px !important;
  border-radius: 12px !important;
  border: 0.5px solid rgba(60, 60, 67, 0.22) !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #1d1d1f !important;
  font-size: 17px !important;
}
dialog.sheet textarea,
.listening-gate textarea {
  min-height: 96px !important;
  padding-top: 12px !important;
}

dialog.sheet .primary-cta,
.listening-gate .primary-cta,
#player .primary-cta,
#profileDialog .primary-cta,
#premiumDialog .primary-cta,
#musicPicker .primary-cta,
#completionDialog .primary-cta {
  min-height: 44px !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #1c1c1e !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}
dialog.sheet .secondary-cta,
dialog.sheet .text-button,
dialog.sheet .glass-button,
.listening-gate .secondary-cta,
.listening-gate .text-button,
#authDialog .secondary-cta,
#authDialog .text-button {
  min-height: 44px !important;
  width: 100% !important;
  padding: 10px 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: none !important;
  box-shadow: none !important;
  color: #1d1d1f !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}
dialog.sheet .data-actions,
dialog.sheet .stacked-actions,
.listening-gate .data-actions {
  display: grid !important;
  gap: 4px !important;
}

.listening-gate {
  background: #f5f5f7 !important;
}
.listening-gate-card {
  width: min(100%, 420px) !important;
  margin: 0 auto !important;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}
.listening-gate-card label,
#authDialog label:not(.setting-row) {
  display: grid !important;
  gap: 6px !important;
  margin: 0 0 14px !important;
  color: rgba(60, 60, 67, 0.6) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

#player.hero-room .player-body {
  padding: 6px 20px calc(28px + env(safe-area-inset-bottom)) !important;
  background: #f5f5f7 !important;
  border-radius: 16px 16px 0 0 !important;
}
#player .sheet-grabber {
  min-height: 44px !important;
}
#player .player-setting,
#player .mix-row,
#player .player-phase-rail button {
  min-height: 44px !important;
}

#completionDialog .completion-landscape,
#completionDialog .completion-landscape .brand-orb,
#endSessionDialog .dialog-orb,
#premiumDialog .premium-orb,
#togetherScreen .moment-invitation .brand-orb {
  display: none !important;
}
#completionDialog .sheet-copy,
#endSessionDialog .sheet-copy,
#premiumDialog .sheet-copy {
  margin: 0 0 16px !important;
  color: rgba(60, 60, 67, 0.72) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}
#completionDialog .reflection-fieldset {
  margin: 8px 0 16px !important;
  border: 0 !important;
  padding: 0 !important;
}
#completionDialog .reflection-fieldset legend {
  font-size: 17px !important;
  margin-bottom: 10px !important;
}
#completionDialog .reflection-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}
#completionDialog .reflection-grid button {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #1d1d1f !important;
  font-size: 15px !important;
}
#completionDialog .reflection-grid .is-selected {
  background: #1c1c1e !important;
  color: #fff !important;
}
#completionDialog .reflection-note {
  border-radius: 12px !important;
  background: #fff !important;
}

#musicPicker .bed-chip,
#musicPicker .bed-nav .secondary-cta,
#progressScreen .memory-filters button,
#brainwaveScreen .brainwave-base button {
  min-height: 44px !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
}
#musicPicker .bed-chip[aria-selected="true"],
#brainwaveScreen .brainwave-base button[aria-pressed="true"],
#progressScreen .memory-filters button[aria-pressed="true"] {
  background: #1c1c1e !important;
  color: #fff !important;
}
#musicPicker.music-picker-sheet,
dialog#musicPicker {
  display: flex !important;
  height: auto !important;
  overflow: hidden !important;
}
#musicPicker form {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  max-height: calc(92dvh - 28px) !important;
  overflow: hidden !important;
}
#musicPicker .bed-carousel {
  display: flex !important;
  flex: 1 1 auto !important;
  min-height: 168px !important;
  max-height: 280px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
#musicPicker .bed-card {
  flex: 0 0 82% !important;
  min-height: 168px !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #1d1d1f !important;
  align-content: end !important;
}
#musicPicker .bed-card b {
  font-family: var(--ios) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  text-shadow: none !important;
}
#musicPicker .bed-card small {
  color: rgba(29, 29, 31, 0.72) !important;
}
#musicPicker .bed-card.is-active {
  outline: 2px solid #1c1c1e !important;
  outline-offset: 2px !important;
}
#musicPicker #musicBedLock,
#musicPicker .bed-nav,
#musicPicker .fine-print,
#musicPicker .bed-collections {
  flex: 0 0 auto !important;
}
#musicPicker .bed-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}
#musicPicker .bed-nav .secondary-cta {
  width: 100% !important;
  background: #fff !important;
}

#programsScreen .program-card,
#homePrograms .program-card {
  min-height: 64px !important;
  padding: 12px 0 !important;
  background: none !important;
  border-radius: 0 !important;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.16) !important;
}
#programsScreen .program-card b,
#homePrograms .program-card b {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
}
#programsScreen .page-intro,
#progressScreen .page-intro,
#togetherScreen .page-intro {
  padding-top: 8px !important;
}

#progressScreen .journey-metrics,
#progressScreen .journey-return,
#progressScreen .progress-studio,
#togetherScreen .moment-invitation,
#togetherScreen .circle-invitation,
#profileDialog .membership-card,
#profileDialog .creator-offer-entry {
  background: #fff !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
#progressScreen .journey-metrics {
  margin: 0 0 16px !important;
  padding: 16px 8px !important;
}
#progressScreen .journey-metrics b {
  font-family: var(--ios) !important;
  font-weight: 700 !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
}
#progressScreen .memory-card,
#togetherScreen .circle-card,
#profileDialog .setting-row {
  background: none !important;
  border: 0 !important;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 44px !important;
}
#togetherScreen .moment-invitation {
  padding: 20px !important;
  text-align: left !important;
  background-image: none !important;
}
#togetherScreen .moment-invitation h2,
#togetherScreen .moment-invitation p {
  text-align: left !important;
  margin-left: 0 !important;
  max-width: none !important;
}
#profileDialog .membership-card {
  padding: 16px !important;
  margin: 8px 0 16px !important;
}
#premiumDialog .premium-benefits,
.listening-gate .premium-benefits {
  margin: 0 0 16px !important;
  padding: 0 !important;
  list-style: none !important;
}
#premiumDialog .premium-benefits li,
.listening-gate .premium-benefits li {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  min-height: 44px !important;
  padding: 8px 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
#premiumDialog .premium-price {
  margin: 0 0 12px !important;
  color: #1d1d1f !important;
}
#premiumDialog .premium-price b {
  font-family: var(--ios) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
}

#libraryScreen .sonara-filter-row button,
#libraryScreen .library-favourite,
#libraryScreen .start-library,
.collection-play,
.nav-button {
  min-height: 44px !important;
  min-width: 44px !important;
}
#libraryScreen .library-card {
  grid-template-columns: 56px minmax(0, 1fr) 44px 44px !important;
}
.collection-card {
  grid-template-columns: 56px minmax(0, 1fr) 44px !important;
}

/* Keep chip rows inside the 390px frame. A wrapped row beats a clipped last chip. */
#libraryScreen .sonara-filter-row,
#progressScreen .memory-filters,
#brainwaveScreen .brainwave-base,
.sonara-filter-row,
.memory-filters {
  flex-wrap: wrap !important;
  overflow: visible !important;
  row-gap: 4px !important;
}
#libraryScreen .sonara-filter-row button,
#progressScreen .memory-filters button,
#brainwaveScreen .brainwave-base button {
  flex: 0 0 auto !important;
}

/* Sales landing. Full scroll, Apple product page, system type. */
#visitorLanding .visitor-landing-page {
  padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}
#visitorLanding .landing-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  margin: 18px 0 0;
  color: rgba(60, 60, 67, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
#visitorLanding .landing-scroll::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
#visitorLanding .landing-copy {
  box-sizing: border-box;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 56px 24px 8px;
  text-align: left;
}
#visitorLanding .landing-kicker {
  margin: 0 0 8px;
  color: rgba(60, 60, 67, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
#visitorLanding .landing-sentence {
  margin: 0;
  color: #1d1d1f;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
#visitorLanding .landing-feel {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
#visitorLanding .landing-feel-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 68dvh;
  overflow: hidden;
  background: #10161c;
}
#visitorLanding .landing-feel-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
#visitorLanding .landing-feel-panel.is-calm img { object-position: center 58%; }
#visitorLanding .landing-feel-panel.is-focus img { object-position: center 46%; }
#visitorLanding .landing-feel-panel.is-sleep img { object-position: center 28%; }
#visitorLanding .landing-feel-panel.is-energy img { object-position: center 36%; }
#visitorLanding .landing-feel-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.12) 0%,
    rgba(8, 12, 18, 0) 18%,
    rgba(8, 12, 18, 0.05) 46%,
    rgba(8, 12, 18, 0.62) 78%,
    rgba(8, 12, 18, 0.9) 100%
  );
}
#visitorLanding .landing-feel-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 24px 88px;
  background: none;
}
#visitorLanding .landing-feel-copy p:first-child {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}
#visitorLanding .landing-feel-copy h2 {
  margin: 0 0 8px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 40px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}
#visitorLanding .landing-feel-copy p:last-child {
  margin: 0;
  max-width: 18em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.3;
}
#visitorLanding .landing-copy h2 {
  margin: 0 0 16px !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 28px !important;
  text-align: left !important;
}
#visitorLanding .landing-get {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#visitorLanding .landing-get li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}
#visitorLanding .landing-get img,
#visitorLanding .landing-glyph {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #f5f5f7;
}
#visitorLanding .landing-glyph {
  display: grid;
  place-items: center;
}
#visitorLanding .landing-glyph svg {
  width: 28px;
  height: 28px;
  stroke: #1d1d1f;
  fill: none;
  stroke-width: 1.6;
}
#visitorLanding .landing-get b {
  display: block;
  margin: 0 0 2px;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
#visitorLanding .landing-get li span span {
  display: block;
  color: rgba(60, 60, 67, 0.72);
  font-size: 14px;
  line-height: 1.35;
}
#visitorLanding .landing-copy > .primary-cta,
#visitorLanding .landing-why .primary-cta,
#visitorLanding .visitor-close .primary-cta {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  background: #1c1c1e !important;
  color: #fff !important;
}
#visitorLanding .landing-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: landing-step;
}
#visitorLanding .landing-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 12px 0;
  background: none;
  box-shadow: none;
}
#visitorLanding .landing-steps li::before {
  counter-increment: landing-step;
  content: counter(landing-step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #1d1d1f;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
#visitorLanding .landing-steps b {
  display: block;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
}
#visitorLanding .landing-steps span {
  display: block;
  color: rgba(60, 60, 67, 0.72);
  font-size: 14px;
  line-height: 1.3;
}
#visitorLanding .landing-why {
  padding: 4px 0 8px;
}
#visitorLanding .landing-why-lead {
  margin: 0 0 12px;
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
#visitorLanding .landing-why ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
#visitorLanding .landing-why li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 18px;
  color: #1d1d1f;
  font-size: 17px;
  line-height: 1.3;
}
#visitorLanding .landing-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #1d1d1f;
}
#visitorLanding .landing-cancel {
  margin: 0 0 12px;
  color: rgba(60, 60, 67, 0.72);
  font-size: 15px;
}
#visitorLanding .landing-why .gate-price {
  margin: 0;
  color: #1d1d1f;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
#visitorLanding .landing-why .gate-price span {
  color: rgba(60, 60, 67, 0.6);
  font-size: 17px;
  font-weight: 400;
}
#visitorLanding .landing-faq {
  border-top: 1px solid rgba(60, 60, 67, 0.16);
}
#visitorLanding .landing-faq details {
  border-bottom: 1px solid rgba(60, 60, 67, 0.16);
}
#visitorLanding .landing-faq summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
#visitorLanding .landing-faq summary::-webkit-details-marker { display: none; }
#visitorLanding .landing-faq summary::after {
  content: "+";
  margin-left: auto;
  color: rgba(60, 60, 67, 0.6);
  font-weight: 400;
}
#visitorLanding .landing-faq details[open] summary::after { content: "–"; }
#visitorLanding .landing-faq details p {
  margin: 0 0 14px;
  color: rgba(60, 60, 67, 0.78);
  font-size: 15px;
  line-height: 1.4;
}
#visitorLanding .visitor-close {
  padding-bottom: 28px !important;
}
#visitorLanding .visitor-close .text-button,
#visitorLanding .landing-sticky .text-button {
  min-height: 44px;
  padding: 0 12px;
}
#visitorLanding .landing-sticky {
  position: fixed;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 245, 247, 0.94);
  border-top: 1px solid rgba(60, 60, 67, 0.12);
  backdrop-filter: saturate(180%) blur(16px);
}
#visitorLanding .landing-sticky[hidden] { display: none !important; }
#visitorLanding .landing-sticky .primary-cta {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 22px;
  border-radius: 999px !important;
  white-space: nowrap;
  line-height: 1;
  font-size: 17px !important;
  background: #1c1c1e !important;
  color: #fff !important;
}
#visitorLanding .landing-sticky .text-button {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: transparent !important;
}
#visitorLanding .landing-copy,
#visitorLanding .landing-feel-panel,
#visitorLanding .primary-cta,
#visitorLanding .landing-faq details {
  scroll-margin-bottom: calc(88px + env(safe-area-inset-bottom));
}
@media (min-width: 800px) {
  #visitorLanding .landing-feel-copy,
  #visitorLanding .landing-copy {
    padding-left: max(24px, calc((100% - 720px) / 2));
    padding-right: max(24px, calc((100% - 720px) / 2));
  }
  #visitorLanding .landing-feel-copy { width: auto; }
}

/* Desktop: keep the 720px copy column centred. Do not reuse the 800px
   padding trick — percentage padding is relative to the container, so at
   1440px a 720px box with 360px sides has a 0px content width. Leave
   800–1023 (including 820) unchanged. */
@media (min-width: 1024px) {
  #visitorLanding .landing-copy {
    width: min(720px, 100%);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

.feel-bar {
  margin: 2px 0 10px;
}
.feel-now {
  margin: 0 0 8px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.feel-chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: auto;
}
.feel-chips button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 8px 1px 7px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em;
}
.feel-chips button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}
.feel-chips button span {
  display: block;
  max-width: 100%;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
}
.feel-chips button.is-selected {
  background: #1d1d1f;
  color: #fff;
  box-shadow: none;
}
.feel-note {
  margin: 8px 0 0;
  text-align: center;
}
.woojer-tip {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px 12px 12px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  text-align: left;
}
.woojer-tip[hidden] { display: none !important; }
.woojer-tip b {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.woojer-tip p {
  margin: 0;
  color: #3a3a3c;
  font-size: 13px;
  line-height: 1.35;
}
.woojer-tip button {
  flex: 0 0 auto;
  min-height: 36px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: #1d1d1f;
  color: #fff;
  font: 600 13px/1 inherit;
}

.feel-sheet {
  width: min(560px, 100%);
  max-height: min(92dvh, 820px);
}
.feel-sheet form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
.feel-sheet .feel-pattern-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.feel-pattern {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 14px 14px 14px 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  text-align: left;
  color: inherit;
  font: inherit;
}
.feel-pattern.is-selected {
  box-shadow: 0 0 0 2px #1d1d1f;
}
.feel-pattern-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.feel-pattern-copy b {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.feel-pattern-copy small {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.35;
}
.feel-spark {
  width: 132px;
  height: 36px;
}
.feel-spark polyline {
  fill: none;
  stroke: #1d1d1f;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.feel-intensity {
  position: sticky;
  bottom: 0;
  margin: 0;
  padding: 12px 2px 2px;
  background: linear-gradient(to bottom, rgba(245, 245, 247, 0), #f5f5f7 28%);
}

/* The player is the whole viewport. Artwork bleeds to every edge.
   Controls stay in a centred column. A closed sheet never paints. */
#player.hero-room {
  position: fixed !important;
  inset: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  background: #d5e3ee !important;
}
#player .player-landscape {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
  margin: 0 !important;
}
#player .np-art,
#player .np-art img,
#npArt {
  filter: none !important;
  opacity: 1 !important;
}
#player.hero-room .player-header {
  background: transparent !important;
}
#player .player-header .icon-button {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95));
}
#player .now-playing {
  position: relative !important;
  z-index: 3 !important;
  box-sizing: border-box !important;
  width: min(720px, 100%) !important;
  max-height: calc(100dvh - 72px) !important;
  margin: 0 auto 22px !important;
  padding: 14px 16px 14px !important;
  overflow: auto !important;
  border-radius: 22px 22px 0 0 !important;
  background: #f5f5f7 !important;
}
#player.hero-room:not(.sheet-open) .player-body {
  transform: translateY(calc(100% - 22px)) !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
#player.hero-room:not(.sheet-open) .sheet-grabber {
  pointer-events: auto !important;
}
#player.hero-room.sheet-open .player-body {
  z-index: 6 !important;
  transform: none !important;
  max-height: min(72dvh, 620px) !important;
  background: #f5f5f7 !important;
}
dialog:not([open]),
dialog#musicPicker:not([open]) {
  display: none !important;
}
#endSessionDialog[open] {
  inset: auto !important;
  top: max(60px, env(safe-area-inset-top)) !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: min(420px, calc(100% - 32px)) !important;
  max-height: min(220px, 30dvh) !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  border-radius: 18px !important;
  overflow: auto !important;
}
@media (max-height: 780px) and (min-width: 700px) {
  #player .now-playing .player-intro p,
  #player .feel-now { display: none !important; }
  #player .now-playing { padding: 10px 14px 10px !important; }
  #player .now-playing .main-play {
    width: 48px !important;
    height: 48px !important;
    margin: 2px auto !important;
  }
  #player .np-layers { padding-bottom: 0 !important; gap: 28px !important; }
  .feel-chips button { min-height: 52px !important; padding: 6px 1px 5px !important; }
  .feel-note { margin-top: 4px !important; }
}

/* Foldables. Cover screens wrap the Feel row. A spanned hinge device
   keeps the art on one viewport segment and the controls on the other.
   Single-screen sizes stay on the rules above. */
html {
  container-name: sonara-fold;
  container-type: normal;
}

@media (max-width: 360px) {
  #player .now-playing .player-intro p { display: none !important; }
  #player .now-playing {
    padding: 10px 12px 12px !important;
    margin-bottom: 8px !important;
  }
  .feel-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  .feel-chips button {
    flex: 1 1 calc(33.33% - 6px) !important;
    max-width: calc(33.33% - 4px) !important;
    min-height: 58px !important;
    padding: 8px 4px 7px !important;
  }
  .feel-chips button span {
    white-space: nowrap !important;
    font-size: 12px !important;
  }
  .woojer-tip { flex-wrap: wrap !important; }
  .woojer-tip > div { flex: 1 1 180px; min-width: 0; }
  #visitorLanding #landingTitle { font-size: 34px !important; }
  #visitorLanding .visitor-hero-copy { padding: 96px 18px 28px !important; }
  #visitorLanding .landing-sticky { gap: 8px !important; padding-left: 12px !important; padding-right: 12px !important; }
  #visitorLanding .landing-sticky .primary-cta { padding: 0 16px !important; font-size: 16px !important; }
  #appShell .bottom-nav .nav-button span {
    font-size: 10px !important;
    letter-spacing: -0.04em;
  }
  .mood-row { gap: 2px !important; }
}

@media (max-height: 540px) and (min-width: 640px) and (max-width: 800px) {
  #player .now-playing .player-intro p,
  #player .feel-now,
  #player .feel-note { display: none !important; }
  #player .now-playing {
    max-height: calc(100dvh - 52px) !important;
    margin-bottom: 6px !important;
    padding: 8px 12px !important;
  }
  #player .now-playing .main-play {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto !important;
  }
  .feel-chips button { min-height: 46px !important; padding: 4px 1px !important; }
  #visitorLanding .visitor-hero-copy { padding: 56px 22px 16px !important; }
  #visitorLanding #landingTitle { font-size: 32px !important; }
  #visitorLanding .landing-feel-panel { min-height: 100dvh; }
}

@media (horizontal-viewport-segments: 2) {
  html {
    --fold-span: span;
    --seg-a-x: env(viewport-segment-left 0 0, 0px);
    --seg-a-y: env(viewport-segment-top 0 0, 0px);
    --seg-a-w: env(viewport-segment-width 0 0, 50vw);
    --seg-a-h: env(viewport-segment-height 0 0, 100dvh);
    --seg-b-x: env(viewport-segment-left 1 0, 50vw);
    --seg-b-y: env(viewport-segment-top 1 0, 0px);
    --seg-b-w: env(viewport-segment-width 1 0, 50vw);
    --seg-b-h: env(viewport-segment-height 1 0, 100dvh);
  }
}

@media (vertical-viewport-segments: 2) {
  html {
    --fold-span: span;
    --seg-a-x: env(viewport-segment-left 0 0, 0px);
    --seg-a-y: env(viewport-segment-top 0 0, 0px);
    --seg-a-w: env(viewport-segment-width 0 0, 100vw);
    --seg-a-h: env(viewport-segment-height 0 0, 50dvh);
    --seg-b-x: env(viewport-segment-left 0 1, 0px);
    --seg-b-y: env(viewport-segment-top 0 1, 50dvh);
    --seg-b-w: env(viewport-segment-width 0 1, 100vw);
    --seg-b-h: env(viewport-segment-height 0 1, 50dvh);
  }
}

/* Screenshot and dev emulation of a 24px hinge. Real devices use the media
   queries above and never need this class. */
html.fold-span-x {
  --fold-span: span;
  --seg-a-x: 0px;
  --seg-a-y: 0px;
  --seg-a-w: calc((100vw - 24px) / 2);
  --seg-a-h: 100dvh;
  --seg-b-x: calc((100vw - 24px) / 2 + 24px);
  --seg-b-y: 0px;
  --seg-b-w: calc((100vw - 24px) / 2);
  --seg-b-h: 100dvh;
}
html.fold-span-y {
  --fold-span: span;
  --seg-a-x: 0px;
  --seg-a-y: 0px;
  --seg-a-w: 100vw;
  --seg-a-h: calc((100dvh - 24px) / 2);
  --seg-b-x: 0px;
  --seg-b-y: calc((100dvh - 24px) / 2 + 24px);
  --seg-b-w: 100vw;
  --seg-b-h: calc((100dvh - 24px) / 2);
}

@container sonara-fold style(--fold-span: span) {
  #player .player-landscape {
    position: absolute !important;
    inset: auto !important;
    top: var(--seg-a-y) !important;
    left: var(--seg-a-x) !important;
    width: var(--seg-a-w) !important;
    height: var(--seg-a-h) !important;
    right: auto !important;
    bottom: auto !important;
  }
  #player.hero-room .player-header {
    position: absolute !important;
    inset: auto !important;
    z-index: 7 !important;
    top: var(--seg-b-y) !important;
    left: var(--seg-b-x) !important;
    width: var(--seg-b-w) !important;
    right: auto !important;
    box-sizing: border-box !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    background: #f5f5f7 !important;
  }
  #player .now-playing {
    position: absolute !important;
    z-index: 6 !important;
    top: calc(var(--seg-b-y) + 56px) !important;
    left: var(--seg-b-x) !important;
    width: var(--seg-b-w) !important;
    height: calc(var(--seg-b-h) - 56px) !important;
    max-height: calc(var(--seg-b-h) - 56px) !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
  #player.hero-room .player-body,
  #player.hero-room.sheet-open .player-body,
  #player.hero-room:not(.sheet-open) .player-body {
    left: var(--seg-b-x) !important;
    right: auto !important;
    width: var(--seg-b-w) !important;
    bottom: calc(100dvh - var(--seg-b-y) - var(--seg-b-h)) !important;
  }
  #endSessionDialog[open] {
    top: calc(var(--seg-b-y) + 12px) !important;
    left: calc(var(--seg-b-x) + (var(--seg-b-w) / 2)) !important;
    width: min(420px, calc(var(--seg-b-w) - 32px)) !important;
  }
  #visitorLanding .visitor-hero { min-height: 100dvh !important; }
  #visitorLanding .landing-hero-art {
    inset: auto !important;
    top: var(--seg-a-y) !important;
    left: var(--seg-a-x) !important;
    width: var(--seg-a-w) !important;
    height: var(--seg-a-h) !important;
  }
  #visitorLanding .landing-brand {
    top: calc(var(--seg-a-y) + 14px + env(safe-area-inset-top)) !important;
    left: calc(var(--seg-a-x) + 20px) !important;
  }
  #visitorLanding .visitor-hero-copy {
    position: absolute !important;
    z-index: 1 !important;
    top: var(--seg-b-y) !important;
    left: var(--seg-b-x) !important;
    width: var(--seg-b-w) !important;
    height: var(--seg-b-h) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 28px 24px !important;
    background: #f5f5f7 !important;
  }
  #visitorLanding .landing-sticky {
    left: var(--seg-b-x) !important;
    right: auto !important;
    width: var(--seg-b-w) !important;
    box-sizing: border-box !important;
  }
  #visitorLanding .landing-feel-panel { background: #10161c; }
  #visitorLanding .landing-feel-panel img {
    left: var(--seg-a-x) !important;
    width: var(--seg-a-w) !important;
    right: auto !important;
  }
  #visitorLanding .landing-feel-copy {
    left: var(--seg-b-x) !important;
    width: var(--seg-b-w) !important;
    box-sizing: border-box !important;
  }
  #visitorLanding .landing-copy {
    width: var(--seg-a-w) !important;
    max-width: none !important;
    margin-left: var(--seg-a-x) !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  #appShell {
    width: var(--seg-a-w) !important;
    max-width: none !important;
    margin-left: var(--seg-a-x) !important;
    margin-right: 0 !important;
  }
  #appShell .bottom-nav {
    left: var(--seg-a-x) !important;
    right: auto !important;
    width: var(--seg-a-w) !important;
  }
}

.gate-steps {
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  color: #3a3a3c;
  font-size: 14px;
  line-height: 1.4;
}
.gate-steps li { margin: 0 0 6px; }
.visitor-guides {
  margin: 8px 0 0;
  color: rgba(60, 60, 67, 0.72);
  font-size: 14px;
}
.visitor-guides a { color: #1d1d1f; }
.guide-page {
  box-sizing: border-box;
  min-height: 100dvh;
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.guide-page main {
  box-sizing: border-box;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.guide-page header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.guide-page h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.guide-page h2 { margin: 28px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.guide-page p, .guide-page li { font-size: 17px; line-height: 1.45; }
.guide-page .guide-note { color: rgba(60, 60, 67, 0.78); font-size: 14px; }
#landingListen { width: 100%; margin-bottom: 8px; }
#tastePaywall { width: min(420px, calc(100% - 32px)); border-radius: 22px; }
.guide-page a.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1c1c1e;
  color: #fff;
  text-decoration: none;
}

/* Pass 1. One primary action, a sheet that meets the bottom edge, and a
   composed column on a wide screen. Motion stays quiet when requested. */
#visitorLanding #landingTitle {
  letter-spacing: -0.03em;
  line-height: 1.04;
}
#visitorLanding #landingTrust {
  margin: 0 0 16px;
  max-width: 36em;
  color: rgba(60, 60, 67, 0.72);
  font-size: 13px;
  line-height: 1.35;
}
#visitorLanding #landingStart {
  background: #fff !important;
  color: #1c1c1e !important;
  border: 1px solid rgba(28, 28, 30, 0.16) !important;
}
#player.hero-room {
  padding: 0 !important;
}
#player .now-playing {
  margin-bottom: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
}
#tastePaywall header h2,
dialog.sheet header h2 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}
dialog.sheet .primary-cta,
#tastePaywall .primary-cta {
  min-height: 52px;
  border-radius: 14px;
}
#visitorLanding #landingFine {
  margin: 12px 0 0;
  color: rgba(60, 60, 67, 0.62);
  font-size: 12px;
  line-height: 1.35;
}
#visitorLanding #landingListen {
  margin-top: 12px;
}
@media (max-height: 720px) {
  #visitorLanding .visitor-hero-copy {
    padding-top: 58px !important;
    padding-bottom: 12px !important;
  }
  #visitorLanding #landingTitle {
    font-size: 30px !important;
    margin-bottom: 4px !important;
  }
  #visitorLanding .visitor-lead {
    margin-bottom: 6px !important;
    font-size: 15px !important;
  }
  #visitorLanding .landing-scroll { display: none !important; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  #visitorLanding .visitor-hero-copy {
    width: min(480px, calc(100% - 80px));
    margin-right: auto;
    margin-left: auto;
    background: none !important;
    text-align: center;
  }
  #visitorLanding #landingListen,
  #visitorLanding #landingStart {
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }
  #visitorLanding #landingFine,
  #visitorLanding .visitor-lead,
  #visitorLanding #landingPrice,
  #visitorLanding #landingSignIn {
    text-align: center;
  }
}
@media (min-width: 1100px) {
  #visitorLanding .visitor-hero {
    align-items: center !important;
  }
  #visitorLanding .visitor-hero-copy {
    width: min(480px, calc(100% - 160px));
    margin: 12vh auto 0;
    padding: 8px 8px 0 !important;
    background: none !important;
    text-align: center;
  }
  #visitorLanding #landingTitle {
    font-size: 64px !important;
  }
  #visitorLanding .visitor-lead,
  #visitorLanding #landingPrice,
  #visitorLanding #landingFine,
  #visitorLanding #landingSignIn,
  #visitorLanding .landing-scroll {
    text-align: center;
  }
  #visitorLanding #landingFine { margin-right: auto; margin-left: auto; }
  #visitorLanding #landingListen,
  #visitorLanding #landingStart {
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }
  #player .now-playing {
    width: min(560px, calc(100% - 64px)) !important;
  }
  #tastePaywall {
    margin-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #visitorLanding .landing-hero-art,
  #npArt,
  dialog.sheet,
  .primary-cta,
  .secondary-cta {
    animation: none !important;
    transition: none !important;
  }
}

/* Pass 2. One type scale on the player, chips that match, and the same sheet header. */
#player .player-intro h2,
#endSessionDialog h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}
#player .player-intro p,
#endSessionDialog .sheet-copy {
  font-size: 15px !important;
  line-height: 1.35 !important;
}
#playerElapsed,
#playerRemaining,
.mini-player small,
.feel-now {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  font-variant-numeric: tabular-nums;
}
.np-layers {
  gap: 12px !important;
}
#player .np-layers .player-layer-button,
#playerHearButton,
#playerSeeButton {
  min-width: 72px !important;
  min-height: 64px !important;
  padding: 8px 10px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  font-size: 13px !important;
}
#player[hidden] {
  display: none !important;
}
.np-layers .player-layer-button.is-active,
#playerHearButton.is-active,
#playerSeeButton.is-active {
  background: #1d1d1f !important;
  color: #fff !important;
  box-shadow: none !important;
}
#player .np-layers .player-layer-button.is-active svg {
  background: transparent !important;
  padding: 0 !important;
  stroke: #fff !important;
}
.np-layers .player-layer-button.is-active span,
.np-layers .player-layer-button.is-active b,
#playerHearButton.is-active span,
#playerHearButton.is-active b,
#playerSeeButton.is-active span,
#playerSeeButton.is-active b {
  color: #fff !important;
}
.np-layers .player-layer-button:focus-visible,
.feel-chips button:focus-visible,
#miniPlayButton:focus-visible,
#endSessionDialog .icon-button:focus-visible {
  outline: 2px solid #1c1c1e !important;
  outline-offset: 2px !important;
}
.feel-chips button {
  min-height: 56px !important;
  font-size: 13px !important;
}
.mini-player {
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 8px 8px 8px 16px !important;
  background: #f5f5f7 !important;
}
#miniPlayButton {
  background: #1c1c1e !important;
  color: #fff !important;
}
.mini-player b {
  font-size: 17px !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
}
#miniPlayButton {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
}
#endSessionDialog {
  width: min(420px, calc(100% - 32px)) !important;
  margin: auto !important;
  padding: 8px 20px 20px !important;
  border-radius: 22px !important;
}
#endSessionDialog header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
#endSessionDialog .icon-button {
  width: 44px !important;
  height: 44px !important;
}
#endSessionDialog .primary-cta,
#endSessionDialog .secondary-cta {
  min-height: 52px !important;
  border-radius: 14px !important;
}

/* Library discovery */
.library-search { display: grid; gap: 8px; margin-bottom: 16px; }
.library-search label { font-size: 15px; font-weight: 600; color: #303445; }
#librarySearch { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 12px 16px; border: 1px solid #c3c9d8; border-radius: 16px; background: rgba(255,255,255,.88); color: #24283a; font: inherit; font-size: 16px; }
#librarySearch::placeholder { color: #62697a; opacity: 1; }
.library-results { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 8px 0 16px; }
#libraryResultCount { margin: 0; color: #545c70; font-size: 14px; }
#libraryReset { min-height: 44px; padding: 8px 12px; border: 1px solid #c3c9d8; border-radius: 12px; background: rgba(255,255,255,.88); color: #303445; font: inherit; font-size: 14px; cursor: pointer; }
#libraryReset[hidden] { display: none !important; }
#librarySearch:focus-visible, #libraryReset:focus-visible { outline: 3px solid #6958b7; outline-offset: 3px; }

/* Hear and See use the same chip as Feel, with the icon visible. */
#player .np-layers {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}
#player .np-layers .player-layer-button {
  flex: 0 0 calc((100% - 32px) / 5) !important;
  width: calc((100% - 32px) / 5) !important;
  min-width: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 6px 2px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  color: #1d1d1f !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}
#player .np-layers .player-layer-button svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
  fill: none !important;
  background: none !important;
  padding: 0 !important;
  opacity: 1 !important;
  border-radius: 0 !important;
}
#player .np-layers .player-layer-button.is-active,
#playerHearButton.is-active,
#playerSeeButton.is-active {
  background: #1d1d1f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
}
#player .np-layers .player-layer-button.is-active span,
#player .np-layers .player-layer-button.is-active b,
#playerHearButton.is-active span,
#playerHearButton.is-active b,
#playerSeeButton.is-active span,
#playerSeeButton.is-active b {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#player .np-layers .player-layer-button.is-active svg {
  stroke: #fff !important;
  background: none !important;
  padding: 0 !important;
  opacity: 1 !important;
}
#player .np-layers .player-layer-button span {
  display: flex !important;
  gap: 3px !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}
#player .np-layers .player-layer-button b {
  display: inline !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: none !important;
}
#endSessionDialog[open] {
  max-height: none !important;
  overflow: visible !important;
}
#keepListeningButton {
  display: block !important;
  width: 100% !important;
  min-height: 44px !important;
  margin-top: 4px !important;
  background: none !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}
@media (min-width: 1100px) {
  #player.hero-room {
    justify-content: center !important;
    align-items: center !important;
    padding: 32px !important;
  }
  #player .now-playing {
    margin: 0 auto !important;
    border-radius: 22px !important;
    max-height: calc(100dvh - 64px) !important;
    overflow: auto !important;
  }
}

/* A focus ring only after a keyboard press, including the close button a sheet focuses on open. */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
dialog.suppress-focus-ring :focus,
dialog.suppress-focus-ring :focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
button:focus-visible,
a:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1c1c1e !important;
  outline-offset: 2px !important;
}
.handoff-spinner {
  width: 28px;
  height: 28px;
  margin: 4px auto 16px;
  border: 2px solid rgba(29, 29, 31, 0.16);
  border-top-color: #1d1d1f;
  border-radius: 50%;
  animation: handoff-spin 0.8s linear infinite;
}
@keyframes handoff-spin { to { transform: rotate(360deg); } }
#checkoutHandoffClose {
  background: none !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
  min-height: 44px !important;
}
@media (prefers-reduced-motion: reduce) {
  .handoff-spinner { animation: none !important; }
}

/* Pass 3. Room under the play button, and the same calm sheet for account, checkout, and sign-in. */
#player .now-playing .main-play {
  margin-bottom: 16px !important;
}
#player .np-layers {
  margin-top: 16px !important;
}
#player .np-layers .player-layer-button {
  flex: 0 1 112px !important;
  width: 112px !important;
  max-width: 46% !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 8px 10px !important;
}
#player .np-layers .player-layer-button span,
#player .np-layers .player-layer-button b {
  white-space: nowrap !important;
}
#authDialog header .eyebrow,
#checkoutHandoff header .eyebrow,
#profileDialog > form > header .eyebrow,
#profileDialog .membership-card > .eyebrow {
  display: none !important;
}
#authDialog h2,
#checkoutHandoff h2,
#tastePaywall h2,
#profileDialog h2,
#profileDialog #membershipTitle,
.listening-gate-card #gateTitle {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}
#tastePaywall .gate-price,
#checkoutHandoff .gate-price,
.listening-gate .gate-price,
#profileDialog #membershipPrice b {
  margin: 4px 0 16px !important;
  color: #1d1d1f !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
}
.listening-gate .gate-price span,
#profileDialog #membershipPrice small {
  font-size: 15px !important;
  font-weight: 600 !important;
}
#checkoutHandoff .gate-price {
  white-space: nowrap !important;
}
#tastePaywall .sheet-copy,
#checkoutHandoff .sheet-copy,
#authDialog .sheet-copy,
#profileDialog .membership-note,
#profileDialog #accountStatus,
#profileDialog #membershipStatus,
#profileDialog #membershipThrough {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
#profileDialog .membership-card {
  margin: 0 0 12px !important;
}
#profileDialog #membershipThrough {
  margin: 4px 0 0 !important;
}
.listening-gate .gate-steps {
  margin: 0 0 16px !important;
  padding-left: 1.25em !important;
}
.listening-gate .gate-steps li {
  margin: 0 0 6px !important;
}
@media (min-width: 1100px) {
  .listening-gate:not([hidden]) {
    display: block !important;
    overflow: auto !important;
    padding: 32px 32px 48px !important;
  }
  .listening-gate-card {
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 22px !important;
    padding: 28px 28px 24px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06) !important;
  }
  #tastePaywall[open],
  #checkoutHandoff[open],
  #authDialog[open],
  #profileDialog[open] {
    inset: auto !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(440px, calc(100% - 64px)) !important;
    margin: 0 !important;
    border-radius: 22px !important;
    max-height: calc(100dvh - 64px) !important;
  }
}

/* Library filters: pearl/ice chips, 44px targets, horizontal scroll on phones. */
#libraryScreen .sonara-filter-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px !important;
  width: 100%;
  margin: 0 0 10px !important;
  padding: 2px 0 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
#libraryScreen .sonara-filter-row::-webkit-scrollbar {
  display: none;
}
#libraryScreen .sonara-filter-row button {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
  min-width: 44px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(60, 60, 67, 0.16) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
  color: #3a3a3c !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
#libraryScreen .sonara-filter-row button.is-selected {
  border-color: rgba(90, 150, 180, 0.4) !important;
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%) !important;
  color: #1d1d1f !important;
  font-weight: 650 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Desktop: centre the footer Create account / Sign in block.
   .visitor-close uses margin: 0 !important, which otherwise leaves the
   720px landing-copy footer stuck to the left at 1024+ (including 1440).
   Phone and 820 (800–1023) stay unchanged. */
@media (min-width: 1024px) {
  #visitorLanding .landing-copy.visitor-close {
    width: min(720px, 100%) !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  #visitorLanding .visitor-close .primary-cta,
  #visitorLanding .visitor-close #landingStartEnd {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #visitorLanding .visitor-close #landingSignInEnd,
  #visitorLanding .visitor-close .text-button {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

