    @font-face {
      font-family: SpotifyMix;
      src: url('https://encore.scdn.co/fonts/SpotifyMixUI-Regular-76c92fb1a35c462f73429fa8865163eb.woff2')
    }

    @font-face {
      font-family: SpotifyMix;
      src: url('https://encore.scdn.co/fonts/SpotifyMixUI-Bold-09c45a3a0ce9d2971e62cb26e97760fb.woff2');
      font-weight: 700
    }

    :root {
      color-scheme: dark;
      --black: #000;
      --panel: #121212;
      --panel-hover: #1f1f1f;
      --text: #f6f6f6;
      --muted: #b3b3b3;
      --green: #1ed760;
      --gap: 8px;
      --sidebar: 314px
    }

    * {
      box-sizing: border-box
    }

    html,
    body {
      height: 100%;
      margin: 0
    }

    body {
      overflow: hidden;
      background: var(--black);
      color: var(--text);
      font: 14px/1.45 SpotifyMix, Arial, sans-serif
    }

    button,
    input {
      font: inherit
    }

    button {
      color: inherit;
      border: 0;
      cursor: pointer
    }

    a {
      color: inherit
    }

    .app {
      height: 100dvh;
      min-height: 520px;
      padding: 8px;
      display: grid;
      grid-template-columns: var(--sidebar) minmax(0, 1fr);
      grid-template-rows: 56px minmax(0, 1fr) 82px;
      gap: var(--gap)
    }

    .topbar {
      grid-column: 1/3;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0 2px
    }

    .spotify-mark {
      width: 36px;
      height: 36px;
      flex: 0 0 36px;
      color: #fff
    }

    .home {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #242424;
      color: #fff;
      display: grid;
      place-items: center;
      flex: 0 0 48px
    }

    .home:hover {
      background: #2d2d2d;
      transform: scale(1.03)
    }

    .home svg {
      width: 22px;
      height: 22px
    }

    .search {
      height: 48px;
      max-width: 474px;
      flex: 1;
      display: flex;
      align-items: center;
      gap: 12px;
      border-radius: 28px;
      background: #242424;
      padding: 0 15px;
      color: var(--muted);
      border: 1px solid transparent
    }

    .search:focus-within {
      outline: 2px solid #fff
    }

    .search svg {
      width: 22px;
      height: 22px;
      flex: none
    }

    .search input {
      color: #fff;
      background: none;
      border: 0;
      outline: 0;
      width: 100%;
      font-size: 15px
    }

    .search input::placeholder {
      color: #c7c7c7
    }

    .search-sep {
      height: 24px;
      width: 1px;
      background: #777
    }

    .search .browse {
      border: 0;
      background: none;
      color: #bdbdbd;
      display: grid;
      place-items: center;
      padding: 0
    }

    .header-links {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 11px;
      white-space: nowrap
    }

    .header-links a,
    .header-links button {
      font-size: 14px;
      font-weight: 700;
      color: #c5c5c5;
      text-decoration: none;
      background: none;
      padding: 8px 0
    }

    .header-links a:hover,
    .header-links button:hover {
      color: #fff;
      transform: scale(1.03)
    }

    .header-divider {
      width: 1px;
      height: 27px;
      background: #777;
      margin: 0 10px
    }

    .install {
      display: flex;
      align-items: center;
      gap: 7px
    }

    .install svg {
      width: 16px;
      height: 16px
    }

    .login {
      background: #fff !important;
      color: #111 !important;
      padding: 13px 22px !important;
      border-radius: 28px;
      min-width: 127px;
      text-align: center
    }

    .login:hover {
      background: #f0f0f0 !important;
      transform: scale(1.03)
    }

    .sidebar,
    .main {
      min-height: 0;
      background: var(--panel);
      border-radius: 8px;
      overflow: hidden
    }

    .sidebar {
      display: flex;
      flex-direction: column;
      padding: 0 8px 8px
    }

    .sidebar-nav {
      padding: 10px 8px 2px
    }

    .sidebar-nav-item {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
      min-height: 46px;
      padding: 0 8px;
      border-radius: 6px;
      background: transparent;
      color: var(--muted);
      text-align: left;
      font-size: 15px;
      font-weight: 700;
      transition: color .18s ease, background .18s ease
    }

    .sidebar-nav-item:hover,
    .sidebar-nav-item.is-active {
      color: #fff;
      background: #ffffff0d
    }

    .sidebar-nav-item svg {
      flex: 0 0 23px;
      width: 23px;
      height: 23px
    }

    .library-head {
      height: 74px;
      display: flex;
      align-items: center;
      padding: 0 12px;
      gap: 12px;
      color: var(--muted)
    }

    .library-title {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      margin-right: auto
    }

    .library-title svg {
      width: 22px;
      height: 22px;
      vertical-align: -6px;
      margin-right: 10px;
      color: #b3b3b3
    }

    .icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: transparent;
      color: #b3b3b3;
      display: grid;
      place-items: center
    }

    .icon-btn:hover {
      background: #252525;
      color: #fff
    }

    .icon-btn svg {
      width: 18px;
      height: 18px
    }

    .library-scroll {
      overflow: auto;
      scrollbar-width: thin;
      scrollbar-color: #555 transparent;
      flex: 1
    }

    .playlist-links { display: grid; gap: 3px; padding: 8px 8px 2px; }
    .playlist-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #fff; text-align: left; cursor: pointer; }
    .playlist-link:hover { background: #ffffff12; }
    .playlist-link-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; background: linear-gradient(135deg,#535353,#222); font-size: 22px; }
    .playlist-link strong, .playlist-link small { display: block; }
    .playlist-link strong { font-size: 14px; font-weight: 500; }
    .playlist-link small { margin-top: 5px; color: #b3b3b3; font-size: 12px; }
    .add-to-playlist { margin-top: 8px; padding: 6px 10px; border: 1px solid #777; border-radius: 18px; background: transparent; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
    .add-to-playlist:hover { border-color: #fff; transform: scale(1.03); }
    .playlist-remove { border: 0; background: transparent; color: #b3b3b3; cursor: pointer; }
    .playlist-remove:hover { color: #fff; text-decoration: underline; }
    .playlist-empty { margin: 0 28px 28px; color: #b3b3b3; font-size: 14px; }
    .mobile-library-panel { display: none; }
    .playlist-dialog { width: min(420px, calc(100vw - 32px)); padding: 0; border: 1px solid #ffffff24; border-radius: 12px; background: #282828; color: #fff; box-shadow: 0 18px 60px #000a; }
    .playlist-dialog::backdrop { background: #000a; }
    .playlist-dialog form { padding: 24px; }
    .playlist-dialog h2 { margin: 0 0 22px; font-size: 20px; }
    .playlist-dialog label { display: block; margin-bottom: 8px; color: #b3b3b3; font-size: 13px; }
    .playlist-dialog select, .playlist-dialog input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #777; border-radius: 6px; background: #181818; color: #fff; font-size: 16px; }
    .playlist-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
    .playlist-dialog-actions button { min-height: 44px; padding: 0 17px; border-radius: 22px; background: #3a3a3a; color: #fff; font-weight: 700; }
    .playlist-dialog-actions .playlist-dialog-confirm { background: var(--green); color: #111; }

    .prompt {
      background: #1f1f1f;
      border-radius: 8px;
      padding: 16px 16px 16px;
      margin: 16px 0 0
    }

    .prompt h2 {
      font-size: 14px;
      line-height: 1.3;
      margin: 0 0 8px;
      font-weight: 700
    }

    .prompt p {
      font-size: 13px;
      margin: 0 0 20px;
      color: #f2f2f2
    }

    .white-pill {
      border-radius: 24px;
      background: #fff;
      color: #111;
      font-size: 13px;
      font-weight: 700;
      padding: 8px 17px;
      min-height: 33px
    }

    .white-pill:hover {
      transform: scale(1.04);
      background: #f3f3f3
    }

    .library-links {
      display: flex;
      flex-wrap: wrap;
      column-gap: 13px;
      row-gap: 8px;
      padding: 20px 14px 14px;
      margin-top: auto
    }

    .library-links a,
    .library-links button {
      font-size: 10px;
      color: #b3b3b3;
      text-decoration: none;
      background: transparent;
      padding: 0
    }

    .library-links a:hover,
    .library-links button:hover {
      text-decoration: underline;
      color: #fff
    }

    .language {
      margin: 4px 12px 10px;
      border: 1px solid #818181;
      border-radius: 22px;
      background: transparent;
      color: #fff;
      font-weight: 700;
      font-size: 12px;
      padding: 6px 11px;
      align-self: flex-start;
      display: flex;
      align-items: center;
      gap: 6px
    }

    .language:hover {
      border-color: #fff;
      transform: scale(1.03)
    }

    .language svg {
      height: 15px;
      width: 15px
    }

    .main {
      position: relative;
      overflow: auto;
      scrollbar-color: #555 transparent;
      scrollbar-width: thin;
      background: linear-gradient(180deg, #1e1e1e 0, #121212 260px)
    }

    .main-inner {
      padding: 22px 32px 38px;
      min-width: 0
    }

    .main-heading {
      font-size: 24px;
      line-height: 1.3;
      margin: 0 0 23px;
      letter-spacing: -.4px
    }

    .shelf {
      margin-bottom: 28px;
      min-width: 0
    }

    .shelf-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 0 4px 14px 0
    }

    .shelf-head h2 {
      font-size: 22px;
      line-height: 1.3;
      letter-spacing: -.3px;
      margin: 0
    }

    .shelf-head a {
      font-size: 12px;
      font-weight: 700;
      color: #b3b3b3;
      text-decoration: none;
      white-space: nowrap
    }

    .shelf-head a:hover {
      text-decoration: underline;
      color: #fff
    }

    .recent-shelf-empty {
      color: #b3b3b3;
      font-size: 14px;
      margin: 0 0 8px
    }

    .card-row {
      display: flex;
      overflow: auto;
      gap: 8px;
      scrollbar-width: none;
      padding: 0 0 8px;
      scroll-snap-type: x proximity
    }

    .card-row::-webkit-scrollbar {
      display: none
    }

    .card-row.artist-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
      overflow: visible;
      scroll-snap-type: none;
    }

    .artist-grid .music-card {
      flex: initial;
    }

    .music-card {
      flex: 0 0 clamp(142px, 15vw, 168px);
      min-width: 0;
      padding: 8px;
      border-radius: 7px;
      cursor: pointer;
      scroll-snap-align:
        start;
      transition: background .2s;
      position: relative
    }

    .music-card:hover,
    .music-card:focus-within {
      background: #1f1f1f
    }

    .cover-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 1;
      margin-bottom: 9px
    }

    .cover {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      border-radius: 5px;
      background: #282828;
      box-shadow: 0 8px 18px #0003
    }

    .cover.circle {
      border-radius: 50%
    }

    .track-title {
      margin: 0 0 4px;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.35;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden
    }

    .track-copy {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden
    }

    .track-copy a {
      text-decoration: none
    }

    .track-copy a:hover {
      text-decoration: underline
    }

    .explicit {
      font-size: 10px;
      display: inline-grid;
      place-items: center;
      background:
        #b3b3b3;
      color: #121212;
      border-radius: 2px;
      width: 14px;
      height: 14px;
      margin-right: 3px;
      font-weight: 700;
      vertical-align: 1px
    }

    .play-card {
      position: absolute;
      right: 15px;
      bottom: 12px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--green);
      color: #000;
      display: grid;
      place-items: center;
      box-shadow: 0 5px 14px #0006;
      opacity: 0;
      transform: translateY(8px);
      transition: .18s
    }

    .music-card:hover .play-card,
    .music-card:focus-within .play-card {
      opacity: 1;
      transform: translateY(0)
    }

    .play-card:hover {
      transform: scale(1.05) !important;
      background: #3be477
    }

    .play-card svg {
      width: 21px;
      height: 21px;
      margin-left: 2px
    }

    .music-card.artist .track-title {
      text-align: center;
      margin-top: 2px
    }

    .music-card.artist .track-copy {
      text-align: center
    }

    .no-results {
      padding: 32px 8px;
      color: var(--muted);
      display: none
    }

    .demo-player {
      grid-column: 1/3;
      background: #000;
      border-radius: 8px;
      display: flex;
      align-items: center;
      padding: 10px 18px;
      gap: 14px;
      min-width: 0
    }

    .now-art {
      width: 54px;
      height: 54px;
      object-fit: cover;
      border-radius: 4px;
      background: #282828;
      flex: 0 0 54px
    }

    .demo-copy {
      min-width: 0;
      flex: 1
    }

    .demo-copy strong {
      display: block;
      font-size: 13px;
      margin-bottom: 2px
    }

    .demo-copy span {
      font-size: 13px;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .demo-actions {
      display: flex;
      align-items: center;
      gap: 12px
    }

    .demo-actions .white-pill {
      padding: 11px 20px;
      min-width: 134px;
      font-size: 14px
    }

    .demo-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #f4e8f3
    }

    .player-progress {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 0 1 320px;
      min-width: 120px;
      color: var(--muted);
      font-size: 10px
    }

    .player-progress input {
      width: 100%;
      accent-color: #fff;
      height: 4px
    }

    .demo-controls button {
      background: transparent;
      color: #b3b3b3;
      cursor: pointer;
      font-size: 18px
    }

    .demo-controls button:hover { color: #fff; }

    #togglePlayback {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #fff;
      color: #111;
      font-size: 14px;
    }

    #playbackStatus { color: var(--muted); font-size: 12px; }

    .volume-control {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #b3b3b3;
      width: 120px;
      flex: 0 0 120px
    }

    .volume-control span { font-size: 17px; }
    .volume-control input { width: 100%; accent-color: #fff; height: 4px; cursor: pointer; }

    .player-tools { display: flex; align-items: center; gap: 8px; }
    .tool-button { width: 30px; height: 34px; padding: 5px; background: transparent; color: #b3b3b3; display: grid; place-items: center; }
    .tool-button:hover { color: #fff; }
    .tool-button svg { width: 21px; height: 21px; }
    .feature-dialog { width: min(440px, calc(100vw - 32px)); border: 1px solid #444; border-radius: 12px; padding: 28px; background: #242424; color: #fff; box-shadow: 0 18px 60px #0009; }
    .feature-dialog::backdrop { background: #000b; }
    .dialog-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: #333; color: #fff; font-size: 22px; }
    .feature-dialog h2 { margin: 0 0 8px; font-size: 22px; }
    .feature-dialog p { color: #c8c8c8; line-height: 1.55; }
    .feature-dialog .device-action { margin-top: 12px; border-radius: 22px; padding: 10px 16px; background: #fff; color: #111; font-weight: 700; }
    .feature-dialog .device-status { min-height: 22px; font-size: 13px; }
    .full-screen-player[hidden] { display: none !important; }
    .full-screen-player, .full-screen-player.is-open { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 32px; color: #fff; background: radial-gradient(ellipse at 50% 20%, #46514d 0, #232927 38%, #121212 78%); }
    .full-close { position: absolute; right: 24px; top: 20px; width: 42px; height: 42px; border-radius: 50%; background: #ffffff1c; font-size: 28px; }
    .full-player-content { display: grid; grid-template-columns: minmax(220px, 380px) minmax(220px, 360px); align-items: center; gap: 32px; width: min(800px, 92vw); text-align: left; }
    .full-player-content > img { width: min(38vh, 380px); max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 50px #0008; }
    .full-player-details { min-width: 0; }
    .full-track { width: 100%; margin: 0 0 18px; }
    .full-track h1 { margin: 0 0 5px; font-size: clamp(23px, 4vw, 34px); }
    .full-track p { margin: 0; color: #c8c8c8; }
    .full-progress { width: 100%; display: flex; align-items: center; gap: 10px; color: #d0d0d0; font-size: 11px; }
    .full-progress input { flex: 1; accent-color: #fff; }
    .full-play { margin-top: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #111; font-size: 20px; }
    .full-lyrics { margin-top: 23px; max-height: 32vh; overflow: auto; padding-right: 10px; }
    .full-lyrics h2 { margin: 0 0 10px; font-size: 17px; }
    .lyrics-lines { margin: 0; color: #aaa; line-height: 1.7; }
    .lyric-line { margin: 0 0 10px; font-size: 18px; font-weight: 700; white-space: pre-wrap; transition: color .2s, opacity .2s, transform .2s; }
    .lyric-line.active { color: #fff; transform: scale(1.02); transform-origin: left center; }
    .lyrics-hint { margin: 12px 0 0; color: #999; font-size: 11px; line-height: 1.45; }
    .album-library-view[hidden] { display: none !important; }
    .album-library-view { overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #343b37 0, #222 320px, #121212 620px); color: #fff; }
    .album-library-back { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 12px; padding: 10px 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: #ddd; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
    .album-library-back:hover { background: rgba(255,255,255,.16); color: #fff; }
    .album-library-hero { display: grid; grid-template-columns: minmax(160px, 245px) 1fr; align-items: end; gap: 24px; padding: 12px 28px 25px; }
    .album-library-hero img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 8px 30px #0008; }
    .album-library-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
    .album-library-hero h2 { margin: 0 0 12px; font-size: clamp(34px, 6vw, 76px); line-height: 1; letter-spacing: -0.045em; }
    .album-library-meta { margin: 0; color: #dedede; font-size: 14px; }
    .album-library-controls { display: flex; align-items: center; gap: 18px; padding: 10px 28px 18px; }
    .album-library-play { width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #111; font-size: 21px; cursor: pointer; }
    .album-library-play svg, .album-library-track-play svg { width: 1em; height: 1em; vertical-align: middle; }
    .album-library-shuffle { border: 1px solid #aaa; border-radius: 18px; padding: 8px 14px; background: transparent; color: #eee; cursor: pointer; }
    .album-library-table { width: calc(100% - 56px); margin: 0 28px 30px; border-collapse: collapse; text-align: left; }
    .album-library-table th { padding: 10px 12px; border-bottom: 1px solid #ffffff2b; color: #b3b3b3; font-size: 12px; font-weight: 400; }
    .album-library-table td { padding: 9px 12px; border-bottom: 1px solid #ffffff0d; }
    .album-library-table tr:hover { background: #ffffff12; }
    .album-library-number { width: 42px; color: #b3b3b3; text-align: center; }
    .album-library-song { font-weight: 600; }
    .album-library-artist { color: #b3b3b3; font-size: 13px; }
    .album-library-track-play { border: 0; padding: 4px 8px; background: transparent; color: #fff; cursor: pointer; }
    .recent-history-view[hidden] { display: none !important; }
    .recent-history-header { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0 0 48px; }
    .recent-history-header h2 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -.035em; }
    .recent-history-filter { padding: 8px 14px; border-radius: 999px; background: #292929; color: #fff; font-size: 13px; font-weight: 700; }
    .recent-history-filter:hover { background: #393939; }
    .recent-history-rows { max-width: 820px; }
    .recent-history-day { margin: 0 0 28px; }
    .recent-history-day h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
    .recent-history-entry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px 40px; align-items: center; border-radius: 5px; }
    .recent-history-entry:hover, .recent-history-entry:focus-within { background: #ffffff0d; }
    .recent-history-play { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; padding: 7px 10px 7px 0; background: transparent; color: #fff; text-align: left; cursor: pointer; }
    .recent-history-play img { display: block; width: 64px; height: 64px; border-radius: 4px; object-fit: cover; background: #282828; }
    .recent-history-track { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
    .recent-history-track strong, .recent-history-track span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .recent-history-track strong { font-size: 14px; font-weight: 600; }
    .recent-history-track span { color: #b3b3b3; font-size: 13px; }
    .recent-history-expand { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; color: #b3b3b3; cursor: pointer; }
    .recent-history-expand:hover { color: #fff; background: #ffffff12; }
    .recent-history-expand svg { width: 20px; height: 20px; transition: transform .18s ease; }
    .recent-history-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
    .recent-history-menu-wrap { position: relative; display: grid; place-items: center; }
    .recent-history-menu-button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: transparent; color: #b3b3b3; cursor: pointer; opacity: 0; transition: opacity .15s ease, background .15s ease, color .15s ease; }
    .recent-history-entry:hover .recent-history-menu-button, .recent-history-menu-button:focus-visible, .recent-history-menu-button[aria-expanded="true"] { opacity: 1; }
    .recent-history-menu-button:hover, .recent-history-menu-button[aria-expanded="true"] { background: #ffffff12; color: #fff; }
    .recent-history-menu-button svg { width: 20px; height: 20px; }
    .recent-history-menu { position: absolute; z-index: 3; top: calc(100% - 4px); right: 4px; min-width: 190px; padding: 5px; border: 1px solid #ffffff1a; border-radius: 8px; background: #282828; box-shadow: 0 8px 24px #0008; }
    .recent-history-menu[hidden] { display: none; }
    .recent-history-menu button { width: 100%; padding: 11px 12px; border-radius: 5px; background: transparent; color: #fff; text-align: left; font-size: 13px; cursor: pointer; }
    .recent-history-menu button:hover, .recent-history-menu button:focus-visible { background: #ffffff14; }
    .recent-history-detail { grid-column: 1 / -1; margin: 0; padding: 0 12px 12px 76px; color: #b3b3b3; font-size: 13px; }
    .recent-history-empty { padding: 20px 12px; color: #b3b3b3; }
    @media(max-width:800px) { .sidebar-nav { padding: 9px 0 2px; } .sidebar-nav-item { justify-content: center; padding: 0; } .sidebar-nav-item span { display: none; } .recent-history-header { margin-bottom: 34px; } .recent-history-entry { grid-template-columns: minmax(0, 1fr) 36px 36px; } .recent-history-menu-button { width: 34px; height: 34px; opacity: 1; } .recent-history-play { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; } .recent-history-play img { width: 56px; height: 56px; } .recent-history-detail { padding-left: 66px; } }
    @media(max-width:650px) { .album-library-hero { grid-template-columns: 1fr; justify-items: center; padding: 12px 20px 20px; text-align: center; } .album-library-hero img { width: min(60vw, 245px); } .album-library-controls { justify-content: center; } .album-library-table { width: calc(100% - 24px); margin: 0 12px 20px; } .album-library-table th, .album-library-table td { padding: 8px 5px; } }
    @media(max-width:650px) { .full-screen-player { overflow: auto; padding: 64px 22px 24px; } .full-player-content { grid-template-columns: 1fr; justify-items: center; gap: 20px; width: min(440px, 92vw); text-align: center; } .full-player-content > img { width: min(30vh, 280px); } .full-track { margin-bottom: 14px; } .full-lyrics { max-height: 27vh; width: 100%; } }

    .cookie-banner {
      position: fixed;
      z-index: 10;
      left: 0;
      right: 0;
      bottom: 0;
      min-height: 306px;
      background: #f0f0f0;
      color: #191919;
      border:
        1px solid #555;
      box-shadow: 0 -2px 12px #0004;
      padding: 28px 24px 24px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      grid-template-rows: 1fr auto;
      column-gap: 52px;
      row-gap: 18px
    }

    .cookie-copy h2 {
      font-size: 17px;
      margin: 0 0 8px
    }

    .cookie-copy p {
      font-size: 14px;
      line-height: 1.45;
      margin: 0;
      max-width: 560px
    }

    .cookie-details strong {
      font-size: 14px;
      line-height: 1.5;
      display: block;
      margin: 0 0 8px
    }

    .cookie-details p {
      font-size: 14px;
      line-height: 1.45;
      margin: 0 0 7px
    }

    .vendor-link {
      letter-spacing: 2px;
      text-transform: uppercase;
      font-size: 13px !important;
      text-underline-offset: 3px
    }

    .cookie-actions {
      grid-column: 1/3;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;
      align-items: center
    }

    .cookie-actions button {
      height: 49px;
      border-radius: 30px;
      background: #171717;
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .5px
    }

    .cookie-actions button:hover {
      background: #333; 
    }

    .cookie-actions .settings {
      background: transparent;
      color: #171717
    }

    .cookie-actions .settings:hover {
      background: #ddd
    }

    .cookie-hidden {
      display: none
    }

    @media(max-width:1120px) {
      :root {
        --sidebar: 280px
      }

      .header-links {
        gap: 8px
      }

      .header-links a,
      .header-links button {
        font-size: 12px
      }

      .header-divider {
        margin: 0 4px
      }

      .main-inner {
        padding-left: 24px;
        padding-right: 24px
      }

      .music-card {
        flex-basis: clamp(136px, 18vw, 160px)
      }
    }

    @media(max-width:800px) {
      .app {
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-rows: 56px minmax(0, 1fr) 76px;
        padding: 6px;
        gap: 6px
      }

      .sidebar {
        padding: 0 4px 6px
      }

      .mobile-library-panel { display: block; margin: 0 0 24px; padding: 14px; border-radius: 9px; background: #1f1f1f; }
      .mobile-library-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
      .mobile-library-head strong { font-size: 16px; }
      .mobile-library-head button { min-height: 42px; padding: 0 15px; border-radius: 24px; background: #fff; color: #111; font-size: 13px; font-weight: 700; white-space: nowrap; }
      .mobile-playlist-links { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; }
      .mobile-playlist-links:empty { display: none; }
      .mobile-playlist-links .playlist-link { flex: 0 0 min(230px, 75vw); min-height: 64px; background: #292929; }
      .mobile-playlist-links .playlist-link-art { flex: 0 0 44px; width: 44px; height: 44px; }
      .mobile-library-panel > p { margin: 9px 0 0; color: #b3b3b3; font-size: 12px; }
      .add-to-playlist { display: block; width: 100%; min-height: 44px; margin-top: 10px; padding: 8px 5px; font-size: 12px; white-space: normal; }

      .library-head {
        height: 62px;
        justify-content: center;
        padding: 0
      }

      .library-title {
        font-size: 0;
        margin: 0
      }

      .library-title svg {
        margin: 0;
        width: 25px;
        height: 25px
      }

      .library-head .icon-btn,
      .library-head .head-label,
      .prompt,
      .library-links,
      .language {
        display: none
      }

      .main-inner {
        padding: 20px 16px
      }

      .header-links a:not(.install),
      .header-divider {
        display: none
      }

      .search {
        max-width: none
      }

      .spotify-mark {
        width: 30px;
        flex-basis: 30px
      }

      .home {
        width: 42px;
        height: 42px;
        flex-basis: 42px
      }

      .demo-player {
        grid-column: 1/3
      }

      .demo-controls {
        display: none
      }

      .player-progress, .demo-actions { display: none; }

      .cookie-banner {
        min-height: auto;
        padding: 20px;
        grid-template-columns: 1fr;
        row-gap: 12px
      }

      .cookie-copy p,
      .cookie-details p {
        font-size: 12px
      }

      .cookie-details {
        display: none
      }

      .cookie-actions {
        grid-column: 1;
        grid-template-columns: 1fr;
        gap: 8px
      }

      .cookie-actions button {
        height: 42px
      }

      .cookie-actions .settings {
        display: none
      }
    }

    @media(max-width:520px) {
      .app {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 54px minmax(0, 1fr) 70px
      }

      .sidebar {
        display: none
      }

      .topbar {
        grid-column: 1;
        gap: 7px
      }

      .spotify-mark {
        display: none
      }

      .home {
        width: 40px;
        height: 40px;
        flex-basis: 40px
      }

      .header-links {
        gap: 6px
      }

      .header-links button:not(.login),
      .install {
        display: none
      }

      .login {
        min-width: 94px;
        padding: 11px 13px !important;
        font-size: 12px !important
      }

      .search {
        height: 42px;
        padding: 0 10px;
        gap: 8px
      }

      .search input {
        font-size: 13px
      }

      .search-sep,
      .browse {
        display: none !important
      }

      .main {
        border-radius: 7px
      }

      .main-heading {
        font-size: 21px
      }

      .main-inner {
        padding: 18px 12px
      }

      .shelf-head h2 {
        font-size: 19px
      }

      .music-card {
        flex-basis: 138px
      }


      .demo-player {
        grid-column: 1;
        padding: 8px 12px;
        gap: 10px
      }

      .now-art { width: 46px; height: 46px; flex-basis: 46px; }

      .volume-control { display: flex; width: 92px; flex-basis: 92px; }
      .player-tools { gap: 2px; }
      .tool-button { width: 28px; padding: 3px; }

      .demo-copy span {
        font-size: 11px
      }

      .demo-actions .white-pill {
        min-width: 106px;
        padding: 9px 12px;
        font-size: 12px
      }

      .cookie-banner {
        padding: 16px;
        bottom: 0
      }

      .cookie-copy h2 {
        font-size: 16px
      }

      .cookie-copy p {
        font-size: 12px
      }

      .cookie-actions button {
        font-size: 12px
      }
    }
  
