:root {
  color-scheme: dark;
  --bg: #11130f;
  --surface: #1a1d18;
  --surface-raised: #22261f;
  --border: rgba(235, 240, 224, .09);
  --text: #f0f2e9;
  --muted: #93988b;
  --accent: #ffad4f;
  --accent-dark: #241307;
  --font: 'Segoe UI', sans-serif;
  --display: 'Segoe UI', sans-serif;
  --content-width: 1320px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-padding-top: 16px; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
.app-shell { width: min(100%,var(--content-width)); margin: auto; padding: 0 clamp(20px,4vw,56px) env(safe-area-inset-bottom); }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--text); text-decoration: none; font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.8px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #14180d; font-size: 21px; }
.brand-dot { color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 27px; }
.offline-badge { display: flex; align-items: center; gap: 8px; color: #c4c7bc; font-size: 12px; }
.offline-badge span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px rgba(255,173,79,.55); }
.button { border: 0; border-radius: 9px; padding: 11px 16px; font-size: 13px; font-weight: 700; transition: transform .18s, filter .18s; }
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #1b220f; }
.button-primary:disabled { opacity: .5; cursor: wait; transform: none; }
.button-secondary { background: var(--surface-raised); color: var(--text); border: 1px solid var(--border); }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.button:active,.control-button:active,.icon-button:active { transform: scale(.97); }
svg { display: block; }
.icon-button svg,.control-button svg,.play-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button svg { width: 17px; height: 17px; }
.play-button svg { width: 23px; height: 23px; }
.icon-filled { fill: currentColor; stroke: none; }
#repeatButton svg text { fill: currentColor; stroke: none; font: 700 9px var(--font); text-anchor: middle; }
.search-box svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.install-banner { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 16px 54px 16px 17px; border: 1px solid rgba(255,173,79,.24); border-radius: 12px; background: linear-gradient(110deg,rgba(255,173,79,.1),rgba(117,72,151,.1)); }
.install-banner[hidden] { display: none; }
.install-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; background: var(--accent); color: #241307; font-size: 23px; }
.install-copy { flex: 1; }
.install-copy h2 { margin: 0 0 4px; font: 700 14px var(--display); }
.install-copy p { margin: 0; color: #c4c7bc; font-size: 11px; line-height: 1.5; }
.install-copy .install-offline-note { margin-top: 4px; color: #92978b; font-size: 10px; }
.install-dismiss { position: absolute; top: 9px; right: 9px; }
.install-banner .button { flex: 0 0 auto; }
.intro { min-height: 319px; margin: 54px 0 55px; border: 1px solid rgba(255,173,79,.16); border-radius: 17px; overflow: hidden; position: relative; display: flex; justify-content: space-between; align-items: center; padding: 40px 6%; background: radial-gradient(ellipse at 82% 55%, rgba(239,105,47,.2), transparent 34%), radial-gradient(ellipse at 14% 0%, rgba(117,72,151,.16), transparent 43%), linear-gradient(120deg,#211b1d,#19171a); }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1.65px; }
h1,h2,h3,p { margin-top: 0; }
.intro h1 { margin: 0; font: 800 clamp(34px,4vw,51px)/1.08 var(--display); letter-spacing: -2.7px; }
.intro h1 span { color: var(--accent); }
.intro-copy { max-width: 445px; margin: 17px 0 0; color: #a6aa9e; font-size: 14px; line-height: 1.7; }
.intro-art { width: 290px; height: 240px; position: relative; flex: 0 0 290px; margin-right: 7%; }
.disc { position: absolute; width: 178px; height: 178px; left: 67px; top: 31px; border-radius: 50%; background: repeating-radial-gradient(circle at center, #443238 0 2px, #252025 3px 7px); box-shadow: 0 20px 50px #090a08, inset 0 0 20px #090a08; animation: slow-spin 20s linear infinite; }
.disc-center { position: absolute; width: 55px; height: 55px; top: 61px; left: 61px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 17px #20241d; }
.orbit { position: absolute; border: 1px solid rgba(255,173,79,.17); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 275px; height: 102px; top: 70px; left: 22px; }
.orbit-two { width: 225px; height: 154px; top: 44px; left: 47px; transform: rotate(38deg); }
.note { position: absolute; z-index: 1; color: var(--accent); font-family: Georgia,serif; }
.note-one { right: 7px; top: 29px; font-size: 31px; transform: rotate(11deg); }
.note-two { bottom: 14px; left: 22px; font-size: 24px; transform: rotate(-13deg); }
.seasonal-moon { position: absolute; z-index: 1; left: 5px; top: 19px; color: #d7a8ff; font: 42px/1 Georgia,serif; transform: rotate(-25deg); }
.seasonal-pumpkin { position: absolute; z-index: 2; right: 3px; bottom: 12px; font-size: 35px; filter: drop-shadow(0 5px 10px #08070888); transform: rotate(8deg); }
@keyframes slow-spin { to { transform: rotate(360deg); } }
.library-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.library-heading h2 { margin: 0; font: 700 23px var(--display); letter-spacing: -.6px; }
.count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; margin-left: 5px; background: var(--surface-raised); border-radius: 20px; color: var(--muted); font: 500 11px var(--font); vertical-align: 3px; }
.search-box { display: flex; align-items: center; gap: 9px; width: 245px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); background: #171a15; }
.search-box span { font-size: 22px; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.library-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(350px,.9fr); align-items: start; gap: clamp(20px,3vw,38px); }
.track-list-wrap { min-width: 0; }
.list-labels { display: grid; grid-template-columns: 1fr 54px 34px; padding: 0 17px 11px; color: #8c9285; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
body.can-manage-tracks .list-labels { grid-template-columns: 1fr 54px 196px; }
body.has-public-downloads:not(.can-manage-tracks) .list-labels { grid-template-columns: 1fr 54px 144px; }
.list-labels span:nth-child(2) { text-align: center; }
.track-list { display: flex; flex-direction: column; gap: 6px; }
.track-row { display: grid; grid-template-columns: minmax(0,1fr) 54px 34px; align-items: center; gap: 8px; min-height: 68px; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; transition: background .16s, border-color .16s; }
body.can-manage-tracks .track-row { grid-template-columns: minmax(0,1fr) 54px 196px; }
body.has-public-downloads:not(.can-manage-tracks) .track-row { grid-template-columns: minmax(0,1fr) 54px 144px; }
.track-row:hover,.track-row.is-active { background: var(--surface); border-color: var(--border); }
.track-main { display: flex; align-items: center; gap: 13px; min-width: 0; border: 0; padding: 0; text-align: left; background: transparent; }
.track-thumb { width: 47px; height: 47px; flex: 0 0 47px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; background: #282e22; color: var(--accent); font-size: 21px; }
.track-thumb img,.player-cover img { width: 100%; height: 100%; object-fit: cover; }
.track-meta { min-width: 0; }
.track-meta strong,.track-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-meta strong { font-size: 13px; font-weight: 600; }
.track-meta small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.track-length { color: #a2a79a; text-align: center; font-size: 11px; }
.row-actions { display: flex; gap: 3px; justify-content: end; }
.row-actions .icon-button { text-decoration: none; }
.download-access-hint { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.download-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(255,173,79,.44); border-radius: 9px; background: rgba(255,173,79,.12); color: var(--accent); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.download-button:hover { border-color: var(--accent); background: rgba(255,173,79,.2); }
.download-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { display: grid; place-items: center; width: 36px; min-width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 9px; background: #20231d; color: #d3d6cb; }
.icon-button:hover { border-color: rgba(255,173,79,.35); color: var(--accent); }
.icon-button:disabled { opacity: .35; cursor: default; }
.row-actions .icon-button { width: 32px; min-width: 32px; height: 32px; }
.now-playing { padding: 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); }
.player-cover { width: 100%; aspect-ratio: 1 / .88; max-height: 330px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 45%,#51352c,#30242d 58%,#201b24); color: rgba(255,173,79,.72); font-size: 73px; }
.cover-placeholder { font-family: Georgia,serif; }
.cover-caption { position: absolute; bottom: 12px; left: 13px; color: rgba(240,242,233,.55); font-size: 8px; font-weight: 700; letter-spacing: 1.6px; }
.player-info { padding: 19px 3px 14px; }
.player-title-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.player-title-row .eyebrow { margin-bottom: 6px; font-size: 8px; }
.player-title-row h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 16px var(--display); }
.muted { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.seek-row { display: grid; grid-template-columns: 33px 1fr 33px; align-items: center; gap: 9px; margin-top: 20px; }
.time { color: #969b8e; font-size: 9px; font-variant-numeric: tabular-nums; }
.time:last-child { text-align: right; }
.seekbar { width: 100%; height: 3px; accent-color: var(--accent); cursor: pointer; }
.seekbar:disabled { opacity: .35; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 27px; margin-top: 11px; }
.control-button,.play-button { display: grid; place-items: center; border: 0; background: transparent; }
.control-button { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; color: #c4c7bc; }
.control-button:hover { color: var(--accent); }
.play-button { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; background: var(--accent); color: #18200d; }
.play-button:disabled { opacity: .45; cursor: default; }
.lyrics-panel { border-top: 1px solid var(--border); padding-top: 15px; }
.lyrics-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lyrics-heading h3 { margin: 0; font: 700 12px var(--display); }
.lyrics-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lyrics-heading span { color: #82887a; font-size: 9px; }
.lyrics-follow-button { padding: 6px 9px; border: 1px solid rgba(255,173,79,.35); border-radius: 7px; background: rgba(255,173,79,.1); color: var(--accent); font-size: 10px; font-weight: 700; }
.lyrics-follow-button:hover { background: rgba(255,173,79,.18); }
.lyrics-follow-button:focus-visible,.lyrics-view:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lyrics-follow-button[hidden] { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lyrics-view { max-height: 190px; min-height: 82px; overflow: auto; margin-top: 10px; padding-right: 4px; scrollbar-color: #444a3d transparent; scrollbar-width: thin; }
.lyric-line { width: 100%; display: block; border: 0; padding: 8px 7px; border-radius: 5px; background: transparent; color: #969b8f; text-align: left; font-size: 12px; line-height: 1.45; transition: color .18s, background .18s; }
.lyric-line:hover { color: var(--text); }
.lyric-line.active { background: rgba(255,173,79,.08); color: var(--accent); font-weight: 700; }
.lyrics-empty { margin: 0; padding: 7px; color: #858a7e; font-size: 11px; line-height: 1.6; }
.empty-state { padding: 50px 18px; text-align: center; }
.empty-icon { width: 55px; height: 55px; display: grid; place-items: center; margin: auto auto 15px; border-radius: 17px; background: var(--surface); color: var(--accent); font-size: 25px; }
.empty-state h3 { margin-bottom: 7px; font: 700 16px var(--display); }
.empty-state p { max-width: 360px; margin: 0 auto 17px; color: var(--muted); font-size: 12px; line-height: 1.7; }
footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 58px; padding: 20px 0 25px; border-top: 1px solid var(--border); color: #7d8276; font-size: 10px; }
footer i { padding: 0 6px; color: var(--accent); font-style: normal; }
.track-dialog { width: min(570px, calc(100% - 28px)); max-height: min(90vh,820px); overflow: auto; padding: 25px; border: 1px solid #353b30; border-radius: 15px; background: #191c17; color: var(--text); }
.track-dialog::backdrop { background: rgba(5,6,5,.75); backdrop-filter: blur(4px); }
.track-dialog form { display: flex; flex-direction: column; gap: 17px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.dialog-heading h2 { margin: 0; font: 700 21px var(--display); }
.dialog-heading .eyebrow { margin-bottom: 6px; }
.field-label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 600; }
.field-label input:not([type=file]),.field-label textarea { width: 100%; border: 1px solid #353b31; border-radius: 7px; outline: 0; padding: 10px 11px; background: #12140f; color: var(--text); font-size: 12px; }
.field-label input:focus,.field-label textarea:focus { border-color: rgba(195,245,106,.55); }
.field-label input[type=file] { max-width: 100%; color: #b7bbaf; font-size: 11px; }
.field-label input[type=file]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; background: #282c24; color: var(--text); cursor: pointer; }
.field-label textarea { resize: vertical; line-height: 1.55; }
.field-label small,.timestamp-tools span { color: #858b7e; font-size: 10px; font-weight: 400; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.required { color: var(--accent); }
.timestamp-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.timestamp-tools .button { padding: 9px 11px; font-size: 10px; }
.remove-cover-option { color: #bdc1b6; font-size: 11px; }
.remove-cover-option input { accent-color: var(--accent); vertical-align: middle; }
.form-error { display: none; margin: 0; color: #ff9a8b; font-size: 11px; line-height: 1.5; }
.form-error:not(:empty) { display: block; }
.dialog-actions { display: flex; justify-content: end; gap: 9px; padding-top: 3px; }
.toast { position: fixed; z-index: 10; bottom: 22px; left: 50%; max-width: calc(100% - 30px); padding: 12px 16px; border: 1px solid #464d3d; border-radius: 9px; background: #23281e; color: var(--text); box-shadow: 0 10px 35px #0008; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: opacity .2s,transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
.toast.error { border-color: #804b40; color: #ffd1c9; }

.topbar-actions { gap: 12px; }
.player-cover { aspect-ratio: 1 / .88; height: auto; min-height: 205px; max-height: 320px; border: 1px solid rgba(255,173,79,.15); background: radial-gradient(ellipse at 50% 105%,rgba(212,91,36,.25),transparent 59%), radial-gradient(circle at 45% 37%,#392631,#201d24 58%,#17181a); }
.player-cover::before,.player-cover::after { content: ""; position: absolute; inset: 9% 12%; border: 1px solid rgba(255,173,79,.16); border-radius: 50%; transform: rotate(-18deg); pointer-events: none; }
.player-cover::after { inset: 17% 4%; border-color: rgba(198,151,237,.16); transform: rotate(27deg); }
.player-cover > img { position: absolute; inset: 0; z-index: 1; }
.cover-placeholder { width: 114px; height: 114px; z-index: 1; display: grid; place-items: center; border: 1px solid rgba(255,197,135,.5); border-radius: 50%; background: repeating-radial-gradient(circle,#4b3031 0 2px,#302531 3px 7px); box-shadow: 0 16px 48px #08070888; color: #ffd8ae; font-size: 41px; }
.cover-placeholder::after { content: ""; position: absolute; width: 27px; height: 27px; border: 8px solid #2e252b; border-radius: 50%; background: var(--accent); }
.cover-caption { z-index: 2; display: flex; align-items: center; gap: 7px; }
.cover-caption i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.now-playing { padding: 14px; border-color: rgba(255,173,79,.13); background: linear-gradient(160deg,#201d20,#181a18 55%); box-shadow: 0 18px 54px rgba(0,0,0,.2); }
.player-info { padding: 19px 3px 12px; }
.player-title-row h3 { font-size: 19px; }
.player-title-row .eyebrow { display: flex; align-items: center; gap: 8px; }
.playing-equalizer { display: inline-flex; height: 10px; align-items: center; gap: 2px; }
.playing-equalizer i { width: 2px; height: 5px; border-radius: 3px; background: var(--accent); }
.playing-equalizer i:nth-child(2) { height: 9px; }
.playing-equalizer i:nth-child(3) { height: 6px; }
body.is-playing .playing-equalizer i { animation: level .65s ease-in-out infinite alternate; }
body.is-playing .playing-equalizer i:nth-child(2) { animation-delay: .18s; }
body.is-playing .playing-equalizer i:nth-child(3) { animation-delay: .34s; }
@keyframes level { to { transform: scaleY(.35); } }
.seek-row { grid-template-columns: 35px 1fr 35px; gap: 11px; margin-top: 22px; }
.seekbar { height: 4px; accent-color: var(--accent); }
.seekbar::-webkit-slider-thumb { width: 11px; height: 11px; cursor: grab; }
.seekbar::-moz-range-thumb { width: 11px; height: 11px; cursor: grab; }
.player-controls { gap: 12px; justify-content: space-between; margin-top: 18px; }
.control-button { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; color: #beb8b2; }
.control-button:hover,.control-button.control-toggle.active { background: rgba(255,173,79,.1); color: var(--accent); }
.control-button.control-toggle.active::after { content: ""; position: absolute; bottom: 3px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.play-button { width: 54px; height: 54px; flex: 0 0 54px; box-shadow: 0 0 0 7px rgba(255,173,79,.09), 0 8px 26px rgba(235,127,42,.14); transition: transform .18s, box-shadow .18s; }
.play-button:hover { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255,173,79,.1), 0 8px 26px rgba(235,127,42,.2); }
.play-mode-label { min-height: 15px; margin-top: 6px; color: #878b83; text-align: center; font-size: 9px; }
.track-row { touch-action: manipulation; }
.track-row[draggable="true"] { cursor: grab; }
.track-row.is-dragging { opacity: .44; }
.track-row.drop-target { border-color: rgba(255,173,79,.65); background: rgba(255,173,79,.07); }
.row-actions { align-items: center; }
.track-move-buttons { display: flex; flex-direction: column; gap: 0; }
.track-move-buttons .icon-button { width: 23px; height: 20px; border: 0; background: transparent; color: #92958b; font-size: 11px; }
.track-move-buttons .icon-button:disabled { visibility: hidden; }
.track-move-buttons .icon-button:hover { color: var(--accent); }
.auth-explainer { margin: 0; color: #a6aa9e; font-size: 12px; line-height: 1.65; }
#passwordForm .dialog-actions { justify-content: stretch; }
#passwordForm .dialog-actions .button { width: 100%; }
.track-row.is-unavailable { opacity: .65; }
.track-row.is-unavailable .track-meta::after { content: "· en ligne au prochain accès"; display: block; margin-top: 4px; color: var(--accent); font-size: 9px; }
body.is-offline .offline-badge { color: var(--accent); }
body.is-offline .offline-badge span { background: #d97758; box-shadow: 0 0 10px #d97758; }

@media (max-width: 900px) {
  .intro { min-height: 275px; margin-top: 35px; }
  .intro-art { margin-right: 0; transform: scale(.83); transform-origin: center right; }
  .library-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .now-playing { width: min(100%,600px); justify-self: center; }
}
@media (max-width: 650px) {
  .app-shell { padding: 0 16px max(16px,env(safe-area-inset-bottom)); }
  .topbar { height: auto; min-height: 68px; flex-wrap: wrap; gap: 9px; padding: 9px 0; }
  .brand { gap: 8px; font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; }
  .install-banner { align-items: flex-start; flex-wrap: wrap; gap: 11px; margin-top: 14px; padding: 14px 43px 14px 13px; }
  .install-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 20px; }
  .install-copy { flex-basis: calc(100% - 50px); }
  .install-banner .button { margin-left: 47px; }
  .topbar-actions { max-width: 100%; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
  .offline-badge { font-size: 0; }
  .offline-badge span { width: 8px; height: 8px; }
  .topbar .button { min-height: 42px; padding: 9px 10px; font-size: 11px; white-space: nowrap; }
  .intro { min-height: 235px; margin: 24px 0 36px; padding: 28px 22px; }
  .intro h1 { font-size: clamp(32px,8vw,42px); letter-spacing: -1.8px; }
  .intro-copy { max-width: 310px; font-size: 12px; }
  .intro-art { position: absolute; right: -80px; bottom: -34px; transform: scale(.57); opacity: .48; }
  .library-heading { align-items: start; flex-direction: column; gap: 14px; }
  .search-box { width: 100%; }
  .library-layout { display: flex; flex-direction: column-reverse; gap: 22px; }
  .now-playing { width: 100%; }
  .player-cover { aspect-ratio: 1 / .92; min-height: 210px; max-height: 360px; }
  .track-list-wrap { width: 100%; }
  .track-row { grid-template-columns: minmax(0,1fr) 40px 34px; gap: 4px; padding-left: 7px; padding-right: 6px; }
  body.can-manage-tracks .track-row { grid-template-columns: minmax(0,1fr) 40px 196px; }
  body.has-public-downloads .track-row { grid-template-columns: minmax(0,1fr) 40px; }
  .list-labels { grid-template-columns: 1fr 40px 34px; padding-left: 8px; padding-right: 8px; }
  body.can-manage-tracks .list-labels { grid-template-columns: 1fr 40px 34px; }
  .track-main { gap: 10px; }
  .track-thumb { width: 43px; height: 43px; flex-basis: 43px; }
  .row-actions { gap: 2px; }
  .row-actions .icon-button { width: 31px; min-width: 31px; height: 36px; }
  .track-move-buttons .icon-button { width: 27px; height: 28px; }
  body.can-manage-tracks .track-row { grid-template-columns: minmax(0,1fr) 40px; }
  body.has-public-downloads .track-row { grid-template-columns: minmax(0,1fr) 40px; }
  body.has-public-downloads .track-row .row-actions { grid-column: 1 / -1; width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  body.has-public-downloads .list-labels { grid-template-columns: 1fr 40px 34px; }
  .download-button { min-height: 38px; padding: 0 12px; }
  .player-controls { gap: clamp(2px,2vw,10px); }
  .control-button { width: 44px; flex-basis: 44px; }
  .play-button { width: 52px; flex-basis: 52px; }
  .lyrics-heading-actions { gap: 7px; }
  .lyrics-follow-button { max-width: 170px; font-size: 9px; }
  footer { flex-direction: column; margin-top: 36px; line-height: 1.6; }
}
@media (hover: none) {
  .button:hover,.play-button:hover { filter: none; transform: none; }
  .track-row:hover { background: transparent; border-color: transparent; }
  .track-row.is-active { background: var(--surface); border-color: var(--border); }
  .icon-button,.control-button,.play-button,.lyrics-follow-button { -webkit-touch-callout: none; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
