:root {
  color-scheme: dark;
  --bg: #101315;
  --panel: #171a1b;
  --panel-2: #1e2223;
  --line: rgba(230, 237, 222, .09);
  --text: #edf0e8;
  --muted: #929995;
  --soft: #c8cec5;
  --mint: #b8f36a;
  --orange: #ef9a5b;
  --display: "Manrope", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font: 15px/1.55 var(--body); min-height: 100vh; overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.ambient { position: fixed; pointer-events: none; z-index: 0; filter: blur(110px); opacity: .14; border-radius: 50%; }
.ambient-one { width: 450px; height: 430px; top: -290px; left: 28%; background: #a2e951; }
.ambient-two { width: 360px; height: 440px; right: 4%; top: 35%; background: #e98548; opacity: .07; }
.app-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 252px minmax(420px, 1fr) 310px; min-height: calc(100vh - 108px); max-width: 1680px; margin: 0 auto; }
.sidebar { min-height: calc(100vh - 108px); background: rgba(17,20,21,.78); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 28px 18px 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: -.8px; margin: 1px 0 51px 8px; }
.brand-light { color: #a7aea8; font-weight: 500; }
.brand-mark { width: 24px; height: 24px; border-radius: 8px; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; gap: 2px; flex: none; }
.brand-mark i { display: block; width: 2px; border-radius: 3px; background: #17200e; }
.brand-mark i:nth-child(1) { height: 7px; }.brand-mark i:nth-child(2) { height: 13px; }.brand-mark i:nth-child(3) { height: 9px; }
.sidebar-label, .section-kicker { font: 500 11px/1.35 var(--mono); letter-spacing: 1.4px; color: #8c958e; }
.sidebar-label { padding-left: 10px; }
.main-nav { display: grid; gap: 4px; margin: 14px 0 27px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 13px; height: 47px; width: 100%; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: #a1aaa3; text-align: left; cursor: pointer; font-size: 14px; font-weight: 500; transition: .16s ease; }
.nav-item:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-item.active { color: #eef3e8; background: #222726; }
.nav-item.active::before { content: ""; position: absolute; width: 2px; height: 20px; border-radius: 4px; background: var(--mint); left: 0; }
.nav-icon { width: 16px; height: 16px; position: relative; opacity: .82; }
.search-icon::before { content: ""; position: absolute; width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 50%; top: 1px; left: 1px; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); top: 12px; left: 10px; border-radius: 2px; }
.list-icon { border: 1.4px solid currentColor; border-radius: 3px; height: 13px; margin-left: 1px; }
.list-icon::before, .list-icon::after { content: ""; position: absolute; height: 1px; background: currentColor; left: 3px; right: 3px; top: 4px; box-shadow: 0 4px currentColor; }
.sidebar-rule { height: 1px; background: var(--line); margin: 0 1px 19px; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; }
.icon-button { border: 0; background: none; color: #858e87; padding: 4px; cursor: pointer; }
.icon-button:hover { color: var(--mint); }
.refresh-button { font: 22px/1 var(--display); padding: 2px 5px; }
.playlist-shortcuts { display: grid; gap: 3px; margin-top: 12px; overflow: auto; max-height: 44vh; }
.sidebar-empty { white-space: pre-line; padding: 12px 10px; color: #7d8780; font-size: 12px; line-height: 1.75; }
.shortcut { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 11px; text-align: left; padding: 7px 9px; border: 0; border-radius: 6px; color: #a5ada7; background: transparent; cursor: pointer; min-width: 0; }
.shortcut:hover { color: var(--text); background: rgba(255,255,255,.045); }
.shortcut-art { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; background: #292e2b; flex: none; }
.shortcut-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; }
.sidebar-bottom { margin-top: auto; padding-top: 14px; }
.spotify-attribution { width: 100%; padding: 8px; text-align: center; color: #9ca69d; background: transparent; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; cursor: pointer; }

.main-content { min-width: 0; padding: 0 48px 25px; display: flex; flex-direction: column; }
.topbar { height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); flex: none; container: topbar / inline-size; }
.breadcrumbs { min-width: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; color: #7b847d; font: 10px var(--mono); letter-spacing: 1.15px; }
.breadcrumbs b { color: #434946; font-weight: 400; }.breadcrumbs strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #bac1b9; font: 500 12px var(--body); letter-spacing: 0; }
.top-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.top-actions > * { flex: none; white-space: nowrap; }
.top-actions .connect-button { margin-left: 6px; }
.settings-button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; color: #a5afa7; background: #1a1f1c; border: 1px solid #353d37; border-radius: 5px; cursor: pointer; font-size: 12px; }
.settings-button:hover { color: var(--text); border-color: rgba(184,243,106,.4); }
.settings-button b { color: var(--mint); font: 500 10px var(--mono); white-space: nowrap; }
.help-glyph { width: 17px; height: 17px; display: inline-grid; place-items: center; color: var(--mint); border: 1px solid currentColor; border-radius: 50%; font: 600 10px/1 var(--mono); }
.settings-glyph { width: 15px; height: 15px; display: grid; place-items: center; }.settings-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.premium-note { margin: 0 4px; font: 9px var(--mono); letter-spacing: 1px; color: #747e76; }
.tiny-wave { color: var(--mint); font: 18px var(--display); vertical-align: -1px; margin-right: 3px; }
.connect-button { min-height: 37px; padding: 0 14px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; color: #1b2114; background: var(--mint); border: 0; border-radius: 5px; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .16s, transform .16s; }
.connect-button:hover { background: #c8ff83; transform: translateY(-1px); }.connect-button:disabled { opacity: .55; cursor: wait; transform: none; }
.connect-glyph { font-size: 14px; }
.content-view { flex: 1; min-height: 0; }
.hero-row { min-height: 254px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-top: 4px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #959e96; font: 11px var(--mono); letter-spacing: 1.45px; }
.eyebrow-line { width: 21px; height: 1px; background: var(--mint); }
h1 { margin: 19px 0 12px; font: 700 clamp(33px, 4vw, 48px)/1.18 var(--display); letter-spacing: -2.2px; }
h1 em { color: var(--mint); font-style: normal; }
.hero-copy p, .page-intro p { color: #8e9690; font-size: 13px; margin: 0; }
.hero-art { width: 228px; height: 221px; position: absolute; right: 7px; top: 19px; }
.hero-disc { position: absolute; width: 185px; height: 185px; border-radius: 50%; right: 21px; top: 12px; background: radial-gradient(circle at 50% 48%,rgba(255,255,255,.08),transparent 18%), repeating-radial-gradient(circle at center,#2b302e 0 1px,#171b1a 2px 4px,#252b28 5px 6px); box-shadow: 0 23px 48px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.09); animation: slowturn 6s linear infinite paused; will-change: transform; }
.hero-disc.active { animation-play-state: running; }
.hero-disc::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: conic-gradient(from 18deg,transparent 0 7%,rgba(184,243,106,.2) 12%,rgba(255,255,255,.08) 15%,transparent 22% 45%,rgba(239,154,91,.1) 49%,transparent 55% 78%,rgba(255,255,255,.07) 82%,transparent 88%); mix-blend-mode: screen; }
.hero-disc::after { content: ""; position: absolute; inset: 17px; border: 1px solid rgba(219,229,217,.07); border-radius: 50%; box-shadow: inset 0 0 0 12px rgba(255,255,255,.012), inset 0 0 0 29px rgba(0,0,0,.055); }
.disc-label { position: absolute; z-index: 1; width: 69px; height: 69px; border-radius: 50%; inset: 0; margin: auto; display: grid; place-items: center; color: #1c2314; background: radial-gradient(circle, #d4ecb7 0 30%, #a7cd7d 31% 68%, #708b53 69%); font: 700 16px var(--mono); border: 3px solid #242925; }
.disc-label::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #222721; position: absolute; }
.hero-orbit { position: absolute; right: -2px; top: 5px; width: 207px; height: 207px; border: 1px solid rgba(184,243,106,.2); border-radius: 50%; }
.hero-star { position: absolute; right: 183px; top: 54px; color: var(--orange); font-size: 23px; }
.hero-caption { position: absolute; right: 0; bottom: 24px; color: #778078; font: 9px/1.6 var(--mono); letter-spacing: 1.3px; text-align: right; }
@keyframes slowturn { to { transform: rotate(360deg); } }
.search-form { height: 49px; display: flex; align-items: center; gap: 13px; border: 1px solid #373e39; border-radius: 6px; padding: 0 13px; background: rgba(28,33,31,.8); transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: rgba(184,243,106,.68); box-shadow: 0 0 0 3px rgba(184,243,106,.07); }
.search-form-icon { width: 15px; height: 15px; border: 1.5px solid #8d978f; border-radius: 50%; position: relative; flex: none; }
.search-form-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: #8d978f; top: 12px; left: 10px; transform: rotate(45deg); }
.search-form input { color: var(--text); flex: 1; min-width: 0; outline: 0; border: 0; background: transparent; font-size: 12px; }
.search-form input::placeholder { color: #6f7871; }
.search-form kbd { border: 1px solid #424943; border-radius: 3px; padding: 3px 5px; color: #7e887f; font: 9px var(--mono); }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.results-heading { margin: 33px 0 15px; }
.section-heading h2 { margin: 5px 0 0; font: 600 20px/1.2 var(--display); letter-spacing: -.5px; }
.section-kicker { color: #7c867e; font-size: 10px; }
.result-count { color: #778078; font: 10px var(--mono); padding-bottom: 3px; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-content: start; }
.album-card { position: relative; min-width: 0; padding: 9px 9px 12px; background: #191d1b; border: 1px solid transparent; border-radius: 7px; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.album-card:hover { background: #232825; border-color: #343c35; transform: translateY(-2px); }
.album-cover-wrap { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #282f2a; }
.album-cover { width: 100%; height: 100%; display: block; object-fit: cover; }
.album-open-link { position: absolute; top: 8px; left: 8px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #edf2e9; background: rgba(10,13,11,.76); text-decoration: none; opacity: 0; transition: .16s; font-size: 12px; }
.album-card:hover .album-open-link, .album-card:focus-within .album-open-link { opacity: 1; }
.card-play { width: 38px; height: 38px; display: grid; place-items: center; position: absolute; right: 9px; bottom: 9px; padding: 0; border: 0; border-radius: 50%; color: #1b2115; background: var(--mint); box-shadow: 0 5px 18px rgba(0,0,0,.35); opacity: 0; transform: translateY(5px); transition: .18s ease; cursor: pointer; font-size: 0; }
.card-play::before { content: ""; position: absolute; left: 50%; top: calc(50% + 1px); width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #1b2115; transform: translate(-38%,-50%); }
.album-card:hover .card-play, .album-card:focus-within .card-play { opacity: 1; transform: none; }
.card-play:hover { background: #d1ff9c; transform: scale(1.05) !important; }
.album-name { margin: 11px 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.album-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #818a82; font-size: 11px; }
.empty-state { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; grid-column: 1/-1; color: #89928a; text-align: center; font-size: 11px; }
.empty-state strong { color: #b4bcb4; font-size: 12px; font-weight: 600; }
.empty-state span { white-space: pre-line; color: #788179; line-height: 1.7; }
.empty-symbol { width: 40px; height: 40px; display: grid; place-items: center; color: var(--mint); border: 1px solid rgba(184,243,106,.2); border-radius: 50%; font-size: 23px; margin-bottom: 2px; }
.loader { width: 19px; height: 19px; border: 2px solid #303733; border-top-color: var(--mint); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-intro { min-height: 254px; padding-top: 44px; position: relative; overflow: hidden; }
.page-intro h1 { margin-top: 15px; font-size: 40px; }
.playlist-heading { margin: 13px 0 16px; }
.playlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; align-content: start; }
.playlist-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 9px; border: 1px solid var(--line); background: rgba(25,29,27,.82); border-radius: 6px; cursor: pointer; transition: .16s; }
.playlist-card:hover { background: #242a26; border-color: rgba(184,243,106,.3); }
.playlist-art { width: 49px; height: 49px; object-fit: cover; border-radius: 4px; background: #2a302b; flex: none; }
.playlist-copy { min-width: 0; flex: 1; }
.playlist-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.playlist-copy span { display: block; margin-top: 3px; color: #879189; font-size: 12px; }
.playlist-open-link { color: #869087; text-decoration: none; font-size: 12px; opacity: 0; }
.playlist-card:hover .playlist-open-link, .playlist-card:focus-within .playlist-open-link { opacity: 1; }
.playlist-play { position: relative; width: 27px; height: 27px; padding: 0; color: #1a2113; background: var(--mint); border: 0; border-radius: 50%; opacity: 0; cursor: pointer; font-size: 0; transition: .15s; flex: none; }
.playlist-play::before { content: ""; position: absolute; left: 50%; top: calc(50% + .5px); width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid #1a2113; transform: translate(-38%,-50%); }
.playlist-card:hover .playlist-play { opacity: 1; }
.content-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 26px; color: #606a62; font-size: 10px; }
.content-footer span:last-child { font: 9px var(--mono); letter-spacing: .6px; }.content-footer a { text-decoration: none; color: #8f9b90; }

.now-playing-panel { position: sticky; top: 0; align-self: start; height: calc(100vh - 108px); min-height: 0; overflow: hidden; background: rgba(19,22,22,.73); border-left: 1px solid var(--line); padding: 28px 24px 20px; display: flex; flex-direction: column; }
.panel-topline { display: flex; justify-content: space-between; align-items: center; color: #8a948c; font: 9px var(--mono); letter-spacing: 1.15px; margin: 1px 0 18px; }
.equalizer { height: 14px; display: flex; align-items: center; gap: 2px; opacity: .2; }
.equalizer.active { opacity: 1; }.equalizer i { display: block; width: 2px; height: 5px; border-radius: 2px; background: var(--mint); }.equalizer i:nth-child(2) { height: 11px; animation-delay: .14s; }.equalizer i:nth-child(3) { height: 7px; animation-delay: .27s; }.equalizer i:nth-child(4) { height: 10px; animation-delay: .08s; }.equalizer.active i { animation: eq .7s ease-in-out infinite alternate; }
@keyframes eq { to { transform: scaleY(.3); } }
.now-art-frame { position: relative; width: min(100%,clamp(150px,26vh,230px)); aspect-ratio: 1; align-self: center; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 5px; background: linear-gradient(145deg,#2b342d,#1d2521 55%,#41352c); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.art-placeholder { width: 59%; aspect-ratio: 1; display: grid; place-items: center; color: #1d2716; background: radial-gradient(circle at 29% 24%,#d1f4a4,#8aa96d 66%,#627d4e); border: 1px solid rgba(240,255,229,.3); border-radius: 50%; box-shadow: 0 0 0 9px rgba(255,255,255,.025), 0 0 0 17px rgba(255,255,255,.025); font: 700 22px var(--mono); }
.now-art { width: 100%; height: 100%; object-fit: cover; }
.art-link { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #e8eee6; background: rgba(10,13,11,.7); text-decoration: none; opacity: 0; transition: .18s; }
.now-art-frame:hover .art-link { opacity: 1; }
.track-metadata { margin-top: 21px; }.track-kind { font: 9px var(--mono); letter-spacing: 1px; color: var(--mint); }
.track-metadata h2 { margin: 7px 0 5px; font: 600 20px/1.3 var(--display); letter-spacing: -.6px; }
.track-metadata p { margin: 0; color: #89938b; font-size: 11px; }
.browser-setting { margin-top: 18px; }
.panel-separator { height: 1px; background: var(--line); margin: 21px 0 13px; }
.deck-status-row { display: flex; justify-content: space-between; gap: 8px; margin: 7px 0; color: #818b83; font: 11px var(--mono); letter-spacing: .35px; }.deck-status-row span:last-child { color: #b2bbb4; text-align: right; }
.stream-quality-note { margin: 5px 0 0; color: #78837a; font-size: 10px; line-height: 1.45; }
.context-queue { min-height: 110px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex: 1; flex-direction: column; overflow: hidden; }
.context-queue-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.context-queue-heading div { min-width: 0; display: grid; gap: 3px; }
.context-queue-heading div > span { color: #717b73; font: 8px var(--mono); letter-spacing: 1px; }
.context-queue-heading strong { overflow: hidden; color: #cbd2cb; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.context-queue-heading > span { flex: none; color: #747e76; font: 9px var(--mono); }
.context-queue-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.context-queue-actions .text-button { font-size: 10px; }
.context-track-list { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; scrollbar-color: #454e47 transparent; scrollbar-width: thin; }
.context-track-list::-webkit-scrollbar { width: 5px; }.context-track-list::-webkit-scrollbar-thumb { border-radius: 5px; background: #454e47; }
.context-track { width: 100%; min-height: 45px; padding: 7px 5px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 7px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid rgba(230,237,222,.055); border-radius: 4px; text-align: left; cursor: pointer; }
.context-track:hover { background: rgba(255,255,255,.035); }.context-track.active { background: rgba(184,243,106,.075); }
.context-track-number { color: #687169; font: 9px var(--mono); text-align: center; }.context-track.active .context-track-number { color: var(--mint); }
.context-track-copy { min-width: 0; display: grid; gap: 2px; }
.context-track-copy strong, .context-track-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.context-track-copy strong { color: #bfc7bf; font-size: 10px; font-weight: 500; }.context-track.active .context-track-copy strong { color: #eef3ec; }
.context-track-copy span { color: #727c74; font-size: 9px; }
.context-track-duration { color: #687169; font: 8px var(--mono); }
.context-queue-empty { white-space: pre-line; padding: 24px 6px; color: #687169; font-size: 9px; line-height: 1.7; text-align: center; }

.player-bar { position: relative; z-index: 2; min-height: 108px; padding: 13px 30px; display: grid; grid-template-columns: minmax(230px,1fr) minmax(330px,1.2fr) minmax(210px,1fr); align-items: center; gap: 26px; border-top: 1px solid #3b433d; background: rgba(20,23,22,.99); box-shadow: 0 -9px 32px rgba(0,0,0,.2); }
.player-track { display: flex; align-items: center; min-width: 0; gap: 11px; }
.mini-art { width: 47px; height: 47px; display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 4px; background: linear-gradient(135deg,#394536,#272c28); color: var(--mint); font: 600 12px var(--mono); }
.mini-art img { width: 100%; height: 100%; object-fit: cover; }.mini-track-copy { display: grid; min-width: 0; }.mini-track-copy strong, .mini-track-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mini-track-copy strong { color: #e1e6df; font-size: 13px; font-weight: 600; }.mini-track-copy span { color: #909a91; font-size: 11px; margin-top: 3px; }.mini-spotify-link { flex: none; }
.mini-track-copy .mini-stream-quality { color: #7eaa73; font-size: 10px; }
.transport { width: 100%; max-width: 540px; justify-self: center; }.transport-buttons { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 8px; }.transport-button, .play-button { border: 0; cursor: pointer; display: grid; place-items: center; transition: .15s; }.transport-button { color: #a5afa6; background: transparent; width: 32px; height: 32px; font-size: 16px; }.transport-button:hover { color: var(--mint); transform: scale(1.08); }.play-button { width: 38px; height: 38px; padding: 0; border-radius: 50%; color: #17200e; background: var(--mint); font-size: 13px; }.play-button:hover { transform: scale(1.06); background: #d1ff9c; }.play-button:disabled, .transport-button:disabled { opacity: .38; cursor: not-allowed; transform: none; }.play-triangle { width: 100%; height: 100%; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.timeline { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; }.time-label { color: #929b94; text-align: center; font: 11px var(--mono); }
input[type="range"] { appearance: none; -webkit-appearance: none; width: 100%; height: 3px; border-radius: 3px; outline: 0; background: #39403b; accent-color: var(--mint); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(184,243,106,.08); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--mint); }
input[type="range"]:disabled { opacity: .4; cursor: default; }
.player-tools { display: flex; align-items: center; justify-content: end; gap: 11px; color: #98a29a; }.tool-glyph { width: 18px; height: 18px; display: grid; place-items: center; flex: none; }.tool-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.output-glyph { color: var(--mint); }.output-label { color: #9ca69e; font-size: 11px; padding-right: 10px; }.volume-glyph { color: #9da69f; }.player-tools input { width: 96px !important; }
.toast-region { position: fixed; z-index: 20; right: 26px; bottom: 112px; display: grid; gap: 8px; }.toast { max-width: min(410px,calc(100vw - 40px)); border: 1px solid #414941; border-left: 3px solid var(--mint); border-radius: 5px; padding: 11px 14px; color: #e1e7de; background: #202622; box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: 11px; animation: toast-in .2s ease-out; }.toast.error { border-left-color: #f28a72; }.toast.warning { border-left-color: var(--orange); }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.account-dialog { width: min(390px,calc(100vw - 32px)); padding: 28px; color: var(--text); background: #1b201d; border: 1px solid #3a423b; border-radius: 8px; box-shadow: 0 25px 90px rgba(0,0,0,.58); }.account-dialog::backdrop { background: rgba(5,7,6,.72); backdrop-filter: blur(6px); }.dialog-mark { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(184,243,106,.09); border: 1px solid rgba(184,243,106,.19); border-radius: 8px; }.dialog-mark .brand-mark { width: 25px; height: 25px; }.account-dialog h2 { margin: 18px 0 6px; font: 600 22px var(--display); }.account-dialog p { margin: 0; color: #97a097; font-size: 13px; line-height: 1.7; }.dialog-actions { display: flex; justify-content: end; gap: 9px; margin-top: 23px; }.quiet-button { min-height: 39px; padding: 0 14px; color: #a2aba3; background: transparent; border: 1px solid #414941; border-radius: 5px; cursor: pointer; font-size: 12px; }
.help-dialog { width: min(1180px,calc(100vw - 32px)); height: min(900px,calc(100vh - 32px)); padding: 0; overflow: hidden; color: var(--text); background: #101512; border: 1px solid #3a423b; border-radius: 10px; box-shadow: 0 25px 90px rgba(0,0,0,.65); }
.help-dialog::backdrop { background: rgba(5,7,6,.78); backdrop-filter: blur(6px); }
.help-dialog-toolbar { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; background: #1b201d; border-bottom: 1px solid #353d37; }
.help-dialog-toolbar > div { display: flex; align-items: center; gap: 10px; }
.help-dialog-toolbar strong { font-size: 13px; font-weight: 600; }
.help-dialog-actions .quiet-button { min-height: 34px; display: inline-flex; align-items: center; text-decoration: none; }
.help-dialog-actions .connect-button { min-height: 34px; }
.help-dialog iframe { display: block; width: 100%; height: calc(100% - 58px); border: 0; background: #0d1110; }
.settings-dialog { width: min(500px,calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; }
.settings-heading { display: flex; align-items: center; gap: 11px; color: #7f8981; font: 10px var(--mono); letter-spacing: 1.1px; }
.settings-heading .dialog-mark { color: var(--mint); font: 700 20px/1 var(--mono); }
.spotify-setting, .device-setting { display: grid; gap: 9px; margin-top: 23px; }
.setting-label-row { display: flex; align-items: center; justify-content: space-between; }
.setting-label-row strong, .setting-label-row label, .spotify-setting > label { color: #b6beb7; font-size: 12px; font-weight: 600; }
.spotify-setting > label { margin-top: 3px; }
.spotify-setting input, .device-setting select { width: 100%; height: 42px; padding: 0 12px; color: #e0e5df; background: #151917; border: 1px solid #353d37; border-radius: 5px; outline: 0; font-size: 12px; }
.spotify-setting input { font-family: var(--mono); }
.spotify-setting input:focus, .device-setting select:focus { border-color: rgba(184,243,106,.65); box-shadow: 0 0 0 3px rgba(184,243,106,.06); }
.spotify-setting .field-help, .language-setting .field-help { color: #788279; font-size: 11px; line-height: 1.6; }
.text-button { padding: 2px 0; color: var(--mint); background: none; border: 0; cursor: pointer; font-size: 11px; }
.local-output-setting { display: grid; gap: 9px; padding: 12px; color: #818b83; background: rgba(184,243,106,.035); border: 1px solid rgba(184,243,106,.12); border-radius: 5px; font-size: 11px; line-height: 1.6; }
.local-output-setting .quiet-button { justify-self: start; min-height: 31px; padding-inline: 10px; }
.gap-setting { display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; margin-top: 25px; padding: 17px; background: #151917; border: 1px solid #303732; border-radius: 6px; }
.gap-setting label { color: #aab2ab; font-size: 12px; font-weight: 600; }
.gap-setting output { color: var(--mint); font: 500 13px var(--mono); }
.gap-setting input { grid-column: 1/-1; }
.gap-scale { grid-column: 1/-1; display: flex; justify-content: space-between; margin-top: -7px; color: #717b73; font: 10px var(--mono); }
.account-dialog .settings-note { margin-top: 11px; color: #7c867e; font-size: 11px; }
.tag-dialog { width: min(520px,calc(100vw - 32px)); }
.tag-picker-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 13px; background: #151917; border: 1px solid #303732; border-radius: 6px; }
.tag-picker-row .connect-button { flex: none; }
.tag-picker-row span { min-width: 0; overflow: hidden; color: #9aa49b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tag-progress { max-height: 150px; overflow: auto; margin-top: 12px; padding: 10px; color: #aeb8ae; background: #111512; border: 1px solid #2f3831; border-radius: 5px; white-space: pre-wrap; font: 10px/1.6 var(--mono); }

.language-button { gap: 6px; font: 500 11px var(--mono); letter-spacing: .6px; }
.language-glyph { width: 15px; height: 15px; display: grid; place-items: center; color: var(--mint); }
.language-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; }
/* Collapse the header progressively as the content column narrows. */
@container topbar (max-width: 880px) { .premium-note { display: none; } }
@container topbar (max-width: 730px) { .crumb-root { display: none; } }
@container topbar (max-width: 640px) { .help-button .settings-button-label, .md-button .settings-button-label { display: none; } }
@container topbar (max-width: 540px) { .settings-button-label { display: none; }.top-actions { gap: 6px; } }
@container topbar (max-width: 460px) { .breadcrumbs { display: none; }.topbar { justify-content: flex-end; } }
@container topbar (max-width: 380px) { .language-code { display: none; }.top-actions { gap: 5px; }.top-actions .settings-button { padding-inline: 8px; }.top-actions .connect-button { margin-left: 0; padding-inline: 10px; } }
.md-glyph { width: 17px; height: 17px; display: inline-block; flex: none; border: 1px solid var(--mint); border-radius: 50%; background: radial-gradient(circle, var(--mint) 0 2px, transparent 2.5px); }
.md-dialog { width: min(760px,calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; }
.md-connect-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.md-support-help { margin-top: 12px; color: #8f998f; font-size: 11px; line-height: 1.65; }
.md-support-help summary { color: var(--mint); cursor: pointer; }
.md-support-help ul { margin: 8px 0 0; padding-left: 18px; }
.md-support-help strong { color: #c1c9c0; font-weight: 600; }
.md-support-help code { color: #c1c9c0; font: 10px var(--mono); }
.md-device { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 16px; padding: 12px 13px; background: #151917; border: 1px solid #303732; border-radius: 6px; font-size: 12px; }
.md-device strong { font-weight: 600; }
.md-support { color: var(--mint); font: 10px var(--mono); text-align: right; }
.md-support.unsupported { color: var(--orange); grid-column: 1/-1; text-align: left; }
.md-disc-info { grid-column: 1/-1; color: #8c968d; font-size: 11px; }
.account-dialog .md-context-note { margin-top: 12px; color: #7c867e; font-size: 11px; }
.md-context-note:empty { display: none; }
.md-track-toolbar { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: #aab2ab; font-size: 11px; }
.md-track-toolbar label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.md-track-toolbar > span { color: #7c867e; font: 10px var(--mono); }
.md-track-list { max-height: 280px; overflow-y: auto; margin-top: 8px; border: 1px solid #2f3831; border-radius: 6px; }
.md-track-list:empty { display: none; }
.md-track { display: grid; grid-template-columns: 16px 22px minmax(0,1fr) auto 38px minmax(0,190px); align-items: center; gap: 9px; padding: 8px 11px; border-bottom: 1px solid #252c27; cursor: pointer; font-size: 12px; }
.md-track:last-child { border-bottom: 0; }
.md-track:hover { background: rgba(255,255,255,.025); }
.md-track { user-select: none; }
.md-track.selected { background: rgba(184,243,106,.07); }
.md-track.selected:hover { background: rgba(184,243,106,.1); }
.md-track-list:focus { outline: 0; border-color: rgba(184,243,106,.45); }
.md-track-list:focus .md-track.cursor { box-shadow: inset 0 0 0 1px rgba(184,243,106,.55); }
.account-dialog .md-selection-help { margin-top: 8px; color: #6f7971; font-size: 10px; }
.md-track-toolbar[hidden] + .md-selection-help { display: none; }
.md-track input, .md-track-toolbar input, .md-option input { accent-color: var(--mint); }
.md-track-number, .md-track-duration { color: #6f7971; font: 10px var(--mono); text-align: right; }
.md-track-copy { display: grid; min-width: 0; }
.md-track-copy strong, .md-track-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-track-copy strong { font-weight: 500; }
.md-track-copy span { color: #7c867e; font-size: 10px; }
.md-track-codec { color: #9aa49b; font: 9px var(--mono); padding: 2px 5px; border: 1px solid #353d37; border-radius: 3px; white-space: nowrap; }
.md-track-match { width: 100%; height: 30px; padding: 0 6px; color: #d6dcd5; background: #151917; border: 1px solid #353d37; border-radius: 4px; font-size: 11px; }
.md-track-match:disabled { opacity: .5; }
.md-empty { padding: 16px; color: #7c867e; font-size: 12px; text-align: center; }
.md-options { display: grid; gap: 11px; margin: 16px 0 0; padding: 14px 15px; background: #151917; border: 1px solid #303732; border-radius: 6px; }
.md-options legend { padding: 0 5px; color: #7f8981; font: 10px var(--mono); letter-spacing: 1.1px; }
.md-option { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.md-option input { margin-top: 3px; }
.md-option span { display: grid; gap: 1px; }
.md-option strong { color: #d4dad3; font-size: 12px; font-weight: 600; }
.md-option small { color: #7c867e; font-size: 11px; line-height: 1.5; }
.md-bitrate { display: flex; align-items: center; gap: 12px; color: #aab2ab; font-size: 12px; font-weight: 600; }
.md-bitrate select { height: 34px; padding: 0 10px; color: #e0e5df; background: #111512; border: 1px solid #353d37; border-radius: 5px; font-size: 12px; }
.md-dialog .tag-picker-row .quiet-button { flex: none; min-height: 34px; }
.md-dialog .tag-progress { max-height: 180px; }
@media (max-width: 640px) { .md-track { grid-template-columns: 16px 22px minmax(0,1fr) 38px; }.md-track-codec { display: none; }.md-track-match { grid-column: 3/-1; } }

@media (max-width: 1180px) { .app-shell { grid-template-columns: 230px minmax(390px,1fr) 280px; }.sidebar { padding-inline: 14px; }.main-content { padding-inline: 32px; }.now-playing-panel { padding-inline: 20px; }.album-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.playlist-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 930px) { .app-shell { grid-template-columns: 230px minmax(0,1fr); }.now-playing-panel { display: none; }.main-content { padding-inline: 34px; }.player-bar { grid-template-columns: minmax(210px,1fr) minmax(300px,1.3fr); }.player-tools { display: none; } }
@media (max-width: 640px) { .app-shell { display: block; min-height: calc(100vh - 140px); padding-bottom: 0; }.sidebar { min-height: auto; height: 64px; flex-direction: row; align-items: center; padding: 0 17px; border-right: 0; border-bottom: 1px solid var(--line); }.brand { margin: 0 auto 0 0; }.sidebar-label, .sidebar-rule, .collection-heading, .playlist-shortcuts, .sidebar-bottom { display: none; }.main-nav { display: flex; margin: 0; gap: 4px; }.nav-item { width: 43px; justify-content: center; padding: 0; font-size: 0; }.nav-item span:last-child { display: none; }.topbar { height: 61px; }.breadcrumbs > span, .breadcrumbs b, .premium-note { display: none; }.top-actions { gap: 6px; }.settings-button-label, .help-button-label { display: none; }.help-dialog { width: calc(100vw - 12px); height: calc(100vh - 12px); }.help-dialog-toolbar { padding-inline: 10px; }.help-dialog-toolbar strong, .help-dialog-actions .quiet-button { display: none; }.hero-row { min-height: 226px; }.hero-copy { z-index: 2; }.hero-art { right: -76px; opacity: .68; transform: scale(.83); transform-origin: center right; }.hero-copy h1 { font-size: 37px; }.hero-copy p { max-width: 240px; }.main-content { padding: 0 19px 20px; }.album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }.album-card { padding: 7px 7px 10px; }.card-play { opacity: 1; width: 34px; height: 34px; right: 7px; bottom: 7px; }.results-heading { margin-top: 28px; }.playlist-grid { grid-template-columns: 1fr; }.page-intro { min-height: 226px; padding-top: 34px; }.page-intro h1 { font-size: 36px; }.player-bar { position: sticky; bottom: 0; min-height: 118px; padding: 10px 13px 12px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 8px 10px; }.player-track { gap: 9px; }.mini-art { width: 44px; height: 44px; }.mini-track-copy strong { font-size: 12px; }.mini-track-copy span { font-size: 11px; }.transport { grid-column: 1/-1; grid-row: 2; display: grid; grid-template-columns: 118px 1fr; align-items: center; max-width: none; gap: 9px; }.transport-buttons { margin: 0; gap: 15px; }.timeline { gap: 5px; grid-template-columns: 36px 1fr 36px; }.time-label { font-size: 10px; }.connect-button { min-height: 36px; padding-inline: 11px; font-size: 11px; }.content-footer { font-size: 10px; }.toast-region { right: 12px; bottom: 132px; } }
