:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1c1c1c;
  --surface-3: #252525;
  --text: #f7f7f7;
  --muted: #969696;
  --line: rgba(255,255,255,.1);
  --accent: #ff2450;
  --accent-2: #b564ff;
  --danger: #ff4d62;
  --nav-h: 86px;
  --mini-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --radius: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #000; color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { overscroll-behavior-y: none; }
button, input, select { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon.fill { fill: currentColor; }
.app-shell { width: min(100%, 560px); min-height: 100vh; margin: 0 auto; background: var(--bg); position: relative; box-shadow: 0 0 80px rgba(0,0,0,.65); }
.view { min-height: 100vh; padding-bottom: calc(var(--nav-h) + 24px + var(--safe-b)); background: var(--bg); }
.view.has-mini { padding-bottom: calc(var(--nav-h) + var(--mini-h) + 30px + var(--safe-b)); }
.page { min-height: 100vh; }
.home-page { background: radial-gradient(circle at 10% 8%, rgba(255,125,40,.13), transparent 25%), var(--bg); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: calc(22px + env(safe-area-inset-top,0px)) 26px 14px; gap: 16px; }
.profile-row { display: flex; align-items: center; min-width: 0; gap: 14px; }
.logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #050505; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 24px rgba(0,0,0,.35); overflow: hidden; }
.logo-mark { width: 38px; height: 38px; }
.greeting { margin: 0; color: var(--muted); font-size: 15px; font-weight: 650; }
.username { margin: 1px 0 0; font-size: 25px; line-height: 1.1; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; gap: 12px; }
.icon-btn { width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-btn:active { background: rgba(255,255,255,.08); transform: scale(.96); }
.badge-dot { position: absolute; right: 6px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.chips { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 6px 25px 16px; border-bottom: 1px solid var(--line); }
.chips::-webkit-scrollbar, .horizontal-scroll::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg,#292929,#1c1c1c); color: #e8e8e8; border-radius: 999px; padding: 12px 24px; font-weight: 750; box-shadow: inset 0 1px rgba(255,255,255,.05); cursor: pointer; }
.chip.active { border-color: rgba(255,36,80,.5); background: rgba(255,36,80,.14); color: #fff; }
.section { padding: 24px 25px 0; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 25px; letter-spacing: -.4px; }
.section-title .accent-icon { color: var(--accent); }
.section-title .purple { color: var(--accent-2); }
.section-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.text-btn { border: 0; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; padding: 8px; }
.spotlight { position: relative; width: 100%; aspect-ratio: 1.47; border-radius: 24px; overflow: hidden; background: #181818; box-shadow: 0 18px 40px rgba(0,0,0,.35); isolation: isolate; cursor: pointer; }
.spotlight-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); z-index: -2; }
.spotlight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.03) 25%, rgba(0,0,0,.92) 100%); }
.spotlight-content { position: absolute; inset: auto 26px 28px 26px; padding-right: 70px; }
.spotlight-title { margin: 0 0 7px; font-size: clamp(27px, 6.2vw, 38px); line-height: 1.06; letter-spacing: -.8px; font-weight: 850; }
.spotlight-artist { color: #d0d0d0; font-size: 18px; font-weight: 600; }
.spotlight-play { position: absolute; right: 24px; bottom: 24px; width: 66px; height: 66px; border: 0; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255,36,80,.45); cursor: pointer; }
.spotlight-play .icon { width: 31px; height: 31px; fill: #fff; stroke: #fff; margin-left: 3px; }
.dots { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; gap: 9px; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.42); }
.dot.active { width: 37px; background: #fff; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px 12px; }
.track-card { min-width: 0; border: 0; padding: 0; text-align: left; background: transparent; cursor: pointer; }
.track-cover-wrap { position: relative; width: 100%; aspect-ratio: 1; border-radius: 15px; overflow: hidden; background: var(--surface-2); }
.track-cover { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.track-card:active .track-cover { transform: scale(.97); }
.track-cover-wrap::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.78)); }
.track-overlay-title { position: absolute; z-index: 1; left: 9px; right: 8px; bottom: 9px; font-size: 13px; line-height: 1.15; font-weight: 760; text-shadow: 0 2px 5px #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { padding: 8px 2px 0; }
.card-title { font-weight: 760; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.card-artist { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.horizontal-scroll { display: flex; gap: 13px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.horizontal-card { flex: 0 0 148px; }
.skeleton { background: linear-gradient(90deg,#161616 20%,#252525 40%,#161616 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.bottom-nav { position: fixed; z-index: 40; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%,560px); height: calc(var(--nav-h) + var(--safe-b)); padding: 8px 18px var(--safe-b); background: rgba(19,19,19,.96); border-top: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(20px); display: grid; grid-template-columns: repeat(4,1fr); }
.nav-item { border: 0; background: transparent; color: #666; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.nav-icon-wrap { width: 46px; height: 40px; display: grid; place-items: center; border-radius: 17px; }
.nav-item.active { color: #fff; }
.nav-item.active .nav-icon-wrap { background: #292929; box-shadow: 0 0 20px rgba(255,255,255,.08); }
.mini-player { position: fixed; z-index: 39; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b)); width: min(100%,560px); height: var(--mini-h); padding: 8px 15px; background: rgba(28,28,28,.97); border-top: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 50px minmax(0,1fr) auto auto; align-items: center; gap: 11px; backdrop-filter: blur(18px); cursor: pointer; }
.is-hidden { display: none !important; }
.mini-cover { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.mini-title { font-weight: 760; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.mini-artist { color: var(--muted); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 3px; }
.mini-btn { border: 0; background: transparent; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.mini-progress { position: absolute; top: 0; left: 0; height: 2px; background: var(--accent); width: 0; }
.subpage-header { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: calc(18px + env(safe-area-inset-top,0px)) 20px 14px; background: rgba(8,8,8,.92); backdrop-filter: blur(16px); }
.subpage-title { text-align: center; margin: 0; font-size: 21px; }
.search-box { display: flex; align-items: center; gap: 10px; margin: 14px 25px 10px; padding: 13px 15px; border-radius: 18px; background: #1d1d1d; border: 1px solid rgba(255,255,255,.06); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.search-box input::placeholder { color: #777; }
.search-submit { border: 0; border-radius: 13px; background: var(--accent); color: white; font-weight: 800; padding: 10px 15px; cursor: pointer; }
.result-list { padding: 14px 20px 10px; display: flex; flex-direction: column; gap: 5px; }
.track-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 13px; align-items: center; padding: 8px; border-radius: 15px; cursor: pointer; }
.track-row:active { background: rgba(255,255,255,.06); }
.row-cover { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: #1d1d1d; }
.row-title { font-weight: 760; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row-sub { color: var(--muted); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 4px; }
.row-more { width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.empty { text-align: center; padding: 60px 30px; color: var(--muted); }
.empty .icon { width: 50px; height: 50px; margin-bottom: 16px; color: #666; }
.empty h3 { color: #eee; margin: 0 0 8px; }
.library-hero { padding: 18px 25px; display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.library-tile { min-height: 120px; border: 0; border-radius: 23px; padding: 18px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; color: #fff; }
.library-tile:first-child { background: linear-gradient(145deg,#7022d8,#c42883); }
.library-tile:nth-child(2) { background: linear-gradient(145deg,#25348e,#257fa9); }
.library-tile .icon { width: 31px; height: 31px; }
.library-tile strong { font-size: 17px; }
.count { opacity: .75; font-size: 13px; margin-top: 3px; }
.settings-page { padding-bottom: calc(var(--nav-h) + 25px + var(--safe-b)); }
.settings-top-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px 25px 30px; }
.setting-card { min-height: 155px; border: 0; border-radius: 22px; background: #242424; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; cursor: pointer; }
.setting-card .icon { width: 43px; height: 43px; }
.setting-card strong { font-size: 18px; }
.setting-card span { color: var(--muted); margin-top: -9px; }
.setting-card.active { background: rgba(255,36,80,.18); outline: 1px solid rgba(255,36,80,.45); }
.settings-list { padding: 0 25px; }
.setting-item { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 52px minmax(0,1fr) 28px; align-items: center; text-align: left; padding: 18px 0; cursor: pointer; }
.setting-item .icon { width: 31px; height: 31px; }
.setting-copy strong { display: block; font-size: 18px; margin-bottom: 5px; }
.setting-copy span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.setting-item .chev { color: #707070; }
.settings-divider { height: 1px; background: var(--line); margin: 12px 0; }
.logout-btn { display: block; margin: 50px auto 28px; border: 0; background: #fff; color: #000; border-radius: 999px; padding: 17px 42px; font-weight: 800; font-size: 17px; cursor: pointer; }
.player-page { position: relative; min-height: 100vh; overflow: hidden; background: #090d13; }
.player-art-bg { position: absolute; inset: -28px -28px auto; height: 58vh; z-index: 0; background-position: center 18%; background-size: cover; filter: blur(58px) saturate(.92) brightness(.43); transform: scale(1.18); opacity: .9; }
.player-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,23,42,.72) 0%, rgba(8,17,27,.96) 39%, #0c1016 62%, #0d0f13 100%); }
.player-content { position: relative; z-index: 1; min-height: 100vh; padding: calc(22px + env(safe-area-inset-top,0px)) 30px calc(28px + env(safe-area-inset-bottom,0px)); }
.player-top { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; align-items: center; min-height: 52px; }
.player-top-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.player-top-btn .icon { width: 34px; height: 34px; stroke-width: 2.1; }
.player-top-btn:last-child .icon { width: 27px; height: 27px; }
.player-context { min-width: 0; text-align: center; line-height: 1.2; }
.player-context span, .player-context strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-context span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.92); letter-spacing: .1px; }
.player-context strong { margin-top: 4px; font-size: 15px; font-weight: 800; color: #fff; }
.player-cover { width: 100%; max-width: 500px; aspect-ratio: 1; margin: clamp(78px,10vh,118px) auto 0; border-radius: 11px; object-fit: cover; box-shadow: 0 26px 58px rgba(0,0,0,.28); }
.live-lyric-line { min-height: 28px; margin: clamp(74px,10vh,115px) 0 76px; color: #fff; font-size: clamp(18px,4.6vw,22px); font-weight: 800; line-height: 1.35; text-align: left; }
.player-info-row { display: grid; grid-template-columns: minmax(0,1fr) 54px; gap: 18px; align-items: center; }
.player-track-copy { min-width: 0; }
.player-title { margin: 0; color: #fff; font-size: clamp(22px,5.2vw,28px); font-weight: 900; line-height: 1.08; letter-spacing: -.45px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-artist { display: block; max-width: 100%; margin: 7px 0 0; padding: 0; border: 0; background: none; color: #aaaeb6; font-size: 17px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.save-track-btn { width: 51px; height: 51px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: #fff; }
.save-track-btn .icon { width: 48px; height: 48px; stroke-width: 1.75; }
.save-track-btn.active { color: #1ed760; }
.progress-wrap { padding: 36px 0 0; }
.range { width: 100%; height: 4px; appearance: none; border-radius: 99px; outline: none; background: linear-gradient(to right,#fff var(--range-progress,0%),rgba(255,255,255,.35) var(--range-progress,0%)); cursor: pointer; }
.range::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; border-radius: 50%; background: white; box-shadow: none; }
.range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: white; }
.time-row { display: flex; justify-content: space-between; color: #92969d; margin-top: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.player-controls { display: grid; grid-template-columns: repeat(5,1fr); align-items: center; gap: 4px; padding: 23px 0 18px; }
.control-btn { width: 58px; height: 58px; margin: auto; border: 0; background: transparent; display: grid; place-items: center; color: #f7f7f7; border-radius: 50%; cursor: pointer; }
.control-btn .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.control-btn.small .icon { width: 28px; height: 28px; }
.control-btn.active { color: #1ed760; }
.control-btn.disabled { color: rgba(255,255,255,.25); }
.main-play { width: 80px; height: 80px; background: #fff; color: #000; }
.main-play .icon { width: 40px; height: 40px; stroke-width: 2.5; }
.player-secondary-actions { display: flex; align-items: center; padding: 8px 0 22px; }
.secondary-spacer { flex: 1; }
.secondary-action { width: 48px; height: 48px; margin-left: 16px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.secondary-action:first-child { margin-left: 0; }
.secondary-action .icon { width: 29px; height: 29px; stroke-width: 2; }
.lyrics-preview-card { margin-top: 2px; padding: 25px 24px 28px; border-radius: 24px; background: linear-gradient(145deg,#113766 0%,#234f7a 100%); box-shadow: inset 0 1px rgba(255,255,255,.04); cursor: pointer; }
.lyrics-preview-card h2 { margin: 0 0 28px; font-size: 20px; font-weight: 900; }
.lyrics-preview-body { min-height: 235px; }
.lyric-preview-line { color: #b9d6fb; font-size: 21px; line-height: 1.45; font-weight: 780; margin: 0 0 22px; transition: color .18s ease, transform .18s ease; }
.lyric-preview-line.active { color: #fff; font-size: 24px; font-weight: 900; }
.lyrics-preview-loading, .lyrics-preview-empty { min-height: 180px; display: grid; place-items: center; color: #c6daf5; text-align: center; line-height: 1.5; }
.show-lyrics-btn { margin-top: 2px; border: 0; border-radius: 999px; padding: 14px 23px; background: #fff; color: #080b10; font-weight: 900; cursor: pointer; }

.full-lyrics-page { position: relative; min-height: 100svh; overflow: hidden; background: linear-gradient(180deg,#0d2e57 0%,#173a64 57%,#34516f 100%); }
.lyrics-gradient-art { position: absolute; inset: -50px; background-position: center top; background-size: cover; filter: blur(90px) saturate(.8) brightness(.4); transform: scale(1.2); opacity: .45; }
.full-lyrics-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,27,51,.64),rgba(16,47,83,.84) 54%,rgba(51,77,105,.96)); pointer-events: none; }
.full-lyrics-header { position: fixed; z-index: 3; top: 0; left: 50%; transform: translateX(-50%); width: min(100%,560px); display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; padding: calc(24px + env(safe-area-inset-top,0px)) 24px 18px; background: linear-gradient(180deg,rgba(12,40,73,.98),rgba(12,40,73,.78),transparent); }
.lyrics-header-btn { width: 48px; height: 48px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; }
.lyrics-header-btn .icon { width: 34px; height: 34px; }
.full-lyrics-header div { min-width: 0; text-align: center; }
.full-lyrics-header strong, .full-lyrics-header span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.full-lyrics-header strong { font-size: 16px; font-weight: 900; text-transform: uppercase; }
.full-lyrics-header span { margin-top: 4px; font-size: 15px; color: #fff; }
.lyrics-header-spacer { display: block; }
.full-lyrics-scroll { position: relative; z-index: 2; height: 100svh; overflow-y: auto; overscroll-behavior: contain; padding: calc(150px + env(safe-area-inset-top,0px)) 25px calc(285px + env(safe-area-inset-bottom,0px)); scroll-behavior: smooth; }
.full-lyric-line { margin: 0 0 26px; color: #b3d2f7; font-size: clamp(21px,5.2vw,27px); line-height: 1.28; font-weight: 850; letter-spacing: -.35px; transition: color .2s ease, font-size .2s ease, opacity .2s ease; }
.full-lyric-line.active { color: #fff; font-size: clamp(25px,6.2vw,32px); font-weight: 950; }
.full-lyrics-loading { min-height: 58vh; display: grid; place-items: center; color: #d7e9ff; font-size: 18px; text-align: center; }
.full-lyrics-controls { position: fixed; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%,560px); padding: 35px 38px calc(26px + env(safe-area-inset-bottom,0px)); background: linear-gradient(180deg,transparent 0%,rgba(44,72,101,.7) 18%,rgba(56,82,109,.98) 42%,#38536f 100%); }
.lyrics-control-icons { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.lyrics-control-icons button { width: 46px; height: 46px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; }
.lyrics-control-icons button:nth-child(2) { margin-left: auto; margin-right: 35px; }
.lyrics-control-icons .icon { width: 28px; height: 28px; }
.lyrics-progress { margin-bottom: 19px; }
.lyrics-main-play { display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto; border: 0; border-radius: 50%; background: #fff; color: #000; }
.lyrics-main-play .icon { width: 40px; height: 40px; stroke-width: 2.5; }
.modal-backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(0,0,0,.65); display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; }
.modal { width: min(100%,560px); max-height: 86vh; overflow: auto; background: #171717; border-radius: 28px 28px 0 0; padding: 17px 24px calc(24px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -20px 60px rgba(0,0,0,.45); }
.modal-handle { width: 46px; height: 5px; border-radius: 99px; background: #555; margin: 0 auto 18px; }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.modal-head h2 { margin: 0; font-size: 22px; }
.modal-close { border: 0; background: #292929; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; }
.modal-options { display: flex; flex-direction: column; gap: 8px; }
.modal-option { border: 0; background: #232323; border-radius: 16px; padding: 15px 16px; color: #fff; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.modal-option.active { outline: 1px solid var(--accent); background: rgba(255,36,80,.12); }
.player-sheet-backdrop { position: fixed; z-index: 95; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.63); }
.player-sheet { width: min(100%,560px); max-height: 91svh; overflow-y: auto; overscroll-behavior: contain; padding: 13px 24px calc(24px + env(safe-area-inset-bottom,0px)); border-radius: 25px 25px 0 0; background: #1e1e1e; color: #fff; box-shadow: 0 -20px 60px rgba(0,0,0,.45); }
.player-sheet-handle { width: 55px; height: 6px; margin: 2px auto 25px; border-radius: 99px; background: #5c5c5c; }
.track-sheet-head { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 16px; align-items: center; padding: 0 0 22px; }
.track-sheet-head img { width: 62px; height: 62px; border-radius: 5px; object-fit: cover; }
.track-sheet-head strong, .track-sheet-head span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-sheet-head strong { font-size: 18px; font-weight: 850; text-transform: uppercase; }
.track-sheet-head span { margin-top: 8px; color: #a5a5a5; font-size: 16px; }
.track-sheet-divider { height: 1px; margin: 0 -24px 10px; background: rgba(255,255,255,.13); }
.track-menu-list { padding-bottom: 12px; }
.track-menu-list button { width: 100%; min-height: 70px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 13px; align-items: center; border: 0; background: transparent; color: #f4f4f4; text-align: left; font-size: 18px; cursor: pointer; }
.track-menu-icon { width: 46px; height: 46px; display: grid; place-items: center; color: #b9b9b9; }
.track-menu-icon .icon { width: 31px; height: 31px; stroke-width: 1.9; }
.favorite-tile { width: 36px; height: 36px; margin-left: 5px; border-radius: 2px; color: #fff; background: linear-gradient(135deg,#5527ff,#9ac7ff); }
.favorite-tile .icon { width: 20px; height: 20px; }
.datzon-premium { color: #1ed760; font-size: 12px; font-weight: 900; }
.queue-player-sheet { height: 52svh; max-height: 52svh; padding-bottom: calc(118px + env(safe-area-inset-bottom,0px)); position: relative; }
.queue-sheet-head h2 { margin: 0; font-size: 24px; font-weight: 900; }
.queue-sheet-head p { margin: 5px 0 22px; color: #aaa; font-size: 14px; }
.queue-now { display: grid; grid-template-columns: 62px minmax(0,1fr) 52px; gap: 15px; align-items: center; }
.queue-now img { width: 62px; height: 62px; border-radius: 5px; object-fit: cover; }
.queue-now strong, .queue-now span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-now strong { color: #1ed760; font-size: 17px; font-weight: 750; text-transform: uppercase; }
.queue-now span { margin-top: 7px; color: #aaa; font-size: 14px; }
.now-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; margin-right: 4px; }
.now-bars i { display: block; width: 2px; border-radius: 2px; background: currentColor; }
.now-bars i:nth-child(1) { height: 7px; }
.now-bars i:nth-child(2) { height: 13px; }
.now-bars i:nth-child(3) { height: 10px; }
.queue-now button { width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.queue-now button .icon { width: 25px; height: 25px; }
.queue-divider-label { display: flex; align-items: center; gap: 7px; margin: 24px 0 12px; color: #a1a1a1; font-size: 13px; }
.queue-divider-label .icon { width: 17px; height: 17px; }
.queue-sheet-list { display: flex; flex-direction: column; }
.queue-sheet-row { width: 100%; display: grid; grid-template-columns: 60px minmax(0,1fr) 34px; gap: 14px; align-items: center; padding: 8px 0; border: 0; background: transparent; color: #fff; text-align: left; }
.queue-sheet-row img { width: 60px; height: 60px; border-radius: 5px; object-fit: cover; }
.queue-sheet-row span { min-width: 0; }
.queue-sheet-row strong, .queue-sheet-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-sheet-row strong { font-size: 17px; font-weight: 500; }
.queue-sheet-row small { margin-top: 7px; color: #aaa; font-size: 14px; }
.queue-sheet-row i { color: #3c3c3c; }
.queue-sheet-row i .icon { width: 25px; height: 25px; }
.queue-sheet-actions { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom,0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 80px calc(-24px - env(safe-area-inset-bottom,0px)); padding: 17px 0 calc(22px + env(safe-area-inset-bottom,0px)); background: linear-gradient(180deg,transparent,#1e1e1e 18%); }
.queue-sheet-actions button { min-height: 78px; border: 0; border-radius: 13px; background: #383838; color: #fff; display: flex; flex-direction: column; gap: 7px; align-items: center; justify-content: center; font-size: 12px; }
.queue-sheet-actions button.active { color: #1ed760; }
.queue-sheet-actions .icon { width: 29px; height: 29px; }
.timer-player-sheet { height: 48svh; min-height: 48svh; padding-left: 0; padding-right: 0; }
.timer-player-sheet .player-sheet-handle { margin-bottom: 37px; }
.timer-sheet-title { margin: 0; padding: 0 24px 28px; border-bottom: 1px solid rgba(255,255,255,.13); text-align: center; font-size: 19px; font-weight: 900; }
.timer-options { display: flex; flex-direction: column; }
.timer-options button { min-height: 76px; padding: 0 24px; border: 0; background: transparent; color: #fff; text-align: left; font-size: 18px; cursor: pointer; }
.credit-card { padding-bottom: 12px; }
.credit-card h3 { margin: 0 0 22px; font-size: 22px; }
.credit-card p { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 15px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.credit-card p strong { color: #aaa; }
.song-code-card { text-align: center; padding: 8px 0 20px; }
.song-code-card img { width: 110px; height: 110px; margin: 0 auto 16px; border-radius: 12px; object-fit: cover; }
.song-code-card h3 { margin: 0; font-size: 20px; }
.song-code-card p { margin: 6px 0 20px; color: #aaa; }
.song-code-bars { min-height: 64px; display: flex; gap: 3px; align-items: center; justify-content: center; padding: 12px; border-radius: 13px; background: #fff; }
.song-code-bars i { width: 3px; display: block; border-radius: 2px; background: #000; }
.song-code-card small { display: block; margin-top: 12px; color: #999; }
.lyrics { white-space: pre-wrap; font-size: 18px; line-height: 1.75; color: #eaeaea; padding-bottom: 30px; }
.lyrics-loading { padding: 55px 0; text-align: center; color: var(--muted); }
.form-group { margin: 16px 0; }
.form-group label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.form-control { width: 100%; border: 1px solid var(--line); background: #222; color: #fff; border-radius: 14px; padding: 13px 14px; outline: 0; }
.primary-btn { width: 100%; border: 0; border-radius: 15px; padding: 14px 16px; background: var(--accent); color: #fff; font-weight: 800; cursor: pointer; }
.switch { width: 48px; height: 28px; border-radius: 99px; background: #444; position: relative; flex: 0 0 auto; transition: .2s; }
.switch::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: white; position: absolute; left: 3px; top: 3px; transition: .2s; }
.switch.on { background: var(--accent); }
.switch.on::after { left: 23px; }
.queue-list { display: flex; flex-direction: column; gap: 4px; }
.queue-item { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 8px; border-radius: 13px; cursor: pointer; }
.queue-item.current { background: rgba(255,36,80,.12); }
.queue-item img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.queue-item strong, .queue-item span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.queue-item span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; background: #222; color: var(--muted); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #f6a72e; }
.status-dot.ok { background: #3ed47a; }
.error-banner { margin: 14px 25px; padding: 13px 15px; background: rgba(255,77,98,.12); border: 1px solid rgba(255,77,98,.25); color: #ffc4cd; border-radius: 14px; font-size: 13px; line-height: 1.5; }
@media (min-width: 561px) {
  body { background: radial-gradient(circle at top,#272727,#050505 42%); }
  .app-shell { min-height: 100vh; }
}
@media (max-width: 390px) {
  .topbar { padding-left: 18px; padding-right: 18px; }
  .section, .chips { padding-left: 18px; padding-right: 18px; }
  .track-grid { gap: 11px 9px; }
  .spotlight-content { left: 20px; bottom: 22px; }
  .settings-list { padding: 0 20px; }
  .settings-top-cards { padding-left: 20px; padding-right: 20px; gap: 12px; }
}

@media (max-width: 430px) {
  .player-content { padding-left: 24px; padding-right: 24px; }
  .player-cover { margin-top: 70px; }
  .live-lyric-line { margin-top: 70px; margin-bottom: 64px; }
  .queue-sheet-actions { margin-left: 72px; margin-right: 72px; }
  .full-lyrics-controls { padding-left: 28px; padding-right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* V1.2.0: synced lyrics, animated lyric tracking, and player-matched skeletons */
.skeleton { display: block; overflow: hidden; background: linear-gradient(90deg,#161d25 18%,#29323d 42%,#161d25 66%); background-size: 220% 100%; animation: shimmer 1.25s linear infinite; }
.skeleton-line { border-radius: 8px; }
.skeleton-circle { border-radius: 50%; }
.skeleton-pill { border-radius: 999px; }
.player-loading-bg { filter: blur(68px) saturate(.7) brightness(.25); opacity: .56; }
.player-context-skeleton { display: grid; justify-items: center; gap: 7px; }
.sk-context-top { width: 116px; height: 10px; }
.sk-context-bottom { width: 155px; height: 15px; margin: 0 !important; }
.player-top-placeholder { width: 31px; height: 31px; justify-self: center; }
.player-cover-skeleton { border: 0; box-shadow: none; }
.player-live-skeleton { display: flex; align-items: center; }
.sk-live { width: min(68%,340px); height: 23px; }
.player-copy-skeleton { display: grid; gap: 11px; }
.sk-title { width: min(72%,310px); height: 27px; }
.sk-artist { width: min(42%,190px); height: 18px; }
.sk-save { width: 50px; height: 50px; }
.player-progress-skeleton .sk-progress { width: 100%; height: 4px; border-radius: 99px; }
.player-progress-skeleton .time-row { align-items: center; }
.sk-time { width: 34px; height: 11px; }
.player-controls-skeleton { min-height: 121px; }
.sk-control { width: 43px; height: 43px; margin: auto; }
.sk-control-main { width: 80px; height: 80px; background: linear-gradient(90deg,#d9d9d9 18%,#f8f8f8 42%,#d9d9d9 66%); background-size: 220% 100%; }
.player-secondary-skeleton { min-height: 78px; }
.sk-secondary { width: 32px; height: 32px; margin-left: 16px; }
.player-secondary-skeleton .sk-secondary:first-child { margin-left: 0; }
.lyrics-skeleton-card { cursor: default; }
.sk-lyrics-heading { width: 145px; height: 23px; margin-bottom: 34px; }
.skeleton-lyrics-lines { display: grid; align-content: start; gap: 26px; height: 235px; min-height: 235px; overflow: hidden; }
.sk-lyrics-line { height: 22px; }
.sk-long { width: 92%; }
.sk-medium { width: 74%; }
.sk-active { width: 86%; height: 27px; }
.sk-short { width: 61%; }
.sk-lyrics-button { width: 144px; height: 46px; }
.live-lyric-line { will-change: opacity,transform,filter; transition: opacity .14s ease, transform .14s ease, filter .14s ease; }
.live-lyric-line.lyric-changing { opacity: 0; transform: translateY(-10px); filter: blur(3px); }
.live-lyric-line.lyric-entering { animation: lyricLineEnter .34s cubic-bezier(.22,.8,.3,1); }
@keyframes lyricLineEnter { from { opacity: 0; transform: translateY(15px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.lyrics-preview-body { position: relative; height: 278px; min-height: 278px; overflow: hidden; scroll-behavior: smooth; overscroll-behavior: none; }
.lyrics-preview-track { padding: 8px 0 152px; }
.lyric-preview-line { opacity: .76; transform: scale(.985); transform-origin: left center; transition: color .32s ease, transform .32s cubic-bezier(.22,.8,.3,1), opacity .32s ease, font-size .32s ease; }
.lyric-preview-line.active { opacity: 1; transform: scale(1); }
.full-lyric-line { opacity: .76; transform-origin: left center; transition: color .32s ease, font-size .32s cubic-bezier(.22,.8,.3,1), opacity .32s ease, transform .32s ease; }
.full-lyric-line.active { opacity: 1; transform: translateX(1px); }

@media (max-width: 430px) {
  .skeleton-lyrics-lines { height: 225px; min-height: 225px; }
  .lyrics-preview-body { height: 266px; min-height: 266px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-lyric-line,
  .lyric-preview-line,
  .full-lyric-line { animation: none !important; transition: none !important; }
  .lyrics-preview-body,
  .full-lyrics-scroll { scroll-behavior: auto !important; }
}


/* V1.3.0: real-time lyrics and draggable Spotify-style player sheets */
html.sheet-open, body.sheet-open { overflow: hidden !important; overscroll-behavior: none; }
.player-sheet-backdrop {
  --sheet-backdrop-opacity: .66;
  background: rgba(0,0,0,var(--sheet-backdrop-opacity));
  transition: background-color .28s ease;
}
.player-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%,560px);
  height: 0;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 25px 25px 0 0;
  transition: height .3s cubic-bezier(.2,.82,.2,1);
  will-change: height;
}
.player-sheet.is-dragging { transition: none !important; user-select: none; }
.player-sheet-drag-zone {
  position: relative;
  z-index: 8;
  flex: 0 0 35px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
  cursor: grab;
  touch-action: none;
}
.player-sheet.is-dragging .player-sheet-drag-zone { cursor: grabbing; }
.player-sheet-handle {
  width: 55px;
  height: 6px;
  margin: 0;
  border-radius: 99px;
  background: #666;
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
}
.player-sheet-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 0 24px calc(24px + env(safe-area-inset-bottom,0px));
  scrollbar-width: none;
}
.player-sheet-scroll::-webkit-scrollbar { display: none; }
.player-sheet[data-sheet-snap="full"] .player-sheet-scroll { overflow-y: auto; }
.player-sheet[data-sheet-snap="half"] .player-sheet-scroll { overflow-y: hidden; }
.queue-player-sheet { height: 0; max-height: none; padding: 0; }
.queue-player-sheet .player-sheet-scroll {
  padding-bottom: calc(126px + env(safe-area-inset-bottom,0px));
}
.queue-sheet-actions {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 28px 88px calc(18px + env(safe-area-inset-bottom,0px));
  background: linear-gradient(180deg,rgba(30,30,30,0) 0%,rgba(30,30,30,.82) 23%,#1e1e1e 48%,#1e1e1e 100%);
  pointer-events: none;
}
.queue-sheet-actions button {
  min-height: 78px;
  pointer-events: auto;
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
}
.queue-sheet-head { padding-top: 1px; }
.timer-player-sheet { height: 0; min-height: 0; padding: 0; }
.timer-player-sheet .player-sheet-scroll {
  overflow: hidden !important;
  padding: 0 0 calc(12px + env(safe-area-inset-bottom,0px));
}
.timer-player-sheet .player-sheet-drag-zone { flex-basis: 43px; padding-top: 15px; }
.timer-sheet-title { padding-top: 5px; padding-bottom: 25px; }
.timer-options button { min-height: 68px; }
.track-menu-sheet .player-sheet-scroll { padding-bottom: calc(28px + env(safe-area-inset-bottom,0px)); }
.track-menu-sheet[data-sheet-snap="half"] .track-menu-list { pointer-events: auto; }
@media (max-width: 430px) {
  .queue-sheet-actions { padding-left: 72px; padding-right: 72px; }
}
.timer-player-sheet .player-sheet-handle { margin: 0; }
.timer-player-sheet .player-sheet-scroll { display: flex; flex-direction: column; }
.timer-player-sheet .timer-options { flex: 1 1 auto; min-height: 0; }
.timer-player-sheet .timer-options button { flex: 1 1 0; min-height: 50px; }


/* V1.4.0: compact player, artwork-derived accent gradient, compact and lighter sheets */
.player-page {
  --player-accent-rgb: 43,84,105;
  background: #080b0f;
}
.player-art-bg { opacity: 0; filter: none; }
.player-shade {
  background: linear-gradient(
    180deg,
    rgba(var(--player-accent-rgb),.96) 0%,
    rgba(var(--player-accent-rgb),.78) 17%,
    rgba(var(--player-accent-rgb),.48) 37%,
    rgba(7,12,17,.93) 61%,
    #090c10 72%,
    #090c10 100%
  );
  transition: background .38s ease;
}
.player-content { padding-top: calc(16px + env(safe-area-inset-top,0px)); }
.player-cover {
  margin-top: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.live-lyric-line {
  min-height: 25px;
  margin: 18px 0 25px;
  font-size: clamp(17px,4.25vw,20px);
  line-height: 1.3;
}
.player-info-row { gap: 13px; }
.player-title { font-size: clamp(21px,4.9vw,26px); }
.player-artist { margin-top: 5px; font-size: 15.5px; }
.save-track-btn { width: 47px; height: 47px; }
.save-track-btn .icon { width: 44px; height: 44px; }
.progress-wrap { padding-top: 25px; }
.player-controls { padding: 15px 0 10px; }
.control-btn { width: 52px; height: 52px; }
.control-btn .icon { width: 31px; height: 31px; }
.control-btn.small .icon { width: 25px; height: 25px; }
.main-play { width: 72px; height: 72px; }
.main-play .icon { width: 36px; height: 36px; }
.player-secondary-actions { padding: 3px 0 13px; }
.secondary-action { width: 43px; height: 43px; margin-left: 12px; }
.secondary-action .icon { width: 26px; height: 26px; }
.lyrics-preview-card {
  margin-top: 0;
  padding: 19px 20px 21px;
  border-radius: 21px;
}
.lyrics-preview-card h2 { margin-bottom: 18px; font-size: 18px; }
.lyrics-preview-body { height: 210px; min-height: 210px; }
.lyrics-preview-track { padding: 3px 0 108px; }
.lyric-preview-line {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 730;
}
.lyric-preview-line.active { font-size: 18px; font-weight: 900; }
.show-lyrics-btn { padding: 11px 19px; font-size: 13px; }
.lyrics-preview-loading, .lyrics-preview-empty { min-height: 150px; font-size: 14px; }
.skeleton-lyrics-lines { height: 210px; min-height: 210px; gap: 18px; }
.sk-lyrics-heading { margin-bottom: 22px; }

.player-sheet-backdrop {
  background: rgba(0,0,0,.58);
  opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.player-sheet {
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -9px 28px rgba(0,0,0,.34);
  transition: height .25s cubic-bezier(.2,.82,.2,1);
  contain: layout paint style;
  will-change: auto;
}
.player-sheet-drag-zone {
  flex-basis: 30px;
  padding-top: 9px;
}
.player-sheet-handle { width: 45px; height: 5px; background: #646464; }
.player-sheet-scroll {
  padding: 0 18px calc(18px + env(safe-area-inset-bottom,0px));
  touch-action: none;
}
.track-sheet-head {
  grid-template-columns: 52px minmax(0,1fr);
  gap: 12px;
  padding-bottom: 14px;
}
.track-sheet-head img { width: 52px; height: 52px; }
.track-sheet-head strong { font-size: 16px; }
.track-sheet-head span { margin-top: 4px; font-size: 14px; }
.track-sheet-divider { margin: 0 -18px 5px; }
.track-menu-list { padding-bottom: 6px; }
.track-menu-list button {
  min-height: 52px;
  grid-template-columns: 39px minmax(0,1fr) auto;
  gap: 10px;
  font-size: 15.5px;
}
.track-menu-icon { width: 38px; height: 38px; }
.track-menu-icon .icon { width: 26px; height: 26px; }
.favorite-tile { width: 31px; height: 31px; margin-left: 3px; }
.favorite-tile .icon { width: 17px; height: 17px; }
.datzon-premium { font-size: 10.5px; }

.queue-player-sheet .player-sheet-scroll { padding-bottom: calc(104px + env(safe-area-inset-bottom,0px)); }
.queue-sheet-head h2 { font-size: 21px; }
.queue-sheet-head p { margin: 3px 0 14px; font-size: 12.5px; }
.queue-now { grid-template-columns: 52px minmax(0,1fr) 45px; gap: 12px; }
.queue-now img { width: 52px; height: 52px; }
.queue-now strong { font-size: 15px; }
.queue-now span { margin-top: 4px; font-size: 12.5px; }
.queue-now button { width: 43px; height: 43px; }
.queue-now button .icon { width: 22px; height: 22px; }
.queue-divider-label { margin: 16px 0 7px; font-size: 12px; }
.queue-sheet-row {
  grid-template-columns: 51px minmax(0,1fr) 29px;
  gap: 11px;
  padding: 5px 0;
}
.queue-sheet-row img { width: 51px; height: 51px; }
.queue-sheet-row strong { font-size: 15px; }
.queue-sheet-row small { margin-top: 3px; font-size: 12.5px; }
.queue-sheet-row i .icon { width: 22px; height: 22px; }
.queue-sheet-actions {
  gap: 13px;
  padding: 21px 92px calc(14px + env(safe-area-inset-bottom,0px));
  background: linear-gradient(180deg,rgba(30,30,30,0),rgba(30,30,30,.74) 24%,#1e1e1e 50%);
}
.queue-sheet-actions button {
  min-height: 66px;
  gap: 5px;
  border-radius: 11px;
  font-size: 11px;
  box-shadow: 0 5px 17px rgba(0,0,0,.14);
}
.queue-sheet-actions .icon { width: 25px; height: 25px; }

.timer-player-sheet .player-sheet-drag-zone { flex-basis: 31px; padding-top: 9px; }
.timer-player-sheet .player-sheet-scroll { padding-bottom: calc(10px + env(safe-area-inset-bottom,0px)); }
.timer-sheet-title {
  padding: 3px 18px 14px;
  font-size: 17px;
}
.timer-options button {
  min-height: 46px !important;
  flex: 0 0 46px !important;
  padding: 0 20px;
  font-size: 15.5px;
}

.modal-backdrop { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.modal { border-radius: 20px 20px 0 0; padding-left: 18px; padding-right: 18px; }
.modal-head h2 { font-size: 20px; }
.modal-option { padding: 12px 13px; border-radius: 13px; font-size: 14px; }
.credit-card h3 { margin-bottom: 14px; font-size: 19px; }
.credit-card p { padding: 9px 0; font-size: 14px; }
.song-code-card img { width: 92px; height: 92px; }

@media (max-width: 430px) {
  .player-content { padding-left: 22px; padding-right: 22px; }
  .player-cover { margin-top: 15px; }
  .live-lyric-line { margin-top: 15px; margin-bottom: 22px; }
  .lyrics-preview-body { height: 198px; min-height: 198px; }
  .queue-sheet-actions { padding-left: 70px; padding-right: 70px; }
}

/* V1.5.0 compact popups, repeat control, queue editor */
.player-page {
  --lyrics-card-rgb: 40,84,110;
}
.player-shade {
  background: linear-gradient(180deg, rgba(var(--player-accent-rgb),.95) 0%, rgba(var(--player-accent-rgb),.72) 16%, rgba(8,11,15,.92) 56%, #090c10 72%, #090c10 100%);
}
.player-cover {
  margin-top: 10px;
}
.live-lyric-line {
  margin: 12px 0 16px;
  min-height: 20px;
  font-size: clamp(15px,3.9vw,18px);
}
.player-info-row {
  align-items: flex-start;
}
.player-info-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.track-hide-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #d7d7d7;
  display: grid;
  place-items: center;
}
.track-hide-btn .icon { width: 24px; height: 24px; }
.player-controls { padding: 10px 0 8px; }
.control-btn.active,
.secondary-action.active {
  color: #1ed760;
}
.repeat-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.repeat-wrap em {
  position: absolute;
  inset: auto auto 3px 17px;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.player-secondary-actions {
  gap: 12px;
  padding: 6px 0 10px;
}
.secondary-action {
  margin-left: 0;
}
.secondary-spacer {
  flex: 1 1 auto;
}
.lyrics-preview-card {
  margin-top: 8px;
  padding: 16px 16px 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(var(--lyrics-card-rgb),.95) 0%, rgba(var(--lyrics-card-rgb),.84) 42%, rgba(var(--lyrics-card-rgb),.72) 100%);
}
.lyrics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lyrics-card-head h2 { margin: 0; }
.lyrics-card-actions {
  display: flex;
  gap: 8px;
}
.lyrics-card-actions button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #fff;
  display: grid;
  place-items: center;
}
.lyrics-card-actions .icon { width: 20px; height: 20px; }
.lyrics-preview-body {
  height: 180px;
  min-height: 180px;
}
.lyrics-preview-track { padding: 3px 0 86px; }
.lyric-preview-line {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.34;
}
.lyric-preview-line.active {
  font-size: 15px;
}

.player-sheet-backdrop,
.modal-backdrop {
  background: rgba(0,0,0,.58) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.player-sheet,
.modal,
.player-sheet-scroll,
.queue-sheet-actions,
.queue-edit-footer,
.timer-player-sheet .player-sheet-scroll,
.track-menu-sheet .player-sheet-scroll,
.connect-sheet,
.hide-track-sheet {
  background: #1F1F1F !important;
}
.player-sheet {
  box-shadow: 0 -10px 32px rgba(0,0,0,.38);
}
.player-sheet-scroll {
  padding: 0 16px calc(16px + env(safe-area-inset-bottom,0px));
}
.queue-player-sheet .player-sheet-scroll {
  padding-bottom: calc(150px + env(safe-area-inset-bottom,0px));
}
.track-menu-list button {
  min-height: 46px;
  font-size: 14.5px;
}
.timer-sheet-title {
  font-size: 18px;
  padding: 4px 16px 12px;
}
.timer-options {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.timer-options button {
  min-height: 36px !important;
  flex: 0 0 36px !important;
  font-size: 14px;
  justify-content: flex-start;
  padding: 0 22px;
}
.queue-sheet-head.compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}
.queue-sheet-head.compact-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}
.queue-sheet-head.compact-head p {
  margin: 4px 0 12px;
  font-size: 12.5px;
  color: #adadad;
}
.queue-edit-toggle {
  min-width: 68px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #373737;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 0 16px;
}
.queue-edit-toggle.close-mode {
  width: 38px;
  min-width: 38px;
  padding: 0;
}
.queue-now {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 48px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.queue-now img,
.queue-sheet-row img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}
.queue-now strong,
.queue-sheet-row strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-now span,
.queue-sheet-row small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #adadad;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-now button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #f0f0f0;
  color: #111;
}
.queue-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
}
.queue-sheet-row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 36px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
}
.queue-sheet-row.is-editing {
  grid-template-columns: 26px 52px minmax(0,1fr) 36px;
}
.queue-sheet-row.drag-over {
  background: rgba(255,255,255,.06);
}
.queue-sheet-row.dragging {
  opacity: .55;
}
.queue-select {
  width: 22px;
  height: 22px;
  border: 2px solid #cfcfcf;
  border-radius: 999px;
  background: transparent;
}
.queue-select.selected {
  border-color: #1ed760;
  background: radial-gradient(circle at center, #1ed760 0 45%, transparent 48%);
}
.queue-drag-handle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d6d6d6;
  display: grid;
  place-items: center;
}
.queue-drag-handle .icon,
.queue-now-toggle .icon { width: 22px; height: 22px; }
.queue-skeleton-row {
  grid-template-columns: 52px minmax(0,1fr) 28px;
}
.queue-skeleton-cover,
.queue-skeleton-handle {
  width: 52px;
  height: 52px;
  border-radius: 6px;
}
.queue-skeleton-handle {
  width: 28px;
  height: 28px;
  justify-self: end;
}
.queue-skeleton-copy { display: flex; flex-direction: column; gap: 8px; }
.queue-skeleton-copy .skeleton-line.short { width: 55%; }
.queue-sheet-actions.solid-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 16px calc(10px + env(safe-area-inset-bottom,0px));
  border-top: 1px solid rgba(255,255,255,.06);
}
.queue-sheet-actions.solid-actions button {
  min-height: 68px;
  border: 0;
  border-radius: 13px;
  background: #323232;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
}
.queue-sheet-actions.solid-actions button.active {
  color: #1ed760;
}
.queue-sheet-actions.solid-actions .icon { width: 22px; height: 22px; }
.queue-sheet-actions.solid-actions .repeat-wrap em { inset: auto auto 1px 14px; font-size: 9px; }
.queue-edit-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(92px + env(safe-area-inset-bottom,0px));
  display: none;
  gap: 12px;
  padding: 10px 16px 0;
}
.queue-edit-footer.show {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.queue-edit-footer button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #373737;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.queue-edit-footer button.danger.enabled { color: #ffb3b3; }
.queue-edit-footer button.disabled { opacity: .45; }
.hide-track-sheet,
.connect-sheet {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}
.hide-track-art {
  display: flex;
  justify-content: center;
}
.hide-track-art img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
}
.hide-track-copy h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}
.hide-track-copy p {
  margin: 8px 0 0;
  color: #bdbdbd;
  text-align: center;
  line-height: 1.5;
  font-size: 13.5px;
}
.hide-track-confirm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hide-track-confirm button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
}
.hide-track-confirm .cancel-btn {
  background: transparent;
  color: #1ed760;
}
.hide-track-confirm .confirm-btn {
  background: #343434;
  color: #fff;
}
.connect-sheet h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.connect-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #2a2a2a;
}
.connect-card strong { font-size: 17px; }
.connect-card small {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #3a3a3a;
  font-size: 11px;
  color: #d8d8d8;
}
.connect-card p { margin: 10px 0 0; color: #1ed760; font-size: 14px; }
.connect-device {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(30,215,96,.1);
  color: #1ed760;
  display: grid;
  place-items: center;
}
.connect-device .icon { width: 28px; height: 28px; }
.connect-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #eaeaea;
  line-height: 1.45;
}
.switch-toggle {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 32px;
}
.switch-toggle input { display: none; }
.switch-toggle span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #1ed760;
  position: relative;
}
.switch-toggle span::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #101010;
}
.connect-empty {
  padding-top: 2px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #9e9e9e;
  font-size: 14px;
}
.connect-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}
.connect-actions button {
  min-height: 76px;
  border: 0;
  border-radius: 14px;
  background: #2c2c2c;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}
.connect-actions .icon { width: 24px; height: 24px; }

@media (max-width: 430px) {
  .player-content { padding-left: 18px; padding-right: 18px; }
  .queue-player-sheet .player-sheet-scroll { padding-bottom: calc(146px + env(safe-area-inset-bottom,0px)); }
  .queue-sheet-actions.solid-actions { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .queue-sheet-actions.solid-actions button { min-height: 64px; }
}


/* V1.5.0 final fixes: fully opaque sheets and mobile queue editing */
.player-sheet-backdrop {
  --sheet-backdrop-opacity: 0;
  opacity: 1 !important;
  background: rgba(0,0,0,var(--sheet-backdrop-opacity)) !important;
  transition: background-color .22s ease !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.player-sheet,
.player-sheet-scroll,
.queue-sheet-actions,
.queue-edit-footer,
.timer-player-sheet .player-sheet-scroll,
.track-menu-sheet .player-sheet-scroll,
.hide-track-menu-sheet .player-sheet-scroll {
  background: #1F1F1F !important;
  opacity: 1 !important;
}
.player-sheet { box-shadow: 0 -15px 42px rgba(0,0,0,.72) !important; }
.queue-sheet-actions.solid-actions { background:#1F1F1F !important; box-shadow:0 -14px 24px rgba(0,0,0,.32); }
.queue-sheet-actions.is-hidden { display:none !important; }
.queue-edit-footer { bottom:0 !important; padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px)); background:#1F1F1F !important; border-top:1px solid rgba(255,255,255,.06); box-shadow:0 -14px 24px rgba(0,0,0,.32); }
.queue-edit-footer.show { display:grid; grid-template-columns:1fr 1fr; }
.queue-edit-footer button { min-height:46px; }
.queue-player-sheet .player-sheet-scroll { padding-bottom:calc(94px + env(safe-area-inset-bottom,0px)); }
.queue-sheet-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.queue-edit-toggle { transition:transform .18s ease,opacity .18s ease,background .18s ease; }
.queue-edit-toggle.close-mode { animation:queueEditIn .2s ease; }
@keyframes queueEditIn { from { opacity:0; transform:scale(.72) rotate(-45deg); } to { opacity:1; transform:scale(1) rotate(0); } }
.queue-sheet-row { display:grid !important; grid-template-columns:minmax(0,1fr) 34px !important; gap:8px !important; min-height:59px; }
.queue-sheet-row.is-editing { grid-template-columns:28px minmax(0,1fr) 34px !important; }
.queue-row-main { min-width:0; width:100%; display:grid; grid-template-columns:51px minmax(0,1fr); gap:11px; align-items:center; padding:0; border:0; background:transparent; color:#fff; text-align:left; }
.queue-row-main img { width:51px; height:51px; border-radius:5px; object-fit:cover; }
.queue-row-main span { min-width:0; }
.queue-row-main strong,.queue-row-main small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.queue-row-main strong { font-size:15px; font-weight:560; }
.queue-row-main small { margin-top:3px; color:#aaa; font-size:12.5px; }
.queue-select { width:21px; height:21px; justify-self:center; }
.queue-select.selected { border-color:#1ed760; background:#1ed760; box-shadow:inset 0 0 0 5px #1F1F1F; }
.queue-drag-handle { touch-action:none; cursor:grab; }
.queue-sheet-row.is-reordering { opacity:.96; transform:scale(.99); background:#2B2B2B; border-radius:8px; box-shadow:0 9px 22px rgba(0,0,0,.4); z-index:4; }
.queue-skeleton-row { grid-template-columns:51px minmax(0,1fr) 25px !important; }
.queue-skeleton-cover { width:51px; height:51px; border-radius:5px; }
.queue-skeleton-copy { display:grid; gap:8px; }
.queue-skeleton-copy i { display:block; height:12px; border-radius:6px; }
.queue-skeleton-copy i:last-child { width:58%; height:9px; }
.queue-skeleton-handle { width:22px; height:22px; border-radius:5px; justify-self:end; }
.queue-sheet-actions.solid-actions button { min-width:0; padding:6px 3px; }
.queue-sheet-actions.solid-actions button span:last-child { max-width:70px; text-align:center; line-height:1.1; }
.hide-track-menu-sheet .player-sheet-scroll { padding-bottom:calc(20px + env(safe-area-inset-bottom,0px)); }
.hide-track-sheet { gap:12px; }
.hide-track-top { display:grid; grid-template-columns:1fr 70px 1fr; align-items:center; }
.hide-track-top img { grid-column:2; width:70px; height:70px; border-radius:7px; object-fit:cover; }
.hide-track-top .cancel-btn { grid-column:3; justify-self:end; border:0; background:transparent; color:#1ed760; font-weight:800; }
.hide-track-copy h3 { font-size:18px; }
.hide-track-copy p { font-size:12.5px; }
.hide-track-sheet > .confirm-btn { min-height:50px; border:0; border-radius:999px; background:#353535; color:#fff; display:flex; align-items:center; justify-content:center; gap:9px; font-weight:800; }
.hide-track-sheet > .confirm-btn .icon { width:22px; height:22px; }
@media (max-width:430px) {
  .queue-sheet-actions.solid-actions { gap:7px; padding-left:11px; padding-right:11px; }
  .queue-sheet-actions.solid-actions button { min-height:62px; font-size:10px; }
}

.track-hide-btn { background: transparent !important; }

/* V1.6.0 layout, repeat icon, queue step menu, and synced lyric theme fixes */
.player-info-row {
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 12px !important;
}
.player-info-actions {
  min-width: 98px;
  justify-content: flex-end;
  gap: 8px !important;
}
.track-hide-btn,
.save-track-btn {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
}
.save-track-btn .icon { width: 43px !important; height: 43px !important; }

.repeat-wrap {
  width: 1em;
  height: 1em;
}
.repeat-wrap > .icon {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
.repeat-wrap em {
  position: absolute !important;
  inset: 0 !important;
  display: grid;
  place-items: center;
  padding-top: 1px;
  font-size: .31em !important;
  font-weight: 950;
  line-height: 1;
  color: currentColor;
  pointer-events: none;
}
.control-btn .repeat-wrap { width: 30px; height: 30px; }
.queue-sheet-actions .repeat-wrap { width: 24px; height: 24px; }

.queue-edit-toggle.cancel-mode {
  min-width: 68px !important;
  width: auto !important;
  padding: 0 16px !important;
  animation: queueEditIn .2s ease;
}
.queue-drag-handle {
  cursor: pointer !important;
  touch-action: manipulation !important;
}
.queue-move-menu {
  position: fixed;
  z-index: 140;
  width: 132px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: #292929;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.55);
  animation: queueMoveMenuIn .16s ease both;
}
.queue-move-menu button {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}
.queue-move-menu button + button { border-top: 1px solid rgba(255,255,255,.07); }
.queue-move-menu button:active { background: #363636; }
.queue-move-menu button:disabled { opacity: .34; }
.queue-move-menu .icon { width: 21px; height: 21px; }
@keyframes queueMoveMenuIn {
  from { opacity: 0; transform: translateY(5px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.full-lyrics-page {
  --lyrics-page-rgb: 36,74,110;
  background:
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.05) 42%, rgba(255,255,255,.10) 100%),
    rgb(var(--lyrics-page-rgb)) !important;
}
.full-lyrics-page::after {
  background:
    linear-gradient(180deg,
      rgba(var(--lyrics-page-rgb),.68) 0%,
      rgba(var(--lyrics-page-rgb),.78) 47%,
      rgba(var(--lyrics-page-rgb),.90) 100%) !important;
}
.full-lyrics-header {
  background: linear-gradient(180deg, rgba(var(--lyrics-page-rgb),.98), rgba(var(--lyrics-page-rgb),.76), transparent) !important;
}
.full-lyrics-controls {
  background: linear-gradient(180deg, transparent 0%, rgba(var(--lyrics-page-rgb),.66) 22%, rgba(var(--lyrics-page-rgb),.97) 54%, rgb(var(--lyrics-page-rgb)) 100%) !important;
}
.full-lyrics-loading,
.lyrics-preview-empty { color: rgba(255,255,255,.82) !important; }

/* V1.7.0: API key rotation UI refresh, Spotify-inspired shell, scroll and lyrics gradient fixes */
:root { --spotify-green:#1ed760; --surface:#121212; --surface-2:#1f1f1f; --muted:#a7a7a7; }
body { background:#000; }
.view { background:#101010; }
.page.spotify-home-page,
.page.spotify-search-page,
.page.spotify-library-page,
.page.spotify-settings-page { min-height:100svh; padding:18px 14px calc(190px + env(safe-area-inset-bottom,0px)); background:#101010; color:#fff; }

/* Main bottom navigation */
.bottom-nav { grid-template-columns:repeat(4,1fr); height:76px; padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px)); background:linear-gradient(180deg,rgba(8,8,8,.94),#050505 30%); border-top:0; }
.nav-item { gap:4px; color:#a4a4a4; font-size:10px; }
.nav-item.active { color:#fff; }
.nav-icon-wrap { width:31px; height:31px; }
.nav-icon-wrap .icon { width:27px; height:27px; }

/* Shared avatar and page headers */
.avatar-button { width:48px; height:48px; flex:0 0 48px; border:0; border-radius:50%; background:#ff633d; color:#111; display:grid; place-items:center; font-size:20px; font-weight:800; }
.spotify-main-head,.search-title-row,.library-title-row { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.search-title-row h1,.library-title-row h1 { margin:0; font-size:28px; font-weight:900; flex:1; }
.search-title-row > button:not(.avatar-button),.library-title-row > button:not(.avatar-button) { width:44px; height:44px; border:0; background:transparent; color:#fff; display:grid; place-items:center; }
.search-title-row .icon,.library-title-row .icon { width:29px; height:29px; }

/* Home */
.spotify-home-page { background:linear-gradient(180deg,#163900 0,#142a08 7%,#101010 27%); }
.home-filter-pills { display:flex; gap:9px; }
.home-filter-pills button,.library-pills button { border:0; border-radius:999px; background:#2b2b2b; color:#fff; padding:10px 20px; font-size:14px; }
.home-filter-pills button.active { color:#0b0b0b; background:var(--spotify-green); }
.home-shortcuts { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:50px; }
.home-shortcuts button { height:64px; padding:0; border:0; border-radius:5px; overflow:hidden; background:#2b2b2b; color:#fff; display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; text-align:left; }
.home-shortcuts img,.liked-art { width:64px; height:64px; object-fit:cover; display:grid; place-items:center; background:linear-gradient(135deg,#582bd7,#b7f4da); }
.liked-art .icon { width:27px; height:27px; }
.home-shortcuts strong { padding:0 11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.spotify-section { margin:0 0 38px; }
.spotify-section h1,.spotify-section h2 { margin:3px 0 18px; font-size:25px; line-height:1.15; font-weight:900; }
.spotify-kicker { margin:0; color:#aaa; font-size:14px; }
.spotify-home-list { display:flex; flex-direction:column; }
.spotify-home-row { width:100%; min-height:67px; border:0; background:transparent; color:#fff; padding:6px 0; display:grid; grid-template-columns:58px minmax(0,1fr) 32px 30px; gap:12px; align-items:center; text-align:left; }
.spotify-home-row img { width:58px; height:58px; object-fit:cover; border-radius:3px; }
.spotify-home-row span { min-width:0; }
.spotify-home-row strong,.spotify-home-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spotify-home-row strong { font-size:16px; font-weight:500; }
.spotify-home-row small { color:#aaa; margin-top:5px; font-size:14px; }
.spotify-home-row > .icon { color:var(--spotify-green); width:23px; height:23px; }
.spotify-home-row i { color:#aaa; display:grid; place-items:center; }
.spotify-home-row i .icon { width:22px; height:22px; }
.radio-carousel,.album-carousel { display:flex; gap:15px; overflow-x:auto; scrollbar-width:none; margin:0 -14px; padding:0 14px 6px; scroll-snap-type:x proximity; }
.radio-carousel::-webkit-scrollbar,.album-carousel::-webkit-scrollbar { display:none; }
.radio-card { flex:0 0 276px; border:0; background:transparent; color:#fff; padding:0; text-align:left; scroll-snap-align:start; }
.radio-art { position:relative; height:276px; border-radius:7px; overflow:hidden; background:#e6c576; }
.radio-art img { width:100%; height:100%; object-fit:cover; filter:saturate(.9); }
.radio-art::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(0,0,0,.18)); }
.radio-art span { position:absolute; z-index:1; top:16px; right:18px; font-size:15px; font-weight:900; letter-spacing:2px; }
.radio-card p { margin:10px 0 0; color:#aaa; font-size:14px; line-height:1.35; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.album-card { flex:0 0 170px; border:0; background:transparent; color:#fff; padding:0; text-align:left; }
.album-card img { width:170px; height:170px; border-radius:6px; object-fit:cover; }
.album-card strong,.album-card span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.album-card strong { margin-top:10px; font-size:15px; }
.album-card span { margin-top:5px; color:#aaa; font-size:13px; }
.spotify-error { margin:-30px 0 25px; padding:12px 14px; border-radius:9px; background:#242424; color:#ddd; font-size:13px; }
.spotify-error button { margin-left:8px; border:0; background:transparent; color:var(--spotify-green); font-weight:800; }

/* Search */
.spotify-search-box { height:58px; border-radius:5px; background:#fff; color:#111; display:grid; grid-template-columns:48px minmax(0,1fr) auto 45px; align-items:center; padding:0 5px; margin-bottom:26px; }
.spotify-search-box > span { display:grid; place-items:center; }
.spotify-search-box .icon { width:28px; height:28px; }
.spotify-search-box input { min-width:0; border:0; outline:0; background:transparent; color:#111; font-size:16px; font-weight:700; }
.spotify-search-box button { width:39px; height:39px; border:0; border-radius:50%; background:#111; color:#fff; display:grid; place-items:center; }
.spotify-search-box .search-input-clear { width:0; height:39px; padding:0; margin:0; overflow:hidden; opacity:0; pointer-events:none; transform:scale(.08) rotate(-300deg); transform-origin:center; background:#e9e9e9; color:#111; transition:width .24s cubic-bezier(.2,.8,.2,1), margin .24s cubic-bezier(.2,.8,.2,1), opacity .18s ease, transform .32s cubic-bezier(.16,.86,.24,1); }
.spotify-search-box.has-query .search-input-clear { width:39px; margin-right:4px; opacity:1; pointer-events:auto; transform:scale(1) rotate(0deg); }
.spotify-search-box .search-input-clear .icon { width:19px; height:19px; }
.spotify-search-box .search-enter-button { position:relative; z-index:2; }
.spotify-search-box button .icon { width:21px; height:21px; }
.browse-section h2 { margin:0 0 16px; font-size:22px; }
.browse-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.browse-card { position:relative; height:158px; overflow:hidden; border:0; border-radius:8px; background:var(--browse); color:#fff; text-align:left; padding:14px; }
.browse-card strong { position:relative; z-index:2; font-size:19px; line-height:1.16; max-width:65%; }
.browse-card img { position:absolute; width:92px; height:92px; object-fit:cover; right:-12px; bottom:-8px; transform:rotate(24deg); border-radius:3px; box-shadow:0 5px 15px rgba(0,0,0,.35); }
.spotify-results { display:flex; flex-direction:column; }
.result-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:7px; }
.result-heading h2 { margin:0; font-size:21px; }
.result-heading button { border:0; background:transparent; color:#aaa; }
.spotify-result-row { min-height:70px; border:0; background:transparent; color:#fff; padding:6px 0; display:grid; grid-template-columns:58px minmax(0,1fr) 34px; gap:12px; align-items:center; text-align:left; }
.spotify-result-row img,.result-cover { width:58px; height:58px; object-fit:cover; border-radius:4px; }
.spotify-result-row span { min-width:0; }
.spotify-result-row strong,.spotify-result-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spotify-result-row small { color:#aaa; margin-top:5px; }
.spotify-result-row i .icon { width:23px; height:23px; }
.spotify-result-row span i { display:block; height:14px; width:75%; margin-bottom:8px; border-radius:5px; }
.spotify-result-row span i:last-child { width:48%; }

/* Library */
.library-title-row { margin-bottom:12px; }
.library-pills { display:flex; gap:8px; margin-bottom:24px; }
.library-pills button { padding:8px 16px; }
.library-sort { display:flex; align-items:center; gap:8px; margin-bottom:12px; color:#fff; }
.library-sort strong { font-size:13px; }
.library-sort button { margin-left:auto; width:38px; height:38px; border:0; background:transparent; color:#fff; }
.collection-list { display:flex; flex-direction:column; }
.collection-row { min-height:89px; border:0; background:transparent; color:#fff; display:grid; grid-template-columns:78px minmax(0,1fr); align-items:center; gap:15px; padding:5px 0; text-align:left; }
.collection-square,.collection-round { width:78px; height:78px; object-fit:cover; display:grid; place-items:center; background:#2b2b2b; }
.collection-round { border-radius:50%; }
.collection-row span { min-width:0; }
.collection-row strong,.collection-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.collection-row strong { font-size:17px; font-weight:500; }
.collection-row small { color:#aaa; margin-top:7px; font-size:14px; }
.collection-row .liked-art { background:linear-gradient(135deg,#5a2bed,#b4f5d8); }
.collection-row .liked-art .icon { width:32px; height:32px; }
.utility-icon { color:#aaa; }
.utility-icon .icon { width:40px; height:40px; }

/* Settings */
.spotify-settings-page { padding-left:0; padding-right:0; }
.settings-title-row { height:80px; display:grid; grid-template-columns:60px 1fr 60px; align-items:center; background:#272727; padding:0 14px; margin-bottom:24px; }
.settings-title-row h1 { margin:0; text-align:center; font-size:20px; }
.settings-title-row button { border:0; background:transparent; color:#fff; display:grid; place-items:center; }
.settings-title-row .icon { width:29px; height:29px; }
.spotify-settings-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:0 14px 18px; }
.spotify-settings-cards button { min-height:112px; border:0; border-radius:10px; background:#292929; color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:10px 5px; }
.spotify-settings-cards button.active { color:var(--spotify-green); }
.spotify-settings-cards .icon { width:31px; height:31px; }
.spotify-settings-cards strong { font-size:12px; text-align:center; }
.spotify-settings-cards span { color:#aaa; font-size:12px; text-align:center; }
.spotify-settings-list { padding:0 14px; }
.spotify-settings-list button { width:100%; min-height:75px; border:0; background:transparent; color:#fff; display:grid; grid-template-columns:48px minmax(0,1fr); gap:12px; align-items:center; text-align:left; }
.spotify-settings-list > button > .icon { width:32px; height:32px; }
.spotify-settings-list strong,.spotify-settings-list small { display:block; }
.spotify-settings-list strong { font-size:16px; font-weight:500; }
.spotify-settings-list small { margin-top:6px; color:#aaa; font-size:13px; }
.spotify-logout { display:block; margin:20px auto 0; border:0; border-radius:999px; background:#fff; color:#111; padding:13px 27px; font-weight:800; }

/* Side drawer */
.side-drawer-backdrop { position:fixed; z-index:130; inset:0; background:rgba(0,0,0,0); transition:background .22s ease; }
.side-drawer-backdrop.show { background:rgba(0,0,0,.72); }
.side-drawer { width:min(86vw,480px); height:100%; overflow-y:auto; background:#1f1f1f; color:#fff; transform:translateX(-102%); transition:transform .26s cubic-bezier(.2,.8,.2,1); box-shadow:14px 0 40px rgba(0,0,0,.5); }
.side-drawer-backdrop.show .side-drawer { transform:translateX(0); }
.drawer-profile { display:grid; grid-template-columns:62px minmax(0,1fr); gap:16px; align-items:center; padding:48px 22px 24px; border-bottom:1px solid #3a3a3a; }
.drawer-profile > span,.drawer-avatar { width:58px; height:58px; border-radius:50%; background:#ff633d; color:#111; display:grid; place-items:center; font-size:25px; font-weight:800; }
.drawer-profile strong,.drawer-profile small { display:block; }
.drawer-profile strong { font-size:20px; }
.drawer-profile small { margin-top:7px; color:#bbb; }
.drawer-menu { padding:8px 0 12px; }
.drawer-menu button { width:100%; min-height:64px; border:0; background:transparent; color:#fff; display:grid; grid-template-columns:45px minmax(0,1fr) auto; gap:12px; align-items:center; padding:0 22px; text-align:left; font-size:16px; }
.drawer-menu .icon { width:28px; height:28px; }
.drawer-menu em { padding:5px 10px; border-radius:5px; background:#a6bddc; color:#111; font-style:normal; font-size:12px; }
.drawer-activity { display:flex; gap:22px; padding:8px 22px 24px; }
.drawer-activity > div { display:flex; flex-direction:column; gap:8px; align-items:center; text-align:center; color:#ccc; }
.drawer-avatar,.drawer-plus { width:58px; height:58px; }
.drawer-plus { border-radius:50%; background:#2b2b2b; display:grid; place-items:center; font-size:34px; font-weight:300; }
.drawer-messages { border-top:1px solid #3a3a3a; padding:24px 22px 60px; }
.drawer-messages h3 { margin:0 0 24px; font-size:22px; }
.drawer-messages p { color:#aaa; line-height:1.5; }
.drawer-messages button { margin-top:20px; border:0; background:transparent; color:#fff; display:flex; align-items:center; gap:14px; }
.drawer-messages button .icon { width:42px; height:42px; padding:10px; border-radius:50%; background:#333; }

/* Create bottom sheet */
.create-player-sheet .player-sheet-scroll { padding-bottom:calc(22px + env(safe-area-inset-bottom,0px)); }
.create-sheet-title h2 { margin:0 0 12px; font-size:23px; }
.create-sheet-list { display:flex; flex-direction:column; }
.create-sheet-list button { min-height:75px; border:0; background:transparent; color:#fff; display:grid; grid-template-columns:58px minmax(0,1fr); gap:14px; align-items:center; text-align:left; }
.create-sheet-list > button > .icon { width:50px; height:50px; padding:12px; border-radius:50%; background:#404040; }
.create-sheet-list strong,.create-sheet-list small { display:block; }
.create-sheet-list strong { font-size:16px; }
.create-sheet-list small { color:#aaa; margin-top:6px; font-size:13px; }
.create-sheet-list em { padding:3px 7px; border-radius:4px; background:var(--spotify-green); color:#111; font-style:normal; font-size:10px; }

/* Mini player */
.mini-player { left:50%; transform:translateX(-50%); bottom:calc(75px + env(safe-area-inset-bottom,0px)); width:min(calc(100% - 20px),540px); height:67px; border-radius:7px; background:#1c222e; grid-template-columns:50px minmax(0,1fr) 43px 43px 43px; padding:7px 8px; gap:8px; }
.mini-cover { width:50px; height:50px; border-radius:4px; }
.mini-copy { min-width:0; }
.mini-title { font-size:14px; }
.mini-artist { font-size:12px; margin-top:4px; }
.mini-btn { width:41px; height:41px; }
.mini-btn .icon { width:24px; height:24px; }
.mini-btn.active { color:var(--spotify-green); }

/* Player scrolling and full lyrics theme */
.player-page { min-height:100%; overflow:visible !important; }
.player-content { min-height:100%; }
.lyrics-preview-card { touch-action:pan-y; }
.lyrics-preview-body { overflow:hidden !important; overscroll-behavior:auto !important; touch-action:pan-y !important; }
.full-lyrics-page { --lyrics-page-rgb:39,84,118; background:linear-gradient(180deg,rgba(var(--lyrics-page-rgb),.98) 0%,rgba(var(--lyrics-page-rgb),.88) 38%,rgba(var(--lyrics-page-rgb),.54) 66%,#050505 100%) !important; }
.full-lyrics-page::before { opacity:.14 !important; filter:blur(80px) saturate(1.15) brightness(.7) !important; }
.full-lyrics-page::after { background:linear-gradient(180deg,rgba(var(--lyrics-page-rgb),.42),rgba(var(--lyrics-page-rgb),.15) 55%,rgba(0,0,0,.84) 100%) !important; }
.full-lyrics-header { background:linear-gradient(180deg,rgba(var(--lyrics-page-rgb),.95),rgba(var(--lyrics-page-rgb),.58),transparent) !important; }
.full-lyrics-controls { background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.5) 26%,#050505 100%) !important; }

@media (max-width:430px) {
  .radio-card { flex-basis:250px; }
  .radio-art { height:250px; }
  .browse-card { height:145px; }
  .spotify-settings-cards { gap:7px; }
  .spotify-settings-cards button { min-height:103px; }
}
/* Full lyrics artwork layer follows the selected cover while the page fades to black. */
.full-lyrics-page .lyrics-gradient-art { opacity:.16 !important; filter:blur(78px) saturate(1.15) brightness(.72) !important; }

/* V1.8.0: rich Home discovery layout and row alignment */
.rich-home-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(46,120,27,.32), transparent 18rem),
    linear-gradient(180deg,#173d0a 0,#101b0d 10rem,#101010 24rem) !important;
}
.rich-home-page .spotify-main-head {
  position:relative;
  z-index:2;
}
.rich-home-page .home-shortcuts { margin-bottom:34px; }
.rich-home-page .spotify-section { margin-bottom:46px; }
.rich-home-page .spotify-section h1,
.rich-home-page .spotify-section h2 { letter-spacing:-.025em; }

/* Fixed right-side action rail for every listening row */
.spotify-home-row {
  grid-template-columns:58px minmax(0,1fr) 28px 28px !important;
  column-gap:12px !important;
  padding-right:0 !important;
}
.spotify-home-row .home-row-favorite,
.spotify-home-row .home-row-more {
  width:28px;
  height:42px;
  display:grid;
  place-items:center;
  justify-self:end;
  align-self:center;
}
.spotify-home-row .home-row-favorite:empty { visibility:hidden; }
.spotify-home-row .home-row-favorite .icon { width:23px; height:23px; color:var(--spotify-green); }
.spotify-home-row .home-row-more { margin-right:-2px; color:#a7a7a7; font-style:normal; }
.spotify-home-row .home-row-more .icon { width:23px; height:23px; }

.home-section-title,
.home-section-inline,
.similar-heading {
  display:flex;
  align-items:center;
}
.home-section-title { gap:10px; margin-bottom:17px; }
.home-section-title h2,
.home-section-inline h2 { margin:0 !important; }
.home-section-title > .icon { width:24px; height:24px; color:#28df78; order:-1; }
.home-section-title.community-title > .icon { color:#82c9ad; }
.home-section-inline { justify-content:space-between; gap:12px; margin-bottom:18px; }
.home-section-inline button {
  border:0;
  background:transparent;
  color:#aaa;
  display:flex;
  align-items:center;
  gap:4px;
  font-weight:700;
}
.home-section-inline button .icon { width:18px; height:18px; }
.metadata-source { color:#777; font-size:11px; white-space:nowrap; }

.home-square-carousel,
.community-carousel,
.artist-bubbles {
  display:flex;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
  margin-inline:-14px;
  padding:0 14px 8px;
}
.home-square-carousel::-webkit-scrollbar,
.community-carousel::-webkit-scrollbar,
.artist-bubbles::-webkit-scrollbar { display:none; }
.home-square-carousel { gap:16px; }
.home-square-card {
  flex:0 0 174px;
  min-width:0;
  border:0;
  padding:0;
  background:transparent;
  color:#fff;
  text-align:left;
  scroll-snap-align:start;
}
.home-square-card img {
  width:174px;
  height:174px;
  display:block;
  object-fit:cover;
  border-radius:8px;
  background:#242424;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}
.home-square-card strong,
.home-square-card span {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-square-card strong { margin-top:10px; font-size:16px; line-height:1.2; font-weight:750; }
.home-square-card span { margin-top:5px; color:#a7a7a7; font-size:13px; }
.ranked-card { position:relative; flex:0 0 174px; scroll-snap-align:start; }
.ranked-card .home-square-card { width:100%; }
.rank-number {
  position:absolute;
  z-index:2;
  left:8px;
  top:8px;
  width:31px;
  height:31px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.72);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  font-size:12px;
  font-weight:900;
}

.similar-home-section { padding-top:1px; }
.similar-heading { gap:12px; margin-bottom:17px; }
.similar-heading img {
  width:54px;
  height:54px;
  border-radius:8px;
  object-fit:cover;
  background:#282828;
}
.similar-heading div { min-width:0; flex:1; }
.similar-heading span { display:block; color:#a7a7a7; font-size:13px; margin-bottom:2px; }
.similar-heading h2 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:25px !important; }
.similar-heading > .icon { width:27px; height:27px; color:#c7c7c7; }

.community-carousel { gap:18px; }
.community-card {
  flex:0 0 min(84vw, 340px);
  scroll-snap-align:center;
  border-radius:22px;
  background:#202020;
  padding:18px;
  box-shadow:0 12px 36px rgba(0,0,0,.18);
}
.community-card-head {
  display:grid;
  grid-template-columns:126px minmax(0,1fr);
  gap:16px;
  align-items:center;
  margin-bottom:18px;
}
.community-collage {
  width:126px;
  height:126px;
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border-radius:18px;
  background:#292929;
}
.community-collage img { width:63px; height:63px; object-fit:cover; }
.community-card-head h3 {
  margin:0 0 5px;
  font-size:21px;
  line-height:1.12;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.community-card-head span { color:#999; }
.community-track-list { display:flex; flex-direction:column; gap:8px; }
.community-track-list button {
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:12px;
  align-items:center;
  width:100%;
  border:0;
  padding:0;
  color:#fff;
  background:transparent;
  text-align:left;
}
.community-track-list img { width:54px; height:54px; border-radius:7px; object-fit:cover; }
.community-track-list strong,
.community-track-list small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.community-track-list strong { font-size:15px; }
.community-track-list small { margin-top:5px; color:#969696; font-size:13px; }
.community-actions { display:flex; align-items:center; gap:12px; margin-top:17px; }
.community-actions button {
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  color:#fff;
  background:#343434;
}
.community-actions button:first-child { width:59px; height:59px; background:#8ccdb3; color:#020202; }
.community-actions .icon { width:25px; height:25px; }
.community-actions button:first-child .icon { width:31px; height:31px; }

.artist-bubbles { gap:17px; }
.artist-bubbles button {
  flex:0 0 116px;
  min-width:0;
  border:0;
  padding:0;
  color:#fff;
  background:transparent;
  text-align:center;
  scroll-snap-align:start;
}
.artist-bubbles img {
  width:116px;
  height:116px;
  border-radius:50%;
  object-fit:cover;
  background:#252525;
}
.artist-bubbles strong,
.artist-bubbles span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.artist-bubbles strong { margin-top:10px; font-size:14px; }
.artist-bubbles span { margin-top:4px; color:#888; font-size:12px; }
.home-source-loading {
  display:flex;
  align-items:center;
  gap:10px;
  color:#8b8b8b;
  font-size:12px;
  padding:4px 0 28px;
}
.home-source-loading .skeleton { width:25px; height:6px; border-radius:99px; }

@media (max-width:430px) {
  .home-square-card,.ranked-card { flex-basis:148px; }
  .home-square-card img { width:148px; height:148px; }
  .community-card { flex-basis:88vw; }
  .community-card-head { grid-template-columns:108px minmax(0,1fr); }
  .community-collage { width:108px; height:108px; }
  .community-collage img { width:54px; height:54px; }
  .artist-bubbles button { flex-basis:98px; }
  .artist-bubbles img { width:98px; height:98px; }
}

/* V1.9.0: horizontal containment, grayscale cover accents, expanded Home catalogs and artist explorer */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
body { position: relative; }
.app-shell,
.view,
.page,
.player-page,
.player-content,
.player-shade,
.full-lyrics-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
.app-shell { contain: inline-size; }
#modalRoot,
.modal-backdrop,
.player-sheet-backdrop {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden !important;
}
.modal-backdrop,
.player-sheet-backdrop {
  left: 0 !important;
  right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.modal,
.player-sheet {
  width: min(100%, 560px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-x: hidden !important;
}
.modal-body,
.player-sheet-scroll,
.track-menu-list,
.credit-card,
.song-code-card,
.artist-explorer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.credit-card p { grid-template-columns: minmax(82px, 112px) minmax(0,1fr); }
.credit-card span,
.song-code-card h3,
.song-code-card p { min-width: 0; overflow-wrap: anywhere; }
.player-cover,
.lyrics-preview-card,
.progress-wrap,
.player-info-row,
.player-controls,
.player-secondary-actions { max-width: 100%; }
.player-info-copy { min-width: 0; }
.player-info-actions { max-width: 116px; }

/* Every horizontal Home rail starts with a clean inset and keeps at least one-card spacing. */
.home-square-carousel,
.community-carousel,
.artist-bubbles {
  margin-inline: 0 !important;
  padding-left: 6px !important;
  padding-right: 16px !important;
  scroll-padding-left: 6px;
  scroll-padding-right: 16px;
}
.home-square-card:first-child,
.community-card:first-child,
.artist-bubbles button:first-child { margin-left: 0; }
.rich-home-page .spotify-section { overflow: hidden; }
.rich-home-page .spotify-home-list { padding-right: 1px; }

/* Similar artist headers are interactive but retain the clean visual style. */
.similar-heading {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

/* Public artist metadata explorer using iTunes Search, MusicBrainz and Cover Art Archive. */
.artist-explorer-modal { max-height: 91svh; }
.artist-explorer-modal .modal-body { overflow-y: auto; overscroll-behavior: contain; }
.artist-explorer-loading { padding: 4px 0 28px; }
.artist-explorer-loading > p { color: #aaa; margin: 13px 0 21px; font-size: 13px; }
.artist-explorer-hero {
  display: grid;
  grid-template-columns: 84px minmax(0,1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.artist-explorer-hero > img,
.artist-explorer-loading .artist-explorer-hero > span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: #292929;
}
.artist-explorer-loading .artist-explorer-hero div { display: grid; gap: 12px; }
.artist-explorer-loading .artist-explorer-hero i { display: block; height: 17px; border-radius: 7px; }
.artist-explorer-loading .artist-explorer-hero i:last-child { width: 62%; height: 12px; }
.artist-explorer-hero div { min-width: 0; }
.artist-explorer-hero span { color: #a7a7a7; font-size: 12px; }
.artist-explorer-hero h3 {
  margin: 3px 0 5px;
  font-size: 25px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-explorer-hero p,
.artist-note { margin: 0; color: #a7a7a7; font-size: 13px; line-height: 1.45; }
.artist-note { margin-top: 14px; padding: 11px 13px; border-radius: 10px; background: #292929; }
.artist-explorer-source {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 22px;
  color: #8d8d8d;
  font-size: 11px;
}
.artist-explorer-source .icon { width: 17px; height: 17px; }
.artist-explorer section { margin-top: 22px; }
.artist-explorer section h4 { margin: 0 0 12px; font-size: 18px; }
.artist-track-list { display: flex; flex-direction: column; }
.artist-track-list button {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 23px 48px minmax(0,1fr) 34px;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: #fff;
  text-align: left;
}
.artist-track-rank { color: #989898; text-align: center; font-size: 12px; }
.artist-track-list img { width: 48px; height: 48px; border-radius: 5px; object-fit: cover; background: #292929; }
.artist-track-list button > span:nth-of-type(2) { min-width: 0; }
.artist-track-list strong,
.artist-track-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-track-list strong { font-size: 14px; }
.artist-track-list small { margin-top: 4px; color: #999; font-size: 12px; }
.artist-track-list button > .icon { width: 20px; height: 20px; justify-self: center; }
.artist-track-skeleton {
  min-height: 60px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 12px;
  align-items: center;
}
.artist-track-skeleton > span:first-child { width: 48px; height: 48px; border-radius: 5px; }
.artist-track-skeleton > span:last-child { display: grid; gap: 8px; }
.artist-track-skeleton i { display: block; height: 13px; border-radius: 5px; }
.artist-track-skeleton i:last-child { width: 55%; height: 10px; }
.artist-release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 12px;
  padding-bottom: 12px;
}
.artist-release-grid button {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}
.artist-release-grid img { width: 100%; aspect-ratio: 1; border-radius: 8px; object-fit: cover; background: #292929; }
.artist-release-grid strong,
.artist-release-grid span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-release-grid strong { margin-top: 8px; font-size: 13px; }
.artist-release-grid span { margin-top: 4px; color: #929292; font-size: 11px; }
.artist-empty { color: #999; font-size: 13px; line-height: 1.5; }
.artist-empty.large { padding: 38px 12px 70px; text-align: center; }
.artist-empty.large h3 { color: #fff; font-size: 23px; margin: 0 0 8px; }

/* Neutral covers use a light grey accent rather than a random fallback color. */
.player-page.theme-ready,
.full-lyrics-page.theme-ready { transition: background .35s ease; }

@media (max-width: 430px) {
  .home-square-carousel,
  .community-carousel,
  .artist-bubbles { padding-left: 5px !important; padding-right: 14px !important; }
  .artist-explorer-hero { grid-template-columns: 72px minmax(0,1fr); }
  .artist-explorer-hero > img,
  .artist-explorer-loading .artist-explorer-hero > span { width: 72px; height: 72px; }
  .artist-explorer-hero h3 { font-size: 22px; }
}


/* V1.10.0: circular loading, restored page scrolling, safer touch gestures */
@keyframes datzonRingSpin { to { transform: rotate(360deg); } }
.loading-ring {
  display: inline-block;
  width: 29px;
  height: 29px;
  border: 3px solid rgba(0,0,0,.22);
  border-top-color: #050505;
  border-radius: 50%;
  animation: datzonRingSpin .72s linear infinite;
  box-sizing: border-box;
}
.lyrics-main-play .loading-ring { width: 30px; height: 30px; }

html:not(.sheet-open),
body:not(.sheet-open) {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  touch-action: pan-y pinch-zoom !important;
  overscroll-behavior-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
body:not(.sheet-open) { position: static !important; }
.app-shell,
.view,
.page,
.rich-home-page,
.spotify-home-page,
.spotify-search-page,
.spotify-library-page,
.spotify-settings-page,
.player-page,
.player-content {
  touch-action: pan-y pinch-zoom !important;
  overscroll-behavior-y: auto !important;
}
.view,
.page,
.player-page,
.player-content {
  overflow-y: visible !important;
}
.home-square-carousel,
.community-carousel,
.artist-bubbles,
.radio-carousel,
.album-carousel,
.speed-grid,
.spotify-scroll-row {
  touch-action: pan-x pan-y !important;
  overscroll-behavior-x: contain;
}
.player-sheet-scroll {
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
}
.player-sheet-drag-zone { touch-action: none !important; }
.bottom-nav,
.mini-player,
button,
a,
input,
select { touch-action: manipulation; }

/* V1.14.0: CMNTY metadata-first routing + BlackRose playback fallback */
.spotify-artist-page {
  width: 100%;
  min-height: 100svh;
  padding: 0 0 190px;
  overflow-x: hidden;
  touch-action: pan-y pinch-zoom !important;
  background: #0b0b0b;
}
.artist-page-header {
  position: sticky;
  top: 0;
  z-index: 18;
  height: 64px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  align-items: center;
  background: rgba(10,10,10,.94);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.artist-page-header strong { text-align: center; font-size: 17px; }
.artist-page-header button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.artist-page-header .icon { width: 25px; height: 25px; }
.artist-page-hero {
  position: relative;
  min-height: 470px;
  background: #1f1f1f;
  overflow: hidden;
}
.artist-page-hero > img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center 24%;
}
.artist-page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 20%, rgba(0,0,0,.28) 58%, #0b0b0b 100%);
  pointer-events: none;
}
.artist-page-hero-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 28px;
  min-width: 0;
}
.artist-page-hero-copy > span {
  display: inline-flex;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  color: #23d668;
}
.artist-page-hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 12vw, 72px);
  line-height: .94;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.artist-page-hero-copy p {
  margin: 13px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.artist-page-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.artist-page-actions::-webkit-scrollbar { display: none; }
.artist-page-actions a,
.artist-page-actions button {
  flex: 0 0 auto;
  min-height: 43px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: #252525;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.artist-page-actions .spotify-connect-primary {
  background: #1ed760;
  color: #07180c;
  border-color: #1ed760;
}
.artist-page-actions .icon { width: 19px; height: 19px; }
.artist-genre-chips {
  display: flex;
  gap: 8px;
  padding: 11px 20px 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.artist-genre-chips::-webkit-scrollbar { display: none; }
.artist-genre-chips span {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #c7c7c7;
  font-size: 12px;
}
.artist-page-about,
.artist-page-section {
  padding: 25px 20px 0;
}
.artist-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}
.artist-section-head h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.artist-section-head > span,
.artist-section-head a {
  color: #9d9d9d;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.artist-section-head a .icon { width: 14px; height: 14px; }
.artist-page-about p {
  margin: 0;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}
.artist-page-track-list { display: grid; }
.artist-page-track {
  width: 100%;
  min-width: 0;
  padding: 7px 0;
  display: grid;
  grid-template-columns: 27px 54px minmax(0,1fr) 34px;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}
.artist-page-track:hover { background: rgba(255,255,255,.04); }
.artist-page-rank { color: #8e8e8e; font-size: 13px; text-align: center; }
.artist-page-track img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  background: #252525;
}
.artist-page-track > span:nth-of-type(2) { min-width: 0; }
.artist-page-track strong,
.artist-page-track small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-page-track strong { font-size: 15px; }
.artist-page-track small { margin-top: 4px; color: #969696; font-size: 12px; }
.artist-page-track > .icon { width: 19px; height: 19px; justify-self: center; color: #bdbdbd; }
.artist-page-releases {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 42vw);
  gap: 14px;
  overflow-x: auto;
  padding: 1px 20px 12px 0;
  scrollbar-width: none;
  touch-action: pan-x pan-y !important;
}
.artist-page-releases::-webkit-scrollbar { display: none; }
.artist-page-releases button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}
.artist-page-releases img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border-radius: 9px;
  background: #252525;
}
.artist-page-releases strong,
.artist-page-releases span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-page-releases strong { margin-top: 9px; font-size: 14px; }
.artist-page-releases span { margin-top: 4px; color: #929292; font-size: 12px; }
.artist-data-source {
  margin: 28px 20px 0;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 11px;
  background: #181818;
  color: #8f8f8f;
  font-size: 11px;
}
.artist-data-source .icon { width: 17px; height: 17px; }
.artist-page-loading { padding: 18px 20px 160px; }
.artist-hero-skeleton { display: block; width: 100%; height: 370px; border-radius: 18px; }
.artist-name-skeleton { display: block; width: 70%; height: 44px; border-radius: 9px; margin: 18px 0 12px; }
.artist-copy-skeleton { display: block; width: 92%; height: 16px; border-radius: 7px; margin-bottom: 24px; }
.spotify-artist-page .artist-track-skeleton { grid-template-columns: 54px minmax(0,1fr); }

@media (max-width: 430px) {
  .artist-page-hero,
  .artist-page-hero > img { min-height: 430px; height: 430px; }
  .artist-page-hero-copy h1 { font-size: 47px; }
  .artist-page-about,
  .artist-page-section { padding-left: 17px; padding-right: 17px; }
  .artist-page-actions,
  .artist-genre-chips { padding-left: 17px; padding-right: 17px; }
  .artist-page-track { grid-template-columns: 23px 50px minmax(0,1fr) 30px; gap: 9px; }
  .artist-page-track img { width: 50px; height: 50px; }
}

/* V1.15.0 foundation: HD artwork, full Home skeleton, randomized discovery, and system activity center */
.player-cover,
.mini-cover,
.spotify-home-row > img,
.home-square-card img,
.community-card img,
.artist-bubbles img,
.track-cover,
.row-cover,
.artist-page-track img,
.artist-page-releases img {
  image-rendering: auto !important;
  filter: none !important;
}
.player-cover {
  object-fit: cover;
  object-position: center;
  background: #171717;
}

.home-main-head {
  display: grid !important;
  grid-template-columns: 48px minmax(0,1fr) 48px;
  align-items: center;
  gap: 12px !important;
  width: 100%;
}
.home-main-head .home-filter-pills {
  min-width: 0;
  justify-self: start;
}
.home-notification-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: end;
  color: #fff;
  background: rgba(31,31,31,.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.home-notification-btn .icon { width: 25px; height: 25px; }
.system-activity-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ff365e;
  color: #fff;
  border: 2px solid #111;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.system-activity-badge[hidden] { display: none !important; }

.home-loading-page { min-height: 1450px; }
.home-shortcuts-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-shortcuts-skeleton > .skeleton {
  display: block;
  width: 100%;
  height: 74px;
  border-radius: 7px;
}
.home-loading-section { overflow: hidden; }
.skeleton-kicker { width: 45%; height: 14px; border-radius: 6px; margin-bottom: 10px; }
.skeleton-home-title { width: 68%; height: 37px; border-radius: 8px; margin-bottom: 22px; }
.skeleton-section-title { width: 48%; height: 30px; border-radius: 8px; margin-bottom: 18px; }
.home-skeleton-list { display: grid; gap: 10px; }
.home-skeleton-row {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) 26px;
  gap: 13px;
  align-items: center;
  min-height: 66px;
}
.home-skeleton-cover { width: 58px; height: 58px; border-radius: 5px; }
.home-skeleton-copy { display: grid; gap: 10px; min-width: 0; }
.home-skeleton-copy i { display: block; height: 15px; border-radius: 6px; }
.home-skeleton-copy i:last-child { width: 54%; height: 11px; }
.home-skeleton-dot { width: 6px; height: 24px; border-radius: 999px; justify-self: end; }
.home-skeleton-rail {
  display: flex;
  gap: 16px;
  overflow: hidden;
}
.home-skeleton-card { flex: 0 0 158px; }
.home-skeleton-card > span { display: block; width: 158px; height: 158px; border-radius: 9px; }
.home-skeleton-card.is-circle > span { border-radius: 50%; }
.home-skeleton-card i { display: block; height: 13px; border-radius: 6px; margin-top: 10px; }
.home-skeleton-card i:last-child { width: 62%; height: 10px; margin-top: 7px; }

.system-activity-player-sheet {
  background: #1f1f1f !important;
  box-shadow: 0 -22px 70px rgba(0,0,0,.72) !important;
}
.system-activity-player-sheet .player-sheet-scroll {
  padding: 0 18px calc(28px + env(safe-area-inset-bottom,0px));
  background: #1f1f1f;
}
.system-activity-sheet { width: 100%; }
.system-activity-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 0 16px;
  background: #1f1f1f;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.system-activity-head h2 { margin: 0; font-size: 23px; }
.system-activity-head p { margin: 4px 0 0; color: #9b9b9b; font-size: 12px; }
.system-activity-head button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: #333;
  color: #fff;
  font-weight: 800;
}
.system-activity-list { display: grid; gap: 0; }
.system-activity-item {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.system-activity-status {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #303030;
  color: #bdbdbd;
}
.system-activity-status .icon { width: 20px; height: 20px; }
.system-activity-status .loading-ring { width: 19px; height: 19px; border-width: 2px; }
.system-activity-item.status-success .system-activity-status { color: #1ed760; background: rgba(30,215,96,.12); }
.system-activity-item.status-warning .system-activity-status { color: #ffca48; background: rgba(255,202,72,.12); }
.system-activity-item.status-error .system-activity-status { color: #ff5a72; background: rgba(255,90,114,.12); }
.system-activity-item strong,
.system-activity-item p,
.system-activity-item small,
.system-activity-item em { display: block; min-width: 0; overflow-wrap: anywhere; }
.system-activity-item strong { font-size: 15px; line-height: 1.25; }
.system-activity-item p { margin: 5px 0 0; color: #c4c4c4; font-size: 13px; line-height: 1.35; }
.system-activity-item small { margin-top: 6px; color: #858585; font-size: 11px; }
.system-activity-item em { margin-top: 5px; color: #ababab; font-size: 11px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.system-activity-empty {
  min-height: 320px;
  padding: 70px 25px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  color: #8d8d8d;
}
.system-activity-empty .icon { width: 42px; height: 42px; margin-bottom: 15px; }
.system-activity-empty strong { color: #fff; font-size: 18px; }
.system-activity-empty span { margin-top: 8px; max-width: 300px; font-size: 13px; line-height: 1.45; }

@media (max-width: 430px) {
  .home-main-head { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 9px !important; }
  .home-notification-btn { width: 42px; height: 42px; }
  .home-skeleton-card { flex-basis: 145px; }
  .home-skeleton-card > span { width: 145px; height: 145px; }
}

/* V1.17.0: endpoint allowlist, quota-safe rotation, and public-metadata Home */


/* V1.18.0 visual polish: queue interactions, compact credits, direct download, iOS liquid-glass notifications */
.queue-edit-toggle,
.queue-edit-toggle.cancel-mode,
.queue-edit-toggle.close-mode,
.queue-edit-toggle > span {
  animation: none !important;
  transition: none !important;
}

.queue-sheet-row.menu-open .queue-row-main strong { color: #1ed760 !important; }
.queue-drag-handle {
  position: relative;
  overflow: hidden;
}
.queue-handle-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.8,.2,1);
}
.queue-handle-menu { opacity: 1; transform: rotate(0deg) scale(1); }
.queue-handle-close { opacity: 0; transform: rotate(-70deg) scale(.65); }
.queue-drag-handle.is-open .queue-handle-menu { opacity: 0; transform: rotate(70deg) scale(.65); }
.queue-drag-handle.is-open .queue-handle-close { opacity: 1; transform: rotate(0deg) scale(1); }
.queue-drag-handle.is-open { color: #1ed760; }

.credit-menu-sheet {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}
.credit-menu-sheet .player-sheet-scroll {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
  padding-bottom: calc(18px + env(safe-area-inset-bottom,0px));
}
.credit-sheet-content { padding: 0 0 8px; }
.credit-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.credit-sheet-head h2 { margin: 0; font-size: 23px; font-weight: 900; }
.credit-sheet-head button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #2d2d2d;
  color: #fff;
  display: grid;
  place-items: center;
}
.credit-sheet-head button .icon { width: 24px; height: 24px; }
.credit-sheet-content > h3 { margin: 0 0 16px; font-size: 20px; font-weight: 850; }
.credit-menu-sheet .credit-card { padding: 0; }
.credit-menu-sheet .credit-card p:last-child { border-bottom: 0; }

.player-secondary-actions [data-player-download] .icon {
  stroke-width: 2.15;
}

.toast-stack {
  position: fixed;
  z-index: 140;
  top: calc(16px + env(safe-area-inset-top,0px));
  left: 50%;
  width: min(calc(100% - 30px), 530px);
  height: 104px;
  transform: translateX(-50%);
  pointer-events: none;
  perspective: 900px;
}
.ios-toast {
  position: absolute;
  inset: 0 0 auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 25px;
  color: #101113;
  background:
    linear-gradient(135deg,rgba(255,255,255,.88),rgba(239,242,247,.72)),
    rgba(244,246,250,.72);
  -webkit-backdrop-filter: blur(26px) saturate(1.65);
  backdrop-filter: blur(26px) saturate(1.65);
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(255,255,255,.35);
  overflow: hidden;
  transform-origin: center top;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .26s ease, filter .3s ease;
}
.ios-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,rgba(255,255,255,.72),transparent 34%,transparent 68%,rgba(255,255,255,.23));
  mix-blend-mode: screen;
}
.ios-toast > * { position: relative; z-index: 1; }
.ios-toast strong {
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.34;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.ios-toast-status,
.ios-toast-bell {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ios-toast-status {
  color: #0a8f57;
  background: rgba(58,200,135,.13);
  border: 1px solid rgba(34,174,111,.2);
}
.ios-toast-error .ios-toast-status {
  color: #d72d4f;
  background: rgba(223,45,83,.12);
  border-color: rgba(223,45,83,.18);
}
.ios-toast-progress .ios-toast-status {
  color: #1669cf;
  background: rgba(22,105,207,.11);
  border-color: rgba(22,105,207,.16);
}
.ios-toast-progress .ios-toast-status .icon { animation: iosToastSpin 1s linear infinite; }
.ios-toast-status .icon { width: 25px; height: 25px; stroke-width: 2.1; }
.ios-toast-bell {
  color: #fff;
  background: rgba(0,0,0,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.ios-toast-bell .icon { width: 21px; height: 21px; }
.ios-toast:nth-child(1) { z-index: 3; transform: translateY(0) scale(1) rotateX(0deg); opacity: 1; filter: none; }
.ios-toast:nth-child(2) { z-index: 2; transform: translateY(14px) scale(.955) rotateX(-2deg); opacity: .72; filter: brightness(.92); }
.ios-toast.is-entering { transform: translateY(-24px) scale(.94) rotateX(7deg) !important; opacity: 0 !important; }
.ios-toast.is-leaving { transform: translateY(-26px) scale(.9) rotateX(9deg) !important; opacity: 0 !important; }
@keyframes iosToastSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .queue-handle-icon,
  .ios-toast { transition: none !important; animation: none !important; }
  .ios-toast-progress .ios-toast-status .icon { animation: none !important; }
}


/* V1.19.0: Spotlight carousel, global artwork theme, clean route viewport and compact page endings */
:root {
  --app-accent-rgb: 34,82,42;
}
html,
body,
.app-shell,
.view {
  background: #090b0a;
}
.view {
  min-height: 100svh;
  padding-bottom: 0 !important;
}
.page {
  min-height: calc(100svh - 76px);
}
.page.spotify-home-page,
.page.spotify-search-page,
.page.spotify-library-page,
.page.spotify-settings-page,
.page.spotify-artist-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--app-accent-rgb),.58), transparent 34%),
    linear-gradient(180deg, rgba(var(--app-accent-rgb),.30) 0%, rgba(var(--app-accent-rgb),.10) 22%, #101010 48%, #101010 100%) !important;
}
.page.spotify-home-page,
.page.spotify-search-page,
.page.spotify-library-page,
.page.spotify-settings-page {
  padding-bottom: calc(154px + env(safe-area-inset-bottom,0px));
}
.page.spotify-artist-page {
  padding-bottom: calc(154px + env(safe-area-inset-bottom,0px));
}
.view:not(.has-mini) .page.spotify-home-page,
.view:not(.has-mini) .page.spotify-search-page,
.view:not(.has-mini) .page.spotify-library-page,
.view:not(.has-mini) .page.spotify-settings-page,
.view:not(.has-mini) .page.spotify-artist-page {
  padding-bottom: calc(88px + env(safe-area-inset-bottom,0px));
}
.bottom-nav {
  background: linear-gradient(180deg, rgba(8,10,9,.90), rgba(4,5,5,.98) 30%) !important;
  border-top: 1px solid rgba(var(--app-accent-rgb),.16);
}
.mini-player {
  background: linear-gradient(135deg, rgba(var(--app-accent-rgb),.22), rgba(24,28,35,.98) 48%) !important;
  border: 1px solid rgba(var(--app-accent-rgb),.22);
  border-bottom: 0;
}
.home-filter-pills button.active,
.control-btn.active,
.secondary-action.active {
  color: #fff;
}
.home-filter-pills button.active {
  background: rgb(var(--app-accent-rgb)) !important;
}
.home-main-head,
.search-title-row,
.library-title-row,
.settings-title-row,
.artist-page-header {
  background-color: transparent;
}
.artist-data-source { display: none !important; }

.home-featured {
  margin: 8px 0 40px;
}
.home-featured-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 2px 15px;
}
.home-featured-heading span {
  display: grid;
  place-items: center;
  color: rgb(var(--app-accent-rgb));
}
.home-featured-heading .icon { width: 25px; height: 25px; }
.home-featured-heading h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.02em;
}
.home-featured-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #171717;
  box-shadow: 0 18px 45px rgba(0,0,0,.32);
}
.home-featured-track {
  display: flex;
  width: 100%;
  transition: transform .58s cubic-bezier(.22,.78,.22,1);
  will-change: transform;
}
.home-featured-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
}
.home-featured-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.home-featured-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 43%, rgba(0,0,0,.35) 64%, rgba(0,0,0,.92) 100%);
}
.home-featured-copy {
  position: absolute;
  left: 22px;
  right: 92px;
  bottom: 24px;
  min-width: 0;
}
.home-featured-copy strong,
.home-featured-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.home-featured-copy strong { font-size: clamp(25px,7vw,34px); font-weight: 900; letter-spacing: -.035em; }
.home-featured-copy span { margin-top: 6px; color: rgba(255,255,255,.82); font-size: 16px; font-weight: 650; }
.home-featured-play {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(var(--app-accent-rgb));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.38);
}
.home-featured-play .icon { width: 30px; height: 30px; margin-left: 3px; }
.home-featured-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}
.home-featured-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  transition: width .25s ease, background .25s ease;
}
.home-featured-dots button.active {
  width: 28px;
  background: rgb(var(--app-accent-rgb));
}

@media (max-width: 430px) {
  .home-featured { margin-bottom: 34px; }
  .home-featured-viewport { border-radius: 18px; }
  .home-featured-copy { left: 18px; right: 82px; bottom: 20px; }
  .home-featured-play { right: 18px; bottom: 18px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-featured-track { transition: none !important; }
}

/* V1.20.0: manual Spotlight swipe, local listening history and background download polish */
.home-featured-viewport {
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.home-featured-viewport:active { cursor: grabbing; }
.home-featured-slide,
.home-featured-slide > img { -webkit-user-drag: none; }
.home-featured-track { backface-visibility: hidden; }


/* V1.21.0: Spotify-green playback states, artwork Media Session and artwork-tinted notifications */
.player-page [data-shuffle].control-btn.active,
.player-page [data-repeat].control-btn.active,
.player-page [data-shuffle].control-btn.active .repeat-wrap,
.player-page [data-repeat].control-btn.active .repeat-wrap {
  color: #1ed760 !important;
}

.ios-toast {
  color: #fff;
  border-color: rgba(255,255,255,.34);
  background:
    linear-gradient(112deg, rgba(255,255,255,.24), transparent 34%, transparent 68%, rgba(255,255,255,.10)),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.26)),
    rgb(var(--app-accent-rgb));
  box-shadow:
    0 18px 42px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(0,0,0,.18);
}
.ios-toast::before {
  background: linear-gradient(110deg,rgba(255,255,255,.34),transparent 34%,transparent 68%,rgba(255,255,255,.12));
}
.ios-toast strong { text-shadow: 0 1px 3px rgba(0,0,0,.36); }
.ios-toast-status {
  color: #fff;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.ios-toast-error .ios-toast-status {
  color: #fff;
  background: rgba(171,12,49,.48);
  border-color: rgba(255,255,255,.18);
}
.ios-toast-progress .ios-toast-status {
  color: #fff;
  background: rgba(7,47,101,.42);
  border-color: rgba(255,255,255,.18);
}
.ios-toast-bell {
  color: #fff;
  background: rgba(4,7,10,.62);
  border: 1px solid rgba(255,255,255,.16);
}


/* V1.22.0: neutral iOS 26 Liquid Glass notifications and fixed Spotify-green discovery icons */
:root {
  --spotify-green: #1ed760;
}

/* Neutral glass. It deliberately does not reference --app-accent-rgb. */
.ios-toast {
  color: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.28);
  background:
    linear-gradient(118deg, rgba(255,255,255,.20), rgba(255,255,255,.055) 34%, rgba(255,255,255,.025) 68%, rgba(255,255,255,.11)),
    rgba(24,27,31,.54);
  -webkit-backdrop-filter: blur(15px) saturate(1.18);
  backdrop-filter: blur(15px) saturate(1.18);
  box-shadow:
    0 18px 40px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 0 0 .5px rgba(255,255,255,.08);
}
.ios-toast::before {
  background:
    radial-gradient(120% 95% at 12% -12%, rgba(255,255,255,.38), transparent 44%),
    linear-gradient(110deg, rgba(255,255,255,.16), transparent 35%, transparent 70%, rgba(255,255,255,.07));
  mix-blend-mode: screen;
}
.ios-toast strong {
  color: rgba(255,255,255,.97);
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
}
.ios-toast-status {
  color: var(--spotify-green);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.19);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.ios-toast-error .ios-toast-status {
  color: #ff5b74;
  background: rgba(255,75,105,.11);
  border-color: rgba(255,116,139,.20);
}
.ios-toast-progress .ios-toast-status {
  color: #7db8ff;
  background: rgba(90,157,255,.11);
  border-color: rgba(122,182,255,.20);
}
.ios-toast-bell {
  color: #fff;
  background: rgba(5,7,10,.46);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}

/* Discovery section icons stay Spotify green regardless of the active artwork theme. */
.home-featured-heading span,
.home-featured-heading span .icon,
.home-section-title > .icon,
.home-section-title.community-title > .icon {
  color: var(--spotify-green) !important;
}
.home-featured-heading span .icon,
.home-section-title > .icon {
  filter: drop-shadow(0 0 8px rgba(30,215,96,.18));
}

@media (max-width: 430px) {
  .ios-toast {
    -webkit-backdrop-filter: blur(13px) saturate(1.14);
    backdrop-filter: blur(13px) saturate(1.14);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ios-toast {
    background: rgba(27,30,35,.94);
  }
}


/* V1.23.0 base: fixed Spotify-green semantic icons, complete sidebar, settings and local data utilities */
:root { --spotify-green: #1ed760 !important; }
.home-featured-heading,
.home-featured-heading span,
.home-featured-heading .icon,
.home-section-title,
.home-section-title > .icon,
.home-section-title.community-title > .icon {
  color: #1ed760 !important;
  stroke: #1ed760 !important;
}
.home-featured-heading .icon,
.home-section-title > .icon { filter: drop-shadow(0 0 8px rgba(30,215,96,.22)) !important; }
.ios-toast-success .ios-toast-status,
.ios-toast-success .ios-toast-status .icon,
.ios-toast:not(.ios-toast-error):not(.ios-toast-progress) .ios-toast-status,
.ios-toast:not(.ios-toast-error):not(.ios-toast-progress) .ios-toast-status .icon {
  color: #1ed760 !important;
  stroke: #1ed760 !important;
}

.side-drawer-v123 { padding-bottom: calc(30px + env(safe-area-inset-bottom,0px)); }
.side-drawer-v123 .drawer-profile { width:100%; border:0; border-bottom:1px solid #363636; background:transparent; color:#fff; grid-template-columns:62px minmax(0,1fr) 24px; text-align:left; }
.side-drawer-v123 .drawer-profile > .icon { color:#8d8d8d; }
.drawer-section-label { padding:18px 22px 8px; color:#828282; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.side-drawer-v123 .drawer-menu { padding:0 0 7px; }
.side-drawer-v123 .drawer-menu button { min-height:58px; }
.side-drawer-v123 .drawer-menu em:empty { display:none; }
.side-drawer-v123 .drawer-menu em { min-width:25px; padding:3px 8px; border-radius:999px; background:rgba(30,215,96,.14); color:#1ed760; text-align:center; }
.side-drawer-v123 .drawer-menu-secondary { border-top:1px solid #363636; padding-top:8px; }
.side-drawer-v123 .drawer-logout { color:#ff7388; }
.side-drawer-v123 .drawer-logout .icon { color:#ff7388; }

.utility-title-row > div { min-width:0; text-align:center; }
.utility-title-row > div h1 { line-height:1.1; }
.utility-title-row > div small { display:block; color:#9c9c9c; font-size:11px; margin-top:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.utility-page { padding-left:14px !important; padding-right:14px !important; }
.utility-page .utility-title-row { margin-left:-14px; margin-right:-14px; }
.profile-summary-card { margin:10px 8px 22px; padding:22px; display:flex; align-items:center; gap:18px; border-radius:22px; background:rgba(33,33,33,.86); border:1px solid rgba(255,255,255,.07); }
.profile-avatar-large { width:76px; height:76px; display:grid; place-items:center; border-radius:50%; background:#ff633d; color:#111; font-size:30px; font-weight:900; }
.profile-summary-card h2 { margin:0 0 7px; font-size:26px; }
.profile-summary-card p { margin:0; color:#aaa; }
.utility-stat-grid,.statistics-hero { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:0 8px 24px; }
.utility-stat-grid article,.statistics-hero article { min-height:92px; padding:15px 8px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; border-radius:16px; background:#222; }
.utility-stat-grid strong,.statistics-hero strong { font-size:21px; }
.utility-stat-grid span,.statistics-hero span { margin-top:6px; color:#999; font-size:12px; }
.utility-action-list,.connection-actions { margin:0 8px; display:grid; gap:3px; }
.utility-action-list button,.preference-action { width:100%; min-height:72px; display:grid; grid-template-columns:42px minmax(0,1fr) 24px; gap:12px; align-items:center; border:0; background:transparent; color:#fff; text-align:left; }
.utility-action-list button > .icon:first-child,.preference-action > .icon:first-child { width:27px; height:27px; }
.utility-action-list button > .icon:last-child { color:#777; }
.utility-action-list strong,.utility-action-list small,.preference-action strong,.preference-action small { display:block; }
.utility-action-list small,.preference-action small { color:#929292; margin-top:5px; line-height:1.35; }
.stats-section { margin:0 8px 28px; }
.stats-section h2 { margin:0 0 15px; font-size:21px; }
.stats-bars { height:150px; padding:17px 12px 8px; display:flex; align-items:flex-end; gap:9px; border-radius:18px; background:#202020; }
.stats-bars > div { flex:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:8px; }
.stats-bars i { width:74%; min-height:5px; border-radius:10px 10px 3px 3px; background:#1ed760; }
.stats-bars span { font-size:10px; color:#aaa; }
.stats-ranked-list { display:grid; gap:4px; }
.stats-ranked-list article { min-height:64px; display:grid; grid-template-columns:24px 52px minmax(0,1fr); gap:10px; align-items:center; }
.stats-ranked-list b { color:#929292; }
.stats-ranked-list img { width:52px; height:52px; object-fit:cover; border-radius:8px; }
.stats-ranked-list img.round { border-radius:50%; }
.stats-ranked-list strong,.stats-ranked-list small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stats-ranked-list small { color:#999; margin-top:4px; }
.utility-empty-copy { color:#999; line-height:1.6; }
.utility-toolbar { margin:0 8px 16px; display:flex; justify-content:space-between; align-items:center; color:#aaa; }
.utility-toolbar button { border:0; border-radius:999px; padding:9px 14px; background:#2c2c2c; color:#fff; }
.utility-toolbar button:disabled { opacity:.4; }
.download-history-list { display:grid; margin:0 8px; }
.download-history-list button { min-height:76px; display:grid; grid-template-columns:58px minmax(0,1fr) 25px; gap:12px; align-items:center; border:0; border-bottom:1px solid rgba(255,255,255,.06); background:transparent; color:#fff; text-align:left; }
.download-history-list img { width:58px; height:58px; object-fit:cover; border-radius:9px; }
.download-history-list strong,.download-history-list small,.download-history-list em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.download-history-list small { color:#aaa; margin-top:4px; }
.download-history-list em { color:#777; margin-top:4px; font-size:11px; font-style:normal; }
.utility-empty-state { min-height:380px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px; color:#9a9a9a; }
.utility-empty-state .icon { width:62px; height:62px; margin-bottom:18px; }
.utility-empty-state h2 { color:#fff; }
.utility-empty-state p { line-height:1.6; max-width:330px; }
.connection-card { margin:0 8px 12px; min-height:94px; padding:18px; display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:13px; align-items:center; border-radius:18px; background:#232323; }
.connection-card > span { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:rgba(30,215,96,.12); color:#1ed760; }
.connection-card h2,.connection-card p { margin:0; }
.connection-card p { margin-top:6px; color:#999; line-height:1.35; font-size:12px; }
.connection-card button { border:0; border-radius:999px; padding:9px 13px; background:#fff; color:#111; font-weight:800; }
.connection-actions { grid-template-columns:1fr 1fr; margin-top:18px; }
.connection-actions button { min-height:48px; border:0; border-radius:999px; background:#2c2c2c; color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; gap:8px; }
.firebase-note { margin:22px 12px; color:#898989; line-height:1.6; font-size:12px; }

.settings-category-list button { grid-template-columns:48px minmax(0,1fr) 22px; }
.settings-category-list button > .icon:last-child { width:19px; color:#777; }
.preference-panel { display:grid; }
.preference-row,.preference-select { min-height:68px; width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; border:0; border-bottom:1px solid rgba(255,255,255,.07); background:transparent; color:#fff; text-align:left; }
.preference-row strong,.preference-row small,.preference-select strong,.preference-select small { display:block; }
.preference-row small,.preference-select small { color:#909090; margin-top:5px; line-height:1.35; font-size:12px; }
.preference-select select { max-width:152px; border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:9px; background:#2a2a2a; color:#fff; }
.preference-done { margin-top:20px; }
.storage-meter { min-height:65px; display:flex; align-items:center; justify-content:space-between; color:#aaa; border-bottom:1px solid rgba(255,255,255,.07); }
.storage-meter strong { color:#fff; }
.preference-action { grid-template-columns:38px minmax(0,1fr); border-bottom:1px solid rgba(255,255,255,.06); }
.help-list details { border-bottom:1px solid rgba(255,255,255,.08); padding:15px 0; }
.help-list summary { font-weight:800; cursor:pointer; }
.help-list p,.modal-description { color:#aaa; line-height:1.65; }
.about-panel { text-align:center; }
.about-panel > img { width:96px; height:96px; margin:0 auto 12px; object-fit:cover; border-radius:24px; background:#f5f1e8; box-shadow:0 10px 28px rgba(0,0,0,.28); }
.about-panel > h3 { margin:0; font-size:25px; }
.about-panel > p { margin:6px 0 12px; color:#999; }
.about-panel .preference-panel { margin-top:20px; text-align:left; }
.danger-btn { width:100%; min-height:48px; margin-top:15px; border:0; border-radius:999px; background:#e73d58; color:#fff; font-weight:900; }
.changelog { color:#aaa; line-height:1.65; }
.changelog h3 { color:#fff; }

html[data-text-scale="large"] { font-size:17px; }
html[data-text-scale="xlarge"] { font-size:18px; }
html[data-cover-shape="square"] img:not(.profile-avatar-large) { border-radius:3px !important; }
html.datzon-reduce-motion *,html.datzon-reduce-motion *::before,html.datzon-reduce-motion *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
html.datzon-no-glass .ios-toast { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; background:rgba(27,30,35,.96) !important; }

@media (max-width:390px){
  .utility-stat-grid,.statistics-hero{gap:6px}.utility-stat-grid strong,.statistics-hero strong{font-size:18px}.connection-card{grid-template-columns:42px minmax(0,1fr)}.connection-card button{grid-column:2;justify-self:start}.preference-select{grid-template-columns:1fr}.preference-select select{max-width:none;width:100%;margin-bottom:10px}
}

/* Search history chips */
.recent-search-section { padding: 4px 0 22px; }
.recent-search-section .result-heading { padding: 0 1px 12px; }
.recent-search-chips { display:flex; flex-wrap:wrap; gap:9px; }
.recent-search-chips button { max-width:100%; min-height:38px; border:1px solid rgba(255,255,255,.10); border-radius:999px; padding:8px 13px; background:rgba(35,35,35,.85); color:#fff; display:flex; align-items:center; gap:8px; }
.recent-search-chips .icon { width:17px; height:17px; color:#999; }
.recent-search-chips span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Search history chips */
.recent-search-section { padding: 4px 0 22px; }
.recent-search-section .result-heading { padding: 0 1px 12px; }
.recent-search-chips { display:flex; flex-wrap:wrap; gap:9px; }
.recent-search-chips button { max-width:100%; min-height:38px; border:1px solid rgba(255,255,255,.10); border-radius:999px; padding:8px 13px; background:rgba(35,35,35,.85); color:#fff; display:flex; align-items:center; gap:8px; }
.recent-search-chips .icon { width:17px; height:17px; color:#999; }
.recent-search-chips span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }


/* V1.24.0: unified draggable player-sheet dialogs, adaptive height and route-safe overlays */
.player-sheet-backdrop {
  overscroll-behavior: none !important;
  touch-action: pan-y;
  overflow: hidden;
}
.player-sheet {
  overscroll-behavior: contain !important;
  touch-action: pan-y;
}
.player-sheet-drag-zone { touch-action: none !important; }
.player-sheet-scroll {
  overscroll-behavior-y: contain !important;
  -webkit-overflow-scrolling: touch;
}
.utility-modal-player-sheet {
  max-height: calc(100svh - 10px);
  background: #1f1f1f !important;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: 0 -18px 54px rgba(0,0,0,.62) !important;
}
.utility-modal-player-sheet .player-sheet-drag-zone {
  flex: 0 0 38px;
  padding-top: 14px;
}
.utility-modal-player-sheet .player-sheet-scroll {
  padding: 0 24px calc(26px + env(safe-area-inset-bottom, 0px));
}
.utility-sheet-content { min-height: 0; }
.utility-sheet-head {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 66px;
  margin: 0 -2px 8px;
  padding: 5px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg,#1f1f1f 72%,rgba(31,31,31,0));
}
.utility-sheet-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
}
.utility-sheet-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #292929;
}
.utility-sheet-close .icon { width: 24px; height: 24px; }
.utility-sheet-body { min-height: 0; overflow: visible; }
.utility-modal-player-sheet .queue-list { padding-bottom: 4px; }
.utility-modal-player-sheet .queue-item { min-height: 70px; }
.connection-card-local { grid-template-columns: 48px minmax(0,1fr); }
@media (max-width:390px) {
  .utility-modal-player-sheet .player-sheet-scroll { padding-left: 20px; padding-right: 20px; }
}

/* V1.26.0: Share Tech Mono, clean navigation, library grid and genre discovery */
html,
body,
button,
input,
select,
textarea,
optgroup,
option {
  font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
}

.home-main-head-clean {
  grid-template-columns: 48px minmax(0,1fr) 48px !important;
}
.home-header-spacer { min-width: 0; }
.home-filter-pills { display: none !important; }

.bottom-nav .nav-item,
.bottom-nav .nav-icon-wrap,
.bottom-nav .nav-item .icon {
  transition: color .18s ease, transform .18s cubic-bezier(.22,.78,.22,1), opacity .18s ease !important;
}
.bottom-nav .nav-icon-wrap,
.bottom-nav .nav-item.active .nav-icon-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.bottom-nav .nav-item { color: #777 !important; }
.bottom-nav .nav-item .icon { transform: scale(1); color: #777; }
.bottom-nav .nav-item.active { color: #fff !important; }
.bottom-nav .nav-item.active .icon {
  color: #fff !important;
  transform: scale(1.16);
}
.bottom-nav .nav-item:active .icon { transform: scale(1.06); }
.bottom-nav .nav-item.active:active .icon { transform: scale(1.11); }

.library-sort {
  justify-content: space-between;
  gap: 10px;
}
.library-sort-trigger,
.library-view-toggle {
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0;
}
.library-sort-trigger strong { font-size: 14px; }
.library-view-toggle {
  margin-left: auto !important;
  width: 42px !important;
  height: 42px !important;
}
.library-view-toggle .icon { width: 27px; height: 27px; }

.collection-list.is-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: start;
  gap: 26px 14px;
  padding-top: 8px;
}
.collection-list.is-grid .collection-row {
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
}
.collection-list.is-grid .collection-square,
.collection-list.is-grid .collection-round {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.collection-list.is-grid .collection-row > span:last-child { min-width: 0; width: 100%; }
.collection-list.is-grid .collection-row strong {
  font-size: 14px;
  line-height: 1.28;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.collection-list.is-grid .collection-row small {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.28;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.collection-list.is-grid .utility-row .utility-icon { background: #292929; }

.library-sort-player-sheet .player-sheet-scroll { padding: 0 24px 18px; }
.library-sort-sheet-content h2 {
  margin: 4px 0 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}
.library-sort-options { border-top: 1px solid rgba(255,255,255,.09); }
.library-sort-options button {
  width: 100%;
  min-height: 72px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-size: 17px;
}
.library-sort-options button.selected,
.library-sort-options button.selected .icon { color: var(--spotify-green, #1ed760); }
.library-sort-options .icon { width: 28px; height: 28px; stroke-width: 2.4; }

.browse-section h2 { margin-bottom: 18px; }
.browse-card {
  min-height: 158px;
  isolation: isolate;
}
.browse-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg,rgba(255,255,255,.08),transparent 48%,rgba(0,0,0,.15));
  pointer-events: none;
}
.browse-card strong,
.browse-card img { z-index: 1; }
.browse-card img { width: 96px; height: 96px; }

@media (max-width: 390px) {
  .collection-list.is-grid { gap: 22px 11px; }
  .collection-list.is-grid .collection-row strong { font-size: 12px; }
  .collection-list.is-grid .collection-row small { font-size: 10px; }
  .browse-card { min-height: 145px; }
}


/* V1.27.1 Firebase account, profile and cloud sync */
.profile-page-v127 .profile-summary-card { align-items:center; }
.profile-avatar-large,
.profile-avatar-edit,
.drawer-avatar {
  aspect-ratio:1 / 1;
  flex:0 0 auto;
  border-radius:50% !important;
  overflow:hidden;
  position:relative;
  display:grid;
  place-items:center;
  background:#ff633d;
  color:#111;
  line-height:1;
}
.profile-avatar-large { width:76px !important; height:76px !important; min-width:76px; min-height:76px; }
.profile-avatar-large b,
.profile-avatar-edit b { font:inherit; font-weight:900; }
.profile-avatar-large img,
.profile-avatar-edit img,
.drawer-avatar img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.profile-avatar-large.has-photo b,
.profile-avatar-edit.has-photo b { opacity:0; }
.drawer-avatar { width:54px !important; height:54px !important; min-width:54px; font-size:24px; }
.drawer-avatar.has-photo { background:#222; }

.account-detail-card {
  margin:0 8px 22px;
  padding:8px 18px;
  border-radius:22px;
  background:rgba(31,31,31,.9);
  border:1px solid rgba(255,255,255,.075);
}
.account-detail-card > div {
  min-height:62px;
  display:grid;
  grid-template-columns:minmax(110px,.8fr) minmax(0,1.4fr);
  align-items:center;
  gap:16px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.account-detail-card > div:last-child { border-bottom:0; }
.account-detail-card span { color:#9c9c9c; }
.account-detail-card strong { text-align:right; overflow-wrap:anywhere; }
.account-status { display:inline-flex; justify-content:flex-end; align-items:center; gap:8px; }
.account-status i { width:9px; height:9px; border-radius:50%; background:#777; box-shadow:0 0 0 4px rgba(255,255,255,.04); }
.account-status.online i { background:#1ed760; box-shadow:0 0 0 4px rgba(30,215,96,.13); }
.profile-auth-row strong { color:#1ed760; }
.profile-logout-row strong { color:#ff667d; }

.auth-page {
  min-height:100svh;
  padding:calc(24px + env(safe-area-inset-top,0px)) 20px calc(42px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg, color-mix(in srgb,var(--accent) 30%,#0b0b0b) 0,#0b0b0b 37%);
  overflow-y:auto;
}
.auth-header { width:min(100%,520px); margin:0 auto 24px; display:flex; align-items:flex-start; gap:16px; }
.auth-header > button { width:46px; height:46px; border:0; border-radius:50%; color:#fff; background:rgba(255,255,255,.08); display:grid; place-items:center; }
.auth-header > button svg { width:25px; height:25px; }
.auth-header h1 { margin:2px 0 5px; font-size:31px; }
.auth-header p { margin:0; color:#aaa; line-height:1.45; }
.auth-card {
  width:min(100%,520px);
  margin:0 auto;
  padding:25px;
  border-radius:28px;
  background:rgba(28,28,28,.94);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}
.auth-form { display:grid; gap:17px; }
.auth-field { display:grid; gap:8px; color:#fff; }
.auth-field > span { font-size:15px; color:#cfcfcf; }
.auth-field input,
.username-input-wrap,
.password-input-wrap {
  width:100%;
  min-height:54px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.12);
  background:#292929;
  color:#fff;
  font:inherit;
}
.auth-field input { padding:0 15px; outline:none; }
.auth-field input:focus,
.username-input-wrap:focus-within,
.password-input-wrap:focus-within { border-color:#1ed760; box-shadow:0 0 0 3px rgba(30,215,96,.12); }
.auth-field input[readonly] { opacity:.72; cursor:not-allowed; }
.auth-field small { color:#888; line-height:1.35; }
.auth-field small.available { color:#1ed760; }
.auth-field small.taken { color:#ff667d; }
.password-input-wrap,
.username-input-wrap { display:flex; align-items:center; overflow:hidden; }
.password-input-wrap input,
.username-input-wrap input { min-width:0; flex:1; border:0; background:transparent; box-shadow:none !important; }
.username-input-wrap b { padding-left:15px; color:#1ed760; font-size:20px; }
.password-input-wrap button { width:52px; align-self:stretch; border:0; background:transparent; color:#aaa; display:grid; place-items:center; }
.password-input-wrap button.visible { color:#1ed760; }
.password-input-wrap svg { width:23px; height:23px; }
.auth-primary,
.onboarding-finish {
  min-height:54px;
  border:0;
  border-radius:999px;
  background:#1ed760;
  color:#07130b;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.auth-primary:disabled,
.onboarding-finish:disabled { opacity:.5; cursor:not-allowed; }
.auth-text-link { display:block; margin:15px auto 0; border:0; background:none; color:#bcbcbc; text-decoration:underline; font:inherit; }
.auth-switch-copy { margin:22px 0 0; text-align:center; color:#aaa; }
.auth-switch-copy button { border:0; background:none; color:#1ed760; font:inherit; font-weight:800; }
.auth-divider { display:flex; align-items:center; gap:14px; margin:24px 0 18px; color:#777; }
.auth-divider::before,.auth-divider::after { content:""; height:1px; background:rgba(255,255,255,.1); flex:1; }
.google-auth-btn { width:100%; min-height:54px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:#fff; color:#111; font:inherit; font-weight:900; display:flex; align-items:center; justify-content:center; gap:12px; }
.google-auth-btn svg { width:24px; height:24px; }
.auth-warning { display:flex; gap:12px; align-items:flex-start; padding:14px; border-radius:15px; background:rgba(255,184,0,.11); color:#ffcf52; margin-bottom:18px; }
.auth-warning svg { width:23px; height:23px; flex:0 0 auto; }
.auth-form.busy { opacity:.72; }

.firebase-setup-note { display:flex; align-items:flex-start; gap:14px; padding:15px; border-radius:16px; background:rgba(255,255,255,.05); margin-bottom:18px; }
.firebase-setup-note svg { width:28px; height:28px; color:#1ed760; flex:0 0 auto; }
.firebase-setup-note p { margin:0; color:#c2c2c2; line-height:1.5; }
.secondary-btn { width:100%; min-height:52px; border-radius:15px; border:1px solid rgba(255,255,255,.13); background:#292929; color:#fff; font:inherit; font-weight:800; }
.security-email-reset { margin-top:12px; display:flex; align-items:center; justify-content:center; gap:10px; }
.security-email-reset svg { width:21px; height:21px; }

.profile-edit-avatar { display:flex; align-items:center; gap:16px; margin:0 0 18px; }
.profile-avatar-edit { width:84px; height:84px; font-size:30px; }
.photo-upload-btn { min-height:46px; padding:0 16px; border-radius:999px; background:#303030; display:flex; align-items:center; gap:9px; font-weight:800; cursor:pointer; }
.photo-upload-btn svg { width:21px; height:21px; }

.backup-target-list { display:grid; gap:10px; }
.backup-target-list > button { width:100%; min-height:80px; border:0; border-radius:17px; background:#292929; color:#fff; padding:14px; display:grid; grid-template-columns:42px 1fr 24px; gap:12px; align-items:center; text-align:left; }
.backup-target-list > button > svg { width:30px; height:30px; }
.backup-target-list > button span { display:grid; gap:4px; min-width:0; }
.backup-target-list > button strong { font-size:17px; }
.backup-target-list > button small { color:#999; line-height:1.35; }
.firebase-logo { width:34px !important; height:34px !important; }
.connection-card .firebase-logo { width:52px !important; height:52px !important; }
.connection-sync-now,
.connection-login-now { display:flex; align-items:center; justify-content:center; gap:10px; width:calc(100% - 16px); margin:18px 8px 0; min-height:52px; border:0; border-radius:999px; background:#1ed760; color:#08130b; font:inherit; font-weight:900; }
.connection-sync-now svg,
.connection-login-now svg { width:22px; height:22px; }

.onboarding-page { min-height:100svh; padding:calc(40px + env(safe-area-inset-top,0px)) 22px calc(40px + env(safe-area-inset-bottom,0px)); background:linear-gradient(180deg,#12331f 0,#090909 34%); overflow-y:auto; }
.onboarding-page > header { max-width:640px; margin:0 auto 24px; }
.onboarding-page > header > span { color:#1ed760; font-weight:900; }
.onboarding-page h1 { font-size:34px; margin:8px 0; }
.onboarding-page header p { margin:0; color:#aaa; line-height:1.45; }
.onboarding-search { max-width:640px; margin:0 auto 18px; min-height:56px; display:grid; grid-template-columns:38px 1fr auto; align-items:center; padding:0 8px 0 14px; border-radius:17px; background:#fff; color:#111; }
.onboarding-search svg { width:24px; height:24px; }
.onboarding-search input { min-width:0; height:52px; border:0; outline:0; background:transparent; color:#111; font:inherit; }
.onboarding-search button { min-height:40px; padding:0 17px; border:0; border-radius:999px; background:#111; color:#fff; font:inherit; font-weight:800; }
.selected-counter { max-width:640px; margin:0 auto 14px; display:flex; align-items:baseline; gap:8px; color:#aaa; }
.selected-counter strong { color:#1ed760; font-size:24px; }
.onboarding-artist-grid { max-width:640px; margin:0 auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px 12px; }
.onboarding-artist-grid button { position:relative; border:0; background:none; color:#fff; padding:0; display:grid; gap:8px; text-align:center; }
.onboarding-artist-grid img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:50%; border:3px solid transparent; }
.onboarding-artist-grid span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.onboarding-artist-grid i { display:none; position:absolute; right:5px; top:5px; width:29px; height:29px; border-radius:50%; background:#1ed760; color:#07130b; place-items:center; }
.onboarding-artist-grid i svg { width:18px; height:18px; }
.onboarding-artist-grid button.selected img { border-color:#1ed760; filter:brightness(.78); }
.onboarding-artist-grid button.selected i { display:grid; }
.onboarding-finish { position:sticky; bottom:12px; display:block; width:min(100%,640px); margin:30px auto 0; box-shadow:0 10px 35px rgba(0,0,0,.5); }

@media (max-width:390px) {
  .account-detail-card > div { grid-template-columns:1fr; gap:5px; padding:12px 0; }
  .account-detail-card strong { text-align:left; }
  .account-status { justify-content:flex-start; }
  .auth-card { padding:20px 17px; }
  .onboarding-artist-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 9px; }
}
html[data-cover-shape="square"] .profile-avatar-large img,
html[data-cover-shape="square"] .profile-avatar-edit img,
html[data-cover-shape="square"] .drawer-avatar img,
html[data-cover-shape="square"] .onboarding-artist-grid img {
  border-radius:50% !important;
}

/* V1.29.0 playlist playback context, Firebase media links and compact creation sheet */
.avatar-button {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.avatar-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-button b { font: inherit; line-height: 1; }
.avatar-button.has-photo { background: #222; }
.avatar-button.has-photo b { opacity: 0; }

.library-sort-trigger {
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
  width: auto !important;
  padding: 0 8px 0 2px !important;
}

.save-playlist-player-sheet .player-sheet-scroll,
.playlist-detail-player-sheet .player-sheet-scroll {
  padding: 0 18px calc(28px + env(safe-area-inset-bottom, 0px));
}
.save-playlist-sheet-content > header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.save-playlist-sheet-content > header h2 {
  margin: 0;
  font-size: 22px;
}
.save-playlist-sheet-content > header button {
  border: 0;
  background: transparent;
  color: var(--spotify-green, #1ed760);
  font: inherit;
  font-weight: 900;
}
.save-playlist-list { display: grid; }
.save-playlist-row {
  width: 100%;
  min-height: 88px;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 68px minmax(0,1fr) 44px;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.save-playlist-row > img,
.save-liked-cover,
.save-new-cover {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.save-liked-cover { background: linear-gradient(135deg,#5c2df0,#b7f5d9); }
.save-liked-cover .icon { width: 32px; height: 32px; fill: #fff; }
.save-new-cover { background: #313131; color: #aaa; }
.save-new-cover .icon { width: 37px; height: 37px; }
.save-playlist-row > span:nth-child(2) { min-width: 0; }
.save-playlist-row strong,
.save-playlist-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.save-playlist-row strong { font-size: 17px; }
.save-playlist-row small { margin-top: 7px; color: #aaa; font-size: 13px; }
.save-playlist-row i { display: grid; place-items: center; color: #aaa; }
.save-playlist-row i .icon { width: 31px; height: 31px; }
.save-playlist-row i.saved { color: var(--spotify-green, #1ed760); }
.save-playlist-row.create-row { border-bottom: 0; }


.playlist-create-player-sheet .player-sheet-scroll {
  padding: 0 20px calc(28px + env(safe-area-inset-bottom,0px));
}
.playlist-create-sheet-content {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 2px 0 8px;
}
.playlist-create-sheet-content > header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.playlist-create-sheet-content > header small {
  display: block;
  margin-bottom: 4px;
  color: var(--spotify-green, #1ed760);
  font-size: 11px;
  letter-spacing: .13em;
}
.playlist-create-sheet-content > header h2 { margin: 0; font-size: 24px; }
.playlist-create-sheet-content > header button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #fff;
  display: grid;
  place-items: center;
}
.playlist-create-sheet-content > header button .icon { width: 23px; height: 23px; }
.playlist-name-field {
  display: grid;
  gap: 10px;
  margin: 24px 0 10px;
}
.playlist-name-field > span { color: #aaa; font-size: 13px; }
.playlist-name-field input {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  outline: 0;
  background: rgba(255,255,255,.055);
  color: #fff;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  caret-color: var(--spotify-green, #1ed760);
}
.playlist-name-field input:focus {
  border-color: var(--spotify-green, #1ed760);
  box-shadow: 0 0 0 3px rgba(30,215,96,.12);
}
.playlist-create-hint { margin: 0 0 22px; color: #858585; font-size: 12px; line-height: 1.45; }
.playlist-create-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}
.playlist-create-actions button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
  color: #fff;
  font: inherit;
  font-weight: 900;
}
.playlist-create-actions button.primary {
  border-color: var(--spotify-green, #1ed760);
  background: var(--spotify-green, #1ed760);
  color: #07130a;
}

.playlist-detail-sheet > header {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr) 58px;
  gap: 16px;
  align-items: end;
  padding: 4px 2px 24px;
}
.playlist-detail-sheet > header > img { width: 96px; height: 96px; object-fit: cover; border-radius: 9px; }
.playlist-detail-sheet > header div { min-width: 0; }
.playlist-detail-sheet > header small { color: #aaa; font-size: 11px; }
.playlist-detail-sheet > header h2 { margin: 6px 0 3px; font-size: 25px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-detail-sheet > header p { margin: 0; color: #aaa; }
.playlist-detail-sheet > header > button { width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--spotify-green, #1ed760); color: #07130a; display: grid; place-items: center; }
.playlist-detail-sheet > header > button .icon { width: 27px; height: 27px; }
.playlist-detail-list { border-top: 1px solid rgba(255,255,255,.09); }
.playlist-detail-list > button {
  width: 100%;
  min-height: 76px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  text-align: left;
}
.playlist-detail-list > button img { width: 58px; height: 58px; object-fit: cover; border-radius: 5px; }
.playlist-detail-list > button span { min-width: 0; }
.playlist-detail-list > button strong,
.playlist-detail-list > button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-detail-list > button small { margin-top: 5px; color: #aaa; }
.playlist-detail-list > button em { color: #999; font-style: normal; font-size: 12px; }
.playlist-detail-list > button.is-current strong,
.playlist-detail-list > button.is-current em { color: var(--spotify-green, #1ed760); }
.playlist-detail-list > button.is-current small { color: rgba(30,215,96,.78); }
.playlist-detail-list > button.is-current { background: linear-gradient(90deg, rgba(30,215,96,.09), transparent 72%); }
.playlist-detail-list > button.is-playing img { box-shadow: 0 0 0 2px var(--spotify-green, #1ed760); }
.playlist-detail-sheet > header > button.is-playing { box-shadow: 0 0 0 4px rgba(30,215,96,.16); }

html[data-text-scale="small"] { font-size: 14px; }
html[data-text-scale="xsmall"] { font-size: 13px; }
html[data-text-scale="small"] .page,
html[data-text-scale="xsmall"] .page { --compact-text: 1; }

@media (max-width: 390px) {
  .save-playlist-row { grid-template-columns: 60px minmax(0,1fr) 38px; }
  .save-playlist-row > img,
  .save-liked-cover,
  .save-new-cover { width: 60px; height: 60px; }
  .playlist-create-actions button { min-width: 112px; padding: 0 20px; }
}

/* V1.30.0 account identity, playback avatar ring, account status and playlist sheet polish */
.avatar-button,
.drawer-avatar,
.profile-avatar-large {
  box-sizing: border-box;
  border: 2px solid #fff !important;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.avatar-button.is-listening,
.drawer-avatar.is-listening,
.profile-avatar-large.is-listening {
  border-color: var(--spotify-green, #1ed760) !important;
  animation: datzonAvatarListeningPulse 1.65s ease-in-out infinite;
}

@keyframes datzonAvatarListeningPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(30, 215, 96, .42), 0 0 0 1px rgba(30, 215, 96, .16);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(30, 215, 96, 0), 0 0 18px rgba(30, 215, 96, .34);
  }
}

.home-main-head.home-main-head-clean {
  display: flex !important;
  grid-template-columns: none !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px !important;
}

.home-account-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
}

.home-account-name {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  text-align: left;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.home-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
}

.home-account-status {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(31,31,31,.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.home-account-status > span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #777;
  box-shadow: 0 0 0 4px rgba(119,119,119,.13);
}

.home-account-status.status-online > span {
  background: var(--spotify-green, #1ed760);
  box-shadow: 0 0 0 4px rgba(30,215,96,.14), 0 0 12px rgba(30,215,96,.3);
}

.home-account-status.status-busy > span {
  background: #ff4d67;
  box-shadow: 0 0 0 4px rgba(255,77,103,.14), 0 0 12px rgba(255,77,103,.25);
}

.home-account-status.status-offline > span {
  background: #777;
  box-shadow: 0 0 0 4px rgba(119,119,119,.14);
}

.account-status.busy i {
  background: #ff4d67;
  box-shadow: 0 0 0 4px rgba(255,77,103,.13);
}

.account-status-player-sheet .player-sheet-scroll {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.account-status-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.account-status-sheet > header small {
  display: block;
  color: var(--spotify-green, #1ed760);
  font-size: 11px;
  letter-spacing: .12em;
}

.account-status-sheet > header h2 {
  margin: 5px 0 0;
  font-size: 26px;
  line-height: 1.08;
}

.account-status-sheet > header > button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.055);
  color: #fff;
}

.account-status-options {
  display: grid;
  gap: 4px;
  padding-top: 12px;
}

.account-status-options > button {
  width: 100%;
  min-height: 72px;
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.075);
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 28px;
  gap: 12px;
  align-items: center;
  text-align: left;
}

.account-status-options > button > i {
  width: 15px;
  height: 15px;
  margin-left: 7px;
  border-radius: 50%;
  background: #777;
  box-shadow: 0 0 0 6px rgba(119,119,119,.12);
}

.account-status-options > button > i.status-green {
  background: var(--spotify-green, #1ed760);
  box-shadow: 0 0 0 6px rgba(30,215,96,.12);
}

.account-status-options > button > i.status-red {
  background: #ff4d67;
  box-shadow: 0 0 0 6px rgba(255,77,103,.12);
}

.account-status-options > button span {
  min-width: 0;
}

.account-status-options > button strong,
.account-status-options > button small {
  display: block;
}

.account-status-options > button strong {
  font-size: 18px;
}

.account-status-options > button small {
  margin-top: 5px;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.35;
}

.account-status-options > button.selected strong,
.account-status-options > button.selected > .icon {
  color: var(--spotify-green, #1ed760);
}

.account-status-options > button > .icon {
  width: 24px;
  height: 24px;
  justify-self: end;
}

.playlist-create-sheet-content .playlist-name-field {
  margin-bottom: 24px;
}

.playlist-create-sheet-content .playlist-create-actions {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  align-items: center;
}

.playlist-create-sheet-content .playlist-create-actions button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 0 20px;
  display: grid;
  place-items: center;
  line-height: 1;
}

@media (max-width: 380px) {
  .home-account-name { font-size: 16px; }
  .home-account-identity { gap: 9px; }
  .home-header-actions { gap: 7px; }
  .home-account-status { width: 39px; height: 39px; }
  .home-notification-btn { width: 41px; height: 41px; }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-button.is-listening,
  .drawer-avatar.is-listening,
  .profile-avatar-large.is-listening {
    animation: none !important;
    box-shadow: 0 0 0 4px rgba(30,215,96,.14);
  }
}

/* V1.31.0 Social graph, leaderboard and global notifications */
.friends-page,.leaderboard-page,.public-profile-page{padding-bottom:calc(180px + env(safe-area-inset-bottom,0px))!important}
.friend-search-card{margin:8px 8px 18px;padding:12px;border-radius:18px;background:rgba(31,31,31,.92);border:1px solid rgba(255,255,255,.07)}
.friend-search-card form>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border-radius:14px;background:#292929}
.friend-search-card .icon{width:22px;height:22px;color:#aaa}.friend-search-card input{min-width:0;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-size:16px}.friend-search-card button{border:0;border-radius:999px;padding:9px 15px;background:var(--spotify-green,#1ed760);color:#07150b;font:inherit;font-weight:800}
.social-section{margin:0 8px 22px}.social-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px}.social-section-title h2{margin:0;font-size:20px}.social-section-title span{min-width:28px;padding:3px 8px;border-radius:999px;background:rgba(30,215,96,.14);color:#1ed760;text-align:center}
.social-list{display:grid;gap:5px}.social-profile-row{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:72px;padding:8px 9px;border-radius:15px;background:rgba(31,31,31,.78);border:1px solid transparent;color:#fff;cursor:pointer}.social-profile-row:active{background:#2a2a2a}.social-profile-row>div{min-width:0}.social-profile-row strong,.social-profile-row small,.social-profile-row em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-profile-row strong{font-size:16px}.social-profile-row small{margin-top:4px;color:#a8a8a8;font-size:12px}.social-profile-row em{margin-top:5px;font-style:normal;font-size:11px;color:#aaa}.social-profile-row em.status-online{color:#1ed760}.social-profile-row em.status-busy{color:#ff536c}
.social-avatar,.public-profile-avatar,.leaderboard-avatar,.leaderboard-row-avatar,.listen-friend-avatar,.notification-avatar{position:relative;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#4b4b4b;color:#fff;flex:none}.social-avatar{width:50px;height:50px}.social-avatar img,.public-profile-avatar img,.leaderboard-avatar img,.leaderboard-row-avatar img,.listen-friend-avatar img,.notification-avatar img{width:100%;height:100%;object-fit:cover}.social-avatar b,.public-profile-avatar b,.leaderboard-avatar b,.leaderboard-row-avatar b,.listen-friend-avatar b{font-size:20px}.has-photo>b{display:none}
.social-add-btn{border:0;border-radius:999px;padding:9px 11px;background:#fff;color:#111;font:inherit;font-size:11px;font-weight:800}.social-add-btn:disabled{opacity:.6}.social-empty,.social-loading{padding:22px;border-radius:15px;background:#202020;color:#aaa;text-align:center;line-height:1.45}
.social-login-empty{margin:30px 8px;padding:35px 20px;border-radius:24px;background:#202020;text-align:center}.social-login-empty>.icon{width:48px;height:48px;color:#1ed760}.social-login-empty h2{margin:14px 0 8px}.social-login-empty p{color:#aaa;line-height:1.5}.social-login-empty button{margin-top:16px;border:0;border-radius:999px;background:#1ed760;color:#061208;padding:13px 22px;font:inherit;font-weight:800}
.public-profile-loading{margin:28px 8px;padding:38px;border-radius:22px;background:#202020;text-align:center;color:#aaa}.public-profile-hero{margin:12px 8px 22px;padding:28px 20px;border-radius:25px;background:linear-gradient(145deg,rgba(var(--theme-rgb,30,90,50),.75),rgba(26,26,26,.94));text-align:center}.public-profile-avatar{width:104px;height:104px;margin:0 auto;border:3px solid #fff}.public-profile-hero h1{margin:17px 0 4px;font-size:29px}.public-profile-hero p{margin:0;color:#b5b5b5}.public-status{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:7px 11px;border-radius:999px;background:rgba(0,0,0,.3);font-size:12px}.public-status i{width:9px;height:9px;border-radius:50%;background:#777}.public-status.status-online i{background:#1ed760;box-shadow:0 0 0 4px rgba(30,215,96,.12)}.public-status.status-busy i{background:#ff536c}.public-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 8px}.public-profile-actions button{min-height:52px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:#262626;color:#fff;font:inherit;font-weight:800}.public-profile-actions button.primary{background:#1ed760;color:#07140a;border-color:#1ed760}.public-profile-actions .icon{width:20px;height:20px;vertical-align:middle;margin-right:6px}
.leaderboard-podium{display:flex;align-items:flex-end;justify-content:center;gap:9px;margin:14px 8px 25px;min-height:210px}.leaderboard-podium button{width:31%;min-height:155px;border:0;border-radius:20px;background:#242424;color:#fff;padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.leaderboard-podium .podium-1{order:2;min-height:195px;background:linear-gradient(180deg,rgba(30,215,96,.25),#242424)}.leaderboard-podium .podium-2{order:1}.leaderboard-podium .podium-3{order:3}.leaderboard-avatar{width:64px;height:64px;border:2px solid #fff}.leaderboard-podium b{margin-top:8px;color:#1ed760}.leaderboard-podium strong{margin-top:5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-podium span{margin-top:4px;color:#aaa;font-size:10px}.leaderboard-list{margin:0 8px;display:grid;gap:4px}.leaderboard-list>button{display:grid;grid-template-columns:30px 46px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:66px;border:0;border-bottom:1px solid rgba(255,255,255,.08);background:transparent;color:#fff;text-align:left}.leaderboard-row-avatar{width:44px;height:44px}.leaderboard-list strong,.leaderboard-list small{display:block}.leaderboard-list small{color:#999;margin-top:3px}.leaderboard-list em{font-style:normal;color:#1ed760;font-size:11px;text-align:right}
.global-notification-player-sheet .player-sheet-scroll{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}.global-notification-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 18px;border-bottom:1px solid rgba(255,255,255,.09)}.global-notification-sheet>header small{color:#1ed760;letter-spacing:.12em}.global-notification-sheet>header h2{margin:3px 0 0}.global-notification-sheet>header button{border:0;border-radius:999px;padding:9px 12px;background:#303030;color:#fff;font:inherit;font-size:11px}.global-notification-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:start;padding:16px 2px;border-bottom:1px solid rgba(255,255,255,.08)}.global-notification-item.is-unread{background:linear-gradient(90deg,rgba(30,215,96,.1),transparent);margin:0 -10px;padding-left:12px;padding-right:12px;border-radius:14px}.notification-avatar,.notification-type-icon{width:46px;height:46px}.notification-type-icon{display:grid;place-items:center;border-radius:50%;background:rgba(30,215,96,.12);color:#1ed760}.notification-type-icon .icon{width:23px;height:23px}.global-notification-item strong{font-size:15px}.global-notification-item p{margin:5px 0 0;color:#c3c3c3;font-size:12px;line-height:1.45}.global-notification-item small{display:block;margin-top:6px;color:#7f7f7f;font-size:10px}.notification-open-profile{align-self:center;border:0;background:transparent;color:#888}.notification-actions{display:flex;gap:8px;margin-top:11px}.notification-actions button{border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#2d2d2d;color:#fff;padding:8px 14px;font:inherit;font-size:11px}.notification-actions button.accept{background:#1ed760;color:#071409;border-color:#1ed760}.global-notification-empty{padding:55px 24px;text-align:center;color:#999}.global-notification-empty .icon{width:46px;height:46px;color:#1ed760}.global-notification-empty strong,.global-notification-empty span{display:block}.global-notification-empty strong{margin-top:13px;color:#fff;font-size:19px}.global-notification-empty span{margin-top:8px;line-height:1.5}
.listen-together-player-sheet .player-sheet-scroll{padding-bottom:calc(25px + env(safe-area-inset-bottom,0px))}.listen-together-sheet>header{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:12px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}.listen-together-sheet>header small{color:#1ed760;letter-spacing:.12em}.listen-together-sheet>header h2{margin:4px 0}.listen-together-sheet>header p{margin:0;color:#aaa;font-size:12px}.listen-together-sheet>header button{width:42px;height:42px;border:0;border-radius:50%;background:#2c2c2c;color:#fff}.listen-friend-list{display:grid}.listen-friend-list>button{display:grid;grid-template-columns:48px minmax(0,1fr) 24px;gap:12px;align-items:center;min-height:70px;border:0;border-bottom:1px solid rgba(255,255,255,.07);background:transparent;color:#fff;text-align:left}.listen-friend-avatar{width:46px;height:46px}.listen-friend-list strong,.listen-friend-list small{display:block}.listen-friend-list small{margin-top:4px;color:#999;font-size:11px}
@media(max-width:430px){.social-profile-row{grid-template-columns:50px minmax(0,1fr) auto}.social-add-btn{max-width:92px}.public-profile-actions{grid-template-columns:1fr}.leaderboard-podium{gap:6px}.leaderboard-podium button{padding-left:5px;padding-right:5px}.leaderboard-list>button{grid-template-columns:24px 42px minmax(0,1fr) auto}}


/* V1.33.0: keep exactly one DATZON password visibility control on Microsoft Edge. */
.password-input-wrap input::-ms-reveal,
.password-input-wrap input::-ms-clear,
.password-input-wrap input::-webkit-credentials-auto-fill-button,
.password-input-wrap input::-webkit-contacts-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}
.password-input-wrap input {
  -webkit-appearance: none;
  appearance: none;
}
.password-input-wrap .datzon-password-toggle {
  position: relative;
  z-index: 3;
  flex: 0 0 52px;
}

/* V1.34.0: bantuan, laporan, fokus lirik, dan aset Firebase */
.firebase-logo-image {
  display: block;
  object-fit: contain;
  background: transparent;
}
.connection-card .firebase-logo-image {
  width: 58px !important;
  height: 58px !important;
}
.backup-target-list .firebase-logo-image {
  width: 32px !important;
  height: 32px !important;
}

.help-player-sheet .player-sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.help-sheet-content {
  min-height: 100%;
  padding: 4px 20px calc(28px + env(safe-area-inset-bottom));
}
.help-sheet-content > header,
.report-detail-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.help-sheet-content > header small,
.report-detail-sheet > header small {
  display: block;
  margin-bottom: 5px;
  color: var(--accent, #1ed760);
  letter-spacing: .12em;
  font-size: .72rem;
}
.help-sheet-content > header h2,
.report-detail-sheet > header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 2rem);
}
.help-sheet-content > header button,
.report-detail-sheet > header button {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
}
.help-list details {
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.help-list summary {
  position: relative;
  list-style: none;
  padding: 20px 34px 20px 0;
  line-height: 1.35;
  font-size: 1rem;
}
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent, #1ed760);
  font-size: 1.45rem;
}
.help-list details[open] summary::after { content: '−'; }
.help-list p {
  margin: -3px 0 19px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}
.help-report-button {
  width: 100%;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.help-report-button .icon { width: 22px; height: 22px; }

.report-page,
.admin-reports-page {
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
}
.report-login-required {
  margin: 28px 22px;
  padding: 34px 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: rgba(27,27,27,.92);
  text-align: center;
}
.report-login-required > .icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--accent, #1ed760);
}
.report-login-required h2 { margin: 0 0 10px; }
.report-login-required p {
  margin: 0 auto 22px;
  max-width: 460px;
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}
.report-login-required button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent, #1ed760);
  color: #07110a;
  font-weight: 900;
}
.report-form {
  margin: 22px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: rgba(27,27,27,.94);
}
.report-form label {
  display: block;
  margin-bottom: 20px;
}
.report-form label > span,
.report-upload-section strong {
  display: block;
  margin-bottom: 9px;
  font-size: .96rem;
  font-weight: 800;
}
.report-form input,
.report-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: #fff;
  padding: 15px 16px;
  outline: none;
  resize: vertical;
}
.report-form input:focus,
.report-form textarea:focus {
  border-color: var(--accent, #1ed760);
  box-shadow: 0 0 0 3px rgba(30,215,96,.12);
}
.report-upload-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 20px;
}
.report-upload-section small {
  display: block;
  color: rgba(255,255,255,.5);
}
.report-upload-section button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.report-upload-section button .icon { width: 20px; height: 20px; }
.report-image-previews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin: 14px 0 20px;
}
.report-image-previews article {
  position: relative;
  min-width: 0;
}
.report-image-previews img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
}
.report-image-previews button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(0,0,0,.78);
}
.report-image-previews button .icon { width: 17px; height: 17px; }
.report-image-previews small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: rgba(255,255,255,.45);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-form-note {
  display: flex;
  gap: 11px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(30,215,96,.08);
  color: rgba(255,255,255,.66);
}
.report-form-note .icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent, #1ed760); }
.report-form-note p { margin: 0; line-height: 1.5; }
.report-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.admin-report-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 22px;
}
.admin-report-summary article {
  padding: 18px 10px;
  border-radius: 20px;
  background: rgba(31,31,31,.94);
  text-align: center;
}
.admin-report-summary strong { display: block; font-size: 1.55rem; }
.admin-report-summary span { color: rgba(255,255,255,.52); font-size: .82rem; }
.admin-report-section { margin: 26px 22px; }
.admin-report-section > h2 { margin: 0 0 12px; font-size: 1.15rem; }
.admin-report-row {
  width: 100%;
  display: grid;
  grid-template-columns: 12px minmax(0,1fr) auto 20px;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}
.report-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0b429;
}
.report-status-dot.is-confirmed { background: #4da3ff; }
.report-status-dot.is-fixed { background: #1ed760; }
.admin-report-row strong,
.admin-report-row small,
.admin-report-row p { display: block; }
.admin-report-row small { margin-top: 4px; color: rgba(255,255,255,.52); }
.admin-report-row p {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  color: rgba(255,255,255,.66);
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.admin-report-row em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(240,180,41,.12);
  color: #f0b429;
  font-style: normal;
  font-size: .72rem;
  white-space: nowrap;
}
.admin-report-row em.is-confirmed { background: rgba(77,163,255,.12); color: #79baff; }
.admin-report-row em.is-fixed { background: rgba(30,215,96,.12); color: #1ed760; }
.admin-report-row > .icon { width: 18px; height: 18px; color: rgba(255,255,255,.4); }

.report-detail-player-sheet .player-sheet-scroll { overflow-y: auto; }
.report-detail-sheet {
  padding: 4px 22px calc(34px + env(safe-area-inset-bottom));
}
.report-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.report-detail-meta > span {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}
.reporter-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: #444;
  display: grid;
  place-items: center;
}
.reporter-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reporter-avatar b { font-size: 1rem; }
.report-detail-meta b { min-width: 0; }
.report-detail-meta small { display: block; margin-top: 3px; color: rgba(255,255,255,.5); font-weight: 400; }
.report-detail-meta > em {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(240,180,41,.12);
  color: #f0b429;
  font-style: normal;
  font-size: .75rem;
  white-space: nowrap;
}
.report-detail-meta > em.is-confirmed { background: rgba(77,163,255,.12); color: #79baff; }
.report-detail-meta > em.is-fixed { background: rgba(30,215,96,.12); color: #1ed760; }
.report-detail-sheet section {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.report-detail-sheet section h3 { margin: 0 0 10px; }
.report-detail-sheet section p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.7; white-space: pre-wrap; }
.report-detail-images {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
.report-detail-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.12);
}
.report-diagnostics pre {
  max-height: 230px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.6);
  font: inherit;
  font-size: .78rem;
  white-space: pre-wrap;
}
.report-admin-actions { padding-top: 18px; }
.report-admin-actions .primary-btn { width: 100%; }
.report-complete-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(30,215,96,.1);
  color: #1ed760;
}
.report-complete-note .icon { width: 22px; height: 22px; }

.lyrics-focus-toggle.active,
.lyrics-control-icons button.active {
  color: #1ed760;
  background: rgba(30,215,96,.16);
}
.lyrics-focus-toggle:not(.active) { opacity: .72; }
.lyrics-focus-toggle:disabled {
  opacity: .36 !important;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .report-form { margin: 16px; padding: 19px; }
  .report-upload-section { align-items: flex-start; flex-direction: column; }
  .report-upload-section button { width: 100%; justify-content: center; }
  .admin-report-row { grid-template-columns: 10px minmax(0,1fr) 18px; }
  .admin-report-row em { grid-column: 2; justify-self: start; margin-top: 3px; }
  .admin-report-row > .icon { grid-column: 3; grid-row: 1; }
  .report-detail-images { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* V1.34.0: sakelar fokus lirik yang eksplisit */
.lyrics-focus-toggle {
  width: 50px !important;
  min-width: 50px;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center;
  border-radius: 999px !important;
  background: rgba(255,255,255,.09) !important;
}
.lyrics-switch-track {
  position: relative;
  display: block;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  transition: background .2s ease;
}
.lyrics-switch-track > span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.lyrics-focus-toggle.active {
  background: rgba(30,215,96,.16) !important;
}
.lyrics-focus-toggle.active .lyrics-switch-track {
  background: #1ed760;
}
.lyrics-focus-toggle.active .lyrics-switch-track > span {
  transform: translateX(16px);
}
.lyrics-focus-toggle-compact {
  width: 46px !important;
  min-width: 46px;
}
.lyrics-focus-toggle-compact .lyrics-switch-track {
  width: 31px;
  height: 17px;
}
.lyrics-focus-toggle-compact .lyrics-switch-track > span {
  width: 11px;
  height: 11px;
}
.lyrics-focus-toggle-compact.active .lyrics-switch-track > span {
  transform: translateX(14px);
}


/* V1.35.0 report icon, sleep timer, repeat-one visibility, and DATZON boot intro */
html.boot-lock,
html.boot-lock body { overflow: hidden !important; }
.boot-splash {
  --boot-accent: #f6f6f2;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #030303;
  color: var(--boot-accent);
  overflow: hidden;
  isolation: isolate;
  transition: opacity .48s ease, visibility .48s ease;
}
.boot-glow {
  position: absolute;
  width: min(64vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--boot-accent) 13%, transparent) 0, transparent 66%);
  filter: blur(18px);
  opacity: .9;
  pointer-events: none;
}
.boot-detect-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.boot-orbit {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: var(--boot-accent);
  border-right-color: color-mix(in srgb, var(--boot-accent) 55%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--boot-accent) 20%, transparent);
  animation: datzon-boot-spin .72s linear infinite;
}
.boot-brand-sequence {
  width: min(78vw, 340px);
  display: grid;
  justify-items: center;
  gap: 17px;
  text-align: center;
}
.boot-detecting .boot-brand-sequence { display: none; }
.boot-loading .boot-detect-wrap,
.boot-leaving .boot-detect-wrap { display: none; }
.boot-title,
.boot-subtitle {
  font-family: "Baloo 2", "Segoe UI", Arial, sans-serif;
  color: var(--boot-accent);
  line-height: 1;
  text-shadow: 0 0 26px color-mix(in srgb, var(--boot-accent) 14%, transparent);
  will-change: transform, opacity, letter-spacing;
}
.boot-title {
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: .19em;
  padding-left: .19em;
  animation: datzon-boot-title-in .72s cubic-bezier(.2,.72,.2,1) both;
}
.boot-subtitle {
  font-size: clamp(10px, 3vw, 13px);
  font-weight: 700;
  letter-spacing: .46em;
  padding-left: .46em;
  opacity: .74;
  animation: datzon-boot-subtitle-in .7s .16s cubic-bezier(.2,.72,.2,1) both;
}
.boot-line {
  width: 100%;
  height: 2px;
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--boot-accent) 16%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--boot-accent) 14%, transparent);
  animation: datzon-boot-line-in .52s .08s ease-out both;
}
.boot-line-base,
.boot-line-runner {
  position: absolute;
  inset-block: 0;
  left: 0;
  display: block;
}
.boot-line-base { width: 100%; opacity: .24; background: var(--boot-accent); }
.boot-line-runner {
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--boot-accent) 22%, var(--boot-accent) 78%, transparent);
  filter: drop-shadow(0 0 7px var(--boot-accent));
  animation: datzon-boot-line-run 1.08s cubic-bezier(.45,0,.55,1) infinite;
}
.boot-leaving .boot-brand-sequence { animation: datzon-boot-sequence-out .5s cubic-bezier(.4,0,.2,1) both; }
.boot-leaving { opacity: 0; pointer-events: none; }
@keyframes datzon-boot-spin { to { transform: rotate(360deg); } }
@keyframes datzon-boot-title-in {
  from { opacity: 0; transform: translate3d(0,-15px,0) scale(.985); letter-spacing: .36em; filter: blur(5px); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); letter-spacing: .19em; filter: blur(0); }
}
@keyframes datzon-boot-subtitle-in {
  from { opacity: 0; transform: translate3d(0,13px,0); letter-spacing: .7em; filter: blur(4px); }
  to { opacity: .74; transform: translate3d(0,0,0); letter-spacing: .46em; filter: blur(0); }
}
@keyframes datzon-boot-line-in { from { opacity: 0; transform: scaleX(.28); } to { opacity: 1; transform: scaleX(1); } }
@keyframes datzon-boot-line-run { from { transform: translate3d(-115%,0,0); } to { transform: translate3d(340%,0,0); } }
@keyframes datzon-boot-sequence-out {
  from { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translate3d(0,-8px,0) scale(.975); filter: blur(5px); }
}

.repeat-wrap.one em {
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 5px currentColor;
}
.control-btn .repeat-wrap.one em { font-size: 13px !important; }
.queue-sheet-actions .repeat-wrap.one em { font-size: 10px !important; }

.drawer-menu [data-drawer-action="report"] > .icon,
[data-report-page] > .icon:first-child,
[data-about-report] > .icon:first-child,
.help-report-button .icon,
.report-submit .icon {
  stroke-width: 2.25;
}
.drawer-menu [data-drawer-action="report"] > .icon { width: 30px; height: 30px; }

.sleep-timer-sheet { padding: 0 0 10px; }
.sleep-timer-sheet > header {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 14px;
  align-items: start;
  padding: 6px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.sleep-timer-sheet > header > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 17%, #242424);
  color: var(--accent);
}
.sleep-timer-sheet > header .icon { width: 25px; height: 25px; }
.sleep-timer-sheet h2 { margin: 0 0 7px; font-size: 20px; }
.sleep-timer-sheet header p { margin: 0; color: rgba(255,255,255,.59); line-height: 1.48; font-size: 13px; }
.sleep-timer-active {
  margin: 16px 22px 8px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 12%, #202020);
}
.sleep-timer-active small,
.sleep-timer-active strong { display: block; }
.sleep-timer-active small { color: var(--accent); font-size: 10px; letter-spacing: .12em; }
.sleep-timer-active strong { margin-top: 5px; font-size: 14px; }
.sleep-timer-active button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 800;
}
.sleep-timer-sheet .timer-options { padding: 5px 0 8px; }
.sleep-timer-sheet .timer-options button {
  min-height: 62px;
  padding: 9px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.sleep-timer-sheet .timer-options button span { font-size: 17px; }
.sleep-timer-sheet .timer-options button small { color: rgba(255,255,255,.45); font-size: 11px; }


/* V1.36.0 brighter boot accent, playlist collage, functional Connect, and desktop layout */
.boot-glow { display: none !important; }
.boot-title,
.boot-subtitle { text-shadow: none !important; }
.boot-line,
.boot-line-runner,
.boot-orbit { box-shadow: none !important; filter: none !important; }

.playlist-collage-art {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr));
  grid-template-rows: repeat(2, minmax(0,1fr));
  overflow: hidden;
  padding: 0 !important;
  background: #242424;
}
.playlist-collage-art img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  border-radius: 0 !important;
  object-fit: cover;
}
.collection-row > .playlist-collage-art.collection-square,
.save-playlist-row > .playlist-collage-art.save-playlist-art,
.playlist-detail-sheet > header > .playlist-collage-art.playlist-detail-art {
  flex: 0 0 auto;
}
.save-playlist-row > .save-playlist-art {
  width: 64px;
  height: 64px;
  border-radius: 5px;
}
.playlist-detail-sheet > header > .playlist-detail-art {
  width: 96px;
  height: 96px;
  border-radius: 9px;
  object-fit: cover;
}

.connect-status {
  margin: 18px 0 6px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.55;
}
.connect-actions button:disabled { opacity: .48; pointer-events: none; }

.desktop-sidebar-root { display: none; }

@media (min-width: 1024px) {
  :root {
    --desktop-sidebar-width: 300px;
    --desktop-content-max: 1180px;
  }
  html, body { min-height: 100%; background: #090b0a; }
  body { overflow-x: hidden !important; }
  .desktop-sidebar-root {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 85;
    display: block;
    width: var(--desktop-sidebar-width);
    background: #1c1c1c;
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .desktop-sidebar-root .desktop-side-drawer {
    width: 100%;
    max-width: none;
    height: 100%;
    overflow-y: auto;
    transform: none !important;
    box-shadow: 18px 0 50px rgba(0,0,0,.26);
    scrollbar-width: thin;
  }
  .desktop-sidebar-root .drawer-profile.active,
  .desktop-sidebar-root .drawer-menu button.active {
    background: rgba(var(--app-accent-rgb),.17);
    color: #fff;
  }
  .desktop-sidebar-root .drawer-menu button.active::before {
    content: "";
    position: absolute;
    left: 0;
    width: 3px;
    height: 28px;
    border-radius: 0 4px 4px 0;
    background: rgb(var(--app-accent-rgb));
  }
  .desktop-sidebar-root .drawer-menu button { position: relative; }

  .app-shell {
    width: calc(100% - var(--desktop-sidebar-width)) !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 0 0 var(--desktop-sidebar-width) !important;
    box-shadow: none !important;
    contain: none !important;
  }
  .view { min-height: 100vh; }
  .bottom-nav { display: none !important; }
  .page {
    width: min(100%, var(--desktop-content-max)) !important;
    max-width: var(--desktop-content-max) !important;
    min-height: 100vh;
    margin: 0 auto;
  }
  .page.spotify-home-page,
  .page.spotify-search-page,
  .page.spotify-library-page,
  .page.spotify-settings-page,
  .page.spotify-artist-page {
    padding-bottom: 120px !important;
  }
  .view:not(.has-mini) .page.spotify-home-page,
  .view:not(.has-mini) .page.spotify-search-page,
  .view:not(.has-mini) .page.spotify-library-page,
  .view:not(.has-mini) .page.spotify-settings-page,
  .view:not(.has-mini) .page.spotify-artist-page {
    padding-bottom: 44px !important;
  }
  .rich-home-page,
  .spotify-search-page,
  .spotify-library-page,
  .spotify-settings-page,
  .utility-page,
  .spotify-artist-page {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .spotify-settings-page { padding-left: 32px !important; padding-right: 32px !important; }
  .settings-title-row { margin-left: -32px; margin-right: -32px; padding-left: 24px; padding-right: 24px; }
  .spotify-settings-list,
  .spotify-settings-cards { max-width: 920px; margin-left: auto; margin-right: auto; }

  .home-main-head { padding-top: 24px; }
  .home-shortcuts { margin-bottom: 34px; }
  .home-featured { margin-bottom: 46px; }
  .home-featured-slide {
    aspect-ratio: 16 / 6 !important;
    min-height: 310px;
    max-height: 420px;
  }
  .home-featured-slide > img { object-position: center 36%; }
  .home-featured-copy strong { font-size: clamp(30px, 3vw, 46px); }
  .home-featured-copy { left: 34px; right: 120px; bottom: 32px; }
  .home-featured-play { right: 32px; bottom: 30px; width: 68px; height: 68px; }
  .spotify-home-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: 34px;
  }
  .spotify-home-row { border-bottom: 1px solid rgba(255,255,255,.045); }
  .home-square-carousel,
  .artist-bubbles {
    margin-inline: 0;
    padding-inline: 0;
    gap: 18px;
  }
  .home-square-card,
  .ranked-card { flex-basis: 184px; }
  .home-square-card img { width: 184px; height: 184px; }
  .community-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .community-card { width: auto; min-width: 0; flex: initial; }

  .spotify-library-page { max-width: 1040px !important; }
  .collection-list.is-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: 34px;
  }
  .collection-list.is-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .library-title-row { padding-top: 22px; }

  .mini-player {
    left: calc(var(--desktop-sidebar-width) + (100vw - var(--desktop-sidebar-width)) / 2) !important;
    bottom: 22px !important;
    width: min(650px, calc(100vw - var(--desktop-sidebar-width) - 70px)) !important;
    height: 72px;
    border-radius: 12px;
    border: 1px solid rgba(var(--app-accent-rgb),.3);
    box-shadow: 0 18px 55px rgba(0,0,0,.46);
  }

  .player-page { min-height: 100vh; }
  .player-content {
    width: min(calc(100% - 64px), var(--desktop-content-max));
    max-width: var(--desktop-content-max);
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px 0 56px !important;
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    grid-template-areas:
      "top top"
      "cover live"
      "cover info"
      "cover progress"
      "cover controls"
      "cover secondary"
      "lyrics lyrics";
    grid-template-rows: auto auto auto auto auto auto auto;
    column-gap: 52px;
    align-content: start;
    overflow: visible !important;
  }
  .player-top { grid-area: top; }
  .player-cover {
    grid-area: cover;
    width: 100%;
    max-width: 430px !important;
    margin: 28px 0 0 !important;
    align-self: start;
    box-shadow: 0 24px 60px rgba(0,0,0,.34);
  }
  .live-lyric-line {
    grid-area: live;
    min-height: 56px;
    margin: 58px 0 24px !important;
    font-size: 23px;
  }
  .player-info-row { grid-area: info; }
  .progress-wrap { grid-area: progress; padding-top: 28px; }
  .player-controls { grid-area: controls; padding: 20px 0 14px; }
  .player-secondary-actions { grid-area: secondary; padding-bottom: 12px; }
  .lyrics-preview-card {
    grid-area: lyrics;
    width: 100%;
    margin-top: 40px;
    padding: 28px 30px 32px;
  }
  .lyrics-preview-body { max-height: 310px; }
  .player-art-bg { height: 72vh; opacity: .56; }
  .player-shade { background: linear-gradient(180deg, rgba(5,10,15,.72), rgba(8,12,17,.94) 58%, #090c10 100%); }

  .full-lyrics-header,
  .full-lyrics-controls { width: calc(100% - var(--desktop-sidebar-width)) !important; left: var(--desktop-sidebar-width) !important; transform: none !important; }
  .full-lyrics-scroll { max-width: 980px; margin-left: auto; margin-right: auto; }

  .player-sheet,
  .modal { width: min(720px, calc(100vw - var(--desktop-sidebar-width) - 60px)) !important; }
}

/* V1.37.0 desktop workspace: fixed account rail, independent Spotlight, contextual rail, icon navigation */
.desktop-spotlight-rail,
.desktop-context-rail,
.desktop-nav-rail { display: none; }

@media (min-width: 1024px) {
  :root {
    --desktop-sidebar-width: 250px;
    --desktop-nav-width: 70px;
    --desktop-spotlight-width: 244px;
    --desktop-context-width: 278px;
  }

  html,
  body {
    width: 100%;
    min-height: 100%;
    background: #080a09 !important;
  }

  body.desktop-mode {
    overflow-x: hidden !important;
  }

  .desktop-sidebar-root {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: var(--desktop-sidebar-width) !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    display: block !important;
    overflow: hidden !important;
    background: #1d1d1d !important;
    border-right: 1px solid rgba(255,255,255,.075) !important;
    z-index: 100 !important;
  }

  .desktop-sidebar-root .desktop-side-drawer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding-bottom: 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin;
    background: #1d1d1d !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .desktop-sidebar-root .drawer-profile {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #1d1d1d !important;
  }

  .desktop-nav-rail.is-visible {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 102;
    display: flex;
    width: var(--desktop-nav-width);
    height: 100vh;
    height: 100dvh;
    align-items: center;
    justify-content: center;
    background: #111312;
    border-left: 1px solid rgba(255,255,255,.075);
  }

  .desktop-nav-stack {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 22px 8px;
  }

  .desktop-nav-stack button {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: rgba(255,255,255,.42);
    transition: transform .18s ease, color .18s ease, background .18s ease;
  }

  .desktop-nav-stack button:hover {
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.055);
  }

  .desktop-nav-stack button.active {
    color: #fff;
    background: rgba(var(--app-accent-rgb),.15);
    transform: translateY(-3px) scale(1.12);
  }

  .desktop-nav-stack button.active::after {
    content: "";
    position: absolute;
    bottom: 4px;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: rgb(var(--app-accent-rgb));
  }

  .desktop-nav-stack .icon {
    width: 25px;
    height: 25px;
  }

  .desktop-spotlight-rail.is-visible,
  .desktop-context-rail.is-visible {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 92;
    display: block;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .desktop-spotlight-rail {
    left: var(--desktop-sidebar-width);
    width: var(--desktop-spotlight-width);
    background: linear-gradient(180deg, rgba(var(--app-accent-rgb),.16), rgba(13,16,15,.98) 34%, #0d0f0e 100%);
    border-right: 1px solid rgba(255,255,255,.07);
  }

  .desktop-context-rail {
    right: var(--desktop-nav-width);
    width: var(--desktop-context-width);
    background: #151716;
    border-left: 1px solid rgba(255,255,255,.07);
  }

  .desktop-spotlight-panel,
  .desktop-context-panel {
    min-height: 100%;
    padding: 24px 16px 112px;
  }

  .desktop-spotlight-panel > header,
  .desktop-context-panel > header {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    margin-bottom: 15px;
  }

  .desktop-spotlight-panel > header > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: rgb(var(--app-accent-rgb));
  }

  .desktop-spotlight-panel > header .icon {
    width: 30px;
    height: 30px;
  }

  .desktop-spotlight-panel header div,
  .desktop-context-panel header div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .desktop-spotlight-panel header strong,
  .desktop-context-panel header strong {
    color: #fff;
    font-size: 21px;
    line-height: 1.1;
  }

  .desktop-spotlight-panel header small,
  .desktop-context-panel header small {
    color: rgba(255,255,255,.48);
    font-size: 11px;
  }

  .desktop-spotlight-list,
  .desktop-context-list {
    display: grid;
    gap: 8px;
  }

  .desktop-spotlight-list button,
  .desktop-context-list button {
    width: 100%;
    min-width: 0;
    border: 0;
    color: #fff;
    text-align: left;
    cursor: pointer;
  }

  .desktop-spotlight-list button {
    min-height: 94px;
    display: grid;
    grid-template-columns: 82px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    padding: 6px;
    border-radius: 13px;
    background: transparent;
    transition: background .18s ease, transform .18s ease;
  }

  .desktop-spotlight-list button:hover {
    background: rgba(255,255,255,.075);
    transform: translateX(3px);
  }

  .desktop-spotlight-list img {
    width: 82px;
    height: 82px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    background: #292929;
  }

  .desktop-spotlight-list span,
  .desktop-context-list span {
    min-width: 0;
  }

  .desktop-spotlight-list strong,
  .desktop-spotlight-list small,
  .desktop-context-list strong,
  .desktop-context-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-spotlight-list strong {
    font-size: 14px;
  }

  .desktop-spotlight-list small {
    margin-top: 6px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
  }

  .desktop-context-panel > header {
    justify-content: space-between;
    position: sticky;
    top: -24px;
    z-index: 2;
    padding: 20px 0 13px;
    background: #151716;
  }

  .desktop-context-panel > header > button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.06);
  }

  .desktop-context-list button {
    min-height: 67px;
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) 28px;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border-radius: 11px;
    background: transparent;
  }

  .desktop-context-list button:hover,
  .desktop-context-list button.active {
    background: rgba(255,255,255,.065);
  }

  .desktop-context-list button.active {
    box-shadow: inset 3px 0 0 rgb(var(--app-accent-rgb));
  }

  .desktop-context-list img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: #292929;
  }

  .desktop-context-list strong {
    font-size: 12px;
  }

  .desktop-context-list small {
    margin-top: 4px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
  }

  .desktop-context-list i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.72);
    font-style: normal;
  }

  .desktop-context-list button.active i {
    color: rgb(var(--app-accent-rgb));
  }

  .desktop-context-list .icon {
    width: 17px;
    height: 17px;
  }

  .desktop-context-panel > footer {
    position: sticky;
    bottom: -112px;
    margin-top: 20px;
    padding: 16px 12px;
    display: grid;
    gap: 4px;
    border-radius: 14px;
    background: rgba(var(--app-accent-rgb),.13);
    border: 1px solid rgba(var(--app-accent-rgb),.19);
  }

  .desktop-context-panel > footer span,
  .desktop-context-panel > footer small {
    color: rgba(255,255,255,.48);
    font-size: 10px;
  }

  .desktop-context-panel > footer strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.desktop-mode .app-shell {
    width: auto !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin-left: var(--desktop-sidebar-width) !important;
    margin-right: var(--desktop-nav-width) !important;
    background: transparent;
  }

  body.desktop-mode .view {
    width: 100%;
    min-height: 100vh;
  }

  body.desktop-mode .page,
  body.desktop-mode .player-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.desktop-mode .bottom-nav {
    display: none !important;
  }

  body.desktop-mode .mini-player {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(620px, calc(100vw - var(--desktop-sidebar-width) - var(--desktop-nav-width) - 90px)) !important;
  }
}

@media (min-width: 1280px) {
  body.desktop-route-home .app-shell {
    margin-left: calc(var(--desktop-sidebar-width) + var(--desktop-spotlight-width)) !important;
    margin-right: calc(var(--desktop-context-width) + var(--desktop-nav-width)) !important;
  }

  body.desktop-route-standard .app-shell,
  body.desktop-route-player .app-shell {
    margin-left: var(--desktop-sidebar-width) !important;
    margin-right: calc(var(--desktop-context-width) + var(--desktop-nav-width)) !important;
  }

  body.desktop-route-home .home-featured {
    display: none !important;
  }

  body.desktop-route-home .rich-home-page {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  body.desktop-route-home .home-main-head {
    padding-top: 18px;
  }

  body.desktop-route-home .spotify-home-list {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    column-gap: 0 !important;
  }

  body.desktop-route-home .home-square-card,
  body.desktop-route-home .ranked-card {
    flex-basis: 168px;
  }

  body.desktop-route-home .home-square-card img {
    width: 168px;
    height: 168px;
  }

  body.desktop-route-home .community-carousel {
    grid-template-columns: minmax(0,1fr) !important;
  }

  body.desktop-route-standard .rich-home-page,
  body.desktop-route-standard .spotify-search-page,
  body.desktop-route-standard .spotify-library-page,
  body.desktop-route-standard .spotify-settings-page,
  body.desktop-route-standard .utility-page,
  body.desktop-route-standard .spotify-artist-page {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  body.desktop-route-standard .spotify-settings-list,
  body.desktop-route-standard .spotify-settings-cards {
    max-width: 880px;
    margin-left: 0;
    margin-right: 0;
  }

  body.desktop-route-player .player-content {
    padding-left: 32px !important;
    padding-right: 32px !important;
    grid-template-columns: minmax(300px, 390px) minmax(0,1fr) !important;
    column-gap: 42px !important;
  }

  body.desktop-route-player .player-cover {
    max-width: 390px !important;
  }

  body.desktop-route-player .full-lyrics-header,
  body.desktop-route-player .full-lyrics-controls {
    width: calc(100% - var(--desktop-sidebar-width) - var(--desktop-context-width) - var(--desktop-nav-width)) !important;
    left: var(--desktop-sidebar-width) !important;
  }

  body.desktop-route-home .mini-player {
    left: calc(var(--desktop-sidebar-width) + var(--desktop-spotlight-width) + (100vw - var(--desktop-sidebar-width) - var(--desktop-spotlight-width) - var(--desktop-context-width) - var(--desktop-nav-width)) / 2) !important;
  }

  body.desktop-route-standard .mini-player,
  body.desktop-route-player .mini-player {
    left: calc(var(--desktop-sidebar-width) + (100vw - var(--desktop-sidebar-width) - var(--desktop-context-width) - var(--desktop-nav-width)) / 2) !important;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .desktop-spotlight-rail,
  .desktop-context-rail {
    display: none !important;
  }

  body.desktop-mode .app-shell {
    margin-left: var(--desktop-sidebar-width) !important;
    margin-right: var(--desktop-nav-width) !important;
  }

  body.desktop-mode .page {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* V1.38.0 Spotlight expansion, fixed recommendation rail, and wide desktop settings */
@media (min-width: 1280px) {
  .desktop-context-rail.is-visible {
    position: fixed !important;
    inset: 0 var(--desktop-nav-width) 0 auto !important;
    width: var(--desktop-context-width) !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    background: #151716 !important;
    contain: layout paint;
  }

  .desktop-context-panel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 20px 12px 18px !important;
    overflow: hidden;
    background: #151716;
  }

  .desktop-context-panel > header {
    position: relative !important;
    top: auto !important;
    flex: 0 0 auto;
    margin: 0 0 10px;
    padding: 8px 2px 12px !important;
    background: #151716 !important;
  }

  .desktop-context-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding: 0 2px 92px 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
  }

  .desktop-context-list::-webkit-scrollbar { width: 6px; }
  .desktop-context-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,.22);
  }

  .desktop-context-panel > footer {
    position: absolute !important;
    right: 12px;
    bottom: 14px !important;
    left: 12px;
    z-index: 3;
    margin: 0 !important;
    padding: 12px !important;
    background: color-mix(in srgb, rgb(var(--app-accent-rgb)) 16%, #171918) !important;
    box-shadow: 0 -18px 32px #151716;
  }

  body.desktop-route-standard .spotify-settings-page {
    width: 100% !important;
    max-width: none !important;
  }

  body.desktop-route-standard .spotify-settings-cards.desktop-settings-cards {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.desktop-route-standard .desktop-settings-cards button {
    min-width: 0;
    min-height: 118px;
    border-radius: 13px;
  }

  body.desktop-route-standard .desktop-settings-cards .settings-action-card {
    color: #fff;
    background: #292929;
    border: 0;
  }

  body.desktop-route-standard .desktop-settings-cards .settings-action-card:hover {
    color: #fff;
    background: #292929;
  }

  body.desktop-route-standard .desktop-settings-category-list {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.desktop-route-standard .desktop-settings-category-list > button {
    min-height: 78px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255,255,255,.065);
  }

  body.desktop-route-standard .desktop-settings-category-list > button:hover {
    border-radius: 12px;
    background: rgba(255,255,255,.045);
  }
}


/* V1.39.2 — playlist queue separation */
.queue-context-pill {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border:1px solid rgba(30,215,96,.24);
  border-radius:999px;
  background:rgba(30,215,96,.08);
  color:#1ed760;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}
.queue-divider-label.queue-section-title {
  align-items:flex-start;
  gap:10px;
  margin-top:20px;
}
.queue-divider-label.queue-section-title > .icon {
  flex:0 0 auto;
  width:19px;
  height:19px;
  margin-top:2px;
  color:#1ed760;
}
.queue-divider-label.queue-section-title > span { min-width:0; }
.queue-divider-label.queue-section-title strong,
.queue-divider-label.queue-section-title small { display:block; }
.queue-divider-label.queue-section-title strong { color:#f2f2f2; font-size:13px; }
.queue-divider-label.queue-section-title small { margin-top:3px; color:#888; font-size:10.5px; line-height:1.35; }
.queue-recommendation-block {
  margin-top:15px;
  padding-top:2px;
  border-top:1px solid rgba(255,255,255,.065);
}
.queue-section-mark {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  justify-self:end;
  color:#8e8e8e;
}
.queue-section-mark .icon { width:21px; height:21px; }
.queue-sheet-row.recommendation-row .queue-section-mark { color:#1ed760; }
.queue-sheet-row.recommendation-row .queue-row-main strong { color:#f4f4f4; }
.queue-empty-note {
  padding:18px 8px 22px;
  color:#858585;
  font-size:12px;
  line-height:1.5;
}
.playlist-queue-list + .queue-recommendation-block { margin-top:8px; }

/* V1.39.3 — playlist track editing */
.playlist-detail-list > .playlist-detail-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  align-items:center;
  min-height:74px;
  border-bottom:1px solid rgba(255,255,255,.075);
  transition:background .16s ease;
}
.playlist-detail-main {
  width:100%;
  min-width:0;
  min-height:74px;
  padding:8px 2px 8px 0;
  border:0;
  background:transparent;
  color:#fff;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  text-align:left;
  cursor:pointer;
}
.playlist-detail-main img {
  width:58px;
  height:58px;
  object-fit:cover;
  border-radius:5px;
}
.playlist-detail-main span { min-width:0; }
.playlist-detail-main strong,
.playlist-detail-main small {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.playlist-detail-main small { margin-top:5px; color:#aaa; }
.playlist-detail-main em { padding-left:8px; color:#999; font-style:normal; font-size:12px; }
.playlist-detail-more {
  width:40px;
  height:52px;
  padding:0;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#aaa;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.playlist-detail-more .icon { width:24px; height:24px; }
.playlist-detail-more:active,
.playlist-detail-more.is-open { color:#fff; background:rgba(255,255,255,.08); }
.playlist-detail-row.is-current {
  background:linear-gradient(90deg,rgba(30,215,96,.09),transparent 78%);
}
.playlist-detail-row.is-current .playlist-detail-main strong,
.playlist-detail-row.is-current .playlist-detail-main em { color:var(--spotify-green,#1ed760); }
.playlist-detail-row.is-current .playlist-detail-main small { color:rgba(30,215,96,.78); }
.playlist-detail-row.is-playing .playlist-detail-main img { box-shadow:0 0 0 2px var(--spotify-green,#1ed760); }
.playlist-track-action-menu { width:148px; }
.playlist-track-action-menu button.danger { color:#ff6f7f; }
.playlist-track-action-menu button.danger .icon { color:#ff6f7f; }

@media (max-width:520px) {
  .playlist-detail-list > .playlist-detail-row { grid-template-columns:minmax(0,1fr) 38px; min-height:68px; }
  .playlist-detail-main { min-height:68px; grid-template-columns:52px minmax(0,1fr) auto; gap:11px; }
  .playlist-detail-main img { width:52px; height:52px; }
  .playlist-detail-main strong { font-size:15px; }
  .playlist-detail-main small { margin-top:4px; font-size:12.5px; }
  .playlist-detail-main em { font-size:11px; }
  .playlist-detail-more { width:36px; height:48px; }
}

/* V1.40.0 • Anabot artist verification */
.artist-page-hero-copy h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .16em;
}
.artist-page-hero-copy h1 > b {
  min-width: 0;
  font: inherit;
  overflow-wrap: anywhere;
}
.artist-verified-badge {
  flex: 0 0 auto;
  width: .7em;
  height: .7em;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: .48em;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255,255,255,.18);
}

/* V1.40.0 • Featured Spotify playlist enriched from Anabot */
.anabot-playlist-section {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 20px 16px 14px;
  background: linear-gradient(145deg, rgba(38,96,75,.36), rgba(25,25,25,.9) 62%);
  border: 1px solid rgba(255,255,255,.07);
}
.anabot-playlist-heading {
  align-items: flex-end;
  margin-bottom: 10px;
}
.anabot-playlist-heading > div { min-width: 0; }
.anabot-playlist-heading .spotify-kicker {
  margin-bottom: 5px;
  color: #35df83;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}
.anabot-playlist-heading h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.anabot-playlist-heading small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}
.anabot-playlist-heading > button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #1ed760;
  color: #06150b;
  font-weight: 900;
}
.anabot-playlist-heading > button .icon { width: 17px; height: 17px; }
.anabot-playlist-description {
  margin: 0 0 16px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.45;
}
.anabot-playlist-section .home-square-carousel {
  margin-inline: -2px;
  padding-inline: 2px;
}


/* V1.41.1 · Copyright/API provider logos */
.copyright-panel { padding-bottom:8px; }
.copyright-hero { text-align:center; padding:4px 8px 20px; }
.copyright-hero > .icon { width:42px; height:42px; margin:0 auto 10px; }
.copyright-hero h3 { margin:0; font-size:24px; }
.copyright-hero p { margin:7px auto 0; max-width:440px; color:#969696; line-height:1.55; }
.api-credit-list { display:grid; gap:9px; }
.api-credit-row {
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 22px;
  gap:13px;
  align-items:center;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:17px;
  background:rgba(255,255,255,.04);
  color:inherit;
  text-decoration:none;
  text-align:left;
  -webkit-tap-highlight-color:transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.api-credit-row:active { transform:scale(.985); background:rgba(255,255,255,.07); }
@media (hover:hover) { .api-credit-row:hover { background:rgba(255,255,255,.065); border-color:rgba(255,255,255,.16); transform:translateY(-1px); } }
.api-credit-mark {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.15), 0 6px 18px rgba(0,0,0,.24);
  background:#f2f2f0;
}
.api-credit-mark-image img { width:100%; height:100%; display:block; object-fit:cover; border-radius:inherit; }
.api-credit-mark-text { padding:3px; background:#ececeb; color:#121212; }
.api-credit-mark-text b {
  display:block;
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;
  font-family:'Share Tech Mono', monospace;
  font-size:10px;
  font-weight:800;
  letter-spacing:-.04em;
  text-transform:lowercase;
  line-height:1;
}
.api-credit-copy { min-width:0; }
.api-credit-row strong,.api-credit-row small { display:block; }
.api-credit-row strong { font-size:15px; color:var(--text,#f6f6f6); }
.api-credit-row small { margin-top:4px; color:#8e8e8e; line-height:1.35; }
.api-credit-external { display:grid; place-items:center; color:#797979; }
.api-credit-external .icon { width:17px; height:17px; }
.api-credit-note { margin:16px 4px 0; color:#7f7f7f; font-size:12px; line-height:1.55; text-align:left; }


/* V1.42.0 · social directory, mutual lists, unfriend confirmation */
.social-title-row > [data-social-directory-menu] {
  display:grid;
  place-items:center;
}
.social-title-row > [data-social-directory-menu] .icon { width:27px; height:27px; }
.people-search-page,.social-list-page { padding-bottom:calc(180px + env(safe-area-inset-bottom,0px))!important; }
.social-search-intro {
  margin:34px 8px 0;
  padding:34px 22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(31,31,31,.72);
  text-align:center;
  color:#aaa;
}
.social-search-intro > .icon { width:44px; height:44px; color:var(--spotify-green,#1ed760); }
.social-search-intro h2 { margin:13px 0 8px; color:#fff; font-size:21px; }
.social-search-intro p { margin:0; line-height:1.55; }
.social-list-section { margin-top:10px; }
.social-add-btn.is-friend { background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.16); }
.social-directory-player-sheet .player-sheet-scroll { padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); }
.social-directory-sheet > header {
  display:grid;
  grid-template-columns:minmax(0,1fr) 48px;
  align-items:start;
  gap:14px;
  padding:2px 2px 17px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.social-directory-sheet > header small { color:var(--spotify-green,#1ed760); letter-spacing:.12em; }
.social-directory-sheet > header h2 { margin:4px 0 3px; }
.social-directory-sheet > header p { margin:0; color:#929292; font-size:12px; line-height:1.4; }
.social-directory-sheet > header button { width:46px; height:46px; border:0; border-radius:50%; background:#2d2d2d; color:#fff; }
.social-directory-options { display:grid; padding-top:7px; }
.social-directory-options > button {
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto 20px;
  align-items:center;
  gap:12px;
  min-height:74px;
  padding:10px 4px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.075);
  background:transparent;
  color:#fff;
  text-align:left;
  font:inherit;
}
.social-directory-options > button.selected { color:var(--spotify-green,#1ed760); }
.social-directory-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:50%; background:#2b2b2b; color:inherit; }
.social-directory-icon .icon { width:23px; height:23px; }
.social-directory-options strong,.social-directory-options small { display:block; }
.social-directory-options strong { font-size:16px; }
.social-directory-options small { margin-top:4px; color:#949494; font-size:11px; line-height:1.35; }
.social-directory-options em { min-width:29px; padding:4px 8px; border-radius:999px; background:rgba(30,215,96,.12); color:var(--spotify-green,#1ed760); font-style:normal; font-size:11px; text-align:center; }
.social-directory-options > button > .icon { width:18px; height:18px; transform:rotate(-90deg); opacity:.65; }
.relationship-confirm-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.relationship-confirm-actions .secondary-btn,
.relationship-confirm-actions .danger-btn { width:100%; min-height:50px; margin:0; border-radius:999px; }
.relationship-confirm-actions .secondary-btn { border:1px solid rgba(255,255,255,.12); background:#303030; color:#fff; font:inherit; font-weight:800; }
@media(max-width:380px){
  .social-directory-options > button { grid-template-columns:44px minmax(0,1fr) auto 18px; gap:9px; }
  .relationship-confirm-actions { grid-template-columns:1fr; }
}


/* V1.42.1 · semantic notification status */
.ios-toast-error .ios-toast-status {
  color: #ff4d61 !important;
  background: rgba(255,77,97,.12) !important;
  border-color: rgba(255,102,120,.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(255,77,97,.04);
}
.ios-toast-error .ios-toast-status .icon {
  stroke-width: 2.35;
}
.ios-toast-success .ios-toast-status {
  color: var(--spotify-green) !important;
}

/* V1.43.0 · Community playlist saved state */
.community-actions button.is-saved {
  color: var(--spotify-green, #1ed760);
  background: rgba(30, 215, 96, .14);
  box-shadow: inset 0 0 0 1px rgba(30, 215, 96, .36);
}

/* V1.45.1 · Spotify Playlist themed playback refinements */
.spotify-collections-home-section { overflow: hidden; }
.spotify-collections-home-section .home-section-inline { align-items: flex-end; }
.spotify-collections-home-section .spotify-kicker { margin-bottom: 5px; }
.spotify-collection-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(152px, 42vw, 202px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 5px 22px 9px 0;
}
.spotify-collection-carousel::-webkit-scrollbar { display: none; }
.spotify-collection-carousel.compact { grid-auto-columns: clamp(142px, 38vw, 188px); padding-bottom: 4px; }
.spotify-collection-card {
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
}
.spotify-collection-card:active .spotify-collection-art { transform: scale(.975); }
.spotify-collection-art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: #171717;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: transform .18s cubic-bezier(.22,.78,.22,1);
}
.spotify-collection-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotify-collection-art em {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(7,7,7,.68);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .05em;
  backdrop-filter: blur(12px);
}
.spotify-collection-card > strong,
.spotify-collection-card > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-collection-card > strong { margin-top: 10px; font-size: 16px; line-height: 1.2; }
.spotify-collection-card > small { margin-top: 5px; color: #929292; font-size: 12px; }
.spotify-collection-card.is-skeleton { pointer-events: none; }
.spotify-collection-skeleton-art { display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; }
.spotify-collection-skeleton-line { display: block; width: 88%; height: 14px; margin-top: 10px; border-radius: 6px; }
.spotify-collection-skeleton-line.short { width: 60%; height: 10px; margin-top: 7px; }
.spotify-collection-home-error {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #181818;
}
.spotify-collection-home-error > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(30,215,96,.1); color: #1ed760; }
.spotify-collection-home-error .icon { width: 23px; height: 23px; }
.spotify-collection-home-error strong,
.spotify-collection-home-error small { display: block; }
.spotify-collection-home-error small { margin-top: 4px; color: #8e8e8e; font-size: 11px; line-height: 1.4; }
.spotify-collection-home-error button { border: 0; border-radius: 999px; padding: 10px 12px; background: #2c2c2c; color: #fff; font: inherit; font-size: 11px; }

.spotify-collection-detail-page {
  min-height: 100svh;
  padding: 0 22px calc(142px + env(safe-area-inset-bottom,0px));
  overflow-x: clip;
  --playlist-gradient-center: 760px;
  background:
    linear-gradient(180deg,
      rgb(var(--app-accent-rgb)) 0px,
      rgba(var(--app-accent-rgb),.94) calc(var(--playlist-gradient-center) - 220px),
      rgba(var(--app-accent-rgb),.48) var(--playlist-gradient-center),
      rgba(10,10,10,.90) calc(var(--playlist-gradient-center) + 92px),
      #0a0a0a calc(var(--playlist-gradient-center) + 170px),
      #0a0a0a 100%);
}
.spotify-collection-route-head {
  position: sticky;
  top: 0;
  z-index: 12;
  min-height: 66px;
  margin: 0 -22px;
  padding: max(12px, env(safe-area-inset-top,0px)) 22px 10px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) 46px;
  align-items: center;
  background: rgba(var(--app-accent-rgb),.82);
  backdrop-filter: blur(15px) saturate(1.08);
}
.spotify-collection-route-head button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(35,35,35,.86);
}
.spotify-collection-route-head button .icon { width: 25px; height: 25px; }
.spotify-collection-route-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; opacity: .94; font-size: 15px; }
.spotify-collection-hero {
  display: grid;
  gap: 22px;
  justify-items: center;
  padding: 22px 0 18px;
}
.spotify-collection-hero-art {
  width: min(78vw, 360px);
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #171717;
  box-shadow: 0 28px 60px rgba(0,0,0,.42);
}
.spotify-collection-hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.spotify-detail-copy { width: 100%; min-width: 0; }
.spotify-detail-copy .spotify-kicker { margin: 0 0 8px; color: #9a9a9a; letter-spacing: .11em; font-size: 11px; }
.spotify-detail-copy h1 { margin: 0; font-size: clamp(29px, 9vw, 46px); line-height: 1.02; letter-spacing: -.025em; overflow-wrap: anywhere; }
.spotify-collection-owner { display: flex; align-items: center; gap: 9px; margin-top: 14px; }
.spotify-collection-owner strong { font-size: 14px; color: #f2f2f2; }
.spotify-collection-description { margin: 13px 0 0; color: #b0b0b0; font-size: 12px; line-height: 1.55; white-space: pre-line; }
.spotify-collection-meta { margin: 11px 0 0; color: #8f8f8f; font-size: 12px; }
.spotify-collection-actions {
  display: grid;
  grid-template-columns: 50px 50px minmax(0,1fr) 64px;
  gap: 10px;
  align-items: center;
  margin: 2px 0 16px;
}
.spotify-round-action,
.spotify-main-play {
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: inherit;
}
.spotify-round-action { width: 48px; height: 48px; border-radius: 50%; background: #242424; }
.spotify-round-action .icon { width: 25px; height: 25px; }
.spotify-round-action.is-saved { color: var(--spotify-green, #1ed760); background: rgba(30,215,96,.10); box-shadow: inset 0 0 0 1px rgba(30,215,96,.28); }
.spotify-main-play { width: 62px; height: 62px; border-radius: 50%; background: var(--spotify-green, #1ed760); color: #071409; box-shadow: 0 12px 28px rgba(30,215,96,.24); }
.spotify-main-play .icon { width: 28px; height: 28px; }
.spotify-collection-track-list { display: grid; border-top: 1px solid rgba(255,255,255,.055); }
.spotify-collection-track {
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 10px 0;
  display: grid;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
}
.spotify-playlist-track { grid-template-columns: 56px minmax(0,1fr) auto 30px; }
.spotify-album-track { grid-template-columns: minmax(0,1fr) auto 30px; }
.spotify-playlist-track > img { width: 56px; height: 56px; border-radius: 7px; object-fit: cover; background: #161616; }
.spotify-collection-track > span { min-width: 0; }
.spotify-collection-track strong,
.spotify-collection-track small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-collection-track strong { font-size: 16px; line-height: 1.25; }
.spotify-collection-track small { margin-top: 5px; color: #969696; font-size: 12px; }
.spotify-collection-track > em { color: #7f7f7f; font-style: normal; font-size: 11px; }
.spotify-collection-track > i { display: grid; place-items: center; color: #999; font-style: normal; }
.spotify-collection-track > i .icon { width: 22px; height: 22px; }
.spotify-collection-track.is-current strong,
.spotify-collection-track.is-current small,
.spotify-collection-track.is-current > em { color: var(--spotify-green, #1ed760); }
.spotify-playlist-track.is-current > img { box-shadow: 0 0 0 2px var(--spotify-green, #1ed760); }
.spotify-collection-track.is-current > i { color: var(--spotify-green, #1ed760); }
.spotify-collection-track.is-unavailable { opacity: .64; }
.spotify-collection-total { margin: 20px 0 0; color: #aaa; font-size: 13px; }
.spotify-track-limit-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #181818; color: #8f8f8f; font-size: 11px; }
.spotify-related-albums { margin-top: 42px; }
.spotify-related-albums .home-section-inline { margin-bottom: 14px; }
.spotify-related-albums h2 { margin: 0; font-size: 23px; line-height: 1.1; }
.spotify-collection-empty { padding: 35px 10px; color: #8e8e8e; text-align: center; }
.spotify-collection-error {
  min-height: 55svh;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}
.spotify-collection-error > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #191919; color: #ff5c64; }
.spotify-collection-error .icon { width: 30px; height: 30px; }
.spotify-collection-error h2 { margin: 6px 0 0; }
.spotify-collection-error p { max-width: 340px; margin: 0; color: #929292; line-height: 1.5; }
.spotify-collection-error button { margin-top: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: #fff; color: #0a0a0a; font: inherit; font-weight: 800; }
.spotify-detail-cover-skeleton { width: min(78vw,360px); aspect-ratio: 1; border-radius: 14px; display: block; }
.spotify-detail-title-skeleton { display: block; width: 74%; height: 35px; border-radius: 8px; }
.spotify-detail-subtitle-skeleton { display: block; width: 44%; height: 16px; margin-top: 16px; border-radius: 6px; }
.spotify-detail-meta-skeleton { display: block; width: 58%; height: 11px; margin-top: 12px; border-radius: 6px; }
.spotify-track-skeleton-list { display: grid; margin-top: 14px; }
.spotify-track-skeleton-list > div { min-height: 70px; display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 12px; align-items: center; }
.spotify-track-skeleton-list > div > span { width: 54px; height: 54px; border-radius: 7px; }
.spotify-track-skeleton-list p { margin: 0; display: grid; gap: 8px; }
.spotify-track-skeleton-list b { width: 75%; height: 14px; border-radius: 6px; }
.spotify-track-skeleton-list i { width: 48%; height: 10px; border-radius: 6px; }

.spotify-confirm-player-sheet .player-sheet-scroll,
.spotify-collection-menu-player-sheet .player-sheet-scroll { padding-bottom: calc(26px + env(safe-area-inset-bottom,0px)); }
.spotify-external-confirm > header {
  display: grid;
  grid-template-columns: 66px minmax(0,1fr) 44px;
  gap: 13px;
  align-items: center;
}
.spotify-external-confirm > header > img { width: 66px; height: 66px; border-radius: 10px; object-fit: cover; }
.spotify-external-confirm > header > div { min-width: 0; }
.spotify-external-confirm > header small { color: #1ed760; font-size: 10px; letter-spacing: .12em; }
.spotify-external-confirm > header h2,
.spotify-external-confirm > header p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-external-confirm > header h2 { margin: 5px 0 2px; font-size: 19px; }
.spotify-external-confirm > header p { margin: 0; color: #9b9b9b; font-size: 12px; }
.spotify-external-confirm > header > button,
.spotify-collection-menu > header > button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #2b2b2b; color: #fff; display: grid; place-items: center; }
.spotify-confirm-question { margin: 22px 0 11px; color: #d8d8d8; line-height: 1.5; }
.spotify-external-confirm code { display: block; overflow-wrap: anywhere; padding: 12px 13px; border-radius: 12px; background: #151515; border: 1px solid rgba(255,255,255,.08); color: #bcbcbc; font-family: inherit; font-size: 11px; line-height: 1.45; }
.spotify-external-confirm code.is-unavailable { color: #777; }
.spotify-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.spotify-confirm-actions button { min-height: 46px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: #2a2a2a; color: #fff; font: inherit; font-size: 12px; font-weight: 800; }
.spotify-confirm-actions button:first-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.spotify-confirm-actions button.primary { background: #1ed760; color: #071409; border-color: #1ed760; }
.spotify-confirm-actions button:disabled { opacity: .4; cursor: not-allowed; }
.spotify-confirm-actions .icon { width: 18px; height: 18px; }
.spotify-collection-menu > header { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 12px; align-items: start; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.07); }
.spotify-collection-menu > header small { color: #1ed760; letter-spacing: .12em; font-size: 10px; }
.spotify-collection-menu > header h2 { margin: 5px 0 0; font-size: 20px; }
.spotify-collection-menu > button { width: 100%; min-height: 66px; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 12px; align-items: center; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); background: transparent; color: #fff; text-align: left; font: inherit; }
.spotify-collection-menu > button .icon { width: 22px; height: 22px; color: #aaa; }
.spotify-collection-menu strong,
.spotify-collection-menu small { display: block; }
.spotify-collection-menu small { margin-top: 4px; color: #8d8d8d; font-size: 11px; }

@media (max-width: 390px) {
  .spotify-collection-detail-page { padding-left: 18px; padding-right: 18px; }
  .spotify-collection-route-head { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .spotify-collection-carousel { grid-auto-columns: 43vw; gap: 13px; }
  .spotify-playlist-track { grid-template-columns: 50px minmax(0,1fr) 28px; }
  .spotify-playlist-track > img { width: 50px; height: 50px; }
  .spotify-collection-track > em { display: none; }
  .spotify-collection-home-error { grid-template-columns: 42px minmax(0,1fr); }
  .spotify-collection-home-error button { grid-column: 1 / -1; justify-self: start; }
}

@media (min-width: 820px) {
  .spotify-collection-detail-page { max-width: 1020px; margin: 0 auto; padding-left: 42px; padding-right: 42px; }
  .spotify-collection-route-head { margin-left: -42px; margin-right: -42px; padding-left: 42px; padding-right: 42px; }
  .spotify-collection-hero { grid-template-columns: minmax(260px,340px) minmax(0,1fr); justify-items: stretch; align-items: end; padding-top: 34px; }
  .spotify-collection-hero-art { width: 100%; }
  .spotify-collection-actions { margin-left: 362px; }
  .spotify-collection-carousel { grid-auto-columns: 184px; }
  .spotify-detail-copy h1 { font-size: 46px; }
}


/* V1.45.1 · Spotify playlist-only refinements */
.spotify-collection-actions [data-share-spotify-playlist] svg { width: 22px; height: 22px; }
.spotify-collection-actions [data-import-spotify-playlist].is-saved { color: var(--spotify-green, #1ed760); border-color: rgba(30,215,96,.45); background: rgba(30,215,96,.10); }
.spotify-collection-track.is-unavailable { opacity: .48; cursor: default; }
.spotify-collection-track [data-spotify-track-more] { cursor: pointer; position: relative; z-index: 2; }


/* V1.45.2 · Spotify state colors stay Spotify green; dominant color is page-gradient only */
.spotify-collection-detail-page.is-playlist .spotify-main-play {
  background: var(--spotify-green, #1ed760) !important;
  color: #071409 !important;
  box-shadow: 0 12px 28px rgba(30,215,96,.24) !important;
}
.spotify-collection-detail-page.is-playlist [data-import-spotify-playlist].is-saved {
  color: var(--spotify-green, #1ed760) !important;
  border-color: rgba(30,215,96,.45) !important;
  background: rgba(30,215,96,.10) !important;
}
.spotify-collection-detail-page.is-playlist .spotify-collection-track.is-current strong,
.spotify-collection-detail-page.is-playlist .spotify-collection-track.is-current small,
.spotify-collection-detail-page.is-playlist .spotify-collection-track.is-current > em,
.spotify-collection-detail-page.is-playlist .spotify-collection-track.is-current > i {
  color: var(--spotify-green, #1ed760) !important;
}
.spotify-collection-detail-page.is-playlist .spotify-playlist-track.is-current > img {
  box-shadow: 0 0 0 2px var(--spotify-green, #1ed760) !important;
}
.artist-page-track.is-current .artist-page-rank,
.artist-page-track.is-current strong,
.artist-page-track.is-current small,
.artist-page-track.is-current > .icon {
  color: var(--spotify-green, #1ed760) !important;
}
.artist-page-track.is-current img {
  box-shadow: 0 0 0 2px var(--spotify-green, #1ed760);
}
.artist-page-track.is-current {
  background: linear-gradient(90deg, rgba(30,215,96,.07), transparent 72%);
}
.community-actions button.is-saved {
  color: var(--spotify-green, #1ed760) !important;
  background: rgba(30,215,96,.14) !important;
  box-shadow: inset 0 0 0 1px rgba(30,215,96,.36) !important;
}


/* V1.45.3 · playlist gradient focus + active row + Spotify playlist importer */
.spotify-collection-detail-page.is-playlist .spotify-collection-track.is-current {
  background: linear-gradient(90deg, rgba(30,215,96,.09), rgba(30,215,96,.025) 48%, transparent 78%);
}
.spotify-import-library-icon {
  color: var(--spotify-green, #1ed760);
  box-shadow: inset 0 0 0 1px rgba(30,215,96,.22);
  background: rgba(30,215,96,.08) !important;
}
.spotify-playlist-import-player-sheet .player-sheet-scroll { padding-bottom: calc(28px + env(safe-area-inset-bottom,0px)); }
.spotify-playlist-import-sheet { padding: 0 18px 18px; }
.spotify-playlist-import-sheet > header {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 44px;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.spotify-playlist-import-sheet > header > span {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  color: var(--spotify-green,#1ed760); background: rgba(30,215,96,.09); box-shadow: inset 0 0 0 1px rgba(30,215,96,.16);
}
.spotify-playlist-import-sheet > header > span .icon { width: 24px; height: 24px; }
.spotify-playlist-import-sheet > header small { display:block; color:var(--spotify-green,#1ed760); font-size:10px; letter-spacing:.14em; }
.spotify-playlist-import-sheet > header h2 { margin:4px 0 0; font-size:21px; }
.spotify-playlist-import-sheet > header button { width:42px; height:42px; border:0; border-radius:50%; background:#2a2a2a; color:#fff; display:grid; place-items:center; }
.spotify-playlist-import-sheet > p { margin: 0 0 18px; color:#aaa; font-size:12px; line-height:1.55; }
.spotify-import-field > span { display:block; margin:0 0 8px; color:#8e8e8e; font-size:10px; letter-spacing:.12em; }
.spotify-import-field > div { min-height:58px; display:grid; grid-template-columns:minmax(0,1fr) 50px; align-items:center; border:1px solid rgba(255,255,255,.11); border-radius:16px; background:#171717; overflow:hidden; }
.spotify-import-field input { width:100%; min-width:0; height:58px; border:0; outline:0; padding:0 15px; background:transparent; color:#fff; font:inherit; font-size:13px; }
.spotify-import-field input::placeholder { color:#6f6f6f; }
.spotify-import-field button { height:42px; width:42px; border:0; border-radius:12px; background:#262626; color:#ddd; display:grid; place-items:center; }
.spotify-import-field button .icon { width:20px; height:20px; }
.spotify-import-hint { display:block; min-height:18px; margin:8px 2px 15px; color:#777; font-size:10px; line-height:1.45; overflow-wrap:anywhere; }
.spotify-import-hint.is-error { color:#ff686f; }
.spotify-import-submit { width:100%; min-height:54px; border:0; border-radius:16px; display:flex; align-items:center; justify-content:center; gap:10px; background:var(--spotify-green,#1ed760); color:#071409; font:inherit; font-weight:900; }
.spotify-import-submit .icon { width:21px; height:21px; }
.spotify-import-submit:disabled { opacity:.68; }
.spotify-import-submit .loading-ring { width:20px; height:20px; border-color:rgba(7,20,9,.25); border-top-color:#071409; }


/* V1.45.4 · playlist main play/pause follows the real player state */
.spotify-collection-detail-page.is-playlist .spotify-main-play.is-playing {
  background: var(--spotify-green, #1ed760) !important;
  color: #071409 !important;
}
.spotify-collection-detail-page.is-playlist .spotify-main-play.is-loading {
  cursor: wait;
  opacity: .92;
}
.spotify-collection-detail-page.is-playlist .spotify-main-play.is-loading .icon {
  animation: datzonSpotifyPlaylistSpin .72s linear infinite;
}
@keyframes datzonSpotifyPlaylistSpin { to { transform: rotate(360deg); } }


/* V1.46.0 · desktop rails, reliable sheets, profile bio/social, and library filters */
.player-sheet-scroll {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.player-sheet.is-entering {
  animation: datzonSheetEnter .34s cubic-bezier(.18,.86,.22,1) both;
}
@keyframes datzonSheetEnter {
  from { transform: translate3d(0,32px,0) scale(.985); }
  to { transform: translate3d(0,0,0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .player-sheet.is-entering { animation: none !important; }
}

.desktop-scroll-shell {
  position: relative;
  width: 100%;
  min-width: 0;
}
.desktop-rail-control { display: none; }
@media (min-width: 1024px) {
  .desktop-scroll-shell > .home-square-carousel,
  .desktop-scroll-shell > .community-carousel,
  .desktop-scroll-shell > .artist-bubbles,
  .desktop-scroll-shell > .radio-carousel,
  .desktop-scroll-shell > .album-carousel,
  .desktop-scroll-shell > .artist-page-releases,
  .desktop-scroll-shell > .spotify-scroll-row,
  .desktop-scroll-shell > .spotify-collection-carousel,
  .desktop-scroll-shell > .horizontal-scroll { width: 100%; }
  .desktop-rail-control {
    position: absolute;
    z-index: 12;
    top: 42%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    background: rgba(19,21,20,.92);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.42);
    backdrop-filter: blur(14px);
    opacity: .8;
    transform: translateY(-50%) scale(.94);
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
    cursor: pointer;
  }
  .desktop-scroll-shell:hover .desktop-rail-control,
  .desktop-rail-control:focus-visible { opacity: 1; transform: translateY(-50%) scale(1); background: rgba(34,37,35,.98); }
  .desktop-rail-control.is-left { left: 8px; }
  .desktop-rail-control.is-right { right: 8px; }
  .desktop-rail-control.is-left .icon { transform: rotate(180deg); }
  .desktop-rail-control .icon { width: 24px; height: 24px; }
  .desktop-scroll-shell:not(.has-overflow) .desktop-rail-control,
  .desktop-rail-control.is-unavailable { opacity: 0 !important; pointer-events: none; transform: translateY(-50%) scale(.78); }
}

.library-pills button.active {
  color: #071409;
  background: var(--spotify-green, #1ed760);
  box-shadow: 0 0 0 3px rgba(30,215,96,.12);
}

.profile-social-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
  margin: 0 8px 18px;
}
.profile-social-stats button {
  min-width: 0;
  min-height: 76px;
  padding: 12px 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  background: #222;
  color: #fff;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.profile-social-stats button:hover,
.profile-social-stats button:focus-visible { background: #2b2b2b; border-color: rgba(30,215,96,.32); transform: translateY(-2px); }
.profile-social-stats strong,
.profile-social-stats span { display: block; }
.profile-social-stats strong { font-size: 22px; }
.profile-social-stats span { margin-top: 6px; color: #9f9f9f; font-size: 12px; }

.profile-bio-card {
  margin: 0 8px 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(31,31,31,.88);
}
.profile-bio-card > p { margin: 0; color: #e7e7e7; line-height: 1.58; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-social-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 15px; }
.profile-bio-card > .profile-social-links:first-child { margin-top: 0; }
.profile-social-links a {
  min-width: 0;
  min-height: 60px;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  background: #282828;
  color: #fff;
  text-decoration: none;
}
.profile-social-links a:hover { background: #303030; border-color: rgba(255,255,255,.15); }
.profile-social-links a > span:nth-child(2) { min-width: 0; }
.profile-social-links strong,
.profile-social-links small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-social-links strong { font-size: 13px; }
.profile-social-links small { margin-top: 3px; color: #999; font-size: 10px; }
.profile-social-links a > .icon { width: 17px; height: 17px; color: #777; }
.profile-social-brand {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #3a3a3a;
  color: #fff;
  overflow: hidden;
}
.profile-social-brand .icon { width: 21px; height: 21px; }
.profile-social-brand b { font-size: 19px; line-height: 1; }
.profile-social-brand.brand-instagram { background: linear-gradient(135deg,#6b45de,#dc297b 58%,#f5a02a); }
.profile-social-brand.brand-tiktok { background: #050505; box-shadow: inset 2px 0 #25f4ee, inset -2px 0 #fe2c55; }
.profile-social-brand.brand-youtube { background: #ff0033; }
.profile-social-brand.brand-spotify { background: #1ed760; color: #06150a; }
.profile-social-brand.brand-x { background: #050505; }
.profile-social-brand.brand-threads { background: #111; }
.profile-social-brand.brand-facebook { background: #1877f2; }
.profile-social-brand.brand-soundcloud { background: #ff5500; }
.profile-social-brand.brand-website { background: #394048; }

.profile-bio-editor textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  outline: 0;
  padding: 13px 15px;
  background: #292929;
  color: #fff;
  font: inherit;
  line-height: 1.45;
}
.profile-bio-editor textarea:focus { border-color: #1ed760; box-shadow: 0 0 0 3px rgba(30,215,96,.12); }
.profile-social-editor { margin: 4px 0 18px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 17px; background: #252525; }
.profile-social-editor > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.profile-social-editor > header strong,
.profile-social-editor > header small { display: block; }
.profile-social-editor > header small { max-width: 390px; margin-top: 5px; color: #929292; font-size: 11px; line-height: 1.4; }
.profile-social-editor > header button { flex: 0 0 auto; min-height: 38px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 0 12px; background: rgba(30,215,96,.13); color: #1ed760; font: inherit; font-size: 11px; font-weight: 800; }
.profile-social-editor > header button .icon { width: 18px; height: 18px; }
.profile-social-editor > div { display: grid; gap: 9px; }
.profile-social-editor-row { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; gap: 8px; align-items: center; }
.profile-social-editor-row input { width: 100%; min-width: 0; height: 46px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; outline: 0; padding: 0 12px; background: #191919; color: #fff; font: inherit; font-size: 12px; }
.profile-social-editor-row input:focus { border-color: #1ed760; }
.profile-social-editor-row > button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255,83,108,.11); color: #ff667d; }
.profile-social-editor-row > button .icon { width: 19px; height: 19px; }

.profile-social-list-player-sheet .player-sheet-scroll { padding-bottom: calc(28px + env(safe-area-inset-bottom,0px)); }
.profile-social-list-sheet > header { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.profile-social-list-sheet > header small { display: block; color: #1ed760; letter-spacing: .12em; font-size: 10px; }
.profile-social-list-sheet > header h2 { margin: 4px 0 3px; font-size: 22px; }
.profile-social-list-sheet > header p { margin: 0; color: #999; font-size: 11px; }
.profile-social-list-sheet > header button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #2c2c2c; color: #fff; display: grid; place-items: center; }
.profile-social-list-sheet > .social-list { margin-top: 10px; }

@media (max-width: 560px) {
  .profile-social-links { grid-template-columns: minmax(0,1fr); }
  .profile-social-editor > header { display: grid; }
  .profile-social-editor > header button { justify-self: start; }
}

/* V1.47.1 · multi-artist credits */
.artist-page-collaborators {
  padding: 25px 20px 0;
}
.artist-collaborator-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 1px 6px;
  scrollbar-width: none;
}
.artist-collaborator-list::-webkit-scrollbar { display: none; }
.artist-collaborator-card {
  flex: 0 0 96px;
  width: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.artist-collaborator-card img {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 9px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #232323;
  border: 1px solid rgba(255,255,255,.09);
}
.artist-collaborator-card strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.28;
  font-weight: 720;
}
.artist-collaborator-card:active { transform: scale(.96); }

/* Jangan biarkan sinkronisasi progress melawan gesture seek pada layar sentuh. */
.range { touch-action: pan-y; }


/* V1.48.0 — pencarian relevan: selalu satu frasa per baris, tidak menumpuk/terpotong vertikal. */
.search-box-wrap { position:relative; margin-bottom:26px; z-index:24; }
.search-box-wrap .spotify-search-box { margin-bottom:0; }
.search-suggestion-panel {
  display:none;
  position:absolute;
  z-index:80;
  top:calc(100% + 8px);
  left:0;
  right:0;
  max-height:min(420px,52vh);
  overflow-y:auto;
  overflow-x:hidden;
  padding:7px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(17,17,17,.985);
  box-shadow:0 18px 42px rgba(0,0,0,.42);
  backdrop-filter:blur(18px);
}
.search-suggestion-panel.show { display:block; }
.search-suggestion-row {
  width:100%;
  min-height:48px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#fff;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  align-items:center;
  gap:11px;
  padding:9px 11px;
  text-align:left;
  font:inherit;
}
.search-suggestion-row:hover,
.search-suggestion-row:focus-visible { background:rgba(255,255,255,.08); outline:none; }
.search-suggestion-row .icon { width:20px; height:20px; color:#cfcfcf; }
.search-suggestion-row span {
  display:block;
  min-width:0;
  color:#fff !important;
  font-size:15px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap !important;
  overflow:hidden;
  text-overflow:ellipsis;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
@media (max-width:520px) {
  .search-suggestion-panel { max-height:46vh; border-radius:14px; }
  .search-suggestion-row { min-height:46px; }
}

/* V1.49.0 · artist context + Home playlist import */
.artist-collaborator-card.is-current img {
  border-color: var(--spotify-green, #1ed760);
  box-shadow: 0 0 0 3px rgba(30,215,96,.16);
}
.artist-collaborator-card.is-current strong { color: var(--spotify-green, #1ed760); }
.artist-collaborator-card.is-current { cursor: default; }

.spotify-collection-import-card .spotify-import-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(30,215,96,.30), transparent 36%),
    linear-gradient(145deg, #222 0%, #121212 72%);
  border: 1px solid rgba(30,215,96,.26);
}
.spotify-collection-import-card .spotify-import-art > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--spotify-green, #1ed760);
  color: #07110a;
  box-shadow: 0 14px 34px rgba(30,215,96,.20);
}
.spotify-collection-import-card .spotify-import-art > span .icon { width: 34px; height: 34px; }
.spotify-collection-import-card > strong { color: #fff; white-space: normal; line-height: 1.25; }
.spotify-collection-import-card > small { white-space: normal; line-height: 1.35; }
.spotify-collection-import-card:active .spotify-import-art { transform: scale(.975); }

/* Keep multi-name "Serupa dengan" headings tidy on narrow phones. */
.similar-heading h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(72vw, 520px);
}

/* V1.50.0 · Home import playlist must occupy exactly the same card footprint as playlist cards. */
.spotify-collection-import-card { align-self:start; }
.spotify-collection-import-card .spotify-import-art {
  aspect-ratio:1;
  border:0;
  border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}
.spotify-collection-import-card .spotify-import-art > span {
  width:56px;
  height:56px;
  box-shadow:0 10px 26px rgba(30,215,96,.16);
}
.spotify-collection-import-card .spotify-import-art > span .icon { width:30px; height:30px; }
.spotify-collection-import-card > strong {
  margin-top:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:16px;
  line-height:1.2;
}

/* ================================================================
   DATZON MUSIC V1.60.0 — Spotify Catalog + Audio Lab UI
   ================================================================ */

/* Mixed universal search */
.mixed-search-results { padding-bottom: 24px; }
.mixed-search-results .result-heading { position:static; z-index:auto; padding-top:8px; background:none; box-shadow:none; }
.mixed-track-card { min-height: 74px; }
.mixed-track-card .explicit-badge,
.spotify-album-track-row .explicit-badge { display:inline-grid; place-items:center; min-width:17px; height:17px; padding:0 4px; margin-right:4px; border-radius:4px; background:#a7a7a7; color:#111; font-size:10px; font-style:normal; font-weight:900; vertical-align:1px; }
.mixed-entity-card { width:calc(100% - 42px); margin:9px 21px; min-height:84px; padding:10px 12px; border:1px solid rgba(255,255,255,.09); border-radius:18px; background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.025)); display:grid; grid-template-columns:64px minmax(0,1fr) 28px; align-items:center; gap:14px; text-align:left; cursor:pointer; box-shadow:0 8px 28px rgba(0,0,0,.14); }
.mixed-entity-card:active { transform:scale(.985); background:rgba(255,255,255,.1); }
.mixed-entity-card img { width:64px; height:64px; object-fit:cover; border-radius:13px; background:#202020; }
.mixed-artist-card img { border-radius:50%; }
.mixed-entity-card span { min-width:0; }
.mixed-entity-card strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; }
.mixed-entity-card small { display:block; margin-top:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:12px; }
.mixed-entity-card > i { display:grid; place-items:center; color:#bcbcbc; }
.mixed-entity-card > i .icon { width:20px; height:20px; }
.mixed-artist-card { background:linear-gradient(130deg,rgba(255,255,255,.08),rgba(255,255,255,.025)); }
.mixed-album-card { border-color:rgba(255,255,255,.12); }
.mixed-playlist-card { background:linear-gradient(135deg,rgba(33,215,96,.08),rgba(255,255,255,.025)); }
.mixed-search-more { width:calc(100% - 42px); margin:18px 21px 6px; height:50px; border:1px solid rgba(255,255,255,.13); border-radius:999px; background:#171717; display:flex; align-items:center; justify-content:center; gap:9px; font-weight:800; cursor:pointer; }
.mixed-search-more:disabled { opacity:.55; }
.mixed-search-skeletons { padding:10px 0 30px; }
.mixed-search-skeletons .mixed-entity-card { pointer-events:none; }
.artist-circle-skeleton { width:64px; height:64px; border-radius:50%; }
.entity-square-skeleton { width:64px; height:64px; border-radius:13px; }
.mixed-search-skeletons .mixed-entity-card span:nth-child(2) { display:grid; gap:9px; }
.mixed-search-skeletons .mixed-entity-card span:nth-child(2) i:first-child { width:62%; height:13px; border-radius:6px; }
.mixed-search-skeletons .mixed-entity-card span:nth-child(2) i:last-child { width:42%; height:10px; border-radius:6px; }

/* Accurate Spotify artist onboarding */
.spotify-onboarding-page .onboarding-artist-grid button { position:relative; }
.spotify-onboarding-page .onboarding-artist-grid button img { object-fit:cover; background:#181818; }
.spotify-onboarding-page .onboarding-artist-grid button small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.onboarding-artist-skeleton-grid { pointer-events:none; }
.onboarding-artist-skeleton { display:flex; flex-direction:column; align-items:center; gap:8px; }
.onboarding-artist-skeleton i { width:84px; height:84px; border-radius:50%; }
.onboarding-artist-skeleton span { width:70px; height:11px; border-radius:6px; }

/* Spotify album detail — DATZON visual language, not a Spotify clone */
.spotify-album-hero { --album-rgb:42,42,42; position:relative; min-height:520px; padding:calc(48px + env(safe-area-inset-top,0px)) 28px 34px; display:flex; flex-direction:column; justify-content:flex-end; gap:20px; overflow:hidden; background:linear-gradient(180deg,rgba(var(--album-rgb),.88) 0%,rgba(var(--album-rgb),.45) 50%,#090909 100%); }
.spotify-album-hero::after { content:""; position:absolute; inset:auto 0 0; height:45%; background:linear-gradient(transparent,#090909); pointer-events:none; }
.spotify-album-hero-cover { position:relative; z-index:1; align-self:center; width:min(74vw,330px); aspect-ratio:1; border-radius:8px; overflow:hidden; box-shadow:0 22px 55px rgba(0,0,0,.46); background:#1b1b1b; }
.spotify-album-hero-cover img { width:100%; height:100%; object-fit:cover; }
.spotify-album-copy { position:relative; z-index:1; min-width:0; }
.spotify-album-copy .spotify-kicker { margin:0 0 7px; color:#d8d8d8; font-size:11px; font-weight:850; letter-spacing:.16em; }
.spotify-album-copy h1 { margin:0; font-size:clamp(34px,10vw,56px); line-height:.98; letter-spacing:-1.6px; overflow-wrap:anywhere; }
.spotify-album-copy h3 { margin:14px 0 0; font-size:16px; }
.spotify-album-copy p:last-child { margin:7px 0 0; color:#bcbcbc; font-size:12px; }
.spotify-album-actions { padding:0 24px 12px; display:grid; grid-template-columns:50px 50px 1fr 60px; align-items:center; gap:10px; }
.spotify-round-action { width:48px; height:48px; padding:0; border:1px solid rgba(255,255,255,.14); border-radius:50%; background:#171717; display:grid; place-items:center; }
.spotify-main-play { width:60px; height:60px; padding:0; border:0; border-radius:50%; background:var(--accent); display:grid; place-items:center; color:#fff; box-shadow:0 10px 30px rgba(0,0,0,.32); }
.spotify-main-play .icon { width:27px; height:27px; margin-left:3px; }
.spotify-album-track-list { padding:4px 18px 18px; }
.spotify-album-track-row { width:100%; min-height:70px; padding:8px 4px; border:0; border-bottom:1px solid rgba(255,255,255,.055); background:transparent; display:grid; grid-template-columns:38px minmax(0,1fr) auto 34px; align-items:center; gap:8px; text-align:left; }
.spotify-album-track-row:active { background:rgba(255,255,255,.05); }
.spotify-album-track-number { color:#8e8e8e; font-style:normal; text-align:center; font-size:13px; }
.spotify-album-track-row > span { min-width:0; }
.spotify-album-track-row strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
.spotify-album-track-row small { display:block; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#9c9c9c; font-size:12px; }
.spotify-album-track-row time { color:#8f8f8f; font-size:12px; font-variant-numeric:tabular-nums; }
.spotify-album-track-row > i { display:grid; place-items:center; color:#a5a5a5; }
.spotify-album-track-row > i .icon { width:20px; }
.spotify-album-footer { padding:14px 24px calc(130px + var(--safe-b)); color:#777; font-size:10px; line-height:1.55; }
.spotify-album-footer p { margin:4px 0; }

/* Audio Lab */
.audio-lab-overlay { position:fixed; z-index:220; inset:0; background:rgba(0,0,0,.68); backdrop-filter:blur(10px); display:flex; align-items:flex-end; justify-content:center; padding-top:env(safe-area-inset-top,0px); }
.audio-lab-sheet { width:min(100%,560px); height:min(91dvh,900px); border:1px solid rgba(255,255,255,.09); border-radius:30px 30px 0 0; background:linear-gradient(180deg,#202020,#101010 28%,#0b0b0b); box-shadow:0 -24px 80px rgba(0,0,0,.6); overflow:hidden; display:flex; flex-direction:column; }
.audio-lab-grabber { width:48px; height:5px; margin:10px auto 4px; border-radius:999px; background:#727272; }
.audio-lab-sheet > header { padding:10px 20px 14px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid rgba(255,255,255,.07); }
.audio-lab-sheet > header small { color:var(--accent); font-size:9px; font-weight:900; letter-spacing:.14em; }
.audio-lab-sheet > header h2 { margin:3px 0 0; font-size:24px; }
.audio-lab-sheet > header button { width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#303030; display:grid; place-items:center; }
.audio-lab-status { margin:10px 18px 0; padding:10px 12px; border:1px solid rgba(255,190,76,.25); border-radius:12px; background:rgba(255,190,76,.09); color:#f0c977; font-size:11px; line-height:1.45; }
.audio-lab-body { flex:1; overflow:auto; overscroll-behavior:contain; padding:14px 16px calc(28px + var(--safe-b)); }
.audio-lab-section { margin:0 0 12px; padding:15px; border:1px solid rgba(255,255,255,.075); border-radius:18px; background:rgba(255,255,255,.035); }
details.audio-lab-section summary { cursor:pointer; font-weight:850; }
.audio-lab-section-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.audio-lab-section-title span { color:#888; font-size:10px; }
.audio-preset { display:grid; grid-template-columns:1fr minmax(120px,160px); align-items:center; gap:10px; margin-bottom:14px; }
.audio-preset > span { font-weight:800; }
.audio-preset select,
.audio-lab-section-title select { min-height:38px; padding:0 12px; border:1px solid rgba(255,255,255,.12); border-radius:11px; background:#272727; color:#fff; }
.audio-lab-control { display:block; padding:8px 0; }
.audio-lab-control > span { display:flex; justify-content:space-between; gap:8px; margin-bottom:8px; }
.audio-lab-control b { font-size:12px; }
.audio-lab-control em { color:#b5b5b5; font-size:11px; font-style:normal; font-variant-numeric:tabular-nums; }
.audio-lab-control input[type="range"] { width:100%; accent-color:var(--accent); }
.audio-eq-grid { height:240px; display:grid; grid-template-columns:repeat(10,minmax(24px,1fr)); align-items:stretch; gap:3px; padding:10px 0 2px; }
.audio-eq-grid label { min-width:0; display:grid; grid-template-rows:1fr auto auto; justify-items:center; gap:5px; }
.audio-eq-grid input[type="range"] { writing-mode:vertical-lr; direction:rtl; appearance:slider-vertical; width:28px; height:170px; accent-color:var(--accent); }
.audio-eq-grid span { color:#aaa; font-size:9px; }
.audio-eq-grid em { color:#777; font-size:8px; font-style:normal; }
.audio-visualizer { display:block; width:100%; height:112px; border-radius:13px; background:#090909; }
.audio-lab-reset { width:100%; height:50px; border:1px solid rgba(255,255,255,.14); border-radius:14px; background:#242424; font-weight:900; letter-spacing:.05em; }

@media (min-width: 900px) {
  .audio-lab-overlay { align-items:center; }
  .audio-lab-sheet { height:min(84vh,860px); border-radius:28px; }
  .spotify-album-hero { min-height:600px; }
}


/* V1.60.2 · compact mixed-search loading rows */
.mixed-search-skeletons { padding:10px 0 30px; }
.mixed-search-skeleton-row { pointer-events:none; }
.mixed-search-skeleton-row .result-cover { flex:none; border-radius:5px; }
.mixed-search-skeleton-row.is-artist .result-cover { border-radius:50%; }
.mixed-search-skeleton-row > span:nth-child(2) { min-width:0; }
.mixed-search-skeleton-row > span:nth-child(2) i:first-child { width:72%; height:14px; border-radius:6px; }
.mixed-search-skeleton-row > span:nth-child(2) i:last-child { width:48%; height:11px; border-radius:6px; }
.mixed-search-skeleton-row .skeleton-dot { width:7px; height:28px; border-radius:5px; justify-self:center; }

/* Audio Settings now uses the exact draggable Queue/Player sheet system. */
.audio-lab-player-sheet { background:#202020 !important; border-radius:28px 28px 0 0 !important; box-shadow:0 -18px 54px rgba(0,0,0,.62) !important; }
.audio-lab-player-sheet .player-sheet-scroll { padding:0 18px calc(30px + env(safe-area-inset-bottom,0px)); }
.audio-lab-sheet-content { min-height:0; }
.audio-lab-sheet-head { position:sticky; top:0; z-index:4; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:4px 0 14px; background:linear-gradient(180deg,#202020 78%,rgba(32,32,32,0)); }
.audio-lab-sheet-head small { color:var(--accent); font-size:9px; font-weight:900; letter-spacing:.14em; }
.audio-lab-sheet-head h2 { margin:3px 0 0; font-size:24px; }
.audio-lab-sheet-head button { width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#303030; color:#fff; display:grid; place-items:center; }
.audio-lab-sheet-head button .icon { width:22px; height:22px; }
.audio-lab-player-sheet .audio-lab-body { overflow:visible; padding:0; }
.audio-lab-player-sheet .audio-lab-status { margin:0 0 12px; }
@media (min-width:1024px){.audio-lab-player-sheet{max-width:620px;}}


/* === DATZON Music V1.60.3 polish === */
.mixed-search-results .mixed-entity-row,
.mixed-search-results .mixed-artist-card,
.mixed-search-results .mixed-album-card,
.mixed-search-results .mixed-playlist-card{
  width:100%!important;min-height:70px!important;margin:0!important;padding:6px 0!important;
  display:grid!important;grid-template-columns:58px minmax(0,1fr) 34px!important;gap:14px!important;align-items:center!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;text-align:left!important;color:inherit!important;
}
.mixed-search-results .mixed-entity-row img{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:4px!important;margin:0!important;box-shadow:none!important;}
.mixed-search-results .mixed-artist-card img{border-radius:50%!important;}
.mixed-search-results .mixed-entity-row>span{min-width:0!important;display:block!important;}
.mixed-search-results .mixed-entity-row strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font:700 20px/1.2 var(--display-font)!important;letter-spacing:.02em!important;}
.mixed-search-results .mixed-entity-row small{display:block!important;margin-top:5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--muted)!important;font-size:14px!important;}
.mixed-search-results .mixed-chevron{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;margin:0!important;color:rgba(255,255,255,.72)!important;}
.mixed-search-results .mixed-chevron .icon{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;}

.spotify-collection-detail-page.is-album{background:#090909!important;}
.spotify-album-hero{background:linear-gradient(155deg,rgba(var(--album-rgb,90,90,90),.74),rgba(var(--album-rgb,32,32,32),.23))!important;box-shadow:none!important;}
.spotify-album-hero::after{display:none!important;content:none!important;}
.spotify-album-hero-cover,.spotify-album-copy{position:relative;z-index:1;}
.spotify-album-artists{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:4px 0 8px;}
.spotify-album-artists button{appearance:none;border:0;background:transparent;color:inherit;padding:0;font:700 18px/1.25 var(--display-font);cursor:pointer;text-decoration:none;}
.spotify-album-artists button:active,.spotify-album-artists button:hover{text-decoration:underline;}
.spotify-album-artists span{color:var(--muted);}
.spotify-album-track-row.is-current{background:rgba(29,215,96,.07)!important;}
.spotify-album-track-row.is-current strong,.spotify-album-track-row.is-current small,.spotify-album-track-row.is-current .spotify-album-track-number,.spotify-album-track-row.is-current time{color:#1ed760!important;}
.spotify-album-track-row.is-current .spotify-album-track-number .icon{width:18px;height:18px;stroke:#1ed760;}

.audio-lab-player-sheet .audio-lab-panel{width:100%;box-sizing:border-box;margin:0 auto;}
.audio-lab-player-sheet .audio-lab-section{width:100%;box-sizing:border-box;margin-left:auto;margin-right:auto;}
.audio-lab-player-sheet .audio-visualizer{display:block;width:min(100%,560px)!important;max-width:100%!important;height:112px;margin:14px auto 0!important;box-sizing:border-box;}

.collab-create-sheet{padding:4px 4px 28px;}
.collab-create-sheet header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin-bottom:18px;}
.collab-create-sheet header small{color:#1ed760;letter-spacing:.18em;}.collab-create-sheet header h2{margin:4px 0 6px;font-size:30px;}.collab-create-sheet header p{margin:0;color:var(--muted);line-height:1.45;}
.collab-create-sheet header button{border:0;background:#333;color:#fff;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;}
.collab-name-field{display:grid;gap:8px;margin:12px 0 16px;}.collab-name-field span{font-size:13px;letter-spacing:.12em;color:var(--muted);}.collab-name-field input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:16px;background:#171717;color:#fff;padding:16px;font:600 18px var(--display-font);outline:none;}
.collab-friend-list{display:grid;gap:6px;max-height:48vh;overflow:auto;padding-right:2px;}.collab-friend-row{width:100%;display:grid;grid-template-columns:50px minmax(0,1fr) 36px;gap:13px;align-items:center;border:1px solid transparent;background:transparent;color:#fff;border-radius:15px;padding:8px;text-align:left;}.collab-friend-row img{width:50px;height:50px;border-radius:50%;object-fit:cover;}.collab-friend-row span{min-width:0;}.collab-friend-row strong,.collab-friend-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.collab-friend-row small{color:var(--muted);margin-top:3px;}.collab-friend-row i{width:28px;height:28px;border:2px solid #666;border-radius:50%;display:grid;place-items:center;color:transparent;}.collab-friend-row.is-selected{background:rgba(29,215,96,.08);border-color:rgba(29,215,96,.35);}.collab-friend-row.is-selected i{background:#1ed760;border-color:#1ed760;color:#07130b;}.collab-create-submit{width:100%;margin-top:18px;}

.music-code-overlay{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:max(20px,env(safe-area-inset-top)) 18px max(20px,env(safe-area-inset-bottom));background:rgba(0,0,0,.72);opacity:0;transition:opacity .22s ease;box-sizing:border-box;}
.music-code-overlay.is-open{opacity:1}.music-code-overlay.is-closing{opacity:0;pointer-events:none;}
.music-code-dialog,.music-code-choice,.music-code-scanner{width:min(100%,420px);max-height:calc(100dvh - 40px);overflow:auto;background:#1b1b1b;border:1px solid rgba(255,255,255,.12);border-radius:28px;color:#fff;box-shadow:0 24px 80px rgba(0,0,0,.44);position:relative;transform:translateY(18px) scale(.97);transition:transform .22s ease;padding:24px;box-sizing:border-box;}
.music-code-overlay.is-open .music-code-dialog,.music-code-overlay.is-open .music-code-choice,.music-code-overlay.is-open .music-code-scanner{transform:none;}
.music-code-close,.music-code-choice header>button{position:absolute;right:18px;top:18px;border:0;background:rgba(20,20,20,.72);color:#fff;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;z-index:2;}.music-code-close .icon,.music-code-choice header>button .icon{width:24px;height:24px;}
.music-code-cover{width:min(72vw,280px);aspect-ratio:1;margin:22px auto 18px;border-radius:20px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.32);}.music-code-cover img{width:100%;height:100%;object-fit:cover;}
.music-code-dialog h2{text-align:center;margin:0;font:700 26px/1.15 var(--display-font);}.music-code-dialog>p{text-align:center;margin:7px 0 18px;color:#bbb;}.music-code-machine{background:#f4f2ed;border-radius:19px;padding:12px 10px 8px;overflow:hidden;}.music-code-machine canvas{display:block;width:100%;height:auto;}.music-code-label{display:block;text-align:center;margin:16px 0 3px;font:700 18px var(--display-font);letter-spacing:.13em;}.music-code-dialog>small{display:block;text-align:center;color:#888;letter-spacing:.18em;font-size:10px;}
.music-code-choice header,.music-code-scanner header{position:relative;display:flex;align-items:center;justify-content:space-between;padding-right:50px;margin-bottom:20px;}.music-code-choice header small{color:#1ed760;letter-spacing:.17em;}.music-code-choice h2,.music-code-scanner h2{margin:4px 0 0;font-size:28px;}.music-code-choice-row{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) 28px;gap:14px;align-items:center;background:#252525;color:#fff;border:1px solid rgba(255,255,255,.08);border-radius:18px;margin:10px 0;padding:13px;text-align:left;}.music-code-choice-row>span{width:48px;height:48px;border-radius:14px;background:#333;display:grid;place-items:center;}.music-code-choice-row strong,.music-code-choice-row small{display:block;}.music-code-choice-row small{color:#aaa;margin-top:3px;}.music-code-choice-row>.icon{width:22px;height:22px;color:#aaa;}.music-code-cancel,.music-code-alt,.music-code-camera-actions button{width:100%;margin-top:12px;border:1px solid rgba(255,255,255,.12);background:#292929;color:#fff;border-radius:15px;padding:14px;font:600 15px var(--display-font);}
.music-code-scanner header{padding-right:0;}.music-code-scanner header button{width:44px;height:44px;border:0;border-radius:50%;background:#2d2d2d;color:#fff;display:grid;place-items:center;}.music-code-camera{position:relative;width:100%;aspect-ratio:3/4;max-height:62vh;background:#090909;border-radius:22px;overflow:hidden;}.music-code-camera video{width:100%;height:100%;object-fit:cover;}.music-code-scan-frame{position:absolute;left:8%;right:8%;top:37%;height:26%;border:2px solid rgba(255,255,255,.92);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.18);overflow:hidden;}.music-code-scan-frame i{position:absolute;left:6%;right:6%;height:2px;top:12%;background:#1ed760;box-shadow:0 0 12px #1ed760;animation:musicCodeScan 2s ease-in-out infinite alternate;}@keyframes musicCodeScan{to{top:86%;}}
.music-code-scanner>[data-music-code-status]{text-align:center;color:#ddd;line-height:1.4;margin:16px 4px 4px;}.music-code-scanner>[data-music-code-status][data-tone="error"]{color:#ff9d9d}.music-code-scanner>[data-music-code-status][data-tone="success"]{color:#1ed760}.music-code-camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.music-code-image-preview{width:100%;min-height:260px;display:grid;place-items:center;background:#111;border-radius:20px;overflow:hidden;}.music-code-image-preview img{width:100%;max-height:58vh;object-fit:contain;}.music-code-image-preview>.icon{width:52px;height:52px;color:#777;}
@media(max-width:520px){.music-code-overlay{padding:12px;align-items:end}.music-code-dialog,.music-code-choice,.music-code-scanner{width:100%;border-radius:26px 26px 18px 18px;max-height:calc(100dvh - 22px)}.music-code-scanner{padding-bottom:max(24px,env(safe-area-inset-bottom));}}

/* V1.60.4 — Music Code sheet, animated now-playing indicators, collaborative badges */
.music-code-player-sheet.player-sheet{background:#1f1f1f!important;color:#fff!important;}
.music-code-player-sheet .player-sheet-scroll{padding:0 20px calc(28px + env(safe-area-inset-bottom,0px));}
.music-code-sheet-content{width:100%;box-sizing:border-box;}
.music-code-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 18px;}
.music-code-sheet-head small{display:block;color:#1ed760;letter-spacing:.18em;font-size:11px;}
.music-code-sheet-head h2{margin:4px 0 0;font-size:30px;line-height:1.08;}
.music-code-sheet-head>button{width:48px;height:48px;flex:0 0 auto;border:0;border-radius:50%;background:#303030;color:#fff;display:grid;place-items:center;}
.music-code-sheet-head>button .icon{width:25px;height:25px;}
.music-code-display-content{padding-bottom:8px;}
.music-code-cover{width:min(68vw,265px);aspect-ratio:1;margin:2px auto 16px;border-radius:18px;overflow:hidden;box-shadow:0 18px 44px rgba(0,0,0,.28);}
.music-code-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.music-code-track-copy{text-align:center;margin-bottom:16px;}
.music-code-track-copy h3{margin:0;font:800 24px/1.15 var(--display-font);}
.music-code-track-copy p{margin:6px 0 0;color:#aaa;font-size:15px;}
.music-code-machine{background:#f1f2ee;border-radius:20px;padding:8px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07);}
.music-code-machine canvas{display:block;width:100%;height:auto;aspect-ratio:10/3;object-fit:contain;}
.music-code-label{display:block;text-align:center;margin:15px 0 2px;font:800 17px var(--display-font);letter-spacing:.12em;}
.music-code-brand{display:block;text-align:center;color:#858585;letter-spacing:.18em;font-size:10px;}
.music-code-actions{display:grid;grid-template-columns:1fr;margin-top:16px;}
.music-code-actions button,.music-code-alt{min-height:50px;border:1px solid rgba(255,255,255,.11);border-radius:16px;background:#2b2b2b;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font:700 15px var(--display-font);}
.music-code-actions .icon,.music-code-alt .icon{width:22px;height:22px;}
.music-code-choice{padding-bottom:8px;}
.music-code-choice-row{width:100%;display:grid;grid-template-columns:52px minmax(0,1fr) 24px;gap:14px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#292929;color:#fff;padding:14px;margin:10px 0;text-align:left;}
.music-code-choice-row>span{width:52px;height:52px;border-radius:15px;background:#363636;display:grid;place-items:center;}
.music-code-choice-row>span .icon{width:28px;height:28px;}
.music-code-choice-row strong,.music-code-choice-row small{display:block;}
.music-code-choice-row strong{font-size:17px;}
.music-code-choice-row small{margin-top:4px;color:#aaa;font-size:13px;}
.music-code-choice-row>.icon{width:21px;height:21px;color:#9b9b9b;transform:rotate(-90deg);}
.music-code-scanner{padding-bottom:8px;}
.music-code-image-preview{width:100%;min-height:250px;display:grid;place-items:center;background:#101010;border-radius:20px;overflow:hidden;}
.music-code-image-preview img{display:block;width:100%;max-height:58svh;object-fit:contain;}
.music-code-image-preview>.icon{width:52px;height:52px;color:#777;}
.music-code-scanner>[data-music-code-status]{text-align:center;color:#ddd;line-height:1.45;margin:15px 6px 4px;}
.music-code-scanner>[data-music-code-status][data-tone="error"]{color:#ff9d9d;}
.music-code-scanner>[data-music-code-status][data-tone="success"]{color:#1ed760;}
.music-code-camera{position:relative;width:100%;aspect-ratio:3/4;max-height:63svh;background:#090909;border-radius:22px;overflow:hidden;}
.music-code-camera video{width:100%;height:100%;object-fit:cover;display:block;}
.music-code-scan-frame{position:absolute;left:7%;right:7%;top:39%;height:23%;border:2px solid rgba(255,255,255,.95);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.16);overflow:hidden;}
.music-code-scan-frame i{position:absolute;left:6%;right:6%;height:2px;top:10%;background:#1ed760;box-shadow:0 0 11px #1ed760;animation:musicCodeScan 2s ease-in-out infinite alternate;}
.music-code-camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;}
.music-code-camera-actions button{min-height:47px;border:1px solid rgba(255,255,255,.1);background:#2b2b2b;color:#fff;border-radius:15px;font:700 14px var(--display-font);}
@media(max-width:520px){
  .music-code-player-sheet .player-sheet-scroll{padding-left:16px;padding-right:16px;}
  .music-code-cover{width:min(66vw,250px);}
  .music-code-sheet-head h2{font-size:27px;}
}

/* Reusable animated now-playing bars. */
.playing-eq-bars{display:none;align-items:flex-end;justify-content:center;gap:2px;width:20px;height:20px;color:var(--spotify-green,#1ed760);}
.playing-eq-bars i{display:block;width:3px;min-height:4px;border-radius:999px;background:currentColor;transform-origin:center bottom;animation:datzonEqA .72s ease-in-out infinite alternate;}
.playing-eq-bars i:nth-child(1){height:8px;animation-delay:-.42s;}
.playing-eq-bars i:nth-child(2){height:17px;animation-name:datzonEqB;animation-delay:-.18s;}
.playing-eq-bars i:nth-child(3){height:12px;animation-delay:-.56s;}
.playing-eq-bars i:nth-child(4){height:19px;animation-name:datzonEqC;animation-delay:-.29s;}
@keyframes datzonEqA{0%{height:5px}35%{height:18px}70%{height:9px}100%{height:15px}}
@keyframes datzonEqB{0%{height:17px}40%{height:7px}75%{height:20px}100%{height:10px}}
@keyframes datzonEqC{0%{height:9px}30%{height:20px}65%{height:6px}100%{height:16px}}
.track-art-playing{position:relative;display:block;overflow:hidden;border-radius:inherit;flex:0 0 auto;}
.track-art-playing>img{display:block;width:100%;height:100%;object-fit:cover;}
.track-art-playing .track-art-eq{position:absolute;inset:0;margin:auto;width:32px;height:26px;align-items:flex-end;padding:7px;border-radius:999px;background:rgba(0,0,0,.66);box-sizing:content-box;}
.is-playing .track-art-playing .track-art-eq{display:inline-flex;}
.artist-page-track-art{width:58px;height:58px;border-radius:7px;}
.spotify-playlist-track-art{width:56px;height:56px;border-radius:7px;}
.playlist-detail-track-art{width:58px;height:58px;border-radius:6px;}
.artist-page-track.is-current .track-art-playing,.spotify-playlist-track.is-current .track-art-playing,.playlist-detail-row.is-current .track-art-playing{box-shadow:0 0 0 2px var(--spotify-green,#1ed760);}
.spotify-album-track-number{display:grid;place-items:center;min-width:28px;}
.spotify-album-track-row.is-playing .spotify-album-track-number .album-track-index{display:none;}
.spotify-album-track-row.is-playing .spotify-album-track-number .album-playing-bars{display:inline-flex;}
.spotify-album-track-row:not(.is-playing) .spotify-album-track-number .album-playing-bars{display:none;}
@media(prefers-reduced-motion:reduce){.playing-eq-bars i{animation:none!important;}}
@media(max-width:520px){.spotify-playlist-track-art{width:50px;height:50px}.playlist-detail-track-art{width:52px;height:52px}.artist-page-track-art{width:52px;height:52px}}

/* Collaborative playlist cover badge. */
.collaborative-playlist-art{position:relative;display:block;overflow:hidden;background:#242424;}
.collaborative-playlist-art>.playlist-collab-inner{position:absolute!important;inset:0;width:100%!important;height:100%!important;border-radius:inherit!important;object-fit:cover;}
.collaborative-playlist-art>.playlist-collage-art.playlist-collab-inner{display:grid!important;}
.collaborative-playlist-art.collection-square{width:100%;aspect-ratio:1;border-radius:0;}
.collaborative-playlist-art.save-playlist-art{width:64px;height:64px;border-radius:5px;}
.collaborative-playlist-art.playlist-detail-art{width:96px;height:96px;border-radius:9px;flex:0 0 auto;}
.playlist-collab-capsule{position:absolute;left:7px;right:7px;bottom:7px;min-height:30px;padding:4px 7px;border-radius:999px;background:rgba(10,10,10,.82);backdrop-filter:blur(8px);display:flex;align-items:center;gap:6px;color:#fff;box-shadow:0 5px 18px rgba(0,0,0,.3);}
.playlist-collab-label{font-size:8px;letter-spacing:.05em;white-space:nowrap;}
.playlist-collab-avatars{display:flex;align-items:center;margin-left:auto;}
.playlist-collab-avatars img{width:21px!important;height:21px!important;border-radius:50%!important;object-fit:cover!important;border:1.5px solid #111;}
.collab-avatar-x{font-size:10px;color:#bbb;margin:0 2px;font-weight:700;}
.playlist-collab-extra{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#fff;color:#111;}
.playlist-collab-extra .icon{width:14px;height:14px;}

.playlist-collab-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px;padding:10px 12px;border-radius:14px;background:#292929;color:#aaa;font-size:12px;}
.playlist-collab-toolbar>span{display:flex;align-items:center;gap:7px;min-width:0;}
.playlist-collab-toolbar .icon{width:18px;height:18px;}
.playlist-collab-toolbar button{border:0;border-radius:999px;background:#3a3a3a;color:#fff;display:flex;align-items:center;gap:7px;padding:9px 12px;font:700 12px var(--display-font);}
.collab-edit-sheet{padding:2px 2px 28px;}
.collab-edit-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;}
.collab-edit-sheet header small{color:#1ed760;letter-spacing:.16em;}.collab-edit-sheet header h2{font-size:29px;margin:4px 0 5px;}.collab-edit-sheet header p{margin:0;color:#aaa;line-height:1.4;font-size:13px;}
.collab-edit-sheet header>button{width:48px;height:48px;border:0;border-radius:50%;background:#333;color:#fff;display:grid;place-items:center;flex:0 0 auto;}
.collab-edit-sheet section{margin-top:18px;}.collab-edit-sheet section h3{margin:0 0 9px;font-size:17px;}
.collab-edit-member,.collab-add-friend{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) 40px;gap:12px;align-items:center;padding:8px;border:0;border-radius:14px;background:transparent;color:#fff;text-align:left;}
.collab-edit-member img,.collab-add-friend img{width:48px;height:48px;border-radius:50%;object-fit:cover;}
.collab-edit-member span,.collab-add-friend span{min-width:0;}.collab-edit-member strong,.collab-edit-member small,.collab-add-friend strong,.collab-add-friend small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.collab-edit-member small,.collab-add-friend small{color:#aaa;margin-top:3px;font-size:12px;}
.collab-edit-member>button,.collab-add-friend>.icon{justify-self:end;}.collab-edit-member>button{width:36px;height:36px;border:0;border-radius:50%;background:#383838;color:#ff9a9a;display:grid;place-items:center;}.collab-edit-member>button .icon,.collab-add-friend>.icon{width:22px;height:22px;}
.collab-add-friend{cursor:pointer;}.collab-add-friend:active{background:#2a2a2a;}.collab-add-friend>.icon{color:#1ed760;}
.collab-edit-empty{padding:18px 12px;color:#888;text-align:center;font-size:13px;}.collab-edit-save{width:100%;margin-top:18px;}

/* V1.60.4 — Music Code uses the same naked draggable sheet surface as Queue. */
.music-code-player-sheet .music-code-choice,
.music-code-player-sheet .music-code-scanner,
.music-code-player-sheet .music-code-display-content {
  width:100% !important;
  max-height:none !important;
  overflow:visible !important;
  position:static !important;
  transform:none !important;
  transition:none !important;
  padding:0 0 10px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.music-code-player-sheet .music-code-sheet-head,
.music-code-player-sheet .music-code-choice .music-code-sheet-head,
.music-code-player-sheet .music-code-scanner .music-code-sheet-head {
  position:static !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  margin:0 0 18px !important;
  padding:0 !important;
  background:transparent !important;
}
.music-code-player-sheet .music-code-sheet-head > div { min-width:0; }
.music-code-player-sheet .music-code-sheet-head small { color:var(--accent); letter-spacing:.16em; font-size:10px; }
.music-code-player-sheet .music-code-sheet-head h2 { margin:4px 0 0; font-size:29px; line-height:1.08; }
.music-code-player-sheet .music-code-sheet-head > button,
.music-code-player-sheet .music-code-choice .music-code-sheet-head > button,
.music-code-player-sheet .music-code-scanner .music-code-sheet-head > button {
  flex:0 0 auto !important;
  width:48px !important;
  height:48px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:#303030 !important;
  color:#fff !important;
  display:grid !important;
  place-items:center !important;
}
.music-code-player-sheet .music-code-sheet-head > button .icon { width:23px; height:23px; }
.music-code-player-sheet .music-code-machine { padding:10px; border-radius:22px; }
.music-code-player-sheet .music-code-machine canvas { width:100%; max-width:100%; }
.music-code-player-sheet .music-code-machine canvas { aspect-ratio:auto !important; }
.artist-page-track > span:nth-of-type(3) { min-width:0; }

/* V1.60.6 — collaborative playlist UX, poster Music Code, squared now-playing overlay */
.track-art-playing .track-art-eq{
  inset:4px!important;
  margin:0!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  border-radius:7px!important;
  background:transparent!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
.track-art-playing .track-art-eq.playing-eq-bars{gap:3px;}

.playlist-collab-capsule{
  left:auto!important;
  right:6px!important;
  bottom:6px!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:3px 5px!important;
  gap:3px!important;
  border-radius:999px!important;
  background:rgba(10,10,10,.8)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.playlist-collab-label{display:none!important;}
.playlist-collab-avatars{display:flex!important;align-items:center!important;margin:0!important;gap:2px!important;}
.playlist-collab-avatars img{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  object-fit:cover!important;
  object-position:center!important;
  flex:0 0 16px!important;
  border:1px solid rgba(255,255,255,.8)!important;
}
.collab-avatar-x{font-size:8px!important;line-height:1!important;margin:0!important;color:#ddd!important;}
.playlist-collab-extra{width:15px!important;height:15px!important;min-width:15px!important;border-radius:50%!important;}
.playlist-collab-extra .icon{width:10px!important;height:10px!important;}
.collection-list.is-list .playlist-collab-capsule{right:4px!important;bottom:4px!important;padding:2px 4px!important;}
.collection-list.is-list .playlist-collab-avatars img{width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;max-width:14px!important;max-height:14px!important;flex-basis:14px!important;}
.collection-list.is-list .playlist-collab-extra{width:13px!important;height:13px!important;min-width:13px!important;}

.playlist-collab-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:4px 0 14px;padding:4px;border-radius:15px;background:#292929;}
.playlist-collab-tabs button{min-height:44px;border:0;border-radius:12px;background:transparent;color:#9a9a9a;display:flex;align-items:center;justify-content:center;gap:8px;font:700 13px var(--display-font);transition:background .18s ease,color .18s ease,transform .18s ease;}
.playlist-collab-tabs button.active{background:#3a3a3a;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);}
.playlist-collab-tabs button:active{transform:scale(.98);}
.playlist-collab-tabs .icon{width:19px;height:19px;}
.playlist-collab-section-label{display:flex;align-items:center;gap:8px;color:#aaa;margin:3px 4px 8px;font-size:12px;}
.playlist-collab-section-label .icon{width:18px;height:18px;}
.playlist-collab-section-label span{font-weight:700;letter-spacing:.03em;}
.playlist-collab-users{display:grid;gap:3px;padding-bottom:8px;}
.collab-user-row{display:grid;grid-template-columns:50px minmax(0,1fr) 44px;gap:12px;align-items:center;min-height:66px;padding:7px 3px;border-bottom:1px solid rgba(255,255,255,.075);color:#fff;}
.collab-user-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;background:#303030;}
.collab-user-avatar img{width:100%;height:100%;display:block;object-fit:cover;}
.collab-user-row>span{min-width:0;}
.collab-user-row strong,.collab-user-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.collab-user-row strong{font-size:16px;}
.collab-user-row strong em{display:inline-flex;margin-left:7px;padding:2px 7px;border-radius:999px;background:rgba(30,215,96,.14);color:#1ed760;font-style:normal;font-size:9px;vertical-align:middle;}
.collab-user-row small{margin-top:4px;color:#8f8f8f;font-size:12px;}
.collab-user-row.is-me{background:linear-gradient(90deg,rgba(30,215,96,.12),transparent 78%);}
.collab-user-row.is-me .collab-user-avatar{box-shadow:0 0 0 2px #1ed760;}
.collab-user-row.is-me strong{color:#1ed760;}
.collab-me-indicator{justify-self:center;color:#1ed760;display:grid;place-items:center;}
.collab-me-indicator .icon{width:25px;height:25px;}
.collab-user-more{justify-self:end;}
.collab-user-action-menu{min-width:150px;}
.collab-add-sheet{padding:2px 2px 22px;}
.collab-add-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;}
.collab-add-sheet header small{color:#1ed760;letter-spacing:.16em;font-size:10px;}
.collab-add-sheet header h2{font-size:28px;margin:4px 0 5px;}
.collab-add-sheet header p{margin:0;color:#999;line-height:1.42;font-size:12px;}
.collab-add-sheet header>button{width:48px;height:48px;border:0;border-radius:50%;background:#333;color:#fff;display:grid;place-items:center;flex:0 0 auto;}
.collab-add-sheet .collab-friend-row{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) 34px;gap:12px;align-items:center;padding:9px 6px;border:0;border-radius:14px;background:transparent;color:#fff;text-align:left;}
.collab-add-sheet .collab-friend-row:active{background:#2b2b2b;}
.collab-add-sheet .collab-friend-row img{width:48px;height:48px;border-radius:50%;object-fit:cover;}
.collab-add-sheet .collab-friend-row strong,.collab-add-sheet .collab-friend-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.collab-add-sheet .collab-friend-row small{margin-top:3px;color:#999;}
.collab-add-sheet .collab-friend-row i{color:#1ed760;display:grid;place-items:center;}
.collab-add-sheet .collab-friend-row i .icon{width:23px;height:23px;}

.music-code-poster{width:min(100%,390px);margin:0 auto;border-radius:22px;overflow:hidden;background:#111;box-shadow:0 18px 45px rgba(0,0,0,.28);}
.music-code-poster canvas{display:block;width:100%;height:auto;aspect-ratio:15/19;object-fit:contain;background:#0b0b0b;}
.music-code-display-content .music-code-label{margin-top:13px;font-size:15px;letter-spacing:.11em;}
.music-code-display-content .music-code-brand{max-width:360px;margin:5px auto 0;line-height:1.4;letter-spacing:.08em;text-align:center;color:#8d8d8d;}
.music-code-display-content [data-music-code-status]{text-align:center;margin:10px 0 0;color:#aaa;}
@media(max-width:520px){
  .music-code-poster{width:min(100%,350px);border-radius:18px;}
  .playlist-collab-tabs{margin-top:2px;}
  .collab-user-row{grid-template-columns:46px minmax(0,1fr) 40px;min-height:62px;gap:10px;}
  .collab-user-avatar{width:44px;height:44px;}
}

/* V1.60.6 collaborative badge: always show only two representative avatars. */
.playlist-collab-extra{display:none!important;}


/* V1.60.7 — Music Code opening height, transparent playing bars, strict collab tabs */
.music-code-player-sheet[data-sheet-snap="content"]{overflow:hidden;}
.music-code-player-sheet .player-sheet-scroll{overscroll-behavior:contain;}
.playlist-collab-users[hidden],
.playlist-detail-list[hidden]{display:none!important;}
.track-art-playing .track-art-eq{
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.player-sheet[data-sheet-snap="content"] .player-sheet-scroll{overflow-y:auto;}

/* V1.61.0 — Auth OTP + compact home cards */
.home-square-card { overflow:hidden; }
.home-square-card strong {
  display:block !important;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  line-height:1.2;
}

.auth-field.has-error input,
.auth-field.has-error .username-input-wrap,
.auth-field.has-error .password-input-wrap,
.auth-field.has-error .email-input-wrap {
  border-color:#ff667d !important;
  box-shadow:0 0 0 3px rgba(255,102,125,.12) !important;
}
.auth-field-error { min-height:0; margin-top:-2px; color:#ff7b8f !important; font-size:12px; line-height:1.35; }
.auth-field-error:empty { display:none; }
.email-input-wrap {
  width:100%; min-height:54px; border-radius:15px; border:1px solid rgba(255,255,255,.12);
  background:#292929; color:#fff; display:flex; align-items:center; overflow:hidden;
}
.email-input-wrap:focus-within { border-color:#1ed760; box-shadow:0 0 0 3px rgba(30,215,96,.12); }
.email-input-wrap input { min-width:0; flex:1; border:0 !important; background:transparent !important; box-shadow:none !important; opacity:.82 !important; }
.google-email-reset {
  width:52px; align-self:stretch; border:0; background:transparent; color:#c7c7c7; display:grid; place-items:center;
}
.google-email-reset:active { color:#1ed760; transform:scale(.94); }
.google-email-reset svg { width:23px; height:23px; }
.auth-confirm-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:20px; }
.auth-confirm-primary {
  min-height:52px; border:0; border-radius:15px; background:#1ed760; color:#07130b; font:inherit; font-weight:900;
}

.otp-panel { display:grid; justify-items:center; text-align:center; padding:3px 0 2px; }
.otp-mail-icon {
  width:66px; height:66px; border-radius:50%; display:grid; place-items:center; color:#1ed760;
  background:rgba(30,215,96,.10); border:1px solid rgba(30,215,96,.24); margin:1px 0 18px;
}
.otp-mail-icon svg { width:31px; height:31px; }
.otp-intro { margin:0 0 6px; color:#9b9b9b; }
.otp-email { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px; color:#fff; margin-bottom:24px; }
.otp-inputs {
  position:relative; width:100%; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin:0 auto 15px;
}
.otp-inputs input {
  width:100%; min-width:0; height:58px; border-radius:14px; border:1px solid rgba(255,255,255,.14);
  background:#292929; color:#fff; outline:0; text-align:center; font:inherit; font-weight:900; font-size:25px;
  caret-color:#1ed760; transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.otp-inputs input:focus { border-color:#1ed760; box-shadow:0 0 0 3px rgba(30,215,96,.12); transform:translateY(-1px); }
.otp-inputs.has-error input { border-color:#ff667d; box-shadow:0 0 0 2px rgba(255,102,125,.08); }
.otp-inputs.is-success input { border-color:#1ed760; background:rgba(30,215,96,.09); box-shadow:0 0 0 2px rgba(30,215,96,.10); color:#7af0a4; }
.otp-success-check {
  position:absolute; inset:50% auto auto 50%; width:50px; height:50px; border-radius:50%; display:grid; place-items:center;
  background:#1ed760; color:#07130b; opacity:0; transform:translate(-50%,-50%) scale(.4) rotate(-16deg); pointer-events:none;
  transition:opacity .22s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.otp-success-check.show { opacity:1; transform:translate(-50%,-50%) scale(1) rotate(0); }
.otp-success-check svg { width:30px; height:30px; }
.otp-expiry { margin:0 0 6px; color:#7f7f7f; font-size:13px; }
.otp-status-message { min-height:20px; margin:5px 0 6px; font-size:13px; }
.otp-status-message.error { color:#ff7b8f; }
.otp-status-message.success { color:#1ed760; }
.otp-resend {
  border:0; background:transparent; color:#1ed760; font:inherit; font-weight:800; min-height:38px; padding:0 10px; margin-bottom:12px;
}
.otp-resend:disabled { color:#777; opacity:1; }
.otp-confirm { width:100%; }
.otp-shake { animation:otpMicroShake .34s ease; }
@keyframes otpMicroShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-5px)} 40%{transform:translateX(4px)} 60%{transform:translateX(-3px)} 80%{transform:translateX(2px)} }
.otp-empty-state { display:grid; justify-items:center; text-align:center; gap:16px; padding:8px 0; }
.otp-empty-state > svg { width:42px; height:42px; color:#ffb84d; }
.otp-empty-state p { color:#aaa; line-height:1.5; margin:0; }
.otp-empty-state .auth-primary { width:100%; }

@media (max-width:390px) {
  .otp-inputs { gap:6px; }
  .otp-inputs input { height:52px; border-radius:12px; font-size:22px; }
  .auth-confirm-actions { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .otp-shake { animation:none; }
  .otp-success-check { transition:none; }
}


/* V1.61.1 — strict Home/Top 50 card containment.
   ranked-card needs an explicit width/min-width override because a long child
   title can otherwise contribute its min-content width and widen the carousel. */
.home-square-card,
.ranked-card {
  box-sizing:border-box;
  width:174px;
  max-width:174px;
  min-width:0 !important;
}
.ranked-card {
  flex:0 0 174px;
  overflow:hidden;
}
.ranked-card > .home-square-card {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
.home-square-card strong,
.home-square-card span {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
@media (max-width:430px) {
  .home-square-card,
  .ranked-card {
    width:148px;
    max-width:148px;
    flex-basis:148px;
  }
}
@media (min-width:900px) {
  .home-square-card,
  .ranked-card {
    width:184px;
    max-width:184px;
    flex-basis:184px;
  }
  body.desktop-route-home .home-square-card,
  body.desktop-route-home .ranked-card {
    width:168px;
    max-width:168px;
    flex-basis:168px;
  }
}
