/* Aurora - glassmorphism UI */
:root {
  --bg: #07070c; --text: #f5f5f7; --muted: rgba(255,255,255,.64); --faint: rgba(255,255,255,.4);
  --glass: rgba(255,255,255,.065); --glass2: rgba(255,255,255,.115); --glass3: rgba(255,255,255,.18); --stroke: rgba(255,255,255,.13);
  --shadow: 0 10px 40px rgba(0,0,0,.35); --blur: 26px;
  --ar: 250, 45, 108; --ar2: 138, 92, 255;
  --accent: rgb(var(--ar)); --accent2: rgb(var(--ar2));
  --r: 20px; --r-sm: 12px; --ease: cubic-bezier(.2,.8,.2,1);
  --font: -apple-system, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, Roboto, sans-serif;
  --sab: env(safe-area-inset-bottom, 0px); --sat: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}
body.light {
  --bg: #e9ecf5; --text: #15151c; --muted: rgba(20,20,30,.66); --faint: rgba(20,20,30,.42);
  --glass: rgba(255,255,255,.55); --glass2: rgba(255,255,255,.75); --glass3: rgba(255,255,255,.95); --stroke: rgba(255,255,255,.75);
  --shadow: 0 10px 40px rgba(60,70,110,.18); color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 14px/1.4 var(--font); overflow: hidden; -webkit-font-smoothing: antialiased; user-select: none; }
body.light #bg .blob { opacity: .5; }
input, button, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(var(--ar), .45); }
.ic { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); background-clip: padding-box; border: 3px solid transparent; }
body.light ::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); background-clip: padding-box; border: 3px solid transparent; }

/* ---------- ambient background ---------- */
#bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; background: radial-gradient(120% 90% at 50% 0%, #14121f, var(--bg)); }
body.light #bg { background: radial-gradient(120% 90% at 50% 0%, #f7f4ff, var(--bg)); }
.blob { position: absolute; width: 75vmax; height: 75vmax; border-radius: 50%; opacity: .55; will-change: transform; transition: background 1.4s ease; }
.b1 { left: -20vmax; top: -30vmax; background: radial-gradient(circle, rgba(var(--ar), .8), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { right: -25vmax; top: 10vmax; background: radial-gradient(circle, rgba(var(--ar2), .75), transparent 62%); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { left: 20vmax; bottom: -45vmax; background: radial-gradient(circle, rgba(var(--ar2), .55), transparent 60%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
body.calm .blob { animation: none; }
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(.9); } }

.glass { background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)) saturate(180%); backdrop-filter: blur(var(--blur)) saturate(180%); border: 1px solid var(--stroke); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.14); }

/* ---------- layout ---------- */
#app { position: relative; z-index: 1; height: 100dvh; display: grid; grid-template-columns: 252px minmax(0, 1fr) 0px; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 10px; transition: grid-template-columns .35s var(--ease); }
body.electron #app { padding-top: 44px; }
body.electron #topbar, body.electron .brand { -webkit-app-region: drag; } body.electron #topbar > *, body.electron .brand > * { -webkit-app-region: no-drag; }
body.electron::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 40px; z-index: 5; -webkit-app-region: drag; }
#app.side-open { grid-template-columns: 252px minmax(0, 1fr) 340px; }
#sidebar { grid-row: 1; grid-column: 1; border-radius: var(--r); padding: 18px 12px 12px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
#main { grid-row: 1; grid-column: 2; border-radius: var(--r); position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
#side { grid-row: 1; grid-column: 3; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; min-width: 0; }
#app.side-open #side { opacity: 1; pointer-events: auto; }
#player { grid-row: 2; grid-column: 1 / -1; border-radius: 24px; height: 88px; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(320px, 2fr) minmax(180px, 1fr); align-items: center; gap: 16px; padding: 0 18px; position: relative; overflow: hidden; }
#mobilenav { display: none; }

.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 14px; font-size: 20px; letter-spacing: -.02em; }
.logo { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 4px 18px rgba(var(--ar), .5); position: relative; }
.logo::after { content: ""; position: absolute; inset: 7px 9px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 2px; }
#nav a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; transition: .2s; }
#nav a:hover { color: var(--text); background: var(--glass); }
#nav a.on { color: var(--text); background: var(--glass2); box-shadow: inset 0 0 0 1px var(--stroke); }
#nav a.on .ic { color: var(--accent); }
#nav a.djlink .ic { color: var(--accent); }
.side-sec { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 10px; }
.side-h { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
#side-playlists { overflow-y: auto; flex: 1; padding-bottom: 6px; }
.pl-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.pl-item:hover, .pl-item.on { background: var(--glass2); }
.pl-item .cover { width: 40px; height: 40px; border-radius: 8px; }
.pl-item b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-item small { color: var(--faint); }
.pl-item > div { min-width: 0; }
.side-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.foot-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--muted); border-radius: 12px; font-weight: 600; }
.foot-link:hover, .foot-link.on { background: var(--glass); color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; background: var(--text); color: var(--bg); transition: transform .15s, background .2s, opacity .2s; white-space: nowrap; }
.btn:hover { transform: scale(1.03); } .btn:active { transform: scale(.97); }
.btn.accent { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; box-shadow: 0 6px 24px rgba(var(--ar), .45); }
.btn.ghost { background: var(--glass); color: var(--text); border: 1px solid var(--stroke); }
.btn.ghost:hover { background: var(--glass2); }
.btn.wide { width: 100%; } .btn.sm { height: 32px; padding: 0 14px; font-size: 13px; } .btn.lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn.danger { background: rgba(255,69,58,.18); color: #ff6b61; border: 1px solid rgba(255,69,58,.35); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--muted); transition: .15s; flex: none; }
.icon-btn:hover { color: var(--text); background: var(--glass2); transform: scale(1.06); }
.icon-btn.on { color: var(--accent); } .icon-btn.sm { width: 28px; height: 28px; } .icon-btn.sm .ic { width: 16px; height: 16px; }
.icon-btn.lg { width: 44px; height: 44px; } .icon-btn.lg .ic { width: 24px; height: 24px; }
.icon-btn .ic.fill, .icon-btn.liked .ic { fill: currentColor; }
.icon-btn.liked { color: var(--accent); }
.play-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; transition: transform .15s, box-shadow .2s; box-shadow: 0 4px 20px rgba(var(--ar), .35); }
.play-btn:hover { transform: scale(1.08); } .play-btn:active { transform: scale(.95); }
.play-btn.xl { width: 72px; height: 72px; } .play-btn.xl .ic { width: 30px; height: 30px; }
.play-btn .ic { width: 20px; height: 20px; }
.chip { height: 32px; padding: 0 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); font-weight: 600; font-size: 13px; color: var(--muted); transition: .15s; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { background: var(--glass2); color: var(--text); } .chip.on { background: var(--text); color: var(--bg); border-color: transparent; }

/* ---------- top bar ---------- */
#topbar { display: flex; align-items: center; gap: 14px; padding: 14px 20px 8px; position: relative; z-index: 3; flex: none; }
.tb-nav { display: flex; gap: 6px; } .tb-nav .icon-btn { background: var(--glass); border: 1px solid var(--stroke); }
.searchbox { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); color: var(--muted); transition: .2s; }
.searchbox:focus-within { background: var(--glass2); border-color: rgba(var(--ar), .7); box-shadow: 0 0 0 4px rgba(var(--ar), .18); color: var(--text); }
.searchbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; user-select: text; }
.searchbox input::placeholder { color: var(--faint); }
.searchbox input::-webkit-search-cancel-button { filter: invert(1); opacity: .6; } body.light .searchbox input::-webkit-search-cancel-button { filter: none; }
.tb-right { margin-left: auto; display: flex; gap: 6px; }
#view { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 28px 40px; outline: 0; scroll-behavior: smooth; position: relative; }
#view > .page { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- typography ---------- */
h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin: 8px 0 14px; line-height: 1.05; }
h2 { font-size: 22px; letter-spacing: -.02em; margin: 0; }
h3 { margin: 0 0 6px; font-size: 16px; }
.sec { margin: 28px 0 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec a, .sec button { color: var(--muted); font-weight: 700; font-size: 13px; } .sec a:hover { color: var(--text); text-decoration: underline; }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- covers / cards ---------- */
.cover { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--glass2); flex: none; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover.ph { display: grid; place-items: center; color: rgba(255,255,255,.85); } .cover.ph .ic { width: 40%; height: 40%; opacity: .9; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 176px); gap: 16px; overflow-x: auto; padding: 8px 4px 14px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 18px; padding-top: 8px; }
.card { padding: 12px; border-radius: 18px; background: transparent; transition: background .25s, transform .25s var(--ease); cursor: pointer; position: relative; scroll-snap-align: start; min-width: 0; text-align: left; }
.card:hover { background: var(--glass2); transform: translateY(-3px); }
.card .cover { width: 100%; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.card.round .cover { border-radius: 50%; }
.card b { display: block; margin-top: 12px; font-weight: 650; }
.card small { display: block; color: var(--muted); margin-top: 2px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .go { position: absolute; right: 22px; top: calc(12px + (100% - 24px) * 0); opacity: 0; transform: translateY(8px); transition: .25s var(--ease); }
.card .cover-wrap { position: relative; }
.card .go { top: auto; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.card:hover .go { opacity: 1; transform: none; } .card .go:hover { transform: scale(1.08); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.tile { display: flex; align-items: center; gap: 12px; height: 64px; border-radius: 14px; background: var(--glass); border: 1px solid var(--stroke); overflow: hidden; cursor: pointer; transition: background .2s, transform .2s; padding-right: 12px; position: relative; }
.tile:hover { background: var(--glass2); transform: translateY(-1px); } .tile .cover { width: 64px; height: 64px; border-radius: 0; } .tile b { font-weight: 650; flex: 1; min-width: 0; }
.tile .go { opacity: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; transition: .2s; } .tile:hover .go { opacity: 1; }
.genre-tile { height: 110px; border-radius: 16px; padding: 14px; font-weight: 800; font-size: 18px; position: relative; overflow: hidden; cursor: pointer; transition: transform .25s var(--ease); color: #fff; text-align: left; display: flex; flex-direction: column; justify-content: space-between; }
.genre-tile small { font-weight: 600; opacity: .85; font-size: 12px; } .genre-tile:hover { transform: scale(1.03) rotate(-.4deg); }
.genre-tile::after { content: ""; position: absolute; right: -18px; bottom: -22px; width: 80px; height: 80px; border-radius: 16px; background: rgba(255,255,255,.2); transform: rotate(24deg); }

/* ---------- hero (detail pages) ---------- */
.hero { display: flex; gap: 26px; align-items: flex-end; padding: 26px 28px 22px; margin: -6px -28px 8px; position: relative; background: linear-gradient(180deg, rgba(var(--hr, 120,120,150), .55), transparent); border-radius: var(--r) var(--r) 0 0; }
.hero .cover { width: clamp(130px, 22vw, 220px); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.hero .cover.round { border-radius: 50%; }
.hero .meta { min-width: 0; } .hero .kind { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.hero h1 { margin: 6px 0 10px; font-size: clamp(30px, 6vw, 68px); }
.hero .sub { color: var(--muted); font-weight: 500; }
.actions { display: flex; align-items: center; gap: 12px; padding: 14px 0; flex-wrap: wrap; }
.big-play { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(var(--ar), .5); transition: .2s; } .big-play:hover { transform: scale(1.07); } .big-play .ic { width: 26px; height: 26px; }

/* ---------- track rows ---------- */
.rows { margin: 0 -10px; }
.row-head, .row { display: grid; grid-template-columns: 38px minmax(0, 6fr) minmax(0, 3fr) 40px 58px 34px; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 12px; }
.row-head { color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--stroke); border-radius: 0; margin-bottom: 4px; }
.rows.noalbum .row-head, .rows.noalbum .row { grid-template-columns: 38px minmax(0, 1fr) 40px 58px 34px; } .rows.noalbum .c-album { display: none; }
.row { cursor: pointer; transition: background .12s; content-visibility: auto; contain-intrinsic-size: 56px; }
.row:hover { background: var(--glass2); }
.row.playing { background: rgba(var(--ar), .16); } .row.playing .c-title b { color: var(--accent); }
.row .idx { text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; display: grid; place-items: center; }
.row .idx .ic { display: none; width: 18px; height: 18px; color: var(--text); } .row:hover .idx .n { display: none; } .row:hover .idx .ic { display: block; }
.row.playing .idx .n, .row.playing:hover .idx .ic { display: none; } .row.playing:hover .idx .eqb { display: none; } .row.playing:hover .idx .ic { display: block; }
.eqb { display: none; gap: 2px; height: 14px; align-items: flex-end; } .row.playing .eqb { display: flex; } .eqb i { width: 3px; background: var(--accent); border-radius: 2px; animation: eqb 1s ease-in-out infinite; height: 40%; } .eqb i:nth-child(2) { animation-delay: .2s; } .eqb i:nth-child(3) { animation-delay: .4s; } .paused .eqb i { animation-play-state: paused; }
@keyframes eqb { 50% { height: 100%; } }
.c-title { display: flex; align-items: center; gap: 12px; min-width: 0; } .c-title .cover { width: 42px; height: 42px; border-radius: 8px; } .c-title > div { min-width: 0; } .c-title b { display: block; font-weight: 600; } .c-title small { color: var(--muted); display: block; }
.c-title small a:hover, .c-album a:hover { text-decoration: underline; color: var(--text); }
.c-album { color: var(--muted); } .c-time { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.row .icon-btn { opacity: 0; } .row:hover .icon-btn, .row .icon-btn.liked, .row .icon-btn:focus-visible { opacity: 1; }
.load-more { height: 1px; }
.empty { display: grid; place-items: center; text-align: center; gap: 12px; padding: 60px 20px; color: var(--muted); }
.empty .ic { width: 52px; height: 52px; opacity: .5; }

/* ---------- hero onboarding ---------- */
.welcome { border-radius: 28px; padding: 40px; margin: 24px 0; text-align: center; display: grid; gap: 14px; justify-items: center; background: linear-gradient(135deg, rgba(var(--ar), .22), rgba(var(--ar2), .22)); border: 1px solid var(--stroke); }
.welcome h1 { margin: 0; } .welcome p { max-width: 520px; color: var(--muted); margin: 0; }

/* ---------- player bar ---------- */
.pb-track { display: flex; align-items: center; gap: 14px; min-width: 0; cursor: pointer; }
.pb-track .cover { width: 58px; height: 58px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.pb-track .t { min-width: 0; } .pb-track b { display: block; font-weight: 650; } .pb-track small { color: var(--muted); display: block; }
.pb-track .icon-btn { margin-left: 4px; }
.pb-center { display: flex; flex-direction: column; gap: 6px; align-items: center; min-width: 0; }
.pb-btns { display: flex; align-items: center; gap: 10px; }
.pb-seek { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; } .pb-seek span { width: 38px; text-align: center; }
.pb-right { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.vol { display: flex; align-items: center; gap: 4px; } .vol .range { width: 92px; }
.mini-progress { display: none; }
.range { -webkit-appearance: none; appearance: none; flex: 1; height: 18px; background: transparent; cursor: pointer; min-width: 0; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--text) var(--p), rgba(255,255,255,.2) var(--p)); transition: height .15s; }
body.light .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--text) var(--p), rgba(0,0,0,.15) var(--p)); }
.range:hover::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,.2) var(--p)); height: 7px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; margin-top: -4px; box-shadow: 0 2px 8px rgba(0,0,0,.4); opacity: 0; transition: opacity .15s; }
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { opacity: 1; }
.range::-moz-range-track { height: 5px; border-radius: 99px; background: rgba(255,255,255,.2); } .range::-moz-range-progress { height: 5px; border-radius: 99px; background: var(--text); } .range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }

/* ---------- side panel ---------- */
.side-tabs { display: flex; gap: 4px; padding: 14px 14px 8px; align-items: center; } .side-tabs button:not(.icon-btn) { padding: 8px 14px; border-radius: 999px; font-weight: 700; color: var(--muted); } .side-tabs button.on { background: var(--glass2); color: var(--text); } .side-tabs .close { margin-left: auto; }
#side-body { flex: 1; overflow-y: auto; padding: 4px 14px 16px; }
.q-sec { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 14px 4px 6px; display: flex; justify-content: space-between; align-items: center; }
.q-item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; cursor: pointer; } .q-item:hover { background: var(--glass2); } .q-item .cover { width: 40px; height: 40px; border-radius: 8px; } .q-item .m { flex: 1; min-width: 0; } .q-item b { display: block; font-weight: 600; } .q-item small { color: var(--muted); display: block; } .q-item.now { background: rgba(var(--ar), .16); } .q-item .icon-btn { opacity: 0; } .q-item:hover .icon-btn { opacity: 1; }
.q-item.dragging { opacity: .4; } .q-item.over { box-shadow: 0 -2px 0 var(--accent); }
.lyrics { display: flex; flex-direction: column; gap: 14px; padding: 20px 6px 120px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.lyrics p { margin: 0; opacity: .38; transition: .35s var(--ease); transform-origin: left; cursor: pointer; filter: blur(.6px); } .lyrics p.on { opacity: 1; transform: scale(1.04); filter: none; } .lyrics p.past { opacity: .55; }
.lyrics.plain { font-size: 18px; font-weight: 600; } .lyrics.plain p { opacity: .85; filter: none; cursor: default; }
.no-lyrics { text-align: center; color: var(--muted); padding: 40px 10px; display: grid; gap: 14px; justify-items: center; }

/* ---------- now playing ---------- */
#np { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; padding: calc(10px + var(--sat)) 24px calc(14px + var(--sab)); transform: translateY(100%); transition: transform .5s var(--ease); background: var(--bg); overflow: hidden; visibility: hidden; }
#np.open { transform: none; visibility: visible; }
.np-bg { position: absolute; inset: -20%; background-size: cover; background-position: center; filter: blur(70px) saturate(1.8) brightness(.55); transform: scale(1.1); transition: background-image .8s; z-index: -1; }
body.light .np-bg { filter: blur(70px) saturate(1.5) brightness(1.2); opacity: .8; }
.np-top { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; } body.electron .np-top { padding-top: 34px; }
.np-from { text-align: center; } .np-from small { display: block; letter-spacing: .12em; font-size: 10px; color: var(--muted); font-weight: 700; } .np-from b { font-weight: 700; }
.np-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 10px 4vw; }
.np-stage { position: relative; display: grid; place-items: center; min-height: 0; height: 100%; }
.np-art { width: min(100%, 56vh); aspect-ratio: 1; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px var(--stroke); transition: transform .6s var(--ease); background: var(--glass2); }
.np-art img { width: 100%; height: 100%; object-fit: cover; } .np-art .cover { width: 100%; height: 100%; border-radius: 0; }
.np.paused .np-art, #np.paused .np-art { transform: scale(.88); }
#viz { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 22%; pointer-events: none; opacity: .9; }
.np-info { min-height: 0; height: min(100%, 64vh); display: flex; flex-direction: column; }
.np-tabs { display: flex; gap: 6px; margin-bottom: 10px; } .np-tabs button { padding: 7px 14px; border-radius: 999px; font-weight: 700; color: var(--muted); background: var(--glass); border: 1px solid var(--stroke); } .np-tabs button.on { background: var(--text); color: var(--bg); }
.np-panel { flex: 1; min-height: 0; overflow-y: auto; border-radius: 22px; padding: 6px 14px; mask-image: linear-gradient(transparent, #000 20px, #000 calc(100% - 40px), transparent); }
.np-bottom { max-width: 760px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.np-title { min-width: 0; } .np-t { font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; } .np-a { color: var(--muted); font-size: 16px; }
.np-seek, .np-btns, .np-tools { grid-column: 1 / -1; max-width: none; } .np-btns { justify-content: center; gap: 18px; margin: 4px 0; }
.np-tools { display: flex; justify-content: space-between; align-items: center; }
.np-pad { padding: 10px 0 80px; }

.eq-art { display: grid; place-items: center; height: 100%; }
.np-info .panel-art { display: none; }

/* ---------- dj ---------- */
.orb { width: 160px; height: 160px; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--accent2), #4cc9f0, var(--accent)); position: relative; animation: spin 9s linear infinite; box-shadow: 0 0 60px rgba(var(--ar), .5), inset 0 0 40px rgba(255,255,255,.35); flex: none; }
.orb::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.8), rgba(255,255,255,.05) 60%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.orb.sm { width: 44px; height: 44px; box-shadow: 0 0 20px rgba(var(--ar), .6); } .orb.talk { animation: spin 3s linear infinite, pulse .7s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes pulse { to { filter: brightness(1.3) saturate(1.3); scale: 1.08; } }
.dj-hero { display: flex; gap: 30px; align-items: center; padding: 30px; border-radius: 28px; margin: 14px 0 6px; background: linear-gradient(135deg, rgba(var(--ar), .26), rgba(var(--ar2), .26)); border: 1px solid var(--stroke); flex-wrap: wrap; }
.dj-hero h1 { margin: 0 0 6px; } .dj-hero p { margin: 0; color: var(--muted); max-width: 520px; }
.vibes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 10px; }
.vibe { height: 96px; border-radius: 18px; padding: 14px; color: #fff; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; border: 2px solid transparent; }
.vibe b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; } .vibe small { opacity: .85; font-weight: 500; line-height: 1.2; margin-top: 2px; }
.vibe:hover { transform: translateY(-3px) scale(1.02); } .vibe.on { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2), 0 14px 34px rgba(0,0,0,.35); }
.vibe::after { content: ""; position: absolute; right: -14px; top: -14px; width: 70px; height: 70px; background: rgba(255,255,255,.2); border-radius: 50%; }
.seg { display: inline-flex; background: var(--glass); border: 1px solid var(--stroke); border-radius: 999px; padding: 3px; } .seg button { padding: 7px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); } .seg button.on { background: var(--text); color: var(--bg); }
.dj-live { display: grid; gap: 14px; }
.dj-say { padding: 16px 18px; border-radius: 18px; background: var(--glass2); border: 1px solid var(--stroke); min-height: 70px; }
.dj-say small { color: var(--accent); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.dj-ask { display: flex; gap: 8px; } .dj-ask input { flex: 1; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); outline: 0; user-select: text; } .dj-ask input:focus { border-color: rgba(var(--ar), .7); }
.dj-ctrls { display: flex; gap: 8px; flex-wrap: wrap; }
.energy { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; }
#dj-bubble { position: fixed; z-index: 25; left: 50%; bottom: 112px; transform: translate(-50%, 20px); display: flex; gap: 14px; align-items: center; padding: 12px 20px 12px 14px; border-radius: 22px; max-width: min(560px, calc(100vw - 24px)); opacity: 0; pointer-events: none; transition: .45s var(--ease); }
#dj-bubble.show { opacity: 1; transform: translate(-50%, 0); } #dj-bubble b { font-size: 12px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; } #dj-bubble p { margin: 2px 0 0; font-weight: 550; }
body.np-open #dj-bubble { bottom: auto; top: 70px; }

/* ---------- stats / settings ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 14px 0; }
.stat { padding: 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--stroke); } .stat b { display: block; font-size: 34px; letter-spacing: -.03em; line-height: 1.1; background: linear-gradient(135deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; } .stat span { color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 10px 0 0; } .bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), var(--accent2)); min-height: 3px; opacity: .85; position: relative; } .bars i:hover { opacity: 1; }
.bar-lbl { display: flex; gap: 4px; color: var(--faint); font-size: 11px; } .bar-lbl span { flex: 1; text-align: center; }
.panel { padding: 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--stroke); margin: 12px 0; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--stroke); } .set-row:last-child { border: 0; } .set-row small { display: block; color: var(--muted); } .set-row .ctl { display: flex; gap: 10px; align-items: center; } .set-row .range { width: 180px; flex: none; }
.set-row select, .set-row input[type=text], .set-row input[type=password], textarea, .field { background: var(--glass2); border: 1px solid var(--stroke); border-radius: 12px; padding: 9px 12px; outline: 0; user-select: text; color: var(--text); } select option { background: #1b1b24; color: #fff; }
.field:focus, textarea:focus, select:focus { border-color: rgba(var(--ar), .7); }
.switch { width: 46px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.2); position: relative; transition: .2s; flex: none; } .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.3); } .switch.on { background: var(--accent); } .switch.on::after { transform: translateX(18px); }
.eq { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; text-align: center; padding: 10px 0; } .eq label { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; } .eq input { -webkit-appearance: slider-vertical; appearance: slider-vertical; writing-mode: vertical-lr; direction: rtl; height: 130px; width: 22px; accent-color: var(--accent); cursor: pointer; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; } .swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--stroke); } .swatch.on { border-color: var(--text); transform: scale(1.1); }
.root-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--stroke); } .root-item b { flex: 1; min-width: 0; }
.progress { height: 6px; border-radius: 99px; background: var(--glass2); overflow: hidden; } .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .3s; }
kbd { background: var(--glass2); border: 1px solid var(--stroke); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; font: 600 12px var(--font); }
.kbd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; } .kbd-grid div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }

/* ---------- overlays ---------- */
#ctx { position: fixed; z-index: 60; min-width: 220px; padding: 6px; border-radius: 16px; --blur: 36px; background: rgba(30,30,40,.7); animation: pop .16s var(--ease); }
body.light #ctx { background: rgba(255,255,255,.8); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
#ctx button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 10px; text-align: left; font-weight: 550; } #ctx button:hover { background: var(--glass3); } #ctx hr { border: 0; border-top: 1px solid var(--stroke); margin: 5px 4px; } #ctx .ic { width: 17px; height: 17px; color: var(--muted); } #ctx button.dng { color: #ff6b61; }
.modal-bg { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 16px; animation: fade .2s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } @keyframes fade { from { opacity: 0; } }
.modal { width: min(520px, 100%); max-height: 88dvh; overflow: auto; border-radius: 26px; padding: 24px; --blur: 40px; background: rgba(32,32,44,.72); animation: pop .22s var(--ease); user-select: text; } body.light .modal { background: rgba(255,255,255,.85); }
.modal h2 { margin-bottom: 14px; } .modal .foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; } .modal label { display: block; margin: 10px 0 4px; color: var(--muted); font-weight: 600; font-size: 13px; } .modal .field, .modal textarea { width: 100%; }
.modal textarea { min-height: 160px; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; cursor: pointer; width: 100%; text-align: left; } .pick:hover { background: var(--glass2); } .pick .cover { width: 42px; height: 42px; border-radius: 8px; }
.sound-row { display: flex; align-items: center; gap: 12px; margin: 10px 0; } .sound-row > span:first-child { width: 90px; color: var(--muted); font-weight: 600; } .sound-row .range { flex: 1; }
#toasts { position: fixed; z-index: 90; left: 50%; bottom: 120px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 10px 18px; border-radius: 99px; opacity: 0; transform: translateY(10px); transition: .3s var(--ease); font-weight: 600; max-width: 90vw; } .toast.in { opacity: 1; transform: none; }
#drop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.drop-card { padding: 50px 70px; border-radius: 32px; text-align: center; border: 2px dashed rgba(var(--ar), .8); } .drop-card .ic { width: 56px; height: 56px; color: var(--accent); } .drop-card p { color: var(--muted); }
.banner { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(var(--ar), .18); border: 1px solid rgba(var(--ar), .45); margin: 8px 0; flex-wrap: wrap; } .banner span { flex: 1; min-width: 200px; }
.scan { position: fixed; z-index: 40; right: 22px; top: 70px; width: 300px; padding: 14px 16px; border-radius: 18px; } .scan .progress { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { #app.side-open { grid-template-columns: 252px minmax(0, 1fr) 0; } #app.side-open #side { position: fixed; right: 10px; top: 10px; bottom: 108px; width: min(380px, calc(100vw - 20px)); z-index: 20; opacity: 1; background: rgba(24,24,34,.72); } body.light #app.side-open #side { background: rgba(255,255,255,.8); } }
@media (max-width: 980px) { .np-body { grid-template-columns: 1fr; gap: 14px; } .np-info { height: 42vh; display: none; } #np.panel-open .np-stage { display: none; } #np.panel-open .np-info { display: flex; height: 100%; } .np-art { width: min(100%, 44vh, 80vw); } }
@media (max-width: 820px) {
  :root { --blur: 22px; }
  #app, #app.side-open { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding: 8px 8px 0; gap: 8px; padding-top: calc(8px + var(--sat)); }
  #sidebar { display: none; } #main { grid-column: 1; border-radius: 22px; }
  #topbar { padding: 12px 14px 6px; } .tb-nav, #tb-theme { display: none; } .searchbox { max-width: none; }
  #view { padding: 4px 16px 24px; } .hero { margin: -4px -16px 8px; padding: 20px 16px; flex-direction: column; align-items: flex-start; } .hero .cover { width: 160px; } .hero h1 { font-size: 34px; }
  #player { grid-column: 1; grid-template-columns: minmax(0, 1fr) auto; height: 64px; padding: 0 10px 0 8px; border-radius: 18px; gap: 6px; margin-bottom: 0; }
  .pb-track .cover { width: 46px; height: 46px; border-radius: 10px; } .pb-center { display: contents; } #player .pb-seek, #player .pb-right, #pb-shuffle, #pb-repeat, #pb-prev { display: none; } #player .pb-btns { grid-column: 2; grid-row: 1; gap: 2px; } .play-btn { width: 40px; height: 40px; }
  .mini-progress { display: block; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: rgba(255,255,255,.15); } .mini-progress i { display: block; height: 100%; background: var(--accent); width: 0; }
  #mobilenav { display: flex; grid-row: 3; grid-column: 1; margin: 0 -8px; border-radius: 22px 22px 0 0; justify-content: space-around; padding: 6px 10px calc(8px + var(--sab)); border-bottom: 0; } #mobilenav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 16px; color: var(--faint); font-size: 11px; font-weight: 650; border-radius: 12px; } #mobilenav a.on { color: var(--text); } #mobilenav a.on .ic { color: var(--accent); }
  #app { grid-template-rows: minmax(0, 1fr) auto auto; }
  .rows { margin: 0 -8px; } .row-head { display: none; } .row, .rows.noalbum .row { grid-template-columns: 30px minmax(0, 1fr) 34px 34px; } .row .c-album, .row .c-time { display: none; } .row .icon-btn { opacity: 1; } .row .idx .ic { display: none !important; }
  .row .c-like { order: 0; }
  #toasts { bottom: 150px; } #dj-bubble { bottom: 150px; } .welcome { padding: 26px 18px; } .dj-hero { padding: 20px; } .orb { width: 110px; height: 110px; }
  .np-body { padding: 0; } .np-btns { gap: 10px; } #np { padding-left: 18px; padding-right: 18px; } .lyrics { font-size: 22px; } .eq input { height: 100px; width: 16px; } .scan { right: 10px; left: 10px; width: auto; }
  .set-row { flex-wrap: wrap; } .set-row .range { width: 130px; } .np-tools .vol { display: none; } .tiles { grid-template-columns: 1fr 1fr; } .tile { height: 54px; } .tile .cover { width: 54px; height: 54px; } .tile b { font-size: 13px; }
  .shelf { grid-auto-columns: minmax(138px, 150px); gap: 10px; } .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}
@media (hover: none) { .card .go { opacity: 1; transform: none; width: 36px; height: 36px; } .tile .go { display: none; } }
@media (prefers-reduced-motion: reduce) { .blob, .orb { animation: none !important; } * { transition-duration: .01ms !important; } }

.icon-btn { position: relative; } .icon-btn.rep1::after { content: "1"; position: absolute; font-size: 9px; font-weight: 800; top: 5px; right: 6px; color: var(--accent); }
.row .icon-btn.sm.liked .ic { fill: currentColor; }
body[data-route=dj] #dj-bubble { display: none; }

@media (max-width: 820px) { #side, #app.side-open #side { display: none !important; } }

/* ===== v1.1: full-bleed phone layout, safe areas, DJ-off mode ===== */
:root { --sat: max(env(safe-area-inset-top, 0px), var(--safe-area-inset-top, 0px)); --sab: max(env(safe-area-inset-bottom, 0px), var(--safe-area-inset-bottom, 0px)); --sal: max(env(safe-area-inset-left, 0px), var(--safe-area-inset-left, 0px)); --sar: max(env(safe-area-inset-right, 0px), var(--safe-area-inset-right, 0px)); }
html, body { position: fixed; inset: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--bg); }
#app { height: var(--app-h, 100dvh); }
.no-dj [data-nav=dj], .no-dj #side [data-id=dj], .no-dj #np .np-tabs [data-id=dj], .no-dj #dj-bubble { display: none !important; }
@media (max-width: 820px) {
  #app, #app.side-open { width: 100%; padding: var(--sat) var(--sar) 0 var(--sal); gap: 0; grid-template-rows: minmax(0, 1fr) auto auto; }
  #main { border-radius: 0; border-width: 0 0 1px 0; box-shadow: none; }
  #player { border-radius: 0; border-width: 1px 0 0 0; height: 68px; margin: 0; padding: 0 12px; box-shadow: none; }
  #mobilenav { margin: 0; width: 100%; border-radius: 0; border-width: 1px 0 0 0; padding: 6px 8px calc(8px + var(--sab)); box-shadow: none; }
  #mobilenav a { flex: 1; padding: 4px 6px; }
  #topbar { padding-top: 10px; }
  #toasts, #dj-bubble { bottom: calc(160px + var(--sab)); }
  #np { padding-left: calc(18px + var(--sal)); padding-right: calc(18px + var(--sar)); }
}
#enrich-chip { position: fixed; z-index: 35; left: 14px; bottom: calc(112px + var(--sab)); padding: 7px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); pointer-events: none; } @media (max-width: 820px) { #enrich-chip { bottom: calc(150px + var(--sab)); left: 10px; } }

/* Android uses plain audio output: no spectrum to draw */
body.direct #viz { display: none; }

/* ---------- update / new-app chips ---------- */
.up-chip { position: fixed; z-index: 60; right: 18px; bottom: calc(112px + var(--sab)); width: min(420px, calc(100vw - 20px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 18px; animation: pop .3s var(--ease); }
.up-chip > div { flex: 1; min-width: 0; } .up-chip b { display: block; } .up-chip small { display: block; color: var(--muted); line-height: 1.3; margin-top: 2px; }
#native-up { bottom: calc(196px + var(--sab)); }
@media (max-width: 820px) { .up-chip { right: 10px; bottom: calc(150px + var(--sab)); } #native-up { bottom: calc(232px + var(--sab)); } }
.whatsnew .wn-v { padding: 12px 0; border-bottom: 1px solid var(--stroke); } .whatsnew .wn-v:last-child { border: 0; }
.whatsnew .wn-h { display: flex; justify-content: space-between; align-items: baseline; } .whatsnew ul { margin: 8px 0 0; padding-left: 20px; } .whatsnew li { margin: 4px 0; line-height: 1.45; }
.set-row.snap { padding: 9px 0; }

/* ---------- On this day ---------- */
.memory { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; padding: 12px 14px 12px 12px; border-radius: 20px; position: relative; transition: transform .2s var(--ease), background .2s; }
.memory:hover { transform: translateY(-1px); background: var(--glass2); }
.memory .cover { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.memory .mm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .memory .mm small { color: var(--accent); font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; } .memory .mm small .ic { width: 14px; height: 14px; }
.memory .mm b { font-size: 17px; } .memory .go { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 20px rgba(var(--ar), .35); }

/* ---------- smart playlist editor ---------- */
.rule-head { margin: 16px 0 8px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .rule-head .field { width: auto; height: 34px; }
.rule { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 32px; gap: 8px; align-items: center; margin-bottom: 8px; } .rule .field { width: 100%; height: 38px; min-width: 0; }
.rule-foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; } .rule-foot label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; } .modal .rule-foot .field { width: auto; height: 34px; }
@media (max-width: 560px) { .rule { grid-template-columns: 1fr 1fr 32px; } .rule [data-r=v], .rule > span { grid-column: 1 / 3; } }

/* ---------- DJ journeys ---------- */
.journeys { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
.journey { text-align: left; padding: 12px 14px 14px; border-radius: 18px; background: var(--glass); border: 2px solid var(--stroke); display: flex; flex-direction: column; gap: 2px; transition: .2s var(--ease); }
.journey:hover { background: var(--glass2); transform: translateY(-1px); } .journey.on { border-color: rgb(var(--ar)); background: rgba(var(--ar), .12); }
.journey b { font-size: 15px; } .journey small { color: var(--muted); line-height: 1.3; }
.journey-svg { width: 100%; height: auto; display: block; margin-bottom: 6px; }
.jc-line { fill: none; stroke: rgb(var(--ar)); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.jc-now { stroke: var(--faint); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; } .jc-dot { fill: #fff; stroke: rgb(var(--ar)); stroke-width: 3; vector-effect: non-scaling-stroke; }
.journey-live { padding: 16px 18px; }

/* ---------- Recap ---------- */
.recap-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; margin: 16px 0 6px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, #7f00ff, #e100ff 55%, #ff2d6c); box-shadow: 0 14px 40px rgba(160, 0, 255, .3); }
.recap-hero small { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 11px; opacity: .85; } .recap-hero h2 { margin: 2px 0 4px; font-size: 26px; } .recap-hero p { margin: 0; opacity: .9; max-width: 440px; }
.recap-hero .btn.ghost { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); } .recap-hero .btn.accent { background: #fff; color: #7f00ff; box-shadow: none; }
.recap { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; opacity: 0; transition: opacity .25s; color: #fff; user-select: none; }
.recap.in { opacity: 1; }
.rc-bg { position: absolute; inset: 0; transition: background .6s ease; }
.rc-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,.18), transparent 70%), rgba(0,0,0,.18); }
.rc-bars { position: absolute; top: calc(14px + var(--sat)); left: 16px; right: 64px; display: flex; gap: 6px; z-index: 2; }
.rc-bars i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; } .rc-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.rc-bars i.done b { width: 100%; } .rc-bars i.on b { animation: rcfill 6.5s linear forwards; } @keyframes rcfill { to { width: 100%; } }
.rc-x { position: absolute; top: calc(4px + var(--sat)); right: 10px; z-index: 3; color: #fff; }
.rc-stage { position: relative; z-index: 1; width: min(520px, 92vw); text-align: center; }
.rc-slide { animation: rcin .5s var(--ease); } @keyframes rcin { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.rc-slide small { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: 12px; opacity: .85; }
.rc-slide .big { font-size: clamp(72px, 18vw, 132px); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 14px 0 4px; }
.rc-slide h2 { font-size: clamp(26px, 6vw, 40px); letter-spacing: -.02em; margin: 10px 0 8px; line-height: 1.1; } .rc-slide p { font-size: 17px; opacity: .92; margin: 0 auto 10px; max-width: 420px; line-height: 1.45; }
.rc-cover { width: min(260px, 60vw); margin: 18px auto 6px; } .rc-cover .cover { width: 100%; aspect-ratio: 1; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.rc-list { text-align: left; margin: 16px auto 0; max-width: 360px; padding-left: 22px; font-size: 16px; } .rc-list li { margin: 7px 0; } .rc-list span { opacity: .75; }
.rc-slide .actions { margin-top: 22px; position: relative; z-index: 3; } .rc-slide .btn.ghost { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); } .rc-slide .btn.accent { background: #fff; color: #222; box-shadow: none; }
.rc-nav { position: absolute; inset: 60px 0 0; display: grid; grid-template-columns: 1fr 2fr; z-index: 0; } .rc-nav button { cursor: pointer; }
.rc-stage { pointer-events: none; } .rc-stage .actions, .rc-stage button { pointer-events: auto; }

/* DJ mixer: the energy strip of the song on the decks */
.sec .seg.sm { margin-left: auto; }
.seg.sm button { padding: 5px 10px; font-size: 12px; }
.mixstrip { position: relative; height: 64px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.04); }
.ms-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 1px; padding: 0 2px; }
.ms-bars i { flex: 1; min-width: 1px; background: linear-gradient(to top, rgba(var(--ar), .85), rgba(var(--ar2), .5)); border-radius: 2px 2px 0 0; opacity: .75; }
.ms-hook { position: absolute; top: 0; bottom: 0; background: rgba(var(--ar2), .16); border-left: 1px dashed rgba(var(--ar2), .8); border-right: 1px dashed rgba(var(--ar2), .8); }
.ms-hook::after { content: 'Hook'; position: absolute; top: 4px; left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent2); }
.ms-out { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.8); }
.ms-out::after { content: 'Mix out'; position: absolute; top: 4px; left: 6px; font-size: 10px; font-weight: 800; white-space: nowrap; letter-spacing: .08em; text-transform: uppercase; }
.ms-head { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); transition: left .25s linear; }

/* ---------- Just press play ---------- */
.jpp { display: flex; align-items: center; gap: 22px; padding: 22px 24px; margin: 6px 0 18px; border-radius: 24px; position: relative; overflow: hidden; background: linear-gradient(120deg, color-mix(in srgb, var(--m1) 38%, transparent), color-mix(in srgb, var(--m2) 30%, transparent)); box-shadow: inset 0 0 0 1px var(--stroke); }
.jpp::after { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--m1) 45%, transparent), transparent 45%); animation: jppDrift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes jppDrift { to { transform: translate(18%, -6%) scale(1.15); } }
.jpp > * { position: relative; z-index: 1; }
.jpp-play { width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #111; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.35), 0 0 0 10px rgba(255,255,255,.08); transition: transform .3s var(--ease); }
.jpp-play:hover { transform: scale(1.07); } .jpp-play .ic { width: 34px; height: 34px; margin-left: 4px; }
.jpp-txt h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.02em; } .jpp-txt p { margin: 0 0 12px; color: var(--muted); }
.seg.sm button { padding: 5px 11px; font-size: 12.5px; }
.card.pick { text-align: left; color: inherit; } .card.pick small { color: var(--accent2); font-weight: 600; }
.q-why { color: var(--accent2) !important; display: flex !important; gap: 4px; align-items: center; } .q-why .ic { width: 11px; height: 11px; flex: none; }
.q-cont { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0 4px 10px; }

/* ---------- Flow Architect ---------- */
.flow-hero h1 { margin: 6px 0 6px; } .flow-hero p { max-width: 720px; margin: 0 0 16px; }
.flow-build { display: grid; gap: 14px; }
.fb-row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; } .fb-row > b { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.fl-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fl-stop { display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; padding: 2px 4px 2px 2px; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fl-stop select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 750; padding: 8px 6px 8px 14px; cursor: pointer; }
.fl-stop select option { color: #111; }
.fl-stop button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: .75; } .fl-stop button:hover { opacity: 1; background: rgba(0,0,0,.2); } .fl-stop button .ic { width: 13px; height: 13px; }
.fl-arrow { color: var(--faint); display: grid; } .fl-arrow .ic { width: 16px; height: 16px; }
.flow-curve { padding: 14px 16px 10px; margin-top: 12px; } .flow-svg { width: 100%; height: auto; display: block; }
.flow-svg .flow-lbl { fill: var(--muted); font-size: 13px; font-weight: 700; font-family: inherit; }
.flow-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 4px; } .flow-legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.flow-legend .dash { width: 18px; border-top: 2px dashed var(--accent2); } .flow-legend .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.fl-list { margin-top: 10px; display: grid; gap: 2px; }
.fl-row { display: grid; grid-template-columns: 22px 26px 44px minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: transparent; transition: background .2s; }
.fl-row:hover { background: var(--glass); } .fl-row .cover { width: 44px; height: 44px; border-radius: 8px; } .fl-row .m small { display: block; color: var(--muted); font-size: 13px; }
.fl-row.dragging { background: var(--glass2); box-shadow: 0 10px 30px rgba(0,0,0,.35); position: relative; z-index: 2; }
.fl-handle { cursor: grab; color: var(--faint); touch-action: none; display: grid; } .fl-handle .ic { width: 18px; height: 18px; } .fl-n { color: var(--faint); font-size: 13px; text-align: right; }
.fl-mood { font-size: 11.5px; font-weight: 800; color: #fff; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.fl-num { color: var(--muted); font-size: 12.5px; white-space: nowrap; min-width: 110px; text-align: right; }
.fl-jump { margin: 2px 0 2px 58px; font-size: 12px; font-weight: 700; color: #ffd27a; display: flex; align-items: center; gap: 6px; } .fl-jump .ic { width: 12px; height: 12px; } .fl-jump.big { color: #ff8a8a; }
@media (max-width: 720px) { .fb-row { grid-template-columns: 1fr; gap: 6px; } .fl-row { grid-template-columns: 22px 40px minmax(0, 1fr) auto auto; } .fl-n, .fl-num { display: none; } .fl-mood { grid-column: 3; justify-self: start; margin-top: -4px; } .fl-jump { margin-left: 30px; } .jpp { padding: 18px; gap: 16px; } .jpp-play { width: 64px; height: 64px; } .jpp-txt h2 { font-size: 21px; } }

/* ---------- lyrics ---------- */
.lyrics.synced p.ly { position: relative; padding-right: 34px; opacity: calc(.62 - var(--d, 2) * .08); filter: blur(calc(var(--d, 2) * .25px)); transform: scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease); }
.lyrics.synced p.ly.past { opacity: .4; }
.lyrics.synced p.ly.on { opacity: 1; filter: none; transform: scale(1.04); }
.lyrics.synced p.ly.on .lt { background: linear-gradient(90deg, var(--text) var(--lp, 0%), color-mix(in srgb, var(--text) 50%, transparent) calc(var(--lp, 0%) + 8%)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 30px rgba(var(--ar), .35); }
.lyrics p.gap { display: flex; gap: 8px; padding: 6px 0; } .lyrics p.gap i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .5; }
.lyrics p.gap.on i { animation: lyBreath 1.6s ease-in-out infinite; } .lyrics p.gap.on i:nth-child(2) { animation-delay: .2s; } .lyrics p.gap.on i:nth-child(3) { animation-delay: .4s; }
@keyframes lyBreath { 50% { transform: scale(1.5); opacity: 1; } }
.ly-save { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); opacity: 0; transition: opacity .2s; }
.lyrics p:hover .ly-save, .ly-save.on { opacity: 1; } .ly-save .ic { width: 15px; height: 15px; } .ly-save.on { color: var(--accent); } .ly-save.on .ic { fill: currentColor; }
.lyrics.plain p { position: relative; padding-right: 34px; }
@media (hover: none) { .ly-save { opacity: .45; } }
.ly-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: 12px; background: var(--glass); } .ly-note .ic { width: 15px; height: 15px; }
.ly-tools { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--faint); margin-top: 22px; } .ly-tools b { color: var(--muted); min-width: 42px; text-align: center; }
.ly-dots { display: flex; gap: 6px; justify-content: center; } .ly-dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: lyBreath 1.2s ease-in-out infinite; } .ly-dots i:nth-child(2) { animation-delay: .15s; } .ly-dots i:nth-child(3) { animation-delay: .3s; }
/* full-screen lyrics */
body.lyr-full .np-stage, body.lyr-full .np-tabs { display: none !important; }
body.lyr-full .np-body { grid-template-columns: 1fr; padding: 0 6vw; }
body.lyr-full .np-info { display: flex !important; height: 100%; max-width: 1100px; width: 100%; margin: 0 auto; }
body.lyr-full .np-panel { mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
body.lyr-full .lyrics { font-size: clamp(30px, 4.6vw, 60px); gap: .5em; padding: 30vh 0 40vh; letter-spacing: -.025em; line-height: 1.15; }
body.lyr-full .lyrics.plain { font-size: clamp(22px, 2.6vw, 34px); padding-top: 8vh; }
body.lyr-full #np-lyrfull { color: var(--accent); background: var(--glass2); }
/* saved lines */
.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.line-card { padding: 20px; border-radius: 20px; background: linear-gradient(140deg, rgba(var(--ar), .22), rgba(var(--ar2), .12)); box-shadow: inset 0 0 0 1px var(--stroke); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.line-card blockquote { margin: 0; font-size: 21px; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; } .line-card blockquote::before { content: '“'; display: block; font: 700 46px/0.6 Georgia, serif; opacity: .5; margin: 10px 0 6px; }
.lc-foot { display: flex; align-items: center; gap: 4px; } .lc-foot > div { flex: 1; min-width: 0; } .lc-foot small { display: block; color: var(--muted); }

/* ---------- Living album / Pulse ---------- */
.np-pulse { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.np-pulse.soft { filter: blur(26px) saturate(1.25); transform: scale(1.08); }
body.light .np-pulse { mix-blend-mode: multiply; opacity: .45; }
#np[data-pulse=off] .np-pulse, #np:not([data-pulse=bars]) #viz { display: none; }
#np .np-top, #np .np-body, #np .np-bottom { position: relative; z-index: 1; }
.np-bg.ghost { z-index: 0; transition: opacity 1.4s ease; } .np-bg.ghost.out { opacity: 0; }
.np-art.np-enter { animation: artIn 1s var(--ease); }
@keyframes artIn { from { opacity: .2; transform: scale(.9); filter: blur(10px); } to { opacity: 1; filter: none; } }
.np-right { display: flex; gap: 2px; align-items: center; }
#np .np-top, #np .np-tabs, #np .np-tools, #np .np-btns, #np .np-seek, #np .np-bottom .icon-btn { transition: opacity .9s ease; }
body.np-zen #np .np-top, body.np-zen #np .np-tabs, body.np-zen #np .np-tools, body.np-zen #np .np-btns, body.np-zen #np .np-seek, body.np-zen #np #np-like { opacity: 0; }
body.np-zen #np { cursor: none; }

/* ---------- mini player ---------- */
.miniplayer { display: none; }
body.mini > *:not(.miniplayer):not(#modal-host):not(#toasts) { display: none !important; }
body.mini { background: #0b0b12; overflow: hidden; }
body.mini .miniplayer { display: flex; flex-direction: column; position: fixed; inset: 0; background: linear-gradient(135deg, rgba(var(--ar), .45), rgba(var(--ar2), .3)), #0b0b12; color: #fff; user-select: none; }
.mp-drag { height: 30px; flex: none; -webkit-app-region: drag; display: flex; align-items: center; padding: 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
body.in-pip .mp-drag { display: none; }
.mp-main { flex: 1; min-height: 0; display: flex; align-items: center; gap: 12px; padding: 0 12px 6px; }
.mp-art { width: 74px; height: 74px; flex: none; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.45); } .mp-art .cover, .mp-art img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.mp-meta { flex: 1; min-width: 0; } .mp-meta b { display: block; font-size: 15px; } .mp-meta small { display: block; color: rgba(255,255,255,.7); font-size: 12.5px; }
.mp-lyric { font-size: 12.5px; font-weight: 700; color: #fff; opacity: 0; max-height: 0; transition: opacity .4s, max-height .4s; margin-top: 2px; } .mp-lyric.on { opacity: .95; max-height: 20px; }
.mp-btns { display: flex; align-items: center; gap: 2px; -webkit-app-region: no-drag; } .mp-btns .icon-btn { color: #fff; }
.mp-btns [data-mp=like], .mp-btns [data-mp=expand] { width: 0; opacity: 0; overflow: hidden; transition: width .25s, opacity .25s; padding: 0; }
.miniplayer:hover .mp-btns [data-mp=like], .miniplayer:hover .mp-btns [data-mp=expand] { width: 30px; opacity: 1; }
.mp-btns [data-mp=like].liked { color: var(--accent); } .mp-btns [data-mp=like].liked .ic { fill: currentColor; }
.mp-play { width: 42px; height: 42px; background: #fff; color: #111 !important; border-radius: 50%; } .mp-play .ic { width: 18px; height: 18px; }
.mp-seek { height: 14px; flex: none; display: flex; align-items: center; padding: 0 12px 6px; cursor: pointer; -webkit-app-region: no-drag; }
.mp-seek::before { content: ''; position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); }
.mp-seek { position: relative; } .mp-seek i { position: relative; display: block; height: 3px; border-radius: 3px; background: #fff; width: 0; transition: width .25s linear; }
.kbd-btn { min-width: 110px; padding: 6px 12px; border-radius: 10px; background: var(--glass2); box-shadow: inset 0 0 0 1px var(--stroke); font-weight: 700; font-size: 13px; color: var(--text); } .kbd-btn.wait { box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent); }
.kbd-edit .set-row { padding: 7px 0; }
.card.pick { display: block; width: 100%; }
.flow-build .seg button, .jpp .seg button { white-space: nowrap; }
@media (max-width: 720px) { .jpp { flex-direction: column; align-items: flex-start; } .jpp .seg { flex-wrap: wrap; } .flow-build .seg button { padding: 8px 10px; } .sec .faint { display: none; } .fl-arrow { display: none; } }

.sv-bar { width: 180px; height: 8px; border-radius: 99px; background: var(--glass2); overflow: hidden; } .sv-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .3s; }

/* ---------- AI Audition ---------- */
.au-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 28px; border-radius: 28px; background: linear-gradient(135deg, rgba(247,121,125,.28), rgba(123,47,247,.28)); margin-bottom: 8px; }
.au-hero h1 { margin: 4px 0 8px; font-size: clamp(26px, 4vw, 40px); }
.au-hero p { margin: 0 0 14px; max-width: 640px; }
.au-kicker { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.au-orb { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ffb199, #f7797d 40%, #7b2ff7); box-shadow: 0 0 60px rgba(247,121,125,.55); animation: auPulse 3.2s ease-in-out infinite; flex: none; }
.au-orb svg { width: 46px; height: 46px; color: #fff; }
@keyframes auPulse { 50% { transform: scale(1.06); box-shadow: 0 0 90px rgba(123,47,247,.6); } }
.au-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 6px 0 12px; }
.au-mode { text-align: left; padding: 16px 18px; border-radius: 18px; background: var(--glass2); border: 1px solid rgba(255,255,255,.12); color: inherit; cursor: pointer; transition: .2s var(--ease); }
.au-mode:hover:not([disabled]) { transform: translateY(-2px); background: rgba(255,255,255,.16); }
.au-mode[disabled] { opacity: .45; cursor: default; }
.au-mode b { display: flex; gap: 8px; align-items: center; font-size: 17px; } .au-mode b svg { width: 18px; height: 18px; }
.au-mode small { display: block; margin-top: 6px; opacity: .75; }
.au-card .au-range { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.au-range small { display: block; opacity: .7; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; } .au-range b { font-size: 24px; }
.kb { position: relative; height: 64px; border-radius: 12px; background: rgba(255,255,255,.92); overflow: hidden; margin-bottom: 18px; }
.kb-keys i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,.18); }
.kb-range { position: absolute; top: 0; bottom: 0; background: rgba(123,47,247,.28); }
.kb-comf { position: absolute; top: 0; bottom: 0; background: rgba(247,121,125,.55); border-left: 2px solid #f7797d; border-right: 2px solid #f7797d; }
.kb-song { position: absolute; height: 6px; bottom: 6px; border-radius: 3px; background: #2b1055; opacity: .7; }
.kb-song:nth-of-type(2) { bottom: 14px; } .kb-song:nth-of-type(3) { bottom: 22px; }
.kb-l { position: absolute; top: 4px; transform: translateX(-50%); font-size: 11px; color: #333; font-weight: 700; }
.au-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; opacity: .8; margin: -8px 0 14px; }
.au-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-r { background: rgba(123,47,247,.6); } .lg-c { background: #f7797d; } .lg-s { background: #2b1055; border: 1px solid rgba(255,255,255,.5); }
.au-traits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.au-traits div { padding: 12px 14px; border-radius: 14px; background: var(--glass2); } .au-traits b { display: block; } .au-traits small { opacity: .75; }
.au-list { display: flex; flex-direction: column; gap: 6px; }
.au-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--glass2); color: inherit; text-align: left; border: 1px solid transparent; width: 100%; }
.au-row .cover { width: 44px; height: 44px; border-radius: 8px; flex: none; }
.au-row.pickable { cursor: pointer; } .au-row.pickable.on { border-color: var(--accent); background: rgba(255,255,255,.14); }
.au-n { width: 22px; text-align: center; opacity: .6; font-weight: 700; flex: none; }
.au-t { flex: 1; min-width: 0; } .au-t b, .au-t small { display: block; } .au-t small { opacity: .7; }
.au-fit { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; flex: none; }
.au-fit.f3 { background: rgba(67,206,162,.25); color: #7af0c4; } .au-fit.f2 { background: rgba(249,212,35,.2); color: #f9d423; } .au-fit.f1 { background: rgba(255,255,255,.12); }
.au-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; flex: none; } .au-row.on .au-check { background: var(--accent); border-color: var(--accent); } .au-check svg { width: 14px; height: 14px; }
.au-bar { position: sticky; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; margin-top: 14px; }
.au-honest { font-size: 13px; margin: 18px 0 30px; display: flex; gap: 8px; align-items: flex-start; } .au-honest svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.au-sing-h { display: flex; gap: 16px; align-items: center; margin: 10px 0 20px; } .au-sing-h .cover { width: 72px; height: 72px; border-radius: 12px; flex: none; } .au-sing-h h2 { margin: 2px 0; }
.au-count { font-size: 140px; font-weight: 800; text-align: center; margin: 40px 0 10px; animation: auPulse .8s ease-in-out infinite; }
.au-lyr { min-height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding: 20px; }
.au-lyr p { margin: 0; } .au-lyr .cur { font-size: clamp(24px, 4vw, 40px); font-weight: 800; } .au-lyr .nx { font-size: clamp(16px, 2.4vw, 22px); opacity: .5; }
.au-lyr.plain { max-height: 46vh; overflow: auto; justify-content: flex-start; } .au-lyr.plain p { font-size: 18px; opacity: .85; }
.au-live { display: flex; gap: 16px; align-items: center; max-width: 560px; margin: 10px auto 22px; }
.au-note { width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: var(--glass2); transition: .15s; }
.au-note.on { background: linear-gradient(135deg, #f7797d, #7b2ff7); box-shadow: 0 0 30px rgba(247,121,125,.6); }
.au-prog { flex: 1; height: 8px; border-radius: 99px; background: var(--glass2); overflow: hidden; } .au-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f7797d, #7b2ff7); transition: width .1s linear; }
@media (max-width: 640px) { .au-hero { padding: 20px; } .au-orb { width: 84px; height: 84px; } .au-row .icon-btn[data-a=au-play] { display: none; } }
