@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#101114;--surface:#191a20;--surface2:#21222a;--text:#f5f5f7;--muted:#898b98;--line:#ffffff12;--accent:#bdff48;--accent-ink:#151711;--accent2:#ad90ff;--danger:#ff7584;--shadow:0 20px 60px #0006;--radius:22px;font-family:'DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-height:100dvh}button,input,select{font:inherit}button{color:inherit;cursor:pointer;border:0}.app-shell{width:min(100%,560px);min-height:100dvh;margin:auto;padding:0 22px calc(146px + env(safe-area-inset-bottom));position:relative}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between}.brand{color:var(--text);text-decoration:none;display:flex;align-items:center;gap:10px;font:800 20px Manrope,sans-serif;letter-spacing:-1px}.brand-light{font-weight:500;color:var(--muted)}.brand-mark{width:32px;height:32px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);border-radius:11px;font-size:20px}.avatar{background:var(--surface2);border:1px solid var(--line);width:38px;height:38px;border-radius:50%;font-size:16px;color:var(--accent)}main{padding-top:22px}.view{display:none;animation:enter .25s ease}.view.active{display:block}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.greeting{display:flex;align-items:center;justify-content:space-between;margin:2px 0 23px}.eyebrow{font-size:10px;letter-spacing:1.55px;font-weight:700;color:var(--muted);margin:0 0 8px}.greeting h1,.page-heading h1{font:800 32px Manrope,sans-serif;letter-spacing:-1.4px;margin:0}.wave-icon{font-size:35px;color:var(--accent);transform:rotate(-15deg)}.hero-card{height:215px;border-radius:26px;background:linear-gradient(115deg,#25232f,#1b1c24 58%,#292039);position:relative;overflow:hidden;padding:25px;display:flex;align-items:center;isolation:isolate}.hero-glow{position:absolute;width:240px;height:240px;border-radius:50%;background:#9a79ff33;filter:blur(35px);right:2px;top:-78px;z-index:-1}.hero-copy{z-index:2}.hero-copy h2{font:800 28px/1.12 Manrope,sans-serif;letter-spacing:-.8px;margin:0 0 18px}.primary-button{background:var(--accent);color:var(--accent-ink);font-weight:700;padding:11px 14px 11px 16px;border-radius:13px;display:flex;align-items:center;gap:18px;font-size:12px}.primary-button b{font-size:17px}.hero-art{position:absolute;right:16px;top:24px;width:175px;height:175px;transform:rotate(-13deg)}.hero-art i{position:absolute;inset:12px;border-radius:50%;border:1px solid #d4c5ff45;box-shadow:0 0 50px #a98aff20}.hero-art i:nth-child(2){inset:29px;background:radial-gradient(circle at 30% 27%,#ffb3c2,#9657cb 34%,#323d75 70%,#191920);border:0;box-shadow:0 20px 50px #0009}.hero-art i:nth-child(3){inset:55px;border:1px solid #ffffff3d}.hero-art span{position:absolute;inset:0;display:grid;place-items:center;font-size:43px;color:#ffffffa8}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:30px 0 13px}.section-heading h2,.results-head h2{font:700 17px Manrope,sans-serif;margin:0;letter-spacing:-.4px}.text-button{background:none;color:var(--accent);font-size:12px;font-weight:700;padding:5px 0}.track-list{display:flex;flex-direction:column;gap:3px}.track-row{display:flex;align-items:center;gap:12px;padding:8px;border-radius:14px;min-width:0;transition:background .2s}.track-row:hover{background:var(--surface)}.cover{width:48px;height:48px;flex:none;border-radius:13px;display:grid;place-items:center;font-size:22px;color:#ffffffdb;position:relative;overflow:hidden;background:linear-gradient(135deg,#5c587c,#24212d)}.cover:after{content:'';position:absolute;width:58px;height:58px;right:-25px;top:-22px;border:1px solid #fff5;border-radius:50%;box-shadow:0 0 14px #fff2}.cover.c2{background:linear-gradient(135deg,#c36e64,#492744)}.cover.c3{background:linear-gradient(135deg,#43806c,#192e3e)}.cover.c4{background:linear-gradient(135deg,#c49b4a,#522d3f)}.cover.c5{background:linear-gradient(135deg,#5472a3,#28233d)}.cover.c6{background:linear-gradient(135deg,#985baf,#281d47)}.track-meta{min-width:0;flex:1;text-align:left;background:none;padding:0}.track-meta b,.player-title b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.track-meta small,.player-title small{display:block;color:var(--muted);font-size:11px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-tag{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;white-space:nowrap}.source-dot{width:7px;height:7px;border-radius:50%;background:var(--accent2)}.source-spotify{background:#1ed760}.source-youtube{background:#ff4c4c}.source-soundcloud{background:#ff8a32}.track-action{background:none;color:var(--muted);padding:9px;font-size:19px}.empty-note{display:flex;align-items:center;gap:12px;padding:14px;margin:9px 0 0;background:var(--surface);border:1px solid var(--line);border-radius:17px}.empty-note b{font-size:12px}.empty-note p{font-size:11px;color:var(--muted);margin:4px 0 0}.empty-icon{height:35px;width:35px;border-radius:11px;display:grid;place-items:center;background:#bdff4818;color:var(--accent);font-size:23px}.source-note{margin:25px 0;color:var(--muted);display:flex;align-items:center;gap:8px;font-size:10px}.pulse-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px var(--accent)}.page-heading{margin:0 0 22px}.subheading{font-size:13px;line-height:1.55;color:var(--muted);margin:9px 0 0;max-width:380px}.search-box{height:54px;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:0 13px;display:flex;align-items:center;gap:10px}.search-box>span{font-size:24px;color:var(--accent)}.search-box input{outline:0;border:0;background:none;color:var(--text);width:100%;min-width:0;font-size:13px}.search-box input::placeholder{color:#777986}.search-box kbd{font-size:9px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:3px 5px;white-space:nowrap}.search-box button{display:none;background:none;color:var(--muted);font-size:19px}.chips{display:flex;gap:7px;overflow:auto;padding:14px 0 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{white-space:nowrap;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:8px 11px;color:var(--muted);font-size:10px}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:700}.results-head{display:flex;justify-content:space-between;align-items:end;margin:25px 0 11px}.filter-button{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:10px;color:var(--muted)}.demo-caption{text-align:center;color:var(--muted);font-size:10px;line-height:1.5;margin:24px 15px}.empty-state{text-align:center;padding:50px 25px;color:var(--muted)}.empty-state>div{font-size:37px;color:var(--accent);margin-bottom:5px}.empty-state h3{color:var(--text);font:700 16px Manrope;margin:5px}.empty-state p{font-size:12px;line-height:1.5}.hidden{display:none!important}.import-card{width:100%;display:flex;align-items:center;text-align:left;gap:12px;border-radius:18px;padding:14px;background:linear-gradient(105deg,#252531,#1b1c23);border:1px solid #ffffff10}.import-icon{width:42px;height:42px;border-radius:13px;background:#ae90ff20;color:var(--accent2);display:grid;place-items:center;font-size:21px}.import-card span:nth-child(2){flex:1}.import-card b,.import-card small{display:block}.import-card b{font-size:12px}.import-card small{color:var(--muted);font-size:10px;margin-top:5px}.soon-tag{font-size:8px;letter-spacing:.7px;background:#ffffff0d;color:var(--muted);border-radius:5px;padding:5px}.compact{margin-top:30px}.round-add{width:30px;height:30px;border-radius:50%;background:var(--surface2);color:var(--accent);font-size:19px}.playlist-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.playlist-card{background:var(--surface);border:1px solid var(--line);padding:10px;border-radius:17px;text-align:left}.playlist-art{aspect-ratio:1.15;border-radius:12px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#7b638e,#201e30);font-size:34px}.playlist-art.p2{background:linear-gradient(135deg,#c4936c,#553548)}.playlist-art.p3{background:linear-gradient(135deg,#517e75,#183b44)}.playlist-art.p4{background:linear-gradient(135deg,#6e89bf,#26345a)}.playlist-art:after{content:'';position:absolute;inset:18% 28%;border:1px solid #ffffff55;border-radius:50%;transform:rotate(-25deg)}.playlist-card b{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist-card small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.secondary-button{background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:10px 15px;font-size:11px;color:var(--text);margin-top:8px}.settings-group{margin:26px 0}.setting-card{display:flex;align-items:center;justify-content:space-between;padding:14px 13px;border-radius:15px;background:var(--surface);border:1px solid var(--line);margin-bottom:7px;gap:12px}.setting-copy b,.setting-copy small{display:block}.setting-copy b{font-size:12px}.setting-copy small{font-size:10px;color:var(--muted);margin-top:5px}.segmented{display:flex;gap:3px;background:var(--bg);padding:3px;border-radius:10px}.segmented button{width:29px;height:28px;border-radius:8px;background:none;color:var(--muted)}.segmented button.active{background:var(--accent);color:var(--accent-ink)}.theme-labels{display:flex;justify-content:flex-end;gap:14px;color:var(--muted);font-size:9px;padding-right:5px;margin-top:-2px}.setting-card select{background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:8px;font-size:10px}.toggle{width:39px;height:23px;border-radius:99px;background:#484952;padding:3px;text-align:left;transition:.2s}.toggle i{display:block;width:17px;height:17px;background:#fff;border-radius:50%;transition:.2s}.toggle[aria-pressed=true]{background:var(--accent)}.toggle[aria-pressed=true] i{transform:translateX(16px);background:var(--accent-ink)}.about-card{display:flex;align-items:center;gap:11px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:15px}.about-card>div{flex:1}.about-card b,.about-card small{display:block}.about-card b{font-size:12px}.about-card small{font-size:10px;color:var(--muted);margin-top:4px}.version-pill{color:var(--accent);font-size:8px;font-weight:700;letter-spacing:.8px}.player{position:fixed;bottom:calc(74px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),520px);background:color-mix(in srgb,var(--surface) 93%,transparent);backdrop-filter:blur(22px);border:1px solid #ffffff17;border-radius:17px;box-shadow:var(--shadow);z-index:5;overflow:hidden}.player-progress{height:2px;background:#ffffff15}.player-progress i{display:block;height:100%;width:0;background:var(--accent);transition:width .3s}.player-main{display:flex;align-items:center;gap:10px;padding:9px}.mini-cover{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#8a6ab0,#282044)}.player-title{background:none;text-align:left;min-width:0;flex:1;padding:0}.player-title b{font-size:11px}.player-title small{font-size:9px;margin-top:3px}.icon-button{background:none;color:var(--muted);font-size:17px;padding:4px}.play-button{width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-size:12px}.player-extra{display:flex;align-items:center;gap:10px;padding:0 12px 9px}.visualizer{height:17px;flex:1;display:flex;align-items:center;gap:2px}.visualizer i{width:3px;height:3px;border-radius:3px;background:var(--accent);opacity:.7}.player.playing .visualizer i{animation:bar .6s ease-in-out infinite alternate}.player.playing .visualizer i:nth-child(3n){animation-delay:-.45s}.player.playing .visualizer i:nth-child(2n){animation-delay:-.2s}@keyframes bar{to{height:15px}}.volume{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:13px}.volume input{accent-color:var(--accent);width:62px;height:3px}.duration{font-size:9px;color:var(--muted);min-width:54px;text-align:right}.tabbar{position:fixed;z-index:6;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);padding:8px 14px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:color-mix(in srgb,var(--bg) 91%,transparent);backdrop-filter:blur(22px);border-top:1px solid var(--line)}.tab{background:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0}.tab span{font-size:19px;line-height:20px}.tab small{font-size:9px}.tab.active{color:var(--accent)}.toast{position:fixed;z-index:10;bottom:calc(146px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,12px);background:var(--text);color:var(--bg);padding:10px 15px;border-radius:11px;font-size:11px;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{width:min(calc(100% - 38px),400px);padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:12px;background:none;color:var(--muted);font-size:24px}.dialog-title{font:700 19px Manrope;margin:5px 0 9px}.dialog-copy{font-size:12px;line-height:1.6;color:var(--muted)}.dialog-input{width:100%;padding:12px;border-radius:11px;border:1px solid var(--line);background:var(--bg);color:var(--text);outline:0;margin:8px 0 12px}.dialog-actions{display:flex;gap:8px;justify-content:flex-end}.dialog-actions button{border-radius:10px;padding:10px 14px;background:var(--surface2);font-size:11px}.dialog-actions .confirm{background:var(--accent);color:var(--accent-ink);font-weight:700}:root[data-theme=light]{color-scheme:light;--bg:#f4f3f0;--surface:#fff;--surface2:#eeede9;--text:#19191d;--muted:#777781;--line:#1e1d2615;--accent:#759c15;--accent-ink:#fff;--accent2:#7856bd;--shadow:0 20px 60px #25212a1f}:root[data-theme=light] .hero-card{background:linear-gradient(115deg,#e7e0ef,#f5eff7 58%,#e9e1f5)}:root[data-theme=light] .hero-glow{background:#a182dc33}:root[data-theme=light] .import-card{background:linear-gradient(105deg,#f1edf6,#fff)}:root[data-theme=light] .player{border-color:#00000012}:root[data-theme=neon]{--bg:#0b0b12;--surface:#141320;--surface2:#211c31;--text:#f8f3ff;--muted:#a59bb9;--line:#c69eff22;--accent:#eb61ff;--accent-ink:#210c25;--accent2:#75efff;--shadow:0 0 45px #d94cff1f}:root[data-theme=neon] .hero-card{background:linear-gradient(115deg,#211333,#151625 60%,#28173d)}:root[data-theme=neon] .hero-glow{background:#eb61ff36}:root[data-theme=neon] .brand-mark{box-shadow:0 0 20px #eb61ff66}:root[data-theme=neon] .pulse-dot{box-shadow:0 0 14px var(--accent)}@media(min-width:600px){.app-shell{padding-left:28px;padding-right:28px}.hero-card{height:230px}.hero-art{right:38px;top:27px;width:190px;height:190px}.track-row{padding:9px 11px}.tabbar{border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0}}
.player-progress{display:block;width:100%;height:3px;margin:0;appearance:none;background:#ffffff20;accent-color:var(--accent);cursor:pointer}.player-progress::-webkit-slider-thumb{appearance:none;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px var(--accent)}.player-progress::-moz-range-thumb{width:7px;height:7px;border:0;border-radius:50%;background:var(--accent)}.micro-control{background:none;color:var(--muted);padding:3px;font-size:13px}.micro-control.active{color:var(--accent)}

/* Sunnerix player surfaces and motion */
#particles{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.9}.app-shell{z-index:1}.topbar,main,.player,.tabbar{z-index:2}.hero-card{box-shadow:0 18px 48px #0002}.hero-art i:nth-child(2){animation:slow-orbit 16s linear infinite}@keyframes slow-orbit{to{transform:rotate(360deg)}}.track-row{transition:background .18s,transform .18s}.track-row:active{transform:scale(.99)}.track-actions{display:flex;align-items:center;gap:0}.track-action{font-size:17px;min-width:30px}.track-action.liked{color:#ff7093}.cover-image{object-fit:cover}.back-link{background:none;color:var(--muted);padding:0 0 16px;font-size:12px}.back-link span{color:var(--text)}.playlist-detail-hero{display:flex;align-items:center;gap:16px;margin:8px 0 19px;padding:17px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(130deg,var(--surface2),var(--surface))}.playlist-detail-art{width:88px;height:88px;flex:none;border-radius:17px;display:grid;place-items:center;color:white;font-size:38px;background:radial-gradient(circle at 30% 25%,#f4b2d8,#b26be4 38%,#4a397c 72%);box-shadow:0 12px 28px #8655cc40}.playlist-detail-hero h2{font:800 20px Manrope,sans-serif;margin:0 0 6px}.playlist-detail-hero small{font-size:10px;color:var(--muted)}.playlist-controls{display:flex;gap:8px;margin:0 0 12px}.playlist-controls .primary-button{flex:1;justify-content:center}.playlist-controls .secondary-button{margin:0}.player{overflow:visible}.particle-glow{position:absolute;inset:-10px;border-radius:20px;pointer-events:none;background:radial-gradient(ellipse at 50% 110%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 60%);opacity:0;transition:opacity .4s}.player.playing .particle-glow{opacity:1}.player-main,.player-extra,.player-progress,.queue-panel{position:relative;z-index:1}.skip-button{background:none;color:var(--muted);font-size:13px;padding:5px}.queue-panel{max-height:190px;overflow:auto;border-top:1px solid var(--line);padding:6px 8px}.queue-item{width:100%;display:flex;align-items:center;gap:9px;text-align:left;background:none;padding:8px;border-radius:10px}.queue-item.current{background:color-mix(in srgb,var(--accent) 10%,transparent)}.queue-item b{font-size:10px}.queue-item small{font-size:9px;color:var(--muted);margin-left:auto}.queue-empty{font-size:10px;color:var(--muted);padding:9px}.micro-control.active{background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:8px}.player-extra .visualizer{max-width:80px}.player audio{display:none}.import-dialog .dialog-input{margin-top:13px}.import-preview{padding:11px;border-radius:12px;background:var(--surface2);font-size:10px;color:var(--muted);line-height:1.5}.particle{position:absolute;width:4px;height:4px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent)}.section-heading{gap:8px}.search-box:focus-within{border-color:color-mix(in srgb,var(--accent) 60%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}.empty-state .secondary-button{margin-top:9px}
:root[data-theme=ocean]{--bg:#0b1520;--surface:#112331;--surface2:#173244;--text:#e9f8ff;--muted:#8ca8b7;--line:#78d8ff20;--accent:#57ddcf;--accent-ink:#092a30;--accent2:#82aaff;--shadow:0 20px 60px #00111c99}:root[data-theme=ocean] .hero-card{background:linear-gradient(120deg,#163649,#102738 58%,#17384a)}:root[data-theme=ocean] .hero-glow{background:#43d7e83b}:root[data-theme=ocean] .import-card{background:linear-gradient(105deg,#123141,#102430)}.playlist-choice-list{display:grid;gap:6px;max-height:250px;overflow:auto}.playlist-choice{display:flex;align-items:center;gap:10px;padding:12px;background:var(--surface2);border-radius:12px;text-align:left;font-size:12px}.playlist-choice span{color:var(--accent);font-size:17px}.playlist-choice b{margin-left:auto;color:var(--accent)}.import-label{font-size:11px;font-weight:700}.import-label .dialog-input{display:block}.import-preview{margin-bottom:12px}.theme-labels{display:grid;grid-template-columns:repeat(4,auto);justify-content:end;gap:11px;font-size:8px}.source-tag{max-width:80px;overflow:hidden;text-overflow:ellipsis}.track-row .source-tag{flex:none}@media(max-width:380px){.player-main{gap:5px}.skip-button{padding:3px}.player-extra{gap:6px}.player-extra .visualizer{max-width:38px}.volume input{width:45px}.duration{min-width:45px}}
.player.playing .visualizer i{animation:none}

/* Expanded floating player controls */
.app-shell{padding-bottom:calc(340px + env(safe-area-inset-bottom))}
.player{bottom:calc(74px + env(safe-area-inset-bottom));padding:9px 12px 10px;border-radius:24px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 92%,#583a32),color-mix(in srgb,var(--surface) 94%,#17151b));box-shadow:0 18px 50px #0007}
.player-head{position:relative;z-index:1;display:flex;align-items:center;gap:11px;min-height:53px}
.player-head .mini-cover{width:44px;height:44px;border-radius:12px}
.player-head .player-title b{font-size:13px}.player-head .player-title small{font-size:10px}
.player-like{color:var(--text);font-size:20px;padding:7px}.player-like:active{transform:scale(1.13)}
.player-like#favoriteButton{color:#fff}.player-like#favoriteButton.liked{color:#ff7697}
.player-seek{position:relative;z-index:1;padding:8px 0 1px}
.player-progress{height:4px;border-radius:99px;background:#ffffff35;accent-color:#fff}
.player-progress::-webkit-slider-thumb{width:9px;height:9px;background:#fff;box-shadow:0 0 5px #fff8}
.player-progress::-moz-range-thumb{width:9px;height:9px;background:#fff}
.seek-times{display:flex;justify-content:space-between;margin-top:5px;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}
.player-controls{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 1px 9px}
.player-control{width:40px;height:38px;display:grid;place-items:center;background:none;color:var(--text);font-size:19px;border-radius:50%}
.player-control.active{color:var(--accent)}.player-control:active{background:#ffffff14}
.play-button{width:48px;height:48px;flex:none;border-radius:50%;background:#fff;color:#19191d;font-size:19px;box-shadow:0 2px 10px #0002}
.player-send-button{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;gap:9px;width:100%;min-height:40px;padding:8px 12px;border-radius:999px;background:#ffffff16;color:var(--text);font-size:12px}
.player-send-button span{font-size:15px}.player-send-button b{font-size:12px;font-weight:700}
.player-bottom{position:relative;z-index:1;display:flex;align-items:center;gap:12px;min-height:28px;padding:4px 2px 0}
.player-bottom .visualizer{max-width:none;flex:1}.player-bottom .volume{gap:6px;color:var(--text);font-size:14px}.player-bottom .volume input{width:94px;height:4px;accent-color:var(--accent)}
.player-actions-menu{position:absolute;z-index:4;right:6px;bottom:calc(100% + 8px);width:min(270px,calc(100vw - 48px));padding:7px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 16px 45px #0008;backdrop-filter:blur(22px)}
.player-actions-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 11px;border-radius:11px;text-align:left;background:none;color:var(--text);font-size:15px}
.player-actions-menu button:hover,.player-actions-menu button:active{background:var(--surface2)}
.player-actions-menu button span{flex:1;font-size:12px}.player-actions-menu button small{color:var(--accent);font-size:12px}
.queue-panel{position:relative;z-index:2;max-height:180px;margin:7px -4px 0;border-radius:13px;background:var(--surface2)}
.toast{bottom:calc(340px + env(safe-area-inset-bottom))}
@media(max-width:380px){.app-shell{padding-bottom:calc(335px + env(safe-area-inset-bottom))}.player{padding-left:10px;padding-right:10px}.player-bottom .volume input{width:76px}.player-controls{gap:3px}.player-control{width:36px}}
.player-close{width:30px;height:30px;flex:none;border-radius:50%;background:#ffffff12;color:var(--muted);font-size:23px;line-height:1;display:grid;place-items:center}.player-close:active{background:#ffffff25;color:var(--text)}

:root[data-theme=sunset]{--bg:#1a1015;--surface:#271820;--surface2:#35202a;--text:#fff4ed;--muted:#c19b96;--line:#ffc1a51d;--accent:#ff9b69;--accent-ink:#35150b;--accent2:#e878a8;--shadow:0 20px 60px #10070caa}:root[data-theme=sunset] .hero-card{background:linear-gradient(115deg,#482431,#271821 58%,#563020)}:root[data-theme=sunset] .hero-glow{background:#ff7a593d}:root[data-theme=sunset] .import-card{background:linear-gradient(105deg,#38202a,#24171c)}
#themeOptions{gap:2px}#themeOptions button{width:26px;height:28px}.theme-labels{grid-template-columns:repeat(5,minmax(0,auto));gap:8px;font-size:8px}.player-restore.hidden{display:none!important}.player-restore{position:fixed;z-index:5;bottom:calc(74px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),520px);min-height:62px;padding:8px;display:flex;align-items:center;gap:8px;background:color-mix(in srgb,var(--surface) 93%,transparent);backdrop-filter:blur(22px);border:1px solid #ffffff17;border-radius:16px;box-shadow:var(--shadow)}.restore-track{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-align:left;background:none;padding:0}.restore-cover{width:42px;height:42px;border-radius:11px;font-size:17px}.restore-meta{min-width:0}.restore-meta b,.restore-meta small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restore-meta b{font-size:12px}.restore-meta small{font-size:10px;color:var(--muted);margin-top:4px}.restore-play{width:38px;height:38px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-size:13px}
@media(max-width:380px){.theme-labels{gap:5px;font-size:7px}.setting-card:has(#themeOptions){gap:5px;padding:12px 9px}.setting-card:has(#themeOptions) .setting-copy{min-width:68px}.player-restore{bottom:calc(74px + env(safe-area-inset-bottom))}}

.icon-svg{display:block;width:22px;height:22px;fill:currentColor;flex:none}.play-glyph{width:26px;height:26px}.volume-glyph{width:20px;height:20px}.send-glyph{width:18px;height:18px}.player-control .icon-svg{width:21px;height:21px}.player-control:focus-visible,.play-button:focus-visible,.track-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.track-row{cursor:pointer}.track-meta{cursor:pointer}.player-send-button>span{display:grid;place-items:center}.player.muted .visualizer i{height:2px!important;opacity:.12!important;animation:none!important}.volume-glyph{transition:opacity .15s}.player.muted .volume-glyph{color:var(--muted)}.playlist-track-toolbar{display:flex;gap:8px;align-items:center;margin:8px 0 12px}.playlist-track-toolbar input{min-width:0;flex:1;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);outline:0;font-size:12px}.playlist-track-toolbar input:focus{border-color:var(--accent)}.danger-button{padding:10px 12px;border:1px solid color-mix(in srgb,var(--danger) 35%,transparent);border-radius:12px;background:color-mix(in srgb,var(--danger) 10%,transparent);color:var(--danger);font-size:10px;font-weight:700;white-space:nowrap}.danger-confirm{background:var(--danger)!important;color:#fff!important}.remove-track{color:var(--danger)!important}

.cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cover.has-image:after{display:none}

.volume-glyph{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.playlist-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.playlist-art:has(.playlist-cover-image):after{display:none}.playlist-detail-art{position:relative;overflow:hidden}.playlist-detail-art .playlist-cover-image{border-radius:inherit}.arrow-glyph,.arrow-left-glyph{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.back-link{display:inline-flex;align-items:center;gap:6px}

/* Crisp system-independent controls and true AMOLED black theme */
:root[data-theme=dark]{--bg:#000000;--surface:#050505;--surface2:#0b0b0b;--line:#ffffff12;--shadow:0 18px 48px #000000;}
:root[data-theme=dark] body,:root[data-theme=dark] .tabbar,:root[data-theme=dark] .player,:root[data-theme=dark] .player-restore,:root[data-theme=dark] dialog{background:#000000;}
:root[data-theme=dark] .hero-card,:root[data-theme=dark] .import-card,:root[data-theme=dark] .playlist-detail-hero,:root[data-theme=dark] .setting-card,:root[data-theme=dark] .about-card,:root[data-theme=dark] .track-row:hover{background:#050505;}
:root[data-theme=dark] .hero-glow{opacity:.25;}
.icon-svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.play-glyph{width:25px;height:25px;fill:currentColor;stroke:none}
.play-button,.restore-play{display:grid;place-items:center;line-height:0;padding:0}
.play-button .play-glyph,.restore-play .play-glyph{width:24px;height:24px}
.volume-glyph{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.volume-glyph .speaker-body{fill:currentColor;stroke:none}
.tab span .icon-svg{width:21px;height:21px}
.theme-options button .icon-svg,.segmented button .icon-svg{width:17px;height:17px}
.track-action .icon-svg{width:18px;height:18px}
.player-actions-menu .icon-svg{width:18px;height:18px;display:inline-block;vertical-align:middle;margin-right:7px}
.filter-button{display:inline-flex;align-items:center;gap:5px}.filter-button .icon-svg{width:16px;height:16px}
.random-button{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font-size:12px;font-weight:700}.random-button .icon-svg{width:19px;height:19px;color:var(--accent)}.random-button:disabled{opacity:.6}
.playlist-controls{flex-wrap:wrap}.playlist-controls .secondary-button{flex:1}.playlist-controls .danger-button{margin-top:8px}
.player-restore{gap:5px}.restore-control{width:34px;height:38px;display:grid;place-items:center;flex:none;padding:0;background:none;color:var(--text);border-radius:10px}.restore-control .icon-svg{width:19px;height:19px}.restore-play{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--accent-ink)}.restore-track{gap:7px}.restore-cover{width:36px;height:36px;display:grid;place-items:center}.restore-meta b{font-size:10px}.restore-meta small{font-size:9px}
@media(max-width:380px){.player-restore{gap:2px;padding:6px}.restore-control{width:30px}.restore-play{width:33px;height:33px}.restore-cover{width:32px;height:32px}.restore-meta b{font-size:9px}}

/* Sunnerix wordmark and balanced compact-player controls */
.brand{gap:9px;letter-spacing:.12em;color:#f4f7ff}
.brand-logo{display:block;width:35px;height:35px;object-fit:contain;flex:none;filter:drop-shadow(0 0 10px #9dbbff35)}
.brand-wordmark{font:700 15px/1 'Manrope','Segoe UI',sans-serif;letter-spacing:.19em;color:#f3f7ff;text-shadow:0 0 18px #b9d1ff40}
.brand-light{font-weight:inherit;color:#f3f7ff}
.avatar{display:grid;place-items:center;background:radial-gradient(circle,#11150b 0,#050605 68%);border:1px solid #ffffff12;box-shadow:0 0 0 3px #ffffff03,inset 0 0 12px #b7ff4010;color:#bdff48}
.profile-glyph{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tab[data-tab=settings] .settings-glyph{width:21px;height:21px;stroke-width:1.65}
.player-restore{gap:8px}
.restore-track{min-width:0;flex:1}
.restore-controls{display:flex;align-items:center;gap:5px;flex:none}
.restore-controls .restore-control{width:32px;height:36px}
.restore-controls .restore-play{width:36px;height:36px}
.source-attribution{display:flex;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 24px);margin:0 12px 8px 61px;padding:5px 9px;border:1px solid #ff550033;border-radius:999px;background:#ff55000b;color:#ff8a50;text-decoration:none;font-size:9px;line-height:1.2}
.source-attribution svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.source-attribution .source-external{width:12px;height:12px;margin-left:2px}
.source-attribution b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--text)}
.source-attribution.hidden{display:none!important}
.track-action.source-open{color:#ff7843}
@media(max-width:380px){.player-restore{gap:5px}.restore-controls{gap:2px}.restore-controls .restore-control{width:29px}.restore-controls .restore-play{width:33px}.brand-wordmark{font-size:13px}}
:root{--wave-a:#ad90ff;--wave-b:#bdff48}.wave-experience{min-height:calc(100dvh - 190px);display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 2px 28px;position:relative;isolation:isolate;overflow:hidden}.wave-experience:before{content:'';position:absolute;inset:10% -20% 0;z-index:-2;background:radial-gradient(ellipse at 50% 43%,color-mix(in srgb,var(--wave-a) 17%,transparent),transparent 55%);animation:wave-aura 8s ease-in-out infinite alternate}.wave-experience>.back-link{align-self:flex-start}.wave-overline{margin-top:18px;color:var(--wave-a)}.wave-orb{width:min(64vw,270px);aspect-ratio:1;margin:15px auto 20px;position:relative;display:grid;place-items:center;filter:drop-shadow(0 0 32px color-mix(in srgb,var(--wave-a) 24%,transparent))}.wave-orb-core{position:absolute;inset:23%;border-radius:50%;background:radial-gradient(circle at 33% 27%,#f7d4ff,#a77cfa 34%,#394278 70%,#13151f);background-size:cover;background-position:center;box-shadow:inset -16px -20px 35px #070912aa,0 0 45px color-mix(in srgb,var(--wave-a) 25%,transparent);transition:background-image .4s,transform .5s}.wave-ring{position:absolute;border:1px solid color-mix(in srgb,var(--wave-a) 52%,transparent);border-radius:50%;inset:10%;transform:rotate(-25deg) scaleY(.42);animation:wave-orbit 12s linear infinite;box-shadow:0 0 13px color-mix(in srgb,var(--wave-a) 24%,transparent)}.ring-two{inset:1%;transform:rotate(55deg) scaleY(.66);animation-duration:18s;animation-direction:reverse;border-color:color-mix(in srgb,var(--wave-b) 43%,transparent)}.ring-three{inset:17%;transform:rotate(80deg) scaleY(.85);animation-duration:24s;border-style:dashed;opacity:.7}.wave-star{position:absolute;color:var(--wave-b);text-shadow:0 0 16px currentColor;animation:wave-twinkle 2.8s ease-in-out infinite}.star-one{top:14%;right:12%;font-size:23px}.star-two{bottom:19%;left:8%;font-size:29px;animation-delay:-1.2s}.star-three{top:30%;left:4%;font-size:33px;animation-delay:-.7s}.wave-experience h1{font:800 31px Manrope,sans-serif;letter-spacing:-1px;margin:0}.wave-caption{font-size:12px;color:var(--muted);margin:7px 0 20px}.wave-current{width:min(100%,340px);display:grid;gap:5px}.wave-current b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wave-current span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wave-actions{display:flex;gap:12px;align-items:center;justify-content:center;margin:22px 0 9px}.wave-like{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--surface2);color:var(--muted);border:1px solid var(--line)}.wave-like .icon-svg{width:21px;height:21px}.wave-like.liked{color:#ff718e;background:#ff718e18}.wave-skip{height:44px;padding:0 18px;border-radius:99px;display:flex;align-items:center;gap:12px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:12px}.wave-skip .icon-svg{width:16px;height:16px}.wave-privacy{max-width:330px;font-size:10px;line-height:1.5;color:var(--muted);margin:12px auto}.random-button#startWave{margin-bottom:8px;background:linear-gradient(110deg,color-mix(in srgb,var(--wave-a) 17%,var(--surface)),var(--surface));border-color:color-mix(in srgb,var(--wave-a) 30%,var(--line))}.random-button#startWave .icon-svg{color:var(--wave-a)}.wave-active #waveOrb .wave-orb-core{animation:wave-core-pulse 3.4s ease-in-out infinite alternate}.wave-active #waveOrb .wave-ring{animation-duration:7s}.wave-active #waveOrb .ring-two{animation-duration:11s}.wave-active #waveOrb .ring-three{animation-duration:14s}@keyframes wave-orbit{to{rotate:335deg}}@keyframes wave-twinkle{50%{opacity:.25;transform:scale(.72)}}@keyframes wave-aura{to{opacity:.45;transform:scale(1.12)}}@keyframes wave-core-pulse{to{transform:scale(1.045);filter:saturate(1.3) brightness(1.12)}}@media(prefers-reduced-motion:reduce){.wave-orb-core,.wave-ring,.wave-star,.wave-experience:before{animation:none!important}}
.random-button.home-wave-button{margin:0 0 14px;background:linear-gradient(110deg,color-mix(in srgb,var(--wave-a) 17%,var(--surface)),var(--surface));border-color:color-mix(in srgb,var(--wave-a) 30%,var(--line))}.random-button.home-wave-button .icon-svg{color:var(--wave-a)}.wave-orb.liked .wave-orb-core{box-shadow:inset -16px -20px 35px #070912aa,0 0 50px #ff718e66}.wave-like:focus-visible,.wave-skip:focus-visible,.random-button#startWave:focus-visible,.random-button.home-wave-button:focus-visible{outline:2px solid var(--wave-a);outline-offset:3px}
.effect-picker{width:min(100%,370px);margin:12px auto 0;padding:13px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 72%,transparent);backdrop-filter:blur(12px)}.effect-picker-label{display:block;text-align:left;margin:0 0 10px 3px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.effect-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.effect-options button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 3px;border-radius:12px;background:transparent;color:var(--muted);font-size:9px;transition:background .2s,color .2s,transform .2s}.effect-options button.active{background:color-mix(in srgb,var(--wave-a) 19%,var(--surface2));color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--wave-a) 40%,transparent)}.effect-options button:active{transform:scale(.96)}.effect-preview{width:34px;height:24px;display:block;border-radius:8px;position:relative;overflow:hidden;background:var(--surface2)}.preview-particles{background-image:radial-gradient(circle at 25% 35%,var(--accent) 1px,transparent 2px),radial-gradient(circle at 70% 65%,var(--wave-a) 1px,transparent 2px),radial-gradient(circle at 50% 75%,var(--accent) 1px,transparent 2px)}.preview-aurora{background:linear-gradient(160deg,transparent 25%,#a77cff99 43%,#71e6c899 55%,transparent 76%)}.preview-spectrum{background:linear-gradient(0deg,#a77cff77,transparent 90%)}.preview-spectrum:after{content:'';position:absolute;inset:7px 4px;background:repeating-linear-gradient(90deg,var(--wave-a) 0 2px,transparent 2px 5px);clip-path:polygon(0 65%,10% 20%,20% 80%,30% 0,40% 60%,50% 15%,60% 100%,70% 35%,80% 75%,90% 10%,100% 65%,100% 100%,0 100%)}.preview-orbit:before,.preview-orbit:after{content:'';position:absolute;inset:5px 2px;border:1px solid var(--wave-a);border-radius:50%;transform:rotate(-25deg) scaleY(.5)}.preview-orbit:after{transform:rotate(55deg) scaleY(.8);border-color:var(--accent)}.setting-card #effectSelect{min-width:130px}.fx-enabled.fx-orbit #waveOrb .wave-ring{animation-name:wave-orbit;animation-duration:9s}.fx-enabled.fx-orbit #waveOrb .ring-two{animation-duration:13s}.fx-enabled.fx-orbit #waveOrb .ring-three{animation-duration:17s}.fx-enabled.fx-particles #waveOrb .wave-orb-core{animation:wave-core-pulse 4.6s ease-in-out infinite alternate}.fx-enabled.fx-particles #waveOrb .wave-star{animation:wave-twinkle 2.8s ease-in-out infinite}.fx-enabled.fx-aurora #waveOrb .wave-orb-core{animation:wave-aurora-breathe 5s ease-in-out infinite alternate}.fx-enabled.fx-spectrum #waveOrb .wave-orb-core{animation:wave-spectrum-pulse .72s ease-in-out infinite alternate}.fx-enabled.fx-spectrum #waveOrb .wave-ring{animation-duration:4s}@keyframes wave-aurora-breathe{to{filter:hue-rotate(46deg) saturate(1.5);box-shadow:inset -16px -20px 35px #070912aa,0 0 65px #71e6c866}}@keyframes wave-spectrum-pulse{to{transform:scale(1.075);filter:brightness(1.22) saturate(1.3)}}body:not(.fx-enabled) #waveOrb .wave-orb-core,body:not(.fx-enabled) #waveOrb .wave-ring,body:not(.fx-enabled) #waveOrb .wave-star{animation:none!important}@media(max-width:360px){.effect-picker{padding:10px}.effect-options{gap:3px}.effect-options button{font-size:8px}.setting-card #effectSelect{min-width:110px}}
.fx-enabled:not(.fx-orbit) #waveOrb .wave-ring{animation:none}.fx-enabled.fx-spectrum #waveOrb .wave-ring{animation:wave-orbit 4s linear infinite}.effect-options button:focus-visible{outline:2px solid var(--wave-a);outline-offset:2px}
.fx-enabled:not(.fx-particles) #waveOrb .wave-star{animation:none}.fx-enabled:not(.fx-aurora) .wave-experience:before,body:not(.fx-enabled) .wave-experience:before{animation:none}

/* Layered orbit scene for My Wave. */
.fx-enabled.fx-orbit #waveOrb .wave-orb{filter:drop-shadow(0 0 22px color-mix(in srgb,var(--wave-a) 35%,transparent)) drop-shadow(0 0 48px color-mix(in srgb,var(--wave-b) 16%,transparent))}
.fx-enabled.fx-orbit #waveOrb .wave-ring{border-width:1.5px;box-shadow:0 0 8px color-mix(in srgb,var(--wave-a) 38%,transparent),inset 0 0 8px color-mix(in srgb,var(--wave-a) 13%,transparent)}
.fx-enabled.fx-orbit #waveOrb .ring-one{border-color:color-mix(in srgb,var(--wave-a) 72%,transparent)}
.fx-enabled.fx-orbit #waveOrb .ring-two{border-color:color-mix(in srgb,var(--wave-b) 58%,transparent);border-style:solid}
.fx-enabled.fx-orbit #waveOrb .ring-three{border-style:dotted;opacity:.82}
.fx-enabled.fx-orbit #waveOrb .wave-ring:after{content:'';position:absolute;left:50%;top:-4px;width:8px;height:8px;border-radius:50%;background:var(--wave-b);box-shadow:0 0 7px 3px color-mix(in srgb,var(--wave-b) 55%,transparent)}
.fx-enabled.fx-orbit #waveOrb .ring-two:after{left:12%;top:auto;bottom:-3px;width:6px;height:6px;background:var(--wave-a);box-shadow:0 0 9px 3px color-mix(in srgb,var(--wave-a) 58%,transparent)}
.fx-enabled.fx-orbit #waveOrb .ring-three:after{left:auto;right:16%;top:50%;width:4px;height:4px}
.fx-enabled.fx-orbit #waveOrb .wave-orb-core{animation:wave-orbit-heartbeat 4.2s ease-in-out infinite alternate}
@keyframes wave-orbit-heartbeat{to{transform:scale(1.035);filter:brightness(1.16) saturate(1.24);box-shadow:inset -16px -20px 35px #070912aa,0 0 58px color-mix(in srgb,var(--wave-a) 45%,transparent)}}
@media(prefers-reduced-motion:reduce){.fx-enabled.fx-orbit #waveOrb .wave-orb-core{animation:none!important}}

/* Equalizer controls */
.eq-panel{padding:8px 13px 13px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin-top:-5px;margin-bottom:8px}.eq-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:var(--surface2)}.eq-presets button{min-width:0;padding:9px 3px;background:transparent;color:var(--muted);border-radius:8px;font-size:10px;font-weight:700}.eq-presets button.active{background:var(--text);color:var(--bg)}.eq-bands{display:grid;gap:13px;padding:17px 0 10px}.eq-bands label{display:grid;grid-template-columns:54px minmax(0,1fr) 42px;gap:9px;align-items:center;color:var(--muted);font-size:10px}.eq-bands input{width:100%;accent-color:var(--accent)}.eq-bands b{text-align:right;color:var(--text);font-size:10px}.eq-panel>#eqReset{display:block;margin:0 0 0 auto}.channel-link{color:inherit;text-decoration:none}.shortcut-card .secondary-button{margin:0;white-space:nowrap}.sound-settings .setting-card{margin-bottom:7px}
/* Quiet movement gives each collection view a subtle identity. */
[data-view="home"] .greeting:after{content:'';position:absolute;right:5%;top:80px;width:90px;height:90px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,color-mix(in srgb,var(--accent2) 16%,transparent),transparent 68%);animation:home-glow-drift 8s ease-in-out infinite alternate}
.playlist-art{background-size:180% 180%;animation:playlist-shimmer 11s ease-in-out infinite alternate}.settings-group .setting-card{transition:border-color .25s,box-shadow .25s}.settings-group .setting-card:focus-within{border-color:color-mix(in srgb,var(--accent2) 46%,var(--line));box-shadow:0 0 20px color-mix(in srgb,var(--accent2) 8%,transparent)}
@keyframes home-glow-drift{to{transform:translate(-25px,30px) scale(1.35);opacity:.55}}@keyframes playlist-shimmer{to{background-position:100% 85%}}
@media(min-width:800px){.app-shell{width:min(100%,1240px);padding:0 42px 90px 128px}.topbar{height:82px}.tabbar{left:16px;top:50%;bottom:auto;transform:translateY(-50%);width:86px;height:auto;display:flex;flex-direction:column;gap:12px;padding:14px 8px;border:1px solid var(--line);border-radius:20px}.tab{width:100%;min-height:54px}.tab small{font-size:9px}.player{left:auto;right:24px;bottom:18px;transform:none;width:min(520px,42vw)}.playlist-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wave-experience{max-width:780px;margin:0 auto}.settings-group{max-width:900px}.hero-card{height:260px}}
@media(prefers-reduced-motion:reduce){[data-view="home"] .greeting:after,.playlist-art{animation:none!important}}

/* Keep the library grid inside the viewport and make playlists easier to scan. */
body{overflow-x:hidden}
.app-shell{overflow-x:clip}
.playlist-grid{width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
.playlist-card{min-width:0;padding:8px}
.playlist-art{aspect-ratio:1/1;margin-bottom:7px;font-size:27px}
.playlist-art:after{inset:20% 30%}
@media(min-width:600px){.playlist-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:10px}}
.artist-list-page{position:relative;grid-template-columns:minmax(0,1fr)}
.artist-list-page>.social-back{position:static;grid-row:1;grid-column:1;justify-self:start;align-self:center;z-index:1;margin:0;padding:8px 10px}
.artist-list-page>h2{grid-row:1;grid-column:1;justify-self:center;align-self:center;width:100%;margin:0;padding:0 90px;text-align:center;font-size:18px;pointer-events:none}
.artist-list-page>.artist-full-list,.artist-list-page>.social-pagination{grid-column:1}
.artist-clip-card{display:grid;gap:7px}
.artist-clip-card .social-playlist-card{width:100%}
.artist-clip-video{display:block;width:100%;max-height:min(58dvh,460px);aspect-ratio:16/9;background:#000;border-radius:14px}
.artist-clip-video.hidden{display:none}
.friend-profile-head{display:flex;align-items:center}
.friend-profile-head>div:nth-child(2){flex:1;min-width:0}
.friend-management{display:grid;gap:6px;justify-items:stretch;margin-left:auto}
.friend-management-toggle{padding:9px 12px;border-radius:12px;background:var(--surface2);border:1px solid var(--line);color:var(--text);font-size:11px;font-weight:700;white-space:nowrap}
.friend-management-toggle::marker,.friend-management-toggle::-webkit-details-marker{display:none}
.friend-management .friend-remove{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);font-size:11px}
.social-track-actions{display:grid;gap:7px}
.social-track-actions .dialog-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:420px){.friend-profile-head{gap:8px;padding:10px}.friend-profile-head .social-avatar.large{width:48px;height:48px}.friend-management-toggle{padding:8px;font-size:10px}}

.leaderboard-hint{margin:-4px 0 12px;color:var(--muted);font-size:11px}.leaderboard-periods{margin-bottom:10px}.leaderboard-periods button{flex:1;font-size:10px}.leaderboard-list{display:grid;gap:5px}.leaderboard-row{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.leaderboard-place{color:var(--muted);font-size:11px;text-align:center}.leaderboard-identity{min-width:0;display:flex;align-items:center;gap:9px;color:var(--text);text-decoration:none}.leaderboard-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;overflow:hidden;border-radius:50%;background:var(--surface2);color:var(--accent);font-size:15px}.leaderboard-avatar img{width:100%;height:100%;object-fit:cover}.leaderboard-names{min-width:0}.leaderboard-names b,.leaderboard-names small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-names b{font-size:11px}.leaderboard-names small{margin-top:3px;color:var(--muted);font-size:9px}.leaderboard-time{white-space:nowrap;color:var(--accent);font-size:10px}.leaderboard-empty{padding:15px 9px;text-align:center;color:var(--muted);font-size:11px}.anonymous-setting{margin-top:10px}
@media(max-width:400px){.eq-presets button{font-size:9px}.eq-bands label{grid-template-columns:48px minmax(0,1fr) 38px;gap:6px}.playlist-controls{flex-wrap:wrap}.playlist-controls>*{flex:1 1 40%}.leaderboard-row{gap:6px;padding:7px 6px}.leaderboard-time{font-size:9px}}

[data-view="search"] .page-heading:after,[data-view="library"] .page-heading:after,[data-view="playlists"] .page-heading:after,[data-view="settings"] .page-heading:after{content:'';display:block;position:absolute;right:6%;top:98px;width:72px;height:72px;border-radius:50%;pointer-events:none;filter:blur(1px);animation:section-breathe 7s ease-in-out infinite alternate}
[data-view="search"] .page-heading:after{background:radial-gradient(circle,color-mix(in srgb,#7fe8ff 18%,transparent),transparent 70%)}[data-view="library"] .page-heading:after{background:radial-gradient(circle,color-mix(in srgb,var(--accent) 19%,transparent),transparent 70%)}[data-view="playlists"] .page-heading:after{background:radial-gradient(circle,color-mix(in srgb,var(--accent2) 21%,transparent),transparent 70%)}[data-view="settings"] .page-heading:after{background:radial-gradient(circle,color-mix(in srgb,#ffbb82 17%,transparent),transparent 70%)}@keyframes section-breathe{to{transform:translate(-12px,10px) scale(1.28);opacity:.6}}@media(prefers-reduced-motion:reduce){[data-view] .page-heading:after{animation:none!important}}
.choice-trigger{min-width:132px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-size:12px;text-align:left}.choice-trigger .icon-svg{width:14px;height:14px;color:var(--muted)}.choice-list{margin-top:12px}.choice-row{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 3px;border-top:1px solid var(--line);background:transparent;color:var(--muted);font-size:13px;text-align:left}.choice-row.selected{color:var(--text);font-weight:700}.choice-row i{font-style:normal;color:var(--text);font-size:15px}.choice-row:active{background:var(--surface2)}.all-tracks-button{padding:9px 12px;border-radius:12px;background:var(--surface2);font-weight:700}.wave-actions{display:flex;align-items:center;justify-content:center;gap:10px}.wave-dislike{margin:0;min-height:42px;padding:0 13px;font-size:11px}.playlist-track-toolbar{display:flex;gap:8px;align-items:center}.playlist-track-toolbar button{white-space:nowrap}.leaderboard-identity{cursor:default;pointer-events:none}

.wave-artist-edit{margin:10px auto 2px;min-height:40px;padding:0 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font-size:12px}.wave-picked,.wave-artist-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.wave-similar-label{margin:18px 0 6px}.wave-artist-chip{max-width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--text);font-size:12px}.wave-artist-chip.selected{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface))}.wave-artist-chip:disabled{opacity:.55}.wave-artist-options{max-height:220px;overflow:auto;align-content:flex-start}.wave-artist-options:empty:after{content:""}
.wave-minimum-note{margin:0;padding:8px 11px;border-radius:10px;background:color-mix(in srgb,var(--accent) 9%,var(--surface));color:var(--accent);font-size:11px;line-height:1.4}.wave-minimum-note.hidden{display:none}

.wave-artist-chip{display:inline-flex;align-items:center;gap:8px}.wave-artist-chip img{width:30px;height:30px;flex:none;object-fit:cover;border-radius:50%;background:var(--surface)}.wave-artist-chip.selected img{width:26px;height:26px}.youtube-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.youtube-dialog-head .dialog-title{margin:0}.youtube-dialog-head .dialog-copy{margin:4px 0 12px}.youtube-player-frame{width:100%;height:min(56.25vw,405px);min-height:200px;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:#000}.youtube-player-frame iframe{width:100%;height:100%;border:0}.youtube-caption-hint{padding:12px;border-radius:12px;background:var(--surface2);font-size:12px;line-height:1.5;color:var(--muted)}.youtube-open-link{display:flex;align-items:center;padding:10px 14px;border-radius:12px;text-decoration:none;font-weight:600;font-size:12px}@media(min-width:600px){#dialog:has(.youtube-player-frame){width:min(780px,calc(100vw - 40px));max-width:780px}}@media(max-width:420px){.youtube-dialog-head{display:block}.youtube-dialog-head .secondary-button{margin-bottom:10px}.youtube-player-frame{height:220px}}
.youtube-wave-player{width:min(100%,760px);min-height:200px;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#000;box-shadow:0 18px 60px #0008;animation:youtube-wave-in .35s ease-out}.youtube-wave-player iframe{display:block;width:100%;height:100%;border:0}.wave-pause{min-width:48px;min-height:44px;padding:10px;border-radius:999px}.wave-pause .icon-svg{width:19px;height:19px}.youtube-wave-player:not(.hidden)~.wave-actions .wave-pause{display:none!important}@keyframes youtube-wave-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.wave-artist-empty{grid-column:1/-1;margin:8px 0;padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:12px;line-height:1.5}
body.youtube-wave-active .wave-orb,body.youtube-wave-active #editWaveArtists,body.youtube-wave-active .wave-privacy,body.youtube-wave-active #startWave{display:none!important}body.youtube-wave-active .wave-experience{gap:14px}body.youtube-wave-active .wave-current{margin-bottom:4px}body.youtube-wave-active .youtube-wave-player{max-height:min(52vh,520px)}body.youtube-wave-active .wave-actions{justify-content:center;flex-wrap:wrap}
/* Navigation, compact YouTube controls, and non-link brand button */
.brand{background:transparent;border:0;padding:0;cursor:pointer}
.youtube-seek,.youtube-volume{display:flex;align-items:center;gap:10px;width:min(100%,520px);margin:0 auto;color:var(--muted);font-size:11px}
.youtube-seek input,.youtube-volume input{flex:1;min-width:0;accent-color:var(--accent)}
.youtube-volume{justify-content:center;margin-top:12px}.youtube-volume input{max-width:300px}
.wave-transport svg{width:20px;height:20px}
body.youtube-wave-active .wave-actions{display:flex;align-items:center;gap:10px}
body.youtube-wave-active .wave-like,body.youtube-wave-active .wave-dislike,body.youtube-wave-active .wave-skip,body.youtube-wave-active .wave-pause,body.youtube-wave-active .wave-captions,body.youtube-wave-active .wave-transport{display:inline-flex!important;align-items:center;justify-content:center}
body.youtube-wave-active .wave-skip{min-height:42px}

.youtube-inline-mount:not(.hidden){display:block;width:100%;margin:12px 0 18px}.youtube-inline-mount .youtube-wave-player{width:min(100%,860px);margin:0 auto}.youtube-inline-active .youtube-wave-player{max-width:100%}@media(min-width:800px){.youtube-inline-mount .youtube-wave-player{width:min(100%,980px);margin:16px auto}.youtube-inline-active .app-shell{width:min(100%,1100px)}}@media(max-width:520px){.youtube-wave-player{min-height:200px;border-radius:14px}.youtube-inline-mount{margin:8px 0 14px}}
.eq-note{margin:10px 2px;color:var(--muted);font-size:11px;line-height:1.45}.player-dislike{color:var(--muted)}.player-dislike:hover,.player-dislike:focus-visible{color:var(--danger)}.player-dislike .icon-svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.leaderboard-toggle{width:100%;margin-top:10px}.leaderboard-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.leaderboard-pagination span{color:var(--muted);font-size:.82rem}

.search-artist-wave{display:grid;grid-template-columns:54px 1fr auto;grid-template-rows:auto 1fr;align-items:center;gap:3px 12px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(100deg,var(--surface),var(--surface2))}.search-artist-wave>img{grid-row:1/3;width:54px;height:54px;border-radius:14px;object-fit:cover}.search-artist-wave-label{grid-column:2;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:1px}.search-artist-wave-copy{grid-column:2;display:grid;gap:3px}.search-artist-wave-copy b{font-size:14px}.search-artist-wave-copy small{color:var(--muted);font-size:10px}.search-artist-wave-play{grid-column:3;grid-row:1/3;padding:9px 12px;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:11px}
.youtube-inline-close,.youtube-close{display:block;margin:10px auto 0;padding:9px 13px;border-radius:12px;font-size:11px}.youtube-close:not(.hidden){display:block}.youtube-inline-close{width:max-content}
.fx-enabled #waveOrb .wave-ring{animation:wave-orbit 12s linear infinite!important}.fx-enabled #waveOrb .ring-two{animation-duration:18s!important;animation-direction:reverse!important}.fx-enabled #waveOrb .ring-three{animation-duration:24s!important}.fx-enabled.fx-spectrum #waveOrb .wave-ring{animation-duration:4s!important}@media(prefers-reduced-motion:reduce){.wave-ring{animation:wave-orbit 12s linear infinite!important}.ring-two{animation-duration:18s!important;animation-direction:reverse!important}.ring-three{animation-duration:24s!important}}
body:not(.fx-enabled) #waveOrb .wave-ring,.fx-enabled:not(.fx-orbit) #waveOrb .wave-ring{animation:wave-orbit 12s linear infinite!important}body:not(.fx-enabled) #waveOrb .ring-two,.fx-enabled:not(.fx-orbit) #waveOrb .ring-two{animation-duration:18s!important;animation-direction:reverse!important}body:not(.fx-enabled) #waveOrb .ring-three,.fx-enabled:not(.fx-orbit) #waveOrb .ring-three{animation-duration:24s!important}
.search-controls{display:flex;align-items:stretch;gap:9px}.search-controls .search-box{flex:1;min-width:0}.search-kind{width:128px;flex:none;padding:0 12px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);font-size:12px;font-weight:600}.search-kind:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:430px){.search-controls{gap:6px}.search-kind{width:106px;padding:0 7px;font-size:10px}.search-box kbd{display:none}}
@keyframes wave-orbit{to{rotate:360deg}}
.wave-dislike{display:grid;place-items:center;padding:0;width:42px;height:42px}.wave-dislike .icon-svg{transform:translateX(-1px)}.player-dislike{display:grid;place-items:center;padding:0;width:38px;height:38px}.player-dislike .icon-svg{width:19px;height:19px;transform:translateX(-1px)}
.search-kind{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;text-align:left}.search-kind-icon,.search-kind-chevron{width:15px;height:15px;flex:none;color:var(--accent)}.search-kind-chevron{color:var(--muted)}.wave-dislike{color:var(--muted)}.wave-dislike .icon-svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wave-dislike:hover,.wave-dislike:focus-visible{color:var(--danger)}.wave-dislike:active{transform:scale(.94)}
body{user-select:none;-webkit-user-select:none}input,textarea,[contenteditable="true"],[contenteditable=""]{user-select:text;-webkit-user-select:text}button,.track-row,.cover,.source-tag{-webkit-user-select:none;user-select:none}
@media(prefers-reduced-motion:reduce){.wave-orb-core,.wave-star,.wave-experience:before{animation:none!important}}.fx-enabled #waveOrb .wave-ring{animation-name:wave-orbit!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important}.fx-enabled.fx-spectrum #waveOrb .wave-ring{animation-duration:4s!important}

/* Persistent visible YouTube player and synchronized lyrics */
.youtube-player-dock:not(.hidden){display:block;width:100%;margin:4px 0 8px;position:relative;z-index:2}
.player.youtube-player-active{width:min(560px,calc(100vw - 20px));max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}
.youtube-player-active .youtube-wave-player{display:block;width:100%;min-width:200px;min-height:200px;aspect-ratio:16/9;max-height:42dvh;margin:0 auto;border-radius:14px}
.youtube-player-active #youtubeWavePlayerFrame,.youtube-player-active #youtubeWavePlayer iframe{display:block;width:100%;height:100%;min-height:200px;border:0}
@media(min-width:800px){.player.youtube-player-active{width:min(560px,46vw);max-height:calc(100dvh - 40px)}}
@media(max-width:520px){.player.youtube-player-active{left:10px;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 90px);padding:8px}.youtube-player-active .youtube-wave-player{min-height:200px;max-height:38dvh}}
.lyrics-status{padding:12px 0;color:var(--muted);font-size:12px}.lyrics-list{max-height:min(55dvh,520px);overflow:auto;padding:12px 8px;mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent);scrollbar-width:thin}.lyrics-line{margin:14px 0;color:var(--muted);font-size:18px;font-weight:700;line-height:1.45;transition:color .3s,transform .3s,opacity .3s;opacity:.58;cursor:pointer}.lyrics-line.active{color:var(--text);opacity:1;transform:scale(1.025);background:linear-gradient(95deg,var(--accent),var(--text),var(--accent));background-size:200% auto;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:lyrics-shimmer 1.8s linear infinite;text-shadow:0 0 22px color-mix(in srgb,var(--accent) 32%,transparent)}@keyframes lyrics-shimmer{to{background-position:200% center}}.track-action .dislike-glyph{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.playlist-art img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.round-add{display:grid;place-items:center;padding:0;line-height:0}.round-add .icon-svg{display:block;width:18px;height:18px;margin:0}
input[type=search]{appearance:none;-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.track-action .dislike-glyph{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;display:block;transform:translateX(-1px)}.track-action:has(.dislike-glyph){display:grid;place-items:center;min-width:36px;min-height:36px;padding:8px}
.youtube-menu-controls{border:1px solid var(--line);border-radius:13px;background:var(--bg);padding:10px;margin-bottom:7px}.youtube-menu-buttons{display:flex;justify-content:center;gap:12px;margin-bottom:9px}.youtube-menu-buttons button{width:36px;height:32px;border-radius:10px;background:var(--surface2);font-size:18px;line-height:1}.youtube-menu-controls label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin:7px 0}.youtube-menu-controls input[type=range]{flex:1;min-width:0;accent-color:var(--accent);height:4px}.youtube-menu-controls #youtubeMenuVolume{max-width:180px}.youtube-menu-controls #youtubeMenuVolumeValue{min-width:34px;text-align:right}
.player-actions-menu{max-height:min(72dvh,620px);overflow:auto}.player-actions-menu .youtube-menu-buttons button{width:36px;min-height:32px;padding:0;display:grid;place-items:center;text-align:center}
.youtube-player-dock:not(.hidden){z-index:1;pointer-events:none}.youtube-player-active #youtubeWavePlayer iframe{pointer-events:none}.player-actions-menu{z-index:20;pointer-events:auto}.player-actions-menu button,.player-actions-menu input{pointer-events:auto}
.player.youtube-collapsed{display:block!important;opacity:0;pointer-events:none;height:0;min-height:0;padding:0;border:0;overflow:visible}.player.youtube-collapsed .youtube-player-dock{display:block!important;position:fixed!important;left:-10000px!important;top:0!important;width:320px!important;height:180px!important;margin:0!important;opacity:0;pointer-events:none}.player.youtube-collapsed .youtube-wave-player,.player.youtube-collapsed #youtubeWavePlayerFrame,.player.youtube-collapsed #youtubeWavePlayer iframe{display:block!important;width:320px!important;height:180px!important;min-height:180px!important;max-height:none!important}
.leaderboard-open{width:100%;margin-top:9px}.leaderboard-dialog-list{max-height:min(55dvh,520px);overflow:auto;padding:2px 1px 8px}.leaderboard-dialog-list .leaderboard-row{min-height:54px;border-radius:15px;padding:8px 10px}.leaderboard-dialog-list .leaderboard-place{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--surface2);font-weight:800}.leaderboard-dialog-list .leaderboard-row:nth-child(1) .leaderboard-place{background:#ffd84a;color:#302400}.leaderboard-dialog-list .leaderboard-row:nth-child(2) .leaderboard-place{background:#d8e0e8;color:#26303a}.leaderboard-dialog-list .leaderboard-row:nth-child(3) .leaderboard-place{background:#d59464;color:#321d10}.leaderboard-periods{display:flex;gap:7px;margin:14px 0}.leaderboard-periods button{flex:1;padding:10px 12px;border-radius:999px;background:var(--surface2);color:var(--muted);font-weight:700}.leaderboard-periods button.active{background:var(--text);color:var(--bg)}
  .leaderboard-sticker{display:inline-grid;place-items:center;width:38px;height:38px;margin-right:8px;overflow:hidden;border-radius:50%;vertical-align:-9px;background:var(--surface2);filter:drop-shadow(0 0 8px #ffd84a66)}.leaderboard-sticker img{display:block;width:100%;height:100%;object-fit:contain}.leaderboard-sticker{animation:leaderboard-sticker-float 2.2s ease-in-out infinite}@keyframes leaderboard-sticker-float{50%{transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.leaderboard-sticker{animation:none}}

img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none;user-drag:none;pointer-events:none}.youtube-wave-player iframe{pointer-events:none}body.youtube-wave-active .wave-captions.hidden,body.youtube-wave-active .wave-transport.hidden{display:none!important}

.app-shell[hidden],.web-landing[hidden]{display:none!important}.web-landing{min-height:100svh;display:grid;grid-template-rows:minmax(250px,1fr) auto;align-content:center;justify-items:center;gap:0;padding:clamp(18px,5vw,44px) max(22px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));overflow:hidden;background:radial-gradient(ellipse at 52% 42%,#513038 0,#21151c 36%,#0b0b0e 76%);text-align:center}.web-landing-art{width:min(100%,680px);align-self:center;filter:drop-shadow(0 22px 42px #0009)}.web-landing-art svg{display:block;width:100%;height:auto;overflow:visible}.landing-reel{transform-box:fill-box;transform-origin:center;animation:landing-reel-spin 34s linear infinite}.landing-reel-right{animation-direction:reverse}@keyframes landing-reel-spin{to{transform:rotate(360deg)}}.web-landing-copy{width:min(100%,460px);padding:10px 0 18px}.web-landing-copy .eyebrow{color:#cba7a0}.web-landing-copy h1{margin:8px 0 12px;font:800 clamp(25px,7vw,34px) Manrope,sans-serif;letter-spacing:-1px}.web-landing-copy>p:not(.eyebrow){margin:0 auto 22px;max-width:340px;color:#c6b7bc;font-size:14px;line-height:1.6}.web-landing-link{display:flex;justify-content:center;align-items:center;gap:12px;width:min(100%,330px);min-height:54px;margin:0 auto;border:1px solid #ffffff30;border-radius:16px;background:#ffffff12;color:var(--text);text-decoration:none}.web-landing-link b{font-size:19px}.web-landing-link:active{transform:scale(.985)}@media(min-width:760px){.web-landing{grid-template-columns:minmax(300px,1fr) minmax(320px,460px);grid-template-rows:1fr;gap:clamp(24px,6vw,90px);padding:7vh 8vw;text-align:left}.web-landing-art{width:min(100%,760px)}.web-landing-copy{padding:0}.web-landing-copy>p:not(.eyebrow){margin-left:0}.web-landing-link{margin-left:0}}
@media(max-width:767px){.player.youtube-player-active{left:10px!important;right:10px!important;transform:none!important;width:auto!important;max-width:none!important;margin:0!important}.youtube-player-active .youtube-wave-player{width:100%;min-width:0;max-width:100%;min-height:0;height:auto;aspect-ratio:16/9;max-height:none}.youtube-player-active #youtubeWavePlayerFrame,.youtube-player-active #youtubeWavePlayer iframe{width:100%;height:100%;min-width:0;min-height:0;max-width:100%}}
.radio-groups{display:grid;gap:22px}.radio-group h2{font:750 15px Manrope,sans-serif;margin:0 0 10px;color:var(--muted)}.radio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.radio-card{min-height:112px;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;padding:14px;border:1px solid var(--line);border-radius:20px;text-align:left;background:linear-gradient(135deg,color-mix(in srgb,var(--radio-color) 23%,var(--surface)),var(--surface));transition:transform .18s,border-color .18s,background .18s}.radio-card:active{transform:scale(.985)}.radio-card.active{border-color:var(--radio-color);background:linear-gradient(135deg,color-mix(in srgb,var(--radio-color) 38%,var(--surface)),var(--surface))}.radio-badge{width:38px;height:38px;border-radius:12px;background:var(--radio-color);display:grid;place-items:center;color:#fff;font:800 11px Manrope,sans-serif;box-shadow:0 4px 16px color-mix(in srgb,var(--radio-color) 28%,transparent)}.radio-meta{display:grid;gap:2px;min-width:0}.radio-meta b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radio-meta small{font-size:11px;color:var(--muted)}.radio-bars{position:absolute;right:14px;top:18px;color:var(--radio-color);font-size:11px;letter-spacing:2px;opacity:.6}.radio-card.active .radio-bars{animation:radio-pulse .8s ease-in-out infinite alternate;opacity:1}@keyframes radio-pulse{to{transform:scaleY(.55);opacity:.55}}.radio-cover{display:grid;place-items:center;background:var(--radio-color)!important;color:white;font-size:11px;font-weight:800}.player.radio-playing .player-seek,.player.radio-playing #favoriteButton,.player.radio-playing #playerDislike,.player.radio-playing #sendButton,.player.radio-playing #shuffleButton,.player.radio-playing #moreButton{display:none!important}.player.radio-playing .player-controls{grid-template-columns:1fr 1fr 1.4fr 1fr 1fr}
@media(max-width:520px){.radio-grid{gap:9px}.radio-card{min-height:102px;padding:12px;border-radius:17px}.tab small{font-size:8px}}
.tabbar{grid-template-columns:repeat(6,minmax(0,1fr))}
.radio-badge{width:46px;height:46px;object-fit:contain;padding:3px;background:#fff!important;border-radius:11px;box-shadow:0 4px 16px #0004;pointer-events:none;-webkit-user-drag:none;user-select:none}.radio-player-logo{display:block;width:100%;height:100%;object-fit:contain;padding:4px;border-radius:inherit;background:#fff;pointer-events:none;-webkit-user-drag:none;user-select:none}.player.radio-playing .radio-cover{padding:0;overflow:hidden;background:#fff!important}
@media(max-width:767px){.tabbar{height:calc(72px + env(safe-area-inset-bottom));padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:2px;align-items:stretch}.tab{min-width:0;min-height:54px;justify-content:center;gap:5px;padding:5px 1px;border-radius:12px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.tab span{font-size:23px;line-height:25px}.tab small{font-size:clamp(8px,2.25vw,10px);line-height:1.15;white-space:nowrap}.tab:active{background:color-mix(in srgb,var(--accent) 12%,transparent)}.player{bottom:calc(72px + env(safe-area-inset-bottom))}.app-shell{padding-bottom:calc(350px + env(safe-area-inset-bottom))}}
.wave-icon{display:grid;place-items:center;width:62px;height:62px;flex:none;transform:none}.wave-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%;filter:drop-shadow(0 5px 12px #0005)}
.search-page-heading{position:relative;min-height:66px;padding-right:76px}.search-mascot{position:absolute;right:2px;top:0;width:62px;height:62px;object-fit:contain;border-radius:14px;filter:drop-shadow(0 5px 12px #0005)}
.eq-presets{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:6px;background:transparent;padding:4px 0}.eq-presets button{min-height:38px;padding:8px 7px;border:1px solid var(--line);background:var(--surface2);color:var(--muted);font-size:10px;line-height:1.15}.eq-presets button.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.eq-presets button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.eq-bands{gap:11px}.eq-bands label{grid-template-columns:58px minmax(0,1fr) 42px}.eq-bands input{accent-color:var(--accent);cursor:pointer}
@media(max-width:420px){.search-page-heading{padding-right:64px}.search-mascot{width:54px;height:54px}.wave-icon{width:54px;height:54px}.eq-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
.radio-badge-fallback,.radio-player-mark{display:grid;place-items:center;background:var(--radio-color);color:#fff;font-weight:800;font-size:11px;letter-spacing:.2px}.radio-badge-fallback{pointer-events:none}.radio-player-mark{width:100%;height:100%;border-radius:inherit}
.home-cat-art{width:72%;height:72%;object-fit:cover;border-radius:50%;filter:drop-shadow(0 3px 8px #0007)}
.search-page-heading{padding-right:100px}.search-mascot{width:82px;height:82px}.radio-page-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.radio-page-hero .page-heading{margin:0;min-width:0;flex:1}.radio-mascot{width:128px;height:128px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 18px #0006)}.settings-page-heading{position:relative;min-height:92px;padding-right:108px}.settings-mascot{position:absolute;right:0;top:0;width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 5px 14px #0005)}.radio-favorite-list{display:grid;gap:7px}.radio-favorite-row{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.radio-favorite-play{display:flex;align-items:center;gap:11px;min-width:0;flex:1;padding:0;background:transparent;text-align:left}.radio-favorite-play img,.radio-favorite-mark{width:44px;height:44px;flex:none;object-fit:contain;padding:3px;border-radius:11px;background:#fff}.radio-favorite-mark{display:grid;place-items:center;background:var(--radio-color);color:#fff;font-weight:800;font-size:10px}.radio-favorite-meta{display:grid;gap:3px;min-width:0}.radio-favorite-meta b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.radio-favorite-meta small{font-size:10px;color:var(--muted)}.radio-favorite-remove{width:38px;height:38px;flex:none;border-radius:50%;background:var(--surface2);color:var(--danger);display:grid;place-items:center}.radio-favorite-remove .icon-svg{width:18px;height:18px}.player.radio-playing #favoriteButton{display:inline-flex!important}.player.radio-playing #favoriteButton.liked{color:#ff7093}
@media(max-width:520px){.search-page-heading{padding-right:82px}.search-mascot{width:70px;height:70px}.radio-page-hero{gap:8px}.radio-mascot{width:112px;height:112px}.settings-page-heading{padding-right:84px;min-height:74px}.settings-mascot{width:72px;height:72px}}

.like-pop{animation:like-pop .48s cubic-bezier(.2,.8,.3,1)}
@keyframes like-pop{0%{transform:scale(.9)}42%{transform:scale(1.12)}72%{transform:scale(.97)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.like-pop{animation:none!important}}


/* Mobile home hero with a dedicated text column and full size artwork */
@media(max-width:520px){
  .hero-card{height:auto;min-height:250px;padding:18px;align-items:center}
  .hero-copy{position:relative;width:56%;padding:0;z-index:2}
  .hero-copy h2{font-size:clamp(19px,6.2vw,26px);line-height:1.12;letter-spacing:-.55px;margin-bottom:15px}
  .hero-copy .eyebrow{font-size:9px;letter-spacing:1px}
  .hero-copy .primary-button{width:100%;max-width:190px;min-height:42px;padding:9px 10px;gap:6px;justify-content:space-between;font-size:11px;white-space:nowrap}
  .hero-copy .primary-button b{display:grid;place-items:center}
  .hero-copy .primary-button .icon-svg{width:19px;height:19px}
  .hero-art{width:43%;max-width:158px;height:auto;aspect-ratio:1;right:3%;top:20px;bottom:auto;transform:none}
  .hero-art i:nth-child(2){inset:18%}
  .hero-art i:nth-child(3){inset:34%}
  .hero-art span{font-size:30px}
  .home-cat-art{width:72%;height:72%}
}

/* Settings use compact grouped rows with clear switch and action targets */
.settings-group:not(.leaderboard-settings){padding:11px 13px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 96%,var(--accent2) 4%),var(--surface));}
.settings-group:not(.leaderboard-settings)>.eyebrow{margin:2px 4px 7px;letter-spacing:1px}
.settings-group:not(.leaderboard-settings)>.setting-card{margin:0;padding:13px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
.settings-group:not(.leaderboard-settings)>.setting-card:last-child{border-bottom:0}
.wave-preferences-card .setting-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--accent2) 22%,var(--surface2));color:var(--accent2)}
.wave-preferences-card .setting-icon .icon-svg{width:20px;height:20px}
.wave-preferences-card .setting-copy{min-width:0;flex:1}
.wave-preferences-card .choice-trigger{width:auto;min-width:98px;flex:none;padding:9px 10px;border-radius:12px}
.wave-preferences-card .choice-trigger .icon-svg{width:16px;height:16px}
.settings-group .toggle{width:44px;height:26px;padding:3px;background:#41424a;touch-action:manipulation}
.settings-group .toggle i{width:20px;height:20px}
.settings-group .toggle[aria-pressed=true]{background:#39c56a}
.settings-group .toggle[aria-pressed=true] i{transform:translateX(18px);background:white}
@media(max-width:390px){.wave-preferences-card .choice-trigger{min-width:84px;padding:8px}.wave-preferences-card .setting-icon{width:38px;height:38px}}

/* Keep touch taps animated without the WebView's bright focus square */
.app-shell button{-webkit-tap-highlight-color:transparent}
.app-shell button:focus:not(:focus-visible){outline:none}
@media(pointer:coarse){.app-shell button:focus{outline:none!important}.app-shell button:active{transform:scale(.975);filter:brightness(1.08);transition:transform .14s ease,filter .14s ease}}

/* Telegram profile photo is clipped to the existing avatar control */
#profileButton{position:relative;overflow:visible;padding:0;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
#profileButton>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;pointer-events:none;-webkit-user-drag:none}

@media(max-width:767px){.app-shell button:focus{outline:none!important}}

/* Startup screen made from the Sunnerix loading clip */
.loading-screen{display:none;position:fixed;inset:0;z-index:10000;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 52% 45%,#432477 0,#171126 56%,#090910 100%);opacity:1;transition:opacity .38s ease}
html.telegram-launching #loadingScreen{display:grid!important}
html:not(.telegram-launching) #loadingScreen.loading-leaving{display:grid!important}
.loading-screen:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#09081055,transparent 30%,transparent 70%,#09081055),linear-gradient(0deg,#09081055,transparent 24%,transparent 82%,#09081055)}
.loading-video{position:absolute;inset:0;z-index:0;display:block;width:100vw;height:100dvh;object-fit:cover;object-position:center;background:#090910;clip-path:inset(0);box-shadow:none}
.loading-fallback{position:absolute;z-index:2;display:none;flex-direction:column;align-items:center;gap:15px;color:#f5edff;font:800 20px Manrope,sans-serif;letter-spacing:5px;text-shadow:0 4px 24px #bd69ff88}
.loading-fallback svg{width:90px;height:90px;fill:none;stroke:#e4d2ff;stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 22px #bb7cff)}
.loading-bars{height:26px;display:flex;align-items:center;gap:4px}.loading-bars i{width:4px;height:10px;border-radius:4px;background:linear-gradient(#ffa2d5,#a47cff);animation:loading-bar .7s ease-in-out infinite alternate}.loading-bars i:nth-child(2n){animation-delay:.18s}.loading-bars i:nth-child(3n){animation-delay:.34s}@keyframes loading-bar{to{height:24px}}
.loading-video-failed .loading-video{display:none}.loading-video-failed .loading-fallback{display:flex}
.loading-screen.loading-leaving{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.loading-bars i{animation:none;height:10px}.loading-screen{transition:none}}

/* Remove the divider under the theme selector and keep the anonymous thumb inside its rail */
.settings-group .setting-card:has(#themeOptions){border-bottom:0!important}
.settings-group .toggle[aria-pressed=true] i{transform:translateX(16px)}

/* Links receive the same quiet touch feedback as buttons */
.app-shell a{-webkit-tap-highlight-color:transparent;transition:transform .16s ease,filter .16s ease}
.app-shell a:focus:not(:focus-visible){outline:none}
@media(max-width:767px){.app-shell a:focus{outline:none!important}.app-shell a:active{transform:scale(.985);filter:brightness(1.07)}}

/* One measured switch geometry for every preference row. */
.toggle,.settings-group .toggle{width:44px;height:26px;min-width:44px;padding:3px;display:inline-flex;align-items:center;justify-content:flex-start;flex:none;border-radius:999px;background:#41424a;touch-action:manipulation;box-sizing:border-box}
.toggle i,.settings-group .toggle i{display:block;width:18px;height:18px;flex:none;border-radius:50%;background:#fff;transform:translateX(0);transition:transform .18s ease,background .18s ease}
.toggle[aria-pressed=true],.settings-group .toggle[aria-pressed=true]{background:#39c56a}
.toggle[aria-pressed=true] i,.settings-group .toggle[aria-pressed=true] i{transform:translateX(17px);background:#fff}
.profile-privacy-toggle:disabled{opacity:.7}
.privacy-caption{margin:-2px 0 10px;color:var(--muted);font-size:11px;line-height:1.45}

/* Friend discovery and privacy-respecting shared profile sheet. */
#dialog:has(.friends-dialog){position:fixed;width:min(680px,calc(100vw - 28px));max-width:680px;max-height:min(86dvh,760px);overflow:auto;padding:20px;background:color-mix(in srgb,var(--surface) 96%,#30233f);border:1px solid var(--line);border-radius:24px}
#dialog:has(.friends-dialog)::backdrop{background:#050409b8;backdrop-filter:blur(8px)}
.friends-dialog{min-height:240px;display:flex;flex-direction:column;gap:14px}
.friends-title{display:flex;align-items:center;justify-content:center;position:relative;min-height:28px;font:800 19px Manrope,sans-serif}
.social-back{position:absolute;left:0;background:transparent;color:var(--accent2);font-size:12px;padding:8px}
.social-tabs{display:flex;justify-content:center;gap:7px}
.social-tabs button{padding:9px 15px;border-radius:999px;background:var(--surface2);color:var(--muted);font-size:12px;font-weight:700;transition:background .18s,color .18s,transform .18s}
.social-tabs button.active{background:var(--text);color:var(--bg)}
.social-content{min-height:130px;max-height:min(56dvh,490px);overflow:auto;overscroll-behavior:contain}
.social-invite{width:100%;padding:13px;border-radius:15px;background:linear-gradient(110deg,#cff49a,#bce982);color:#26321d;font-weight:800;box-shadow:0 7px 20px #bce98220;transition:filter .18s,transform .18s}.social-invite:hover{filter:brightness(1.04)}.social-invite:active{transform:scale(.985)}
.social-search{display:flex;align-items:center;gap:9px;height:46px;padding:0 12px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--muted)}
.social-search span{font-size:20px}.social-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}
.social-prompt,.social-empty,.social-loading{text-align:center;color:var(--muted);font-size:12px;line-height:1.5;padding:20px 12px}
.social-user{display:flex;align-items:center;gap:10px;padding:10px;margin:4px 0;border-radius:15px;background:var(--surface2);min-width:0}
.social-person{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding:0;background:none;text-align:left}
.social-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#7766a7,#332a47);color:#fff;font-weight:700}
.social-avatar img{width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none;user-select:none}
.social-avatar.large{width:56px;height:56px}
.social-name{min-width:0;display:grid;gap:4px}.social-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.social-name small,.social-profile-head small{color:var(--muted);font-size:11px}
.social-controls{display:flex;align-items:center;gap:6px;flex:none}.social-action,.social-quiet{padding:8px 12px;border-radius:999px;font-size:11px;font-weight:700}.social-action{background:var(--accent);color:var(--accent-ink)}.social-quiet{background:transparent;color:var(--muted)}.social-state{color:var(--muted);font-size:11px}
.social-profile-head{display:flex;align-items:center;gap:12px;padding:10px 4px 16px}.social-profile-head>div{display:grid;gap:5px}.social-profile-head b{font:800 17px Manrope,sans-serif}
.social-section{padding:12px 0;border-top:1px solid var(--line)}.social-section h3{margin:0 0 8px;font-size:13px}.social-section>p{margin:6px 0;color:var(--muted);font-size:12px}
.social-track,.social-artist-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:11px;background:transparent;text-align:left}.social-track:hover{background:var(--surface2)}.social-track-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.social-track-title small{display:block;margin-top:3px;color:var(--muted);font-weight:400}.social-track>small,.social-artist-row small{flex:none;color:var(--muted);font-size:10px}.social-artist-row{padding:8px 10px}.social-playlist{padding:8px 10px;margin:6px 0;border-radius:12px;background:var(--surface2)}.social-playlist summary{cursor:pointer;font-size:12px;font-weight:700}.social-playlist summary small{margin-left:6px;color:var(--muted)}.social-muted{color:var(--muted);font-size:11px}
.social-invite-page{text-align:center;padding:18px 10px 8px}.social-invite-symbol{width:56px;height:56px;margin:0 auto 12px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--accent2) 20%,var(--surface2));color:var(--accent2);font-size:28px}.social-invite-page h3{margin:0;font:800 17px Manrope,sans-serif}.social-invite-page>p{max-width:420px;margin:8px auto 16px;color:var(--muted);font-size:12px;line-height:1.5}.social-invite-url{width:100%;height:44px;padding:0 12px;border:0;border-radius:12px;background:var(--surface2);color:var(--muted);font-size:12px}.social-invite-actions{display:grid;gap:8px;margin-top:12px}.social-invite-send,.social-invite-copy{width:100%;padding:12px;border-radius:999px;font-size:12px;font-weight:700}.social-invite-send{background:#1688f8;color:#fff}.social-invite-copy{background:var(--surface2);color:var(--accent2)}
@media(min-width:600px){#dialog:has(.friends-dialog){position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}}
@media(max-width:480px){#dialog:has(.friends-dialog){width:100%;max-width:none;max-height:88dvh;margin:0;position:fixed;inset:auto 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.social-user{padding:9px 7px}.social-action,.social-quiet{padding:8px 9px}.social-content{max-height:57dvh}}

/* The startup video must play; the animated fallback is shown only while it buffers or if decoding fails. */
.loading-screen .loading-video{opacity:1}
.loading-screen .loading-fallback{display:none}
.loading-screen.loading-video-ready .loading-fallback{display:none}
.loading-screen.loading-video-failed .loading-video{display:none}
.loading-screen.loading-video-failed .loading-fallback{display:flex}
.brand-logo{width:36px;height:36px;object-fit:contain;object-position:center;flex:none;filter:drop-shadow(0 0 10px #9dbbff35);-webkit-user-drag:none;user-select:none;pointer-events:none}

.social-art-img{width:40px;height:40px;flex:none;object-fit:cover;border-radius:10px;background:var(--surface2);pointer-events:none;-webkit-user-drag:none;user-select:none}.social-artist-row .social-art-img{border-radius:50%}.social-full-list{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:5px;padding:9px 10px;border-radius:10px;background:var(--surface2);color:var(--accent2);font-size:11px;font-weight:700}.social-full-list span{color:var(--muted);font-weight:500}.social-playlist-card{display:flex;align-items:center;gap:10px;width:100%;margin:5px 0;padding:9px 10px;border-radius:13px;background:var(--surface2);text-align:left}.social-playlist-card>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.social-playlist-card b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-playlist-card small{font-size:10px;color:var(--muted)}.social-playlist-card.static{cursor:default}.social-add-playlist{width:100%;margin:7px 0;padding:10px;border-radius:11px;background:color-mix(in srgb,var(--accent) 18%,var(--surface2));color:var(--accent);font-size:11px;font-weight:700}.social-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;padding-top:10px;border-top:1px solid var(--line)}.social-pagination button{padding:8px 11px;border-radius:10px;background:var(--surface2);font-size:11px}.social-pagination button:disabled{opacity:.4;cursor:default}.social-pagination small{color:var(--muted);font-size:10px}.social-tab-badge{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;margin-left:5px;border-radius:99px;background:#ff4d50;color:white;font-style:normal;font-size:9px}.social-tab-badge.hidden{display:none}#profileButton.has-requests:after{content:attr(data-requests);position:absolute;right:-3px;top:-3px;min-width:16px;height:16px;padding:0 3px;border-radius:99px;background:#ff4d50;color:white;font:700 9px/16px sans-serif;text-align:center;border:2px solid var(--bg)}#dialog:has(.friends-dialog)>.dialog-close{z-index:10;position:absolute;right:12px;top:10px;width:30px;height:30px;border-radius:50%;background:#ffffff12;color:var(--text);font-size:20px;line-height:1}

.profile-privacy-open{width:100%;text-align:left;cursor:pointer}.profile-privacy-open .setting-copy{min-width:0;flex:1}.privacy-chevron{font-size:23px;color:var(--accent2);line-height:1}.profile-privacy-options{display:grid;gap:6px;max-height:58dvh;overflow:auto;padding-right:3px}.profile-privacy-options .setting-card{margin:0}.social-profile-head{padding:15px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(115deg,color-mix(in srgb,var(--accent2) 13%,var(--surface)),var(--surface) 70%)}.social-section{margin-top:8px;padding:14px;border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--surface) 92%,transparent)}.social-section h3{font-size:13px;font-weight:800;margin:0 0 9px}.social-section .social-full-list{margin-top:8px}.social-track{min-height:56px}.social-artist-row{min-height:54px}.social-playlist-card{min-height:58px}

.social-inline-player{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--accent2) 30%,var(--line));border-radius:15px;background:linear-gradient(110deg,color-mix(in srgb,var(--accent2) 13%,var(--surface)),var(--surface));}.social-inline-current{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.social-inline-current>span{display:grid;gap:3px;min-width:0}.social-inline-current b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.social-inline-current small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}.social-inline-controls{display:flex;align-items:center;gap:5px;flex:none}.social-inline-controls button{width:34px;height:34px;border-radius:50%;background:var(--surface2);font-size:13px}.social-inline-controls [data-social-player-control=play]{width:40px;height:40px;background:var(--accent);color:var(--accent-ink);font-weight:800}

.social-friends-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:99px;background:color-mix(in srgb,var(--accent2) 16%,var(--surface2));color:var(--accent2);font-size:11px;font-style:normal;font-weight:800}.social-action-message{margin:10px 2px 0;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,#42c978 14%,var(--surface));color:#48d486;font-size:12px;font-weight:700;text-align:center}.social-action-message.error{background:color-mix(in srgb,#ff6767 12%,var(--surface));color:#ff8585}.social-action-message.hidden{display:none}
.own-profile{display:grid;gap:8px;max-height:78dvh;overflow:auto;padding-right:3px}.own-profile .social-section{margin-top:0}.own-profile .social-profile-head{margin-bottom:2px}.own-profile-friends{display:flex;justify-content:space-between;align-items:center}.own-profile-friends span{min-width:25px;height:25px;display:grid;place-items:center;border-radius:99px;background:#ffffff20}
.social-share-track{display:flex;align-items:center;gap:5px;margin:3px 0}.social-share-track>.social-track{flex:1;min-width:0}.social-track-add{width:34px;height:34px;flex:none;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--accent2);font-size:19px;line-height:1}.social-track-add:active{transform:scale(.94)}
.own-rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.own-rank-card{display:grid;justify-items:center;gap:5px;min-width:0;padding:10px 6px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);text-align:center}.own-rank-card span,.own-rank-card small{color:var(--muted);font-size:10px}.own-rank-card b{font-size:17px;font-weight:800;color:var(--accent2)}
.own-ranking-open{width:100%;margin-top:10px;padding:10px;border-radius:11px;background:color-mix(in srgb,var(--accent2) 13%,var(--surface2));color:var(--accent2);font-size:11px;font-weight:700}
.own-profile-friends{background:var(--surface2)!important;color:var(--text)!important;border:1px solid var(--line);box-shadow:none!important}.own-profile-friends:hover{background:color-mix(in srgb,var(--accent) 10%,var(--surface2))!important}
.friend-profile{display:grid;gap:8px;max-height:78dvh;overflow:auto;padding-right:3px}.friend-profile .social-section{margin-top:0}.friend-profile .social-profile-head{margin-bottom:2px}.social-artist-link{cursor:pointer;color:var(--text);background:transparent}.social-artist-link:hover{background:var(--surface2)}.friend-management{margin:4px 0 0;border:1px solid var(--line);border-radius:13px;background:var(--surface2)}.friend-management summary{padding:12px 14px;color:var(--accent2);font-size:12px;font-weight:800;cursor:pointer}.friend-remove{width:100%;padding:10px 14px;text-align:left;color:#ff8e91;border-top:1px solid var(--line)}
.artist-profile{display:grid;gap:8px;max-height:78dvh;overflow:auto;padding-right:3px}.artist-profile-top{position:relative;min-height:160px;overflow:hidden;border-radius:18px;background:linear-gradient(110deg,color-mix(in srgb,var(--accent2) 22%,var(--surface)),var(--surface2))}.artist-hero{position:absolute;inset:0;display:flex;align-items:flex-end;gap:15px;padding:20px;background:linear-gradient(0deg,#08090df2 0%,#08090d50 65%,#08090d15)}.artist-hero .social-art-img{width:92px;height:92px;border-radius:16px;box-shadow:0 12px 32px #0008}.artist-hero>div{min-width:0}.artist-hero .eyebrow{margin:0 0 5px;color:#fff9;font-size:10px}.artist-hero h2{margin:0 0 5px;font-size:25px}.artist-hero small{color:#ffffffb5;font-size:11px}.artist-back{position:absolute;z-index:2;top:10px;left:10px;width:34px;height:34px;border-radius:50%;background:#0007;color:white;font-size:24px}.artist-description{margin:2px 4px;color:var(--muted);font-size:12px;line-height:1.5}.artist-listen{background:var(--surface2);color:var(--text);box-shadow:none;border:1px solid var(--line)}.artist-section-heading{display:flex;align-items:center;justify-content:space-between}.artist-section-heading h3{margin:0 0 8px}.artist-section-heading small{color:var(--muted);font-size:10px}.artist-album-card,.artist-clip-card{min-height:58px;text-decoration:none;color:var(--text)}.artist-list-page>h2{margin:8px 2px;font-size:19px}.artist-full-list{max-height:58dvh;overflow:auto}.artist-track-row{min-height:55px}.artist-list-page>.social-back{justify-self:start;margin:2px 0;padding:8px 11px;border-radius:10px;background:var(--surface2);color:var(--accent2);font-weight:700}
@media(min-width:700px){#dialog:has(.artist-profile){width:min(760px,92vw);max-height:90dvh}.artist-profile{max-height:82dvh}.artist-profile-top{min-height:240px}.artist-hero .social-art-img{width:132px;height:132px}.artist-hero h2{font-size:34px}}
.artist-backdrop{position:absolute;inset:-5%;width:110%;height:110%;object-fit:cover;filter:blur(3px);opacity:.52;pointer-events:none}.artist-hero{z-index:1;background:linear-gradient(0deg,#08090df2 0%,#08090d58 65%,#08090d25)}

/* Final profile and responsive playlist refinements */
.friend-profile-head .friend-management{margin:0 0 0 auto;min-width:max-content}
.friend-profile-head .friend-management-toggle{list-style:none}
.friend-profile-head .friend-management-toggle::-webkit-details-marker{display:none}
.artist-list-page>.social-back{position:static;grid-row:1;grid-column:1;justify-self:start;align-self:center;z-index:1;margin:0;padding:8px 10px}
.artist-list-page>h2{grid-row:1;grid-column:1;justify-self:center;align-self:center;width:100%;margin:0;padding:0 95px;text-align:center;font-size:18px;pointer-events:none}
.artist-list-page>.artist-full-list,.artist-list-page>.social-pagination{grid-column:1}
@media(max-width:420px){.friend-profile-head{gap:8px;padding:10px}.friend-profile-head .social-avatar.large{width:48px;height:48px}.friend-profile-head .friend-management-toggle{padding:8px;font-size:10px}}
.social-share-track>.social-playlist-card{flex:1;min-width:0;margin:0}
.friend-profile-head .friend-management{border:0;background:transparent;border-radius:0;padding:0}
#dialog:has(.own-profile),#dialog:has(.friend-profile){max-height:88dvh;overflow:hidden}
#dialog:has(.own-profile) .own-profile,#dialog:has(.friend-profile) .friend-profile{max-height:calc(88dvh - 54px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding-right:6px}


#dialog:has(.friend-profile) .social-content{min-height:0;max-height:none;overflow:visible;overscroll-behavior:unset}
#dialog:has(.friend-profile) .friend-profile{max-height:min(67dvh,600px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
#dialog:has(.friend-profile) .friends-dialog{min-height:0}

/* Keep the social sheet inside narrow Telegram WebViews and reserve its bottom
   row for player controls instead of letting the main fixed player sit behind it. */
#dialog:has(.friends-dialog){width:min(680px,calc(100vw - 28px));max-width:calc(100vw - 28px);min-width:0;overflow:hidden}
#dialog:has(.friends-dialog) #dialogContent{width:100%;min-width:0;max-width:100%;height:100%;min-height:0;overflow:hidden}
#dialog:has(.friends-dialog) .friends-dialog{width:100%;max-width:100%;min-width:0;height:100%;min-height:0;max-height:100%;gap:10px}
#dialog:has(.friends-dialog) .social-content{width:100%;max-width:100%;min-width:0;flex:1 1 auto;min-height:0;}
#dialog:has(.friend-profile) .social-content{display:flex;overflow:hidden}
#dialog:has(.friend-profile) .friend-profile{width:100%;max-width:100%;min-width:0;flex:1 1 auto;min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain}
#dialog:has(.friend-profile) .friend-profile>*{min-width:0;max-width:100%}
#dialog:has(.friend-profile) .social-profile-head,#dialog:has(.friend-profile) .social-section,#dialog:has(.friend-profile) .own-rank-grid{min-width:0;max-width:100%}
#dialog:has(.friend-profile) .own-rank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#dialog:has(.friends-dialog) .social-inline-player{position:relative;z-index:3;flex:none;width:100%;min-width:0;margin:0 0 env(safe-area-inset-bottom);box-shadow:0 -8px 22px color-mix(in srgb,var(--bg) 50%,transparent)}
@media(max-width:480px){
  #dialog:has(.friends-dialog){width:100vw;max-width:100vw;height:88dvh;max-height:88dvh;min-height:0;margin:0;inset:auto 0 0;padding:16px 12px calc(10px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}
  #dialog:has(.friends-dialog) #dialogContent{height:100%}
  #dialog:has(.friends-dialog) .friends-dialog{height:100%;gap:8px}
  #dialog:has(.friends-dialog) .social-content{max-height:none;overflow:auto}
  #dialog:has(.friend-profile) .social-content{overflow:hidden}
  #dialog:has(.friend-profile) .friend-profile{padding:0 3px 6px 0;scrollbar-width:thin}
  #dialog:has(.friend-profile) .own-rank-grid{gap:5px}
  #dialog:has(.friend-profile) .own-rank-card{padding:8px 3px}
  #dialog:has(.friend-profile) .own-rank-card span,#dialog:has(.friend-profile) .own-rank-card small{font-size:9px}
  #dialog:has(.friend-profile) .own-rank-card b{font-size:15px}
}

/* Telegram WebViews can report a wider CSS viewport than the visible phone.
   Constrain every row to the dialog so nested profile cards never push the
   sheet past its right edge. */
@media(max-width:600px){
  #dialog:has(.friends-dialog){left:0;right:0;bottom:0;top:auto;transform:none;box-sizing:border-box;width:100vw;max-width:100vw;min-width:0;height:88dvh;max-height:88dvh;min-height:0;margin:0;padding:14px 12px calc(10px + env(safe-area-inset-bottom));}
  #dialog:has(.friends-dialog) #dialogContent,#dialog:has(.friends-dialog) .friends-dialog,#dialog:has(.friends-dialog) .social-content,#dialog:has(.friend-profile) .friend-profile{box-sizing:border-box;width:100%;max-width:100%;min-width:0;}
  #dialog:has(.friend-profile) .social-section,#dialog:has(.friend-profile) .social-track,#dialog:has(.friend-profile) .social-share-track,#dialog:has(.friend-profile) .social-playlist-card,#dialog:has(.friend-profile) .social-profile-head{min-width:0;max-width:100%;}
  #dialog:has(.friend-profile) .social-track-title,#dialog:has(.friend-profile) .social-profile-head>div{min-width:0;overflow-wrap:anywhere;}
}

/* Tapping a lyric seeks cleanly with a short accent pulse, without the WebView's white highlight. */
.lyrics-line{-webkit-tap-highlight-color:transparent;user-select:none;transform-origin:left center}
.lyrics-line:active{transform:scale(.985);color:var(--accent);-webkit-text-fill-color:var(--accent)}
.lyrics-line.lyric-tap{animation:lyric-tap-feedback .42s ease-out}
@keyframes lyric-tap-feedback{0%{text-shadow:0 0 0 transparent;filter:brightness(1)}45%{text-shadow:0 0 20px color-mix(in srgb,var(--accent) 55%,transparent);filter:brightness(1.25)}100%{text-shadow:0 0 0 transparent;filter:brightness(1)}}

.referral-count{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0;padding:11px 12px;border-radius:12px;background:var(--surface2);color:var(--muted);font-size:12px}
.referral-count b{color:var(--accent);font:800 18px Manrope,sans-serif}

/* Keep the friends dialog content-sized. Percentage heights in the earlier
   responsive rules had an auto-height <dialog> parent and could collapse its
   scroll/click surface in Telegram WebViews. */
#dialog:has(.friends-dialog){height:auto!important;min-height:0!important;max-height:86dvh!important;overflow:hidden!important;}
#dialog:has(.friends-dialog){height:min(86dvh,760px)!important;display:flex;flex-direction:column;}
#dialog:has(.friends-dialog) #dialogContent{height:auto!important;min-height:0!important;max-height:calc(86dvh - 40px)!important;overflow:hidden!important;}
#dialog:has(.friends-dialog) #dialogContent{height:100%!important;flex:1 1 auto;}
#dialog:has(.friends-dialog) .friends-dialog{height:auto!important;min-height:0!important;max-height:calc(86dvh - 40px)!important;overflow:hidden!important;}
#dialog:has(.friends-dialog) .friends-dialog{height:100%!important;width:100%;display:flex;flex-direction:column;}
#dialog:has(.friends-dialog) .social-content{display:block!important;flex:none!important;width:100%;min-height:0;max-height:calc(86dvh - 150px)!important;overflow:auto!important;overscroll-behavior:contain;touch-action:pan-y;}
#dialog:has(.friends-dialog) .social-content{flex:1 1 auto!important;max-height:none!important;}
#dialog:has(.friends-dialog) .social-inline-player{position:sticky;bottom:0;z-index:5;flex:none;width:100%;margin-top:auto;padding-bottom:max(10px,env(safe-area-inset-bottom));background:var(--surface);}
#dialog:has(.friend-profile) .social-content{display:block!important;overflow:auto!important;}
#dialog:has(.friend-profile) .friend-profile{display:grid!important;width:100%;max-width:100%;min-width:0;max-height:none!important;overflow:visible!important;}
@media(max-width:600px){
  #dialog:has(.friends-dialog){inset:auto 0 0!important;transform:none!important;width:100vw!important;max-width:100vw!important;height:88dvh!important;max-height:88dvh!important;padding:14px 12px calc(10px + env(safe-area-inset-bottom))!important;border-radius:24px 24px 0 0;}
  #dialog:has(.friends-dialog) #dialogContent,#dialog:has(.friends-dialog) .friends-dialog{height:100%!important;max-height:100%!important;}
}
.achievement-summary{padding:14px;border:1px solid color-mix(in srgb,var(--accent2) 25%,var(--line));border-radius:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent2) 12%,var(--surface)),var(--surface))}.achievement-summary h3{margin:2px 0 8px}.achievement-summary p{margin:6px 0;color:var(--muted);font-size:12px}.achievement-progress{height:8px;margin:10px 0 5px;border-radius:99px;background:var(--surface2);overflow:hidden}.achievement-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent2),var(--accent))}.achievement-summary small{color:var(--muted);font-size:10px}.achievement-category{display:flex;align-items:flex-start;gap:12px;margin:8px 0;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.achievement-category>img{width:52px;height:52px;object-fit:contain;flex:none}.achievement-category>div{min-width:0;flex:1}.achievement-category b{display:block}.achievement-category small{color:var(--muted);font-size:10px}.achievement-badges{display:grid;grid-template-columns:repeat(5,minmax(30px,1fr));gap:5px;margin-top:9px}.achievement-badges img{width:100%;max-width:44px;aspect-ratio:1;object-fit:contain}.achievements-view>h2{text-align:center;margin:0 0 10px}

/* Interactive achievement catalogue and detail sheet */
.achievement-category-filters{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin;overscroll-behavior-x:contain}
.achievement-category-filters button{flex:none;display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:700 11px Manrope,sans-serif;cursor:pointer}
.achievement-category-filters button.active{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));background:color-mix(in srgb,var(--accent) 14%,var(--surface));color:var(--accent)}
.achievement-category-filters button span{color:var(--muted);font-size:10px}
.achievements-view .achievement-category{display:block;margin:10px 0;padding:12px}
.achievements-view .achievement-category>header{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.achievements-view .achievement-category>header>img{width:40px;height:40px;object-fit:contain;flex:none}
.achievements-view .achievement-category>header span{min-width:0}
.achievements-view .achievement-category>header b{font-size:14px}
.achievements-view .achievement-category>header small{display:block;margin-top:3px}
.achievement-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.achievement-tile{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease;-webkit-tap-highlight-color:transparent}
.achievement-tile:active{transform:scale(.985)}
.achievement-tile:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.achievement-tile>img{width:38px;height:38px;flex:none;object-fit:contain}
.achievement-tile>span{min-width:0;flex:1}
.achievement-tile b,.achievement-tile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.achievement-tile b{font-size:11px}
.achievement-tile small{margin-top:3px;color:var(--muted);font-size:9px}
.achievement-tile>i{color:var(--muted);font-style:normal}
.achievement-tile.is-earned{border-color:color-mix(in srgb,var(--accent) 22%,var(--line))}
.achievement-detail{max-width:600px;margin:0 auto}
.achievement-detail-card{padding:15px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(150deg,color-mix(in srgb,var(--accent2) 9%,var(--surface)),var(--surface))}
.achievement-detail-hero{display:flex;align-items:center;gap:14px;min-width:0}
.achievement-detail-hero>img{width:78px;height:78px;flex:none;object-fit:contain;filter:drop-shadow(0 8px 18px #0005)}
.achievement-detail-hero>div{min-width:0}
.achievement-detail-hero h2{margin:5px 0;font-size:clamp(19px,5vw,25px);overflow-wrap:anywhere}
.achievement-detail-hero p{margin:0;color:var(--muted);font-size:12px}
.achievement-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--surface2);color:var(--muted);font-size:10px;font-weight:800}
.achievement-status.earned,.achievement-status.complete{background:color-mix(in srgb,var(--accent) 16%,var(--surface));color:var(--accent)}
.achievement-description{margin:14px 0;color:var(--muted);font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.achievement-condition{margin:0 0 12px;padding:10px 11px;border-radius:11px;background:var(--surface2);color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.achievement-condition b{color:var(--text)}
.achievement-level-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}
.achievement-tier-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:8px 4px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);text-align:center}
.achievement-tier-step img{width:42px;height:42px;object-fit:contain;opacity:.48;filter:grayscale(.8)}
.achievement-tier-step.unlocked img,.achievement-tier-step.current img{opacity:1;filter:none}
.achievement-tier-step.current{border-color:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent)}
.achievement-tier-step.next{border-color:color-mix(in srgb,var(--accent2) 42%,var(--line));background:color-mix(in srgb,var(--accent2) 7%,var(--surface2))}
.achievement-tier-step span{min-width:0}
.achievement-tier-step b,.achievement-tier-step small{display:block;overflow-wrap:anywhere}
.achievement-tier-step b{font-size:10px}
.achievement-tier-step small{margin-top:2px;color:var(--muted);font-size:8px}
.achievement-tier-step i{position:absolute;top:5px;right:6px;color:var(--accent);font-size:10px;font-style:normal}
.achievement-current-progress{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.achievement-progress-heading{display:flex;justify-content:space-between;gap:8px;font-size:11px}
.achievement-progress-heading span{color:var(--accent);font-weight:800}
.achievement-current-progress>strong{display:block;margin-top:8px;font-size:13px}
.achievement-current-progress>p{margin:7px 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.achievement-current-progress>p b{color:var(--text)}
.achievement-next-reward{display:flex;align-items:center;gap:9px;margin-top:10px;padding:8px;border-radius:11px;background:var(--surface2)}
.achievement-next-reward img{width:34px;height:34px;object-fit:contain}
.achievement-next-reward b,.achievement-next-reward small{display:block;font-size:10px}
.achievement-next-reward small,.achievement-award-date{color:var(--muted);font-size:9px}
@media(max-width:520px){.achievement-tile-grid{grid-template-columns:minmax(0,1fr)}.achievement-detail-card{padding:12px}.achievement-detail-hero>img{width:64px;height:64px}.achievement-tier-step{padding:7px 2px}.achievement-tier-step img{width:36px;height:36px}}
