:root {
  --theme: #c20c0c;
  --theme-dark: #8f0909;
  --theme-soft: #fff0ef;
  --yunnan-gold: #c89b3c;
  --yunnan-terracotta: #a85a3a;
  --yunnan-mountain: #1e3a5f;
  --yunnan-mist: #dce8e8;
  --ink: #111111;
  --ink-soft: #252525;
  --paper: #f6f4f0;
  --card: #ffffff;
  --muted: #716b6b;
  --line: rgba(17, 17, 17, 0.1);
  --shadow: 0 24px 70px rgba(37, 20, 20, 0.12);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 8% 0%, rgba(194, 12, 12, 0.12), transparent 28%),
    var(--paper);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(194, 12, 12, 0.3);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(22px);
}

.header-inner {
  width: min(980px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: max-content;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--theme);
  box-shadow: 0 12px 28px rgba(194, 12, 12, 0.24);
  font-size: 20px;
  font-weight: 900;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand strong .brand-red {
  color: var(--theme);
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.main-nav {
  order: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.header-top {
  display: contents;
}

.header-tools {
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  min-width: 70px;
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(37, 20, 20, 0.07);
  font-size: 12px;
  font-weight: 800;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.theme-toggle:hover {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.34);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
}

.theme-icon {
  grid-area: 1 / 1;
  width: 17px;
  height: 17px;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.theme-icon-sun {
  opacity: 0;
  transform: rotate(-35deg) scale(0.72);
}

.theme-icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-toggle.is-dark .theme-icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-toggle.is-dark .theme-icon-moon {
  opacity: 0;
  transform: rotate(35deg) scale(0.72);
}

.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: #555;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-button:hover {
  color: var(--theme);
  background: rgba(194, 12, 12, 0.06);
  transform: translateY(-1px);
}

.nav-button.active {
  color: #fff;
  background: var(--theme);
  box-shadow: 0 10px 22px rgba(194, 12, 12, 0.22);
}

.site-main {
  min-height: calc(100vh - 78px);
}

.page-view {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 90px;
  animation: page-in 480ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--theme);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  min-height: 590px;
  padding: clamp(34px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(194, 12, 12, 0.95), transparent 27%),
    radial-gradient(circle at 55% 110%, rgba(194, 12, 12, 0.55), transparent 38%),
    linear-gradient(135deg, #090909 0%, #1b1616 48%, #2a0f0f 100%);
  box-shadow: 0 32px 90px rgba(24, 12, 12, 0.24);
}

.hero-slider {
  padding: 0;
  display: block;
  background:
    radial-gradient(circle at 82% 22%, var(--slide-b), transparent 28%),
    radial-gradient(circle at 55% 110%, rgba(194, 12, 12, 0.5), transparent 38%),
    linear-gradient(135deg, #090909 0%, #1b1616 48%, #210d0d 100%);
  transition: background 500ms ease;
}

.hero-slide {
  position: relative;
  z-index: 2;
  min-height: 590px;
  padding: clamp(34px, 6vw, 76px);
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: 40px;
  animation: slide-in 520ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-subtitle {
  max-width: 620px;
  margin: -10px 0 16px;
  color: #ff8a84;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-panel .eyebrow {
  color: #ff8a84;
}

.hero-panel h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero-panel h1 span {
  display: block;
  color: #ff5a52;
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--theme);
  box-shadow: 0 16px 34px rgba(194, 12, 12, 0.3);
}

.button-primary:hover {
  background: #d51919;
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  margin: 48px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

.hero-stats div {
  min-width: 90px;
}

.hero-stats dt {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 430px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(194, 12, 12, 0.4);
  filter: blur(80px);
  transform: translate(-50%, -50%);
}

.vinyl {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(350px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      #151515 0,
      #151515 5px,
      #242424 6px,
      #151515 8px
    );
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 18px rgba(255, 255, 255, 0.025);
  transform: translate(-50%, -50%);
  animation: vinyl-spin 18s linear infinite;
}

@keyframes vinyl-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.vinyl::after {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  content: "";
  background: #0b0b0b;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.vinyl-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.ring-one {
  inset: 34px;
}

.ring-two {
  inset: 72px;
}

.vinyl-label {
  position: absolute;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--slide-a, var(--theme));
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 8px rgba(194, 12, 12, 0.16);
}

.floating-card {
  position: absolute;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(22, 18, 18, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.floating-card span,
.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.floating-card strong {
  font-size: 16px;
}

.floating-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.card-one {
  top: 52px;
  right: 0;
}

.card-two {
  bottom: 42px;
  left: 0;
}

.card-two strong {
  color: #ff6c64;
  font-size: 28px;
}

.slider-controls {
  position: absolute;
  right: clamp(28px, 6vw, 76px);
  bottom: 28px;
  left: clamp(28px, 6vw, 76px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.slider-arrow:hover {
  background: var(--theme);
  transform: translateY(-2px);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.24);
  transition:
    width 200ms ease,
    background 200ms ease;
}

.slider-dot.active {
  width: 54px;
  background: var(--slide-b, var(--theme));
}

.content-section {
  margin-top: 76px;
}

.section-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.page-hero h1,
.chart-panel-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.text-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--theme);
  background: transparent;
  cursor: pointer;
  color: var(--theme);
  font-weight: 800;
}

.release-banner {
  padding: 24px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 340px;
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.release-cover {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b));
}

.release-cover::after {
  position: absolute;
  right: -20%;
  bottom: -24%;
  width: 72%;
  aspect-ratio: 1;
  border: 26px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.release-cover > span {
  position: relative;
  z-index: 1;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 104px;
  font-weight: 900;
}

.release-cover > small {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.release-copy h2 {
  margin: 5px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.055em;
}

.release-copy > p:not(.card-kicker) {
  max-width: 520px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.8;
}

.release-meta {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.release-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #5f5959;
  background: #f2efeb;
  font-size: 11px;
  font-weight: 700;
}

.release-tracks {
  padding: 22px;
  border-radius: 22px;
  background: #f7f5f2;
}

.release-tracks > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.release-track {
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.release-track:last-child {
  border-bottom: 0;
}

.release-track > span {
  color: var(--theme);
  font-size: 11px;
  font-weight: 900;
}

.release-track strong,
.release-track small {
  display: block;
}

.release-track small,
.release-track time {
  color: var(--muted);
  font-size: 11px;
}

.release-track small {
  margin-top: 4px;
}

.home-hot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: stretch;
  gap: 24px;
}

.home-hot-chart .mini-chart-row {
  grid-template-columns: 44px minmax(0, 1fr) 64px 54px;
}

.hot-play-count {
  color: var(--muted);
  font-size: 11px;
}

.home-trend-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.18), transparent 25%),
    linear-gradient(145deg, #1d1616, #341010);
  box-shadow: var(--shadow);
}

.home-trend-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.home-trend-card > p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.8;
}

.trend-bars {
  margin: 28px 0;
  display: grid;
  gap: 18px;
}

.trend-bars div {
  display: grid;
  gap: 8px;
}

.trend-bars span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.trend-bars strong {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme), #ff6c64);
}

.trend-bars strong::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(100%);
}

.home-trend-card .button {
  margin-top: auto;
}

.dual-song-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.song-column {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.song-column-heading {
  min-height: 86px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.song-column-heading h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.song-column-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.dual-song-list {
  display: grid;
}

.dual-song-row {
  min-height: 68px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 34px 28px minmax(0, 1fr) 46px 48px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.dual-song-row:last-child {
  border-bottom: 0;
}

.dual-song-row:hover {
  background: var(--theme-soft);
}

.dual-song-play {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  box-shadow: 0 8px 18px rgba(194, 12, 12, 0.22);
  font-size: 9px;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.dual-song-play:hover {
  background: var(--theme-dark);
  transform: scale(1.08);
}

.dual-song-index {
  color: #9a9393;
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.dual-song-main strong,
.dual-song-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dual-song-main strong {
  font-size: 14px;
}

.dual-song-main small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.dual-song-tag,
.dual-song-hot {
  color: var(--theme);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.dual-song-row time {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.latest-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.latest-album-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(37, 20, 20, 0.09);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.latest-album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 64px rgba(37, 20, 20, 0.16);
}

.latest-album-cover {
  position: relative;
  aspect-ratio: 1 / 0.82;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.35), transparent 22%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b));
}

.latest-album-cover::before {
  position: absolute;
  right: -18%;
  bottom: -34%;
  width: 74%;
  aspect-ratio: 1;
  border: 28px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.latest-album-image,
.latest-artist-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
}

.latest-album-rank,
.latest-album-date {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.latest-album-rank {
  top: 18px;
  left: 20px;
}

.latest-album-date {
  top: 18px;
  right: 20px;
}

.latest-album-symbol {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.94);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 900;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.album-play-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  cursor: pointer;
  color: #fff;
  background: rgba(17, 17, 17, 0.76);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 800;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.album-play-button:hover {
  background: var(--theme);
  transform: translateY(-2px);
}

.latest-album-info {
  padding: 20px 20px 22px;
}

.latest-album-info h3 {
  margin: 4px 0 7px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.latest-album-info > p:not(.card-kicker) {
  margin: 0;
  color: var(--muted);
}

.latest-album-meta {
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.album-card {
  min-width: 0;
}

.album-cover {
  position: relative;
  aspect-ratio: 1 / 0.92;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.36), transparent 21%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b));
  box-shadow: 0 20px 44px rgba(26, 15, 15, 0.16);
}

.album-cover::before {
  position: absolute;
  inset: -35%;
  content: "";
  opacity: 0.32;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 44% 56% 48% 52%;
  transform: rotate(22deg);
}

.album-cover::after {
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1;
  border: 24px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.cover-symbol {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.94);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(64px, 9vw, 118px);
  font-weight: 900;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.cover-year {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.play-orb {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(17, 17, 17, 0.75);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.album-info {
  padding: 18px 4px 0;
}

.album-info h3,
.artist-preview h3,
.artist-card h3 {
  margin: 3px 0 7px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.album-info > p,
.artist-preview p,
.artist-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.album-summary {
  margin-top: 12px !important;
  font-size: 13px;
}

.card-kicker {
  color: var(--theme) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ethnic-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.ethnic-chip {
  min-height: 0;
  aspect-ratio: 1 / 0.95;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  color: #fff;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.34), transparent 70%),
    linear-gradient(145deg, var(--chip-a), var(--chip-b));
  text-align: left;
  box-shadow: 0 18px 40px rgba(28, 14, 14, 0.14);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.ethnic-chip:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(28, 14, 14, 0.22);
}

.ethnic-chip span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ethnic-chip strong {
  font-size: 18px;
}

.ethnic-chip small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.ethnic-filter-row {
  gap: 8px;
}

.ethnic-filter-row .filter-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.ethnic-selected-summary {
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, var(--summary-b), transparent 26%),
    linear-gradient(135deg, var(--summary-a), #1c1010 85%);
  box-shadow: var(--shadow);
}

.ethnic-selected-summary .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.ethnic-selected-summary h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.ethnic-summary-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ethnic-summary-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.ethnic-song-panel {
  margin-top: 24px;
}

.ethnic-song-row {
  grid-template-columns: 34px 28px minmax(0, 1fr) 82px 50px;
}

.ethnic-song-row time {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.ethnic-song-duration {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.artist-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.artist-preview {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(37, 20, 20, 0.07);
}

.artist-avatar {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--avatar-a), var(--avatar-b));
  box-shadow: 0 14px 30px rgba(28, 14, 14, 0.18);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-chart {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.mini-chart-row {
  min-height: 78px;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.mini-chart-row:last-child {
  border-bottom: 0;
}

.mini-chart-row strong,
.mini-chart-row small {
  display: block;
}

.mini-chart-row small {
  margin-top: 5px;
  color: var(--muted);
}

.mini-chart-row > span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rank-number {
  color: var(--theme);
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  max-width: 860px;
  margin-bottom: 44px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1;
}

.page-hero > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.filter-row,
.chart-tabs,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row {
  margin-bottom: 32px;
}

.album-filter-row {
  gap: 8px;
}

.album-filter-row .filter-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.filter-button,
.chart-tab,
.tag-row span {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  color: #5d5757;
  font-size: 13px;
  font-weight: 800;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.filter-button:hover,
.filter-button.active,
.chart-tab:hover,
.chart-tab.active {
  border-color: var(--theme);
  color: #fff;
  background: var(--theme);
}

.artist-spotlight {
  min-height: 390px;
  margin-bottom: 30px;
  padding: clamp(30px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 50%, rgba(194, 12, 12, 0.8), transparent 30%),
    linear-gradient(135deg, #111, #241616);
}

.spotlight-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.05em;
}

.spotlight-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
}

.artist-spotlight .tag-row span {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.spotlight-portrait {
  position: relative;
  width: 280px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e63d36, #7d0707);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.spotlight-portrait > span {
  position: relative;
  z-index: 2;
  font-size: 72px;
  font-weight: 900;
}

.portrait-rings {
  position: absolute;
  inset: -24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.portrait-rings::after {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.artist-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 46px rgba(37, 20, 20, 0.07);
}

.large-avatar {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  font-size: 28px;
}

.artist-card dl {
  margin: 22px 0 0;
  display: flex;
  gap: 30px;
}

.artist-card dl div {
  display: grid;
  gap: 3px;
}

.artist-card dt {
  font-size: 20px;
  font-weight: 900;
}

.artist-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.ethnic-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.ethnic-list {
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.ethnic-list-item {
  min-height: 70px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  background: transparent;
  text-align: left;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.ethnic-list-item:hover,
.ethnic-list-item.active {
  color: #fff;
  background: var(--theme);
}

.ethnic-list-item strong,
.ethnic-list-item small {
  display: block;
}

.ethnic-list-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ethnic-list-item:hover small,
.ethnic-list-item.active small {
  color: rgba(255, 255, 255, 0.62);
}

.ethnic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(194, 12, 12, 0.08);
}

.arrow {
  font-size: 18px;
}

.ethnic-detail {
  position: relative;
  min-height: 590px;
  padding: clamp(32px, 6vw, 70px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, var(--detail-b), transparent 32%),
    linear-gradient(145deg, var(--detail-a), #190b0b 82%);
  box-shadow: 0 28px 80px rgba(26, 15, 15, 0.22);
}

.ethnic-detail::after {
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border: 70px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.ethnic-detail-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.ethnic-detail .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.detail-number {
  color: rgba(255, 255, 255, 0.14);
  font-size: 70px;
  font-weight: 900;
  line-height: 0.8;
}

.ethnic-detail h2 {
  position: relative;
  z-index: 1;
  margin: 52px 0 18px;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.06em;
}

.detail-lead {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

.detail-meta {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-meta div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-meta dt {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.detail-meta dd {
  margin: 0;
  font-weight: 800;
  line-height: 1.6;
}

.chart-tabs {
  margin-bottom: 24px;
}

.chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 24px;
}

.chart-panel,
.chart-aside {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.chart-panel {
  overflow: hidden;
}

.chart-panel-heading {
  padding: 28px 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.chart-panel-heading h2 {
  font-size: 32px;
}

.chart-panel-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.song-table {
  display: grid;
}

.song-row {
  min-height: 82px;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 42px 38px minmax(0, 1fr) 60px 70px 54px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.song-row:last-child {
  border-bottom: 0;
}

.song-row:hover {
  background: var(--theme-soft);
}

.song-rank {
  color: var(--theme);
  font-size: 13px;
  font-weight: 900;
}

.song-play {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  box-shadow: 0 8px 18px rgba(194, 12, 12, 0.22);
  font-size: 10px;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.song-play:hover {
  background: var(--theme-dark);
  transform: scale(1.08);
}

.song-main strong,
.song-main small {
  display: block;
}

.song-main small {
  margin-top: 5px;
  color: var(--muted);
}

.song-trend {
  color: var(--theme);
  font-size: 11px;
  font-weight: 800;
}

.song-plays,
.song-duration {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.chart-aside {
  position: sticky;
  top: 102px;
  padding: 30px;
}

.chart-aside h2 {
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.chart-aside > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.tag-row span {
  min-height: 32px;
  cursor: default;
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.16);
  background: var(--theme-soft);
  font-size: 11px;
}

.trend-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.2), transparent 28%),
    var(--theme);
}

.trend-card span,
.trend-card strong,
.trend-card small {
  display: block;
}

.trend-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.trend-card strong {
  margin: 10px 0 5px;
  font-size: 38px;
}

.trend-card small {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.footer-intro,
.footer-copyright-wrap,
.friend-links {
  position: relative;
  z-index: 1;
}

.friend-links {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  border-bottom: 1px dashed var(--line);
}

.friend-links-heading {
  display: grid;
  gap: 5px;
}

.friend-links-label {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: var(--ink);
  font-size: 13px;
}

.friend-links-label::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  content: "";
  background: var(--theme);
  transform: translateY(-50%);
}

.friend-links-heading small {
  padding-left: 12px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  opacity: 0.62;
}

.friend-links-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.friend-link {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 9px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: 11px;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.friend-link:hover {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.28);
  background: rgba(194, 12, 12, 0.06);
  transform: translateY(-1px);
}

.friend-link img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 4px;
  object-fit: contain;
}

.friend-link-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  opacity: 0.55;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-copyright-wrap {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.footer-kicker {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.68;
}

.footer-copyright {
  margin: 0;
  padding: 7px 12px 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--theme) 16%, var(--line));
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.footer-copyright::before {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  content: "";
  background: var(--theme);
  box-shadow: 0 0 0 4px rgba(194, 12, 12, 0.1);
}

@media (max-width: 1080px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .release-banner {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .release-tracks {
    grid-column: 1 / -1;
  }

  .home-hot-layout {
    grid-template-columns: 1fr;
  }

  .album-grid,
  .latest-album-grid,
  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ethnic-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .artist-preview-grid {
    grid-template-columns: 1fr;
  }

  .chart-layout {
    grid-template-columns: 1fr;
  }

  .chart-aside {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    flex: 1;
    width: 100%;
    padding-bottom: 0;
    flex-wrap: wrap;
    gap: 6px;
    overflow: visible;
  }

  .nav-button {
    flex: 0 1 auto;
    padding: 0 12px;
  }

  .artist-spotlight {
    grid-template-columns: 1fr;
  }

  .dual-song-columns {
    grid-template-columns: 1fr;
  }

  .release-banner {
    grid-template-columns: 1fr;
  }

  .release-cover {
    width: min(280px, 100%);
  }

  .release-tracks {
    grid-column: auto;
  }

  .spotlight-portrait {
    width: 220px;
  }

  .ethnic-layout {
    grid-template-columns: 1fr;
  }

  .ethnic-selected-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .ethnic-summary-meta {
    justify-content: flex-start;
  }

  .ethnic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner,
  .page-view,
  .site-footer {
    width: min(100% - 24px, 980px);
  }

  .brand small {
    display: none;
  }

  .nav-button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .page-view {
    padding: 26px 0 64px;
  }

  .hero-panel {
    min-height: auto;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .hero-slider {
    padding: 0;
  }

  .hero-slide {
    min-height: auto;
    padding: 32px 24px 98px;
  }

  .hero-panel h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-stats {
    margin-top: 36px;
    gap: 20px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .floating-card {
    padding: 12px 14px;
  }

  .card-one {
    top: 12px;
  }

  .card-two {
    bottom: 8px;
  }

  .slider-controls {
    right: 24px;
    bottom: 24px;
    left: 24px;
    justify-content: space-between;
  }

  .release-banner {
    padding: 18px;
    border-radius: 24px;
  }

  .release-cover {
    border-radius: 20px;
  }

  .release-copy h2 {
    font-size: 38px;
  }

  .home-trend-card {
    padding: 26px 22px;
  }

  .song-column-heading {
    min-height: 76px;
    padding: 17px 18px;
  }

  .dual-song-row {
    padding: 0 15px;
    grid-template-columns: 32px minmax(0, 1fr) 44px;
    gap: 9px;
  }

  .dual-song-index,
  .dual-song-tag,
  .dual-song-hot {
    display: none;
  }

  .ethnic-song-row time {
    display: none;
  }

  .content-section {
    margin-top: 56px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .album-grid,
  .latest-album-grid,
  .artist-grid {
    grid-template-columns: 1fr;
  }

  .ethnic-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ethnic-chip {
    min-height: 0;
  }

  .mini-chart-row {
    padding: 0 18px;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .home-hot-chart .mini-chart-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .mini-chart-row > span:last-child {
    display: none;
  }

  .home-hot-chart .hot-play-count {
    display: none;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .ethnic-detail {
    min-height: 540px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .ethnic-list {
    grid-template-columns: 1fr;
  }

  .song-row {
    padding: 0 16px;
    grid-template-columns: 34px 34px minmax(0, 1fr);
    gap: 9px;
  }

  .song-trend,
  .song-plays,
  .song-duration {
    display: none;
  }

  .chart-panel-heading {
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .friend-links {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .friend-links-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .friend-links-heading small {
    padding-left: 0;
  }

  .friend-links-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-copyright-wrap {
    justify-items: start;
    text-align: left;
  }
}

/* Full-width compact home slider */
body {
  overflow-x: hidden;
}

.hero-slider {
  width: 100vw;
  max-width: 100vw;
  height: 285px;
  min-height: 285px;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
}

.hero-slider .hero-slide {
  height: 285px;
  min-height: 285px;
  padding: 26px clamp(28px, 6vw, 76px) 56px;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  gap: 24px;
}

.hero-slider .eyebrow {
  margin-bottom: 5px;
}

.hero-slider h1 {
  margin-bottom: 6px;
  font-size: clamp(34px, 4vw, 56px);
}

.hero-slider .slide-subtitle {
  margin: 0 0 7px;
  font-size: 14px;
}

.hero-slider .hero-lead {
  max-width: 590px;
  margin-bottom: 14px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-slider .hero-actions {
  gap: 9px;
}

.hero-slider .button {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 12px;
  font-size: 13px;
}

.hero-slider .hero-stats {
  display: none;
}

.hero-slider .hero-visual {
  height: 190px;
  min-height: 190px;
}

.hero-slider .vinyl {
  width: 190px;
}

.hero-slider .vinyl-label {
  width: 70px;
  height: 70px;
  font-size: 16px;
}

.hero-slider .floating-card {
  padding: 10px 12px;
}

.hero-slider .floating-card span {
  margin-bottom: 3px;
  font-size: 8px;
}

.hero-slider .floating-card strong {
  font-size: 13px;
}

.hero-slider .floating-card small {
  margin-top: 2px;
  font-size: 9px;
}

.hero-slider .card-one {
  top: 0;
  right: 0;
}

.hero-slider .card-two {
  display: none;
}

.hero-slider .slider-controls {
  right: clamp(28px, 6vw, 76px);
  bottom: 14px;
  left: clamp(28px, 6vw, 76px);
}

.hero-slider .slider-arrow {
  width: 36px;
  height: 36px;
}

@media (max-width: 760px) {
  .hero-slider .hero-slide {
    grid-template-columns: 1fr;
    padding: 24px 24px 56px;
  }

  .hero-slider .hero-visual {
    display: none;
  }

  .hero-slider .hero-lead {
    display: none;
  }

  .hero-slider h1 {
    font-size: 34px;
  }

  .hero-slider .slider-controls {
    right: 24px;
    left: 24px;
  }
}

/* Keep the six latest albums in one horizontal row */
.latest-album-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  padding-bottom: 0;
}

.latest-album-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.latest-album-cover {
  aspect-ratio: 1 / 0.92;
}

.latest-album-rank,
.latest-album-date {
  font-size: 8px;
}

.latest-album-rank {
  top: 12px;
  left: 12px;
}

.latest-album-date {
  top: 12px;
  right: 12px;
}

.latest-album-symbol {
  font-size: 54px;
}

.artist-latest-symbol {
  font-family: inherit;
  font-size: 34px;
  letter-spacing: 0.08em;
}

.album-play-button {
  right: 10px;
  bottom: 10px;
  left: 10px;
  min-height: 38px;
  padding: 0 4px;
  gap: 5px;
  border-radius: 10px;
  font-size: 10px;
}

.latest-album-info {
  flex: 1;
  padding: 14px 14px 16px;
}

.latest-album-info h3 {
  margin: 3px 0 5px;
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-album-info > p:not(.card-kicker) {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-album-meta {
  margin-top: 11px;
  padding-top: 10px;
  font-size: 9px;
}

/* Theme transition */
html.theme-transition,
html.theme-transition body,
html.theme-transition body *,
html.theme-transition body *::before,
html.theme-transition body *::after {
  transition:
    background-color 420ms ease,
    border-color 420ms ease,
    color 420ms ease,
    fill 420ms ease,
    stroke 420ms ease,
    box-shadow 420ms ease !important;
}

/* Dark theme */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f4f5;
  --ink-soft: #e4e4e7;
  --paper: #101214;
  --card: #191b1f;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.12);
  --theme-soft: rgba(194, 12, 12, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] body {
  background:
    linear-gradient(rgba(16, 18, 20, 0.84), rgba(16, 18, 20, 0.84)),
    radial-gradient(circle at 8% 0%, rgba(194, 12, 12, 0.2), transparent 30%),
    var(--paper);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.09);
  background: rgba(16, 18, 20, 0.9);
}

:root[data-theme="dark"] .nav-button {
  color: #b8b8c0;
}

:root[data-theme="dark"] .nav-button:hover {
  color: #ff625b;
  background: rgba(194, 12, 12, 0.14);
}

:root[data-theme="dark"] .nav-button.active {
  color: #fff;
  background: var(--theme);
}

:root[data-theme="dark"] .theme-toggle {
  color: #f4f4f5;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .theme-toggle:hover {
  color: #ff7069;
  border-color: rgba(194, 12, 12, 0.56);
  background: rgba(194, 12, 12, 0.14);
}

:root[data-theme="dark"] :is(
    .latest-album-card,
    .artist-preview,
    .mini-chart,
    .artist-card,
    .ethnic-list,
    .chart-panel,
    .chart-aside,
    .release-banner,
    .song-column
  ) {
  border-color: var(--line);
  background: rgba(25, 27, 31, 0.94);
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .release-tracks {
  background: #202226;
}

:root[data-theme="dark"] .filter-button,
:root[data-theme="dark"] .chart-tab {
  color: #b8b8c0;
  border-color: var(--line);
  background: rgba(25, 27, 31, 0.9);
}

:root[data-theme="dark"] .filter-button:hover,
:root[data-theme="dark"] .filter-button.active,
:root[data-theme="dark"] .chart-tab:hover,
:root[data-theme="dark"] .chart-tab.active {
  color: #fff;
  border-color: var(--theme);
  background: var(--theme);
}

:root[data-theme="dark"] .dual-song-row:hover {
  background: rgba(194, 12, 12, 0.12);
}

:root[data-theme="dark"] .song-column-heading,
:root[data-theme="dark"] .dual-song-row,
:root[data-theme="dark"] .latest-album-meta,
:root[data-theme="dark"] .site-footer {
  border-color: var(--line);
}

:root[data-theme="dark"] .album-play-button {
  background: rgba(7, 9, 11, 0.82);
}

:root[data-theme="dark"] .album-play-button:hover {
  background: var(--theme);
}

@media (max-width: 860px) {
  .header-actions {
    width: 100%;
  }

  .header-actions .main-nav {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 680px) {
  .theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 860px) {
  .latest-album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .latest-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .latest-album-rank,
  .latest-album-date {
    font-size: 7px;
  }

  .album-play-button {
    min-height: 36px;
    font-size: 9px;
  }
}

.player-icon-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.player-icon-action {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.player-icon-action:hover,
.player-icon-action.active {
  color: #fff;
  background: var(--theme);
  transform: translateY(-1px);
}

.player-icon-action.active svg {
  fill: currentColor;
}

.dual-song-row {
  grid-template-columns: 34px 28px minmax(0, 1fr) 46px 48px 60px;
}

.song-row {
  grid-template-columns: 42px 38px minmax(0, 1fr) 60px 70px 54px 60px;
}

.song-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.song-action-button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.song-action-button:hover,
.song-action-button.active {
  color: #fff;
  border-color: var(--theme);
  background: var(--theme);
}

.album-card-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.album-card-actions .album-play-button {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 1;
}

.album-favorite-button {
  flex: 0 0 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  background: rgba(17, 17, 17, 0.76);
  backdrop-filter: blur(14px);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.album-favorite-button:hover,
.album-favorite-button.active {
  background: var(--theme);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .song-action-button {
  color: #b8b8c0;
  border-color: var(--line);
}

@media (max-width: 680px) {
  .player-icon-action {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .dual-song-row {
    grid-template-columns: 32px minmax(0, 1fr) 60px;
  }

  .dual-song-row .song-row-actions,
  .song-row .song-row-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .song-row {
    grid-template-columns: 34px 34px minmax(0, 1fr) 60px;
  }

  .song-row .song-row-actions {
    grid-column: 4;
  }

  .album-card-actions {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .album-card-actions .album-play-button {
    min-height: 32px;
  }

  .album-favorite-button {
    flex-basis: 32px;
    min-height: 32px;
  }
}

.account-wrap {
  position: relative;
}

.account-button {
  position: relative;
  min-height: 42px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(37, 20, 20, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.account-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  object-fit: cover;
}

.account-avatar-placeholder {
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(145deg, #d51b1b, var(--theme-dark));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 10px rgba(194, 12, 12, 0.2);
}

.account-avatar-icon {
  width: 17px;
  height: 17px;
  display: block;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.account-menu-user {
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--line);
}

.account-menu-user strong,
.account-menu-user small {
  display: block;
}

.account-menu-user small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.account-menu button {
  width: 100%;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.account-menu button:hover {
  background: var(--theme-soft);
}

.account-menu button.danger {
  color: var(--theme);
}

.account-notification-badge,
.menu-notification-count {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--theme);
  font-size: 9px;
  font-weight: 900;
}

.account-notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid var(--paper);
}

.menu-notification-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(9, 10, 12, 0.7);
  backdrop-filter: blur(14px);
}

.auth-modal {
  position: relative;
  width: min(820px, 100%);
  height: min(760px, calc(100vh - 40px));
  max-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--ink);
  background: var(--card);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.auth-brand-panel {
  position: relative;
  isolation: isolate;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.18), transparent 27%),
    radial-gradient(circle at 82% 78%, rgba(200, 155, 60, 0.24), transparent 30%),
    linear-gradient(155deg, #d31a1a 0%, #a20a0a 48%, #5d0909 100%);
}

.auth-brand-panel::before {
  position: absolute;
  inset: auto -32px -8px;
  z-index: -1;
  height: 180px;
  content: "";
  opacity: 0.24;
  background: url("/static/yunnan-mountains.svg") center bottom / contain no-repeat;
}

.auth-brand-panel::after {
  position: absolute;
  right: -62px;
  top: -54px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.035),
    0 0 0 58px rgba(255, 255, 255, 0.025);
}

.auth-brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-top > span:last-child {
  min-width: 0;
}

.auth-brand-top strong,
.auth-brand-top small {
  display: block;
}

.auth-brand-top strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.auth-brand-top small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.auth-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 20px;
  font-weight: 900;
}

.auth-brand-copy {
  margin-top: auto;
}

.auth-brand-eyebrow {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.auth-brand-copy h3 {
  margin: 13px 0 14px;
  color: #fff;
  font-size: 27px;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.auth-brand-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.8;
}

.auth-benefits {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
}

.auth-benefits li span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 10px;
}

.auth-form-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 36px 38px 32px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(194, 12, 12, 0.055), transparent 28%),
    var(--card);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.auth-close:hover {
  color: var(--theme);
  border-color: var(--line);
  background: var(--theme-soft);
}

.auth-close svg {
  width: 17px;
  height: 17px;
}

.auth-tabs {
  margin-bottom: 26px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 13px;
  background: var(--paper);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.auth-tabs button.active {
  color: #fff;
  background: var(--theme);
  box-shadow: 0 8px 18px rgba(194, 12, 12, 0.2);
}

.auth-mode-heading {
  min-height: 48px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.auth-back-button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.auth-back-button:hover {
  color: var(--theme);
}

.auth-eyebrow {
  margin-bottom: 7px;
}

.auth-form-panel > h3 {
  margin: 0 0 9px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.auth-description {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form label > span,
.auth-captcha > div > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap input,
.auth-captcha input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.auth-input-wrap input {
  padding: 0 44px 0 41px;
}

.auth-input-wrap input:focus,
.auth-captcha input:focus {
  border-color: rgba(194, 12, 12, 0.55);
  box-shadow: 0 0 0 3px rgba(194, 12, 12, 0.1);
}

.auth-input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
}

.auth-password-toggle:hover {
  color: var(--theme);
  background: var(--theme-soft);
}

.auth-password-toggle svg {
  width: 17px;
  height: 17px;
}

.auth-error {
  margin: 0;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(194, 12, 12, 0.18);
  border-radius: 11px;
  color: #a80808;
  background: rgba(194, 12, 12, 0.075);
  font-size: 12px;
  line-height: 1.55;
}

.auth-success {
  margin: 0;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(15, 118, 75, 0.2);
  border-radius: 11px;
  color: #0f764b;
  background: rgba(15, 118, 75, 0.075);
  font-size: 12px;
  line-height: 1.55;
}

.auth-error svg,
.auth-success svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
}

.auth-password-meter {
  margin-top: -4px;
  display: grid;
  gap: 7px;
}

.auth-password-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.auth-password-meter-head strong {
  color: var(--ink);
  font-size: 10px;
}

.auth-password-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.auth-password-bars i {
  height: 3px;
  border-radius: 999px;
  background: var(--line);
}

.auth-password-bars[data-score="1"] i:nth-child(-n + 1) {
  background: #dc2626;
}

.auth-password-bars[data-score="2"] i:nth-child(-n + 2) {
  background: #d97706;
}

.auth-password-bars[data-score="3"] i:nth-child(-n + 3) {
  background: #b98c35;
}

.auth-password-bars[data-score="4"] i {
  background: #16a34a;
}

.auth-password-meter p {
  margin: 0;
  color: #16a34a;
  font-size: 10px;
}

.auth-password-meter p.invalid {
  color: var(--theme);
}

.auth-check-row {
  min-height: 28px;
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  cursor: pointer;
}

.auth-check-row input,
.auth-agreement > input {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
  accent-color: var(--theme);
}

.auth-check-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.auth-captcha {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 52px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}

.auth-captcha-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.auth-captcha-image {
  width: 132px;
  height: 44px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0 !important;
  background: #fff !important;
}

.auth-captcha-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.auth-captcha-image span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.auth-captcha-refresh {
  padding: 0 7px !important;
}

.auth-captcha input {
  padding: 0 10px;
  text-align: center;
}

.auth-captcha button {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  background: var(--card);
  font-size: 10px;
  font-weight: 800;
}

.auth-captcha button:hover {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.34);
}

.auth-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.auth-agreement label {
  display: inline;
  cursor: pointer;
}

.auth-agreement button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--theme);
  background: transparent;
  font-size: inherit;
  font-weight: 800;
}

.auth-agreement button:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 700ms linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-switch-line {
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.auth-switch-line button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--theme);
  background: transparent;
  font-size: inherit;
  font-weight: 800;
}

.auth-policy-view {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.auth-policy-back {
  width: max-content;
  min-height: 34px;
  margin-bottom: 22px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  color: var(--muted);
  background: var(--paper);
  font-size: 11px;
  font-weight: 800;
}

.auth-policy-back:hover {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.34);
}

.auth-policy-content {
  display: grid;
  gap: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.auth-policy-content p {
  margin: 0;
}

:root[data-theme="dark"] .auth-form-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(194, 12, 12, 0.1), transparent 28%),
    var(--card);
}

:root[data-theme="dark"] .auth-input-wrap input,
:root[data-theme="dark"] .auth-captcha input {
  background: #17191d;
}

:root[data-theme="dark"] .auth-error {
  color: #ff8d87;
  background: rgba(194, 12, 12, 0.12);
}

:root[data-theme="dark"] .auth-success {
  color: #6ee7b7;
  background: rgba(15, 118, 75, 0.13);
}

:root[data-theme="dark"] .account-button {
  color: #f4f4f5;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 680px) {
  .account-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .account-label {
    display: none;
  }

  .auth-overlay {
    padding: 12px;
  }

  .auth-modal {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-radius: 20px;
  }

  .auth-brand-panel {
    min-height: 178px;
    padding: 23px 22px 21px;
    gap: 14px;
  }

  .auth-brand-copy {
    margin-top: auto;
  }

  .auth-brand-copy h3 {
    margin: 8px 0 7px;
    font-size: 20px;
  }

  .auth-brand-copy p {
    max-width: 92%;
    font-size: 10px;
    line-height: 1.65;
  }

  .auth-benefits {
    display: none;
  }

  .auth-form-panel {
    padding: 26px 20px 24px;
    overflow: visible;
  }

  .auth-form-panel > h3 {
    font-size: 24px;
  }

  .auth-close {
    top: 12px;
    right: 12px;
    border-color: var(--line);
    background: var(--card);
  }

  .auth-captcha {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .auth-captcha-refresh {
    grid-column: 1 / -1;
    min-height: 36px;
  }
}

@media (min-width: 681px) and (max-width: 820px) {
  .auth-modal {
    grid-template-columns: 235px minmax(0, 1fr);
  }

  .auth-brand-panel {
    padding: 30px 22px 26px;
  }

  .auth-brand-copy h3 {
    font-size: 23px;
  }

  .auth-form-panel {
    padding: 32px 28px 28px;
  }
}

.account-center-tabs {
  margin-bottom: 28px;
  padding: 5px;
  display: inline-flex;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
}

.account-center-tabs button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.account-center-tabs button.active {
  color: #fff;
  background: var(--theme);
}

.account-loading,
.account-empty {
  padding: 44px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.account-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 24px;
}

.account-profile-form,
.account-profile-card,
.account-list-card,
.account-playlist-form,
.account-playlist-card,
.account-following-card,
.account-notification-section,
.account-history-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.account-avatar-upload {
  position: relative;
  margin-bottom: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

.account-avatar-upload-preview {
  width: 88px;
  height: 88px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 3px solid var(--card);
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(145deg, var(--theme), var(--theme-dark));
  box-shadow: 0 14px 30px rgba(37, 20, 20, 0.16);
  font-size: 32px;
  font-weight: 900;
}

.account-avatar-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-upload-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.account-avatar-upload-copy > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.account-avatar-upload-copy > strong {
  font-size: 16px;
}

.account-avatar-upload-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.account-avatar-upload-actions {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-avatar-upload-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(194, 12, 12, 0.24);
  border-radius: 10px;
  cursor: pointer;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 10px;
  font-weight: 800;
}

.account-avatar-upload-actions button:hover {
  color: #fff;
  border-color: var(--theme);
  background: var(--theme);
}

.account-avatar-error {
  color: #d11b1b;
  font-size: 10px;
  font-weight: 700;
}

.account-avatar-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-form-grid label {
  display: grid;
  gap: 7px;
}

.account-form-grid label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.account-form-grid input,
.account-form-grid select,
.account-form-grid textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
}

.account-form-grid textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.account-form-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--theme);
  font-size: 12px;
}

.account-profile-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.account-profile-card > img,
.account-profile-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(37, 20, 20, 0.16);
}

.account-profile-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--theme);
  font-size: 42px;
  font-weight: 900;
}

.account-profile-card h2 {
  margin: 18px 0 4px;
}

.account-profile-card p,
.account-profile-card small {
  margin: 0;
  color: var(--muted);
}

.account-profile-card small {
  margin-top: 10px;
}

.account-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.full-account-card {
  grid-column: 1 / -1;
}

.account-list-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-list-heading h2 {
  margin: 0;
  font-size: 23px;
}

.account-list-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.account-song-list,
.account-album-list,
.account-history-list {
  display: grid;
}

.account-song-row,
.account-album-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.account-song-row:last-child,
.account-album-row:last-child {
  border-bottom: 0;
}

.account-song-row strong,
.account-song-row small,
.account-album-row strong,
.account-album-row small {
  display: block;
}

.account-song-row small,
.account-album-row small,
.account-album-row > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.account-song-row button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  font-size: 11px;
}

.account-song-row button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.account-song-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.account-song-actions select {
  min-height: 32px;
  max-width: 130px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  font-size: 10px;
}

.account-playlist-layout {
  display: grid;
  gap: 22px;
}

.account-playlist-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 12px;
}

.account-playlist-fields > input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
}

.account-playlist-public {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.account-form-message {
  margin: 12px 0 0;
  color: var(--theme);
  font-size: 12px;
}

.account-playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.account-playlist-card {
  min-width: 0;
}

.account-playlist-card .account-list-heading > div {
  min-width: 0;
}

.account-playlist-card .account-list-heading small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.account-delete-button,
.account-remove-song {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 10px;
  font-weight: 800;
}

.account-playlist-description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.account-playlist-song-list {
  display: grid;
}

.account-playlist-song-row {
  min-height: 54px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.account-playlist-song-row:last-child {
  border-bottom: 0;
}

.account-playlist-song-row > button:first-child {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  font-size: 8px;
}

.account-playlist-song-row strong,
.account-playlist-song-row small {
  display: block;
}

.account-playlist-song-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.account-playlist-empty {
  padding: 24px 14px;
}

.account-following-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.account-following-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.account-following-avatar {
  width: 88px;
  height: 88px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--theme);
  font-size: 30px;
  font-weight: 900;
}

.account-following-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-following-main {
  margin-top: 14px;
}

.account-following-main h2 {
  margin: 0;
  font-size: 20px;
}

.account-following-main p,
.account-following-main small {
  display: block;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.account-following-actions {
  width: 100%;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-following-actions button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  font-size: 10px;
  font-weight: 800;
}

.account-following-actions .account-unfollow-button {
  color: var(--theme);
  background: var(--theme-soft);
}

.account-notification-section .account-list-heading > div small {
  display: block;
  margin-top: 5px;
  color: var(--theme);
  font-size: 10px;
}

.account-notification-list {
  display: grid;
}

.account-notification-row {
  position: relative;
  min-height: 86px;
  padding: 14px 26px 14px 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 160ms ease;
}

.account-notification-row:last-child {
  border-bottom: 0;
}

.account-notification-row:hover,
.account-notification-row.unread {
  background: var(--theme-soft);
}

.account-notification-avatar {
  width: 46px;
  height: 46px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--theme);
  font-size: 18px;
  font-weight: 900;
}

.account-notification-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-notification-main > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.account-notification-main p {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.65;
}

.account-notification-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.account-notification-kind {
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 9px;
  font-weight: 800;
}

.account-notification-row time {
  color: var(--muted);
  font-size: 10px;
}

.account-notification-dot {
  position: absolute;
  top: 16px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme);
}

.artist-card-actions {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.artist-card-actions .album-play-button {
  position: static;
}

.artist-follow-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  background: rgba(12, 12, 12, 0.28);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
}

.artist-follow-button.active {
  border-color: transparent;
  color: var(--theme);
  background: #fff;
}

.account-history-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 100px 78px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.account-history-row > button:first-child {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  font-size: 9px;
}

.account-history-main strong,
.account-history-main small {
  display: block;
}

.account-history-main small,
.account-history-row time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.account-history-progress {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.account-history-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--theme);
}

.account-resume-button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 10px;
  font-weight: 800;
}

:root[data-theme="dark"] .account-center-tabs,
:root[data-theme="dark"] .account-loading,
:root[data-theme="dark"] .account-empty,
:root[data-theme="dark"] .account-profile-form,
:root[data-theme="dark"] .account-profile-card,
:root[data-theme="dark"] .account-list-card,
:root[data-theme="dark"] .account-playlist-form,
:root[data-theme="dark"] .account-playlist-card,
:root[data-theme="dark"] .account-following-card,
:root[data-theme="dark"] .account-notification-section,
:root[data-theme="dark"] .account-history-section {
  background: rgba(25, 27, 31, 0.94);
}

@media (max-width: 860px) {
  .account-profile-layout,
  .account-card-grid,
  .account-playlist-grid,
  .account-following-grid {
    grid-template-columns: 1fr;
  }

  .full-account-card {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .account-center-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-center-tabs button {
    padding: 0 8px;
    font-size: 11px;
  }

  .account-profile-form,
  .account-profile-card,
  .account-list-card,
  .account-playlist-form,
  .account-playlist-card,
  .account-following-card,
  .account-notification-section,
  .account-history-section {
    padding: 18px;
    border-radius: 20px;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-playlist-fields {
    grid-template-columns: 1fr;
  }

  .account-song-row {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .account-song-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .account-notification-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .account-notification-avatar {
    width: 38px;
    height: 38px;
  }

  .account-notification-row time {
    grid-column: 2;
  }

  .full-field {
    grid-column: auto;
  }

  .account-history-row {
    grid-template-columns: 32px minmax(0, 1fr) 68px;
  }

  .account-history-row time {
    display: none;
  }
}

.search-toggle {
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.search-toggle:hover {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.34);
  background: rgba(194, 12, 12, 0.06);
  box-shadow: 0 8px 20px rgba(194, 12, 12, 0.1);
  transform: translateY(-1px);
}

.header-tool-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: block;
}

.search-page-form {
  margin-bottom: 26px;
  display: flex;
  gap: 10px;
}

.search-page-form input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.search-result-main {
  min-width: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.search-result-main strong,
.search-result-main small {
  display: block;
}

.search-result-main small {
  margin-top: 5px;
  color: var(--muted);
}

.detail-page {
  padding-top: 28px;
}

.detail-back {
  margin-bottom: 24px;
  padding: 8px 0;
  border: 0;
  cursor: pointer;
  color: var(--theme);
  background: transparent;
  font-weight: 800;
}

.detail-hero {
  padding: clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.detail-cover {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b));
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-cover > span {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 92px;
  font-weight: 900;
}

.detail-artist-cover {
  border-radius: 50%;
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 70px);
  letter-spacing: -0.05em;
}

.detail-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-meta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-meta-row span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
}

.detail-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.song-comments-section {
  margin-top: 28px;
}

.song-comments-heading {
  align-items: flex-end;
}

.song-comments-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.song-comment-form {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.song-comment-form textarea {
  width: 100%;
  min-height: 104px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  font-family: inherit;
  line-height: 1.7;
}

.comment-reply-hint {
  margin-bottom: 10px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  color: var(--muted);
  background: var(--theme-soft);
  font-size: 11px;
}

.comment-reply-hint strong {
  color: var(--theme);
}

.comment-reply-hint button {
  margin-left: auto;
  border: 0;
  cursor: pointer;
  color: var(--theme);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.song-comment-form-footer {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.song-comment-form-footer > span {
  color: var(--muted);
  font-size: 10px;
}

.comment-login-prompt {
  margin-bottom: 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 12px;
}

.comment-login-prompt button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  font-weight: 800;
}

.song-comment-list {
  display: grid;
  gap: 14px;
}

.song-comment-card,
.song-comment-reply {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.song-comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.song-comment-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--theme);
  font-size: 14px;
  font-weight: 900;
}

.song-comment-avatar.small {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  font-size: 11px;
}

.song-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-comment-author > div:nth-child(2) {
  min-width: 0;
}

.song-comment-author strong,
.song-comment-author time {
  display: block;
}

.song-comment-author strong {
  font-size: 12px;
}

.song-comment-author time {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.comment-delete-button {
  margin-left: auto;
  min-height: 29px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 9px;
  font-weight: 800;
}

.song-comment-content {
  margin: 12px 0 0 48px;
  color: var(--ink);
  line-height: 1.75;
  white-space: pre-wrap;
}

.song-comment-actions {
  margin: 10px 0 0 48px;
  display: flex;
  gap: 8px;
}

.song-comment-actions button {
  min-height: 29px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  background: var(--theme-soft);
  font-size: 9px;
  font-weight: 800;
}

.song-comment-actions button.active {
  color: #fff;
  background: var(--theme);
}

.song-comment-replies {
  margin: 14px 0 0 48px;
  padding-left: 14px;
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--theme-soft);
}

.song-comment-reply {
  padding: 13px;
  background: var(--theme-soft);
}

.song-comment-reply .song-comment-content,
.song-comment-reply .song-comment-actions {
  margin-left: 41px;
}

:root[data-theme="dark"] .song-comment-form,
:root[data-theme="dark"] .song-comment-card,
:root[data-theme="dark"] .song-comment-reply {
  background: rgba(25, 27, 31, 0.94);
}

.latest-album-card,
.artist-preview {
  cursor: pointer;
}

.dual-song-main,
.song-main {
  cursor: pointer;
}

:root[data-theme="dark"] .search-toggle,
:root[data-theme="dark"] .search-page-form input,
:root[data-theme="dark"] .detail-hero {
  color: var(--ink);
  background: rgba(25, 27, 31, 0.94);
}

:root[data-theme="dark"] .search-toggle:hover {
  color: #ff7069;
  border-color: rgba(194, 12, 12, 0.56);
  background: rgba(194, 12, 12, 0.14);
}

:root[data-theme="dark"] .friend-link {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

:root[data-theme="dark"] .friend-link:hover {
  color: #ff7069;
  border-color: rgba(194, 12, 12, 0.52);
  background: rgba(194, 12, 12, 0.14);
}

@media (max-width: 860px) {
  .detail-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .detail-cover {
    width: min(260px, 70vw);
  }

  .detail-meta-row,
  .detail-actions {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .search-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .search-toggle span {
    display: none;
  }

  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-page {
    padding-top: 18px;
  }

  .detail-hero {
    padding: 20px;
    border-radius: 22px;
  }

  .detail-cover {
    border-radius: 20px;
  }

  .detail-copy h1 {
    font-size: 38px;
  }

  .comment-login-prompt {
    align-items: flex-start;
    flex-direction: column;
  }

  .song-comment-content,
  .song-comment-actions {
    margin-left: 0;
  }

  .song-comment-replies {
    margin-left: 0;
  }

  .song-comment-reply .song-comment-content,
  .song-comment-reply .song-comment-actions {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .album-catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .album-catalog-grid .latest-album-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: stretch;
  }

  .album-catalog-grid .latest-album-cover {
    height: 100%;
    min-height: 128px;
    aspect-ratio: auto;
  }

  .album-catalog-grid .latest-album-symbol {
    font-size: 40px;
  }

  .album-catalog-grid .latest-album-rank,
  .album-catalog-grid .latest-album-date {
    top: 9px;
    font-size: 6px;
  }

  .album-catalog-grid .latest-album-rank {
    left: 9px;
  }

  .album-catalog-grid .latest-album-date {
    right: 9px;
  }

  .album-catalog-grid .album-play-button {
    right: 8px;
    bottom: 8px;
    left: 8px;
    min-height: 30px;
    border-radius: 8px;
    font-size: 8px;
  }

  .album-catalog-grid .latest-album-info {
    min-width: 0;
    padding: 12px;
  }

  .album-catalog-grid .latest-album-info h3 {
    font-size: 16px;
  }

  .album-catalog-grid .latest-album-meta {
    margin-top: 9px;
    padding-top: 8px;
    font-size: 8px;
  }
}

/* Global music player */
body {
  padding-bottom: 76px;
}

.global-audio {
  display: none;
}

.global-player {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  min-height: 60px;
  padding: 6px clamp(18px, 4vw, 56px);
  display: block;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 13, 15, 0.96);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.global-player-inner {
  width: min(980px, 100%);
  min-height: 44px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(320px, 1.35fr) minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
}

.player-track {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.player-cover {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.3), transparent 25%),
    linear-gradient(145deg, var(--player-cover-a), var(--player-cover-b));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.player-cover span {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 19px;
  font-weight: 900;
}

.player-cover img,
.player-playlist-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-track-copy {
  min-width: 0;
}

.player-track-copy strong,
.player-track-copy small,
.player-track-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-track-copy strong {
  font-size: 14px;
}

.player-track-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.player-track-copy em {
  margin-top: 4px;
  color: #ff7069;
  font-size: 9px;
  font-style: normal;
}

.player-center {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.player-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.player-control {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 14px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.player-control svg,
.player-icon-action svg,
.player-volume-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-control:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.06);
}

.player-main-control {
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--theme);
  box-shadow: 0 10px 24px rgba(194, 12, 12, 0.36);
  font-size: 12px;
}

.player-main-control svg {
  width: 18px;
  height: 18px;
}

.player-main-control:hover {
  background: #d71919;
}

.player-progress-row {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
}

.player-progress-row time {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.player-progress,
.player-volume input {
  appearance: none;
  height: 4px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}

.player-progress {
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--theme) 0,
    var(--theme) var(--player-progress),
    rgba(255, 255, 255, 0.2) var(--player-progress),
    rgba(255, 255, 255, 0.2) 100%
  );
}

.player-progress::-webkit-slider-thumb,
.player-volume input::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  appearance: none;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--theme);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.player-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.player-volume input {
  width: 82px;
  background: rgba(255, 255, 255, 0.2);
}

.player-list-wrap {
  position: relative;
}

.player-list-toggle {
  min-height: 34px;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.player-list-toggle:hover,
.player-list-toggle.active {
  color: #fff;
  border-color: rgba(194, 12, 12, 0.6);
  background: var(--theme);
}

.player-playlist-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  width: min(380px, calc(100vw - 28px));
  max-height: min(430px, 58vh);
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(18, 19, 22, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(24px);
}

.player-playlist-heading {
  padding: 10px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.player-playlist-heading strong {
  color: #fff;
  font-size: 14px;
}

.player-playlist-item {
  width: 100%;
  min-height: 58px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  color: #fff;
  background: transparent;
  text-align: left;
  transition: background 160ms ease;
}

.player-playlist-item:hover,
.player-playlist-item.active {
  background: rgba(194, 12, 12, 0.18);
}

.player-playlist-cover {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--item-a), var(--item-b));
  font-family: "STKaiti", "KaiTi", serif;
  font-weight: 900;
}

.player-playlist-copy {
  min-width: 0;
}

.player-playlist-copy strong,
.player-playlist-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-playlist-copy strong {
  font-size: 12px;
}

.player-playlist-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.player-playlist-duration {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

@media (max-width: 900px) {
  .global-player-inner {
    grid-template-columns: minmax(180px, 0.9fr) minmax(280px, 1.4fr) auto;
    gap: 12px;
  }

  .player-volume {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 100px;
  }

  .global-player {
    min-height: 78px;
    padding: 6px 12px 7px;
  }

  .global-player-inner {
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 8px;
  }

  .player-track {
    grid-column: 1;
    grid-row: 1;
  }

  .player-cover {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .player-cover span {
    font-size: 16px;
  }

  .player-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .player-center {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px;
  }

  .player-control {
    width: 25px;
    height: 25px;
  }

  .player-main-control {
    width: 30px;
    height: 30px;
  }

  .player-controls {
    gap: 3px;
  }

  .player-progress-row {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 4px;
  }

  .player-progress-row time {
    font-size: 8px;
  }

  .player-list-toggle {
    min-height: 32px;
    padding: 0 11px;
    font-size: 10px;
  }

  .player-playlist-panel {
    position: fixed;
    right: 12px;
    bottom: 86px;
    left: 12px;
    width: auto;
    max-height: 54vh;
  }
}

/* Focus hero slider */
.hero-focus-slider {
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, var(--slide-b), transparent 28%),
    radial-gradient(circle at 18% 108%, rgba(194, 12, 12, 0.56), transparent 42%),
    linear-gradient(135deg, #080808 0%, #171313 52%, #210b0b 100%);
  outline: none;
}

.hero-focus-slider:focus-visible {
  outline: 2px solid var(--slide-b);
  outline-offset: -3px;
}

.hero-focus-slider::after {
  position: absolute;
  inset: -90px;
  z-index: -2;
  content: "";
  opacity: 0.16;
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
  filter: blur(62px) saturate(1.3);
  transform: scale(1.08);
  transition: background-image 500ms ease, opacity 500ms ease;
}

.hero-focus-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-focus-inner {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  padding: 20px 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-focus-content {
  min-height: 158px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  align-items: center;
  gap: 28px;
  animation: hero-focus-enter 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes hero-focus-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-focus-slider .hero-copy {
  min-width: 0;
}

.hero-focus-slider .eyebrow {
  margin: 0 0 5px;
  color: var(--slide-b);
  letter-spacing: 0.18em;
}

.hero-focus-slider h1 {
  margin: 0 0 4px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero-focus-slider .slide-subtitle {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.hero-focus-slider .hero-lead {
  max-width: 600px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-focus-slider .hero-actions {
  margin-top: 14px;
  gap: 9px;
}

.hero-focus-slider .button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 12px;
}

.hero-focus-visual {
  position: relative;
  height: 158px;
  display: grid;
  place-items: center;
}

.hero-focus-backdrop {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.55;
  background: var(--slide-b);
  filter: blur(42px);
}

.hero-focus-cover {
  position: relative;
  z-index: 2;
  width: 128px;
  height: 128px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(145deg, var(--slide-a), var(--slide-b));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
  font-size: 34px;
  font-weight: 900;
}

.hero-focus-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-focus-vinyl {
  position: absolute;
  z-index: 1;
  width: 142px;
  height: 142px;
  margin-left: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 2px 7px
    ),
    #0a0a0a;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.44);
  animation: hero-focus-spin 18s linear infinite;
}

.hero-focus-vinyl::before {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  content: "";
  background: var(--slide-a);
}

.hero-focus-vinyl span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 900;
}

@keyframes hero-focus-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-focus-footer {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 78px;
  align-items: end;
  gap: 14px;
}

.hero-focus-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.hero-focus-count strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.hero-focus-timeline {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}

.hero-focus-tab {
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.42);
  background: transparent;
  text-align: left;
}

.hero-focus-tab > span {
  font-size: 8px;
  font-weight: 900;
}

.hero-focus-tab > strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-focus-tab > i {
  position: relative;
  grid-column: 1 / -1;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-focus-tab > i em {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: left;
  background: var(--slide-b);
  animation-name: hero-focus-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.hero-focus-tab.active {
  color: #fff;
}

@keyframes hero-focus-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-focus-nav {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.hero-focus-nav button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.hero-focus-nav button:hover {
  border-color: transparent;
  background: var(--theme);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero-focus-content {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .hero-focus-vinyl {
    margin-left: 78px;
  }
}

@media (max-width: 760px) {
  .hero-focus-slider {
    height: 285px;
    min-height: 285px;
  }

  .hero-focus-inner {
    width: calc(100% - 32px);
    padding: 14px 0 44px;
  }

  .hero-focus-content {
    min-height: 170px;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 10px;
  }

  .hero-focus-slider h1 {
    font-size: 30px;
  }

  .hero-focus-slider .slide-subtitle {
    font-size: 12px;
  }

  .hero-focus-slider .hero-lead {
    display: none;
  }

  .hero-focus-slider .hero-actions {
    margin-top: 12px;
  }

  .hero-focus-slider .button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 10px;
  }

  .hero-focus-visual {
    height: 104px;
  }

  .hero-focus-cover {
    width: 76px;
    height: 76px;
    border-radius: 15px;
    font-size: 24px;
  }

  .hero-focus-vinyl,
  .hero-focus-backdrop {
    display: none;
  }

  .hero-focus-footer {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 9px;
  }

  .hero-focus-count {
    display: none;
  }

  .hero-focus-tab {
    grid-template-columns: 1fr;
  }

  .hero-focus-tab > span,
  .hero-focus-tab > strong {
    display: none;
  }

  .hero-focus-nav button {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-focus-content,
  .hero-focus-vinyl,
  .hero-focus-tab > i em {
    animation: none;
  }
}

/* Compact internal page headers */
.page-view {
  padding-top: 30px;
}

.compact-page-hero {
  max-width: none;
  margin-bottom: 26px;
  padding-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.page-hero-copy {
  min-width: 0;
  max-width: 680px;
}

.compact-page-hero .eyebrow {
  margin-bottom: 7px;
}

.compact-page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.08;
}

.page-hero-description {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.page-hero-stats {
  flex: 0 0 auto;
  padding: 11px 14px;
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 28px rgba(37, 20, 20, 0.05);
}

.page-hero-stats > div {
  min-width: 58px;
  display: grid;
  gap: 2px;
  text-align: center;
}

.page-hero-stats strong {
  color: var(--theme);
  font-size: 21px;
  line-height: 1;
}

.page-hero-stats span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.catalog-filter-bar {
  min-height: 50px;
  margin-bottom: 24px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.66);
}

.catalog-filter-bar .filter-row {
  margin: 0;
}

.catalog-result-count {
  padding-right: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.albums-page .latest-album-card,
.artists-page .latest-album-card {
  border-radius: 20px;
}

.albums-page .latest-album-cover,
.artists-page .latest-album-cover {
  border-radius: 19px 19px 12px 12px;
}

.albums-page .latest-album-info,
.artists-page .latest-album-info {
  padding-top: 13px;
}

.artists-page .artist-album-grid .latest-album-cover {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b));
}

.ethnic-page .ethnic-filter-row {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.66);
}

.ethnic-page .ethnic-filter-row .filter-button {
  min-width: 0;
  padding: 0 7px;
  text-align: center;
}

.ethnic-page .ethnic-selected-summary {
  padding: 20px 24px;
  border-radius: 20px;
}

.ethnic-page .ethnic-selected-summary h2 {
  font-size: clamp(23px, 3vw, 30px);
}

.ethnic-page .ethnic-summary-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.charts-page .chart-tabs {
  padding: 6px;
  display: inline-flex;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.66);
}

.charts-page .chart-tab {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
}

.charts-page .chart-tab.active {
  color: #fff;
  background: var(--theme);
}

.charts-page .chart-panel-heading h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.charts-page .song-row:nth-child(-n + 3) {
  background:
    linear-gradient(90deg, rgba(194, 12, 12, 0.07), transparent 66%);
}

.charts-page .song-row:nth-child(-n + 3) .song-rank {
  color: var(--theme);
  font-size: 13px;
}

@media (max-width: 760px) {
  .page-view {
    padding-top: 22px;
  }

  .compact-page-hero {
    margin-bottom: 20px;
    padding-bottom: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .compact-page-hero h1 {
    font-size: 32px;
  }

  .page-hero-description {
    font-size: 13px;
  }

  .page-hero-stats {
    padding: 8px 10px;
    gap: 14px;
  }

  .page-hero-stats strong {
    font-size: 18px;
  }

  .catalog-filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ethnic-page .ethnic-filter-row {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 5px;
  }

  .ethnic-page .ethnic-selected-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

/* Modern detail pages */
.detail-page {
  padding-top: 22px;
}

.detail-back {
  position: relative;
  min-height: 40px;
  margin-bottom: 18px;
  padding: 0 16px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--yunnan-gold) 34%, var(--line));
  border-radius: 999px;
  cursor: pointer;
  color: var(--theme);
  background:
    linear-gradient(135deg, rgba(200, 155, 60, 0.1), transparent 45%),
    color-mix(in srgb, var(--card) 91%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(37, 20, 20, 0.07);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.detail-back::after {
  position: absolute;
  right: 15px;
  bottom: 4px;
  left: 15px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: var(--yunnan-gold);
  opacity: 0.72;
  transform: scaleX(0.24);
  transition: transform 160ms ease;
}

.detail-back:hover {
  border-color: var(--theme);
  color: #fff;
  background:
    linear-gradient(135deg, #d11b1b, var(--theme-dark));
  box-shadow:
    inset 0 0 0 1px rgba(242, 207, 130, 0.3),
    0 10px 24px rgba(194, 12, 12, 0.2);
  transform: translateX(-1px);
}

.detail-back:hover::after {
  background: #f2cf82;
  transform: scaleX(1);
}

.detail-back:active {
  transform: translateX(0) scale(0.98);
}



.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 26px;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 10%, rgba(194, 12, 12, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 247, 0.82));
}

.detail-hero::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: rgba(194, 12, 12, 0.045);
}

.detail-hero > * {
  position: relative;
  z-index: 1;
}

.detail-cover {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  box-shadow:
    0 24px 52px rgba(37, 20, 20, 0.18),
    0 4px 14px rgba(37, 20, 20, 0.08);
}

.detail-cover > span {
  font-size: 72px;
}

.artist-detail-page .detail-hero {
  grid-template-columns: 205px minmax(0, 1fr);
}

.artist-detail-page .detail-cover {
  width: 190px;
  height: 190px;
  justify-self: center;
  border: 5px solid rgba(255, 255, 255, 0.82);
}

.album-detail-page .detail-cover,
.song-detail-page .detail-cover {
  max-width: 220px;
  justify-self: center;
}

.detail-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.08;
}

.detail-copy > p:not(.eyebrow) {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.7;
}

.detail-meta-row {
  margin-top: 16px;
  gap: 7px;
}

.detail-meta-row span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.detail-actions {
  margin-top: 18px;
  gap: 9px;
}

.detail-actions .button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 11px;
}

.artist-detail-page .artist-hot-play-button {
  color: #fff;
  border-color: var(--theme);
  background:
    linear-gradient(135deg, #d51b1b, var(--theme-dark));
  box-shadow: 0 12px 26px rgba(194, 12, 12, 0.24);
  backdrop-filter: none;
}

.artist-detail-page .artist-hot-play-button:hover {
  border-color: #e33a2f;
  background:
    linear-gradient(135deg, #e12626, #8e0b0b);
  box-shadow: 0 14px 30px rgba(194, 12, 12, 0.3);
}

.detail-actions .detail-action-secondary {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.24);
  background: rgba(194, 12, 12, 0.08);
  backdrop-filter: none;
}

.detail-actions .detail-action-secondary:hover,
.detail-actions .detail-action-secondary.active {
  color: #fff;
  border-color: var(--theme);
  background: var(--theme);
  box-shadow: 0 10px 24px rgba(194, 12, 12, 0.2);
}

.detail-content-section {
  margin-top: 32px;
}

.detail-content-section .section-heading {
  margin-bottom: 16px;
}

.detail-content-section .section-heading h2 {
  font-size: clamp(24px, 3vw, 29px);
}

.detail-content-section .mini-chart {
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(37, 20, 20, 0.06);
}

.detail-content-section .mini-chart-row {
  min-height: 66px;
  padding: 0 18px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 13px;
  transition: background 150ms ease;
}

.detail-content-section .mini-chart-row:hover {
  background: var(--theme-soft);
}

.detail-content-section .search-result-main {
  padding: 9px 0;
}

.detail-content-section .search-result-main strong {
  font-size: 14px;
}

.detail-content-section .account-resume-button {
  min-width: 62px;
  padding: 0 12px;
}

.detail-content-section .artist-work-play,
.detail-content-section .album-work-play {
  justify-self: end;
}

.song-comments-section .song-comments-heading h2 {
  font-size: clamp(24px, 3vw, 29px);
}

.song-comments-section .song-comment-form {
  border-radius: 16px;
}

:root[data-theme="dark"] .detail-back {
  border-color: rgba(200, 155, 60, 0.26);
  color: #ff9b87;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .detail-hero {
  background:
    radial-gradient(circle at 92% 10%, rgba(194, 12, 12, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(25, 27, 31, 0.98), rgba(31, 20, 20, 0.94));
}

@media (max-width: 860px) {
  .detail-hero,
  .artist-detail-page .detail-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .album-detail-page .detail-cover,
  .song-detail-page .detail-cover {
    width: min(220px, 62vw);
  }
}

@media (max-width: 680px) {
  .detail-page {
    padding-top: 16px;
  }

  .detail-back {
    margin-bottom: 14px;
  }

  .detail-hero {
    padding: 20px;
    gap: 20px;
    border-radius: 22px;
    justify-items: stretch;
    text-align: left;
  }

  .detail-copy h1 {
    font-size: 33px;
  }

  .detail-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .detail-meta-row,
  .detail-actions {
    justify-content: flex-start;
  }

  .detail-content-section .mini-chart-row {
    padding: 10px 14px;
    align-items: start;
  }
}

/* Unified heading scale: every former h1/h2 is now an h3 */
.hero-focus-slider h3 {
  margin: 0 0 4px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.compact-page-hero h3 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.detail-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading h3 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.025em;
}

.chart-panel-heading h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.chart-aside h3,
.ethnic-selected-summary h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.auth-modal h3 {
  margin: 8px 0 20px;
  font-size: 24px;
}

.account-profile-card h3,
.account-list-heading h3,
.account-following-main h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.account-profile-card h3 {
  margin-top: 16px;
}

@media (max-width: 680px) {
  .hero-focus-slider h3 {
    font-size: 25px;
  }

  .compact-page-hero h3 {
    font-size: 26px;
  }

  .detail-copy h3 {
    font-size: 28px;
  }
}

/* Subtle Yunnan visual language */
.site-shell {
  position: relative;
  isolation: isolate;
}

.site-shell::before {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: min(240px, 24vw);
  content: "";
  pointer-events: none;
  opacity: 0.1;
  background: url("/static/yunnan-mountains.svg") center bottom / cover no-repeat;
}

.content-section {
  position: relative;
}

.content-section::before {
  position: absolute;
  top: -15px;
  left: 0;
  width: 58px;
  height: 22px;
  content: "";
  pointer-events: none;
  opacity: 0.58;
  background: url("/static/yunnan-terraces.svg") left center / contain no-repeat;
}

.home-page .content-section + .content-section::after {
  position: absolute;
  top: -34px;
  right: 0;
  left: 0;
  height: 18px;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background: url("/static/yunnan-route.svg") center / 100% 18px no-repeat;
}

.compact-page-hero {
  position: relative;
}

.compact-page-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(230px, 32vw);
  height: 42px;
  content: "";
  pointer-events: none;
  opacity: 0.45;
  background: url("/static/yunnan-clouds.svg") right center / contain no-repeat;
}

.hero-focus-slider::before {
  opacity: 0.12;
  background-image:
    url("/static/yunnan-mountains.svg"),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-position:
    center bottom,
    0 0,
    0 0;
  background-size:
    115% auto,
    28px 28px,
    28px 28px;
}

.hero-focus-noise {
  opacity: 0.23;
  background-image:
    url("/static/yunnan-clouds.svg"),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-position:
    right 5% top 10%,
    0 0,
    0 0;
  background-size:
    min(420px, 34vw) auto,
    28px 28px,
    28px 28px;
}

.page-hero-stats {
  border-top: 2px solid rgba(200, 155, 60, 0.58);
  box-shadow:
    0 10px 28px rgba(37, 20, 20, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.filter-button.active,
.charts-page .chart-tab.active,
.button-primary {
  background: linear-gradient(
    135deg,
    var(--theme) 0%,
    #a85a3a 72%,
    #b98c35 135%
  );
}

.latest-album-card:hover,
.account-following-card:hover {
  border-color: rgba(200, 155, 60, 0.42);
  box-shadow:
    0 26px 64px rgba(37, 20, 20, 0.14),
    0 0 0 1px rgba(200, 155, 60, 0.08);
}

.ethnic-chip {
  position: relative;
}

.ethnic-chip::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 38px;
  height: 10px;
  content: "";
  pointer-events: none;
  opacity: 0.38;
  background: url("/static/yunnan-terraces.svg") right center / contain no-repeat;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 62px;
  content: "";
  pointer-events: none;
  opacity: 0.11;
  background: url("/static/yunnan-mountains.svg") center bottom / cover no-repeat;
}

.site-footer::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 16px;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background: url("/static/yunnan-route.svg") center / 100% 16px no-repeat;
}

:root[data-theme="dark"] .site-shell::before {
  opacity: 0.055;
}

:root[data-theme="dark"] .compact-page-hero::after,
:root[data-theme="dark"] .content-section::before,
:root[data-theme="dark"] .ethnic-chip::after {
  opacity: 0.25;
}

@media (max-width: 680px) {
  .site-shell::before {
    height: 150px;
    opacity: 0.065;
  }

  .home-page .content-section + .content-section::after,
  .compact-page-hero::after {
    display: none;
  }

  .hero-focus-noise {
    background-size:
      280px auto,
      24px 24px,
      24px 24px;
  }
}

/* Yunnan sound map */
.yunnan-map-section {
  position: relative;
}

.yunnan-map-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.yunnan-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: 20px;
}

.yunnan-map-visual {
  min-width: 0;
}

.yunnan-map-shell {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 18%, rgba(200, 155, 60, 0.12), transparent 24%),
    radial-gradient(circle at 18% 80%, rgba(168, 90, 58, 0.11), transparent 28%),
    rgba(255, 255, 255, 0.68);
}

.yunnan-map-shell::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 110px;
  height: 36px;
  content: "";
  pointer-events: none;
  opacity: 0.35;
  background: url("/static/yunnan-terraces.svg") right bottom / contain no-repeat;
}

.yunnan-map-svg {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
}

.yunnan-map-shape {
  fill: rgba(30, 58, 95, 0.07);
  stroke: rgba(200, 155, 60, 0.48);
  stroke-width: 2;
  stroke-dasharray: 4 5;
}

.yunnan-map-route {
  fill: none;
  stroke: rgba(168, 90, 58, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 9;
}

.region-node {
  position: absolute;
  z-index: 2;
  min-height: 29px;
  padding: 0 7px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(37, 20, 20, 0.08);
  font-size: 9px;
  font-weight: 800;
  transform: translate(-50%, -50%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.region-node i,
.region-mobile-nav i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--region-color, var(--theme));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--region-color, var(--theme)) 20%, transparent);
}

.region-node:hover,
.region-node.active {
  border-color: var(--region-color, var(--theme));
  box-shadow: 0 12px 28px rgba(37, 20, 20, 0.14);
  transform: translate(-50%, -50%) scale(1.06);
}

.region-node.active {
  color: #fff;
  background: var(--region-color, var(--theme));
}

.region-node.active i {
  background: #fff;
}

.region-detail-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 245, 0.82));
  box-shadow: 0 18px 46px rgba(37, 20, 20, 0.08);
}

.region-detail-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.region-detail-heading h3 {
  margin: 0 0 8px;
  color: var(--region-color, var(--theme));
  font-size: 28px;
  letter-spacing: -0.035em;
}

.region-detail-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.region-ethnic-tags,
.region-artist-list {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.region-ethnic-tags span,
.region-artist-list span {
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--region-color, var(--theme)) 26%, transparent);
  border-radius: 999px;
  color: var(--region-color, var(--theme));
  background: color-mix(in srgb, var(--region-color, var(--theme)) 8%, white);
  font-size: 9px;
  font-weight: 800;
}

.region-data-counts {
  margin-top: 16px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
}

.region-data-counts span {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.region-data-counts strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 18px;
}

.region-representatives {
  margin-top: 17px;
}

.region-representatives small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
}

.region-songs {
  margin-top: 18px;
}

.region-songs-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.region-songs-heading span {
  color: var(--muted);
  font-size: 9px;
}

.region-song-list {
  margin-top: 8px;
  display: grid;
}

.region-song-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.region-song-row:last-child {
  border-bottom: 0;
}

.region-song-row > button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--region-color, var(--theme));
  font-size: 8px;
}

.region-song-row > span {
  color: var(--muted);
  font-size: 9px;
}

.region-song-row > div {
  min-width: 0;
  cursor: pointer;
}

.region-song-row strong,
.region-song-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-song-row strong {
  font-size: 11px;
}

.region-song-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.region-empty {
  margin: 10px 0 0;
  padding: 18px 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.region-mobile-nav {
  display: none;
}

:root[data-theme="dark"] .yunnan-map-shell,
:root[data-theme="dark"] .region-detail-panel {
  background: rgba(25, 27, 31, 0.94);
}

:root[data-theme="dark"] .region-node {
  color: #f4f4f5;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(25, 27, 31, 0.92);
}

:root[data-theme="dark"] .region-node.active {
  color: #fff;
  background: var(--region-color, var(--theme));
}

:root[data-theme="dark"] .region-data-counts {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 760px) {
  .yunnan-map-layout {
    grid-template-columns: 1fr;
  }

  .yunnan-map-shell {
    display: none;
  }

  .region-mobile-nav {
    display: grid;
    gap: 7px;
  }

  .region-mobile-nav button {
    min-height: 52px;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    text-align: left;
  }

  .region-mobile-nav button.active {
    border-color: var(--region-color, var(--theme));
    color: #fff;
    background: var(--region-color, var(--theme));
  }

  .region-mobile-nav button.active small {
    color: rgba(255, 255, 255, 0.72);
  }

  .region-mobile-nav strong,
  .region-mobile-nav small {
    display: block;
  }

  .region-mobile-nav strong {
    font-size: 13px;
  }

  .region-mobile-nav small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
  }

  .region-detail-panel {
    padding: 18px;
  }
}

/* Motion performance */
:root {
  --motion-fast: 120ms;
  --motion-base: 160ms;
  --motion-slow: 260ms;
}

html {
  scroll-behavior: auto;
}

.page-view {
  animation: page-motion-in 180ms ease-out both;
}

@keyframes page-motion-in {
  from {
    opacity: 0.96;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-focus-content {
  animation-duration: 300ms;
}

.hero-focus-vinyl,
.vinyl {
  animation: none;
  transition: transform 260ms ease;
}

.hero-focus-slider:not(.paused):not(.stopped) .hero-focus-vinyl:hover {
  transform: rotate(4deg);
}

.latest-album-card,
.artist-preview,
.artist-card,
.ethnic-chip,
.filter-button,
.chart-tab,
.account-following-card,
.region-node {
  transition-duration: 140ms;
}

html.theme-transition body,
html.theme-transition body *,
html.theme-transition body *::before,
html.theme-transition body *::after {
  transition-duration: 160ms !important;
}

.hero-focus-slider::after {
  transition-duration: 300ms;
}

@media (max-width: 760px) {
  .latest-album-card:hover,
  .artist-preview:hover,
  .artist-card:hover,
  .account-following-card:hover {
    transform: none;
  }

  .theme-transition body *,
  .theme-transition body *::before,
  .theme-transition body *::after {
    transition-duration: 120ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-focus-vinyl,
  .vinyl {
    animation: none !important;
  }
}

/* Page-specific Yunnan header accents */
.compact-page-hero::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 76px;
  height: 3px;
  border-radius: 999px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--theme) 0%,
    var(--yunnan-terracotta) 58%,
    var(--yunnan-gold) 100%
  );
}

.compact-page-hero h3::after {
  width: 38px;
  height: 3px;
  margin-top: 9px;
  display: block;
  border-radius: 999px;
  content: "";
  background: var(--hero-accent, var(--yunnan-gold));
  opacity: 0.78;
}

.page-hero--albums {
  --hero-accent: var(--yunnan-terracotta);
}

.page-hero--albums::after {
  width: 215px;
  height: 48px;
  opacity: 0.48;
  background: url("/static/yunnan-terraces.svg") right center / contain no-repeat;
}

.page-hero--artists {
  --hero-accent: var(--yunnan-mountain);
}

.page-hero--artists::after {
  width: 235px;
  height: 48px;
  opacity: 0.38;
  background: url("/static/yunnan-clouds.svg") right center / contain no-repeat;
}

.page-hero--ethnic {
  --hero-accent: var(--yunnan-gold);
}

.page-hero--ethnic::after {
  width: 260px;
  height: 58px;
  opacity: 0.42;
  background:
    url("/static/yunnan-clouds.svg") right 4px top 0 / 180px auto no-repeat,
    url("/static/yunnan-terraces.svg") right 0 bottom 0 / 150px auto no-repeat;
}

.page-hero--charts {
  --hero-accent: var(--yunnan-gold);
}

.page-hero--charts::after {
  width: 265px;
  height: 30px;
  opacity: 0.52;
  background: url("/static/yunnan-route.svg") right center / contain no-repeat;
}

.page-hero--albums .page-hero-stats {
  border-top-color: rgba(168, 90, 58, 0.68);
}

.page-hero--artists .page-hero-stats {
  border-top-color: rgba(30, 58, 95, 0.56);
}

.page-hero--ethnic .page-hero-stats,
.page-hero--charts .page-hero-stats {
  border-top-color: rgba(200, 155, 60, 0.72);
}

:root[data-theme="dark"] .compact-page-hero h3::after {
  opacity: 0.9;
}

@media (max-width: 680px) {
  .compact-page-hero::before {
    width: 54px;
  }

  .compact-page-hero h3::after {
    width: 30px;
    margin-top: 7px;
  }
}

/* Full-width Yunnan page headers */
.compact-page-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 248, 244, 0.92) 68%,
      rgba(200, 155, 60, 0.08) 100%
    );
  box-shadow: 0 18px 46px rgba(37, 20, 20, 0.07);
}

.compact-page-hero > * {
  position: relative;
  z-index: 2;
}

.compact-page-hero::before {
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 0;
  opacity: 0.78;
}

.compact-page-hero::after {
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  pointer-events: none;
}

.page-hero--albums {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 244, 239, 0.94) 64%,
      rgba(168, 90, 58, 0.13) 100%
    );
}

.page-hero--albums::after {
  opacity: 0.66;
  background:
    url("/static/yunnan-terraces.svg") right -14px bottom -8px / 62% auto no-repeat;
}

.page-hero--artists {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(243, 248, 250, 0.94) 62%,
      rgba(30, 58, 95, 0.1) 100%
    );
}

.page-hero--artists::after {
  opacity: 0.52;
  background:
    url("/static/yunnan-clouds.svg") right -10px top -8px / 66% auto no-repeat,
    url("/static/yunnan-mountains.svg") right bottom / 78% auto no-repeat;
}

.page-hero--ethnic {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 249, 238, 0.94) 60%,
      rgba(200, 155, 60, 0.12) 100%
    );
}

.page-hero--ethnic::after {
  opacity: 0.6;
  background:
    url("/static/yunnan-clouds.svg") right -6px top -12px / 58% auto no-repeat,
    url("/static/yunnan-terraces.svg") right -12px bottom -8px / 55% auto no-repeat;
}

.page-hero--charts {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 250, 240, 0.94) 62%,
      rgba(200, 155, 60, 0.11) 100%
    );
}

.page-hero--charts::after {
  opacity: 0.7;
  background:
    url("/static/yunnan-route.svg") right 22px bottom 8px / 72% auto no-repeat,
    linear-gradient(
      180deg,
      transparent 58%,
      rgba(200, 155, 60, 0.06) 100%
    );
}

.compact-page-hero .page-hero-stats {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

:root[data-theme="dark"] .compact-page-hero,
:root[data-theme="dark"] .page-hero--albums,
:root[data-theme="dark"] .page-hero--artists,
:root[data-theme="dark"] .page-hero--ethnic,
:root[data-theme="dark"] .page-hero--charts {
  background:
    linear-gradient(
      135deg,
      rgba(25, 27, 31, 0.97) 0%,
      rgba(31, 24, 24, 0.95) 66%,
      rgba(200, 155, 60, 0.08) 100%
    );
}

:root[data-theme="dark"] .compact-page-hero .page-hero-stats {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 680px) {
  .compact-page-hero {
    padding: 20px 18px 18px;
    border-radius: 20px;
  }

  .compact-page-hero::after {
    opacity: 0.28;
  }

  .page-hero--albums::after,
  .page-hero--ethnic::after,
  .page-hero--charts::after {
    background-size: 88% auto;
  }

  .page-hero--artists::after {
    background-size:
      88% auto,
      100% auto;
  }
}

/* Mobile navigation: brand row + five equal navigation columns */
@media (max-width: 860px) {
  .header-inner {
    min-height: 0;
    padding: 10px 0 8px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .header-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .header-tools {
    order: initial;
    flex: 0 0 auto;
    gap: 7px;
  }

  .main-nav {
    order: initial;
    width: 100%;
    flex: none;
    justify-content: center;
    gap: 5px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 20px);
    padding: 8px 0 7px;
    gap: 7px;
  }

  .header-top {
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-symbol,
  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand strong {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .brand small {
    display: none;
  }

  .header-tools {
    gap: 6px;
  }

  .search-toggle,
  .theme-toggle,
  .account-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .search-toggle span,
  .theme-toggle-label,
  .account-label {
    display: none;
  }

  .account-avatar {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .nav-button {
    min-width: 0;
    min-height: 38px;
    padding: 0 2px;
    overflow: hidden;
    border-radius: 10px;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .header-inner {
    width: calc(100% - 16px);
  }

  .header-tools {
    gap: 4px;
  }

  .search-toggle,
  .theme-toggle,
  .account-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .nav-button {
    font-size: 10px;
  }

  .main-nav {
    gap: 2px;
  }
}

/* Account center dashboard */
.account-center-page {
  position: relative;
}

.account-center-page::before {
  position: absolute;
  top: -70px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 12, 12, 0.09), transparent 68%);
  content: "";
  pointer-events: none;
}

.account-dashboard-shell {
  position: relative;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.account-dashboard-sidebar {
  position: sticky;
  top: 100px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(194, 12, 12, 0.11), transparent 34%),
    var(--card);
  box-shadow: var(--shadow);
}

.account-sidebar-profile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.account-sidebar-avatar {
  width: 54px;
  height: 54px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid rgba(194, 12, 12, 0.16);
  border-radius: 18px;
  color: #fff;
  background: var(--theme);
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(194, 12, 12, 0.18);
}

.account-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-sidebar-identity {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-sidebar-kicker {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.account-sidebar-identity strong,
.account-sidebar-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sidebar-identity strong {
  font-size: 14px;
}

.account-sidebar-identity small {
  color: var(--muted);
  font-size: 10px;
}

.account-sidebar-nav {
  margin-top: 20px;
  display: grid;
  gap: 7px;
}

.account-sidebar-nav button {
  width: 100%;
  min-height: 54px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  text-align: left;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.account-sidebar-nav button:hover {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
  transform: translateX(2px);
}

.account-sidebar-nav button.active {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(135deg, var(--theme), color-mix(in srgb, var(--theme) 72%, #461010));
  box-shadow: 0 12px 24px rgba(194, 12, 12, 0.2);
}

.account-nav-index {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 9px;
  font-weight: 900;
}

.account-sidebar-nav button.active .account-nav-index {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.account-nav-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.account-nav-copy strong {
  font-size: 12px;
}

.account-nav-copy small {
  overflow: hidden;
  color: currentColor;
  font-size: 9px;
  opacity: 0.72;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-nav-badge {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.account-sidebar-nav button.active .account-nav-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.account-sidebar-note {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

.account-sidebar-note span {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.account-sidebar-note p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.account-dashboard-main {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.account-dashboard-header {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(194, 12, 12, 0.075), transparent 52%),
    var(--card);
  box-shadow: var(--shadow);
}

.account-dashboard-header::after {
  position: absolute;
  top: -52px;
  right: -34px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(194, 12, 12, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.account-dashboard-title {
  position: relative;
  z-index: 1;
}

.account-dashboard-title .eyebrow {
  margin-bottom: 7px;
}

.account-dashboard-title h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.account-dashboard-title > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.account-dashboard-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-dashboard-stats > div {
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
}

.account-dashboard-stats strong {
  color: var(--theme);
  font-size: 19px;
  line-height: 1;
}

.account-dashboard-stats span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.account-dashboard-main > .account-profile-layout,
.account-dashboard-main > .account-card-grid,
.account-dashboard-main > .account-playlist-layout,
.account-dashboard-main > .account-following-grid,
.account-dashboard-main > .account-notification-section,
.account-dashboard-main > .account-history-section,
.account-dashboard-main > .account-loading,
.account-dashboard-main > .account-empty {
  animation: account-panel-in 220ms ease both;
}

@keyframes account-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-dashboard-main .account-profile-form,
.account-dashboard-main .account-profile-card,
.account-dashboard-main .account-list-card,
.account-dashboard-main .account-playlist-form,
.account-dashboard-main .account-playlist-card,
.account-dashboard-main .account-following-card,
.account-dashboard-main .account-notification-section,
.account-dashboard-main .account-history-section {
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
}

.account-dashboard-main .account-profile-layout {
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 18px;
}

.account-dashboard-main .account-profile-card {
  position: sticky;
  top: 100px;
}

.account-dashboard-main .account-list-heading h3 {
  font-size: 17px;
}

.account-dashboard-main .account-list-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.account-dashboard-main .account-song-row,
.account-dashboard-main .account-album-row,
.account-dashboard-main .account-playlist-song-row,
.account-dashboard-main .account-notification-row,
.account-dashboard-main .account-history-row {
  transition: background 160ms ease;
}

.account-dashboard-main .account-song-row:hover,
.account-dashboard-main .account-album-row:hover,
.account-dashboard-main .account-playlist-song-row:hover,
.account-dashboard-main .account-history-row:hover {
  background: var(--theme-soft);
}

:root[data-theme="dark"] .account-dashboard-sidebar,
:root[data-theme="dark"] .account-dashboard-header,
:root[data-theme="dark"] .account-sidebar-note,
:root[data-theme="dark"] .account-dashboard-stats > div {
  background-color: rgba(25, 27, 31, 0.94);
}

@media (max-width: 900px) {
  .account-center-page::before {
    display: none;
  }

  .account-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .account-dashboard-sidebar {
    position: static;
    padding: 16px;
    border-radius: 22px;
  }

  .account-sidebar-profile {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .account-sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .account-sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-sidebar-nav button {
    min-height: 50px;
  }

  .account-sidebar-note {
    display: none;
  }

  .account-dashboard-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .account-dashboard-sidebar {
    padding: 14px;
  }

  .account-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-sidebar-nav button {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    padding: 8px;
  }

  .account-nav-copy small {
    display: none;
  }

  .account-dashboard-header {
    padding: 20px;
    border-radius: 20px;
  }

  .account-dashboard-title h2 {
    font-size: 24px;
  }

  .account-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-dashboard-main .account-profile-layout {
    grid-template-columns: 1fr;
  }

  .account-dashboard-main .account-profile-card {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-dashboard-main > .account-profile-layout,
  .account-dashboard-main > .account-card-grid,
  .account-dashboard-main > .account-playlist-layout,
  .account-dashboard-main > .account-following-grid,
  .account-dashboard-main > .account-notification-section,
  .account-dashboard-main > .account-history-section,
  .account-dashboard-main > .account-loading,
  .account-dashboard-main > .account-empty {
    animation: none;
  }
}

/* Account submissions */
.account-submission-layout {
  display: grid;
  gap: 20px;
  animation: account-panel-in 220ms ease both;
}

.account-submission-form,
.account-submission-history {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow: var(--shadow);
}

.account-submission-form .account-list-heading small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.account-submission-form .account-list-heading > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--theme);
  background: var(--theme-soft);
  white-space: nowrap;
}

.account-submission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.account-submission-grid label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.account-submission-grid label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.account-submission-grid input,
.account-submission-grid select,
.account-submission-grid textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.account-submission-grid input:focus,
.account-submission-grid select:focus,
.account-submission-grid textarea:focus {
  border-color: rgba(194, 12, 12, 0.5);
  box-shadow: 0 0 0 3px rgba(194, 12, 12, 0.08);
}

.account-submission-grid textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.75;
}

.account-submission-count {
  justify-self: end;
  color: var(--muted);
  font-size: 9px;
}

.account-submission-message {
  line-height: 1.6;
}

.account-submission-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-submission-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.account-submission-card:hover {
  border-color: rgba(194, 12, 12, 0.24);
  box-shadow: 0 12px 26px rgba(37, 20, 20, 0.08);
  transform: translateY(-2px);
}

.account-submission-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-submission-topline time {
  color: var(--muted);
  font-size: 9px;
}

.account-submission-status {
  padding: 4px 8px;
  border-radius: 999px;
  color: #8a4b08;
  background: rgba(217, 119, 6, 0.12);
  font-size: 9px;
  font-weight: 900;
}

.account-submission-status.approved {
  color: #0f764b;
  background: rgba(15, 118, 75, 0.11);
}

.account-submission-status.rejected {
  color: var(--theme);
  background: var(--theme-soft);
}

.account-submission-card h3 {
  margin: 13px 0 0;
  font-size: 16px;
}

.account-submission-artist {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.account-submission-artist span {
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 9px;
}

.account-submission-description {
  margin: 11px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.account-submission-share {
  margin-top: 12px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  border: 1px solid rgba(194, 12, 12, 0.2);
  border-radius: 12px;
  color: var(--ink);
  background: var(--theme-soft);
  text-decoration: none;
}

.account-submission-share > span {
  grid-column: 1;
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
}

.account-submission-share > strong {
  grid-column: 1;
  font-size: 11px;
}

.account-submission-share > small {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.account-submission-share:hover {
  border-color: var(--theme);
  box-shadow: 0 10px 22px rgba(194, 12, 12, 0.12);
}

.account-submission-note {
  margin: 10px 0 0;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 10px;
  line-height: 1.6;
}

:root[data-theme="dark"] .account-submission-form,
:root[data-theme="dark"] .account-submission-history,
:root[data-theme="dark"] .account-submission-card {
  background-color: rgba(25, 27, 31, 0.94);
}

@media (max-width: 760px) {
  .account-submission-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .account-submission-form,
  .account-submission-history {
    padding: 18px;
    border-radius: 18px;
  }

  .account-submission-grid {
    grid-template-columns: 1fr;
  }

  .account-submission-form .account-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-submission-layout {
    animation: none;
  }
}

/* Footer contact and registration details */
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 42px;
}

.footer-intro {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.footer-intro > span {
  max-width: 520px;
}

.footer-contact,
.footer-social-links {
  margin-top: 14px;
  display: grid;
  gap: 7px;
}

.footer-section-label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-contact-list,
.footer-social-links > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-contact a,
.footer-records a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-contact a:hover,
.footer-records a:hover {
  color: var(--theme);
}

.footer-social-links a {
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 74%, transparent);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.footer-social-links a:hover {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.3);
  background: var(--theme-soft);
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.footer-records {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.footer-records .footer-section-label {
  margin-bottom: 2px;
}

.footer-records a,
.footer-records > span:not(.footer-section-label) {
  font-size: 10px;
}

@media (max-width: 680px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-meta,
  .footer-records {
    justify-items: start;
    text-align: left;
  }

  .footer-copyright-wrap {
    justify-items: start;
    text-align: left;
  }
}

/* Ethnic song pagination */
.ethnic-pagination {
  padding: 18px 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.ethnic-pagination > button,
.ethnic-pagination-pages button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  background: var(--paper);
  font-size: 11px;
  font-weight: 800;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.ethnic-pagination > button:hover:not(:disabled),
.ethnic-pagination-pages button:hover,
.ethnic-pagination-pages button.active {
  color: #fff;
  border-color: var(--theme);
  background: var(--theme);
}

.ethnic-pagination > button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ethnic-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ethnic-pagination > span {
  color: var(--muted);
  font-size: 10px;
}

:root[data-theme="dark"] .ethnic-pagination > button,
:root[data-theme="dark"] .ethnic-pagination-pages button {
  background: #17191d;
}

@media (max-width: 680px) {
  .ethnic-pagination {
    justify-content: center;
  }

  .ethnic-pagination-pages {
    order: -1;
    width: 100%;
  }

  .ethnic-pagination > span {
    width: 100%;
    text-align: center;
  }
}
.chart-pagination {
  margin-top: 18px;
}

/* Song comment emoji picker */
.song-comment-form-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.song-comment-form-tools > span {
  color: var(--muted);
  font-size: 10px;
}

.emoji-picker-wrap {
  position: relative;
}

.emoji-toggle-button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  background: var(--paper);
  font-size: 11px;
  font-weight: 800;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.emoji-toggle-button:hover,
.emoji-toggle-button[aria-expanded="true"] {
  color: var(--theme);
  border-color: rgba(194, 12, 12, 0.32);
  background: var(--theme-soft);
}

.emoji-picker-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: 304px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  box-shadow: 0 18px 44px rgba(37, 20, 20, 0.16);
}

.emoji-picker-heading {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.emoji-picker-heading strong {
  color: var(--ink);
  font-size: 11px;
}

.emoji-picker-heading button {
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: 17px;
}

.emoji-picker-heading button:hover {
  color: var(--theme);
  background: var(--theme-soft);
}

.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
}

.emoji-picker-grid button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  font-size: 19px;
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.emoji-picker-grid button:hover {
  background: var(--theme-soft);
  transform: scale(1.12);
}

:root[data-theme="dark"] .emoji-toggle-button {
  background: #17191d;
}

@media (max-width: 680px) {
  .song-comment-form-footer {
    align-items: flex-end;
  }

  .song-comment-form-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .emoji-picker-panel {
    width: min(304px, calc(100vw - 58px));
  }

  .emoji-picker-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
/* Comment IP province */
.song-comment-author-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.song-comment-author-line strong {
  display: inline;
}

.comment-ip-location {
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

:root[data-theme="dark"] .comment-ip-location {
  background: rgba(255, 255, 255, 0.07);
}

/* Dynamic chart insight sidebar */
.chart-summary-top {
  margin-top: 20px;
  padding: 16px;
  display: grid;
  gap: 5px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, var(--theme), #691010);
}

.chart-summary-top span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.chart-summary-top strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-summary-top small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.chart-summary-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 6px;
  overflow: hidden;
}

.chart-summary-metrics > div {
  min-width: 0;
  min-height: 58px;
  padding: 9px 7px;
  display: grid;
  align-content: center;
  gap: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.chart-summary-metrics span {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-summary-metrics strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-rule-card {
  margin-top: 12px;
  padding: 13px 14px;
  border-left: 3px solid var(--theme);
  border-radius: 0 12px 12px 0;
  background: var(--theme-soft);
}

.chart-rule-card span {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
}

.chart-rule-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.chart-hot-comments {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.chart-hot-comments-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.chart-hot-comments-heading .eyebrow {
  margin-bottom: 4px;
}

.chart-hot-comments-heading h4 {
  margin: 0;
  font-size: 14px;
}

.chart-hot-comments-heading > span {
  color: var(--muted);
  font-size: 9px;
}

.chart-comment-list {
  margin-top: 11px;
  display: grid;
  gap: 8px;
}

.chart-hot-comment {
  width: 100%;
  padding: 11px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.chart-hot-comment:hover {
  border-color: rgba(194, 12, 12, 0.26);
  background: var(--theme-soft);
  transform: translateY(-1px);
}

.chart-comment-avatar {
  width: 34px;
  height: 34px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--theme);
  font-size: 13px;
  font-weight: 900;
}

.chart-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chart-comment-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.chart-comment-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
}

.chart-comment-author small {
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--card);
  font-size: 8px;
  font-weight: 700;
}

.chart-comment-content {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.chart-comment-likes {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
}

.chart-comment-loading,
.chart-comment-empty {
  margin: 12px 0 0;
  padding: 16px 10px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--paper);
  font-size: 10px;
  text-align: center;
}

:root[data-theme="dark"] .chart-summary-metrics > div,
:root[data-theme="dark"] .chart-hot-comment {
  background: #17191d;
}

:root[data-theme="dark"] .chart-comment-author small {
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 860px) {
  .chart-aside {
    position: static;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  box-shadow: 0 14px 30px rgba(194, 12, 12, 0.3);
  animation: back-to-top-in 180ms ease both;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.back-to-top:hover {
  background: var(--theme-dark);
  box-shadow: 0 18px 36px rgba(194, 12, 12, 0.38);
  transform: translateY(-3px);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.96);
}

.back-to-top svg {
  width: 21px;
  height: 21px;
}

@keyframes back-to-top-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 680px) {
  .back-to-top {
    right: 14px;
    bottom: 94px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    animation: none;
    transition: none;
  }
}

/* Yunnan-inspired navigation */
.main-nav {
  position: relative;
  overflow: hidden;
  padding: 5px;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--yunnan-gold) 24%, var(--line));
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(200, 155, 60, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(194, 12, 12, 0.045), transparent 42%),
    color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 28px rgba(37, 20, 20, 0.07);
}

.main-nav::before {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 10px;
  content: "";
  pointer-events: none;
  opacity: 0.12;
  background: url("/static/yunnan-terraces.svg") center bottom / auto 10px repeat-x;
}

.nav-button {
  z-index: 1;
  min-height: 40px;
  padding: 0 15px;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: color-mix(in srgb, var(--ink) 78%, #6f4b35);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.015em;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.nav-button::before {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border: 1px solid currentColor;
  content: "";
  opacity: 0.36;
  transform: rotate(45deg);
  transition:
    background 160ms ease,
    opacity 160ms ease;
}

.nav-button::after {
  position: absolute;
  right: 22%;
  bottom: 3px;
  left: 22%;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: var(--yunnan-gold);
  opacity: 0.72;
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.nav-button:hover {
  color: var(--theme);
  border-color: color-mix(in srgb, var(--yunnan-gold) 28%, var(--line));
  background: color-mix(in srgb, var(--theme-soft) 72%, var(--card));
  transform: none;
}

.nav-button:hover::before {
  background: currentColor;
  opacity: 0.72;
}

.nav-button:hover::after {
  transform: scaleX(0.7);
}

.nav-button.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #cf1b1b, var(--theme-dark));
  box-shadow:
    inset 0 0 0 1px rgba(234, 194, 105, 0.34),
    0 8px 20px rgba(194, 12, 12, 0.2);
}

.nav-button.active::before {
  border-color: #f2cf82;
  background: #f2cf82;
  opacity: 1;
}

.nav-button.active::after {
  background: #f2cf82;
  transform: scaleX(1);
}

:root[data-theme="dark"] .main-nav {
  border-color: rgba(200, 155, 60, 0.2);
  background:
    linear-gradient(135deg, rgba(200, 155, 60, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(194, 12, 12, 0.08), transparent 42%),
    rgba(24, 25, 29, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .nav-button {
  color: rgba(255, 255, 255, 0.74);
}

:root[data-theme="dark"] .nav-button:hover {
  color: #ff9b87;
  border-color: rgba(200, 155, 60, 0.22);
  background: rgba(194, 12, 12, 0.12);
}

@media (max-width: 680px) {
  .main-nav {
    padding: 4px;
    gap: 3px;
    border-radius: 14px;
  }

  .nav-button {
    min-height: 38px;
    padding: 0 4px;
    gap: 0;
    border-radius: 9px;
    font-size: 11px;
  }

  .nav-button::before {
    display: none;
  }

  .nav-button::after {
    right: 28%;
    bottom: 3px;
    left: 28%;
  }
}

/* Search random recommendations */
.search-recommendation-section {
  padding-top: 4px;
}

.search-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.search-recommendation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 14px 34px rgba(37, 20, 20, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.search-recommendation-card:hover {
  border-color: rgba(194, 12, 12, 0.24);
  box-shadow: 0 18px 38px rgba(37, 20, 20, 0.12);
  transform: translateY(-2px);
}

.search-recommendation-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--recommend-a), var(--recommend-b));
  font-size: 42px;
  font-weight: 900;
}

.search-recommendation-cover::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30px;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background: url("/static/yunnan-mountains.svg") center bottom / cover no-repeat;
}

.search-recommendation-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-recommendation-cover > button {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(12, 13, 15, 0.58);
  backdrop-filter: blur(8px);
  font-size: 10px;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.search-recommendation-cover > button:hover {
  background: var(--theme);
  transform: scale(1.06);
}

.search-recommendation-info {
  padding: 13px 14px 15px;
}

.search-recommendation-info > span {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.search-recommendation-info h4 {
  margin: 5px 0 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-recommendation-info p {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-recommendation-info small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

:root[data-theme="dark"] .search-recommendation-card {
  background: rgba(25, 27, 31, 0.94);
}

@media (max-width: 760px) {
  .search-recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .search-recommendation-grid {
    grid-template-columns: 1fr;
  }
}
.artist-pagination {
  margin-top: 18px;
}
.album-pagination {
  margin-top: 18px;
}

/* Site background image */
.site-shell.has-site-background {
  background: transparent;
}

.site-shell.has-site-background::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(
      var(--site-background-overlay-color),
      var(--site-background-overlay-color)
    ),
    var(--site-background-image);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(0);
}
/* Smooth scrolling performance */
html {
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

body {
  overflow-x: clip;
}

.site-header {
  contain: layout style;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateZ(0);
}

.global-player {
  contain: layout style;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateZ(0);
}

.player-playlist-panel {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(250, 249, 247, 0.97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  :root[data-theme="dark"] .site-header {
    background: rgba(18, 19, 23, 0.97);
  }

  .global-player {
    background: rgba(12, 13, 15, 0.99);
  }

  .player-playlist-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(18, 19, 23, 0.99);
  }
}

/* Public user profile */
.public-user-hero {
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(194, 12, 12, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 247, 0.84));
  box-shadow: var(--shadow);
}

.public-user-avatar {
  width: 130px;
  height: 130px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 4px solid color-mix(in srgb, var(--yunnan-gold) 42%, var(--card));
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--theme), var(--theme-dark));
  box-shadow: 0 16px 36px rgba(194, 12, 12, 0.2);
  font-size: 48px;
  font-weight: 900;
}

.public-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-user-copy h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.04em;
}

.public-user-handle {
  margin: 6px 0 0;
  color: var(--theme);
  font-size: 12px;
  font-weight: 800;
}

.public-user-bio {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.public-user-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.public-user-meta span,
.public-user-meta a {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.public-user-meta a {
  color: var(--theme);
  background: var(--theme-soft);
}

.public-user-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.public-user-stats > div {
  min-height: 68px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
}

.public-user-stats strong {
  color: var(--theme);
  font-size: 21px;
}

.public-user-stats span {
  color: var(--muted);
  font-size: 9px;
}

.public-playlist-grid,
.public-submission-grid,
.public-favorite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.public-playlist-card,
.public-submission-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 12px 30px rgba(37, 20, 20, 0.07);
}

.public-playlist-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.public-playlist-heading h3,
.public-submission-card h3 {
  margin: 0;
  font-size: 16px;
}

.public-playlist-heading span,
.public-submission-card > span {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
}

.public-playlist-card > p,
.public-submission-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.public-playlist-items {
  margin-top: 13px;
  display: grid;
}

.public-playlist-items button {
  min-width: 0;
  padding: 8px 0;
  display: grid;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.public-playlist-items button:last-child {
  border-bottom: 0;
}

.public-playlist-items strong,
.public-playlist-items small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-playlist-items small,
.public-submission-card small {
  color: var(--muted);
  font-size: 9px;
}

.public-song-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
}

.public-song-row {
  min-height: 62px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.public-song-row:last-child {
  border-bottom: 0;
}

.public-song-row > button:first-child {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--theme);
  font-size: 9px;
}

.public-song-row > button:last-child {
  min-width: 0;
  padding: 9px 0;
  display: grid;
  gap: 4px;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.public-song-row strong,
.public-song-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-song-row small {
  color: var(--muted);
  font-size: 10px;
}

.public-favorite-card {
  min-height: 92px;
  padding: 15px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
}

.public-favorite-card > span {
  color: var(--theme);
  font-size: 9px;
  font-weight: 900;
}

.public-favorite-card small {
  color: var(--muted);
  font-size: 10px;
}

.public-comment-list {
  display: grid;
  gap: 10px;
}

.public-comment-list button {
  padding: 15px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
}

.public-comment-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.public-comment-list small {
  color: var(--theme);
  font-size: 9px;
}

:root[data-theme="dark"] .public-user-hero,
:root[data-theme="dark"] .public-playlist-card,
:root[data-theme="dark"] .public-submission-card,
:root[data-theme="dark"] .public-song-list {
  background: rgba(25, 27, 31, 0.95);
}

@media (max-width: 860px) {
  .public-user-hero {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .public-user-avatar {
    width: 110px;
    height: 110px;
  }

  .public-user-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-playlist-grid,
  .public-submission-grid,
  .public-favorite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .public-user-hero {
    padding: 22px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .public-user-bio {
    text-align: left;
  }

  .public-user-meta {
    justify-content: center;
  }

  .public-user-stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-playlist-grid,
  .public-submission-grid,
  .public-favorite-grid {
    grid-template-columns: 1fr;
  }
}

/* Account public profile and privacy */
.account-public-preview-layout,
.account-privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 20px;
}

.account-public-preview-card,
.account-public-link-card,
.account-privacy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--card) 95%, transparent);
  box-shadow: var(--shadow);
}

.account-public-preview-cover {
  height: 118px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--theme), var(--theme-dark));
}

.account-public-preview-body {
  padding: 0 24px 25px;
  text-align: center;
}

.account-public-preview-avatar {
  width: 94px;
  height: 94px;
  margin: -47px auto 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 4px solid var(--card);
  border-radius: 28px;
  color: #fff;
  background: var(--theme);
  font-size: 34px;
  font-weight: 900;
}

.account-public-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-public-preview-body h2 {
  margin: 7px 0 3px;
  font-size: 25px;
}

.account-public-preview-body > span {
  color: var(--theme);
  font-size: 11px;
  font-weight: 800;
}

.account-public-preview-bio {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.account-public-preview-meta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.account-public-preview-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 9px;
}

.account-public-link-card,
.account-privacy-card {
  padding: 22px;
}

.account-public-link-card h3 {
  margin: 0;
  font-size: 20px;
}

.account-public-link-card code {
  margin: 13px 0 0;
  padding: 10px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  color: var(--theme);
  background: var(--theme-soft);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-public-link-card > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.account-public-link-card .button {
  width: 100%;
  margin-top: 10px;
}

.account-public-link-card ul {
  margin: 14px 0 18px;
  padding-left: 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.9;
}

.account-privacy-card .account-list-heading small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.account-privacy-master,
.account-privacy-toggle {
  min-height: 58px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.account-privacy-master {
  margin-bottom: 10px;
  border-color: rgba(194, 12, 12, 0.2);
  background: var(--theme-soft);
}

.account-privacy-options {
  display: grid;
  gap: 8px;
}

.account-privacy-master span,
.account-privacy-toggle span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-privacy-master strong,
.account-privacy-toggle strong {
  font-size: 12px;
}

.account-privacy-master small,
.account-privacy-toggle small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.account-privacy-master input,
.account-privacy-toggle input {
  width: 36px;
  height: 20px;
  flex: 0 0 36px;
  accent-color: var(--theme);
}

:root[data-theme="dark"] .account-public-preview-card,
:root[data-theme="dark"] .account-public-link-card,
:root[data-theme="dark"] .account-privacy-card {
  background: rgba(25, 27, 31, 0.95);
}

@media (max-width: 860px) {
  .account-public-preview-layout,
  .account-privacy-layout {
    grid-template-columns: 1fr;
  }
}
.comment-author-name {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
  font-weight: 800;
}

.comment-author-name:hover {
  color: var(--theme);
}
