/* Shared material, taken from the homepage's rose listening button. */
:root {
  --glass-base: #582b466e;
  --glass-sheen-a: #e6a1c369;
  --glass-sheen-b: #f6d1e563;
  --glass-sheen-c: #ac66944f;
  --glass-sheen-d: #e8bad666;
  --glass-ink: #fff1f8;
  --glass-edge: #f1c8dfb3;
}

:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link),
:root body .preview-header-controls {
  isolation: isolate;
  overflow: hidden;
  color: var(--glass-ink) !important;
  border: 1px solid var(--glass-edge) !important;
  border-radius: var(--glass-radius,999px) !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: inset 0 1px 0 #fff5,inset 0 -1px 0 #77395433,0 5px 18px #10060d2b !important;
  transition: border-color .2s ease,transform .2s ease;
}

:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.dialog-close,.ylg-dialog-close,.ylg-full-link) { position: relative; }

/* A clipped child owns the blur, so the border keeps its original radius. */
:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link)::before,
:root body .preview-header-controls::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  width: auto;
  z-index: -1;
  border-radius: inherit;
  clip-path: inset(0 round var(--glass-radius,999px));
  pointer-events: none;
  opacity: 1;
  background-color: var(--glass-base);
  background-image: linear-gradient(115deg,var(--glass-sheen-a) 0%,var(--glass-sheen-b) 38%,var(--glass-sheen-c) 72%,var(--glass-sheen-d) 100%);
  background-size: 180% 100%;
  background-position: 10% 50%;
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
  transition: background-position .35s ease;
}
:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link):hover { border-color: #ffe0f1 !important; }
:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link):hover::before { background-position: 90% 50%; }

:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link)::after,
:root body .preview-header-controls::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--glass-edge),inset 0 1px 0 #fff5;
  pointer-events: none;
}

/* Service cards keep their quieter emphasis and their existing dimensions. */
.song-services .song-service {
  --glass-radius: 12px;
  --glass-base: #392333a6;
  --glass-sheen-a: #be86a82e;
  --glass-sheen-b: #e6bed03d;
  --glass-sheen-c: #865d7c1f;
  --glass-sheen-d: #c79caf2e;
  --glass-edge: #e9c2d581;
}
.song-service-copy small { color: #eddae4; font-size: 12px; }

/* Sage and cream cards use the same material with dark, readable lettering. */
.catalog-track-link,
.release-row .track-options,
.preview-biography-page .listen-link,
.button.cream {
  --glass-base: #f3ecdfad;
  --glass-sheen-a: #f1d4df75;
  --glass-sheen-b: #fff8ed99;
  --glass-sheen-c: #d9c7cd50;
  --glass-sheen-d: #f7eadf80;
  --glass-ink: #382b30;
  --glass-edge: #fff3e7ba;
}
.catalog-track-link .catalog-track-copy strong { color: #382b30; }
.catalog-track-link .catalog-track-copy small { color: #654958; font-size: 12px; }
.catalog-track-link .icon { color: #795367; }
.spotify-direct {
  --glass-base: #224b3bd1;
  --glass-sheen-a: #72a98d3b;
  --glass-sheen-b: #d9e9d92e;
  --glass-sheen-c: #4269582e;
  --glass-sheen-d: #89ae9b40;
  --glass-edge: #b7d1bd9c;
  --glass-ink: #f5fff7;
}
.button--dark {
  --glass-base: #382234d6;
  --glass-sheen-a: #ad7d9c40;
  --glass-sheen-b: #d7b1c53d;
  --glass-sheen-c: #64415b38;
  --glass-sheen-d: #b68ba33d;
}

/* Music stays visible alongside the existing menu and ambient-sound control. */
:root .preview-header-controls {
  --glass-base: #3e20374d;
  --glass-sheen-a: #e6a1c31f;
  --glass-sheen-b: #f6d1e529;
  --glass-sheen-c: #ac669414;
  --glass-sheen-d: #e8bad624;
  --glass-edge: #f1c8df66;
  height: 34px;
  padding: 0 6px;
  gap: 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 #fff2,0 3px 12px #10060d14 !important;
}
:root body .preview-header-controls::before {
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  backdrop-filter: blur(8px) saturate(110%);
}
:root body .preview-header-controls::after {
  box-shadow: inset 0 0 0 1px var(--glass-edge);
}
:root .preview-header :is(.header-music,.preview-menu-toggle,.eva-melody-button) {
  text-shadow: 0 1px 3px #1b0c1ab3;
}
:root .preview-header .eva-audio-player { width: 36px; height: 32px; flex: 0 0 36px; }
:root .preview-header .eva-melody-button { width: 36px; min-width: 36px; height: 32px; min-height: 32px; }

:root .preview-header .preview-nav { right: 20px !important; top: calc(100% - 3px); }
:root .preview-header .header-music {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  color: #fff1f8;
  font: 500 13px/1.2 var(--sans);
  text-decoration: none;
  border-radius: 20px;
}
:root .preview-header .header-music[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
:root .preview-header .preview-menu-toggle { width: 60px; min-height: 32px; height: 32px; padding: 6px 10px; font-size: 13px; line-height: 1.2; color: #fff1f8; }
:root .preview-header .eva-melody-button { color: #f4d7e7; }
:root .preview-header .header-music:hover { background: #fff1f814; }

:root body :is(a,button,summary):focus-visible {
  outline: 2px solid #e7b4ce !important;
  outline-offset: 4px !important;
}
:root body :is(.song-notes,.lyrics-sheet,.recording-details) a:focus-visible { outline-color: #7c4867 !important; }

@media(max-width:700px) {
  :root .preview-header .preview-wordmark > img { width: 120px; }
  :root .preview-header .header-music { padding-inline: 9px; font-size: 13px; }
  :root .preview-header .preview-menu-toggle { width: 60px; font-size: 13px; }
  :root .preview-header-controls { padding-inline: 4px; }
  :root .preview-header .preview-nav { right: 10px !important; }
}
@media(max-width:360px) {
  :root .preview-header .preview-wordmark > img { width: 98px; }
  :root .preview-header .header-music { padding-inline: 7px; }
  :root .preview-header .preview-menu-toggle { width: 56px; padding-inline: 8px; }
  :root body > .preview-header.preview-header { gap: 6px !important; }
}
@media(prefers-reduced-motion:reduce) {
  :root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link) { transition: none; }
}


/* Focus rings sit inside clipped glass surfaces. */
:root body :is(.button,.pill-link,.listen-link,.spotify-direct,.release-services-primary,.little-girl-listen,.artist-service,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link,.song-service,.catalog-track-link):focus-visible,
:root body .preview-header-controls :focus-visible { outline-offset: -4px !important; }
:root .preview-header .eva-melody-mark { width: 18px; height: 18px; transform: none; }
:root .preview-header .eva-melody-note { fill: none; stroke: currentColor; stroke-width: 1.8; }
:root .preview-header .eva-melody-button { color: #fff1f8; }
:root .preview-header .eva-melody-button[aria-pressed="true"] { background: #fff1f824; }
:root .preview-header .eva-melody-button[aria-pressed="true"] .eva-melody-note { stroke: #fff1f8; }
@media(prefers-reduced-motion:reduce) {
  :root body :is(.button,.pill-link,.listen-link,.spotify-direct,.song-service,.release-services-primary,.little-girl-listen,.artist-service,.catalog-track-link,.catalog-jump a,.eva-video-play,.little-girl-play,.papami-film-play,.dialog-close,.ylg-dialog-close,.ylg-full-link)::before { transition: none; }
}

.catalog-track-link { --glass-radius: 14px; }

/* Decorative photo objects and the signature do not get rectangular frames. */
:root body .preview-wordmark:is(:focus,:focus-visible),
:root body [data-photo-viewer]:is(:focus,:focus-visible) {
  outline: none !important;
  outline-offset: 0 !important;
}
