:root {
  color-scheme: dark;
  --bg: #090b12;
  --panel: rgba(18, 21, 32, .88);
  --panel-strong: #121521;
  --line: rgba(255,255,255,.075);
  --text: #f4f3f6;
  --muted: #8d91a1;
  --soft: #b7bac6;
  --pink: #f18b9f;
  --coral: #ed9c88;
  --gold: #edc18b;
  --cyan: #83c9cc;
  --accent: #ed9a9d;
  --radius: 24px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100svh; color: var(--text); background: radial-gradient(ellipse at 45% -20%, rgba(100,89,119,.19), transparent 48%), linear-gradient(145deg, #0a0c14 0%, #0a0b12 46%, #0e1018 100%); overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid rgba(237,154,157,.9); outline-offset: 3px; }
.ambient { position: fixed; pointer-events: none; z-index: 0; filter: blur(85px); opacity: .16; border-radius: 50%; }
.ambient--one { width: 390px; height: 390px; background: #a74e76; top: -260px; left: 17%; animation: ambient-drift 14s ease-in-out infinite alternate; }
.ambient--two { width: 360px; height: 360px; background: #3c929a; right: -270px; top: 34%; animation: ambient-drift 18s ease-in-out infinite alternate-reverse; }
.app-shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding-top: env(safe-area-inset-top); position: relative; z-index: 1; }
.topbar { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.065); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; color: #f4b3ad; background: linear-gradient(145deg, rgba(239,153,156,.19), rgba(131,201,204,.09)); border: 1px solid rgba(241,174,165,.18); box-shadow: 0 7px 24px rgba(219,125,139,.09); }
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font: 800 13px/1 'Manrope', sans-serif; letter-spacing: .2em; }
.brand-copy small { font: 600 8px/1.3 'DM Sans', sans-serif; letter-spacing: .19em; color: #7f8291; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.library-status { display: inline-flex; align-items: center; gap: 8px; color: #8d93a1; font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.status-dot, .pulse-mini { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #79bda8; box-shadow: 0 0 12px rgba(121,189,168,.75); }
.status-dot.is-empty { background: #c29d81; box-shadow: 0 0 10px rgba(194,157,129,.5); }
.icon-button { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); border-radius: 999px; padding: 9px 13px; display: inline-flex; align-items: center; gap: 9px; color: #c7c7d0; font-size: 11px; font-weight: 600; cursor: pointer; position: relative; transition: background .2s, border-color .2s, transform .2s; }
.icon-button:hover { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.17); transform: translateY(-1px); }
.icon-button svg { width: 16px; height: 16px; color: #e9b5a8; }
.new-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; top: 6px; right: 7px; background: var(--pink); box-shadow: 0 0 9px var(--pink); }
.main-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr); gap: 24px; padding: 29px 0 25px; align-items: stretch; }
.player-column { min-width: 0; }
.section-kicker { display: flex; align-items: center; gap: 10px; color: #9b9aa7; font-size: 9px; letter-spacing: .17em; font-weight: 700; margin: 1px 0 13px 5px; }
.kicker-line { height: 1px; width: 23px; background: linear-gradient(90deg, #eaa0a1, #9bc7c1); }
.panel { background: linear-gradient(145deg, rgba(23,26,39,.94), rgba(16,19,29,.91)); border: 1px solid rgba(255,255,255,.075); border-radius: var(--radius); box-shadow: 0 22px 70px rgba(0,0,0,.19), inset 0 1px rgba(255,255,255,.025); backdrop-filter: blur(20px); }
.now-card { padding: 24px 28px 22px; min-height: 690px; display: flex; flex-direction: column; }
.now-card-head { display: flex; align-items: center; justify-content: space-between; }
.now-card-tools { display: flex; align-items: center; gap: 8px; }
.eyebrow { color: #858a99; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.more-button { border: 0; color: #797d8b; background: transparent; letter-spacing: 2px; font-size: 17px; cursor: pointer; padding: 3px 4px 7px; }
.lyrics-toggle { display: grid; place-items: center; min-width: 33px; height: 27px; padding: 0 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.035); color: #a7a5b1; font: 800 9px 'DM Sans',sans-serif; letter-spacing: .08em; cursor: pointer; transition: all .2s; }
.lyrics-toggle:hover, .lyrics-toggle[aria-pressed="true"] { color: #f0c7b5; border-color: rgba(239,185,170,.4); background: rgba(232,158,153,.12); box-shadow: 0 0 18px rgba(232,158,153,.12); }
.lyrics-panel { position: relative; display: grid; gap: 10px; margin-top: 16px; padding: 15px 18px 12px; min-height: 134px; overflow: hidden; isolation: isolate; border: 1px solid rgba(226,177,177,.16); border-radius: 17px; background: radial-gradient(ellipse at 50% 120%, rgba(116,155,167,.15), transparent 58%), linear-gradient(140deg, rgba(33,31,46,.87), rgba(17,23,34,.91)); box-shadow: inset 0 1px rgba(255,255,255,.04), 0 12px 32px rgba(0,0,0,.14); }
.lyrics-panel[hidden] { display: none; }
.lyrics-panel::before { content: ''; position: absolute; z-index: -1; width: 42%; height: 90px; left: 29%; top: -66px; border-radius: 50%; background: rgba(229,161,157,.19); filter: blur(35px); animation: lyric-bloom 6s ease-in-out infinite alternate; }
.lyrics-panel-head, .lyrics-panel-foot { display: flex; align-items: center; justify-content: space-between; color: #777e8d; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.lyrics-panel-head span:last-child { color: #bda3a0; }
.lyrics-stage { display: grid; align-content: center; gap: 4px; min-height: 70px; text-align: center; }
.lyrics-line { margin: 0; min-height: 1em; overflow-wrap: anywhere; transition: color .35s, opacity .35s, transform .35s; }
.lyrics-line--previous, .lyrics-line--next { color: #7d8491; font: 500 11px/1.35 'DM Sans',sans-serif; opacity: .48; }
.lyrics-line--current { color: #f1d8ce; font: 800 clamp(16px,2.1vw,22px)/1.3 'Manrope',sans-serif; letter-spacing: -.025em; text-shadow: 0 0 22px rgba(232,166,164,.22); }
.lyrics-line--current.is-changing { animation: lyric-rise .42s cubic-bezier(.2,.7,.2,1) both; }
.lyrics-panel.is-empty .lyrics-line--current, .lyrics-panel.is-loading .lyrics-line--current { color: #a9a8b2; font: 600 11px/1.5 'DM Sans',sans-serif; letter-spacing: 0; text-shadow: none; }
.lyrics-panel-foot { justify-content: center; gap: 7px; font-size: 6px; color: #686f7d; }
.lyrics-pulse { width: 4px; height: 4px; border-radius: 50%; background: #d7aaa2; box-shadow: 0 0 9px rgba(232,166,164,.7); }
@keyframes lyric-rise { from { opacity: .25; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes lyric-bloom { from { transform: translateX(-18px); opacity: .45; } to { transform: translateX(18px); opacity: .9; } }
.art-stage { position: relative; height: 284px; margin: 16px auto 15px; width: min(100%, 365px); display: grid; place-items: center; isolation: isolate; }
.art-glow { position: absolute; width: 75%; height: 62%; border-radius: 50%; background: linear-gradient(90deg, rgba(214,105,125,.32), rgba(83,167,165,.24)); filter: blur(50px); transform: translateY(25px); opacity: .7; transition: opacity .6s; }
.artwork { position: relative; overflow: hidden; width: 235px; height: 235px; border-radius: 20px; background: linear-gradient(153deg, #f4b5a2 0%, #d88991 28%, #786b88 57%, #344f64 100%); box-shadow: 0 22px 55px rgba(0,0,0,.37), 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 1px rgba(255,255,255,.32); z-index: 2; transform: translateX(-9px) rotate(-2deg); transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; }
.artwork::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,235,211,.13), transparent 43%, rgba(12,25,40,.27)); z-index: 4; pointer-events: none; }
.art-sun { width: 114px; height: 114px; position: absolute; border-radius: 50%; top: 33px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #f8d7a6, #f0a58f 68%, #d78a91); box-shadow: 0 0 60px rgba(255,202,160,.42); }
.art-sun::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: repeating-linear-gradient(to bottom, transparent 0 8px, rgba(134,91,111,.38) 9px 11px); mask-image: linear-gradient(to bottom, transparent, black 25%); }
.art-orbit { position: absolute; border: 1px solid rgba(255,232,203,.32); border-radius: 50%; left: 50%; top: 90px; transform: translateX(-50%); }
.art-orbit--one { width: 205px; height: 88px; }
.art-orbit--two { width: 245px; height: 115px; top: 77px; opacity: .44; }
.art-horizon { position: absolute; left: -15%; right: -15%; bottom: 43px; height: 80px; background: linear-gradient(180deg, rgba(244,174,157,.08), rgba(31,62,76,.77)); transform: perspective(90px) rotateX(16deg); border-top: 1px solid rgba(246,214,182,.33); }
.art-grid { position: absolute; bottom: -25px; left: -10%; right: -10%; height: 104px; opacity: .28; background-image: linear-gradient(rgba(231,201,187,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(231,201,187,.7) 1px, transparent 1px); background-size: 24px 17px; transform: perspective(105px) rotateX(35deg); transform-origin: top; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.art-label { position: absolute; left: 20px; bottom: 17px; display: flex; flex-direction: column; gap: 2px; z-index: 5; text-shadow: 0 2px 10px rgba(0,0,0,.32); }
.art-label span { font: 800 13px/1 'Manrope', sans-serif; letter-spacing: .19em; }
.art-label small { font-size: 6px; letter-spacing: .25em; color: rgba(255,242,228,.74); }
.art-index { position: absolute; top: 17px; right: 17px; z-index: 5; font: 700 7px 'DM Sans', sans-serif; letter-spacing: .15em; color: rgba(255,245,235,.8); }
.disc { position: absolute; z-index: 1; width: 216px; height: 216px; border-radius: 50%; right: 17px; background: repeating-radial-gradient(circle, #151821 0 2px, #252835 3px 4px, #11141d 5px 6px); box-shadow: 0 17px 32px rgba(0,0,0,.48), inset 0 0 18px rgba(255,255,255,.09); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.disc::after { content: ''; position: absolute; inset: 45%; border-radius: 50%; background: #e6a09b; box-shadow: 0 0 0 5px #272734, 0 0 0 6px rgba(255,255,255,.13); }
.disc-center { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent, rgba(255,255,255,.13), transparent 38%, rgba(255,255,255,.08), transparent 70%); }
.art-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #f5cfac; box-shadow: 0 0 14px 3px rgba(245,207,172,.42); opacity: .7; }
.art-spark--one { top: 53px; right: 45px; }.art-spark--two { bottom: 48px; left: 42px; width: 3px; height: 3px; }
.player-column.is-playing .artwork { transform: translateX(-13px) rotate(-3.2deg) translateY(-2px); filter: saturate(1.08); }
.player-column.is-playing .disc { animation: disc-turn 7s linear infinite; }
.player-column.is-playing .art-glow { opacity: .94; }
.player-column.is-playing .art-spark { animation: spark-float 2.5s ease-in-out infinite alternate; }
.track-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 1px; }
.track-copy { min-width: 0; }
.track-heading h1 { margin: 0; font: 800 clamp(19px, 2.5vw, 24px)/1.25 'Manrope', sans-serif; letter-spacing: -.045em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-heading p { margin: 5px 0 0; color: #9699a7; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
code { color: #e4b3a3; background: rgba(232,158,153,.1); border: 1px solid rgba(232,158,153,.12); border-radius: 5px; padding: 2px 5px; font-size: .9em; }
.like-button { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); color: #a8a6b0; border-radius: 50%; background: rgba(255,255,255,.025); cursor: pointer; transition: all .2s; }
.like-button svg { width: 19px; height: 19px; }.like-button.is-favorite { color: #f28e9b; background: rgba(242,142,155,.09); border-color: rgba(242,142,155,.25); }.like-button.is-favorite svg { fill: rgba(242,142,155,.2); }
.visualizer-wrap { margin-top: 20px; position: relative; height: 78px; border-top: 1px solid rgba(255,255,255,.055); border-bottom: 1px solid rgba(255,255,255,.055); overflow: hidden; }
.visualizer-caption { position: absolute; z-index: 2; top: 8px; left: 0; right: 0; display: flex; justify-content: space-between; color: #686e7d; font-size: 7px; letter-spacing: .13em; font-weight: 700; pointer-events: none; }
.visualizer-caption span:last-child { color: #82818f; }
#visualizer { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.visualizer-wrap.has-audio #visualizer { opacity: .95; }
.visualizer-fallback { position: absolute; left: 0; right: 0; bottom: 10px; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 3px; opacity: .73; }
.visualizer-fallback i { flex: 1; max-width: 8px; height: 22%; border-radius: 99px; background: linear-gradient(180deg, #e5ad9e, #82bdbb); transform-origin: center; }
.visualizer-wrap.is-playing .visualizer-fallback i { animation: equalize 1s ease-in-out infinite alternate; }
.visualizer-fallback i:nth-child(3n) { animation-delay: -.7s!important; }.visualizer-fallback i:nth-child(4n) { animation-delay: -.35s!important; }.visualizer-fallback i:nth-child(5n) { animation-delay: -.5s!important; }
.timeline-wrap { margin-top: 16px; }
.range-slider { appearance: none; -webkit-appearance: none; width: 100%; height: 4px; border-radius: 99px; outline: none; cursor: pointer; background: linear-gradient(90deg, #e79a9c 0%, #86c5c1 0%, rgba(255,255,255,.12) 0%); }
.seek-slider { height: 24px; touch-action: none; }
.range-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #f1d0bc; border: 2px solid #151823; box-shadow: 0 0 0 2px rgba(236,174,166,.24), 0 1px 8px rgba(0,0,0,.4); transition: transform .15s; }
.range-slider::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: #f1d0bc; border: 2px solid #151823; box-shadow: 0 0 0 2px rgba(236,174,166,.24); }
.range-slider:hover::-webkit-slider-thumb { transform: scale(1.2); }
.range-slider:disabled { cursor: default; opacity: .42; }
.time-row { display: flex; justify-content: space-between; margin-top: 8px; color: #858a98; font: 500 9px 'DM Sans', sans-serif; font-variant-numeric: tabular-nums; }
.controls-row { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 3.1vw, 26px); margin: 20px 0 18px; }
.control-button { border: 0; width: 36px; height: 42px; display: grid; place-items: center; padding: 0; color: #dbdce1; background: transparent; cursor: pointer; position: relative; transition: color .2s, transform .2s; }
.control-button:hover:not(:disabled) { color: #f1b6aa; transform: scale(1.08); }.control-button:disabled { opacity: .3; cursor: not-allowed; }
.control-button svg { width: 21px; height: 21px; }.secondary-control { width: 31px; color: #9296a4; }.secondary-control svg { width: 17px; height: 17px; }.control-button[aria-pressed="true"] { color: #ecaaa5; }
.control-button[aria-pressed="true"]::after { content: ''; position: absolute; bottom: 1px; width: 3px; height: 3px; border-radius: 50%; background: #e7a19d; box-shadow: 0 0 8px #e7a19d; }
.play-button { width: 59px; height: 59px; border-radius: 50%; border: 0; color: #22202a; background: linear-gradient(145deg, #f3c7a6 0%, #ee9f9f 60%, #db9aa7 100%); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 28px rgba(218,139,147,.24), inset 0 1px rgba(255,255,255,.65); transition: transform .2s, box-shadow .2s, filter .2s; position: relative; }
.play-button::before { content: ''; position: absolute; inset: -5px; border: 1px solid rgba(235,159,160,.15); border-radius: 50%; transition: transform .25s, opacity .25s; }
.play-button:hover:not(:disabled) { transform: scale(1.045); box-shadow: 0 10px 34px rgba(218,139,147,.33), inset 0 1px rgba(255,255,255,.65); filter: brightness(1.04); }.play-button:active:not(:disabled) { transform: scale(.97); }.play-button:disabled { opacity: .4; cursor: not-allowed; filter: grayscale(.4); }
.play-button svg { width: 23px; height: 23px; }.play-button .pause-icon { display: none; }.play-button.is-playing .play-icon { display: none; }.play-button.is-playing .pause-icon { display: block; }
.repeat-one-mark { display: none; position: absolute; font-size: 7px; font-weight: 800; right: 1px; top: 7px; background: #141823; color: #edb3a5; border-radius: 50%; width: 11px; height: 11px; line-height: 11px; text-align: center; }.repeat-button.repeat-one .repeat-one-mark { display: block; }
.volume-row { display: flex; align-items: center; gap: 11px; width: 170px; margin-left: auto; margin-right: auto; }
.volume-icon { width: 15px; height: 15px; color: #838a98; flex: 0 0 auto; }.volume-slider { height: 3px; }.volume-slider::-webkit-slider-thumb { width: 9px; height: 9px; }.volume-label { width: 28px; text-align: right; color: #858a98; font-size: 9px; font-variant-numeric: tabular-nums; }
.player-footnote { margin: 14px 0 0 7px; display: flex; align-items: center; gap: 8px; color: #777e8d; font-size: 9px; letter-spacing: .015em; }.pulse-mini { width: 5px; height: 5px; }
.library-column { min-width: 0; min-height: 690px; padding: 24px 22px 17px; display: flex; flex-direction: column; }
.library-head { display: flex; align-items: center; justify-content: space-between; }
.library-head h2 { font: 800 23px/1.25 'Manrope', sans-serif; letter-spacing: -.055em; margin: 5px 0 0; display: flex; align-items: center; gap: 10px; }
.count-pill { display: inline-grid; place-items: center; min-width: 23px; height: 21px; padding: 0 6px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); border-radius: 99px; color: #9ea1ae; font: 600 10px 'DM Sans', sans-serif; letter-spacing: 0; }
.refresh-button { width: 37px; height: 37px; display: grid; place-items: center; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); color: #aeb1bb; border-radius: 12px; cursor: pointer; transition: all .2s; }.refresh-button:hover { color: #eab1a8; border-color: rgba(234,177,168,.25); transform: rotate(18deg); }.refresh-button svg { width: 17px; height: 17px; }
.search-box { margin-top: 22px; height: 43px; padding: 0 11px; display: flex; align-items: center; gap: 9px; background: rgba(5,8,15,.38); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; transition: border-color .2s, background .2s; }.search-box:focus-within { border-color: rgba(235,164,159,.32); background: rgba(5,8,15,.55); }.search-box svg { width: 17px; height: 17px; color: #7f8491; flex: 0 0 auto; }.search-box input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font-size: 11px; }.search-box input::placeholder { color: #757a88; }.search-box kbd { border: 1px solid rgba(255,255,255,.1); border-radius: 5px; padding: 2px 6px; color: #737986; font: 10px 'DM Sans', sans-serif; }
.library-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 17px 2px 9px; }.folder-label { display: flex; align-items: center; gap: 7px; color: #9ca0ad; font: 600 9px 'DM Sans', sans-serif; letter-spacing: .025em; }.folder-label svg { width: 15px; height: 15px; color: #d9aa9b; }.scan-label { font-size: 8px; letter-spacing: .1em; color: #728b87; text-transform: uppercase; font-weight: 700; }
.track-list { flex: 1; min-height: 385px; max-height: 490px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; position: relative; }.track-list::-webkit-scrollbar { width: 5px; }.track-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.13); border-radius: 99px; }
.empty-state { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 25px 20px; }.empty-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(233,174,163,.14); background: linear-gradient(145deg, rgba(233,174,163,.1), rgba(126,191,187,.06)); color: #d6aaa1; border-radius: 18px; margin-bottom: 17px; }.empty-icon svg { width: 25px; height: 25px; }.empty-state strong { font: 700 13px 'Manrope', sans-serif; }.empty-state p { max-width: 250px; margin: 8px 0 17px; color: #818695; font-size: 10px; line-height: 1.8; }.add-music-button { border: 1px solid rgba(235,167,159,.22); border-radius: 99px; padding: 9px 14px; font-size: 10px; color: #e2b4a6; background: rgba(234,161,157,.065); cursor: pointer; transition: .2s; }.add-music-button:hover { background: rgba(234,161,157,.12); border-color: rgba(235,167,159,.4); }.add-music-button span { margin-left: 7px; }
.loading-state { min-height: 300px; align-items: center; justify-content: center; gap: 11px; display: flex; color: #8d93a1; font-size: 11px; }.loading-state[hidden] { display: none; }.loader-ring { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.12); border-top-color: #e6a6a1; border-radius: 50%; animation: spin .8s linear infinite; }
.track-row { width: 100%; display: flex; align-items: center; gap: 11px; border: 1px solid transparent; background: transparent; border-radius: 13px; padding: 9px 8px; text-align: left; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; min-width: 0; }.track-row:hover { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.04); }.track-row:active { transform: scale(.992); }.track-row.is-current { background: linear-gradient(100deg, rgba(232,151,153,.095), rgba(126,190,189,.04)); border-color: rgba(232,151,153,.12); }
.track-art { width: 41px; height: 41px; flex: 0 0 41px; border-radius: 10px; position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.8); background: linear-gradient(145deg, #d9a28e, #665f7f 65%, #345a68); box-shadow: inset 0 1px rgba(255,255,255,.2); }.track-art::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,230,194,.65); box-shadow: 0 0 18px rgba(255,220,188,.36); }.track-art::after { content: ''; position: absolute; bottom: -15px; left: -10px; right: -10px; height: 30px; transform: perspective(40px) rotateX(25deg); background: repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0 1px, transparent 1px 6px); }
.track-row:nth-child(4n+2) .track-art { background: linear-gradient(145deg, #d4a0a0, #766f83 60%, #406e76); }.track-row:nth-child(4n+3) .track-art { background: linear-gradient(145deg, #dfb48c, #9a7183 58%, #415a6d); }.track-row:nth-child(4n+4) .track-art { background: linear-gradient(145deg, #8bb9b7, #6c758b 60%, #514e6b); }
.track-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }.track-title { font-size: 11px; line-height: 1.25; font-weight: 700; color: #e5e4e9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.track-subtitle { color: #838896; font-size: 9px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.track-row.is-current .track-title { color: #f1c1b3; }.track-side { display: flex; align-items: center; gap: 8px; color: #757b89; font: 500 8px 'DM Sans', sans-serif; white-space: nowrap; }.track-playing-indicator { display: none; align-items: end; gap: 2px; height: 14px; }.track-playing-indicator i { width: 2px; height: 5px; border-radius: 3px; background: #eaa39f; animation: mini-eq .7s ease-in-out infinite alternate; }.track-playing-indicator i:nth-child(2) { animation-delay: -.3s; height: 10px; }.track-playing-indicator i:nth-child(3) { animation-delay: -.5s; height: 7px; }.track-row.is-current.is-playing .track-playing-indicator { display: flex; }.track-row.is-current.is-playing .track-file-size { display: none; }
.library-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }.library-summary { display: flex; align-items: center; gap: 8px; color: #858a98; font-size: 9px; }.summary-bars { display: flex; gap: 2px; align-items: center; height: 12px; }.summary-bars i { display: block; width: 2px; height: 5px; border-radius: 3px; background: #8dbab3; }.summary-bars i:nth-child(2) { height: 10px; }.summary-bars i:nth-child(3) { height: 7px; }.privacy-note { color: #666e7c; font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.site-footer { border-top: 1px solid rgba(255,255,255,.055); padding: 17px 2px 22px; display: flex; justify-content: space-between; color: #656b79; font-size: 8px; letter-spacing: .03em; }.site-footer span:first-child { letter-spacing: .13em; font-weight: 700; }.site-footer i { color: #d19a98; font-style: normal; padding: 0 4px; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgba(237,175,164,.2); border-radius: 99px; background: rgba(22,24,35,.93); box-shadow: 0 10px 35px rgba(0,0,0,.35); backdrop-filter: blur(16px); color: #e7d6d0; font-size: 10px; white-space: nowrap; transition: opacity .35s, transform .35s; }.toast.is-visible { opacity: 1; transform: translate(-50%,0); }.toast-spark { color: #e9ad9f; animation: sparkle 1.6s ease-in-out infinite; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(4,6,11,.72); backdrop-filter: blur(10px); animation: fade-in .2s ease; }.modal-backdrop[hidden] { display: none; }.whats-new-panel { width: min(100%, 430px); max-height: min(740px, calc(100dvh - 32px)); overflow: auto; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 25px; padding: 24px; background: linear-gradient(145deg, #1c1d2a, #111521 70%); box-shadow: 0 30px 100px rgba(0,0,0,.55); animation: modal-rise .35s cubic-bezier(.2,.7,.2,1); }.modal-top { display: flex; align-items: center; justify-content: space-between; }.modal-close { width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #b1b3bc; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }.release-bloom { width: 70px; height: 70px; margin: 22px 0 17px; display: grid; place-items: center; border-radius: 22px; color: #28212b; font-size: 27px; background: radial-gradient(circle at 35% 30%, #f5d3ad, #eca1a0 60%, #9ac8c2); box-shadow: 0 0 0 7px rgba(232,163,159,.06), 0 10px 36px rgba(222,149,151,.21); animation: bloom-in .75s cubic-bezier(.2,.8,.2,1) both; }.release-tag { color: #8e94a0; font-size: 8px; letter-spacing: .16em; font-weight: 800; }.release-tag span { margin-left: 6px; color: #e7a9a1; }.whats-new-panel h2 { margin: 7px 0 7px; font: 800 27px 'Manrope', sans-serif; letter-spacing: -.05em; }.release-description { margin: 0; color: #9ca0ad; font-size: 11px; line-height: 1.8; }.release-details { display: flex; flex-direction: column; gap: 13px; margin: 21px 0; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }.release-details > div { display: flex; align-items: center; gap: 11px; }.release-detail-icon { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 10px; color: #e8b1a5; background: rgba(233,169,159,.09); }.release-details strong, .release-details small { display: block; }.release-details strong { font-size: 10px; }.release-details small { color: #878d9b; font-size: 9px; margin-top: 3px; }.next-release-note { padding: 13px; border: 1px solid rgba(139,191,185,.12); background: rgba(124,185,179,.05); border-radius: 13px; color: #a1adaf; font-size: 8px; letter-spacing: .08em; }.next-release-note strong { display: block; margin: 6px 0 3px; color: #d6c2b9; font: 700 12px 'Manrope', sans-serif; letter-spacing: 0; }.next-release-note small { display: block; color: #858f98; font-size: 9px; letter-spacing: 0; }.next-release-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; background: #85bcb4; box-shadow: 0 0 8px #85bcb4; }.release-done { display: block; width: 100%; margin-top: 17px; padding: 12px; border: 0; border-radius: 12px; color: #27232a; background: linear-gradient(100deg, #f0c2a7, #e9a0a0); font-weight: 800; font-size: 10px; cursor: pointer; transition: filter .2s, transform .2s; }.release-done:hover { filter: brightness(1.06); transform: translateY(-1px); }

@keyframes disc-turn { to { transform: rotate(360deg); } }
@keyframes equalize { from { transform: scaleY(.22); opacity: .6; } to { transform: scaleY(1); opacity: 1; } }
@keyframes mini-eq { from { height: 3px; } to { height: 12px; } }
@keyframes sparkle { 50% { transform: scale(1.3) rotate(35deg); opacity: .65; } }
@keyframes bloom-in { from { opacity: 0; transform: scale(.6) rotate(-14deg); filter: blur(8px); } to { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ambient-drift { to { transform: translate(30px, 45px) scale(1.1); } }
@media (min-width: 1200px) { .now-card { padding-left: 34px; padding-right: 34px; }.art-stage { height: 300px; }.artwork { width: 250px; height: 250px; }.disc { width: 228px; height: 228px; right: 22px; } }
@media (max-width: 900px) { .app-shell { width: min(720px, calc(100% - 36px)); }.main-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 23px; }.now-card { min-height: auto; }.library-column { min-height: 440px; }.track-list { min-height: 240px; max-height: 390px; }.art-stage { height: 260px; }.site-footer { margin-top: 2px; } }
@media (max-width: 520px) {
  body { background: radial-gradient(ellipse at 50% -8%, rgba(132,91,117,.18), transparent 43%), linear-gradient(160deg, #090b12, #0c0e16 70%, #10131a); }
  .app-shell { width: calc(100% - 30px); padding-bottom: env(safe-area-inset-bottom); }
  .topbar { height: 69px; }.brand-mark { width: 34px; height: 34px; border-radius: 11px; }.brand-mark svg { width: 22px; }.brand-copy strong { font-size: 11px; }.brand-copy small { font-size: 7px; }.topbar-actions { gap: 10px; }.library-status { font-size: 7px; gap: 6px; }.status-dot { width: 5px; height: 5px; }.icon-button { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 11px; }.icon-button svg { width: 16px; }.whats-new-label { display: none; }.new-dot { top: 5px; right: 5px; }
  .main-layout { padding: 19px 0 17px; gap: 14px; }.section-kicker { font-size: 8px; margin-bottom: 10px; }.now-card { padding: 17px 16px 17px; border-radius: 21px; }.eyebrow { font-size: 8px; }.art-stage { height: 224px; margin: 10px auto 11px; }.artwork { width: 190px; height: 190px; border-radius: 17px; }.art-sun { width: 95px; height: 95px; top: 26px; }.art-orbit { top: 73px; }.art-orbit--one { width: 170px; height: 72px; }.art-orbit--two { width: 200px; height: 94px; top: 63px; }.art-horizon { bottom: 34px; height: 67px; }.art-grid { height: 84px; background-size: 19px 14px; }.art-label { left: 15px; bottom: 13px; }.art-label span { font-size: 11px; }.art-label small { font-size: 5px; }.art-index { top: 13px; right: 13px; font-size: 6px; }.disc { width: 177px; height: 177px; right: 12px; }.track-heading h1 { font-size: 19px; }.track-heading p { font-size: 10px; }.like-button { flex-basis: 34px; height: 34px; }.visualizer-wrap { margin-top: 16px; height: 68px; }.visualizer-fallback { bottom: 7px; height: 32px; }.timeline-wrap { margin-top: 14px; }.controls-row { gap: clamp(12px, 5vw, 23px); margin: 18px 0 15px; }.play-button { width: 55px; height: 55px; }.control-button { width: 31px; }.control-button svg { width: 19px; }.secondary-control { width: 25px; }.secondary-control svg { width: 16px; }.volume-row { width: 155px; }
  .player-footnote { font-size: 8px; margin-top: 10px; }.library-column { min-height: 385px; padding: 18px 14px 14px; border-radius: 20px; }.library-head h2 { font-size: 20px; }.search-box { margin-top: 16px; height: 41px; }.library-toolbar { margin-top: 14px; }.track-list { min-height: 185px; max-height: 315px; }.empty-state { min-height: 220px; }.empty-state p { max-width: 230px; }.track-row { gap: 9px; padding: 8px 6px; }.track-art { width: 38px; height: 38px; flex-basis: 38px; }.track-title { font-size: 10px; }.track-subtitle { font-size: 8px; }.track-side { font-size: 7px; }.library-bottom { padding-top: 12px; }.site-footer { padding: 14px 1px 20px; font-size: 7px; gap: 12px; }.site-footer span:last-child { text-align: right; max-width: 145px; line-height: 1.5; }
  .whats-new-panel { padding: 20px; border-radius: 21px; }.release-bloom { width: 61px; height: 61px; margin: 17px 0 13px; }.whats-new-panel h2 { font-size: 24px; }
}
@media (max-width: 360px) { .app-shell { width: calc(100% - 22px); }.library-status { display: none; }.art-stage { height: 207px; }.artwork { width: 174px; height: 174px; }.disc { width: 164px; height: 164px; right: 10px; }.art-sun { width: 85px; height: 85px; }.art-orbit--one { width: 155px; }.art-orbit--two { width: 184px; }.controls-row { gap: 10px; }.play-button { width: 52px; height: 52px; }.track-row { gap: 7px; }.track-side { gap: 5px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient { display: none; }
}
.visualizer-wrap.has-audio .visualizer-fallback { opacity: 0; }


/* v1.1 · Pocket Flow */
.library-filters { display: flex; align-items: center; gap: 7px; margin-top: 13px; }
.library-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 12px; border: 1px solid rgba(255,255,255,.075); border-radius: 99px; color: #969baa; background: rgba(255,255,255,.025); font-size: 9px; font-weight: 700; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.library-filter:hover { transform: translateY(-1px); border-color: rgba(237,154,157,.25); }
.library-filter.is-active { color: #f0cfca; background: rgba(231,154,157,.105); border-color: rgba(231,154,157,.22); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.library-filter span { display: inline-grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border-radius: 99px; color: #9fa6ad; background: rgba(255,255,255,.055); font-size: 8px; }
.library-filter.is-active span { color: #e6b1ad; background: rgba(237,154,157,.12); }
.pocket-dock { display: none; }
@media (max-width: 900px) {
  .pocket-dock { position: fixed; z-index: 18; left: 12px; right: 12px; bottom: calc(8px + env(safe-area-inset-bottom)); display: block; overflow: hidden; border: 1px solid rgba(239,174,166,.18); border-radius: 19px; background: linear-gradient(115deg, rgba(29,29,43,.96), rgba(15,24,34,.96)); box-shadow: 0 15px 48px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(24px) saturate(1.15); -webkit-backdrop-filter: blur(24px) saturate(1.15); animation: pocket-dock-in .34s cubic-bezier(.2,.8,.2,1) both; }
  .pocket-dock[hidden] { display: none; }
  .pocket-dock-inner { min-height: 66px; display: flex; align-items: center; gap: 11px; padding: 9px 11px; }
  .pocket-dock-art { width: 43px; height: 43px; position: relative; flex: 0 0 43px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: #2c2832; background: linear-gradient(145deg, #f0c29f, #df929c 55%, #81bdb9); box-shadow: inset 0 1px rgba(255,255,255,.35); }
  .pocket-dock-art span { z-index: 1; font-size: 20px; font-weight: 800; }
  .pocket-dock-art i { position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.37); border-radius: 50%; }
  .pocket-dock-art i:nth-of-type(2) { inset: 14px; }.pocket-dock-art i:nth-of-type(3) { inset: 19px; background: rgba(255,255,255,.15); }
  body.has-pocket-dock .pocket-dock-art i { animation: pocket-disc-turn 9s linear infinite; }
  .pocket-dock-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
  .pocket-dock-copy strong { overflow: hidden; color: #f3edf0; font-size: 11px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
  .pocket-dock-copy small { color: #9ba4aa; font-size: 7px; font-weight: 700; letter-spacing: .13em; }
  .pocket-control { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #e9d4d1; background: rgba(255,255,255,.055); cursor: pointer; }
  .pocket-control:disabled { opacity: .4; cursor: default; }
  .pocket-play { color: #292630; background: linear-gradient(135deg, #f0c4a5, #e89da3); box-shadow: 0 4px 15px rgba(232,157,163,.18); font-size: 14px; font-weight: 900; }
  .pocket-next svg { width: 18px; height: 18px; }
  .pocket-dock-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.07); }
  .pocket-dock-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #81c4bd, #e89da3, #edc18b); box-shadow: 0 0 9px rgba(232,157,163,.55); transition: width .2s linear; }
  body.has-pocket-dock { padding-bottom: calc(91px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  .library-filters { gap: 6px; margin-top: 12px; }
  .library-filter { min-height: 30px; padding: 0 11px; font-size: 9px; }
  .pocket-dock { left: 9px; right: 9px; border-radius: 17px; }
  .pocket-dock-inner { min-height: 63px; gap: 9px; padding: 8px 9px; }
  .pocket-dock-art { width: 40px; height: 40px; flex-basis: 40px; }
  .pocket-control { width: 36px; height: 36px; flex-basis: 36px; }
}
@keyframes pocket-dock-in { from { opacity: 0; transform: translateY(22px) scale(.985); filter: blur(7px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes pocket-disc-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pocket-dock, .pocket-dock-art i { animation: none !important; }
  .library-filter { transition: none; }
}

/* v1.2 · Night Shift — install, browse, artwork and sleep controls */
.icon-button[hidden], .folder-browser[hidden] { display: none !important; }
.compact-action.has-timer { color: #f0c69f; border-color: rgba(240,198,159,.28); background: rgba(240,198,159,.09); box-shadow: 0 0 18px rgba(229,174,151,.12); }
.install-button { color: #9dcfc7; }
.night-shift-bloom { position: fixed; z-index: -1; top: -210px; right: 8vw; width: 430px; height: 430px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(111,131,158,.15), rgba(91,112,142,.045) 42%, transparent 70%); filter: blur(14px); animation: night-bloom-breathe 12s ease-in-out infinite alternate; }
body.is-crossfading .art-glow { animation: crossfade-glow 1.2s ease-in-out infinite alternate; }
.folder-browser { margin: 15px 0 3px; padding: 13px 0 1px; border-top: 1px solid rgba(255,255,255,.055); }
.folder-browser-head { display: flex; justify-content: space-between; margin-bottom: 9px; color: #737d8c; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.folder-browser-head span:last-child { color: #8f9c9f; }
.folder-chips { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 1px 1px 7px; scrollbar-width: none; overscroll-behavior-x: contain; }
.folder-chips::-webkit-scrollbar { display: none; }
.folder-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; max-width: 220px; padding: 0 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 99px; color: #9ba3ae; background: rgba(255,255,255,.025); font: inherit; font-size: 9px; cursor: pointer; transition: background .22s, border-color .22s, color .22s, transform .22s; }
.folder-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-chip small { display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 4px; border-radius: 99px; color: #89949e; background: rgba(255,255,255,.06); font-size: 8px; }
.folder-chip.is-active { color: #f0d2c5; border-color: rgba(231,160,158,.25); background: linear-gradient(110deg, rgba(231,160,158,.12), rgba(116,176,172,.09)); box-shadow: inset 0 1px rgba(255,255,255,.04), 0 5px 18px rgba(0,0,0,.12); }
.folder-chip.is-active small { color: #e8bdb0; background: rgba(231,160,158,.12); }
.track-art { background-position: center; background-size: cover; }
.track-art.has-artwork::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(145deg, rgba(255,255,255,.12), transparent 40%, rgba(0,0,0,.18)); }
.artwork.has-track-art { background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 18px 55px rgba(0,0,0,.36), 0 0 45px rgba(133,193,185,.10); }
.artwork.has-track-art .art-sun, .artwork.has-track-art .art-orbit, .artwork.has-track-art .art-horizon, .artwork.has-track-art .art-grid { opacity: 0; }
.artwork.has-track-art .art-label { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(6,9,15,.45); backdrop-filter: blur(12px); }
.artwork.has-track-art .art-index { padding: 6px 8px; border-radius: 6px; background: rgba(6,9,15,.42); }
.pocket-dock-art.has-track-art { background-position: center; background-size: cover; background-repeat: no-repeat; }
.pocket-dock-art.has-track-art span, .pocket-dock-art.has-track-art i { display: none; }
.sleep-panel { max-width: 410px; }
.sleep-moon { display: grid; width: 68px; height: 68px; place-items: center; margin: 20px 0 16px; border: 1px solid rgba(184,204,217,.19); border-radius: 23px; color: #d8d6ca; background: radial-gradient(circle at 32% 25%, rgba(222,217,193,.36), rgba(124,145,167,.18) 48%, rgba(93,105,133,.08)); box-shadow: 0 0 0 7px rgba(145,169,193,.035), 0 12px 36px rgba(120,146,171,.10); font-size: 32px; animation: moon-rise .8s cubic-bezier(.2,.8,.2,1) both; }
.sleep-panel h2 { margin-bottom: 5px; }
.sleep-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 21px 0 13px; }
.sleep-option { min-height: 42px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: #aeb4be; background: rgba(255,255,255,.035); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.sleep-option:active { transform: scale(.97); }
.sleep-option.is-active { color: #f0d2c6; border-color: rgba(227,168,157,.34); background: linear-gradient(120deg, rgba(227,168,157,.16), rgba(120,180,174,.10)); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.sleep-option--wide { grid-column: 1 / -1; }
.sleep-status { min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; color: #9ebbb7; background: rgba(111,170,163,.055); font-size: 9px; text-align: center; }
.sleep-cancel { width: 100%; margin-top: 9px; padding: 10px; border: 0; color: #b6a4a7; background: transparent; font: inherit; font-size: 9px; cursor: pointer; }
.sleep-cancel:disabled { opacity: .35; cursor: default; }
.crossfade-setting { margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.075); }
.crossfade-heading { display: flex; justify-content: space-between; align-items: center; }
.crossfade-heading strong, .crossfade-heading small { display: block; }
.crossfade-heading strong { color: #dddce2; font-size: 10px; }
.crossfade-heading small { margin-top: 4px; color: #848b99; font-size: 8px; }
.crossfade-heading b { min-width: 36px; text-align: right; color: #e7b2a7; font-size: 11px; }
.crossfade-setting .range-slider { width: 100%; margin: 15px 0 5px; }
.crossfade-scale { display: flex; justify-content: space-between; color: #747c8b; font-size: 8px; }
@keyframes night-bloom-breathe { from { transform: translate3d(0,0,0) scale(.92); opacity: .56; } to { transform: translate3d(-28px,34px,0) scale(1.12); opacity: 1; } }
@keyframes crossfade-glow { from { opacity: .35; transform: scale(.96); } to { opacity: .8; transform: scale(1.06); } }
@keyframes moon-rise { from { opacity: 0; transform: translateY(10px) rotate(-14deg) scale(.82); filter: blur(5px); } to { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); } }
@media (max-width: 520px) {
  .topbar-actions { gap: 7px; }
  .library-status { display: none; }
  .compact-action { width: 32px; height: 32px; }
  .folder-browser { margin-top: 12px; }
  .folder-chip { min-height: 31px; padding: 0 10px; font-size: 8px; }
  .sleep-panel { padding: 19px; }
  .sleep-moon { width: 59px; height: 59px; border-radius: 19px; margin: 15px 0 13px; }
  .sleep-options { gap: 7px; }
  .sleep-option { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .night-shift-bloom, .sleep-moon { animation: none !important; }
  .folder-chip, .sleep-option { transition: none !important; }
}
.folder-chip.is-active { position: relative; overflow: hidden; }
.folder-chip.is-active::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -42%; width: 27%; pointer-events: none; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.17), transparent); animation: folder-chip-glint 4.8s ease-in-out infinite; }
@keyframes folder-chip-glint { 0%, 56% { left: -42%; opacity: 0; } 65% { opacity: 1; } 86%, 100% { left: 125%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .folder-chip.is-active::after { animation: none !important; display: none; } }

/* v1.3 · Listening Rooms — Aurora Wave collection system */
.aurora-wave {
  position: fixed; z-index: 0; pointer-events: none; top: 18%; left: -18%; width: 64vw; height: 42vw; max-height: 620px;
  border-radius: 50%; opacity: .075; filter: blur(72px);
  background: conic-gradient(from 25deg, #8bc6c0, #a78cbf, #e8a0a3, #8bc6c0);
  transform: rotate(-18deg); animation: aurora-drift 24s ease-in-out infinite alternate;
}
.library-view { min-width: 0; animation: room-view-in .34s cubic-bezier(.2,.7,.2,1) both; }
.library-view[hidden] { display: none !important; }
.library-view-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; margin-top: 16px; padding: 4px; border: 1px solid rgba(255,255,255,.055); border-radius: 13px; background: rgba(2,4,10,.22); }
.library-view-tab { min-width: 0; min-height: 34px; border: 0; border-radius: 9px; color: #858c99; background: transparent; font-family: inherit; font-size: 9px; font-weight: 700; line-height: 1; cursor: pointer; transition: color .2s, background .2s, box-shadow .2s, transform .2s; }
.library-view-tab.is-active { color: #f1d2c8; background: linear-gradient(120deg, rgba(225,155,158,.14), rgba(120,183,178,.09)); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 4px 12px rgba(0,0,0,.12); }
.library-view-tab:active { transform: scale(.97); }
.view-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 2px 14px; }
.view-intro h3 { margin: 5px 0 3px; color: #e9e5ea; font: 800 19px/1.15 'Manrope', sans-serif; letter-spacing: -.045em; }
.view-intro p { margin: 0; color: #838b99; font-size: 9px; line-height: 1.6; }
.view-intro-mark { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(142,194,188,.15); border-radius: 14px; color: #a5c9c1; background: radial-gradient(circle at 35% 25%, rgba(141,199,191,.17), rgba(141,199,191,.025)); font-size: 21px; box-shadow: 0 0 25px rgba(109,180,172,.08); animation: aurora-mark 5s ease-in-out infinite alternate; }
.album-grid, .playlist-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 13px; }
.album-card, .playlist-card { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 83px; padding: 10px; border: 1px solid rgba(255,255,255,.065); border-radius: 15px; color: inherit; text-align: left; background: linear-gradient(140deg, rgba(255,255,255,.045), rgba(255,255,255,.017)); cursor: pointer; overflow: hidden; position: relative; transition: transform .22s, border-color .22s, background .22s, box-shadow .22s; }
.album-card:hover, .playlist-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--album-accent, var(--room-accent, #a8c6c0)) 36%, transparent); box-shadow: 0 10px 26px rgba(0,0,0,.17); }
.album-card:active, .playlist-card:active { transform: scale(.985); }
.album-card-art, .playlist-card-art { position: relative; width: 51px; height: 51px; flex: 0 0 51px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: rgba(255,255,255,.82); background: var(--album-art, var(--room-art, linear-gradient(145deg, var(--album-accent, var(--room-accent, #da9a9f)), #5a627e 68%, #263e4a))); background-size: cover; background-position: center; box-shadow: inset 0 1px rgba(255,255,255,.2), 0 6px 18px rgba(0,0,0,.15); }
.album-card-art::after, .playlist-card-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.13), transparent 45%, rgba(0,0,0,.25)); }
.album-card-art > span, .playlist-card-art > span { position: relative; z-index: 1; font-size: 21px; text-shadow: 0 2px 9px rgba(0,0,0,.34); }
.album-card-copy, .playlist-card-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.album-card-copy strong, .playlist-card-copy strong { overflow: hidden; color: #e2e1e7; font: 700 10px/1.25 'DM Sans', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.album-card-copy small, .playlist-card-copy small { overflow: hidden; color: #828995; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.album-card-arrow, .playlist-card-arrow { color: #9ebcb7; font-size: 15px; opacity: .75; }
.playlist-card { min-height: 88px; }
.playlist-card-art { width: 56px; height: 56px; flex-basis: 56px; border-radius: 13px; }
.primary-small, .ghost-small { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(230,171,160,.2); border-radius: 10px; color: #eed2c8; background: linear-gradient(120deg, rgba(226,160,157,.14), rgba(132,190,183,.08)); font-family: inherit; font-size: 9px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .2s, filter .2s, border-color .2s; }
.primary-small:active, .ghost-small:active { transform: scale(.97); }
.ghost-small { color: #abb4bd; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.danger-small { color: #d99a9e; border-color: rgba(224,127,141,.18); }
.playlist-detail { margin: 18px 0 12px; padding: 15px; border: 1px solid rgba(255,255,255,.07); border-radius: 17px; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); animation: room-view-in .3s ease both; }
.playlist-detail[hidden] { display: none !important; }
.playlist-detail-head { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.back-link { padding: 3px 0 8px; border: 0; color: #93bcb5; background: transparent; font-family: inherit; font-size: 9px; font-weight: 700; line-height: 1; cursor: pointer; }
.playlist-detail-head h3 { margin: 0; color: #f0e3e2; font: 800 21px/1.2 'Manrope', sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.playlist-detail-head p { margin: 0; color: #89909c; font-size: 9px; }
.playlist-detail-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0 3px; }
.sortable-hint { margin: 15px 0 8px; color: #858e9a; font-size: 8px; line-height: 1.6; }
.sortable-list { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.sortable-item { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 51px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.06); border-radius: 11px; background: rgba(255,255,255,.025); transition: border-color .18s, background .18s, transform .18s, opacity .18s; }
.sortable-item.is-current { border-color: rgba(225,162,158,.2); background: linear-gradient(100deg, rgba(225,162,158,.09), rgba(127,187,182,.035)); }
.sortable-item.is-dragging { opacity: .42; transform: scale(.985); }
.sortable-item.is-drop-target { border-color: rgba(139,202,194,.42); background: rgba(128,191,184,.1); }
.sort-handle { flex: 0 0 18px; color: #747e8b; cursor: grab; font-size: 16px; text-align: center; touch-action: none; }
.sortable-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; padding: 0; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.sortable-copy strong { overflow: hidden; color: #e3e1e8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.sortable-copy small { overflow: hidden; color: #828b99; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.sort-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; }
.sort-action { display: grid; width: 25px; height: 27px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.065); border-radius: 7px; color: #aeb8bd; background: rgba(255,255,255,.035); font-size: 12px; cursor: pointer; }
.sort-action:disabled { opacity: .23; cursor: default; }
.sort-action.is-danger { color: #db9da1; }
.sortable-play { min-height: 35px; }
.queue-open-button { min-width: 37px; padding: 8px 10px; }
.queue-open-button svg { width: 17px; height: 17px; }
.queue-open-count { display: grid; min-width: 16px; height: 16px; place-items: center; border-radius: 99px; color: #e4c5ba; background: rgba(230,165,158,.12); font-size: 8px; font-weight: 800; }
.queue-open-button.has-queue { border-color: rgba(133,193,184,.25); }
.queue-modal-panel { width: min(100%, 500px); }
.queue-bloom { color: #2a3038; background: radial-gradient(circle at 32% 25%, #c8dfd3, #83bdb6 60%, #a08fb6); }
.queue-modal-actions { display: flex; gap: 7px; justify-content: flex-end; margin: 14px 0; }
.queue-sortable-list { max-height: min(43vh, 390px); overflow: auto; padding: 2px 3px 3px 0; overscroll-behavior: contain; }
.view-empty { padding: 28px 14px; border: 1px dashed rgba(255,255,255,.09); border-radius: 13px; color: #858d9a; font-size: 9px; line-height: 1.7; text-align: center; }
.view-empty code { white-space: nowrap; }
.library-view .track-list { margin-top: 6px; }
.track-row { gap: 7px; padding: 5px 4px; }
.track-row-main { min-width: 0; flex: 1; display: flex; align-items: center; gap: 11px; padding: 3px 4px; border: 0; border-radius: 9px; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.track-row-main:focus-visible { outline: 2px solid rgba(237,154,157,.7); outline-offset: 1px; }
.track-queue-button { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border: 1px solid rgba(255,255,255,.075); border-radius: 9px; color: #9cc5bf; background: rgba(255,255,255,.025); font-size: 17px; cursor: pointer; opacity: .72; transition: opacity .2s, background .2s, transform .2s; }
.track-queue-button:hover { opacity: 1; background: rgba(131,201,204,.09); transform: scale(1.04); }
.playlist-modal-panel { width: min(100%, 440px); }
.playlist-bloom { color: #26262f; background: radial-gradient(circle at 32% 25%, #d5e1c4, #9fcac1 58%, #b996bb); }
.playlist-field-label { display: block; margin: 21px 0 7px; color: #9ba5ad; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.playlist-name-input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; outline: none; color: #f0edf1; background: rgba(0,0,0,.18); font-size: 11px; }
.playlist-name-input:focus { border-color: rgba(137,196,188,.42); box-shadow: 0 0 0 3px rgba(128,190,182,.08); }
.playlist-modal-actions { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.playlist-modal-actions .release-done { margin: 0; min-height: 43px; }
.playlist-modal-actions .ghost-small { min-height: 39px; }
.playlist-add-panel { width: min(100%, 480px); }
.playlist-track-search { margin: 17px 0 10px; }
.playlist-picker-list { display: flex; max-height: min(42vh, 330px); flex-direction: column; gap: 5px; overflow: auto; padding-right: 3px; overscroll-behavior: contain; }
.picker-track { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.055); border-radius: 10px; background: rgba(255,255,255,.022); cursor: pointer; }
.picker-track input { width: 16px; height: 16px; flex: 0 0 16px; accent-color: #9bc9bf; }
.picker-track-art { width: 35px; height: 35px; flex: 0 0 35px; border-radius: 8px; background: linear-gradient(145deg, #d99ca2, #68788c); background-size: cover; background-position: center; }
.picker-track-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.picker-track-copy strong { overflow: hidden; color: #e7e2e6; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.picker-track-copy small { color: #8b919f; font-size: 8px; }
.picker-empty { padding: 20px; color: #8c93a0; font-size: 9px; text-align: center; }
@keyframes aurora-drift { from { transform: translate3d(-3vw,-2vh,0) rotate(-18deg) scale(.9); opacity: .045; } to { transform: translate3d(13vw,8vh,0) rotate(12deg) scale(1.12); opacity: .105; } }
@keyframes aurora-mark { from { transform: rotate(-5deg) scale(.97); box-shadow: 0 0 18px rgba(109,180,172,.05); } to { transform: rotate(5deg) scale(1.03); box-shadow: 0 0 27px rgba(109,180,172,.15); } }
@keyframes room-view-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .library-view-tabs { position: sticky; top: 0; z-index: 3; background: rgba(15,18,27,.88); backdrop-filter: blur(14px); }
  .album-grid, .playlist-grid { gap: 8px; }
  .queue-modal-panel { width: min(100%, 520px); }
}
@media (max-width: 520px) {
  .library-view-tabs { margin-top: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .library-view-tab { min-height: 35px; font-size: 8px; }
  .view-intro { margin: 16px 1px 11px; }
  .view-intro h3 { font-size: 18px; }
  .view-intro-mark { width: 37px; height: 37px; flex-basis: 37px; }
  .album-grid, .playlist-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .album-card, .playlist-card { min-height: 75px; gap: 8px; padding: 8px; border-radius: 12px; }
  .album-card-art, .playlist-card-art { width: 42px; height: 42px; flex-basis: 42px; border-radius: 9px; }
  .album-card-art > span, .playlist-card-art > span { font-size: 17px; }
  .album-card-copy strong, .playlist-card-copy strong { font-size: 9px; }
  .album-card-copy small, .playlist-card-copy small { font-size: 7px; }
  .album-card-arrow, .playlist-card-arrow { font-size: 12px; }
  .playlist-detail { margin-top: 14px; padding: 12px; border-radius: 14px; }
  .playlist-detail-head h3 { font-size: 19px; }
  .playlist-detail-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .playlist-detail-actions .primary-small { grid-column: 1 / -1; }
  .playlist-detail-actions button { min-height: 37px; }
  .sortable-item { gap: 5px; padding: 6px; min-height: 48px; }
  .sort-actions { gap: 2px; }
  .sort-action { width: 24px; height: 29px; }
  .sort-handle { flex-basis: 15px; font-size: 14px; }
  .sortable-copy strong { font-size: 8px; }
  .queue-modal-actions { justify-content: stretch; }
  .queue-modal-actions button { flex: 1; }
  .queue-open-button { width: 34px; min-width: 34px; padding: 0; gap: 3px; }
  .queue-open-count { min-width: 14px; height: 14px; font-size: 7px; }
  .track-row-main { gap: 8px; }
  .track-queue-button { width: 27px; height: 27px; flex-basis: 27px; }
  .playlist-picker-list { max-height: 38vh; }
  .aurora-wave { width: 100vw; height: 74vw; left: -35%; top: 36%; opacity: .06; filter: blur(54px); }
}
@media (max-width: 360px) {
  .album-card, .playlist-card { gap: 6px; padding: 7px; }
  .album-card-art, .playlist-card-art { width: 37px; height: 37px; flex-basis: 37px; }
  .album-card-copy strong, .playlist-card-copy strong { font-size: 8px; }
  .album-card-copy small, .playlist-card-copy small { font-size: 7px; }
  .sort-actions { gap: 1px; }
  .sort-action { width: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-wave, .view-intro-mark { animation: none !important; }
  .library-view, .album-card, .playlist-card, .track-queue-button { animation: none !important; transition: none !important; }
}
.artwork.art-reveal { animation: album-reveal .58s cubic-bezier(.16,.84,.26,1) both; }
@keyframes album-reveal { from { opacity: .62; transform: translateX(-9px) rotate(3deg) scale(.92); filter: blur(8px) saturate(.8); } 65% { opacity: 1; filter: blur(0) saturate(1.14); } to { transform: translateX(-9px) rotate(-2deg) scale(1); filter: blur(0) saturate(1); } }
@media (prefers-reduced-motion: reduce) { .artwork.art-reveal { animation: none !important; } }

/* v1.4 · Shared Listening — Constellation Drift */
.sort-select-wrap { display: inline-flex; align-items: center; gap: 6px; color: #788390; font-size: 8px; font-weight: 700; letter-spacing: .04em; }
.sort-select-wrap select { max-width: 112px; min-height: 29px; padding: 0 23px 0 9px; border: 1px solid rgba(255,255,255,.075); border-radius: 9px; outline: none; color: #bfc9c9; background: #171b26; font: 700 8px 'DM Sans', sans-serif; }
.sort-select-wrap select:focus-visible { border-color: rgba(135,194,186,.5); outline: 2px solid rgba(135,194,186,.18); }
.room-library-tools { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 7px; align-items: center; margin: 0 2px 13px; }
.room-search { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 35px; padding: 0 10px; border: 1px solid rgba(255,255,255,.075); border-radius: 10px; color: #93a19f; background: rgba(0,0,0,.16); }
.room-search > span { font-size: 19px; line-height: 1; }
.room-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #e6e3e7; background: transparent; font: 500 9px 'DM Sans', sans-serif; }
.room-search input::placeholder { color: #707987; }
.room-library-tools .ghost-small { min-height: 35px; padding: 0 9px; white-space: nowrap; font-size: 8px; }
.playlist-card { border-color: color-mix(in srgb, var(--room-accent, #83bdb6) 18%, rgba(255,255,255,.065)); background: linear-gradient(135deg, color-mix(in srgb, var(--room-accent, #83bdb6) 9%, rgba(255,255,255,.035)), rgba(255,255,255,.012)); }
.playlist-card::before { content: ''; position: absolute; inset: auto -24px -50px auto; width: 110px; height: 110px; border-radius: 50%; background: var(--room-accent, #83bdb6); filter: blur(36px); opacity: .1; transition: opacity .3s, transform .5s; }
.playlist-card:hover::before { opacity: .25; transform: translate(-12px,-12px); }
.playlist-card-art { background-image: linear-gradient(145deg, color-mix(in srgb, var(--room-accent, #d996a1) 82%, #fff), #273449 72%); }
.playlist-card-art::after { background: linear-gradient(145deg, rgba(255,255,255,.16), transparent 42%, rgba(0,0,0,.3)); }
.constellation-card { animation: constellation-card-in .48s cubic-bezier(.2,.8,.2,1) both; }
.constellation-card:nth-child(2n) { animation-delay: .045s; }
.constellation-card:nth-child(3n) { animation-delay: .09s; }
.playlist-detail { border-color: color-mix(in srgb, var(--room-accent, #83bdb6) 22%, rgba(255,255,255,.07)); background: radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--room-accent, #83bdb6) 11%, transparent), transparent 56%), linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); }
.room-detail-art { position: relative; display: grid; width: 94px; height: 94px; margin: 2px 0 7px; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--room-accent, #83bdb6) 43%, transparent); border-radius: 21px; color: #fff; background: linear-gradient(145deg, var(--room-accent, #d996a1), #30394c 75%); background-size: cover; background-position: center; box-shadow: 0 12px 34px color-mix(in srgb, var(--room-accent, #83bdb6) 18%, transparent), inset 0 1px rgba(255,255,255,.2); }
.room-detail-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.12), transparent 46%, rgba(0,0,0,.24)); }
.room-detail-art span { position: relative; z-index: 1; font-size: 32px; text-shadow: 0 4px 12px rgba(0,0,0,.35); }
.room-detail-art.has-room-art span { opacity: 0; }
.room-palette { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.room-color { display: grid; width: 31px; height: 31px; place-items: center; padding: 0; border: 2px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s; }
.room-color::before { content: ''; display: block; width: 22px; height: 22px; border-radius: inherit; background: var(--swatch); box-shadow: inset 0 1px rgba(255,255,255,.32), 0 4px 12px color-mix(in srgb, var(--swatch) 24%, transparent); }
.room-color.is-selected { border-color: rgba(255,255,255,.82); box-shadow: 0 0 0 4px color-mix(in srgb, var(--swatch) 16%, transparent); transform: scale(1.07); }
.room-artwork-picker { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.075); border-radius: 13px; background: rgba(0,0,0,.13); }
.room-artwork-preview { display: grid; width: 65px; height: 65px; flex: 0 0 65px; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #29303a; background: linear-gradient(145deg, #d996a1, #83bdb6 72%); background-size: cover; background-position: center; font-size: 24px; }
.room-artwork-preview.has-artwork { color: transparent; }
.room-artwork-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 6px; }
.room-artwork-copy input { width: 100%; min-width: 0; color: #9da9af; font: 8px 'DM Sans', sans-serif; }
.room-artwork-copy input::file-selector-button { margin-right: 7px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #d8cbc9; background: rgba(255,255,255,.06); font: 700 8px 'DM Sans', sans-serif; }
.room-artwork-copy small { color: #78828f; font-size: 8px; line-height: 1.5; }
.text-button { align-self: flex-start; padding: 2px 0; border: 0; color: #a5c9c1; background: transparent; font: 700 8px 'DM Sans', sans-serif; cursor: pointer; }
.backup-privacy-note { margin: 10px 0 0; color: #81908f; font-size: 8px; line-height: 1.6; }
.backup-mode-select { margin-top: 0; color-scheme: dark; }
.import-backup-panel { width: min(100%, 460px); }
.import-backup-panel .playlist-name-input[type="file"] { height: auto; min-height: 42px; padding: 10px; font-size: 9px; }
.import-backup-panel .playlist-field-label { margin-top: 16px; }
.import-backup-panel .release-description { margin-bottom: 12px; }
.sort-select-wrap select option { color: #e6e3e7; background: #171b26; }
@keyframes constellation-card-in { from { opacity: 0; transform: translateY(12px) scale(.985); filter: blur(5px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes constellation-trail { 0% { transform: translateX(-120%) rotate(15deg); opacity: 0; } 35% { opacity: .4; } 100% { transform: translateX(140%) rotate(15deg); opacity: 0; } }
@media (max-width: 520px) {
  .library-toolbar { flex-wrap: wrap; row-gap: 8px; }
  .sort-select-wrap { margin-left: auto; }
  .sort-select-wrap select { max-width: 106px; }
  .room-library-tools { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin-bottom: 12px; }
  .room-search { grid-column: 1 / -1; min-height: 39px; }
  .room-library-tools .ghost-small { min-height: 38px; font-size: 8px; }
  .playlist-grid { grid-template-columns: 1fr; gap: 8px; }
  .playlist-card { min-height: 76px; padding: 9px; }
  .playlist-card-art { width: 51px; height: 51px; flex-basis: 51px; }
  .room-detail-art { width: 88px; height: 88px; }
  .playlist-detail-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); width: 100%; }
  .playlist-detail-actions .primary-small { grid-column: 1 / -1; min-height: 39px; }
  .playlist-detail-actions .ghost-small { min-height: 36px; }
  .room-artwork-picker { align-items: flex-start; }
  .room-artwork-preview { width: 58px; height: 58px; flex-basis: 58px; }
  .sort-select-wrap span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .constellation-card, .playlist-card::before { animation: none !important; transition: none !important; }
}
.constellation-card::after { content: ''; position: absolute; z-index: 2; top: -55%; left: -75%; width: 38%; height: 210%; pointer-events: none; opacity: 0; transform: rotate(19deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }
.constellation-card:hover::after { animation: constellation-trail 1.05s ease-out both; }
.room-detail-art:not(.has-room-art) { animation: room-constellation 6s ease-in-out infinite alternate; }
@keyframes room-constellation { from { filter: saturate(.92) brightness(.95); transform: translateY(0) rotate(-1deg); } to { filter: saturate(1.16) brightness(1.08); transform: translateY(-3px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) {
  .constellation-card::after, .room-detail-art { animation: none !important; }
}

/* v1.5 · Smart Radio — Signal Bloom */
.library-view-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.album-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:16px 2px 9px; }
.album-group-note { color:#6f7888; font-size:7px; font-weight:800; letter-spacing:.16em; }
.artist-group-footnote { margin:0 2px 12px; color:#737e8b; font-size:8px; line-height:1.6; }
.artist-group-footnote code { color:#abc9c2; }
.radio-view { padding-bottom:5px; }
.radio-hero { min-height:178px; position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; margin:18px 0 12px; padding:19px 18px; border:1px solid rgba(129,194,190,.14); border-radius:19px; isolation:isolate; background:radial-gradient(ellipse at 76% 22%,rgba(113,191,180,.16),transparent 43%),radial-gradient(ellipse at 23% 110%,rgba(168,136,208,.14),transparent 50%),linear-gradient(140deg,rgba(20,35,43,.92),rgba(20,20,34,.96) 65%,rgba(28,20,38,.92)); box-shadow:inset 0 1px rgba(255,255,255,.05),0 13px 33px rgba(0,0,0,.16); }
.radio-hero::before { content:''; position:absolute; z-index:-1; inset:-45% -20%; opacity:.45; background:conic-gradient(from 20deg at 70% 42%,transparent 0 18%,rgba(119,199,187,.18) 28%,transparent 43%,rgba(174,141,207,.15) 59%,transparent 73%); filter:blur(20px); animation:signal-bloom-drift 16s linear infinite; }
.radio-hero .eyebrow { color:#a4c9c1; }
.radio-hero h3 { margin:8px 0 7px; color:#f1eff4; font:800 clamp(22px,4vw,29px)/1.02 'Manrope',sans-serif; letter-spacing:-.055em; }
.radio-hero h3 em { color:#9ed2c8; font-style:normal; text-shadow:0 0 24px rgba(121,202,187,.18); }
.radio-hero p { max-width:270px; margin:0; color:#a0a9b1; font-size:9px; line-height:1.7; }
.radio-signal-icon { position:absolute; top:22px; right:22px; display:grid; width:61px; height:61px; place-items:center; border:1px solid rgba(139,207,196,.23); border-radius:50%; color:#b3ded3; background:rgba(121,188,178,.08); box-shadow:0 0 0 8px rgba(120,190,179,.035),0 0 32px rgba(112,202,185,.14); font-size:25px; animation:signal-icon-breathe 3.5s ease-in-out infinite; }
.radio-signal-icon i { position:absolute; inset:-8px; border:1px solid rgba(138,207,194,.18); border-radius:50%; animation:signal-ring 3.6s ease-out infinite; }
.radio-signal-icon i:nth-of-type(2) { animation-delay:1.2s; }
.radio-signal-icon i:nth-of-type(3) { animation-delay:2.4s; }
.radio-orbit { position:absolute; pointer-events:none; width:150px; height:48px; border:1px solid rgba(130,202,192,.12); border-radius:50%; transform:rotate(-28deg); }
.radio-orbit-one { right:-34px; top:36px; }
.radio-orbit-two { right:-49px; top:52px; width:177px; border-color:rgba(184,146,205,.13); transform:rotate(24deg); }
.radio-station-panel,.radio-stats-panel,.radio-suggestions-panel { margin:11px 0; padding:15px; border:1px solid rgba(255,255,255,.065); border-radius:16px; background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.radio-select-label { display:block; margin-bottom:8px; color:#828c99; font-size:7px; font-weight:800; letter-spacing:.15em; }
.radio-station-control { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.radio-station-select { width:100%; min-width:0; min-height:40px; padding:0 11px; border:1px solid rgba(255,255,255,.085); border-radius:11px; outline:none; color:#d8dbe0; background:#171c27; font:600 9px 'DM Sans',sans-serif; }
.radio-station-select:focus { border-color:rgba(134,204,191,.42); }
.radio-station-select option { color:#e6e3e7; background:#171b26; }
.radio-start-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:118px; min-height:40px; padding:0 12px; border:1px solid rgba(131,203,190,.28); border-radius:11px; color:#132329; background:linear-gradient(110deg,#a4d6c8,#91c5c5 60%,#c5b3dc); box-shadow:0 6px 19px rgba(118,199,184,.12); font:800 9px 'DM Sans',sans-serif; cursor:pointer; transition:transform .2s,filter .2s,box-shadow .2s; }
.radio-start-button:hover:not(:disabled) { transform:translateY(-1px); filter:brightness(1.06); box-shadow:0 9px 23px rgba(118,199,184,.2); }
.radio-start-button:active:not(:disabled) { transform:scale(.97); }
.radio-start-button:disabled { opacity:.35; cursor:not-allowed; }
.radio-station-status { min-height:15px; margin-top:9px; color:#829d9b; font-size:8px; line-height:1.5; }
.radio-stats-heading,.radio-section-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.radio-stats-heading > span:last-child { color:#6d7888; font-size:7px; font-weight:800; letter-spacing:.12em; }
.radio-stats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:12px 0 13px; }
.radio-stat { min-width:0; padding:11px 8px 9px; border:1px solid rgba(255,255,255,.045); border-radius:11px; background:rgba(4,8,13,.2); }
.radio-stat strong { display:block; overflow:hidden; color:#e8e9ed; font:800 18px/1 'Manrope',sans-serif; letter-spacing:-.045em; text-overflow:ellipsis; white-space:nowrap; }
.radio-stat small { display:block; margin-top:7px; color:#788391; font-size:6px; font-weight:800; letter-spacing:.08em; line-height:1.3; }
.radio-week-chart { height:63px; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); align-items:end; gap:7px; padding:4px 3px 0; border-bottom:1px solid rgba(255,255,255,.055); }
.radio-day { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:6px; min-width:0; }
.radio-day-bar { display:block; width:min(16px,70%); height:var(--bar-height,2%); min-height:2px; border-radius:6px 6px 2px 2px; background:linear-gradient(180deg,#b5a8dc,#83c9bf 80%); box-shadow:0 0 12px rgba(131,201,191,.14); transform-origin:bottom; animation:signal-bar-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.radio-day small { color:#687484; font-size:7px; text-transform:uppercase; }
.radio-top-track { min-height:13px; margin-top:10px; color:#91aaa8; font-size:8px; line-height:1.5; }
.radio-section-heading { margin-bottom:11px; }
.radio-section-heading h4 { margin:4px 0 3px; color:#e7e6eb; font:800 16px 'Manrope',sans-serif; letter-spacing:-.04em; }
.radio-section-heading p { margin:0; color:#7e8795; font-size:8px; line-height:1.5; }
.radio-section-mark { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; border:1px solid rgba(165,148,212,.16); border-radius:12px; color:#b9acd9; background:rgba(158,143,202,.07); font-size:16px; animation:signal-icon-breathe 4s ease-in-out infinite; }
.radio-suggestions { display:flex; flex-direction:column; gap:3px; }
.radio-suggestion-row { animation:signal-row-in .42s cubic-bezier(.2,.8,.2,1) both; }
.radio-suggestion-row .track-row { width:100%; }
.radio-view.is-active .radio-hero { animation:signal-hero-in .62s cubic-bezier(.2,.8,.2,1) both; }
.radio-view.is-active .radio-station-panel { animation:signal-hero-in .62s .08s cubic-bezier(.2,.8,.2,1) both; }
.radio-view.is-active .radio-stats-panel { animation:signal-hero-in .62s .14s cubic-bezier(.2,.8,.2,1) both; }
.radio-view.is-active .radio-suggestions-panel { animation:signal-hero-in .62s .2s cubic-bezier(.2,.8,.2,1) both; }
.radio-tab-mark { display:inline-block; margin-right:3px; color:#8ed1c5; font-size:10px; vertical-align:-1px; }
@keyframes signal-bloom-drift { from { transform:rotate(0deg) translateX(-2%); } to { transform:rotate(360deg) translateX(2%); } }
@keyframes signal-icon-breathe { 0%,100% { transform:scale(.97); box-shadow:0 0 0 7px rgba(120,190,179,.03),0 0 25px rgba(112,202,185,.09); } 50% { transform:scale(1.04); box-shadow:0 0 0 11px rgba(120,190,179,.055),0 0 39px rgba(112,202,185,.2); } }
@keyframes signal-ring { 0% { transform:scale(.72); opacity:.58; } 100% { transform:scale(1.55); opacity:0; } }
@keyframes signal-bar-rise { from { transform:scaleY(.12); opacity:.4; } to { transform:scaleY(1); opacity:1; } }
@keyframes signal-hero-in { from { opacity:0; transform:translateY(10px); filter:blur(4px); } to { opacity:1; transform:translateY(0); filter:blur(0); } }
@keyframes signal-row-in { from { opacity:0; transform:translateX(-7px); } to { opacity:1; transform:translateX(0); } }
.signal-card { animation:signal-row-in .48s cubic-bezier(.2,.8,.2,1) both; }
@media (max-width:900px) { .radio-hero { min-height:165px; } .library-view-tabs { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media (max-width:520px) {
  .library-view-tabs { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .library-view-tab { min-height:36px; padding:0 2px; font-size:8px; }
  .radio-hero { min-height:158px; margin-top:15px; padding:16px 15px; border-radius:16px; }
  .radio-hero h3 { font-size:24px; }
  .radio-hero p { max-width:225px; font-size:8px; }
  .radio-signal-icon { top:17px; right:17px; width:51px; height:51px; font-size:21px; }
  .radio-station-panel,.radio-stats-panel,.radio-suggestions-panel { padding:12px; border-radius:14px; }
  .radio-station-control { grid-template-columns:1fr; }
  .radio-station-select { min-height:42px; }
  .radio-start-button { width:100%; min-height:42px; }
  .radio-stats-grid { gap:5px; }
  .radio-stat { padding:10px 6px 8px; }
  .radio-stat strong { font-size:16px; }
  .radio-stat small { font-size:5.5px; letter-spacing:.035em; }
  .radio-week-chart { height:58px; }
  .album-toolbar { margin-top:13px; }
}
@media (max-width:360px) {
  .library-view-tab { font-size:7px; }
  .radio-hero { min-height:150px; padding:14px 12px; }
  .radio-hero h3 { font-size:22px; }
  .radio-signal-icon { width:43px; height:43px; font-size:18px; }
  .radio-stat strong { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .radio-hero::before,.radio-signal-icon,.radio-signal-icon i,.radio-section-mark,.radio-day-bar,.radio-view.is-active .radio-hero,.radio-view.is-active .radio-station-panel,.radio-view.is-active .radio-stats-panel,.radio-view.is-active .radio-suggestions-panel,.radio-suggestion-row,.signal-card { animation:none !important; transition:none !important; }
}

/* v1.6 · Pulse Universe — monthly intelligence, mood mixes and collection health */
.library-view-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.insights-tab-mark { display:inline-block; margin-right:3px; color:#b7a5e5; font-size:11px; vertical-align:-1px; text-shadow:0 0 12px rgba(181,160,224,.5); }
.insights-view { padding-bottom:8px; }
.insights-hero { min-height:190px; position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; isolation:isolate; margin:17px 0 12px; padding:20px 18px; border:1px solid rgba(177,160,226,.15); border-radius:20px; background:radial-gradient(ellipse at 76% 18%,rgba(131,190,200,.15),transparent 38%),radial-gradient(ellipse at 20% 110%,rgba(158,127,203,.18),transparent 52%),linear-gradient(140deg,rgba(24,29,46,.96),rgba(16,20,34,.97) 65%,rgba(27,22,44,.96)); box-shadow:inset 0 1px rgba(255,255,255,.055),0 15px 38px rgba(0,0,0,.18); }
.insights-hero::before { content:''; position:absolute; z-index:-1; inset:-60% -30%; opacity:.48; background:conic-gradient(from 35deg at 76% 38%,transparent 0 17%,rgba(143,200,199,.22) 25%,transparent 40%,rgba(175,144,219,.22) 56%,transparent 72%,rgba(225,164,190,.12) 82%,transparent); filter:blur(22px); animation:pulse-universe-rotate 25s linear infinite; }
.insights-hero::after { content:''; position:absolute; z-index:-1; left:0; right:0; bottom:0; height:1px; background:linear-gradient(90deg,transparent,rgba(174,162,222,.5),rgba(134,202,199,.52),transparent); box-shadow:0 0 20px rgba(150,190,210,.24); }
.insights-hero .eyebrow { color:#b6abd4; }
.insights-hero h3 { margin:9px 0 7px; color:#f0eff5; font:800 clamp(23px,4vw,30px)/1.02 'Manrope',sans-serif; letter-spacing:-.055em; }
.insights-hero h3 em { color:#a8cfc9; font-style:normal; text-shadow:0 0 24px rgba(137,202,194,.2); }
.insights-hero p { max-width:285px; margin:0; color:#a0a9b9; font-size:9px; line-height:1.7; }
.insights-hero-foot { margin-top:13px; color:#748294; font-size:6px; font-weight:800; letter-spacing:.14em; }
.universe-core { position:absolute; top:22px; right:25px; display:grid; width:66px; height:66px; place-items:center; border:1px solid rgba(183,170,224,.25); border-radius:50%; color:#d7c6f1; background:radial-gradient(circle at 35% 30%,rgba(202,188,236,.3),rgba(125,155,190,.13) 55%,rgba(138,126,185,.07)); box-shadow:0 0 0 8px rgba(171,157,218,.035),0 0 38px rgba(156,143,215,.18); font-size:24px; animation:universe-core-breathe 4.4s ease-in-out infinite; }
.universe-core i { position:absolute; inset:-8px; border:1px solid rgba(172,161,220,.23); border-radius:50%; animation:universe-ring 4.8s ease-out infinite; }
.universe-core i:nth-of-type(2) { animation-delay:1.6s; }
.universe-core i:nth-of-type(3) { animation-delay:3.2s; }
.universe-orbit { position:absolute; width:170px; height:53px; border:1px solid rgba(146,195,203,.13); border-radius:50%; pointer-events:none; transform:rotate(-29deg); }
.universe-orbit-a { top:37px; right:-38px; }
.universe-orbit-b { top:54px; right:-54px; width:195px; border-color:rgba(181,153,220,.16); transform:rotate(23deg); }
.insight-panel { min-width:0; margin:11px 0; padding:15px; border:1px solid rgba(255,255,255,.065); border-radius:16px; background:linear-gradient(145deg,rgba(255,255,255,.036),rgba(255,255,255,.012)); box-shadow:inset 0 1px rgba(255,255,255,.018); }
.insight-panel-heading,.insight-section-heading { display:flex; align-items:center; justify-content:space-between; gap:11px; }
.insight-panel-heading h4,.insight-section-heading h4 { margin:4px 0 3px; color:#e9e7ee; font:800 16px/1.2 'Manrope',sans-serif; letter-spacing:-.04em; }
.insight-panel-heading p,.insight-section-heading p { margin:0; color:#8993a2; font-size:8px; line-height:1.55; }
.month-heading { align-items:flex-start; }
.month-controls { display:flex; gap:5px; }
.month-nav { display:grid; width:31px; height:31px; place-items:center; border:1px solid rgba(255,255,255,.08); border-radius:10px; color:#c1c7d2; background:rgba(255,255,255,.04); font-size:20px; line-height:1; cursor:pointer; transition:background .2s,border-color .2s,transform .2s; }
.month-nav:hover:not(:disabled) { border-color:rgba(174,162,220,.32); background:rgba(174,162,220,.09); transform:translateY(-1px); }
.month-nav:disabled { opacity:.27; cursor:default; }
.insight-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin:15px 0 16px; }
.insight-stat-card { min-width:0; min-height:82px; padding:11px 9px 9px; border:1px solid rgba(255,255,255,.05); border-radius:12px; background:rgba(5,8,15,.25); }
.insight-stat-card small { display:block; color:#7f8c9c; font-size:6px; font-weight:800; letter-spacing:.1em; line-height:1.4; }
.insight-stat-card strong { display:block; overflow:hidden; margin-top:8px; color:#f0edf3; font:800 19px/1 'Manrope',sans-serif; letter-spacing:-.05em; text-overflow:ellipsis; white-space:nowrap; }
.insight-stat-card span { display:block; overflow:hidden; margin-top:6px; color:#7e8998; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.streak-stat strong { color:#c9b7ee; }
.insight-calendar-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:2px 1px 9px; }
.insight-calendar-head span { color:#83909d; font-size:7px; font-weight:800; letter-spacing:.14em; }
.insight-calendar-head small { color:#8ea7a6; font-size:7px; }
.insight-weekdays,.insight-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.insight-weekdays { margin-bottom:5px; }
.insight-weekdays span { color:#687586; font-size:7px; text-align:center; }
.insight-day { display:grid; min-width:0; aspect-ratio:1.18; place-items:center; border:1px solid rgba(255,255,255,.045); border-radius:7px; color:#8b96a4; background:rgba(255,255,255,.025); font-size:8px; transition:background .25s,border-color .25s,transform .25s; }
.insight-day.is-blank { border-color:transparent; background:transparent; }
.insight-day.is-active { color:#e0e4e9; border-color:rgba(130,195,187,.18); background:linear-gradient(145deg,rgba(123,190,181,.12),rgba(159,144,208,.08)); }
.insight-day.level-2 { color:#d9e7e3; border-color:rgba(133,202,188,.32); background:linear-gradient(145deg,rgba(125,198,183,.25),rgba(154,143,207,.17)); box-shadow:inset 0 0 11px rgba(128,196,184,.08); }
.insight-day.level-3 { color:#f1e9fa; border-color:rgba(174,155,222,.44); background:linear-gradient(145deg,rgba(128,199,190,.34),rgba(167,145,220,.29)); box-shadow:0 0 13px rgba(151,143,218,.12),inset 0 0 12px rgba(175,161,227,.1); }
.insight-day.is-today { outline:1px solid rgba(234,190,151,.7); outline-offset:1px; }
.insight-legend { display:flex; gap:12px; margin-top:9px; color:#737f8d; font-size:7px; }
.insight-legend span { display:inline-flex; align-items:center; gap:5px; }
.insight-legend i { width:7px; height:7px; border-radius:2px; background:rgba(123,190,181,.12); }
.insight-legend .legend-mid { background:rgba(125,198,183,.27); }.insight-legend .legend-high { background:linear-gradient(135deg,#80c6b9,#ad9bdc); }
.insight-month-actions { display:flex; align-items:center; justify-content:space-between; gap:9px; margin-top:13px; padding-top:11px; border-top:1px solid rgba(255,255,255,.055); }
.insight-data-note { max-width:65%; color:#718090; font-size:7px; line-height:1.5; }
.insight-export-button { flex:0 0 auto; min-height:30px; padding:0 10px; border:1px solid rgba(170,157,218,.2); border-radius:9px; color:#c2b4e1; background:rgba(155,140,204,.07); font:700 8px 'DM Sans',sans-serif; cursor:pointer; }
.insight-ranking-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.ranking-panel { margin:0 0 11px; padding:13px 11px; }
.insight-section-heading { margin-bottom:11px; }
.insight-section-heading h4 { font-size:14px; }
.insight-section-mark { display:grid; width:31px; height:31px; flex:0 0 31px; place-items:center; border:1px solid rgba(156,190,197,.16); border-radius:10px; color:#a5d1ca; background:rgba(121,181,181,.065); font-size:15px; }
.insight-section-mark.album-mark { color:#bba9de; border-color:rgba(179,158,221,.17); background:rgba(159,141,206,.07); }
.insight-section-mark.mood-mark { color:#dbabc3; border-color:rgba(217,157,191,.17); background:rgba(204,132,172,.07); }
.insight-section-mark.health-mark { color:#d7bd91; border-color:rgba(215,189,145,.17); background:rgba(215,189,145,.07); }
.insight-ranking-list { display:flex; flex-direction:column; gap:7px; }
.insight-ranking-row { display:flex; align-items:center; gap:8px; width:100%; min-width:0; min-height:54px; padding:7px 6px; border:1px solid rgba(255,255,255,.045); border-radius:10px; color:inherit; text-align:left; background:rgba(4,7,13,.19); cursor:pointer; animation:pulse-card-in .45s cubic-bezier(.2,.8,.2,1) both; transition:border-color .2s,background .2s,transform .2s; }
.insight-ranking-row:hover { border-color:rgba(142,193,190,.23); background:rgba(128,183,184,.055); transform:translateY(-1px); }
.insight-rank-number { flex:0 0 18px; color:#788999; font:800 9px 'Manrope',sans-serif; }
.insight-rank-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:4px; }
.insight-rank-copy strong { overflow:hidden; color:#e1e2e8; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.insight-rank-copy small { overflow:hidden; color:#7c8996; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.insight-rank-bar { display:block; width:100%; height:3px; overflow:hidden; border-radius:5px; background:rgba(255,255,255,.05); }
.insight-rank-bar::after { content:''; display:block; width:var(--rank-progress,0%); height:100%; border-radius:inherit; background:linear-gradient(90deg,#7dc4b9,#a99bd8,#d6a5bf); box-shadow:0 0 8px rgba(133,195,190,.22); }
.insight-rank-time { flex:0 0 auto; color:#a5bcb9; font-size:7px; font-weight:700; }
.insight-empty { padding:16px 8px; border:1px dashed rgba(255,255,255,.07); border-radius:10px; color:#7e8a98; font-size:8px; line-height:1.6; text-align:center; }
.mood-panel { margin-top:0; }
.mood-mix-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mood-mix-card { display:flex; align-items:center; gap:9px; min-width:0; min-height:75px; padding:10px; border:1px solid color-mix(in srgb,var(--mood-accent,#9bbeb8) 20%,transparent); border-radius:13px; color:inherit; text-align:left; background:linear-gradient(125deg,color-mix(in srgb,var(--mood-accent,#9bbeb8) 9%,rgba(255,255,255,.025)),rgba(255,255,255,.015)); cursor:pointer; animation:pulse-card-in .5s cubic-bezier(.2,.8,.2,1) both; transition:transform .2s,border-color .2s,filter .2s; }
.mood-mix-card:hover { transform:translateY(-2px); filter:brightness(1.12); border-color:color-mix(in srgb,var(--mood-accent,#9bbeb8) 42%,transparent); }
.mood-mix-orb { display:grid; width:36px; height:36px; flex:0 0 36px; place-items:center; border:1px solid color-mix(in srgb,var(--mood-accent,#9bbeb8) 35%,transparent); border-radius:12px; color:var(--mood-accent,#a5d1ca); background:color-mix(in srgb,var(--mood-accent,#9bbeb8) 12%,transparent); box-shadow:0 0 18px color-mix(in srgb,var(--mood-accent,#9bbeb8) 10%,transparent); font-size:16px; }
.mood-mix-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:4px; }
.mood-mix-copy strong { overflow:hidden; color:#e6e5eb; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.mood-mix-copy small { overflow:hidden; color:#82909e; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.mood-mix-copy b { color:var(--mood-accent,#a5d1ca); font-size:6px; letter-spacing:.1em; }
.mood-mix-play { display:grid; width:25px; height:25px; flex:0 0 25px; place-items:center; border-radius:50%; color:#152027; background:var(--mood-accent,#a5d1ca); font-size:9px; opacity:.9; }
.health-panel { margin-top:0; }
.health-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.health-metric { min-width:0; padding:10px 7px; border:1px solid rgba(255,255,255,.05); border-radius:10px; background:rgba(5,8,15,.2); }
.health-metric small { display:block; color:#798696; font-size:5.5px; font-weight:800; letter-spacing:.06em; line-height:1.4; }
.health-metric strong { display:block; margin-top:6px; color:#e7e7ed; font:800 18px 'Manrope',sans-serif; }
.health-metric span { display:block; margin-top:3px; overflow:hidden; color:#74818e; font-size:6px; text-overflow:ellipsis; white-space:nowrap; }
.health-metric.has-warning strong { color:#e6b68d; }
.health-artwork-row { display:flex; align-items:center; justify-content:space-between; gap:9px; margin-top:13px; }
.health-artwork-copy strong,.health-artwork-copy small { display:block; }
.health-artwork-copy strong { color:#dce0e6; font-size:8px; }
.health-artwork-copy small { margin-top:3px; color:#788593; font-size:7px; }
.health-artwork-row > strong { color:#a8cfc7; font:800 14px 'Manrope',sans-serif; }
.health-progress { height:5px; overflow:hidden; margin-top:8px; border-radius:9px; background:rgba(255,255,255,.06); }
.health-progress span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7dc6b9,#a99cdd,#d9a9c3); box-shadow:0 0 12px rgba(140,190,194,.22); transition:width .7s cubic-bezier(.2,.8,.2,1); }
.health-status { margin-top:11px; padding:9px 10px; border:1px solid rgba(125,193,183,.11); border-radius:9px; color:#91aaa6; background:rgba(115,180,170,.045); font-size:7px; line-height:1.6; }
.insights-view.is-active .insights-hero { animation:pulse-hero-in .65s cubic-bezier(.2,.8,.2,1) both; }
.insights-view.is-active .month-panel { animation:pulse-card-in .55s .08s both; }
.insights-view.is-active .ranking-panel { animation:pulse-card-in .55s .15s both; }
.insights-view.is-active .mood-panel { animation:pulse-card-in .55s .22s both; }
.insights-view.is-active .health-panel { animation:pulse-card-in .55s .29s both; }
@keyframes pulse-universe-rotate { from { transform:rotate(0deg) scale(.92); } to { transform:rotate(360deg) scale(1.08); } }
@keyframes universe-core-breathe { 0%,100% { transform:scale(.96); box-shadow:0 0 0 7px rgba(171,157,218,.035),0 0 25px rgba(156,143,215,.1); } 50% { transform:scale(1.05); box-shadow:0 0 0 12px rgba(171,157,218,.06),0 0 43px rgba(156,143,215,.23); } }
@keyframes universe-ring { 0% { transform:scale(.72); opacity:.6; } 100% { transform:scale(1.55); opacity:0; } }
@keyframes pulse-hero-in { from { opacity:0; transform:translateY(11px) scale(.99); filter:blur(4px); } to { opacity:1; transform:translateY(0) scale(1); filter:blur(0); } }
@keyframes pulse-card-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:900px) { .insights-hero { min-height:178px; } .insight-stat-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:520px) {
  .library-view-tabs { display:flex; gap:5px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; scroll-snap-type:x proximity; padding:4px; }
  .library-view-tabs::-webkit-scrollbar { display:none; }
  .library-view-tab { flex:0 0 auto; min-width:61px; min-height:36px; padding:0 8px; scroll-snap-align:start; font-size:8px; }
  .insights-hero { min-height:166px; margin-top:14px; padding:16px 14px; border-radius:16px; }
  .insights-hero h3 { font-size:24px; }.insights-hero p { max-width:225px; font-size:8px; }
  .universe-core { top:16px; right:17px; width:52px; height:52px; font-size:19px; }
  .insight-panel { padding:12px; border-radius:14px; }
  .insight-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:12px 0 14px; }
  .insight-stat-card { min-height:72px; padding:10px 8px 8px; }
  .insight-stat-card strong { font-size:18px; }
  .insight-month-grid,.insight-weekdays { gap:4px; }
  .insight-day { aspect-ratio:1.05; border-radius:6px; font-size:7px; }
  .insight-ranking-grid { grid-template-columns:1fr; gap:0; }
  .ranking-panel { padding:12px; }
  .mood-mix-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .mood-mix-card { min-height:76px; gap:7px; padding:8px 7px; }
  .mood-mix-orb { width:30px; height:30px; flex-basis:30px; border-radius:10px; }
  .mood-mix-copy strong { font-size:7.5px; }.mood-mix-copy small { font-size:6px; }
  .mood-mix-play { width:22px; height:22px; flex-basis:22px; font-size:8px; }
  .health-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .health-metric small { font-size:6px; }
  .insight-month-actions { align-items:flex-start; flex-direction:column; }
  .insight-data-note { max-width:100%; }
  .insight-export-button { width:100%; min-height:35px; }
}
@media (max-width:360px) {
  .library-view-tab { min-width:57px; padding:0 6px; font-size:7px; }
  .insights-hero { min-height:157px; padding:14px 12px; }
  .universe-core { width:45px; height:45px; font-size:16px; }
  .insight-stat-card strong { font-size:16px; }
  .mood-mix-card { grid-column:1 / -1; min-height:68px; }
}
@media (prefers-reduced-motion:reduce) {
  .insights-hero::before,.universe-core,.universe-core i,.insights-view.is-active .insights-hero,.insights-view.is-active .month-panel,.insights-view.is-active .ranking-panel,.insights-view.is-active .mood-panel,.insights-view.is-active .health-panel,.insight-ranking-row,.mood-mix-card { animation:none !important; transition:none !important; }
  .lyrics-panel::before,.lyrics-line--current.is-changing { animation:none !important; }
}
