.rf-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}.rf-tools button,.rf-dialog button{font:inherit;cursor:pointer}.rf-tools button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 13px;border:1px solid #ffffff24;border-radius:10px;background:#ffffff06;color:#e7edf3;font-size:12px;font-weight:600}.rf-tools svg{width:17px;height:17px;flex:none}.rf-tools button:hover{border-color:#32cd3270;background:#32cd3210}.rf-save[aria-pressed=true]{color:#63e66c;border-color:#32cd3255;background:#32cd3210}.rf-save[aria-pressed=true] svg{fill:#32cd3228}.rf-tools button:disabled{opacity:.45;cursor:default}.rf-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:6px;background:#ffffff10;font-size:11px;font-variant-numeric:tabular-nums}.rf-note{display:block;max-width:100%;margin-top:8px;font-size:11px;line-height:1.5;color:#98a6b5;overflow-wrap:anywhere}
html.pc-ui .rf-dialog,.rf-dialog{color-scheme:dark;color:#edf4fa;background:radial-gradient(ellipse at top left,#1d3a2b88,transparent 55%),#10171e;border:1px solid #38444f;border-radius:22px;padding:0;width:min(740px,calc(100vw - 32px));max-width:none;max-height:min(820px,calc(100dvh - 40px));box-shadow:0 32px 100px #0009;font-family:inherit;overflow:hidden;margin:auto;position:fixed;inset:0}.rf-dialog[open]{display:flex;flex-direction:column}.rf-dialog::backdrop{background:#04080bd4;backdrop-filter:blur(8px)}.rf-dialog *{box-sizing:border-box}.rf-header{display:flex;justify-content:space-between;align-items:flex-start;padding:28px 28px 20px;gap:16px}.rf-eyebrow{font-size:10px;letter-spacing:.18em;color:#69dc89;font-weight:700;margin:0 0 10px}.rf-header h2{font-size:28px;line-height:1.2;letter-spacing:-.6px;margin:0;font-weight:700;color:#edf4fa}.rf-subtitle{font-size:13px;line-height:1.6;color:#a2b0be;margin:10px 0 0}.rf-dialog button{border:0;color:inherit;background:transparent;display:grid;place-items:center;flex:none;border-radius:10px}.rf-dialog .rf-close{width:40px;height:40px;background:#ffffff08;font-size:26px;color:#a8b7c5}.rf-close:hover,.rf-remove:hover{background:#ffffff10}.rf-dialog :is(button,input):focus-visible,.rf-tools button:focus-visible{outline:2px solid #75e899;outline-offset:3px}.rf-search{display:flex;align-items:center;margin:0 28px;border:1px solid #34414c;background:#080e1480;border-radius:12px;padding:12px 14px;gap:12px}.rf-search>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.rf-search input{font:inherit;font-size:13px;width:100%;min-width:0;border:0;padding:0;background:transparent;color:#edf4fa;outline:none}.rf-search:focus-within{border-color:#69dc89}.rf-summary{display:flex;justify-content:space-between;gap:12px;padding:18px 28px 10px;color:#8495a5;font-size:11px}.rf-summary>span:first-child{color:#b8c5d0}.rf-list{min-height:0;overflow:auto;padding:0 18px 16px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#485967 transparent}.rf-row{display:flex;align-items:center;gap:14px;padding:12px 10px;border:1px solid transparent;border-radius:13px;margin:4px 0;position:relative}.rf-row:hover{background:#ffffff04}.rf-row.is-active{background:#32cd320c;border-color:#32cd3250}.rf-art{width:58px;height:58px;background:linear-gradient(135deg,#314439,#182736);border-radius:9px;flex:none;overflow:hidden}.rf-art img{width:100%;height:100%;object-fit:cover}.rf-dialog .rf-row-play{width:38px;height:38px;background:#ffffff0a;color:#d7e4ee;border:1px solid #ffffff15;border-radius:50%}.rf-row-play svg{width:18px;height:18px}.rf-dialog .is-active .rf-row-play{color:#09120c;background:#62db7a;border-color:transparent}.rf-row-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.rf-row-copy strong{font-size:13px;line-height:1.4;color:#edf4fa;font-weight:600;overflow-wrap:anywhere}.rf-artist{font-size:12px;color:#a3b2c0;line-height:1.4;overflow-wrap:anywhere}.rf-row-status{font-size:10px;color:#748698;line-height:1.4}.is-active .rf-row-status{color:#68df84}.rf-duration{font-size:11px;color:#8495a5;font-variant-numeric:tabular-nums;flex:none}.rf-dialog .rf-remove{width:36px;height:40px;color:#788b9c}.rf-remove svg{width:16px;height:16px}.rf-dialog .rf-remove:hover{color:#ffa6ae}.rf-empty{text-align:center;padding:36px 18px 44px}.rf-empty-mark{display:grid;place-items:center;margin:0 auto 18px;width:64px;height:64px;border-radius:20px;background:#32cd320b;border:1px solid #32cd3225;color:#71d68b}.rf-empty-mark svg{width:28px;height:28px}.rf-empty h3{font-size:17px;color:#e7f0f7;margin:0 0 10px;font-weight:600}.rf-empty p{color:#93a6b7;font-size:13px;line-height:1.65;margin:0 auto;max-width:350px}.rf-message{font-size:12px;color:#c1d4c5;margin:0 28px;line-height:1.5}.rf-message:empty{display:none}.rf-footer{font-size:11px;line-height:1.6;color:#8092a2;padding:14px 28px;border-top:1px solid #ffffff0a;background:#080e1440;flex:none}.rf-tools[hidden],.rf-tools [hidden],.rf-dialog [hidden],.rf-note[hidden]{display:none!important}
@media(max-width:600px){html.pc-ui .rf-dialog,.rf-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:18px}.rf-header{padding:22px 18px 18px;gap:8px}.rf-header h2{font-size:24px}.rf-subtitle{font-size:12px}.rf-search{margin:0 18px}.rf-summary{padding:15px 18px 8px;font-size:10px}.rf-list{padding:0 8px 10px}.rf-row{gap:8px;padding:10px 8px}.rf-art{width:40px;height:46px}.rf-dialog .rf-row-play{width:32px;height:32px}.rf-row-copy strong{font-size:12px}.rf-artist{font-size:11px}.rf-duration{display:none}.rf-dialog .rf-remove{width:30px}.rf-footer{padding:12px 18px;font-size:10px}.rf-tools{justify-content:center;gap:8px}.rf-tools button{font-size:11px;padding:8px 10px}}
/* Reset page-wide button padding so every control icon stays centered. */
.rf-dialog button{padding:0;min-width:0}

.rf-saved-badge{display:inline-flex;align-items:center;gap:4px;color:#68df84;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:0}.rf-saved-badge[hidden]{display:none!important}
.home-station-copy .rf-saved-badge{color:#68df84;font-size:10px;margin-top:3px}
.mini-heading{display:flex;align-items:center;gap:6px;min-width:0}.mini-heading strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-heading .rf-saved-badge{font-size:9px;flex:none;line-height:1.2}

/* Playback stays visible inside the saved music collection, including on phones. */
.rf-progress{display:grid;grid-template-columns:auto minmax(24px,1fr) auto;align-items:center;gap:7px;margin-top:6px;color:#adc5b7;font-size:10px;font-variant-numeric:tabular-nums;min-width:0}
.rf-progress>span{white-space:nowrap}.rf-progress .rf-seek{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:24px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;accent-color:#62db7a}
.rf-seek::-webkit-slider-runnable-track{height:4px;border-radius:8px;background:linear-gradient(to right,#62db7a var(--rf-progress,0%),#ffffff20 var(--rf-progress,0%))}.rf-seek::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border-radius:50%;border:0;background:#79e69a;box-shadow:0 0 8px #62db7a30}
.rf-seek::-moz-range-track{height:4px;border-radius:8px;background:#ffffff20}.rf-seek::-moz-range-progress{height:4px;border-radius:8px;background:#62db7a}.rf-seek::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#79e69a}.rf-progress .rf-seek:disabled{opacity:.45;cursor:default}
@media(max-width:600px){.rf-progress{gap:4px;font-size:9px;margin-top:4px}}

/* The collection glows only while a saved song is actually playing. */
.rf-tools .rf-open.is-playing{--rf-playing-rgb:98 219 122;--rf-playing-highlight:132 239 157;--rf-playing-text:#7dec98;--rf-playing-count:#a1f5b4;color:var(--rf-playing-text);border-color:rgb(var(--rf-playing-rgb) / .5);background:rgb(var(--rf-playing-rgb) / .08);animation:rf-saved-playing-glow 2.1s ease-in-out infinite}
.rf-open.is-playing .rf-count{background:rgb(var(--rf-playing-rgb) / .14);color:var(--rf-playing-count)}
.rf-tools .rf-open.is-collection-playing{--rf-playing-rgb:88 166 255;--rf-playing-highlight:139 193 255;--rf-playing-text:#8bc1ff;--rf-playing-count:#b9dcff}
.rf-tools .rf-open.is-collection-playing:focus-visible{outline-color:#8bc1ff}
@keyframes rf-saved-playing-glow{0%,100%{box-shadow:0 0 0 0 rgb(var(--rf-playing-rgb) / .09),0 0 8px rgb(var(--rf-playing-rgb) / .09);border-color:rgb(var(--rf-playing-rgb) / .4)}50%{box-shadow:0 0 0 3px rgb(var(--rf-playing-rgb) / .07),0 0 20px rgb(var(--rf-playing-rgb) / .26);border-color:rgb(var(--rf-playing-highlight) / .73)}}
@media(prefers-reduced-motion:reduce){.rf-tools .rf-open.is-playing{animation:none;box-shadow:0 0 10px rgb(var(--rf-playing-rgb) / .19)}}

/* A playing saved song keeps a gentle title glow for the whole listening session. */
html.pc-ui #home-radio-heading.rf-playing-title,#mini-track.rf-playing-title,#track-title.rf-playing-title,#station-category.rf-playing-title,.rf-row.is-playing .rf-row-copy strong{color:#7ded98;text-shadow:0 0 7px #62db7a55,0 0 18px #32cd3240}

html.pc-ui .home-radio-hero.is-saved-playing #home-radio-status{color:#8bc1ff;text-shadow:0 0 12px #58a6ff55}

html.pc-ui .home-station.is-current-song .radio-playing-label{color:#8bc1ff}
/* Save and like are separate actions of the same Music library. */
.rf-tools .rf-like,.track-card-actions .rf-like{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:7px;flex:none;border:1px solid #ffffff24;border-radius:9px;background:#ffffff06;color:#a6bdaf;font-size:21px;line-height:1;cursor:pointer}
.rf-like svg{width:17px;height:17px}.rf-like[aria-pressed=true]{color:#80dba8;border-color:#80dba855;background:#80dba810}.rf-like[aria-pressed=true] svg{fill:currentColor}.rf-like[hidden]{display:none!important}.rf-like:focus-visible{outline:2px solid #80dba8;outline-offset:3px}
.rf-filters{display:flex;align-items:center;gap:6px;padding:0 18px 10px;flex:none}.rf-filters button{display:inline-flex;min-height:30px;padding:6px 10px;border:1px solid #ffffff20;font-size:11px}.rf-filters button[aria-pressed=true]{background:#80dba819;color:#a6e4c2;border-color:#80dba850}
.rf-row{grid-template-columns:48px 36px minmax(0,1fr) auto 30px 30px}.rf-dialog .rf-like{width:30px;height:30px;padding:6px}.rf-dialog .rf-like svg{width:17px;height:17px}.rf-dialog .rf-like[aria-pressed=true]{color:#80dba8}
@media(max-width:600px){.rf-row{grid-template-columns:40px 32px minmax(0,1fr) 30px 30px}.rf-tools .rf-like{width:32px;min-height:32px;padding:6px}.rf-filters{padding-inline:18px;gap:5px}.rf-filters button{font-size:10px;padding:6px 8px}}
html[data-theme=light] .rf-tools .rf-like,html[data-theme=light] .track-card-actions .rf-like{color:#497963;border-color:#48745a33;background:#e3efe8}html[data-theme=light] .rf-like[aria-pressed=true]{color:#167047}
