:root {
  color-scheme: dark;
  --panel: rgba(17, 21, 31, 0.38);
  --panel-soft: rgba(255, 255, 255, 0.022);
  --line: rgba(255, 255, 255, 0.035);
  --line-soft: rgba(255, 255, 255, 0.012);
  --text: #f5f3ea;
  --muted: #9297a7;
  --soft: #c7cad7;
  --cyan: #28b6ff;
  --pink: #ff2f8b;
  --lime: #b8ff6a;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  cursor: auto;
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 182, 255, 0.09), transparent 28%),
    linear-gradient(120deg, #080910 0%, #10121b 48%, #0b1017 100%);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

#line-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.58;
}

.cursor-pointer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  pointer-events: none;
}

body.native-cursor .cursor-pointer,
body.native-cursor #cursor-particles {
  display: none;
}

.cursor-pointer {
  width: 20px;
  height: 28px;
  background: var(--text);
  clip-path: polygon(0 0, 0 23px, 6px 18px, 10px 27px, 15px 25px, 11px 16px, 19px 16px);
  filter: drop-shadow(0 0 10px rgba(40, 182, 255, 0.52));
}

#cursor-particles {
  position: fixed;
  inset: 0;
  z-index: 39;
  pointer-events: none;
}

.mobile-tabs {
  display: none;
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(520px, 1fr) minmax(280px, 360px);
  gap: 16px;
  height: 100vh;
  padding: 16px;
}

.shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(18, 22, 34, 0.36), rgba(8, 10, 17, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018), 0 28px 90px rgba(0, 0, 0, 0.18);
}

.left-panel,
.center-stage,
.right-panel {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.012);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.012),
    0 18px 44px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.left-panel,
.right-panel,
.center-stage {
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.014);
}

.brand img {
  width: 98px;
}

.brand p,
.brand span,
.section-title span,
.queue-header span {
  margin: 0;
}

.brand p,
.section-title span,
.queue-header span {
  font-weight: 800;
}

.brand span,
.queue-header strong,
.eyebrow,
.compact-song span,
.song-hero p,
.playlist-item {
  color: var(--muted);
  font-size: 12px;
}

.panel-section {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.012);
}

.section-title,
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.text-button,
.icon-button,
.playlist-create button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.text-button {
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
}

.icon-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
}

.text-button:hover,
.icon-button:hover,
.playlist-create button:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 182, 255, 0.42);
  background: rgba(40, 182, 255, 0.12);
}

.chart-tabs {
  display: grid;
  gap: 8px;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  margin-bottom: 12px;
}

.search-box input,
.search-box button {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  outline: none;
}

.search-box input {
  padding: 10px 11px;
}

.search-box button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.chart-tab,
.playlist-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
  padding: 10px 11px;
}

.chart-tab {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 9px;
  color: var(--soft);
}

.chart-tab i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-style: normal;
}

.chart-tab.active,
.playlist-item.active {
  border-color: rgba(40, 182, 255, 0.16);
  color: var(--text);
  background: linear-gradient(90deg, rgba(40, 182, 255, 0.13), rgba(255, 47, 139, 0.055));
}

.playlist-box {
  border-bottom: 0;
}

.playlist-create {
  display: none;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}

.playlist-create.show {
  display: grid;
}

.playlist-create input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  padding: 9px;
  outline: none;
}

.playlist-create button {
  border-radius: var(--radius);
  padding: 0 10px;
}

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

.center-stage {
  position: relative;
  min-width: 0;
  padding: 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-family: KaiTi, STKaiti, "KaiTi_GB2312", serif;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.15;
}

.random-orb {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 0;
  border-radius: 50%;
  color: #081018;
  background: conic-gradient(from 180deg, #b9f7ff, #ff5ba2, #b8ff6a, #b9f7ff);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04), 0 12px 36px rgba(255, 47, 139, 0.24);
  font-size: 13px;
  font-weight: 900;
  animation: orbPulse 1.9s ease-in-out infinite;
}

.random-orb::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 47, 139, 0.3);
  filter: blur(16px);
}

.now-card {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 38%) 1fr;
  align-items: center;
  gap: clamp(42px, 5vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.018);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.006));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
  padding: clamp(22px, 4vw, 40px);
}

.cover-column {
  display: grid;
  gap: 16px;
}

.compact-song {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.now-card.is-playing .compact-song {
  opacity: 1;
  transform: translateY(0);
}

.compact-song strong {
  display: block;
  overflow: hidden;
  font-size: clamp(17px, 2vw, 24px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-song span {
  display: block;
  margin-top: 5px;
}

.cover-art {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 390px);
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(40, 182, 255, 0.3), transparent 34%),
    linear-gradient(315deg, rgba(255, 47, 139, 0.34), transparent 38%),
    #111722;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32), inset 0 0 0 16px rgba(255, 255, 255, 0.025);
  overflow: hidden;
  animation: coverSpin 18s linear infinite;
}

.now-card.is-paused .cover-art {
  animation-play-state: paused;
}

.cover-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 260ms ease;
}

.cover-art.has-cover .cover-image {
  opacity: 0.96;
  transform: scale(1);
}

.stage-content {
  position: relative;
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(38px, 7vh, 82px);
}

.song-hero,
.lyric-waterfall {
  transition: opacity 260ms ease, transform 260ms ease;
}

.song-hero {
  position: absolute;
  inset: auto 0 auto 0;
  opacity: 0;
  transform: translateY(22px);
}

.now-card.is-paused .song-hero {
  opacity: 1;
  transform: translateY(0);
}

.song-hero span {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 12px;
  font-size: 12px;
}

.song-hero h2 {
  max-width: 100%;
  margin-top: 16px;
  overflow-wrap: anywhere;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.02;
}

.song-hero p {
  margin: 12px 0 0;
  font-size: 15px;
}

.lyric-waterfall {
  max-height: 380px;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
  margin-left: clamp(18px, 2.8vw, 52px);
  padding: 28px 0 42px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  scrollbar-width: none;
}

.lyric-waterfall::-webkit-scrollbar {
  display: none;
}

.now-card.is-paused .lyric-waterfall {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.lyric-line {
  position: relative;
  margin: 0 0 14px;
  color: rgba(245, 243, 234, 0.38);
  font-size: clamp(17px, 2.1vw, 30px);
  line-height: 1.28;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: color 220ms ease, transform 220ms ease, opacity 220ms ease;
  animation: lyricFloat 6s ease-in-out infinite;
}

.lyric-line.active {
  color: #78e7ff;
  transform: translateX(10px) scale(1.025);
  text-shadow: 0 0 20px rgba(40, 182, 255, 0.28);
}

.control-card {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.016);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.006));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01);
  padding: 18px;
}

.progress-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--pink);
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.skip-control,
.play-control {
  border: 0;
  border-radius: 999px;
}

.skip-control {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.09);
}

.skip-control i {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.skip-control span {
  position: absolute;
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: var(--text);
}

.skip-control.prev i {
  border-right: 14px solid var(--text);
  transform: translateX(3px);
}

.skip-control.prev span {
  left: 14px;
}

.skip-control.next i {
  border-left: 14px solid var(--text);
  transform: translateX(-3px);
}

.skip-control.next span {
  right: 14px;
}

.play-control {
  min-width: 92px;
  height: 52px;
  color: #081018;
  background: linear-gradient(90deg, #f5f3ea, #b9f7ff);
  font-weight: 900;
}

.right-panel {
  padding: 16px;
}

.queue-header {
  margin-bottom: 14px;
}

.queue-header div {
  display: grid;
  gap: 4px;
}

.queue-title-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.queue-title-row #play-mode {
  padding: 5px 10px;
}

.queue-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.queue-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

.queue-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.queue-row:hover {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.035);
  background: rgba(255, 255, 255, 0.032);
}

.queue-row.active {
  border-color: rgba(255, 47, 139, 0.24);
  background: linear-gradient(90deg, rgba(255, 47, 139, 0.12), rgba(40, 182, 255, 0.035));
}

.queue-index,
.queue-info span {
  color: var(--muted);
  font-size: 12px;
}

.queue-info strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-actions {
  display: flex;
  gap: 5px;
}

.mini-action {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
}

.mini-action.is-favorite {
  border-color: rgba(255, 47, 139, 0.58);
  color: #fff4fa;
  background: rgba(255, 47, 139, 0.5);
}

.mini-action.is-playlisted {
  border-color: rgba(255, 185, 74, 0.68);
  color: #2b1600;
  background: rgba(255, 185, 74, 0.86);
}

.playlist-picker,
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(5, 6, 10, 0.42);
}

.playlist-picker.show,
.search-modal.show {
  display: grid;
}

.playlist-picker-card,
.search-modal-card {
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(15, 19, 29, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  padding: 16px;
}

.search-modal-card {
  width: min(720px, 92vw);
  max-height: min(680px, 86vh);
  display: flex;
  flex-direction: column;
}

.picker-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 800;
}

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

.search-result-list {
  display: grid;
  gap: 8px;
  min-height: 120px;
  overflow: auto;
  padding-right: 3px;
}

.search-result-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.search-result-row img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.search-result-row strong,
.search-result-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-row span {
  color: var(--muted);
  font-size: 12px;
}

.search-result-actions {
  display: flex;
  gap: 6px;
}

.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  padding: 11px 12px;
  text-align: left;
}

.picker-option.is-added {
  border-color: rgba(255, 185, 74, 0.48);
  background: rgba(255, 185, 74, 0.13);
}

.picker-option small {
  color: var(--muted);
}

.login-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 6, 10, 0.84);
}

.login-layer.hide {
  display: none;
}

.login-card {
  width: min(420px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #111622;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.52);
  padding: 28px;
}

.login-card img {
  width: 160px;
}

.login-card h2 {
  margin: 18px 0 0;
  font-size: 28px;
}

.login-card p {
  color: var(--muted);
  line-height: 1.7;
}

.login-card input,
.login-card button {
  width: 100%;
  border-radius: var(--radius);
  padding: 13px 14px;
}

.login-card input {
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.login-card button {
  border: 0;
  color: #081018;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  font-weight: 900;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes coverSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.08); filter: saturate(1.35); }
}

@keyframes lyricFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

body.immersive .left-panel,
body.immersive .right-panel,
body.immersive .topbar,
body.immersive .control-card {
  display: none;
}

body.immersive .shell {
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  height: 100vh;
  padding: clamp(28px, 5vw, 72px);
}

body.immersive .center-stage {
  width: min(1180px, 100%);
  min-height: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}

body.immersive .now-card {
  width: 100%;
  min-height: min(680px, calc(100vh - 10vw));
  grid-template-columns: minmax(300px, 42%) minmax(380px, 1fr);
  align-items: center;
  background: rgba(8, 10, 16, 0.62);
  padding: clamp(34px, 5vw, 70px);
  transform: scale(1.06);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.5);
}

body.immersive .compact-song {
  opacity: 1;
}

body.immersive .stage-content {
  min-height: 500px;
  justify-content: center;
  padding-top: 0;
}

body.immersive .lyric-waterfall {
  max-height: 500px;
  margin-left: clamp(34px, 5vw, 82px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1280px) {
  .shell {
    grid-template-columns: minmax(250px, 320px) minmax(520px, 1fr);
  }

  .right-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
    cursor: auto;
  }

  button {
    cursor: pointer;
  }

  .cursor-pointer,
  #cursor-particles {
    display: none;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 100vh;
    padding-top: 70px;
  }

  .mobile-tabs {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: rgba(12, 15, 23, 0.9);
    padding: 8px;
    backdrop-filter: blur(12px);
  }

  .mobile-tabs button {
    border: 0;
    border-radius: var(--radius);
    color: var(--soft);
    background: rgba(255, 255, 255, 0.055);
    padding: 10px 8px;
    font-weight: 800;
  }

  .mobile-tabs button.active {
    color: #081018;
    background: linear-gradient(90deg, #f5f3ea, #b9f7ff);
  }

  .left-panel,
  .right-panel,
  .center-stage {
    display: none;
  }

  body[data-mobile-panel="nav"] .left-panel,
  body[data-mobile-panel="player"] .center-stage,
  body[data-mobile-panel="queue"] .right-panel {
    display: flex;
  }

  body[data-mobile-panel="queue"] .right-panel {
    min-height: calc(100vh - 86px);
  }

  body[data-mobile-panel="nav"] .left-panel,
  body[data-mobile-panel="queue"] .right-panel {
    max-height: none;
    overflow: visible;
  }

  body[data-mobile-panel="player"] .center-stage {
    width: 100%;
  }

  .center-stage {
    min-height: calc(100vh - 32px);
  }
}

@media (max-width: 660px) {
  .shell {
    padding: 80px 10px 10px;
  }

  .center-stage {
    padding: 14px;
    min-height: calc(100vh - 90px);
  }

  .topbar {
    align-items: flex-start;
  }

  .random-orb {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 12px;
  }

  .now-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding: 16px;
  }

  .cover-art {
    width: min(78vw, 310px);
  }

  .stage-content {
    min-height: 260px;
    padding-top: 12px;
  }

  .lyric-waterfall {
    max-height: 260px;
    margin-left: 0;
    font-size: 15px;
  }

  .lyric-line {
    font-size: clamp(16px, 5.6vw, 23px);
  }

  .queue-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .queue-actions {
    grid-column: 2;
    justify-content: flex-end;
  }

  .control-card {
    padding: 14px;
  }

  .controls {
    flex-wrap: wrap;
  }

  .search-modal-card {
    max-height: calc(100vh - 96px);
  }

  .search-result-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-result-row img {
    display: none;
  }

  .search-result-actions {
    justify-content: flex-end;
  }
}
