/* Shared, layout-stable placeholders for the radio catalog and cover imagery. */
.pw-media-frame { position: relative; }
.taste-genre-art { position: absolute !important; z-index: -2; inset: 0; overflow: hidden; border-radius: inherit; }
.taste-genre-art img { z-index: 0; }
.taste-portrait-art { position: absolute !important; inset: 0; border-radius: inherit; overflow: hidden; }
.taste-portrait-art.pw-media-error::after { content: none; }
.pw-artwork-prompt__art-frame { position: relative; display: inline-block; width: 34px; height: 34px; flex: 0 0 34px; overflow: hidden; border-radius: 8px; }
.ai-brand-art { display: inline-block; width: 26px; height: 26px; flex: 0 0 26px; overflow: hidden; border-radius: 7px; }
.pw-media-frame.pw-media-pending::after {
  content: "" !important; position: absolute !important; z-index: 3 !important; inset: 0 !important;
  width: auto !important; height: auto !important; border: 0 !important; border-radius: inherit;
  transform: none !important; pointer-events: none; opacity: 1 !important;
  background: linear-gradient(110deg, #ecebe8 8%, #f7f7f5 35%, #ecebe8 62%);
  background-size: 220% 100%; animation: pw-media-shimmer 1.6s linear infinite;
}
.pw-media-pending img { opacity: 0 !important; }
.pw-media-ready img { opacity: 1; }
.station-artwork.pw-media-ready img.editorial-cover-image { opacity: 1 !important; }
.station-artwork.pw-media-ready::before,
.contact-sheet-cover.pw-media-ready .contact-sheet-photo::before { content: none !important; }
.contact-sheet-cover.pw-media-pending .contact-sheet-title { opacity: 0; }
.pw-media-error::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: repeating-linear-gradient(135deg,#f1f0ed,#f1f0ed 9px,#e8e7e3 9px,#e8e7e3 10px); }
.pw-media-error img { opacity: 0 !important; }
.pw-favorites-loading { pointer-events: none; }
.pw-favorite-skeleton { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 7px 7px 18px; border: 1px solid #e9e7e3; border-radius: 18px; background: #fff; }
.pw-favorite-skeleton .pw-skeleton-art { display: block; aspect-ratio: 1; width: 100%; border-radius: 12px; background: linear-gradient(110deg,#ecebe8,#f8f8f6,#ecebe8); background-size: 220% 100%; animation: pw-media-shimmer 1.6s linear infinite; }
.pw-favorite-skeleton .pw-skeleton-line { margin-left: 2px; }
@keyframes pw-media-shimmer { to { background-position-x: -220%; } }
@media(prefers-reduced-motion:reduce) { .pw-media-frame.pw-media-pending::after,.pw-favorite-skeleton .pw-skeleton-art { animation: none; } }
@keyframes pw-skeleton-pulse {
  0%, 100% { opacity: .58; }
  50% { opacity: 1; }
}
.station-artwork.editorial-motion.is-image-pending::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, #ebe5de, #f8f5f1 48%, #e8e0d9);
  animation: pw-skeleton-pulse 1.35s ease-in-out infinite;
}
.station-artwork.editorial-motion.is-image-pending img.editorial-cover-image { opacity: 0; }
.station-artwork.editorial-motion.is-image-ready img.editorial-cover-image { opacity: 1; transition: opacity .18s ease; }
.contact-sheet-cover .contact-sheet-photo:not(.is-image-ready)::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(120deg, #e7dfd8, #f9f5f0 48%, #e5dbd4);
  animation: pw-skeleton-pulse 1.35s ease-in-out infinite;
}
.contact-sheet-cover .contact-sheet-photo:not(.is-image-ready) img { opacity: 0; }
.pw-skeleton-card, .pw-skeleton-row { pointer-events: none; border: 1px solid #eee8e3; border-radius: 15px; background: #fffdfb; }
.pw-skeleton-card { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 74px; overflow: hidden; }
.pw-skeleton-card .pw-skeleton-art { align-self: stretch; flex: 0 0 70px; width: 70px; background: #ebe5df; }
.pw-skeleton-copy { display: grid; align-content: center; gap: 7px; min-width: 0; flex: 1; padding-right: 14px; }
.pw-skeleton-line { display: block; width: 74%; height: 10px; border-radius: 999px; background: #eae5e0; }
.pw-skeleton-line:last-child { width: 44%; height: 8px; }
.pw-skeleton-card .pw-skeleton-art, .pw-skeleton-line, .pw-skeleton-row .pw-skeleton-art { animation: pw-skeleton-pulse 1.35s ease-in-out infinite; }
.pw-skeleton-row { display: flex; align-items: center; gap: 12px; min-height: 65px; padding: 8px; }
.pw-skeleton-row .pw-skeleton-art { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 11px; background: #ebe5df; }
.pw-skeleton-row .pw-skeleton-copy { padding-right: 12px; }
@media (min-width: 744px) {
  .home-station-grid .pw-skeleton-card { min-height: 54px; height: 54px; border: 0; border-bottom: 1px solid #eee8e3; border-radius: 0; }
  .home-station-grid .pw-skeleton-card .pw-skeleton-art { width: 40px; height: 40px; flex-basis: 40px; align-self: center; border-radius: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .station-artwork.editorial-motion.is-image-pending::before,
  .contact-sheet-cover .contact-sheet-photo:not(.is-image-ready)::before,
  .pw-skeleton-card .pw-skeleton-art, .pw-skeleton-line, .pw-skeleton-row .pw-skeleton-art { animation: none; }
  .station-artwork.editorial-motion.is-image-ready img.editorial-cover-image { transition: none; }
}
/* Temporary neutral category treatment; the ten WIP directions are still unselected. */
.category-artwork { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1.6; overflow: hidden; isolation: isolate; border: 1px solid #e8e7e3; border-radius: 13px; background: #fff; }
.category-artwork__sheets { position: absolute; inset: 10% 10% 29%; display: flex; align-items: center; justify-content: center; }
.category-artwork__sheets img { position: relative; display: block; width: 48%; height: 100%; object-fit: cover; border: 3px solid #fff; border-radius: 6px; box-shadow: 0 2px 5px #11131514; }
.category-artwork__sheets img:first-child { transform: translate(12%, 0) rotate(-8deg); }
.category-artwork__sheets img:last-child { transform: translate(-12%, 0) rotate(8deg); }
.category-artwork__browse { position: absolute; left: 9px; right: 9px; bottom: 8px; display: flex; align-items: center; gap: 5px; color: #515b60; font-size: 9px; font-weight: 600; line-height: 1; }
.category-artwork__browse > svg { width: 11px; height: 11px; flex: none; }
.category-artwork__browse > svg:last-child { margin-left: auto; }
.search-chart-tile > .category-artwork, .search-genre-tile > .category-artwork { width: 100%; height: auto; aspect-ratio: 1.6; }
.search-chart-tile > .category-artwork + strong, .search-genre-tile > .category-artwork + strong { margin-top: 8px; }
.category-artwork.pw-media-pending .category-artwork__browse { visibility: hidden; }
@media (max-width: 743px) {
  .category-artwork__sheets { inset: 9% 8% 30%; }
  .category-artwork__sheets img { border-width: 2px; }
}
/* Playlist recommendations share the station artwork, loaders and compact row system. */
.playlist-detail-actions { flex-wrap: wrap; justify-content: center; }
.playlist-add-stations { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 0 11px; border: 1px solid #e4e4e1; border-radius: 999px; background: #fff; color: #111315; font-size: 11px; font-weight: 600; }
.playlist-add-stations:hover, .playlist-add-stations:focus-visible { background: #f4f4f1; }
.playlist-recommendations { scroll-margin-top: 85px; padding-top: 24px; }
.playlist-recommendations-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.playlist-recommendations-heading h3 { margin: 0; color: #111315; font-size: 19px; font-weight: 600; letter-spacing: -.35px; line-height: 1.25; }
.playlist-recommendations-heading p { margin: 6px 0 0; color: #73777a; font-size: 12px; line-height: 1.5; }
.playlist-recommendations-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.playlist-recommendation-station { min-width: 0; border: 1px solid #ecece8; }
.playlist-recommendation-station .playlist-detail-station-copy small { font-size: 10px; }
.playlist-recommendation-add { display: inline-flex; align-items: center; justify-content: center; gap: 3px; flex: 0 0 auto; min-width: 52px; min-height: 34px; padding: 0 8px; border: 1px solid #e5e5e1; border-radius: 999px; background: #fff; color: #111315; font-size: 11px; font-weight: 600; }
.playlist-recommendation-add:hover, .playlist-recommendation-add:focus-visible { background: #111315; border-color: #111315; color: #fff; }
.playlist-recommendations-message { padding: 18px; border: 1px solid #e8e8e4; border-radius: 16px; background: #fff; }
.playlist-recommendations-message p, .playlist-recommendations-notice { margin: 0; color: #72777a; font-size: 12px; line-height: 1.55; }
.playlist-recommendations-message button { min-height: 34px; margin-top: 12px; padding: 0 15px; border: 0; border-radius: 999px; background: #111315; color: #fff; font-size: 12px; font-weight: 600; }
.playlist-recommendations-notice { margin-top: 12px; }
@media (min-width: 744px) {
  .playlist-recommendations-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
}
@media (min-width: 1400px) {
  .playlist-recommendations-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
/* A shared, editable voice composer and playlist proposals. */
.taste-portrait-art { z-index: 0; }
.ai-composer > .ai-voice-button, .library-ai-request-field > .ai-voice-button { display:grid; place-items:center; flex:none; width:42px; height:42px; padding:0; border:0; border-radius:50%; background:transparent; color:#4d4d55; }
.ai-composer > .ai-voice-button:hover, .library-ai-request-field > .ai-voice-button:hover { background:#f1f0f3; }
.ai-composer > .ai-voice-button.is-recording, .library-ai-request-field > .ai-voice-button.is-recording { background:#fbe4e1; color:#a43732; }
.ai-composer > .ai-voice-button.is-recording { box-shadow:0 0 0 4px #d8837318; }
.ai-composer > .ai-voice-button:disabled, .library-ai-request-field > .ai-voice-button:disabled { opacity:.4; background:transparent; cursor:not-allowed; }
.ai-voice-button svg { width:22px; height:22px; }
.ai-voice-status { flex:none; margin:8px 12px 0; color:#66646d; font-size:12px; line-height:1.5; }
.ai-voice-status.is-error { color:#9b3d37; }
.ai-playlist-proposals { display:grid; gap:12px; margin-top:17px; }
.ai-playlist-proposal { min-width:0; padding:14px; border:1px solid #e7e5e9; border-radius:18px; background:#fff; }
.ai-playlist-proposal-head { display:flex; align-items:center; gap:12px; }
.ai-playlist-proposal-head > .playlist-cover { width:70px; height:70px; flex:none; border-radius:11px; }
.ai-playlist-proposal-head > div { min-width:0; flex:1; }
.ai-playlist-proposal-head h3 { margin:0 0 5px; color:#202124; font-size:16px; font-weight:650; line-height:1.25; }
.ai-playlist-proposal-head small { color:#74747a; font-size:11px; }
.ai-playlist-proposal-head > button { flex:none; min-height:39px; padding:0 13px; font-size:11px; }
.ai-playlist-proposal details { margin-top:10px; }
.ai-playlist-proposal summary { width:fit-content; padding:7px 0; color:#56525f; font-size:12px; cursor:pointer; }
.ai-proposal-stations { display:grid; gap:9px; margin-top:8px; }
.ai-proposal-station { display:flex; align-items:center; gap:9px; min-width:0; }
.ai-proposal-station > .station-artwork { width:39px; height:39px; flex:none; border-radius:7px; }
.ai-proposal-station > span { min-width:0; flex:1; }
.ai-proposal-station strong { display:block; font-size:12px; }
.ai-proposal-station small { display:block; margin-top:3px; color:#73727a; font-size:10px; }
.ai-proposal-station .pw-icon-button { width:36px; height:36px; flex:none; }
.ai-results-loading { display:grid; gap:8px; margin-top:13px; }
.library-ai-shortcut { display:inline-flex; align-items:center; gap:7px; min-height:38px; padding:0 10px; border:1px solid #e5e3e8; border-radius:999px; background:#fff; color:#303037; font-size:12px; }
.library-ai-shortcut svg { width:22px; height:22px; }
.library-ai-request { max-width:440px; margin:22px 0 16px; }
.library-ai-request label { display:block; margin-bottom:10px; color:#49464d; font-size:13px; }
.library-ai-request-field { display:flex; align-items:center; gap:8px; min-height:62px; padding:7px 9px 7px 13px; border:1px solid #111315; border-radius:18px; background:#111315; color:#fff; box-shadow:0 5px 18px #29213408; }
.library-ai-request-field:focus-within { outline:3px solid #88769b18; border-color:#9e8db0; }
.library-ai-request-field > .ai-logo { width:25px; height:25px; flex:none; }
.library-ai-request-field input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:#fff; font:400 13px/1.5 var(--body); }
.library-ai-request-field input::placeholder { color:#f0f0f0; opacity:1; }
.library-ai-request-field > .ai-voice-button { color:#fff; }
.library-ai-request-field > .ai-voice-button:hover { background:#ffffff1f; }
.library-ai-request-field > .pw-icon-button { width:36px; height:36px; flex:none; border-radius:50%; background:#fff; color:#111315; }
.library-create-manual { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:0 20px; border:1px solid #111315; border-radius:999px; background:#fff; color:#111315; font:650 13px var(--body); }
.library-create-manual:hover { background:#f2f2f0; }
.library-create-manual:focus-visible { outline:2px solid #111315; outline-offset:4px; }
.playlist-empty-actions { display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:20px; }
.playlist-empty-actions > button { min-width:min(100%,260px); }
.playlist-empty-actions svg { width:20px; height:20px; }
@media(max-width:599px) { .ai-playlist-proposal-head { flex-wrap:wrap; gap:10px; } .ai-playlist-proposal-head > .playlist-cover { width:57px; height:57px; } .ai-playlist-proposal-head > div { flex-basis:calc(100% - 67px); } .ai-playlist-proposal-head > button { margin-left:67px; } .ai-composer { gap:7px; } .ai-composer > .ai-voice-button { width:34px; height:42px; } .library-ai-request-field { gap:5px; padding-left:10px; } }

/* Each preparation sleeve resolves independently. */
.prep-cover-frame { position:relative; display:block; flex:none; width:132px; height:132px; overflow:hidden; border:5px solid #fffdfb; border-radius:19px; box-shadow:0 12px 30px #3b241a35; }
.prep-covers .prep-cover-frame img { display:block; width:100%; height:100%; border:0; border-radius:0; object-fit:cover; transform:none; box-shadow:none; }
.prep-cover-frame:first-child { transform:translateX(31px) rotate(-11deg) scale(.86); }
.prep-cover-frame:nth-child(2) { z-index:2; transform:translateY(-8px); }
.prep-cover-frame:last-child { transform:translateX(-31px) rotate(11deg) scale(.86); }
@media(max-width:743px) { .prep-cover-frame { width:min(22vw,108px); height:min(22vw,108px); } }
/* Approved category direction: Editorial panorama. */
.category-artwork-wrap { display:block; width:100%; }
.category-artwork.category-artwork--panorama { display:block; position:relative; width:100%; height:136px; min-height:112px; aspect-ratio:auto; border:0; border-radius:12px; overflow:hidden; background:#eceae7; isolation:isolate; }
.category-artwork--panorama::before { content:""; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,#1113159e,transparent 95%); }
.category-artwork__panorama-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 46%; transition:transform .4s ease; }
.category-artwork__panorama-copy { position:absolute; z-index:2; inset:15px; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; color:#fff; text-align:left; }
.category-artwork__collection { display:inline-flex; align-items:center; min-height:21px; padding:4px 7px; border:1px solid #ffffff80; border-radius:5px; background:#11131538; color:#fff; font-size:9px; font-weight:600; line-height:1.2; letter-spacing:.01em; text-transform:none; backdrop-filter:blur(5px); }
.category-artwork__name { display:block; max-width:87%; color:#fff; font-size:24px; font-weight:650; line-height:1.05; letter-spacing:-.05em; text-wrap:balance; }
.category-artwork-wrap > .category-artwork__browse { position:static; display:flex; align-items:center; width:100%; margin-top:11px; padding:0; color:#727d82; font-size:10px; font-weight:550; line-height:1.25; }
.category-artwork-wrap > .category-artwork__browse > svg { width:12px; height:12px; }
.category-artwork-wrap > .category-artwork__browse > svg:last-child { width:16px; height:16px; margin-left:auto; }
.search-chart-tile { flex-basis:min(69%,230px); }
.search-chart-tile > .category-artwork-wrap, .search-genre-tile > .category-artwork-wrap { width:100%; }
.search-chart-tile:hover .category-artwork__panorama-photo, .search-genre-tile:hover .category-artwork__panorama-photo { transform:scale(1.04); }
.category-artwork--panorama.pw-media-pending .category-artwork__panorama-copy { visibility:hidden; }
/* New Playlist: one name, one primary action, an established nontext visual. */
.dialog-panel.playlist-create-panel .playlist-create-heading h3 { margin:0!important; color:#17191b; font-size:27px!important; font-weight:650!important; line-height:1.15; letter-spacing:-.04em; text-align:left; }
.playlist-create-art { height:139px; margin:19px 0 20px; }
.playlist-create-art > span { overflow:hidden; }
.playlist-create-art > span img { display:block; width:100%; height:100%; object-fit:cover; }
.dialog-panel.playlist-create-panel .playlist-create-actions .playlist-create-submit { flex:1; border-color:#17191b; background:#17191b; color:#fff; }
.dialog-panel.playlist-create-panel .playlist-create-actions .playlist-create-submit:disabled { background:#eceeef; border-color:#eceeef; color:#969a9e; }
@media(max-width:743px) { .search-genre-tile .category-artwork--panorama { height:116px; } .search-genre-tile .category-artwork__panorama-copy { inset:12px; } .search-genre-tile .category-artwork__name { font-size:21px; } .category-artwork-wrap>.category-artwork__browse { margin-top:9px; font-size:9px; } }
@media(prefers-reduced-motion:reduce) { .category-artwork__panorama-photo { transition:none; } .search-chart-tile:hover .category-artwork__panorama-photo,.search-genre-tile:hover .category-artwork__panorama-photo { transform:none; } }
/* The station sleeve follows the gesture and reveals its neighbor as one track. */
.expanded-player .player-art-carousel { position:relative; overflow:hidden; touch-action:pan-y; cursor:grab; }
.player-art-track { position:absolute; inset:0; will-change:transform; transition:none; }
.player-art-carousel.is-dragging:not(.is-settling) .player-art-track { transition:none; }
.player-art-carousel.is-settling { cursor:grabbing; }
.player-art-carousel.is-settling .player-art-track { transition:transform 230ms cubic-bezier(.2,.7,.2,1); }
.player-art-slide { position:absolute; top:0; width:100%; height:100%; padding:0; box-sizing:border-box; }
.player-art-slide.is-previous { transform:translateX(-18px); }
.player-art-slide.is-next { transform:translateX(18px); }
.expanded-player .player-art-slide .station-artwork { display:block; width:100%; height:100%; border-radius:inherit; }
.expanded-player .player-art-carousel .player-art-slide { border-radius:18px; }
.player-swipe-preview { width:min(100%,430px); min-height:17px; margin:10px auto -27px; color:#6f7275; font-size:11px; text-align:center; line-height:1.5; }
.expanded-player .player-controls { margin-top:27px; }
@media(prefers-reduced-motion:reduce) { .player-art-track { transition:none; } }

.player-art-carousel, .player-art-carousel img { user-select:none; -webkit-user-drag:none; }
/* Search uses the same pill geometry as the shared genre controls. */
.app-header .search-content-filters .catalog-type-tab { min-height:36px; padding:8px 14px; border:1px solid #e7e7e7 !important; border-radius:999px !important; background:#fff !important; color:#666c70 !important; font-size:12px; font-weight:550; }
.app-header .search-content-filters .catalog-type-tab.is-active { border-color:#151719 !important; background:#151719 !important; color:#fff !important; }

/* Finite skeleton motion is enabled by viewport and overlay ownership, never by mere DOM presence. */
.pw-media-frame.pw-media-pending::after,
.pw-favorite-skeleton .pw-skeleton-art,
.station-artwork.editorial-motion.is-image-pending::before,
.contact-sheet-cover .contact-sheet-photo:not(.is-image-ready)::before,
.pw-skeleton-card .pw-skeleton-art, .pw-skeleton-line, .pw-skeleton-row .pw-skeleton-art { animation: none; }
.pw-media-frame.pw-media-pending.pw-skeleton-active::after,
.pw-favorite-skeleton.pw-skeleton-active .pw-skeleton-art { animation: pw-media-shimmer 1.6s linear infinite; }
.station-artwork.editorial-motion.is-image-pending.pw-skeleton-active::before,
.contact-sheet-cover .contact-sheet-photo:not(.is-image-ready).pw-skeleton-active::before,
.pw-skeleton-card.pw-skeleton-active .pw-skeleton-art,
.pw-skeleton-active .pw-skeleton-line, .pw-skeleton-row.pw-skeleton-active .pw-skeleton-art { animation: pw-skeleton-pulse 1.35s ease-in-out infinite; }
html[data-skeleton-motion="native"] .pw-media-frame.pw-media-pending.pw-skeleton-active::after,
html[data-skeleton-motion="native"] .pw-favorite-skeleton.pw-skeleton-active .pw-skeleton-art { animation: pw-skeleton-pulse 1.35s ease-in-out infinite; }
@media(prefers-reduced-motion:reduce) {
  .pw-media-frame.pw-media-pending.pw-skeleton-active::after,
  .pw-favorite-skeleton.pw-skeleton-active .pw-skeleton-art,
  .station-artwork.editorial-motion.is-image-pending.pw-skeleton-active::before,
  .contact-sheet-cover .contact-sheet-photo:not(.is-image-ready).pw-skeleton-active::before,
  .pw-skeleton-card.pw-skeleton-active .pw-skeleton-art,
  .pw-skeleton-active .pw-skeleton-line, .pw-skeleton-row.pw-skeleton-active .pw-skeleton-art { animation: none !important; }
}
