/* 음악 */
#app-music { background: #1c1c1e; color: #fff; }
.mu-bg { position: absolute; inset: -20%; z-index: 0; background-size: cover; background-position: center; filter: blur(60px) saturate(1.5) brightness(.5); pointer-events: none; transition: background .6s; }
#app-music > :not(.mu-bg) { position: relative; z-index: 1; }
.mu-now { padding: 4px 28px 0; }
.mu-cover { width: 100%; max-width: 320px; aspect-ratio: 1; margin: 8px auto 0; border-radius: 12px; background-size: cover; background-position: center;
  box-shadow: 0 20px 44px rgba(0,0,0,.5); transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.mu-cover.paused { transform: scale(.84); }
.mu-meta { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mu-title { font-size: 21px; font-weight: 700; }
.mu-artist { font-size: 16px; color: rgba(255,255,255,.62); margin-top: 3px; }
.mu-btn { appearance: none; border: 0; background: none; color: #fff; padding: 6px; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.mu-btn:active { background: rgba(255,255,255,.12); }
.mu-like svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; }
.mu-like.on svg { fill: #fff; }
.mu-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; touch-action: none; cursor: pointer; }
.mu-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, rgba(255,255,255,.92) var(--p, 0%), rgba(255,255,255,.25) var(--p, 0%)); }
.mu-range::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, rgba(255,255,255,.92) var(--p, 0%), rgba(255,255,255,.25) var(--p, 0%)); }
.mu-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.mu-range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.mu-progress { margin-top: 18px; }
.mu-times { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; font-variant-numeric: tabular-nums; }
.mu-ctrls { display: flex; justify-content: space-around; align-items: center; margin-top: 16px; }
.mu-ctrls svg { width: 40px; height: 40px; fill: #fff; }
.mu-ctrls #muPlay svg { width: 58px; height: 58px; }
.mu-vol { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.mu-vol svg { width: 18px; height: 18px; fill: rgba(255,255,255,.6); flex: none; }
.mu-queue { padding: 6px 20px 10px; }
.mu-q-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.mu-item { appearance: none; border: 0; background: none; color: #fff; font: inherit; width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 0; text-align: left; cursor: pointer; }
.mu-thumb { width: 46px; height: 46px; border-radius: 6px; background-size: cover; background-position: center; flex: none; }
.mu-it-title { font-size: 15px; font-weight: 500; } .mu-it-sub { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }
.mu-item.on .mu-it-title { color: #ff5c74; }
.mu-item .mu-dur { margin-left: auto; font-size: 13px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }

/* 음악 — 보관함 / 미니 플레이어 */
.mu-view { display: none; flex: 1; min-height: 0; flex-direction: column; }
#app-music[data-view="lib"] .mu-lib, #app-music[data-view="now"] .mu-nowv { display: flex; }
.mu-h { font-size: 32px; font-weight: 800; letter-spacing: -.5px; margin: 0 20px 6px; }
.mu-sub { font-size: 19px; font-weight: 700; margin: 16px 20px 10px; }
.mu-pane { display: none; }
#app-music[data-mtab="listen"] [data-mpane="listen"], #app-music[data-mtab="browse"] [data-mpane="browse"], #app-music[data-mtab="library"] [data-mpane="library"], #app-music[data-mtab="search"] [data-mpane="search"] { display: block; }
.mu-cards { display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 4px; touch-action: pan-x pan-y; scrollbar-width: none; }
.mu-cards::-webkit-scrollbar { display: none; }
.mu-card { appearance: none; border: 0; background: none; font: inherit; color: #fff; width: 150px; flex: none; text-align: left; cursor: pointer; }
.mu-card .mu-thumb { width: 150px; height: 150px; border-radius: 10px; }
.mu-card b { display: block; font-size: 14px; font-weight: 500; margin-top: 7px; } .mu-card small { font-size: 13px; color: rgba(255,255,255,.55); }
#muRecent, #muLib, #muResults { padding: 0 20px; }
.mu-genres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.mu-genre { appearance: none; border: 0; font: inherit; color: #fff; height: 96px; border-radius: 12px; padding: 12px; text-align: left; font-size: 17px; font-weight: 700; display: flex; align-items: flex-end; cursor: pointer; background-size: cover; background-position: center; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.mu-filter { display: flex; gap: 8px; padding: 0 20px 10px; }
.mu-filter button { appearance: none; border: 0; font: inherit; font-size: 13.5px; padding: 6px 12px; border-radius: 16px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.mu-filter button.on { background: #ff375f; }
.mu-sbox { display: flex; align-items: center; gap: 7px; margin: 0 20px 12px; padding: 0 10px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.12); }
.mu-sbox svg { width: 15px; height: 15px; stroke: rgba(255,255,255,.55); fill: none; stroke-width: 2.2; stroke-linecap: round; }
.mu-sbox input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: #fff; }
.mu-empty { font-size: 14px; color: rgba(255,255,255,.5); padding: 8px 0; }
.mu-mini { flex: none; display: flex; align-items: center; gap: 10px; margin: 6px 10px 4px; padding: 7px 8px; border-radius: 14px; background: rgba(60,60,64,.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.mu-mini .mu-thumb { width: 42px; height: 42px; }
.mu-mini-t { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-mini .mu-btn svg { width: 26px; height: 26px; fill: #fff; }
.mu-tabs { flex: none; display: flex; justify-content: space-around; padding: 4px 0 0; }
.mu-tab { appearance: none; border: 0; background: none; font: inherit; color: rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 500; padding: 2px 6px; cursor: pointer; }
.mu-tab.on { color: #ff375f; }
.mu-tab svg { width: 26px; height: 26px; fill: currentColor; }
.mu-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-right: 6px; }
.mu-eq i { width: 3px; background: #ff375f; animation: eq .9s infinite ease-in-out; }
.mu-eq i:nth-child(2) { animation-delay: .2s; } .mu-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

.mu-addbtn { display: block; margin: 0 20px 6px; padding: 11px 14px; border-radius: 12px; background: rgba(255,55,95,.16); color: #ff5c7a; font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; }
.mu-addnote { font-size: 12px; color: rgba(255,255,255,.5); margin: 0 20px 12px; line-height: 1.4; }
.mu-del { margin-left: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 15px; color: rgba(255,255,255,.7); flex: none; }
.mu-genre.on { outline: 2.5px solid #fff; outline-offset: -2.5px; }
