:root {
  --primary: #69b3e7;
  --primary-light: #9bd2f4;
  --primary-soft: #eaf6ff;
  --primary-tint: #f6fbff;
  --primary-deep: #2478b6;
  --page: #f5f9fc;
  --surface: #ffffff;
  --ink: #241912;
  --muted: #617082;
  --subtle: #8aa0b4;
  --line: #d9e8f3;
  --line-strong: #aad2ee;
  --shadow: 0 20px 50px rgba(53, 108, 148, .13);
  --glow: rgba(105, 179, 231, .30);
  --gradient-1: linear-gradient(135deg, #69b3e7 0%, #9bd2f4 100%);
  --danger: #d64545;
  --success: #1f9d5a;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-y;
}
body {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  touch-action: pan-y;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(105, 179, 231, .22) 0%, transparent 42%),
    radial-gradient(ellipse at 86% 18%, rgba(155, 210, 244, .18) 0%, transparent 38%),
    linear-gradient(180deg, #fffefd 0%, var(--page) 100%);
}
button,
input,
select,
textarea {
  font-family: inherit;
  letter-spacing: 0;
}
input,
select,
textarea {
  font-size: 16px;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(49, 104, 145, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 104, 145, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.d-none { display: none !important; }
.page {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 20px 15px 24px;
  overflow: hidden;
}
.topbar {
  position: absolute;
  z-index: 30;
  top: 20px;
  left: 0;
  right: 0;
  pointer-events: none;
}
.brand {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(105, 179, 231, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--primary-deep);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(53, 108, 148, .08);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}
.brand-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gradient-1);
  color: #fff;
}
.top-actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.history-button,
.back-button,
.ghost-button,
.primary-button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(105, 179, 231, .34);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .78);
  color: var(--primary-deep);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(53, 108, 148, .08);
  backdrop-filter: blur(12px);
  transition: all .22s ease;
}
.history-button:hover,
.back-button:hover,
.ghost-button:hover,
.primary-button:hover {
  color: #fff;
  background: var(--gradient-1);
  border-color: transparent;
  transform: translateY(-1px);
}
.back-button { position: absolute; top: 0; left: 0; }
.history-button {
  position: static;
  display: inline-block;
  min-height: 0;
  line-height: inherit;
}
.history-clear-icon {
  width: 38px;
  min-width: 38px;
  padding: 8px 0;
}
.history-clear-icon span {
  display: none;
}
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }
.status-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(105, 179, 231, .34);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .78);
  color: var(--primary-deep);
  font-size: .84rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(53, 108, 148, .08);
}
.status-pill {
  display: inline-flex;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-pill.d-none { display: none !important; }
.status-pill.online { border-color: rgba(31, 157, 90, .25); color: var(--success); }
.status-pill.offline { border-color: rgba(214, 69, 69, .25); color: var(--danger); }

.hero {
  height: calc(100vh - 44px);
  height: calc(100dvh - 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 26vh 0 0;
}
.hero-logo {
  border: 0;
  padding: 0;
  background: transparent;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  align-self: center;
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
}
.hero-logo:hover .hero-logo-disc { filter: brightness(1.04); transform: translateY(-1px); }
.hero-logo-disc {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 30px var(--glow);
  transition: transform .22s ease, filter .22s ease;
}
.hero-logo-disc::after {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 26px;
  background: var(--gradient-1);
  opacity: .24;
  filter: blur(14px);
}
.hero-logo-disc::before { display: none; }
.hero-logo-disc i { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; transform: translateY(1px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: .35px 0 0 currentColor, 0 .35px 0 currentColor;
}
.is-safari h1 {
  font-weight: 800;
  text-shadow: none;
}
.is-windows body {
  font-family: 'Microsoft YaHei', 'Noto Sans CJK SC', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
}
.is-windows h1 {
  font-weight: 800;
  text-shadow: none;
}
.is-windows #sourceInput {
  font-weight: 400;
}
.is-windows #sourceInput::placeholder {
  font-weight: 400;
}
.subtitle { margin: 0; color: var(--muted); font-size: .96rem; font-weight: 600; }

.search-card {
  position: relative;
  width: min(860px, 100%);
  margin: 30px auto 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}
.search-control-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 5px 5px 5px 18px;
  border: 1px solid rgba(105, 179, 231, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 50px rgba(53, 108, 148, .14);
  backdrop-filter: blur(16px);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.search-row:focus-within {
  border-color: rgba(105, 179, 231, .70);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 62px rgba(53, 108, 148, .18), 0 0 0 4px rgba(105, 179, 231, .12);
}
#sourceInput,
#qualitySelect {
  min-height: 48px;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
#sourceInput::placeholder { color: var(--subtle); font-weight: 500; }
#sourceInput {
  border-radius: 999px;
  padding: 0 2px;
  font-size: 1rem;
  font-weight: 500;
  transition: all .22s ease;
}
#sourceInput:focus {
  box-shadow: none;
  background: transparent;
}
.search-hints {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  width: 100%;
  margin-top: 0;
  padding: 6px;
  border: 1px solid rgba(105, 179, 231, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(53, 108, 148, .14);
}
.search-hint-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.search-hint-item i {
  width: 16px;
  color: var(--primary-deep);
  text-align: center;
}
.search-hint-item:hover,
.search-hint-item.active {
  background: rgba(105, 179, 231, .16);
}
.storefront-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 58px;
}
.storefront-button {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 58px;
  padding: 0 12px;
  border: 1px solid rgba(105, 179, 231, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 50px rgba(53, 108, 148, .10);
  backdrop-filter: blur(16px);
  color: var(--primary-deep);
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.storefront-button:hover,
.storefront-button[aria-expanded="true"] {
  border-color: rgba(105, 179, 231, .44);
  background: rgba(255, 255, 255, .94);
}
.storefront-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.08rem;
  line-height: 1;
}
.storefront-button-name {
  min-width: 0;
  max-width: 74px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.storefront-button i {
  font-size: .72rem;
  color: var(--subtle);
}
.storefront-dropdown {
  position: fixed;
  z-index: 60;
  top: var(--storefront-dropdown-top, 96px);
  left: var(--storefront-dropdown-left, 16px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 24px));
  padding: 10px;
  border: 1px solid rgba(105, 179, 231, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 56px rgba(53, 108, 148, .18);
}
.storefront-search-wrap {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(105, 179, 231, .20);
  border-radius: 12px;
  background: rgba(246, 251, 255, .86);
  color: var(--subtle);
}
.storefront-search-wrap input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 650;
}
.storefront-list {
  min-height: 0;
  margin-top: 8px;
  overflow: auto;
  padding-right: 2px;
}
.storefront-group-title {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 8px 5px;
  background: rgba(255, 255, 255, .96);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
}
.storefront-divider {
  height: 1px;
  margin: 8px 4px;
  background: rgba(105, 179, 231, .18);
}
.storefront-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.storefront-option:hover,
.storefront-option.active {
  background: rgba(105, 179, 231, .14);
}
.storefront-empty {
  padding: 32px 10px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
  text-align: center;
}
#qualitySelect {
  min-height: 0;
  width: auto;
}
#smartSubmit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--gradient-1);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(105, 179, 231, .34);
  transition: all .22s ease;
}
#smartSubmit:hover { transform: translateY(-1px); filter: brightness(1.04); color: #fff; box-shadow: 0 14px 30px rgba(105, 179, 231, .42); }
.notice-line {
  width: 100%;
  min-height: 0;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(105, 179, 231, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(53, 108, 148, .12);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notice-line:empty {
  display: none;
}
.notice-line.is-error {
  border-color: rgba(25, 118, 210, .18);
  color: var(--primary-deep);
}
.page-loading {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 16px auto 0;
}
.loading-progress-meter {
  display: block;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 160px;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(105, 179, 231, .18);
}
.page-loading:not(.with-meter) .loading-progress-meter {
  display: none;
}
.loading-progress-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width .18s ease;
}
.page-loading.is-indeterminate .loading-progress-meter span {
  position: relative;
}
.page-loading.is-indeterminate .loading-progress-meter span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .58), transparent);
  animation: loading-sheen 1.2s ease-in-out infinite;
}
.loading-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(105, 179, 231, .30);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: var(--primary-deep);
  box-shadow: 0 14px 34px rgba(53, 108, 148, .12);
  font-size: .84rem;
  font-weight: 800;
}
.loading-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(105, 179, 231, .24);
  border-top-color: var(--primary);
  animation: loading-spin .8s linear infinite;
}
@keyframes loading-spin { to { transform: rotate(360deg); } }
@keyframes loading-sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.wrapper-hint,
.login-card {
  width: min(680px, 100%);
  margin: 24px auto 0;
  border: 1px solid rgba(105, 179, 231, .25);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.wrapper-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  text-align: left;
  color: var(--primary-deep);
  font-weight: 800;
  line-height: 1.55;
}
.wrapper-hint > i {
  flex: 0 0 auto;
  margin-top: 3px;
}
.wrapper-hint span {
  display: block;
  min-width: 0;
  white-space: pre-line;
}
.wrapper-hint code,
.login-card code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-deep);
}
.login-card { padding: 18px; }
.login-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  text-align: left;
}
.login-steps div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(105, 179, 231, .16);
  border-radius: 12px;
  background: rgba(255, 250, 242, .72);
  color: var(--muted);
  font-weight: 700;
}
.login-steps strong {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gradient-1);
  color: #fff;
}
.primary-button {
  width: 100%;
  border-color: transparent;
  background: var(--gradient-1);
  color: #fff;
}

.result-wrap {
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.page > #dashboardPanel.result-wrap {
  margin-top: 18px;
}
.result-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.result-title h5 {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}
.result-title h5 i {
  flex: 0 0 auto;
  width: 18px;
  color: var(--primary-deep);
  text-align: center;
}
.result-title h5 span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-title small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.result-title-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.result-title-actions small {
  min-width: 0;
  text-align: right;
}
.compact-title { margin-top: 18px; }
.search-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--primary-tint);
}
.search-tab {
  flex: 1;
  border: 0;
  border-radius: 9px;
  padding: 10px 8px;
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
  transition: all .22s ease;
}
.search-tab:hover { color: var(--ink); background: rgba(105, 179, 231, .14); }
.search-tab.active {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 8px 18px rgba(105, 179, 231, .22);
}
.search-panel:not(.active) { display: none !important; }
.search-panel.active {
  display: flex !important;
  flex-direction: column;
}
.list-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
  border-radius: 12px;
  box-shadow: none;
}
.search-tab .tab-count {
  margin-left: 6px;
  color: inherit;
  opacity: .72;
  font-size: .76rem;
}
.netease-cover {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-soft);
}
.search-table-head,
.search-table-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}
.search-table-head > div,
.search-table-row > div {
  min-width: 0;
}
.search-table-head {
  min-height: 34px;
  color: var(--subtle);
  font-size: .78rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.search-table-row {
  min-height: 58px;
  border-radius: 8px;
  color: var(--ink);
  transition: background .18s ease;
}
.search-table-row:nth-of-type(odd) { background: rgba(255, 255, 255, .54); }
.search-table-row:hover { background: rgba(105, 179, 231, .10); }
.search-table-row.song-row,
.search-table-head.song-row { grid-template-columns: 42px minmax(0, 1.9fr) minmax(0, .82fr) minmax(0, .95fr) 64px; }
.search-table-row.mv-row,
.search-table-head.mv-row { grid-template-columns: 42px minmax(0, 1.9fr) minmax(0, .82fr) minmax(0, .95fr) 94px; }
.search-table-row.album-row,
.search-table-head.album-row,
.search-table-row.playlist-row,
.search-table-head.playlist-row { grid-template-columns: 42px minmax(0, 1.9fr) minmax(0, .82fr) minmax(0, 1fr) 94px; }
.search-table-row.album-row,
.search-table-head.album-row { grid-template-columns: 42px minmax(0, 1.9fr) minmax(0, .82fr) minmax(0, .7fr) 94px; }
.search-table-row.artist-row,
.search-table-head.artist-row { grid-template-columns: 42px minmax(0, 2fr) minmax(0, 1fr); }
.cell-index,
.cell-duration {
  color: var(--subtle);
  font-size: .82rem;
  font-weight: 700;
  text-align: right;
}
.search-table-row.song-row .cell-duration,
.search-table-head.song-row .cell-duration {
  justify-self: start;
  min-width: 48px;
  text-align: left;
}
.search-table-row.song-row .cell-artist,
.search-table-row.song-row .cell-album {
  justify-self: start;
  min-width: 0;
}
.search-table-row.album-row .cell-artist,
.search-table-row.album-row .cell-album,
.search-table-row.album-row .cell-duration {
  justify-self: start;
  min-width: 0;
  text-align: left;
}
.search-table-row.mv-row .cell-artist,
.search-table-row.mv-row .cell-album,
.search-table-row.mv-row .cell-duration {
  justify-self: start;
  min-width: 0;
  text-align: left;
}
.cell-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.track-title-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.track-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}
.track-title-line .song-name-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trait-badges {
  display: inline-flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.collection-heading-row .trait-badges {
  flex-wrap: nowrap;
  gap: 4px;
  align-self: center;
}
.playlist-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.playlist-badge,
.mv-detail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid rgba(105, 179, 231, .26);
  border-radius: 999px;
  background: rgba(105, 179, 231, .12);
  color: var(--primary-deep);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}
.mv-detail-badge-green {
  border-color: rgba(31, 157, 90, .22) !important;
  background: rgba(225, 249, 235, .96) !important;
  color: #1f9d5a !important;
}
.mv-detail-hero .trait-badges {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
}
.mv-detail-hero .mv-detail-badge {
  min-height: 24px;
  height: 24px;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: .74rem;
  line-height: 1;
  letter-spacing: 0;
}
.mv-detail-hero .mv-detail-badge-atmos {
  min-width: 24px;
  padding: 0 5px;
  border-color: #f2aa16;
  background: rgba(255, 252, 236, .96);
  color: #b77900;
}
.mv-detail-hero .mv-detail-badge-atmos .dolby-mark,
.mv-detail-hero .mv-detail-badge-atmos .dolby-mark path {
  fill: #f2aa16;
}
.mv-detail-badge-res {
  border-color: rgba(31, 157, 90, .24);
  background: rgba(225, 249, 235, .96);
  color: #1f9d5a;
}
.mv-detail-badge-hdr {
  border-color: rgba(44, 118, 182, .24);
  background: rgba(235, 245, 255, .94);
  color: #2f6fb4;
}
.mv-detail-badge-dv {
  border-color: rgba(242, 170, 22, .28);
  background: rgba(255, 252, 236, .96);
  color: #b77900;
}
.mv-trait-mini {
  min-height: 17px;
  height: 17px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .6rem;
  line-height: 1;
}
.mv-trait-mini.dv {
  border-color: rgba(242, 170, 22, .26);
  background: rgba(255, 252, 236, .96);
  color: #b77900;
}
.mv-trait-mini.hdr {
  border-color: rgba(44, 118, 182, .24);
  background: rgba(235, 245, 255, .94);
  color: #2f6fb4;
}
.mv-trait-mini.res {
  border-color: rgba(31, 157, 90, .24);
  background: rgba(225, 249, 235, .96);
  color: #1f9d5a;
}
.track-title-line .trait-badges {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 3px;
  white-space: nowrap;
}
.mv-meta-row .detail-meta-icon,
.detail-status .detail-meta-icon {
  width: 16px;
  color: var(--primary-deep);
  text-align: center;
}
.mv-meta-row .text-link {
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}
.mv-meta-row button.text-link {
  display: inline-flex;
}
.mv-meta-row span {
  white-space: nowrap;
}
.track-audio-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 17px;
  line-height: 1;
  vertical-align: middle;
}
.content-rating-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: rgba(122, 132, 143, .88);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}
.content-rating-badge.large {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  font-size: .78rem;
}
.track-audio-badge.hr {
  width: 24px;
  padding: 0;
  border: 1.2px solid #f2aa16;
  border-radius: 4px;
  color: #b77900;
  background: rgba(255, 252, 236, .96);
  font-size: .62rem;
  font-weight: 800;
}
.track-audio-badge.atmos,
.track-audio-badge.dolby-audio {
  width: 24px;
  border: 1.2px solid #f2aa16;
  border-radius: 4px;
  background: rgba(255, 252, 236, .96);
}
.dolby-mark {
  display: block;
  width: 17px;
  height: 11px;
  fill: #f2aa16;
}
.track-audio-badge.atmos .dolby-mark,
.track-audio-badge.atmos .dolby-mark path {
  fill: #f2aa16;
}
.dolby-audio-mark {
  display: block;
  width: 17px;
  height: 13px;
  fill: none;
  stroke: #f2aa16;
  stroke-width: 2.15;
  stroke-linecap: round;
}
.track-audio-badge.dolby-audio .dolby-audio-mark circle {
  fill: #f2aa16;
  stroke: none;
}
.track-audio-badge.dolby-audio .dolby-audio-mark path {
  fill: none;
  stroke: #f2aa16;
}
.trait-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  min-height: 19px;
  border: 1px solid rgba(18, 28, 38, .16);
  border-radius: 5px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.trait-badge span,
.trait-badge small {
  display: block;
  line-height: .95;
}
.trait-badge small {
  font-size: .5rem;
  letter-spacing: .04em;
}
.trait-badge.large {
  min-height: 34px;
  border-radius: 7px;
  padding: 5px 9px;
  font-size: .78rem;
}
.trait-badge.large small {
  font-size: .56rem;
}
.audio-badge-svg {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 30px;
  color: var(--muted);
  opacity: .92;
}
.audio-badge-svg.hi-res {
  width: 96px;
}
.audio-badge-svg.atmos {
  width: 60px;
}
.audio-badge-svg > svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.audio-badge-svg > svg path {
  fill: currentColor;
}
.trait-badge.hi-res {
  border-color: rgba(52, 116, 88, .28);
  background: rgba(229, 248, 238, .92);
  color: #27684a;
}
.trait-badge.atmos {
  border-color: rgba(84, 111, 220, .28);
  background: rgba(237, 241, 255, .94);
  color: #344fa6;
}
.trait-badge.video {
  border-color: rgba(217, 83, 79, .24);
  background: rgba(255, 238, 237, .94);
  color: #a63c37;
}
.cell-artist,
.cell-album {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cell-album .text-link,
.cell-artist .text-link {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
}
.cell-artist .sep {
  display: inline-block;
}
.cell-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.song-name-link,
.text-link {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.song-name-link {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 800;
  display: block;
  min-width: 0;
  max-width: 100%;
  line-height: 1.25;
}
.text-link { color: var(--primary-deep); }
.is-windows .search-tab,
.is-windows #smartSubmit,
.is-windows .result-title h5,
.is-windows .page-button,
.is-windows .history-page-button,
.is-windows .btn {
  font-weight: 700;
}
.is-windows .song-name-link,
.is-windows .album-missing-track-text,
.is-windows .search-table-head,
.is-windows .cell-index,
.is-windows .cell-duration {
  font-weight: 700;
}
.is-windows .cell-artist,
.is-windows .cell-album,
.is-windows .cell-duration,
.is-windows .search-summary {
  color: #557088;
}
.song-name-link:hover,
.text-link:hover { color: var(--primary); text-decoration: underline; }
.sep,
.muted-cell { color: var(--subtle); }
.search-summary {
  margin: 0 0 10px;
  padding: 0 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-align: left;
}
.search-pagination,
.history-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 0 0;
}
.page-button,
.history-page-button {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .88);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
}
.page-button:hover:not(:disabled),
.history-page-button:hover:not(:disabled) {
  color: var(--primary-deep);
  border-color: var(--line-strong);
  background: #fff;
}
.page-button.active,
.history-page-button.active {
  color: #fff;
  border-color: transparent;
  background: var(--gradient-1);
  box-shadow: 0 8px 18px rgba(105, 179, 231, .22);
}
.page-button:disabled,
.history-page-button:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.page-total {
  padding: 0 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.btn {
  border-radius: 8px !important;
  font-weight: 800;
  transition: all .2s ease;
}
.btn-sm { padding: 5px 12px !important; font-size: .78rem !important; }
.btn-success,
.btn-primary,
.btn-warning,
.btn-info {
  background: var(--gradient-1) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.btn-outline-primary,
.btn-outline-info {
  color: var(--primary-deep) !important;
  border-color: var(--line-strong) !important;
  background: #fff !important;
}
.btn-outline-primary:hover,
.btn-outline-info:hover { color: #fff !important; background: var(--primary) !important; border-color: var(--primary) !important; }
.btn:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}
.song-detail {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow);
}
.song-detail-empty {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 42px 22px;
  text-align: center;
}
.song-detail-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(100, 116, 139, .12);
  color: var(--muted);
  font-size: 1.35rem;
}
.song-detail-empty-title {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}
.song-detail-empty-sub,
.song-detail-empty-id {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
}
.song-detail-empty-inline {
  min-height: auto;
  margin: 0 22px 18px;
  padding: 16px;
  border: 1px dashed rgba(100, 116, 139, .28);
  border-radius: 10px;
  background: rgba(248, 250, 252, .72);
}
.song-detail-empty-inline .song-detail-empty-icon {
  width: 34px;
  height: 34px;
  font-size: .95rem;
}
.song-detail-empty-inline .song-detail-empty-title {
  font-size: .96rem;
}
.song-detail-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(105, 179, 231, .12), rgba(255, 255, 255, .68));
}
.mv-detail-hero {
  padding-top: 22px;
  padding-bottom: 22px;
}
.song-cover-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}
.song-detail-cover {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--primary-soft);
  box-shadow: 0 18px 40px rgba(53, 108, 148, .18);
}
.song-detail-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
}
.detail-kicker,
.section-label {
  color: var(--primary-deep);
  font-size: .8rem;
  font-weight: 900;
}
.detail-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 15px;
}
.song-detail h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1.22;
  font-weight: 900;
}
.detail-title-row h2 {
  min-width: 0;
  margin: 0;
}
.detail-meta,
.detail-status {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 18px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.detail-meta span,
.detail-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.detail-meta .copyright-meta,
.collection-meta .copyright-meta {
  display: inline-grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  max-width: 100%;
}
.detail-meta .copyright-meta .detail-meta-icon,
.collection-meta .copyright-meta .detail-meta-icon {
  margin-top: .2em;
}
.copyright-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-meta i {
  width: 16px;
  color: var(--primary-deep);
  text-align: center;
}
.detail-status { margin-top: 15px; }
.detail-status strong { color: var(--ink); }
.mv-title-row {
  margin-top: 8px;
  margin-bottom: 15px;
}
.mv-meta-row .text-link {
  max-width: 100%;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.mv-download-status {
  width: 360px;
  max-width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(53, 108, 148, .08);
}
.mv-download-status-head {
  display: flex;
  align-items: center;
  min-width: 0;
}
.mv-download-status-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 900;
}
.mv-download-status-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-download-status-label i {
  flex: 0 0 auto;
  color: var(--primary-deep);
}
.mv-download-status-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.mv-download-status-meter {
  display: block;
  flex: 1 1 auto;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(105, 179, 231, .18);
}
.mv-download-status-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-1);
  transition: width .22s ease;
}
.mv-download-status-percent {
  flex: 0 0 42px;
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 900;
  text-align: right;
}
.mv-download-status.error {
  border-color: rgba(218, 75, 75, .3);
  background: rgba(255, 247, 247, .9);
}
.mv-download-status.error .mv-download-status-label i,
.mv-download-status.error .mv-download-status-percent {
  color: #b42323;
}
.mv-download-status.error .mv-download-status-meter span {
  background: linear-gradient(135deg, #d94c4c, #b42323);
}
.mv-download-status.done {
  border-color: rgba(45, 143, 94, .28);
  background: rgba(245, 255, 250, .9);
}
.mv-download-status.done .mv-download-status-label i,
.mv-download-status.done .mv-download-status-percent {
  color: #1f7a4e;
}
.mv-download-status.done .mv-download-status-meter span {
  background: linear-gradient(135deg, #2d8f5e, #1f7a4e);
}
.mv-detail-hero .detail-meta { gap: 15px 18px; }
.detail-preview-dolby i {
  transform: translateY(.5px);
}
.official-preview.is-playing,
.detail-preview.is-playing {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.download-status-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 604px;
  max-width: 100%;
  margin-top: 10px;
}
.download-status {
  flex: 0 0 480px;
  min-width: 0;
  width: 480px;
  max-width: calc(100% - 124px);
  padding: 9px 10px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(53, 108, 148, .08);
}
.download-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.download-status-label {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 7px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 900;
}
.download-status-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-status-label i {
  flex: 0 0 auto;
  color: var(--primary-deep);
}
.download-status-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.download-status-meter {
  display: block;
  flex: 1 1 auto;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(105, 179, 231, .18);
}
.download-status-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-1);
  transition: width .22s ease;
}
.download-status-percent {
  flex: 0 0 42px;
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 900;
  text-align: right;
}
.download-status-detail {
  display: none;
}
.download-status-actions {
  display: flex;
  align-items: center;
  justify-content: stretch;
  flex: 0 0 116px;
  width: 116px;
  min-width: 116px;
  flex-direction: column;
  gap: 6px;
}
.download-status-actions .btn {
  width: 116px;
  min-width: 116px;
  height: 31px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.download-status-actions .btn i {
  margin-right: 4px !important;
}
@media (max-width: 620px) {
  .download-status-wrap {
    width: 100%;
    flex-wrap: wrap;
  }
  .download-status {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
  .download-status-actions {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    flex-direction: row;
  }
  .download-status-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}
.download-status.error .download-status-detail {
  color: #8f1f1f;
}
.download-status.error {
  border-color: rgba(218, 75, 75, .3);
  background: rgba(255, 247, 247, .9);
}
.download-status.error .download-status-label i,
.download-status.error .download-status-percent { color: #b42323; }
.download-status.error .download-status-meter span {
  background: linear-gradient(135deg, #d94c4c, #b42323);
}
.download-status.done {
  border-color: rgba(45, 143, 94, .28);
  background: rgba(245, 255, 250, .9);
}
.download-status.done .download-status-label i,
.download-status.done .download-status-percent { color: #1f7a4e; }
.download-status.done .download-status-meter span {
  background: linear-gradient(135deg, #2d8f5e, #1f7a4e);
}
.quality-section,
.detail-lyrics,
.song-related-section,
.song-credits-section {
  padding: 20px 26px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-deep);
}
.section-heading i {
  width: 18px;
  color: var(--primary);
  text-align: center;
}
.quality-heading {
  justify-content: space-between;
  gap: 12px;
}
.mv-quality-toolbar {
  justify-content: space-between;
}
.quality-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.quality-heading #detailDetect {
  flex: 0 0 auto;
}
.lyric-label {
  justify-content: space-between;
  gap: 12px;
}
.lyric-label-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.lyric-control-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.lyric-mode-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.lyric-switch {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 116px;
  min-width: 116px;
  max-width: 116px;
  min-height: 34px;
  padding: 0 10px;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}
.lyric-pronunciation-switch,
.lyric-translate-switch {
  width: 116px;
  min-width: 116px;
  max-width: 116px;
}
.lyric-switch .form-check-input {
  flex: 0 0 auto;
  width: 2.25em;
  min-width: 2.25em;
  height: 1.12em;
  margin: 0;
  float: none;
  cursor: pointer;
  background-color: #dcefff;
  border-color: #b9d8ef;
}
.lyric-switch .form-check-input:checked {
  background-color: #7bbdeb;
  border-color: #7bbdeb;
}
.lyric-switch .form-check-input:focus {
  box-shadow: none;
  outline: 0;
}
.lyric-switch .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  font-size: .72rem;
  line-height: 1;
  white-space: nowrap;
}
.lyric-switch .form-check-label i {
  color: var(--primary);
  font-size: .78rem;
}
.lyric-download-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.lyric-download-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  font-size: .72rem;
}
.lyric-download-button:focus,
.lyric-download-button:active,
.lyric-download-button:focus-visible {
  box-shadow: none !important;
  outline: 0;
}
.lyric-download-button.d-none,
.lyric-control-card .d-none {
  display: none !important;
}
#detailDetect.loading i {
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.quality-status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  max-width: 260px;
  padding: 5px 10px;
  border: 1px solid rgba(105, 179, 231, .34);
  border-radius: 999px;
  background: rgba(105, 179, 231, .09);
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quality-status-line.done {
  color: var(--primary-deep);
  background: rgba(105, 179, 231, .12);
  border-color: rgba(105, 179, 231, .38);
}
.lyric-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--muted);
  font-weight: 900;
}
.lyric-box {
  margin-top: 12px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
.lyric-box {
  display: grid;
  gap: 14px;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.8;
  text-align: left;
}
.lyric-line {
  display: grid;
  gap: 4px;
}
.lyric-block {
  display: grid;
  gap: 14px;
}
.lyric-block-gap {
  height: 14px;
}
.lyric-line-original {
  color: var(--ink);
  font-weight: 900;
}
.lyric-line-sub {
  color: var(--muted);
  font-weight: 700;
}
.lyric-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 900;
}
.song-info-meta,
.mv-info-meta {
  margin-top: 15px;
}
.song-genre-meta,
.song-album-meta,
.mv-genre-meta,
.mv-album-meta,
.mv-source-meta {
  margin-top: 13px;
}
.song-related-mvs,
.song-credits-body {
  margin-top: 12px;
}
.song-related-mvs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.song-related-mv-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  width: 100%;
  min-height: 100px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.song-related-mv-card:hover {
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 24px rgba(53, 108, 148, .10);
}
.song-related-mv-art {
  display: block;
  width: 80px;
  height: 80px;
  margin-top: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary-soft);
}
.song-related-mv-art img,
.song-related-mv-art .cover-img,
.song-related-mv-art .netease-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.song-related-mv-body {
  display: grid;
  gap: 0;
  min-width: 0;
  padding-top: 1px;
}
.song-related-mv-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 22px;
}
.song-related-mv-title-row .trait-badges {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 5px;
}
.song-related-mv-meta-row {
  min-width: 0;
  min-height: 19px;
  display: flex;
  align-items: center;
}
.song-related-mv-title {
  overflow: hidden;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-related-mv-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
  white-space: normal;
  line-height: 1.15;
}
.song-related-mv-album {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.15;
}
.song-related-mv-album:hover {
  overflow: visible;
}
.song-related-mv-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(105, 179, 231, .14);
  color: var(--primary-deep);
  font-size: .66rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}
.song-related-mv-tag.muted {
  background: rgba(97, 112, 130, .10);
  color: var(--muted);
}
.song-credits-body {
  display: grid;
  gap: 28px;
}
.song-credits-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.song-credits-actions .btn:focus,
.song-credits-actions .btn:active,
.song-credits-actions .btn:focus-visible {
  box-shadow: none !important;
  outline: 0;
}
.song-credit-category {
  display: grid;
  gap: 12px;
}
.song-credits-body-person .song-credit-category {
  padding: 12px 12px 14px;
  border: 1px solid rgba(105, 179, 231, .14);
  border-left: 3px solid rgba(105, 179, 231, .38);
  border-radius: 8px;
  background: rgba(248, 251, 253, .66);
}
.song-credit-category h4 {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.25;
}
.song-credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.song-credit-role-list {
  display: grid;
  gap: 8px;
}
.song-credit-role-group {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  min-height: 38px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(105, 179, 231, .14);
  border-left: 3px solid rgba(105, 179, 231, .38);
  border-radius: 8px;
  background: rgba(248, 251, 253, .66);
}
.song-credit-role-group h5 {
  margin: 0;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 850;
}
.song-credit-role-people {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.song-credit-role-person {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 7px;
  padding: 3px 9px 3px 4px;
  border: 1px solid rgba(105, 179, 231, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1;
}
.song-credit-role-person img,
.song-credit-role-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.song-credit-role-person img {
  object-fit: cover;
  background: var(--primary-soft);
}
.song-credit-role-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 179, 231, .14);
  color: var(--primary-deep);
  font-size: .68rem;
  font-weight: 900;
}
.song-credit-role-person span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-credit-person {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  align-items: center;
  align-self: start;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid rgba(105, 179, 231, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .74);
}
.song-credit-person img,
.song-credit-avatar {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.song-credit-person img {
  object-fit: cover;
  background: var(--primary-soft);
}
.song-credit-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 179, 231, .14);
  color: var(--primary-deep);
  font-size: .9rem;
  font-weight: 900;
}
.song-credit-name,
.song-credit-roles {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-credit-name {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
}
.song-credit-dolby-badge {
  margin-left: 6px;
  vertical-align: -2px;
}
.song-credit-roles {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  line-height: 1.35;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.song-credits-body-person .song-credit-grid {
  gap: 14px 12px;
}
.song-credits-body-person .song-credit-person {
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.song-credits-body-person .song-credit-person img,
.song-credits-body-person .song-credit-avatar {
  width: 48px;
  height: 48px;
}
.song-credits-body-person .song-credit-name {
  font-size: .84rem;
}
.song-credits-body-person .song-credit-roles {
  font-size: .74rem;
}
.song-credits-empty {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px dashed rgba(105, 179, 231, .34);
  border-radius: 10px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.quality-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
}
.mv-quality-options {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.mv-quality-section {
  display: grid;
  gap: 10px;
}
.mv-option-title,
.mv-option-title-inline {
  margin: 0;
  color: var(--primary-deep);
  font-size: .86rem;
  font-weight: 900;
}
.mv-option-title i,
.mv-option-title-inline i {
  margin-right: 4px;
}
.mv-count {
  margin-left: 4px;
  color: var(--muted);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.mv-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}
.mv-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.mv-filter-chip:hover {
  border-color: rgba(105, 179, 231, .42);
  color: var(--primary-deep);
}
.mv-filter-chip.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-deep);
  box-shadow: 0 0 0 2px rgba(105, 179, 231, .12);
}
.mv-option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}
.mv-quality-card {
  grid-template-rows: auto auto auto;
  align-content: center;
  width: 100%;
  min-height: 112px;
  gap: 9px;
  border-radius: 12px;
  padding: 12px 14px;
}
.mv-quality-card[data-mv-audio] {
  grid-template-rows: auto auto auto;
  min-height: 112px;
}
.mv-card-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}
.mv-card-title {
  min-height: 21px;
}
.mv-card-title strong {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-special-tag {
  flex: 0 0 auto;
}
.mv-card-meta {
  align-self: start;
  flex-wrap: wrap;
  color: var(--subtle);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.4;
}
.mv-card-meta-text {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-card-meta-blue {
  color: #2f6fb4;
  font-size: .78rem;
  line-height: 1.32;
  font-weight: 800;
}
.mv-card-meta-gray {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.4;
}
.mv-card-meta-size {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.mv-card-sep {
  display: inline-block;
  margin: 0 3px;
  color: var(--subtle);
}
.mv-card-slash {
  display: inline-block;
  margin: 0 3px;
  color: var(--subtle);
}
.mv-codec-tag {
  margin-left: 4px;
}
.mv-card-primary {
  align-self: center;
  overflow: hidden;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-card-primary.mv-card-meta-gray {
  color: var(--muted);
}
.mv-quality-card .trait-badge.video {
  border-color: rgba(44, 118, 182, .24);
  background: rgba(235, 245, 255, .92);
  color: #2f6fb4;
  min-height: 17px;
  padding: 1px 6px;
  font-size: .6rem;
}
.mv-quality-card .mv-format-badge.dv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  padding: 1px 5px;
  border: 1px solid rgba(242, 170, 22, .26);
  border-radius: 5px;
  background: rgba(255, 252, 236, .96);
  color: #b77900;
  font-size: .6rem;
  font-weight: 900;
}
.mv-quality-card .mv-format-badge.hdr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  padding: 1px 6px;
  border: 1px solid rgba(44, 118, 182, .24);
  border-radius: 5px;
  background: rgba(235, 245, 255, .92);
  color: #2f6fb4;
  font-size: .6rem;
  font-weight: 900;
}
.mv-quality-card .mv-format-badge.res {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  padding: 1px 6px;
  border: 1px solid rgba(52, 116, 88, .24);
  border-radius: 5px;
  background: rgba(229, 248, 238, .92);
  color: #2f7a52;
  font-size: .6rem;
  font-weight: 900;
}
.mv-quality-card .mv-format-badge.sdr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  padding: 1px 6px;
  border: 1px solid rgba(122, 132, 143, .22);
  border-radius: 5px;
  background: rgba(245, 248, 251, .96);
  color: #7a848f;
  font-size: .6rem;
  font-weight: 900;
}
.mv-quality-card .track-audio-badge.atmos {
  height: 17px;
}
.mv-quality-card .track-audio-badge.atmos {
  width: 24px;
  padding: 0;
}
.mv-option-title .mv-count {
  color: var(--muted);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.mv-file-links {
  justify-content: flex-start;
}
.mv-cache-files {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.mv-cache-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}
.mv-cache-file-main {
  display: grid;
  min-width: 0;
  gap: 2px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.mv-cache-file-main:hover {
  border-color: rgba(105, 179, 231, .46);
  box-shadow: 0 8px 20px rgba(53, 108, 148, .08);
}
.mv-cache-file.active .mv-cache-file-main {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px rgba(105, 179, 231, .12);
}
.mv-cache-file-title,
.mv-cache-file-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-cache-file-title {
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.25;
}
.mv-cache-file-meta {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
}
.mv-cache-file-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 76px;
  min-height: 100%;
  border: 1px solid rgba(52, 116, 88, .24);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(229, 248, 238, .92);
  color: #2f7a52;
  font-size: .76rem;
  font-weight: 900;
}
.mv-cache-file-download:hover {
  border-color: rgba(52, 116, 88, .44);
  background: rgba(216, 244, 229, .96);
}
.quality-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 112px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: all .2s ease;
}
.quality-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(53, 108, 148, .10);
}
.quality-card.disabled,
.quality-card[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--subtle);
  background: rgba(248, 251, 253, .72);
  border-color: rgba(217, 232, 243, .72);
  box-shadow: none;
  opacity: .72;
}
.quality-card.disabled strong,
.quality-card[aria-disabled="true"] strong {
  color: var(--subtle);
}
.quality-card.disabled:hover,
.quality-card[aria-disabled="true"]:hover {
  border-color: rgba(217, 232, 243, .72);
  box-shadow: none;
}
.quality-card.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(105, 179, 231, .14);
}
.quality-card.mv-quality-card {
  grid-template-rows: auto auto auto;
  align-content: center;
  min-height: 92px;
  gap: 5px;
  padding: 10px 12px;
}
.quality-card.mv-quality-card[data-mv-audio] {
  grid-template-rows: auto auto auto;
  min-height: 92px;
}
.quality-name {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
}
.quality-cn {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quality-en {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}
.quality-en-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quality-size {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 800;
}
.quality-size span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}
.quality-detail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.45;
}
.quality-status {
  display: inline-flex;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-style: normal;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.35;
}
.quality-status.ok {
  color: #1f7a4e;
  background: rgba(45, 143, 94, .12);
}
.quality-card .quality-status.ok {
  justify-content: center;
  min-width: 34px;
  height: 18px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: rgba(45, 143, 94, .12);
  color: #1f7a4e;
  font-size: .62rem;
  font-weight: 900;
  line-height: 1;
}
.mv-quality-card .mv-cache-tag {
  min-width: 42px;
  height: 18px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: rgba(45, 143, 94, .12);
  color: #1f7a4e;
  font-size: .62rem;
}
.quality-status.bad {
  color: var(--subtle);
  background: rgba(97, 112, 130, .12);
}
.quality-status.pending {
  color: var(--primary-deep);
  background: rgba(105, 179, 231, .14);
}
.quality-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 1px 6px;
  font-style: normal;
  font-size: .64rem;
  font-weight: 900;
  line-height: 1.4;
}
.quality-tag.svip {
  color: #9a5d00;
  background: rgba(255, 170, 77, .18);
}
.quality-cached {
  color: #1f7a4e;
  background: rgba(45, 143, 94, .12);
}
.quality-separator {
  color: var(--subtle);
  padding: 0 2px;
}
.detail-audio {
  display: block;
  width: 100%;
  margin-top: 12px;
}
.global-player {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(900px, 100%);
  padding-right: 15px;
  padding-left: 15px;
  transform: translateX(-50%);
}
.global-player-shell {
  display: grid;
  grid-template-columns: 132px 66px minmax(0, 1fr) 154px 42px;
  grid-template-rows: auto auto;
  gap: 8px 14px;
  align-items: center;
  min-height: 90px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(105, 179, 231, .32);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(53, 108, 148, .18);
  backdrop-filter: blur(14px);
}
.global-player-cover-button {
  grid-column: 2;
  grid-row: 1 / 3;
  display: block;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: #eaf6ff;
  overflow: hidden;
}
.global-player-cover {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.global-player-meta {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}
.global-player-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.global-player-title,
.global-player-subtitle-row,
.global-player-album {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-player-title,
.global-player-album { text-align: left; }
.global-player-title {
  display: block;
  flex: 0 1 auto;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
}
.global-player-loudness,
.global-player-quality-badge {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(105, 179, 231, .32);
  border-radius: 999px;
  background: rgba(105, 179, 231, .10);
  color: var(--primary-deep);
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.global-player-subtitle-row {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.global-player-artist {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-player-dot {
  flex: 0 0 auto;
  color: var(--subtle);
}
.global-player-album {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.global-player-lyric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 66px;
  padding: 12px 18px;
  border: 1px solid rgba(105, 179, 231, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 32px rgba(53, 108, 148, .14);
  backdrop-filter: blur(14px);
  color: var(--primary-deep);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  overflow: hidden;
}
.global-player-lyric-line {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-player-lyric-line.single {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.global-player-lyric-line.pronunciation,
.global-player-lyric-line.translation {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.preview-audio-source {
  display: none;
}
.global-player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(105, 179, 231, .35);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-deep);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.global-player-toggle {
  order: 3;
  width: 42px;
  height: 42px;
  font-size: .95rem;
}
.global-player-skip {
  width: 34px;
  height: 34px;
  font-size: .74rem;
}
.global-player-rewind { order: 1; }
.global-player-forward { order: 2; }
.global-player-close {
  grid-column: 5;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 42px;
  height: 42px;
  color: var(--muted);
}
.global-player-actions {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.global-player-quality-actions {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  justify-self: end;
  width: 154px;
  border: 1px solid rgba(105, 179, 231, .30);
  border-radius: 999px;
  background: #fff;
}
.global-quality-option {
  flex: 1 1 0;
  width: auto;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary-deep);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.global-quality-option + .global-quality-option { border-left: 1px solid rgba(105, 179, 231, .24); }
.global-quality-option.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.global-quality-option:hover {
  border-color: var(--primary);
  background: rgba(105, 179, 231, .10);
}
.global-quality-option.active:hover { background: var(--primary); }
.global-player-button:hover:not(:disabled),
.global-player-button.is-playing {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.global-player-button:disabled {
  color: var(--muted);
  opacity: .55;
}
.global-player-progress {
  grid-column: 3 / 5;
  grid-row: 2;
  display: grid;
  grid-template-columns: 40px minmax(120px, 1fr) 40px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
body:has(.result-wrap:not(.d-none)) .global-player {
  width: min(1120px, 100%);
}
.global-player-progress input {
  width: 100%;
  accent-color: var(--primary);
}
.global-player audio { display: none; }
.collection-result {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.collection-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(105, 179, 231, .12), rgba(255, 255, 255, .72));
}
.album-collection-head,
.playlist-collection-head,
.artist-collection-head {
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.album-cover-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.album-collection-head.with-description,
.playlist-collection-head.with-description,
.artist-collection-head.with-description {
  align-items: start;
}
.album-collection-head.with-description .collection-main,
.playlist-collection-head.with-description .collection-main,
.artist-collection-head.with-description .collection-main {
  display: grid;
  align-content: start;
  min-width: 0;
}
.album-collection-head.with-description .collection-main,
.playlist-collection-head.with-description .collection-main,
.artist-collection-head.with-description .collection-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
}
.album-collection-head.with-description .album-desc-block,
.playlist-collection-head.with-description .album-desc-block,
.artist-collection-head.with-description .album-desc-block {
  margin-top: 0;
}
.album-collection-head.with-description .album-desc-block,
.playlist-collection-head.with-description .album-desc-block,
.artist-collection-head.with-description .album-desc-block {
  grid-column: 1 / -1;
}
.artist-collection-head .collection-main {
  justify-content: flex-start;
}
.collection-head img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(53, 108, 148, .16);
}
.album-collection-head img,
.playlist-collection-head img,
.artist-collection-head img {
  width: 180px;
  height: 180px;
}
.album-artwork-trigger {
  width: 120px;
  min-height: 36px;
  padding: 0 12px;
  justify-content: center;
  font-size: .84rem;
}
.collection-main h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 900;
}
.collection-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 120px;
}
.collection-heading-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 7px;
  min-width: 0;
}
.collection-heading-row h2 {
  min-width: 0;
}
.album-main-content {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}
.collection-meta-group {
  display: grid;
  gap: 11px;
}
.album-collection-head .collection-meta-group {
  gap: 10px;
}
.collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}
.collection-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.collection-meta-primary {
  color: var(--muted);
  gap: 6px 12px;
}
.collection-meta-secondary {
  gap: 6px 14px;
  color: var(--muted);
  font-size: .9rem;
}
.collection-meta-group .collection-meta {
  align-items: center;
}
.collection-meta .detail-meta-icon {
  width: 16px;
  color: var(--primary-deep);
  text-align: center;
}
.collection-meta-primary .collection-meta-extra + .collection-meta-extra::before,
.collection-meta-secondary .collection-meta-extra + .collection-meta-extra::before {
  content: "·";
  margin-right: 12px;
  color: var(--subtle);
  font-weight: 700;
}
.artist-origin-row {
  flex-wrap: nowrap;
  gap: 6px 14px;
}
.artist-origin-row .collection-meta-extra + .collection-meta-extra::before {
  content: none;
  margin-right: 0;
}
.album-label-row .collection-meta-extra + .collection-meta-extra::before {
  content: none;
  margin-right: 0;
}
.collection-meta-single {
  flex-wrap: nowrap;
}
.collection-meta-single > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meta-sep {
  color: var(--subtle);
  font-weight: 700;
}
.album-artist-meta {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.album-artist-id {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin-left: 12px;
}
.album-artist-id::before {
  content: none;
}
.album-id-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.album-id-row {
  font-size: .78rem;
}
.album-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
}
.album-kicker-id {
  color: var(--subtle);
  font-size: .78rem;
  font-weight: 800;
}
.collection-meta-extra {
  min-width: 0;
}
.playlist-info-meta {
  min-width: 0;
}
.playlist-info-meta span {
  min-width: 0;
}
.playlist-short-row strong {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.playlist-short-row {
  width: 100%;
}
.playlist-short-row > span {
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}
.playlist-short-row .detail-meta-icon {
  flex: 0 0 16px;
  margin-top: .2em;
}
.artist-short-row {
  min-height: 22px;
}
.artist-short-row strong {
  overflow: visible;
  text-overflow: clip;
}
.playlist-meta-group {
  gap: 8px;
}
.collection-desc {
  position: relative;
  margin-top: 16px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
  max-height: 4.8em;
  overflow: hidden;
  padding-right: 82px;
}
.album-desc-block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 4px;
  margin-top: 0;
  padding-top: 0;
  padding-right: 0;
  max-height: none;
  overflow: visible;
  border-top: 0;
}
.album-desc-label {
  color: var(--subtle);
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.6;
}
.album-desc-body {
  position: relative;
  min-width: 0;
  padding-right: 0;
}
.album-desc-block.has-more .album-desc-body {
  padding-right: 0;
}
.artist-visual-actions .album-visual-trigger:disabled {
  opacity: .58;
  cursor: default;
}
.album-desc-preview-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  min-width: 0;
  line-height: 1.6;
}
.album-desc-preview-text i,
.album-desc-preview-text em,
.album-desc-dialog-body i,
.album-desc-dialog-body em {
  font-style: italic;
}
.album-desc-preview-text p,
.album-desc-dialog-body p {
  margin: 0 0 1em;
}
.album-desc-preview-text p:last-child,
.album-desc-dialog-body p:last-child {
  margin-bottom: 0;
}
.album-desc-more {
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  z-index: 2;
  padding: 0 0 0 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--surface) 20px);
  color: var(--primary);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;
}
.album-desc-more:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}
.album-visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  padding-top: 2px;
}
.album-visual-trigger {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 800;
}
.album-desc-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 28, 38, .48);
  backdrop-filter: blur(2px);
}
.album-desc-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  height: min(520px, calc(100vh - 64px));
  overflow: hidden;
  border: 1px solid rgba(18, 28, 38, .12);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(18, 28, 38, .22);
}
.mv-preview-dialog {
  width: min(960px, 100%);
  height: auto;
  max-height: calc(100vh - 64px);
}
.mv-preview-dialog-head {
  align-items: flex-start;
}
.mv-preview-dialog-head-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}
.mv-preview-quality {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid rgba(105, 179, 231, .28);
  border-radius: 999px;
  background: rgba(105, 179, 231, .08);
  color: var(--primary-deep);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.mv-preview-modal-body {
  padding: 16px;
  background: #05080c;
}
.mv-preview-player-shell {
  display: grid;
  gap: 10px;
}
.mv-preview-video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 180px);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
}
.album-desc-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.album-desc-dialog-head h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-desc-dialog-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.album-desc-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.album-desc-copy:hover {
  background: var(--primary-tint);
}
.album-desc-copy-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(45, 143, 94, .2);
  border-radius: 8px;
  background: rgba(229, 248, 238, .94);
  color: var(--success);
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
.album-desc-copy-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.album-desc-copy-hint.error {
  border-color: rgba(218, 75, 75, .22);
  background: rgba(255, 247, 247, .94);
  color: var(--danger);
}
.album-desc-toast {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(.96);
  pointer-events: none;
  opacity: 0;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(18, 28, 38, .9);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(18, 28, 38, .22);
  transition: opacity .16s ease, transform .16s ease;
}
.album-desc-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.album-desc-toast.error {
  background: rgba(180, 47, 47, .94);
}
.album-desc-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--muted);
}
.album-desc-close:hover {
  color: var(--ink);
  background: var(--primary-tint);
}
.album-desc-dialog-body {
  flex: 1;
  overflow: auto;
  padding: 18px;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.75;
}
.album-desc-dialog-body.text-log-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .82rem;
  line-height: 1.55;
  color: #26323e;
}
.album-artwork-dialog {
  position: relative;
  width: min(600px, 100%);
  height: auto;
  max-height: min(760px, calc(100vh - 64px));
  overflow: hidden;
}
.album-artwork-dialog-multi {
  width: min(1040px, calc(100vw - 48px));
}
.album-artwork-dialog-record-label-banner {
  width: min(860px, calc(100vw - 48px));
}
.album-visual-dialog {
  position: relative;
  width: min(960px, 100%);
  height: auto;
  max-height: min(800px, calc(100vh - 36px));
  overflow: hidden;
}
.album-visual-dialog-image {
  height: auto;
  max-height: min(780px, calc(100vh - 36px));
}
.album-visual-dialog-tall {
  width: min(460px, 100%);
}
.album-visual-dialog-banner {
  width: min(860px, 100%);
  height: auto;
  max-height: min(780px, calc(100vh - 36px));
}
.album-visual-dialog-background {
  width: min(1120px, calc(100vw - 48px));
  height: auto;
  max-height: min(780px, calc(100vh - 36px));
}
.album-visual-dialog-logo {
  width: min(760px, calc(100vw - 48px));
  height: auto;
  max-height: min(520px, calc(100vh - 48px));
}
.album-visual-dialog-artist-motion {
  width: min(1320px, calc(100vw - 48px));
  height: auto;
  max-height: min(820px, calc(100vh - 48px));
}
.album-artwork-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.album-visual-dialog .album-artwork-close {
  top: 12px;
  right: 12px;
}
.album-artwork-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 44px 28px 30px;
  overflow: auto;
}
.album-visual-dialog .album-artwork-dialog-body {
  height: auto;
  max-height: min(820px, calc(100vh - 36px));
  padding: 54px 24px 20px;
  overflow: auto;
}
.album-visual-dialog-artist-motion .album-artwork-dialog-body {
  height: auto;
  max-height: min(860px, calc(100vh - 36px));
  padding: 58px 28px 32px;
  overflow: auto;
}
.album-visual-dialog-image .album-artwork-dialog-body {
  height: auto;
  max-height: min(780px, calc(100vh - 36px));
  padding: 56px 24px 28px;
  overflow: hidden;
}
.album-visual-dialog-logo .album-artwork-dialog-body {
  min-height: 286px;
  max-height: min(520px, calc(100vh - 48px));
  overflow: hidden;
}
.album-visual-dialog-banner .album-artwork-dialog-body {
  overflow: auto;
  padding-right: 34px;
  scrollbar-gutter: stable;
}
.album-visual-dialog-background .album-artwork-dialog-body {
  overflow: auto;
}
.album-artwork-notice {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  min-width: 132px;
  max-width: calc(100% - 104px);
  padding: 7px 12px;
  border: 1px solid rgba(105, 179, 231, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 22px rgba(53, 108, 148, .16);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}
.album-artwork-notice.success {
  color: var(--success);
}
.album-artwork-notice.warning {
  color: #b78615;
}
.album-artwork-notice.error {
  color: var(--danger);
}
.album-artwork-preview {
  display: flex;
  justify-content: center;
}
.album-artwork-preview img {
  display: block;
  width: min(100%, 460px);
  aspect-ratio: var(--artwork-ratio, 1 / 1);
  margin: 0 auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(53, 108, 148, .16);
}
.playlist-artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 64px;
  row-gap: 24px;
  align-items: start;
  justify-items: center;
}
.playlist-artwork-card {
  display: grid;
  grid-template-rows: 22px auto minmax(34px, auto) 44px;
  gap: 12px;
  width: min(100%, 420px);
  min-width: 0;
}
.playlist-artwork-card-no-title {
  grid-template-rows: auto minmax(34px, auto) 44px;
}
.record-label-artwork-card-banner {
  width: min(100%, 760px);
}
.playlist-artwork-card-title {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
  text-align: center;
}
.playlist-artwork-card .album-artwork-preview img,
.playlist-artwork-card .album-artwork-original-spec,
.playlist-artwork-card .album-artwork-actions {
  width: min(100%, 420px);
}
.playlist-artwork-card .album-artwork-original-spec {
  margin-top: 0;
  white-space: normal;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.playlist-artwork-card .album-artwork-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.playlist-artwork-card .album-artwork-option {
  min-height: 42px;
  white-space: normal;
}
.playlist-artwork-card-loading {
  grid-column: 1 / -1;
  padding: 10px 0;
  font-size: .78rem;
}
.playlist-artwork-grid:has(.playlist-artwork-card:only-child) {
  display: flex;
  justify-content: center;
}
.playlist-artwork-grid:has(.playlist-artwork-card:only-child) .playlist-artwork-card {
  width: min(100%, 460px);
}
.playlist-artwork-grid:has(.playlist-artwork-card:only-child) .album-artwork-preview img,
.playlist-artwork-grid:has(.playlist-artwork-card:only-child) .album-artwork-original-spec,
.playlist-artwork-grid:has(.playlist-artwork-card:only-child) .album-artwork-actions {
  width: min(100%, 460px);
}
.playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .record-label-artwork-card-banner,
.playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .album-artwork-preview img,
.playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .album-artwork-original-spec,
.playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .album-artwork-actions {
  width: min(100%, 760px);
}
.album-artwork-original-spec {
  width: min(100%, 460px);
  margin: -2px auto 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-artwork-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 460px);
  margin: 0 auto;
}
.album-artwork-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid rgba(105, 179, 231, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  line-height: 1.15;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
.album-artwork-option:hover {
  border-color: rgba(105, 179, 231, .42);
  background: rgba(105, 179, 231, .08);
}
.album-artwork-option.disabled {
  opacity: .42;
  color: var(--subtle);
  cursor: not-allowed;
  pointer-events: none;
}
.album-artwork-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 460px);
  margin: 0 auto;
}
.album-artwork-swatch {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(36, 25, 18, .10);
  border-radius: 8px;
  background: var(--swatch, #000);
  box-shadow: 0 6px 16px rgba(36, 25, 18, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.album-artwork-swatch:hover {
  transform: translateY(-1px);
  border-color: rgba(105, 179, 231, .36);
  box-shadow: 0 10px 22px rgba(53, 108, 148, .14);
}
.album-artwork-loading,
.album-artwork-empty {
  padding: 18px 0;
  color: var(--muted);
  font-size: .84rem;
  text-align: center;
}
.album-artwork-loading i {
  margin-right: 8px;
}
.album-measure-spinner {
  margin-left: 6px;
  color: var(--primary);
  font-size: .78em;
}
.album-motion-grid {
  --motion-video-width: min(380px, calc((100vh - 250px) * .75), calc((100vw - 190px) / 2));
  --motion-stage-height: calc(var(--motion-video-width) * 1.333333);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  height: auto;
  min-height: 0;
}
.album-motion-grid-artist {
  height: auto;
}
.album-motion-tabs {
  display: none;
}
.album-motion-grid-single {
  grid-template-columns: minmax(0, 400px);
  justify-content: center;
}
.album-motion-grid-artist.album-motion-grid-dual {
  --artist-motion-height: min(420px, calc(100vh - 320px), calc((100vw - 190px) / 2.777777));
  --artist-motion-square-width: var(--artist-motion-height);
  --artist-motion-wide-width: calc(var(--artist-motion-height) * 1.777777);
  grid-template-columns: var(--artist-motion-square-width) var(--artist-motion-wide-width);
  align-items: stretch;
  gap: 20px;
}
.album-motion-grid-artist .album-motion-card {
  grid-template-rows: 24px auto auto;
  gap: 12px;
  align-content: start;
  justify-items: center;
}
.album-motion-grid-artist .album-motion-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  justify-self: center;
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-preview {
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
}
.album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-preview,
.album-motion-grid-artist .album-motion-card-artist_wide .album-motion-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-video,
.album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-video,
.album-motion-grid-artist .album-motion-card-artist_wide .album-motion-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.album-motion-grid-artist .album-motion-controls {
  display: grid;
  grid-template-rows: minmax(20px, auto) 46px;
  width: 100%;
  height: auto;
  min-height: 0;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-controls {
  width: min(100%, 460px);
}
.album-motion-grid-artist .album-motion-meta {
  height: auto;
  min-height: 20px;
  justify-content: center;
}
.album-motion-grid-artist .album-motion-meta span {
  display: block;
  max-width: 100%;
  overflow: visible;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
.album-motion-grid-artist .album-motion-downloads {
  width: 100%;
  gap: 10px;
}
.album-motion-grid-artist .album-motion-controls .album-motion-download-option {
  min-height: 46px;
  height: 46px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .88);
}
.album-motion-card,
.album-image-visual-card {
  display: grid;
  gap: 12px;
}
.album-motion-card {
  grid-template-rows: 24px var(--motion-stage-height) auto;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  min-height: 0;
  align-content: start;
}
.album-motion-card.is-mobile-hidden {
  display: grid;
}
.album-motion-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 24px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.album-motion-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--motion-video-width);
  height: var(--motion-stage-height);
  align-self: center;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(105, 179, 231, .10);
  border-radius: 10px;
  background: rgba(105, 179, 231, .055);
  box-shadow: 0 12px 28px rgba(53, 108, 148, .11);
}
.album-motion-card-square .album-motion-preview {
  width: var(--motion-video-width);
  justify-self: center;
}
.album-motion-card-tall .album-motion-preview {
  width: var(--motion-video-width);
  justify-self: center;
}
.album-motion-video {
  display: block;
  width: var(--motion-video-width);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: rgba(255, 255, 255, .2);
}
.album-motion-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, .2);
}
.album-motion-loading {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 1;
  padding: 6px 10px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--primary-deep);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.album-motion-video:not(.is-loading-preview) + .album-motion-loading {
  display: none;
}
.album-motion-video.has-playback-error + .album-motion-loading {
  display: block;
  color: var(--danger);
}
.album-motion-card-square .album-motion-video {
  aspect-ratio: 1 / 1;
  width: var(--motion-video-width);
  height: var(--motion-video-width);
}
.album-motion-card-tall .album-motion-video {
  aspect-ratio: 3 / 4;
  width: var(--motion-video-width);
  height: var(--motion-stage-height);
}
.album-motion-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(22px, auto) 48px;
  align-items: stretch;
  gap: 6px;
  width: var(--motion-video-width);
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.album-motion-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  height: auto;
  min-height: 22px;
}
.album-image-visual-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.album-image-visual-meta strong {
  overflow: hidden;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-motion-meta span,
.album-image-visual-meta span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.album-motion-meta span {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: visible;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
.album-image-visual-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-motion-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}
.album-motion-controls .album-motion-download-option {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 6px 9px;
  overflow: hidden;
  line-height: 1;
  background: rgba(255, 255, 255, .88);
}
.album-motion-controls .album-motion-download-option.disabled {
  border-color: rgba(125, 145, 158, .18);
  background: rgba(236, 241, 244, .78);
  color: rgba(91, 107, 119, .58);
  cursor: not-allowed;
  box-shadow: none;
}
.album-motion-download-primary,
.album-motion-download-secondary,
.album-motion-download-unavailable {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-motion-download-primary {
  font-size: .72rem;
  font-weight: 900;
}
.album-motion-download-secondary {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 800;
}
.album-motion-download-unavailable {
  color: rgba(91, 107, 119, .68);
  font-size: .76rem;
  font-weight: 900;
}
.album-motion-grid-artist .album-motion-preview {
  width: var(--artist-motion-square-width);
  height: var(--artist-motion-height);
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-preview {
  width: var(--artist-motion-square-width);
  height: var(--artist-motion-height);
  aspect-ratio: 1 / 1;
}
.album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-preview,
.album-motion-grid-artist .album-motion-card-artist_wide .album-motion-preview {
  width: var(--artist-motion-wide-width);
  height: var(--artist-motion-height);
  aspect-ratio: 16 / 9;
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-video,
.album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-video,
.album-motion-grid-artist .album-motion-card-artist_wide .album-motion-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.album-motion-grid-artist .album-motion-controls {
  width: var(--artist-motion-square-width);
  grid-template-rows: minmax(20px, auto) 46px;
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-controls {
  width: var(--artist-motion-square-width);
}
.album-motion-grid-artist.album-motion-grid-dual {
  --artist-motion-height: min(420px, calc(100vh - 320px), calc((100vw - 190px) / 2.777777));
  --artist-motion-square-width: var(--artist-motion-height);
  --artist-motion-wide-width: calc(var(--artist-motion-height) * 1.777777);
  grid-template-columns: var(--artist-motion-square-width) var(--artist-motion-wide-width);
  align-items: start;
}
.album-motion-grid-artist .album-motion-card {
  grid-template-rows: 24px var(--artist-motion-height) auto;
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-preview {
  width: var(--artist-motion-square-width);
  height: var(--artist-motion-height);
}
.album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-preview,
.album-motion-grid-artist .album-motion-card-artist_wide .album-motion-preview {
  width: var(--artist-motion-wide-width);
  height: var(--artist-motion-height);
}
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-video,
.album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-video,
.album-motion-grid-artist .album-motion-card-artist_wide .album-motion-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.album-motion-grid-artist .album-motion-controls,
.album-motion-grid-artist .album-motion-card-artist_square .album-motion-controls {
  width: var(--artist-motion-square-width);
}
.album-image-visual-grid {
  display: grid;
  gap: 16px;
  min-height: 0;
}
.album-image-visual-grid-static,
.album-image-visual-grid-logo {
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  justify-content: center;
  align-items: start;
}
.album-image-visual-grid-logo {
  grid-template-columns: minmax(0, 640px);
  gap: 12px;
  width: 100%;
  justify-items: center;
}
.album-image-visual-grid-tall,
.album-image-visual-grid-banner,
.album-image-visual-grid-background {
  align-items: start;
  justify-items: center;
}
.album-image-visual-grid-tall {
  place-items: center;
}
.album-image-visual-grid-banner {
  width: 100%;
  gap: 14px;
  align-content: start;
  align-items: start;
  justify-items: center;
  grid-auto-rows: max-content;
}
.album-image-visual-grid-background {
  width: 100%;
  gap: 12px;
  justify-items: stretch;
}
.album-image-visual-grid-banner.album-image-visual-grid-scrollable {
  overflow: visible;
  overscroll-behavior: contain;
  align-content: start;
  padding-right: 0;
  scroll-padding: 12px;
}
.album-visual-dialog-banner .album-artwork-dialog-body::-webkit-scrollbar {
  width: 8px;
}
.album-visual-dialog-banner .album-artwork-dialog-body::-webkit-scrollbar-thumb {
  background: rgba(71, 113, 137, .22);
  border-radius: 999px;
}
.album-visual-inline-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(71, 113, 137, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.album-visual-inline-error {
  border-color: rgba(182, 71, 71, .22);
  background: rgba(255, 247, 247, .94);
  color: #a63c3c;
}
.album-image-visual-grid .album-visual-inline-loading,
.album-motion-grid .album-visual-inline-loading {
  grid-column: 1 / -1;
}
.album-image-visual-grid-tall .album-image-visual-card,
.album-image-visual-grid-banner .album-image-visual-card,
.album-image-visual-grid-background .album-image-visual-card,
.album-image-visual-grid-static .album-image-visual-card,
.album-image-visual-grid-logo .album-image-visual-card {
  width: min(100%, 360px);
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 10px;
  justify-items: stretch;
  min-height: 0;
}
.album-image-visual-grid-logo .album-image-visual-card {
  width: min(100%, 640px);
  grid-template-rows: 144px 22px 44px;
  gap: 10px;
}
.album-image-visual-grid-tall .album-image-visual-card {
  width: min(100%, 360px);
}
.album-image-visual-grid-banner .album-image-visual-card {
  width: min(100%, 720px);
  gap: 8px;
  min-height: auto;
}
.album-image-visual-grid-background .album-image-visual-card {
  width: 100%;
  gap: 10px;
  min-height: auto;
}
.album-image-visual-preview {
  width: 100%;
  aspect-ratio: var(--visual-ratio, 16 / 9);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 246, 250, .95), rgba(248, 251, 252, .95));
  box-shadow: 0 14px 34px rgba(53, 108, 148, .14);
}
.album-image-visual-grid-logo .album-image-visual-preview {
  height: 144px;
  aspect-ratio: auto;
  padding: 18px 22px;
  border: 1px solid rgba(71, 113, 137, .16);
  background:
    linear-gradient(135deg, rgba(246, 250, 252, .96), rgba(236, 243, 247, .96)),
    linear-gradient(45deg, rgba(71, 113, 137, .12) 25%, transparent 25%, transparent 75%, rgba(71, 113, 137, .12) 75%),
    linear-gradient(45deg, rgba(71, 113, 137, .12) 25%, transparent 25%, transparent 75%, rgba(71, 113, 137, .12) 75%);
  background-position: 0 0, 0 0, 8px 8px;
  background-size: auto, 16px 16px, 16px 16px;
}
.album-image-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.album-image-visual-grid-logo .album-image-visual-card img {
  max-width: min(100%, 560px);
  max-height: 104px;
}
.album-image-visual-grid-tall .album-image-visual-preview,
.album-image-visual-grid-banner .album-image-visual-preview,
.album-image-visual-grid-background .album-image-visual-preview {
  max-width: 100%;
  justify-self: center;
  align-self: center;
}
.album-image-visual-grid-background .album-image-visual-preview {
  width: 100%;
  height: auto;
  aspect-ratio: var(--visual-ratio, 2 / 1);
  max-height: min(480px, calc(100vh - 180px));
}
.album-image-visual-grid-banner .album-image-visual-preview {
  position: relative;
  width: 100%;
  height: clamp(150px, 23vh, 190px);
  aspect-ratio: auto;
}
.album-image-visual-grid-tall .album-image-visual-preview {
  max-height: min(500px, calc(100vh - 160px));
}
.album-image-visual-grid-banner .album-image-visual-preview {
  max-height: none;
}
.album-image-visual-grid-banner.album-image-visual-grid-scrollable .album-image-visual-preview {
  max-height: none;
}
.album-image-visual-grid-banner .album-image-visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.album-image-visual-grid-background .album-image-visual-card img {
  object-fit: cover;
}
.album-image-visual-footer {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.album-image-visual-grid-logo .album-image-visual-footer {
  grid-template-rows: 22px 44px;
  gap: 10px;
  width: 100%;
}
.album-image-visual-grid-tall .album-image-visual-footer {
  display: contents;
}
.album-image-visual-grid-banner .album-image-visual-footer {
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 12px;
  min-height: 36px;
}
.album-image-visual-grid-background .album-image-visual-footer {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.album-image-visual-name {
  overflow: hidden;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 900;
  line-height: 22px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-image-visual-name-top {
  text-align: center;
}
.album-image-visual-grid-tall .album-image-visual-name {
  text-align: center;
}
.album-image-visual-spec {
  overflow: hidden;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-image-visual-grid-tall .album-image-visual-spec {
  white-space: normal;
  line-height: 1.25;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-image-visual-grid-banner .album-image-visual-spec {
  text-align: left;
}
.album-image-visual-grid-background .album-image-visual-spec {
  text-align: left;
}
.album-image-visual-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}
.album-image-visual-grid-logo .album-image-visual-downloads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 360px);
  justify-self: center;
}
.album-image-visual-grid-banner .album-image-visual-downloads {
  justify-self: end;
}
.album-image-visual-grid-background .album-image-visual-downloads {
  justify-self: end;
}
.album-image-visual-grid-tall .album-image-visual-downloads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.album-image-visual-download {
  width: 100%;
  min-height: 40px;
  padding-right: 10px;
  padding-left: 10px;
  white-space: nowrap;
}
.album-image-visual-grid-banner .album-image-visual-download {
  min-height: 36px;
  font-size: .74rem;
}
body.modal-open {
  overflow: hidden;
}
.collection-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--primary-tint);
}
.collection-toolbar-left,
.collection-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.collection-toolbar-left {
  justify-content: flex-start;
  white-space: nowrap;
}
.collection-toolbar-right {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.collection-toolbar .btn,
.collection-toolbar .batch-quality,
.collection-toolbar .batch-quality-button {
  min-height: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 800;
}
.collection-toolbar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}
.collection-toolbar .btn i {
  line-height: 1;
}
.album-audio-spec-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(360px, 42vw);
  min-height: 36px;
  height: 36px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-audio-spec-status.running {
  color: var(--primary-deep);
}
.album-audio-spec-status.done {
  color: var(--muted);
}
.album-audio-spec-status.unavailable {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  color: var(--subtle);
  font-size: .96rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
#albumResultPanel .collection-toolbar:has(.album-audio-spec-status.unavailable:not(.d-none)) {
  grid-template-columns: minmax(0, 1fr);
}
#albumResultPanel .collection-toolbar:has(.album-audio-spec-status.unavailable:not(.d-none)) .collection-toolbar-left {
  display: none;
}
#albumResultPanel .collection-toolbar:has(.album-audio-spec-status.unavailable:not(.d-none)) .collection-toolbar-right {
  justify-content: center;
  width: 100%;
}
.album-download-unavailable {
  flex: 1 1 100%;
  color: var(--subtle);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}
.song-download-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--subtle);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}
.batch-quality-native {
  display: none;
}
.batch-quality {
  position: relative;
  min-width: 190px;
  height: 36px;
}
.batch-quality-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line-strong);
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  line-height: 1;
}
.batch-quality-button:focus-visible {
  outline: 2px solid rgba(36, 120, 182, .30);
  outline-offset: 2px;
}
.batch-quality-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--primary-deep);
  font-size: .86rem;
}
.batch-quality-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.batch-quality-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .72rem;
  transition: transform .16s ease;
}
.batch-quality.open .batch-quality-arrow {
  transform: rotate(180deg);
}
.batch-quality-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  display: none;
  width: 100%;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid rgba(105, 179, 231, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 38px rgba(53, 108, 148, .16);
}
.batch-quality.open .batch-quality-menu {
  display: grid;
}
.batch-quality-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid rgba(105, 179, 231, .12);
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  text-align: left;
}
.batch-quality-menu button:last-child {
  border-bottom: 0;
}
.batch-quality-menu button:hover,
.batch-quality-menu button:focus-visible {
  background: rgba(236, 248, 255, .82);
  outline: 0;
}
.batch-quality-menu button[aria-selected="true"] {
  color: var(--primary-deep);
  background: rgba(105, 179, 231, .14);
}
.selected-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.batch-lyric-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-deep);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.batch-lyric-toggle:hover {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--primary-deep);
}
.batch-lyric-icon {
  flex: 0 0 auto;
  font-size: .88rem;
  line-height: 1;
}
.batch-lyric-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.batch-lyric-box {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(105, 179, 231, .55);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 12px rgba(53, 108, 148, .08);
  transition: all .18s ease;
}
.batch-lyric-toggle input[type="checkbox"]:checked + .batch-lyric-box {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 6px 14px rgba(105, 179, 231, .28);
}
.batch-lyric-toggle input[type="checkbox"]:checked + .batch-lyric-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.batch-lyric-toggle input[type="checkbox"]:focus-visible + .batch-lyric-box {
  outline: 2px solid rgba(36, 120, 182, .30);
  outline-offset: 2px;
}
.batch-lyric-text {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
}
.batch-task {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}
.batch-task-panel {
  justify-self: stretch;
  align-items: flex-end;
  width: min(665px, 100%);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-left: auto;
  transform: none;
}
.batch-status-shell {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.batch-status-card {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(53, 108, 148, .08);
}
.batch-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.batch-status-label {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 900;
}
.batch-status-label span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.batch-status-label i {
  flex: 0 0 auto;
  color: var(--primary-deep);
}
.batch-status-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.batch-status-download {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.batch-status-download .btn {
  min-height: 31px;
  height: 31px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 900;
}
.batch-status-meter {
  display: block;
  flex: 1 1 auto;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(105, 179, 231, .18);
}
.batch-status-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-1);
  transition: width .22s ease;
}
.batch-status-percent {
  flex: 0 0 42px;
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 900;
  text-align: right;
}
.batch-status-card.error {
  border-color: rgba(218, 75, 75, .3);
  background: rgba(255, 247, 247, .9);
}
.batch-status-card.error .batch-status-label i,
.batch-status-card.error .batch-status-percent {
  color: #b42323;
}
.batch-status-card.error .batch-status-meter span {
  background: linear-gradient(135deg, #d94c4c, #b42323);
}
.batch-status-card.done {
  border-color: rgba(45, 143, 94, .28);
  background: rgba(245, 255, 250, .9);
}
.batch-status-card.done .batch-status-label i,
.batch-status-card.done .batch-status-percent {
  color: #1f7a4e;
}
.batch-status-card.done .batch-status-meter span {
  background: linear-gradient(135deg, #2d8f5e, #1f7a4e);
}
@media (max-width: 620px) {
  .batch-task-panel {
    width: 100%;
    transform: none;
  }
  .batch-status-shell {
    flex-wrap: wrap;
  }
  .batch-status-actions {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    flex-direction: row;
  }
  .batch-status-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}
.batch-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.batch-status-actions {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  flex: 0 0 116px;
  width: 116px;
  min-width: 116px;
  flex-direction: column;
  gap: 6px;
  order: -1;
}
.batch-status-actions .btn {
  width: 116px;
  min-width: 116px;
  height: 31px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.batch-status-actions .btn i {
  margin-right: 4px !important;
}
.batch-status-actions-spacer {
  visibility: hidden;
  pointer-events: none;
}
.batch-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.batch-progress {
  width: 92px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(105, 179, 231, .18);
}
.batch-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-1);
  transition: width .25s ease;
}
.batch-failures {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(214, 69, 69, .16);
  border-radius: 8px;
  background: rgba(214, 69, 69, .06);
  list-style: none;
}
.batch-failures li {
  display: grid;
  grid-template-columns: minmax(86px, 140px) 1fr;
  gap: 8px;
  padding: 3px 0;
}
.batch-failures strong,
.batch-failures span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.batch-failures span { color: #b33a3a; }
.collection-detect-progress {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(105, 179, 231, .24);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}
.collection-detect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.collection-detect-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--primary-deep);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.collection-detect-toggle {
  flex: 0 0 58px;
  width: 58px;
}
.collection-detect-meter {
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(105, 179, 231, .16);
}
.collection-detect-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width .18s ease;
}
.collection-detect-progress.paused .collection-detect-meter span {
  background: var(--subtle);
}
.collection-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 18px 18px;
}
.collection-row {
  display: grid;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 8px;
  border-radius: 8px;
}
.playlist-collection-row {
  grid-template-columns: 24px 36px minmax(300px, 1.7fr) minmax(146px, .76fr) minmax(148px, .82fr) minmax(190px, 1fr) 72px;
}
.album-collection-row {
  grid-template-columns: 24px 36px minmax(320px, 1.9fr) minmax(146px, .72fr) minmax(150px, .84fr) 72px;
}
.album-disc-row {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin: 8px 0 2px;
  padding: 0 8px;
  border-radius: 0;
  background: transparent;
}
.album-disc-row:hover {
  background: transparent;
}
.album-disc-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 900;
}
.album-disc-title i {
  color: var(--primary-deep);
}
.album-missing-track-row {
  color: var(--subtle);
  background: rgba(18, 28, 38, .025);
}
.album-missing-track-row:hover {
  background: rgba(18, 28, 38, .04);
}
.album-missing-track-row .cell-index,
.album-missing-track-row .cell-artist,
.album-missing-track-row .cell-duration,
.album-missing-track-text {
  color: var(--subtle);
}
.album-missing-track-text {
  font-size: .92rem;
  font-weight: 800;
}
.cell-audio-spec {
  min-width: 0;
  font-size: .76rem;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}
.cell-audio-spec span {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.audio-spec-text.ready {
  color: var(--primary-deep);
}
.audio-spec-text.pending,
.audio-spec-text.fallback {
  color: var(--subtle);
}
.audio-spec-text.declared {
  color: var(--subtle);
}
.album-prerelease-track-row {
  color: var(--subtle);
  background: rgba(18, 28, 38, .025);
}
.album-prerelease-track-row:hover {
  background: rgba(18, 28, 38, .04);
}
.album-prerelease-track-row .song-name-link,
.album-prerelease-track-row .text-link,
.album-prerelease-track-row .cell-index,
.album-prerelease-track-row .cell-artist,
.album-prerelease-track-row .cell-duration {
  color: var(--subtle);
}
.album-prerelease-track-row .song-detail-cover,
.album-prerelease-track-row .cover-img,
.album-prerelease-track-row img {
  opacity: .62;
}
.track-status-note {
  color: var(--subtle);
  font-size: .78rem;
  font-weight: 800;
}
.album-collection-row .cell-duration {
  justify-self: end;
  text-align: right;
  min-width: 48px;
}
.playlist-collection-row .cell-duration {
  justify-self: end;
  text-align: right;
  min-width: 48px;
}
.album-mv-row .collection-check {
  min-height: 17px;
}
.artist-top-song-row {
  grid-template-columns: 42px minmax(280px, 1.8fr) minmax(190px, 1fr) 64px 104px;
  padding-right: 8px;
  padding-left: 8px;
}
.artist-top-song-row .cell-duration,
.artist-top-song-row .cell-release-date {
  justify-self: start;
  min-width: 0;
  text-align: left;
}
.artist-top-song-row .cell-release-date {
  color: var(--subtle);
  font-size: .82rem;
  font-weight: 700;
}
.collection-row:hover { background: rgba(105, 179, 231, .10); }
.collection-check {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.collection-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.collection-check span {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(105, 179, 231, .55);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 12px rgba(53, 108, 148, .08);
  transition: all .18s ease;
}
.collection-check input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 6px 14px rgba(105, 179, 231, .28);
}
.collection-check input:checked + span::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.collection-head-row {
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--primary-tint);
  color: var(--subtle);
  font-size: .74rem;
  font-weight: 800;
  box-shadow: none;
}
.collection-head-row > div { text-align: left; }
.collection-head-row .cell-index,
.collection-head-row > div:first-child {
  text-align: right;
}
.album-collection-row.collection-head-row > div:nth-child(6) {
  text-align: right;
}
.album-collection-row .cell-index {
  text-align: left;
}
.album-collection-row .cell-artist,
.album-collection-row .cell-audio-spec {
  justify-self: start;
}
.playlist-collection-row .cell-artist,
.playlist-collection-row .cell-album,
.playlist-collection-row .cell-audio-spec {
  justify-self: start;
}
.collection-quality-empty {
  color: var(--subtle);
  font-size: .76rem;
  font-weight: 800;
}
.collection-quality-spec {
  display: flex;
  min-width: 0;
  line-height: 1.2;
}
.collection-quality-spec span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.collection-row .cell-actions .btn {
  width: 58px;
  min-width: 58px;
  padding-right: 0;
  padding-left: 0;
  text-align: center;
}
.collection-section {
  padding: 26px 22px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .68);
}
.artist-catalog-section {
  position: relative;
  padding: 28px 0 8px;
  border-top: 0;
}
.artist-catalog-section::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105, 179, 231, .38), transparent);
}
.artist-catalog-section:first-child {
  padding-top: 10px;
}
.artist-catalog-section:first-child::before {
  display: none;
}
.album-versions {
  padding: 22px 24px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .68);
}
.album-versions-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.album-versions-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}
.album-versions-toggle:hover {
  color: var(--primary-deep);
  text-decoration: underline;
}
.artist-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.artist-catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.artist-catalog-card:hover .artist-catalog-title {
  color: var(--primary);
  text-decoration: underline;
}
.artist-catalog-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary-soft);
  box-shadow: 0 10px 24px rgba(53, 108, 148, .08);
}
.artist-catalog-art .netease-cover {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.artist-catalog-title,
.artist-catalog-meta {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.artist-catalog-title {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
.artist-catalog-meta {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}
.artist-section-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.artist-track-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 4px;
}
.artist-top-songs-title {
  padding: 24px 22px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 8px;
}
.artist-catalog-section .compact-title small {
  text-align: right;
}
.artist-catalog-title {
  padding-top: 0;
}
.artist-section-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.artist-section-link:hover {
  color: var(--primary-deep);
  text-decoration: underline;
}
.artist-section-title {
  align-items: center;
  padding: 18px 22px 0;
  margin-bottom: 0;
}
.artist-section-title > div {
  min-width: 0;
}
.artist-section-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 22px 24px;
}
.artist-section-grid.artist-section-song-list {
  display: block;
}
.artist-section-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  margin-top: 6px;
  border: 1px dashed rgba(105, 179, 231, .38);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.artist-section-song-list .artist-section-loading {
  margin-top: 10px;
}
.artist-section-loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(105, 179, 231, .24);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.artist-section-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.artist-section-grid-round {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.artist-section-card:hover .artist-section-card-title {
  color: var(--primary);
  text-decoration: underline;
}
.artist-section-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary-soft);
  box-shadow: 0 10px 24px rgba(53, 108, 148, .08);
}
.artist-section-art .netease-cover {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.artist-section-card.round {
  align-items: center;
  text-align: center;
}
.artist-section-card.round .artist-section-art {
  width: min(136px, 100%);
  border-radius: 50%;
}
.artist-section-card.round .artist-section-art .netease-cover {
  border-radius: 50%;
}
.artist-section-card-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}
.artist-section-card-title-line .trait-badges {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 3px;
  white-space: nowrap;
}
.artist-section-card-title {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-section-card-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-album-item {
  display: grid;
  grid-template-columns: 28px 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid rgba(105, 179, 231, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
}
.artist-album-index {
  color: var(--subtle);
  font-size: .8rem;
  font-weight: 800;
  text-align: right;
}
.artist-album-cover {
  display: flex;
  align-items: center;
}
.artist-album-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.artist-album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}
.artist-album-actions {
  display: flex;
  justify-content: flex-end;
}
.artist-catalog-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}
.artist-catalog-title-line .artist-catalog-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-catalog-title-line .trait-badges {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 3px;
  white-space: nowrap;
}
.artist-catalog-section-similar_artists .artist-catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.artist-catalog-section-similar_artists .artist-catalog-card {
  align-items: center;
  text-align: center;
}
.artist-catalog-section-similar_artists .artist-catalog-art {
  width: min(116px, 100%);
  border-radius: 50%;
}
.artist-catalog-section-similar_artists .artist-catalog-art .netease-cover {
  border-radius: 50%;
}
.artist-catalog-section-similar_artists .artist-catalog-title-line {
  justify-content: center;
  max-width: 100%;
}
.artist-catalog-section-similar_artists .artist-catalog-title,
.artist-catalog-section-similar_artists .artist-catalog-meta {
  max-width: 100%;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat-card {
  padding: 14px;
  border: 1px solid rgba(105, 179, 231, .18);
  border-radius: 14px;
  background: var(--primary-tint);
}
.stat-card span { display: block; color: var(--muted); font-size: .82rem; font-weight: 800; }
.stat-card strong { display: block; margin-top: 8px; color: var(--primary-deep); font-size: 1.5rem; line-height: 1; }
.history-refresh {
  min-height: 34px;
  padding-right: 12px;
  padding-left: 12px;
}
.history-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 12px;
}
.history-list .empty-row {
  margin: 0;
  border-radius: 0;
}
.history-table-wrap { width: 100%; overflow: visible; }
.history-table,
.history-detail-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
}
.history-table th:nth-child(1),
.history-table td:nth-child(1) { width: 16%; }
.history-table th:nth-child(2),
.history-table td:nth-child(2) { width: 8%; }
.history-table th:nth-child(3),
.history-table td:nth-child(3) { width: 42%; }
.history-table th:nth-child(4),
.history-table td:nth-child(4) { width: 14%; }
.history-table th:nth-child(5),
.history-table td:nth-child(5) { width: 10%; }
.history-table th:nth-child(6),
.history-table td:nth-child(6) { width: 10%; }
.history-table th,
.history-table td,
.history-detail-table th,
.history-detail-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.history-table th,
.history-detail-table th {
  color: var(--subtle);
  background: var(--primary-tint);
  font-size: .74rem;
  font-weight: 900;
}
.history-table tbody tr:hover { background: rgba(105, 179, 231, .08); }
.history-title {
  display: block;
  max-width: none;
  overflow: visible;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 900;
  text-align: left;
  text-overflow: clip;
  white-space: normal;
}
.history-open-detail {
  color: var(--ink);
  font-weight: 900;
}
.history-open-detail:hover { color: var(--primary-deep); }
.history-name-cell {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: none;
  min-width: 0;
  flex-wrap: wrap;
}
.history-name-cell .history-title { flex: 0 1 auto; }
.history-name-cell .toggle-history-items { flex: 0 0 auto; }
.history-table small {
  display: block;
  flex: 0 0 100%;
  margin-top: -3px;
  color: var(--subtle);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.35;
}
.history-quality {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  padding: 0;
  color: inherit;
  line-height: 1.15;
}
.history-quality strong {
  display: block;
  max-width: none;
  overflow: visible;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 900;
  text-overflow: clip;
  white-space: normal;
}
.history-quality-en {
  display: block;
  max-width: none;
  overflow: visible;
  color: var(--subtle);
  font-size: .66rem;
  font-weight: 900;
  text-overflow: clip;
  white-space: normal;
}
.history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(105, 179, 231, .12);
  color: var(--primary-deep);
  font-size: .72rem;
  font-weight: 900;
}
.history-detail-row td {
  padding: 0 12px 10px;
  background: rgba(246, 251, 255, .72);
}
.history-detail-row.d-none { display: none; }
.history-detail-loading {
  padding: 12px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.history-error-cell {
  max-width: none;
  overflow: visible;
  color: #b33a3a !important;
  text-overflow: clip;
}
.history-detail-table {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.history-detail-table th,
.history-detail-table td {
  padding: 8px 10px;
  font-size: .72rem;
}
.history-inline-player {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
.history-inline-player audio {
  width: min(260px, 100%);
  max-width: 100%;
}
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.row-actions button,
.file-links a,
.file-links button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(105, 179, 231, .28);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--primary-deep);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.row-actions button:hover,
.file-links a:hover,
.file-links button:hover:not(:disabled) { color: #fff; background: var(--gradient-1); border-color: transparent; }
.file-links button:disabled { opacity: .58; cursor: wait; }
.empty-row {
  padding: 22px;
  border: 1px dashed rgba(105, 179, 231, .30);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}
.empty-row-sub {
  display: block;
  margin-top: 6px;
  color: var(--subtle);
  font-size: .8rem;
  font-weight: 700;
}
.log-wrap {
  position: fixed;
  inset: 0;
  z-index: 2650;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px;
  background: rgba(18, 28, 38, .48);
  backdrop-filter: blur(2px);
}
.log-wrap.d-none {
  display: none !important;
}
.log-wrap > .result-title,
.log-wrap > pre,
.log-wrap > .file-links {
  width: min(760px, 100%);
}
.log-wrap > .result-title {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(18, 28, 38, .12);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--surface);
}
.log-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(105, 179, 231, .12);
  color: var(--primary-deep);
  cursor: pointer;
}
.log-close:hover {
  background: rgba(105, 179, 231, .22);
}
pre {
  min-height: 210px;
  max-height: 420px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: #12324a;
  color: #eaf6ff;
  white-space: pre-wrap;
  font-size: .86rem;
}
.log-wrap pre {
  min-height: 360px;
  max-height: min(620px, calc(100vh - 176px));
  border-radius: 0 0 14px 14px;
}
.file-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.preview-player {
  display: grid;
  gap: 10px;
  color: var(--primary-soft);
  font-weight: 800;
}
.preview-player audio {
  width: 100%;
  max-width: 100%;
}

.notice-stack {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(340px, calc(100% - 36px));
  pointer-events: none;
}
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(105, 179, 231, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(53, 108, 148, .16);
  backdrop-filter: blur(14px);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.45;
}
.notice-item.success i { color: var(--success); }
.notice-item.warning i { color: #bd7a11; }
.notice-item.error i { color: var(--danger); }

.scroll-top-button {
  position: fixed;
  left: min(calc(50% + 578px), calc(100vw - 86px));
  bottom: 22px;
  z-index: 1040;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(105, 179, 231, .42);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  color: var(--primary-deep);
  box-shadow: 0 12px 30px rgba(53, 108, 148, .16);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease, background .18s ease, color .18s ease;
}
.scroll-top-button.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-button:hover {
  border-color: transparent;
  background: var(--gradient-1);
  color: #fff;
}
.scroll-top-button i {
  font-size: .95rem;
  line-height: 1;
}
body:has(.global-player:not(.d-none)) .scroll-top-button {
  bottom: 116px;
}
@media (max-width: 1240px) {
  .scroll-top-button {
    left: auto;
    right: 30px;
  }
}
@media (max-width: 720px) {
  .scroll-top-button {
    left: auto;
    right: 16px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
  body:has(.global-player:not(.d-none)) .scroll-top-button {
    bottom: calc(236px + env(safe-area-inset-bottom, 0px));
  }
}

.footer-custom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 5;
  margin: 0 auto;
  padding: 0;
  color: var(--muted);
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
}
.footer-custom::before { content: none; }
.footer-body {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.top-row,
.bottom-row { display: flex; align-items: center; justify-content: center; width: 100%; }
.uptime-container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.uptime-title,
.runtime-block,
.site-brand-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 600;
}
.uptime-title .fas,
.runtime-block .fas,
.site-brand-line .fas { color: var(--primary-deep); }
.footer-analytics-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  text-decoration: none;
}
.footer-analytics-link:hover { color: var(--ink); }
.time-blocks {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.time-block {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  min-width: auto;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.time-value,
.time-number { color: var(--primary-deep); font-weight: 800; }
.time-label { color: var(--subtle); font-size: .68rem; }
.bottom-row { gap: 18px; flex-wrap: wrap; }
.footer-values {
  color: var(--subtle);
  line-height: 1.35;
}

body:has(.result-wrap:not(.d-none)) {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body:has(.result-wrap:not(.d-none)) .page {
  width: min(1120px, 100%);
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
  padding-right: 15px;
  padding-bottom: 32px;
  padding-left: 15px;
}

body:has(.result-wrap:not(.d-none)) .hero {
  height: auto;
  min-height: 0;
  padding: 7vh 0 0;
}

body:has(.result-wrap:not(.d-none)) .footer-custom {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 28px;
}

@media (max-width: 760px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .page {
    width: 100%;
    padding: 10px 9px 18px;
  }
  .topbar { top: 10px; }
  .brand span { display: none; }
  .history-button span { display: none; }
  .status-pill { padding: 8px 10px; }
  .hero {
    height: calc(100vh - 28px);
    height: calc(100dvh - 28px);
    padding-top: clamp(72px, 15dvh, 118px);
  }
  .hero-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }
  .hero-logo-disc {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 24px;
  }
  .hero-logo-disc::after {
    border-radius: 24px;
  }
  h1 { font-size: 1.75rem; }
  .subtitle { font-size: .9rem; }
  .search-card { margin-top: 22px; }
  .search-control-row { grid-template-columns: 1fr; gap: 8px; }
  .search-row { grid-template-columns: 1fr; border-radius: 22px; padding: 8px; }
  .storefront-control {
    width: 100%;
    min-height: 48px;
  }
  .storefront-button {
    min-height: 48px;
  }
  .storefront-button-name {
    max-width: none;
  }
  .storefront-dropdown {
    width: min(360px, calc(100vw - 32px));
    height: min(500px, calc(100vh - 24px));
  }
  #qualitySelect { max-width: 132px; }
  #sourceInput,
  #qualitySelect {
    min-height: 42px;
    font-size: 16px !important;
  }
  #smartSubmit {
    width: 100%;
    min-height: 44px;
  }
  .notice-line {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 10px 12px;
    font-size: .82rem;
  }
  .loading-pill {
    width: 100%;
    border-radius: 16px;
    flex-wrap: wrap;
  }
  .loading-progress-meter {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
  }
  .result-wrap { margin-top: 18px; padding: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .search-table-head { display: none; }
  .search-table-row.song-row,
  .search-table-row.mv-row,
  .search-table-row.album-row,
  .search-table-row.artist-row,
  .search-table-row.playlist-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 10px;
  }
  .search-table-row .cell-title { grid-column: 2; }
  .search-table-row .cell-artist,
  .search-table-row .cell-album,
  .search-table-row .cell-duration,
  .search-table-row .cell-actions {
    grid-column: 2;
  }
  .cell-index {
    grid-row: 1 / span 5;
    align-self: start;
    padding-top: 6px;
  }
  .search-extra-row .cell-index::after { display: none; }
  .cell-actions { justify-content: flex-start; }
  .cell-artist,
  .cell-album { max-width: 100%; }
  .row-actions { justify-content: flex-start; }
  .mv-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-quality-card {
    width: 100%;
    min-height: 80px;
    padding: 8px 9px;
  }
  .mv-quality-card[data-mv-audio] { min-height: 80px; }
  .mv-card-title strong { font-size: .78rem; }
  .mv-card-meta { font-size: .68rem; }
  .mv-card-primary { font-size: .68rem; }
  .song-detail-hero {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  #songInfoPanel .song-detail-hero {
    grid-template-columns: 1fr;
  }
  .song-cover-wrap,
  .song-detail-cover {
    width: 96px;
    height: 96px;
  }
  #songInfoPanel .song-cover-wrap,
  #songInfoPanel .song-detail-cover {
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .song-detail h2 {
    font-size: 1.25rem;
  }
  .detail-meta,
  .detail-status {
    gap: 8px 12px;
    font-size: .82rem;
  }
  .quality-section,
  .detail-lyrics,
  .song-related-section,
  .song-credits-section {
    padding: 16px;
  }
  .song-credits-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .song-related-mvs,
  .song-credit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .song-related-mv-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
  .song-related-mv-art {
    width: 64px;
    height: 64px;
  }
  .song-related-mv-tags {
    grid-column: 2;
    justify-content: flex-start;
  }
  .song-credit-person {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .song-credit-person img,
  .song-credit-avatar {
    width: 34px;
    height: 34px;
  }
  .history-list { padding: 8px; }
  .history-table-wrap { overflow: visible; }
  .history-table,
  .history-detail-table,
  .history-table thead,
  .history-detail-table thead,
  .history-table tbody,
  .history-detail-table tbody,
  .history-table tr,
  .history-detail-table tr,
  .history-table td,
  .history-detail-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .history-table thead,
  .history-detail-table thead {
    display: none;
  }
  .history-table tbody tr,
  .history-detail-table tbody tr {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid rgba(105, 179, 231, .20);
    border-radius: 14px;
    background: rgba(255, 255, 255, .76);
  }
  .history-table tbody tr:hover,
  .history-detail-table tbody tr:hover {
    background: #fff;
  }
  .history-detail-row {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  .history-detail-row > td {
    padding: 0 !important;
  }
  .history-table td,
  .history-detail-table td {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 7px 0;
    border-bottom: 1px solid rgba(105, 179, 231, .12);
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .history-table th:nth-child(n),
  .history-table td:nth-child(n),
  .history-detail-table th:nth-child(n),
  .history-detail-table td:nth-child(n) {
    width: 100%;
  }
  .history-table td:last-child,
  .history-detail-table td:last-child {
    border-bottom: 0;
  }
  .history-table td::before,
  .history-detail-table td::before {
    content: attr(data-label);
    color: var(--subtle);
    font-size: .72rem;
    font-weight: 900;
  }
  .history-name-cell,
  .history-title,
  .history-quality strong,
  .history-quality-en {
    max-width: none;
    white-space: normal;
  }
  .history-name-cell,
  .history-actions,
  .history-pagination {
    flex-wrap: wrap;
  }
  .history-actions .btn,
  .history-name-cell .btn {
    min-height: 32px;
  }
  .collection-head {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .album-collection-head,
  .playlist-collection-head,
  .artist-collection-head {
    grid-template-columns: 1fr;
  }
  .collection-head img {
    width: 96px;
    height: 96px;
  }
  .album-collection-head img,
  .playlist-collection-head img,
  .artist-collection-head img {
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .album-artwork-trigger {
    width: 96px;
  }
  .album-collection-head.with-description .album-cover-stack,
  .playlist-collection-head.with-description .album-cover-stack,
  .artist-collection-head.with-description .album-cover-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .album-collection-head.with-description .album-desc-block,
  .artist-collection-head.with-description .album-desc-block {
    grid-column: 1 / -1;
  }
  .album-artwork-dialog-body {
    gap: 12px;
    padding: 42px 16px 22px;
  }
  .album-artwork-dialog-multi {
    width: min(760px, 100%);
  }
  .album-visual-dialog {
    width: min(760px, 100%);
    height: auto;
    max-height: min(720px, calc(100vh - 14px));
  }
  .album-visual-dialog-artist-motion {
    width: min(760px, 100%);
    height: min(720px, calc(100vh - 14px));
  }
  .album-visual-dialog-image {
    height: auto;
    max-height: min(680px, calc(100vh - 14px));
  }
  .album-visual-dialog-logo {
    width: min(360px, 100%);
    max-height: min(460px, calc(100vh - 14px));
  }
  .album-visual-dialog-background {
    width: min(760px, 100%);
    max-height: min(680px, calc(100vh - 14px));
  }
  .album-visual-dialog-tall,
  .album-visual-dialog-banner {
    width: min(360px, 100%);
  }
  .album-visual-dialog-banner {
    height: auto;
    max-height: min(680px, calc(100vh - 14px));
  }
  .album-visual-dialog .album-artwork-close {
    top: 12px;
    right: 12px;
  }
  .album-visual-dialog .album-artwork-dialog-body {
    max-height: min(720px, calc(100vh - 14px));
    padding: 54px 14px 16px;
    overflow: auto;
  }
  .album-visual-dialog-banner .album-artwork-dialog-body {
    padding-right: 22px;
  }
  .album-visual-dialog-image .album-artwork-dialog-body {
    max-height: min(680px, calc(100vh - 14px));
    padding: 54px 14px 20px;
  }
  .album-visual-dialog-logo .album-artwork-dialog-body {
    min-height: 260px;
    max-height: min(460px, calc(100vh - 14px));
  }
  .album-artwork-preview img {
    width: min(100%, 360px);
  }
  .playlist-artwork-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .playlist-artwork-card {
    width: min(100%, 360px);
    grid-template-rows: auto auto auto auto;
  }
  .playlist-artwork-card-no-title {
    grid-template-rows: auto auto auto;
  }
  .playlist-artwork-card .album-artwork-preview img,
  .playlist-artwork-card .album-artwork-original-spec,
  .playlist-artwork-card .album-artwork-actions {
    width: min(100%, 360px);
  }
  .playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .record-label-artwork-card-banner,
  .playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .album-artwork-preview img,
  .playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .album-artwork-original-spec,
  .playlist-artwork-grid:has(.record-label-artwork-card-banner:only-child) .album-artwork-actions {
    width: min(100%, 360px);
  }
  .album-artwork-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .album-artwork-swatches {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .album-image-visual-grid-tall .album-image-visual-card,
  .album-image-visual-grid-banner .album-image-visual-card {
    width: min(100%, 300px);
    grid-template-rows: auto auto auto auto;
    gap: 8px;
  }
  .album-image-visual-grid-banner .album-image-visual-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .album-image-visual-grid-background .album-image-visual-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .album-image-visual-grid-banner .album-image-visual-spec {
    text-align: center;
  }
  .album-image-visual-grid-background .album-image-visual-spec {
    text-align: center;
  }
  .album-image-visual-downloads {
    gap: 7px;
  }
  .album-image-visual-grid-tall .album-image-visual-preview {
    max-height: min(460px, calc(100vh - 170px));
  }
  .album-image-visual-grid-banner .album-image-visual-preview {
    height: clamp(82px, 23vw, 110px);
    max-height: none;
  }
  .album-image-visual-grid-background .album-image-visual-card {
    width: min(100%, 100%);
    grid-template-rows: auto auto auto auto;
    gap: 8px;
  }
  .album-image-visual-grid-background .album-image-visual-preview {
    aspect-ratio: var(--visual-ratio, 2 / 1);
    max-height: none;
  }
  .album-image-visual-grid-background .album-image-visual-downloads {
    justify-self: stretch;
  }
  .album-image-visual-grid-logo .album-image-visual-card {
    width: min(100%, 300px);
    grid-template-rows: 118px auto auto;
  }
  .album-image-visual-grid-logo .album-image-visual-preview {
    height: 118px;
    padding: 16px;
  }
  .album-image-visual-grid-logo .album-image-visual-card img {
    max-height: 86px;
  }
  .album-image-visual-grid-logo .album-image-visual-downloads {
    width: 100%;
  }
  .album-image-visual-grid-banner.album-image-visual-grid-scrollable .album-image-visual-preview {
    max-height: none;
  }
  .album-image-visual-name {
    text-align: center;
  }
  .album-image-visual-spec {
    display: -webkit-box;
    white-space: normal;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .album-image-visual-download {
    min-height: 38px;
  }
  .album-motion-grid {
    --motion-video-width: min(100%, 360px, calc((100vh - 260px) * .75));
    --motion-stage-height: calc(var(--motion-video-width) * 1.333333);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    height: auto;
  }
  .album-motion-tabs {
    display: flex;
    gap: 8px;
    height: 38px;
    min-height: 38px;
    margin-bottom: 10px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid rgba(105, 179, 231, .22);
    border-radius: 10px;
    background: rgba(105, 179, 231, .08);
  }
  .album-motion-tab {
    flex: 1 1 0;
    min-width: 0;
    height: 30px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--primary-deep);
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
  }
  .album-motion-tab.active {
    background: #fff;
    box-shadow: 0 6px 14px rgba(53, 108, 148, .12);
  }
  .album-motion-grid-single {
    grid-template-columns: minmax(0, 1fr);
  }
  .album-motion-grid-dual {
    grid-template-columns: minmax(0, 1fr);
    flex: 1 1 auto;
    height: auto;
  }
  .album-motion-grid-artist.album-motion-grid-dual {
    grid-template-columns: minmax(0, 1fr);
  }
  .album-motion-card {
    grid-template-rows: 24px var(--motion-stage-height) auto;
    gap: 8px;
  }
  .album-motion-grid-artist .album-motion-card {
    grid-template-rows: 24px auto auto;
  }
  .album-motion-grid-artist .album-motion-preview {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .album-motion-grid-artist .album-motion-card-artist_square .album-motion-preview {
    width: 100%;
  }
  .album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-preview,
  .album-motion-grid-artist .album-motion-card-artist_wide .album-motion-preview {
    aspect-ratio: 16 / 9;
  }
  .album-motion-grid-artist .album-motion-card-artist_square .album-motion-video,
  .album-motion-grid-artist .album-motion-card-artist_fullscreen .album-motion-video,
  .album-motion-grid-artist .album-motion-card-artist_wide .album-motion-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .album-motion-grid-artist .album-motion-controls,
  .album-motion-grid-artist .album-motion-card-artist_square .album-motion-controls {
    width: 100%;
    grid-template-rows: minmax(28px, auto) 46px;
  }
  .album-motion-card.is-mobile-hidden {
    display: none;
  }
  .album-motion-controls {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(28px, auto) 46px;
    gap: 7px;
    height: auto;
    min-height: 0;
    padding: 0;
  }
  .album-motion-meta {
    display: grid;
    gap: 3px;
    height: auto;
    min-height: 28px;
  }
  .album-motion-meta span {
    display: -webkit-box;
    white-space: normal;
    line-height: 1.2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .album-motion-controls .album-motion-download-option {
    width: auto;
    min-width: 0;
    height: 46px;
    min-height: 46px;
  }
  .album-desc-block {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  .album-desc-body { padding-right: 58px; }
  .collection-toolbar {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 12px 16px;
  }
  .collection-toolbar-left,
  .collection-toolbar-right {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }
  .batch-quality {
    min-width: 0;
    width: 100%;
  }
  .collection-table {
    gap: 10px;
    padding: 10px;
  }
  .collection-head-row { display: none; }
  .collection-row,
  .playlist-collection-row,
  .album-collection-row,
  .artist-top-song-row {
    grid-template-columns: 24px 28px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 0;
    padding: 10px;
    border: 1px solid rgba(105, 179, 231, .16);
    background: rgba(255, 255, 255, .76);
  }
  .collection-row:hover { background: #fff; }
  .album-disc-row,
  .album-disc-row:hover {
    display: flex;
    min-height: 30px;
    padding: 4px 2px 0;
    border: 0;
    background: transparent;
  }
  .album-missing-track-row {
    background: rgba(18, 28, 38, .025);
  }
  .collection-row .collection-check {
    grid-row: 1 / span 6;
    align-self: start;
    padding-top: 8px;
  }
  .collection-row .cell-index {
    grid-row: 1 / span 6;
    align-self: start;
    padding-top: 7px;
  }
  .collection-row .cell-title,
  .collection-row .cell-artist,
  .collection-row .cell-album,
  .collection-row .cell-audio-spec,
  .collection-row .cell-duration,
  .collection-row .cell-release-date,
  .collection-row .cell-stereo-quality,
  .collection-row .cell-dolby-quality,
  .collection-row .cell-actions {
    grid-column: 3;
  }
  .collection-row .cell-actions {
    justify-content: flex-start;
  }
  .collection-section {
    padding: 14px 16px 16px;
  }
  .artist-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .artist-section-grid,
  .artist-section-grid-round {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 16px 16px;
  }
  .artist-section-grid.artist-section-song-list {
    display: block;
    padding: 12px 16px 16px;
  }
  .artist-top-songs-title {
    padding-right: 22px;
    padding-left: 22px;
  }
  .artist-catalog-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .artist-album-item {
    grid-template-columns: 24px 44px minmax(0, 1fr);
  }
  .artist-album-actions {
    grid-column: 3;
    justify-content: flex-start;
  }
  .global-player {
    left: 15px;
    right: 15px;
    bottom: 12px;
    width: auto;
    max-width: calc(100vw - 30px);
    gap: 7px;
    padding-right: 0;
    padding-left: 0;
    transform: none;
    overscroll-behavior: contain;
    touch-action: manipulation;
  }
  .global-player-shell {
    grid-template-columns: 52px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto auto;
    gap: 12px 9px;
    min-height: 146px;
    padding: 9px 10px;
    border-radius: 14px;
  }
  .global-player-lyric {
    min-height: 54px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: .78rem;
  }
  .global-player-lyric-line.pronunciation,
  .global-player-lyric-line.translation { font-size: .7rem; }
  .global-player-actions {
    grid-column: 1 / 3;
    grid-row: 2;
    flex-direction: row;
    justify-content: flex-start;
    gap: 9px;
  }
  .global-player-toggle {
    order: 1;
    width: 42px;
    height: 42px;
    font-size: .95rem;
  }
  .global-player-rewind { order: 2; }
  .global-player-forward { order: 3; }
  .global-player-skip {
    width: 36px;
    height: 36px;
    font-size: .76rem;
  }
  .global-player-cover-button {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 52px;
    height: 52px;
    border-radius: 9px;
  }
  .global-player-cover { border-radius: 9px; }
  .global-player-meta {
    grid-column: 2;
    grid-row: 1;
    gap: 3px;
  }
  .global-player-title { font-size: .82rem; }
  .global-player-subtitle-row,
  .global-player-album { font-size: .68rem; }
  .global-player-quality-actions {
    grid-column: 1 / 4;
    grid-row: 3;
    justify-self: center;
    align-self: center;
    width: min(230px, 100%);
    margin-top: 4px;
  }
  .global-quality-option {
    height: 36px;
    font-size: .72rem;
  }
  .global-player-progress {
    grid-column: 1 / 4;
    grid-row: 2;
    grid-template-columns: 38px minmax(80px, 1fr) 38px;
    gap: 6px;
    align-self: center;
    padding-left: 144px;
    font-size: .68rem;
  }
  .global-player-progress input { touch-action: pan-x; }
  .global-player-close {
    grid-column: 3;
    grid-row: 1;
    width: 32px;
    height: 32px;
  }
  .footer-custom { bottom: 10px; font-size: .72rem; }
  .footer-body { padding: 0 10px; border-radius: 0; }
  .footer-content { gap: 6px; }
  .bottom-row { gap: 8px; }
  .footer-values { display: block; max-width: 92vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .quality-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-card {
    min-height: 108px;
    padding: 10px 11px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .quality-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mv-option-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1101px) {
  .mv-option-grid[data-kind="audio"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
