:root {
  --rose: #e62668;
  --rose-dark: #bd174f;
  --rose-soft: #ffe4ee;
  --bg: #fff8fa;
  --card: #ffffff;
  --text: #241820;
  --muted: #7c6b74;
  --line: #f0dbe3;
  --shadow: 0 10px 28px rgba(150, 32, 78, 0.10);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

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

body {
  background: radial-gradient(circle at 8% 0%, #ffe9f1 0, transparent 34%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(230, 38, 104, 0.28);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.tiny {
  color: var(--muted);
  font-size: 12px;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(14px, 4vw, 44px);
  background: rgba(255, 248, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-left,
.topbar-actions,
.nav,
.player-controls,
.full-controls,
.full-actions,
.lyric-toolbar,
.volume-row,
.progress-row {
  display: flex;
  align-items: center;
}

.topbar-left,
.topbar-actions {
  gap: 10px;
  min-width: 0;
}

.brand {
  border: 0;
  background: transparent;
  color: var(--rose);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 0 6px;
  cursor: pointer;
}

.nav {
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-btn,
.ghost,
.icon-btn,
.chip,
.text-btn,
.secondary,
.primary {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 16px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nav-btn,
.ghost,
.chip,
.secondary,
.text-btn {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--text);
}

.nav-btn.active,
.chip.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 18px rgba(230, 38, 104, 0.24);
  font-weight: 700;
}

.primary:hover,
.secondary:hover,
.chip:hover,
.nav-btn:hover {
  transform: translateY(-1px);
}

.ghost:hover,
.secondary:hover {
  background: var(--rose-soft);
}

.icon-btn {
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
  font-size: 18px;
}

.icon-btn.large {
  width: 56px;
  min-height: 56px;
  font-size: 22px;
}

.text-btn {
  padding: 0 12px;
  font-size: 13px;
}

.wide {
  width: 100%;
}

.user-name {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}

.main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 22px clamp(12px, 3vw, 28px) 132px;
  display: grid;
  gap: 22px;
}

.banner-host:empty {
  display: none;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff0f4;
  color: #8d153f;
  border: 1px solid #ffc8da;
  font-size: 14px;
}

.banner-retry {
  border: 1px solid var(--rose);
  background: #fff;
  color: var(--rose);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  border-radius: 28px;
  padding: clamp(22px, 5vw, 44px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ff5b92 0%, #e62668 48%, #b91555 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  margin: 8px 0 10px;
}

.hero .muted {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 20px;
  min-width: 156px;
  background: #fff;
  color: var(--rose-dark);
  box-shadow: 0 10px 24px rgba(94, 10, 43, 0.22);
}

.hero-disc {
  position: absolute;
  right: -34px;
  top: 50%;
  width: 260px;
  height: 260px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.38) 0 18%, rgba(255,255,255,0.10) 19% 36%, rgba(255,255,255,0.02) 37%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 78px;
  font-weight: 900;
  color: rgba(255,255,255,0.32);
}

.section {
  display: grid;
  gap: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head h2 {
  font-size: 21px;
}

.subhead {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
}

.continue-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.continue-info,
.track-info,
.album-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.continue-info strong,
.track-title,
.album-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #ffd7e5, #fff4f8);
  color: var(--rose);
  border-radius: 14px;
}

.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cover.has-image img {
  opacity: 1;
}

.cover.has-image .cover-fallback {
  opacity: 0;
}

.cover.no-image .cover-fallback {
  opacity: 1;
}

.cover.small {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.cover.medium {
  width: 68px;
  height: 68px;
  font-size: 24px;
}

.cover.album {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  font-size: 36px;
}

.cover.large {
  width: min(320px, 72vw);
  height: min(320px, 72vw);
  border-radius: 30px;
  font-size: 72px;
  box-shadow: 0 22px 48px rgba(88, 12, 45, 0.24);
}

.cover.placeholder {
  width: 48px;
  height: 48px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.album-card,
.playlist-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.playlist-card {
  grid-template-columns: 86px 1fr;
  align-items: center;
}

.playlist-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--rose), #ff8ab4);
  color: #fff;
  font-size: 34px;
}

.playlist-card .cover.album {
  width: 86px;
  height: 86px;
}

.inline-form,
.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.inline-form input,
.search-form input,
.field input {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  min-width: 0;
}

.search-form input {
  flex: 1;
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-head h1 {
  font-size: 26px;
}

.track-list {
  display: grid;
  gap: 8px;
}

.track-row,
.queue-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}

.track-row.playing,
.queue-item.current {
  border-color: var(--rose);
  background: #fff4f8;
}

.cover-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  min-height: 48px;
}

.track-title,
.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  min-height: 28px;
}

.track-title {
  font-weight: 700;
  font-size: 15px;
}

.track-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.link-btn {
  color: var(--muted);
  font-size: 12px;
}

.link-btn:hover {
  color: var(--rose);
}

.source-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 7px;
  background: #fff;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.group-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.load-more {
  margin-top: 4px;
}

.loading,
.empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.notice {
  color: var(--rose-dark);
  font-size: 13px;
}

.job-list {
  display: grid;
  gap: 8px;
}

.job-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.player-bar {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(112, 20, 61, 0.18);
  backdrop-filter: blur(12px);
}

.player-cover-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  min-height: 48px;
}

.player-info {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.player-info strong,
.player-info span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.player-controls {
  gap: 6px;
}

.play-btn {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(230, 38, 104, 0.28);
}

.play-btn.large {
  width: 64px;
  height: 64px;
  min-height: 64px;
  font-size: 22px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(41, 10, 25, 0.42);
  backdrop-filter: blur(6px);
}

.full-overlay {
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 12px;
}

.full-player {
  width: min(760px, 100%);
  max-height: 100%;
  overflow-y: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff6f9 0%, #fff 42%);
  box-shadow: 0 30px 80px rgba(56, 9, 29, 0.32);
  padding: 14px clamp(16px, 4vw, 34px) 26px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.full-head {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.full-cover-wrap {
  display: grid;
  place-items: center;
}

.full-meta {
  text-align: center;
  display: grid;
  gap: 4px;
}

.full-meta h1 {
  font-size: 24px;
}

.progress-row {
  width: 100%;
  gap: 10px;
}

input[type='range'] {
  accent-color: var(--rose);
  min-height: 44px;
  width: 100%;
}

.full-controls {
  gap: 14px;
}

.volume-row {
  width: min(320px, 100%);
  gap: 12px;
}

.full-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lyric-box {
  width: 100%;
  display: grid;
  gap: 8px;
}

.lyric-toolbar {
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.lyrics-surface {
  height: 230px;
  overflow-y: auto;
  padding: 36px 12px;
  display: grid;
  gap: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fff8fa 100%);
  border: 1px solid var(--line);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
  scroll-behavior: smooth;
}

.lyric-line {
  display: grid;
  gap: 2px;
  text-align: center;
  color: var(--muted);
  opacity: 0.32;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.lyric-line.near {
  opacity: 0.62;
}

.lyric-line.current {
  opacity: 1;
  color: var(--rose-dark);
  font-weight: 800;
  transform: scale(1.04);
}

.lyric-translation {
  font-size: 12px;
  color: var(--muted);
}

.lyric-empty {
  margin: auto;
  color: var(--muted);
  font-size: 14px;
}

.credits {
  text-align: center;
  font-size: 11px;
  color: #a28f99;
}

.side-overlay {
  z-index: 70;
  display: flex;
  justify-content: flex-end;
}

.side-panel {
  width: min(460px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 18px;
  background: #fffafd;
  display: grid;
  align-content: start;
  gap: 12px;
  box-shadow: -18px 0 50px rgba(63, 11, 34, 0.18);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.queue-list {
  display: grid;
  gap: 8px;
}

.modal-overlay {
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal {
  width: min(420px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(56, 9, 29, 0.28);
  display: grid;
  gap: 12px;
}

.chooser-list {
  display: grid;
  gap: 8px;
}

.chooser-item {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff8fa;
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
}

.login-screen,
.center-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.login-card,
.splash-card {
  width: min(420px, 100%);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(117, 18, 59, 0.18);
  padding: 30px;
  display: grid;
  gap: 16px;
  text-align: center;
}

.brandmark,
.brand-big {
  color: var(--rose);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.08em;
}

.field {
  display: grid;
  gap: 6px;
  text-align: left;
}

.form-error {
  min-height: 20px;
  color: var(--rose-dark);
  font-size: 13px;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
  }

  .topbar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav {
    max-width: 62vw;
  }

  .topbar-actions {
    gap: 4px;
  }

  .user-name {
    display: none;
  }

  .ghost {
    padding: 0 10px;
  }

  .main {
    padding: 14px 12px 120px;
    gap: 18px;
  }

  .hero {
    min-height: 230px;
    border-radius: 24px;
  }

  .hero-disc {
    width: 190px;
    height: 190px;
    right: -70px;
    font-size: 58px;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .continue-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .continue-card .secondary {
    grid-column: 1 / -1;
  }

  .playlist-card {
    grid-template-columns: 72px 1fr;
  }

  .playlist-icon,
  .playlist-card .cover.album {
    width: 72px;
    height: 72px;
  }

  .track-row,
  .queue-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 8px;
    gap: 8px;
  }

  .row-actions .text-btn {
    padding: 0 8px;
  }

  .player-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 8px 10px;
    gap: 8px;
  }

  .player-controls .icon-btn {
    width: 44px;
  }

  .play-btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .full-overlay {
    padding: 0;
  }

  .full-player {
    border-radius: 0;
    padding: 10px 14px 22px;
  }

  .lyrics-surface {
    height: 210px;
  }
}

@media (min-width: 1100px) {
  .album-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .main {
    gap: 28px;
  }
}
.hero-artwork{position:absolute;right:40px;top:32px;width:300px;height:220px;pointer-events:none}.hero-artwork .cover{position:absolute;width:150px;height:150px;border-radius:16px;box-shadow:0 18px 36px #5c123c55}.hero-artwork .cover:nth-child(1){transform:rotate(-16deg);left:0;top:26px}.hero-artwork .cover:nth-child(2){transform:rotate(10deg);left:110px;top:8px}.hero-artwork .cover:nth-child(3){transform:rotate(-6deg);left:64px;top:74px}.hero-copy{max-width:calc(100% - 300px)}@media(max-width:760px){.hero-copy{max-width:100%}.hero-artwork{opacity:.16;right:-80px;top:70px}.hero h1{max-width:85%}}

/* The expanded player owns its controls and gives lyrics a full-height column. */
.full-overlay{background:#121722ee;padding:20px;backdrop-filter:blur(24px)}
.full-player{position:relative;isolation:isolate;width:min(1240px,100%);height:100%;max-height:100%;overflow:hidden;background:linear-gradient(145deg,#29323e,#131821);color:#fff;grid-template-columns:minmax(300px,.92fr) minmax(330px,1.15fr);grid-template-rows:40px minmax(210px,1fr) auto 44px 68px 40px auto auto;gap:12px 36px;padding:20px 38px 24px;box-shadow:0 30px 90px #0006}
.full-player>*{position:relative;z-index:1}.full-player>.full-backdrop{position:absolute;inset:-60px;z-index:0;background-size:cover;background-position:center;filter:blur(65px);opacity:.24;pointer-events:none}
.full-head{grid-column:1/-1;grid-row:1;justify-content:flex-start}.full-player button{color:#ffffffbb;border-color:#ffffff24;background:#ffffff09}.full-player button:hover{background:#ffffff20;color:white}.full-player .play-btn{background:#ffffff20;color:white;box-shadow:none}.full-player .muted,.full-player .tiny{color:#ffffff70}
.full-cover-wrap{grid-column:1;grid-row:2;align-self:center}.full-cover-wrap .cover{width:min(260px,26vw);height:auto;aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 20px #090a0deb,0 0 0 22px #ffffff0b,0 24px 60px #0006;animation:record-turn 36s linear infinite;animation-play-state:paused}.full-player.is-playing .full-cover-wrap .cover{animation-play-state:running}.full-meta{grid-column:1;grid-row:3;max-width:100%;gap:7px}.full-meta h1{font-size:28px}.metadata-link{padding:0;border:0!important;background:none!important;min-height:24px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metadata-link:hover{color:#fff!important;text-decoration:underline}
.full-player>.progress-row{grid-column:1;grid-row:4}.full-controls{grid-column:1;grid-row:5}.volume-row{grid-column:1;grid-row:6;display:flex;align-items:center;gap:8px}.volume-row .tiny{white-space:nowrap}.full-actions{grid-column:1;grid-row:7;gap:6px}.full-player>.notice{grid-column:1;grid-row:8;min-height:0}
.full-player .lyric-box{grid-column:2;grid-row:2/9;display:flex;flex-direction:column;min-height:0;align-self:stretch}.lyric-toolbar{flex-shrink:0}.lyrics-surface{flex:1;height:auto;min-height:200px;background:transparent;border:0;border-radius:0;padding:80px 14px;gap:30px;display:flex;flex-direction:column;scroll-behavior:smooth;mask-image:linear-gradient(transparent,#000 13%,#000 85%,transparent)}.lyric-line{text-align:left;font-size:23px;line-height:1.6;opacity:.32;color:white;transform-origin:left center}.lyric-line.current{color:white;opacity:1;transform:scale(1.035);font-weight:700}.lyric-line.near{opacity:.6}.lyric-line.credit-line{font-size:14px}.lyric-line.credit-line.current{transform:none;font-weight:500}.full-player .credits{color:#ffffff50}.full-player input[type=range]{accent-color:#ffffffdd}.side-overlay{z-index:80}.modal{max-height:90vh;overflow:auto}
@keyframes record-turn{to{transform:rotate(360deg)}}
@media(max-width:760px){.full-overlay{padding:8px}.full-player{display:flex;flex-direction:column;gap:10px;border-radius:22px;padding:12px 18px 18px;overflow-y:auto}.full-head{order:0;min-height:32px}.full-cover-wrap{order:1;margin:16px 0}.full-cover-wrap .cover{width:min(160px,22vh);box-shadow:0 0 0 14px #090a0deb,0 0 0 15px #ffffff0b}.full-meta{order:2;gap:3px;width:100%}.full-meta h1{font-size:22px}.full-player .lyric-box{order:3;min-height:140px;flex:1;width:100%}.lyrics-surface{padding:40px 8px;min-height:140px;gap:22px}.lyric-line{font-size:20px}.full-player>.progress-row{order:4;min-height:44px}.full-controls{order:5;min-height:64px}.volume-row{display:none}.full-actions{order:6;flex-wrap:wrap;gap:4px}.full-actions button{font-size:12px;padding:8px;min-height:44px}.full-player>.notice{order:7}.lyric-toolbar button{padding:5px;min-height:32px}.lyric-toolbar{font-size:11px}.full-player .credits{display:none}}
@media(max-width:760px) and (max-height:760px){.full-cover-wrap{position:absolute;top:65px;left:30px;align-self:flex-start;margin:0}.full-cover-wrap .cover{width:76px}.full-meta{padding-left:106px;min-height:95px;margin-top:8px;text-align:left;justify-items:start}.full-meta h1{font-size:19px}.metadata-link{text-align:left}.full-meta [data-player-role=full-source]{font-size:10px}.lyric-box{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.full-cover-wrap .cover{animation:none}}

.track-menu{position:relative}.track-menu summary{list-style:none;cursor:pointer;min-width:44px;min-height:44px;display:grid;place-items:center;color:var(--muted)}.track-menu-panel{position:absolute;right:0;top:42px;z-index:35;min-width:180px;padding:7px;border:1px solid var(--line);border-radius:14px;background:white;box-shadow:0 12px 30px #39202a25}.menu-action{display:block;width:100%;text-align:left;white-space:nowrap;background:none;border:0;padding:10px;color:var(--text);min-height:40px}.menu-action:hover{background:#fff0f6}.download-slot{display:inline-grid;place-items:center;min-width:44px;min-height:44px}.account-form{display:flex;gap:10px;flex-wrap:wrap}.account-form input{min-width:180px;flex:1;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--text)}.account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;overflow-wrap:anywhere;padding:12px 0;border-bottom:1px solid var(--line)}.account-toggle{display:flex;align-items:center;gap:12px}.account-toggle input{width:20px;height:20px;accent-color:var(--rose)}

@media(min-width:761px){.full-player{grid-template-rows:40px minmax(0,1fr)}.full-left{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:0;width:100%;overflow:auto}.full-left>.full-meta,.full-left>.progress-row{width:100%}.full-left .full-cover-wrap{margin:16px 0 22px}.full-left .full-cover-wrap .cover{width:min(300px,28vw,35vh)}.full-player .lyric-box{grid-column:2;grid-row:2}.full-left>.notice{margin:0}.full-left .full-meta{gap:6px}}@media(max-width:760px){.full-left{display:contents}}@media(min-width:761px) and (max-height:800px){.full-left{gap:9px}.full-left .full-cover-wrap{margin:12px 0 16px}.full-left .full-cover-wrap .cover{width:180px}.full-meta h1{font-size:23px}.full-left .full-meta{gap:3px}.full-left .full-actions button{padding:8px}}

/* Compact navigation keeps labels and account entry reachable. */
@media(max-width:720px){
 .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}
 .topbar-left{display:contents}.brand{grid-column:1;grid-row:1;justify-self:start}
 .nav{grid-column:1/3;grid-row:2;max-width:100%;width:100%;gap:6px}
 .nav button{flex:1 0 auto;white-space:nowrap;min-height:40px;padding:8px 14px}
 .topbar-actions{grid-column:2;grid-row:1;gap:3px}
 .topbar-actions .user-name{display:block;max-width:90px;font-size:12px;padding:0 6px}
 .topbar-actions button{white-space:nowrap}.topbar-actions [data-testid=logout]{font-size:12px;padding:0 6px}
}

@media(max-width:760px){.full-left>.progress-row{order:4;min-height:44px;flex-shrink:0}.full-controls{justify-content:center}.continue-info>*,.player-info>*{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

.album-info>*{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.lyric-line.plain-line{font-size:16px;line-height:1.75;opacity:.8;transform:none}
