/* =========================================================
   SDO Dance Leaderboard — 跳舞游戏风格 UI
   霓虹暗色 + 荧光渐变 + 动态效果
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
  --bg-0: #05040d;
  --bg-1: #0c0920;
  --panel: rgba(18, 14, 42, 0.72);
  --panel-2: rgba(28, 22, 62, 0.6);
  --border: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(0, 229, 255, 0.35);

  --cyan: #00e5ff;
  --pink: #ff2d95;
  --purple: #8b5cf6;
  --violet: #7b2ff7;
  --gold: #ffd54a;
  --green: #37ffb4;
  --orange: #ff8a00;

  --text: #eef0ff;
  --text-dim: #9aa0c3;

  --font-display: 'Orbitron', 'Rajdhani', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Rajdhani', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;

  --radius: 16px;
  --shadow-neon-c: 0 0 18px rgba(0, 229, 255, 0.35), 0 0 46px rgba(0, 229, 255, 0.12);
  --shadow-neon-p: 0 0 18px rgba(255, 45, 149, 0.35), 0 0 46px rgba(255, 45, 149, 0.12);
  --header-h: 64px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(123, 47, 247, 0.28), transparent 60%),
    radial-gradient(900px 560px at -10% 30%, rgba(0, 229, 255, 0.14), transparent 55%),
    radial-gradient(800px 700px at 50% 115%, rgba(255, 45, 149, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pink); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 8px;
  border: 2px solid var(--bg-0);
}

/* ---------- 背景层 ---------- */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.bg-glow {
  position: fixed; border-radius: 50%;
  filter: blur(90px); opacity: 0.5; z-index: 0;
  pointer-events: none; animation: glowFloat 14s ease-in-out infinite alternate;
}
.bg-glow--1 { width: 420px; height: 420px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.55), transparent 70%); }
.bg-glow--2 { width: 380px; height: 380px; bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.4), transparent 70%);
  animation-delay: -6s; }

@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.15); }
}

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- 布局容器 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(7, 5, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-main {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 32px) 60px;
}

.view { display: none; animation: viewIn 0.45s ease both; }
.view.is-active { display: block; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 头部 / Logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; }

.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--pink));
  border-radius: 12px;
  box-shadow: var(--shadow-neon-c);
  animation: logoSpin 6s linear infinite;
}
@keyframes logoSpin { to { filter: hue-rotate(360deg); } }

.logo-text {
  font-family: var(--font-display);
  font-weight: 900; font-size: 20px; letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-text em { font-style: normal; color: var(--pink); -webkit-text-fill-color: var(--pink); }

/* ---------- 导航 ---------- */
.main-nav { display: flex; gap: 6px; }

.nav-link {
  position: relative; padding: 8px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.5px;
  color: var(--text-dim); transition: color 0.25s, box-shadow 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.16), rgba(255, 45, 149, 0.16));
  box-shadow: inset 0 0 0 1px var(--border-glow), 0 0 16px rgba(0, 229, 255, 0.18);
}
.nav-link.is-active::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 8px var(--cyan);
}

.header-right { display: flex; align-items: center; gap: 12px; }

/* 语言切换 */
.lang-switch {
  display: flex; padding: 3px; gap: 2px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-btn {
  border: 0; background: transparent; color: var(--text-dim);
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px; transition: all 0.25s;
}
.lang-btn.is-active {
  color: #06131a;
  background: linear-gradient(90deg, var(--cyan), #4ef2ff);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.55);
}

/* 汉堡菜单 */
.menu-btn {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 38px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 10px;
}
.menu-btn span {
  width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(16px, 2.6vw, 32px) 0 clamp(20px, 3vw, 36px);
  text-align: center; overflow: hidden;
}

.hero-badge {
  display: inline-block; padding: 6px 16px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--gold);
  background: rgba(255, 213, 74, 0.08);
  border: 1px solid rgba(255, 213, 74, 0.4);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.15), inset 0 0 12px rgba(255, 213, 74, 0.06);
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 213, 74, 0.12), inset 0 0 10px rgba(255,213,74,0.05); }
  50%      { box-shadow: 0 0 26px rgba(255, 213, 74, 0.35), inset 0 0 14px rgba(255,213,74,0.12); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.4vw, 56px);
  font-weight: 900; letter-spacing: 3px; line-height: 1.15;
  background: linear-gradient(92deg, var(--cyan) 0%, #7df9ff 22%, var(--violet) 52%, var(--pink) 82%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShift 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 22px rgba(123, 47, 247, 0.45));
}
@keyframes titleShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.hero-sub {
  margin: 14px auto 30px; max-width: 560px;
  color: var(--text-dim); font-size: clamp(14px, 2vw, 17px); line-height: 1.7;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 18px); max-width: 760px; margin: 0 auto;
}

.stat-card {
  padding: 16px 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-neon-c);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 3.2vw, 32px); font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.6);
}
.stat-label { display: block; margin-top: 4px; font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }

/* Hero 右侧均衡器 */
.hero-eq {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: flex; align-items: flex-end; gap: 5px; height: 90px; opacity: 0.55;
}
.hero-eq span {
  width: 6px; border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  animation: eq 1.1s ease-in-out infinite;
}
.hero-eq span:nth-child(1) { height: 30%; animation-delay: 0s; }
.hero-eq span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.hero-eq span:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.hero-eq span:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.hero-eq span:nth-child(5) { height: 55%; animation-delay: 0.6s; }
.hero-eq span:nth-child(6) { height: 80%; animation-delay: 0.75s; }
.hero-eq span:nth-child(7) { height: 40%; animation-delay: 0.9s; }
.hero-eq span:nth-child(8) { height: 65%; animation-delay: 1.05s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.35); opacity: 0.7; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ---------- 排行榜工具条 ---------- */
.rank-toolbar {
  position: relative; z-index: 3;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.dim-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 5px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.dim-tab {
  flex: 1; min-width: 110px;
  padding: 11px 10px; border: 0; border-radius: 11px;
  font-weight: 700; font-size: 14px; letter-spacing: 1px;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  transition: all 0.28s;
}
.dim-tab:hover {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.45), 0 0 12px rgba(0, 229, 255, 0.15);
}
.dim-tab.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  box-shadow: 0 0 22px rgba(123, 47, 247, 0.5);
  background-size: 160% 100%;
  animation: tabGlow 3s ease-in-out infinite alternate;
}
@keyframes tabGlow {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

/* 筛选 chips */
.chip-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.chip {
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.chip:hover { color: var(--text); border-color: rgba(0, 229, 255, 0.5); transform: translateY(-1px); }
.chip.is-active {
  color: #05222b;
  background: linear-gradient(90deg, var(--cyan), #7ef2ff);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
  font-weight: 700;
}

.toolbar-row {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  margin-top: 16px; flex-wrap: wrap;
}

.sort-box { display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }
.sort-select {
  appearance: none; -webkit-appearance: none;
  padding: 9px 36px 9px 14px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2300e5ff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--border); border-radius: 10px;
  outline: none; cursor: pointer; transition: border-color 0.25s, box-shadow 0.25s;
}
.sort-select:focus { border-color: var(--border-glow); box-shadow: 0 0 12px rgba(0, 229, 255, 0.2); }
.sort-select option { background: var(--bg-1); color: var(--text); }

.search-box { position: relative; flex: 1; min-width: 220px; max-width: 340px; }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-size: 18px; font-weight: 700; pointer-events: none;
}
.search-box input {
  width: 100%; padding: 11px 16px 11px 38px;
  font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border); border-radius: 12px;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box input::placeholder { color: var(--text-dim); opacity: 0.75; }
.search-box input:focus { border-color: var(--border-glow); box-shadow: 0 0 16px rgba(0, 229, 255, 0.22); }

/* ---------- 领奖台 Top3 ---------- */
.podium {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: stretch; gap: 16px;
  margin: 30px 0 12px;
}
.podium[hidden] { display: none; }

.podium-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 22px 14px 0;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  cursor: pointer;
  animation: podiumIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.podium-card:hover { transform: translateY(-6px); }

/* 金银铜主题 */
.podium-card--1 {
  border-color: rgba(255, 213, 74, 0.65);
  background: linear-gradient(180deg, rgba(255, 213, 74, 0.16), rgba(255, 138, 0, 0.05) 65%), var(--panel);
  box-shadow: 0 0 46px rgba(255, 213, 74, 0.25), inset 0 0 36px rgba(255, 213, 74, 0.06);
}
.podium-card--2 {
  animation-delay: 0.12s;
  border-color: rgba(203, 213, 225, 0.5);
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.12), transparent 65%), var(--panel);
  box-shadow: inset 0 0 30px rgba(203, 213, 225, 0.05);
}
.podium-card--3 {
  animation-delay: 0.24s;
  border-color: rgba(205, 127, 50, 0.5);
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.14), transparent 65%), var(--panel);
  box-shadow: inset 0 0 30px rgba(205, 127, 50, 0.05);
}

/* 冠军金光扫过 */
.podium-card--1::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: podiumShine 3.4s ease-in-out infinite;
}
@keyframes podiumShine {
  0%, 52% { transform: translateX(-130%); }
  92%, 100% { transform: translateX(130%); }
}

@keyframes podiumIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 冠军王冠 */
.podium-crown {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 30px; line-height: 1;
  animation: crownFloat 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(255, 213, 74, 0.9));
}
@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

/* 金属奖牌 */
.podium-medal {
  position: relative;
  width: 52px; height: 52px; margin-top: 4px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
}
.podium-medal::before {
  content: ''; position: absolute; inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.podium-medal span { position: relative; }
.medal--gold {
  background: radial-gradient(circle at 32% 28%, #fff8cc, #ffd700 46%, #a87900);
  color: #6b4a00;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.35);
}
.medal--silver {
  background: radial-gradient(circle at 32% 28%, #ffffff, #d3dbe6 46%, #8a97ad);
  color: #3d4654;
  box-shadow: 0 0 16px rgba(214, 224, 236, 0.45), 0 6px 14px rgba(0, 0, 0, 0.3);
}
.medal--bronze {
  background: radial-gradient(circle at 32% 28%, #f8d0a8, #cd7f32 46%, #7a4517);
  color: #5c3410;
  box-shadow: 0 0 16px rgba(205, 127, 50, 0.5), 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* 冠军奖牌更大 + 旋转光环 */
.podium-card--1 .podium-medal { width: 64px; height: 64px; font-size: 27px; }
.podium-card--1 .podium-medal::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px dashed rgba(255, 213, 74, 0.75);
  animation: medalRing 6s linear infinite;
}
@keyframes medalRing { to { transform: rotate(360deg); } }

.podium-cover {
  width: 64px; height: 64px; margin: 12px auto 10px;
  display: grid; place-items: center; font-size: 30px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  animation: coverFloat 3.2s ease-in-out infinite;
}
.podium-card--1 .podium-cover { width: 78px; height: 78px; font-size: 38px; }
@keyframes coverFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.podium-title {
  font-weight: 700; font-size: 15px; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px;
}
.podium-sub {
  color: var(--text-dim); font-size: 12px; margin-top: 3px;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px;
}
.podium-likes {
  margin: 8px 0 14px; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.podium-card--1 .podium-likes { color: var(--gold); text-shadow: 0 0 12px rgba(255, 213, 74, 0.75); }
.podium-card--2 .podium-likes { color: #cbd5e1; text-shadow: 0 0 10px rgba(203, 213, 225, 0.55); }
.podium-card--3 .podium-likes { color: #e8a35e; text-shadow: 0 0 10px rgba(232, 163, 94, 0.55); }
.podium-likes .heart { animation: heartBeat 1.2s ease-in-out infinite; display: inline-block; }
@keyframes heartBeat { 0%,100% { transform: scale(1); } 25% { transform: scale(1.35); } 40% { transform: scale(0.95); } }

/* 领奖台底座阶梯（冠军最高） */
.podium-base {
  margin-top: auto; width: 100%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; letter-spacing: 2px;
}
.podium-card--1 .podium-base {
  height: 58px; font-size: 26px;
  background: linear-gradient(180deg, #ffe066, #ffb300 55%, #cc8800);
  color: #5c3a00;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 34px rgba(255, 200, 50, 0.35);
}
.podium-card--2 .podium-base {
  height: 42px; font-size: 20px;
  background: linear-gradient(180deg, #f1f5f9, #cbd5e1 55%, #94a3b8);
  color: #33415c;
  border-radius: 12px 12px 0 0;
}
.podium-card--3 .podium-base {
  height: 32px; font-size: 18px;
  background: linear-gradient(180deg, #f0b27a, #cd7f32 55%, #8b5a2b);
  color: #4a2c0e;
  border-radius: 10px 10px 0 0;
}

/* ---------- 排行榜列表 ---------- */
.rank-wrap { margin-top: 18px; }

.rank-list { display: flex; flex-direction: column; gap: 12px; }

/* 加载更多提示（哨兵） */
.rank-sentinel {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 14px;
  color: var(--text-dim); font-size: 14px; font-weight: 600; letter-spacing: 1px;
  background: var(--panel-2);
  border: 1px dashed var(--border);
}
.rank-sentinel[hidden] { display: none; }
.sentinel-arrow { display: inline-block; color: var(--cyan); animation: sentinelBounce 1.6s ease-in-out infinite; }
@keyframes sentinelBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.sentinel-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.25);
  border-top-color: var(--cyan);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.rank-item {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1.5fr) minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
  animation: rowIn 0.5s ease both;
}
@keyframes rowIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }

/* 滚动追加的行：不加入场动画，提示消失立即显示 */
.rank-item.is-appended { animation: none; opacity: 1; }

.rank-item:hover {
  transform: translateX(6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-neon-c);
}

/* 每行点赞占比动画条 */
.rank-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.28), rgba(255, 45, 149, 0.18) 95%, transparent);
  z-index: 0; transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.rank-item > :not(.rank-bar) { position: relative; z-index: 1; }

.rank-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 26px; text-align: center;
  color: rgba(255, 255, 255, 0.28);
}
.rank-hot {
  display: inline-block; margin-left: 8px;
  font-size: 10px; letter-spacing: 1px; font-weight: 900;
  color: #ffe9a8; vertical-align: middle;
  padding: 2px 7px; border-radius: 6px;
  background: linear-gradient(90deg, #ff2d55, #ff9500);
  animation: hotBlink 1.4s ease-in-out infinite;
}
@keyframes hotBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

.rank-song { display: flex; align-items: center; gap: 14px; min-width: 0; }

.rank-cover {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center; font-size: 24px;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}
.rank-item:hover .rank-cover { transform: scale(1.08) rotate(-4deg); }

.rank-title { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-artist { color: var(--text-dim); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rank-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag {
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.tag--style { color: var(--cyan); background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.35); }
.tag--bpm { color: #c4b5fd; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(167, 139, 250, 0.55); }
.tag--diff { color: var(--pink); background: rgba(255, 45, 149, 0.1); border: 1px solid rgba(255, 45, 149, 0.35); }

.stars { letter-spacing: 2px; font-size: 12px; }

.rank-stats { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.rank-stat {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.rank-stat i {
  font-style: normal; font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; color: var(--text-dim); letter-spacing: 1px;
}
.rank-stat--likes { color: var(--pink); }
.rank-stat--comments { color: var(--cyan); }
.rank-stat--plays { color: var(--green); }

.like-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 45, 149, 0.22), rgba(123, 47, 247, 0.22));
  border: 1px solid rgba(255, 45, 149, 0.55);
  transition: all 0.25s;
}
.like-btn .heart { display: inline-block; color: var(--pink); font-size: 15px; text-shadow: 0 0 10px rgba(255,45,149,0.8); }
.like-btn:hover { box-shadow: 0 0 20px rgba(255, 45, 149, 0.4); transform: translateY(-2px); }
.like-btn.is-liked {
  background: linear-gradient(120deg, var(--pink), var(--violet));
  border-color: transparent;
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.55);
}
.like-btn.is-liked .heart { color: #fff; animation: heartBeat 0.8s ease-in-out 2; }

/* ---------- 空状态 ---------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-dim); }
.empty-icon { display: block; font-size: 52px; margin-bottom: 14px; animation: floatY 2.6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.empty-state p { font-size: 15px; }

/* ---------- 页面头（上传页） ---------- */
.page-head {
  position: relative; text-align: center;
  padding: clamp(36px, 5vw, 60px) 0 30px;
}
.page-head-glow {
  font-size: 64px; line-height: 1; color: var(--violet);
  text-shadow: 0 0 30px rgba(123, 47, 247, 0.8);
  animation: floatY 3s ease-in-out infinite;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.6vw, 44px); font-weight: 900; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: titleShift 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(255, 45, 149, 0.35));
}
.page-sub { color: var(--text-dim); margin: 12px auto 20px; max-width: 560px; line-height: 1.7; font-size: 15px; }
.page-head-stats { display: flex; justify-content: center; gap: 12px; font-size: 14px; color: var(--text-dim); flex-wrap: wrap; }
.page-head-stats b { color: var(--gold); font-family: var(--font-display); text-shadow: 0 0 10px rgba(255,213,74,0.5); }
.page-head-stats .dot { color: rgba(255,255,255,0.25); }
.page-search { max-width: 420px; margin: 22px auto 0; }

/* ---------- 上传歌曲卡片网格 ---------- */
.upload-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
}

.upload-card {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 封面图标在渐变底上更醒目 */
.upload-cover span:first-child { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
/* 滚动追加的卡片：不加入场动画，提示消失立即显示 */
.upload-card.is-appended { animation: none; opacity: 1; }
.upload-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), var(--shadow-neon-c);
}

.upload-cover {
  position: relative; height: 96px;
  display: grid; place-items: center; font-size: 38px;
  transition: transform 0.4s;
}
.upload-card:hover .upload-cover { transform: scale(1.06); }
.upload-cover .cover-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s;
}
.upload-card:hover .cover-shine { transform: translateX(120%); }

.upload-body { padding: 14px 16px 16px; }
.upload-title { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-tags { display: flex; gap: 6px; margin: 8px 0 10px; flex-wrap: wrap; }

.upload-meta { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center; font-size: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
}
.uploader-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uploader-label { display: block; font-size: 10px; color: var(--text-dim); letter-spacing: 1px; font-weight: 600; }
.upload-time { margin-left: auto; font-size: 12px; color: var(--text-dim); white-space: nowrap; }

.upload-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.upload-stat { text-align: center; }
.upload-stat b {
  display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700;
}
.upload-stat i { font-style: normal; font-size: 11px; color: var(--text-dim); }
.upload-stat--likes b { color: var(--pink); }
.upload-stat--plays b { color: var(--green); }
.upload-stat--comments b { color: var(--cyan); }

.upload-card .like-btn { width: 100%; justify-content: center; margin-top: 14px; }

/* ---------- 按钮通用 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px;
  font-weight: 700; font-size: 14px; letter-spacing: 1px;
  border: 1px solid var(--border); color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--like {
  background: linear-gradient(120deg, rgba(255, 45, 149, 0.25), rgba(123, 47, 247, 0.25));
  border-color: rgba(255, 45, 149, 0.55);
}
.btn--like:hover { box-shadow: 0 0 22px rgba(255, 45, 149, 0.45); }
.btn--like.is-liked {
  background: linear-gradient(120deg, var(--pink), var(--violet));
  border-color: transparent;
  box-shadow: 0 0 26px rgba(255, 45, 149, 0.6);
}
.btn--ghost:hover { border-color: var(--border-glow); box-shadow: 0 0 16px rgba(0, 229, 255, 0.25); }
.btn--send {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  border-color: transparent; color: #04121a;
  font-weight: 800;
}
.btn--send:hover { box-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }

/* ---------- 详情弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  display: none;                       /* 默认隐藏，遵守 hidden 属性 */
  place-items: center;
  padding: 20px;
  background: rgba(4, 3, 12, 0.72);
  backdrop-filter: blur(8px);
}
.modal-mask:not([hidden]) {
  display: grid;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  background: linear-gradient(180deg, rgba(24, 18, 56, 0.97), rgba(10, 8, 26, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 28px clamp(18px, 4vw, 34px) 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), var(--shadow-neon-c);
  animation: modalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* 弹窗滚动区：上下留边距（避开圆角），左右铺满使滚动条贴最右缘 */
.modal-scroll {
  overflow-y: auto;
  max-height: calc(88vh - 80px);
  margin: 8px calc(-1 * clamp(18px, 4vw, 34px));
  padding: 0 clamp(18px, 4vw, 34px);
  padding-right: calc(clamp(18px, 4vw, 34px) - 8px); /* 右侧给滚动条让位 */
}

/* 弹窗滚动条：更细更弱 */
.modal-scroll::-webkit-scrollbar { width: 6px; }
.modal-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.3);
  border-radius: 6px; border: 0;
}

.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255,255,255,0.06);
  color: var(--text); font-size: 15px;
  transition: all 0.25s;
}
.modal-close:hover { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 16px rgba(255,45,149,0.5); transform: rotate(90deg); }

.modal-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.modal-cover {
  width: 104px; height: 104px; flex: none;
  display: grid; place-items: center; font-size: 48px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.2);
  animation: coverFloat 3.4s ease-in-out infinite;
}

.modal-info { flex: 1; min-width: 200px; }
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.modal-artist { color: var(--text-dim); font-size: 14px; margin-top: 5px; }
.modal-meta { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.modal-play { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 36px 48px 0 0; }
.play-btn {
  width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.7);
  background: radial-gradient(circle at 35% 30%, rgba(0, 229, 255, 0.35), rgba(123, 47, 247, 0.4));
  color: #fff; font-size: 24px;
  display: grid; place-items: center;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 0 40px rgba(0, 229, 255, 0.7); }
.play-btn.is-playing { animation: pulseRing 1.6s ease-out infinite; }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.55); }
  100% { box-shadow: 0 0 0 22px rgba(0, 229, 255, 0); }
}
.play-label { font-size: 12px; color: var(--text-dim); letter-spacing: 2px; }

/* 迷你均衡器（播放中） */
.eq-mini { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.play-btn.is-playing .play-icon { display: none; }
.play-btn.is-playing .eq-mini { display: flex; }
.eq-mini i {
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #fff, var(--cyan));
  animation: eq 0.9s ease-in-out infinite;
}
.eq-mini i:nth-child(1) { height: 55%; animation-delay: 0s; }
.eq-mini i:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.eq-mini i:nth-child(3) { height: 70%; animation-delay: 0.4s; }
.eq-mini i:nth-child(4) { height: 90%; animation-delay: 0.6s; }

/* 统计条 */
.modal-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin: 24px 0 18px;
}
.mstat {
  text-align: center; padding: 12px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border); border-radius: 14px;
}
.mstat b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--cyan); text-shadow: 0 0 12px rgba(0,229,255,0.5); }
.mstat--bpm b { color: var(--violet); text-shadow: 0 0 12px rgba(139,92,246,0.6); }
.mstat span { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* 评论 */
.modal-comments { margin-top: 26px; }
.comments-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.comments-head h4 { font-size: 16px; letter-spacing: 1px; }
.comments-count {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--cyan); padding: 2px 10px; border-radius: 999px;
  background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.35);
}

.comments-list { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.comment-item {
  display: flex; gap: 12px; padding: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border); border-radius: 14px;
  animation: rowIn 0.4s ease both;
}
.comment-item .avatar { width: 36px; height: 36px; font-size: 18px; }
.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.comment-user { font-weight: 700; font-size: 14px; color: var(--cyan); }
.comment-time { font-size: 11px; color: var(--text-dim); }
.comment-text { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--text); }
.comment-likes { margin-left: auto; font-size: 12px; color: var(--pink); white-space: nowrap; }

.comment-input-row { display: flex; gap: 10px; margin-top: 16px; }
.comment-input-row input {
  flex: 1; padding: 12px 16px;
  font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border); border-radius: 12px;
  outline: none;
}
.comment-input-row input:focus { border-color: var(--border-glow); box-shadow: 0 0 14px rgba(0,229,255,0.2); }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; top: calc(var(--header-h) + 20px); left: 50%; transform: translateX(-50%);
  z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none;
}
.toast {
  padding: 12px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, rgba(123, 47, 247, 0.92), rgba(0, 229, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(0, 229, 255, 0.35);
  animation: toastIn 0.35s cubic-bezier(0.22, 1, 0.36, 1), toastOut 0.35s ease 2.6s forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px) scale(0.94); } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(7, 5, 18, 0.7);
  backdrop-filter: blur(10px);
}
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 30px clamp(14px, 3vw, 32px); text-align: center; }
.footer-logo { font-family: var(--font-display); font-weight: 900; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-text { color: var(--text-dim); font-size: 13px; margin-top: 8px; }
.footer-copy { color: rgba(154, 160, 195, 0.6); font-size: 12px; margin-top: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .rank-item { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .rank-tags { display: none; }
  .rank-stats { gap: 12px; }
  .hero-eq { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 58px; }

  .menu-btn { display: flex; }

  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 4px;
    padding: 12px 16px;
    background: rgba(7, 5, 18, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(calc(-100% - 24px));
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-link { padding: 13px 18px; border-radius: 12px; }
  .nav-link.is-active { background: linear-gradient(90deg, rgba(0,229,255,0.14), rgba(255,45,149,0.14)); }
  .nav-link.is-active::after { display: none; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 13px 6px; }

  .rank-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px; padding: 13px 14px;
  }
  .rank-tags { display: flex; grid-column: 2; margin-top: -6px; }
  .rank-stats { grid-column: 1 / -1; justify-content: space-between; }
  .rank-num { font-size: 22px; }

  /* 移动端领奖台：冠军整行置顶 */
  .podium { grid-template-columns: 1fr 1fr; }
  .podium-card--1 { order: 1; grid-column: 1 / -1; }
  .podium-card--2 { order: 2; }
  .podium-card--3 { order: 3; }

  .dim-tab { min-width: 0; padding: 10px 6px; font-size: 13px; }

  /* 移动端弹窗：信息靠左、试听按钮独立一行居中、整体更紧凑 */
  .modal { padding: 22px 16px 20px; }
  .modal-scroll { margin: 8px -16px; padding: 0 8px 0 16px; }
  .modal-hero { justify-content: flex-start; text-align: left; }
  .modal-cover { width: 88px; height: 88px; font-size: 40px; }
  .modal-info { flex: 1; min-width: 0; text-align: left; padding-right: 40px; }
  .modal-tags, .modal-meta { justify-content: flex-start; }
  .modal-play {
    order: 3; width: 100%;
    flex-direction: row; align-items: center; justify-content: center;
    gap: 12px; margin: 10px 0 0;
  }
  .modal-play .play-btn { width: 64px; height: 64px; font-size: 20px; }
  .modal-stats { margin: 18px 0 14px; }
  .modal-comments { margin-top: 20px; }
  .comments-list { max-height: 240px; }
  .modal-stats { grid-template-columns: repeat(2, 1fr); }

  /* 移动端上传卡片：卡片间淡色分割线，便于区分区域 */
  .upload-grid { gap: 12px; }
  .upload-card { overflow: visible; border-radius: 18px; }
  .upload-cover { height: 64px; font-size: 30px; border-radius: 18px 18px 0 0; }
  .upload-card + .upload-card::before {
    content: '';
    position: absolute; top: -6px; left: 10px; right: 10px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
  }

  .search-box { max-width: none; }
  .toolbar-row { flex-direction: column; align-items: stretch; }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
