/* ============================================================
   音乐中枢 - 设计系统
   深空玻璃拟态 + 音乐可视化 + 响应式 + 高级动画
   ============================================================ */

:root {
  --bg-0: #0a0e1a;
  --bg-1: #0f1629;
  --bg-2: #151d35;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --text-0: #f1f5f9;
  --text-1: #cbd5e1;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --accent: #818cf8;
  --accent-2: #c084fc;
  --accent-3: #38bdf8;
  --gold: #fbbf24;
  --green: #34d399;
  --red: #f87171;
  --orange: #fb923c;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-glow: 0 0 60px rgba(129, 140, 248, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-0);
  color: var(--text-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#weather-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(129, 140, 248, 0.06), transparent),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(192, 132, 252, 0.05), transparent);
  z-index: 0;
  pointer-events: none;
}

/* ========== 导航栏 ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-brand .brand-icon {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(129, 140, 248, 0.4);
}

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 11px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
  cursor: pointer;
}

.nav-link:hover { color: var(--text-0); background: var(--glass-hover); }
.nav-link.active { color: var(--text-0); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-border); }
.nav-link .icon-wrap { width: 16px; height: 16px; }

.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.nav-username { font-size: 13px; color: var(--text-1); }

/* ========== 主内容 ========== */
.main {
  position: relative;
  z-index: 1;
  padding: 84px 24px 32px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
}

/* 玻璃卡片基础 */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, border-color 0.4s;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  z-index: 1;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(129, 140, 248, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.glass-card > * {
  position: relative;
  z-index: 2;
}

/* ========== 音乐中枢布局 ========== */
.hub-layout {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  height: calc(100vh - 120px);
  max-width: 1400px;
}

/* 天气小部件 - 左上 */
.weather-widget {
  grid-column: 1;
  grid-row: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.weather-widget-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-widget-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-widget-icon .icon-wrap { width: 56px; height: 56px; }

.weather-widget-temp {
  font-size: 38px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.weather-widget-text {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 4px;
}

.weather-widget-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ww-detail {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}

.ww-label {
  display: block;
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.ww-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
}

.weather-widget-city {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-3);
}

/* 频谱窗口 - 右上 */
.spectrum-widget {
  grid-column: 3;
  grid-row: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spectrum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spectrum-title {
  font-size: 12px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.spectrum-status {
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}

.spectrum-canvas {
  width: 100%;
  height: 100px;
  flex: 1;
}

/* 音乐播放器 - 中间主区域 */
.player-main {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* 专辑封面 */
.player-cover-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-cover {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.album-cover.playing {
  animation: cover-rotate 20s linear infinite;
}

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

.cover-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.2), rgba(15, 22, 41, 0.8));
  border: 1px solid rgba(129, 140, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cover-svg {
  width: 80%;
  height: 80%;
}

.cover-glow {
  position: absolute;
  top: -20px; left: -20px; right: -20px; bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.2), transparent 70%);
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* 歌曲信息 */
.player-info {
  text-align: center;
}

.now-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.now-artist {
  font-size: 14px;
  color: var(--text-3);
}

/* 进度条 */
.player-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.time-label {
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.6);
  opacity: 0;
  transition: opacity 0.2s;
}

.progress-bar:hover .progress-fill::after { opacity: 1; }

/* 控制按钮 */
.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ctrl-btn:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  color: var(--text-0);
  transform: scale(1.08);
}

.ctrl-btn svg { width: 20px; height: 20px; }

.play-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: white;
  box-shadow: 0 4px 24px rgba(129, 140, 248, 0.4);
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(129, 140, 248, 0.6);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.play-btn svg { width: 24px; height: 24px; }

.play-btn .icon-pause { display: none; }
.play-btn.playing .icon-play { display: none; }
.play-btn.playing .icon-pause { display: block; }

/* 音量 */
.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.volume-icon { width: 18px; height: 18px; color: var(--text-3); }

.volume-slider {
  width: 70px;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

.volume-value {
  font-size: 11px;
  color: var(--text-3);
  min-width: 30px;
}

/* 播放列表 - 底部 */
.playlist-panel {
  grid-column: 1 / 4;
  grid-row: 3;
  padding: 20px 24px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.playlist-title {
  font-size: 13px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.playlist-count {
  font-size: 12px;
  color: var(--text-3);
}

.playlist-scroll {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--glass-border) transparent;
}

.playlist-scroll::-webkit-scrollbar { width: 4px; }
.playlist-scroll::-webkit-scrollbar-track { background: transparent; }
.playlist-scroll::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 2px; }

.playlist-empty {
  text-align: center;
  padding: 20px;
  color: var(--text-3);
  font-size: 13px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.playlist-item:hover { background: rgba(255,255,255,0.05); }

.playlist-item.active {
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.playlist-index {
  width: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.playlist-item.active .playlist-index { color: var(--accent); }

.playing-indicator {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  justify-content: center;
}

.playing-indicator span {
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  animation: eq-bounce 0.8s ease-in-out infinite;
}

.playing-indicator span:nth-child(1) { animation-delay: 0s; height: 8px; }
.playing-indicator span:nth-child(2) { animation-delay: 0.2s; height: 12px; }
.playing-indicator span:nth-child(3) { animation-delay: 0.4s; height: 6px; }

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.playlist-info { flex: 1; min-width: 0; }

.playlist-item-title {
  font-size: 14px;
  color: var(--text-0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-item-artist {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.playlist-duration {
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ========== 登录页 ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--glass);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  animation: login-enter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes login-enter {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15), transparent 70%);
  border-radius: 50%;
}

.login-logo {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(129, 140, 248, 0.4);
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  color: var(--text-0);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.12);
}

.form-input::placeholder { color: var(--text-3); }

.btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::after { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129, 140, 248, 0.4); }

.login-error {
  color: var(--red);
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
  min-height: 16px;
}

/* ========== 设置页 ========== */
.page-header { margin-bottom: 24px; }
.page-title {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-0), var(--text-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-subtitle { font-size: 13px; color: var(--text-3); margin-top: 4px; }

.settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.settings-section {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.settings-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.settings-section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-section-title .icon-wrap { width: 18px; height: 18px; color: var(--accent); }

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.setting-row:last-child { border-bottom: none; }

.setting-label {
  font-size: 13px;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.setting-label .icon-wrap { width: 15px; height: 15px; color: var(--text-3); }

.setting-control { display: flex; align-items: center; gap: 8px; }

/* 特效选择 */
.effect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.effect-option {
  padding: 14px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-size: 12px;
  color: var(--text-2);
}

.effect-option:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--glass-border-hover);
}

.effect-option.active {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.4);
  color: var(--text-0);
}

.effect-option .effect-icon {
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}

/* 滑块 */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 180px;
}

.slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(129, 140, 248, 0.4);
}

.slider-value {
  font-size: 12px;
  color: var(--text-2);
  width: 28px;
  text-align: right;
}

/* 交通方式勾选 */
.transport-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 11px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 12px;
}

.toggle-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--glass-border-hover);
}

.toggle-item input[type="checkbox"] { display: none; }
.toggle-item .icon-wrap { width: 16px; height: 16px; color: var(--text-2); }

.toggle-item:has(input:checked) {
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.3);
  color: var(--text-0);
}

.toggle-item:has(input:checked) .icon-wrap { color: var(--accent); }

/* 城市搜索 */
.city-search-wrap { position: relative; }

.city-search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 11px;
  color: var(--text-0);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.city-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.1);
}

.city-search-icon {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-3);
}

.city-results {
  position: absolute;
  top: 100%; left: 0; right: 0;
  margin-top: 5px;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: 11px;
  overflow: hidden;
  z-index: 10;
  max-height: 180px;
  overflow-y: auto;
}

.city-result-item {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
}

.city-result-item:hover { background: rgba(129, 140, 248, 0.1); }

/* 用户管理 */
.user-list { display: flex; flex-direction: column; gap: 7px; }

.user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.04);
}

.user-item-info { display: flex; align-items: center; gap: 10px; }

.user-item-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}

.user-item-name { font-size: 13px; }

.user-item-role {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent);
}

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

.btn-small {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-2);
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-small:hover { background: rgba(255,255,255,0.06); color: var(--text-0); }
.btn-small.danger:hover { background: rgba(248, 113, 113, 0.15); color: var(--red); border-color: rgba(248, 113, 113, 0.3); }

.settings-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.btn-save {
  padding: 11px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-save:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(129, 140, 248, 0.4); }

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 13px;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(52, 211, 153, 0.3); color: var(--green); }
.toast.error { border-color: rgba(248, 113, 113, 0.3); color: var(--red); }

/* 全屏预警 */
.alert-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.alert-overlay.active { display: flex; animation: alert-fade-in 0.3s ease; }

@keyframes alert-fade-in { from { opacity: 0; } to { opacity: 1; } }

.alert-overlay-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
}

.alert-overlay.level-severe .alert-overlay-bg { background: rgba(60, 10, 10, 0.9); }
.alert-overlay.level-severe.flashing .alert-overlay-bg { background: rgba(120, 20, 20, 0.95); }
.alert-overlay.level-moderate.flashing .alert-overlay-bg { background: rgba(80, 50, 10, 0.9); }

.alert-overlay-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 460px;
  padding: 40px;
  animation: alert-scale-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alert-scale-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.alert-icon-wrap {
  position: relative;
  width: 90px; height: 90px;
  margin: 0 auto 20px;
}

.alert-icon-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 3px solid;
  animation: alert-ring-pulse 1.5s infinite;
}

.level-severe .alert-icon-ring { border-color: var(--red); box-shadow: 0 0 40px rgba(248, 113, 113, 0.4); }
.level-moderate .alert-icon-ring { border-color: var(--gold); box-shadow: 0 0 40px rgba(251, 191, 36, 0.4); }

@keyframes alert-ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.alert-icon {
  width: 54px; height: 54px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.level-severe .alert-icon { color: var(--red); }
.level-moderate .alert-icon { color: var(--gold); }

.alert-level {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
  font-weight: 600;
}

.level-severe .alert-level { color: var(--red); }
.level-moderate .alert-level { color: var(--gold); }

.alert-title { font-size: 28px; font-weight: 700; margin-bottom: 14px; }

.alert-text {
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.7;
  margin-bottom: 28px;
}

.alert-btn {
  padding: 13px 36px;
  border-radius: 13px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: white;
}

.level-severe .alert-btn { background: linear-gradient(135deg, var(--red), #ef4444); box-shadow: 0 4px 20px rgba(248, 113, 113, 0.4); }
.level-moderate .alert-btn { background: linear-gradient(135deg, var(--gold), #f59e0b); box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4); }
.alert-btn:hover { transform: translateY(-2px); }

.alert-timer { font-size: 11px; color: var(--text-3); margin-top: 12px; }

/* SVG图标动画 */
.icon-sun-core { animation: sun-glow 3s ease-in-out infinite; transform-origin: center; }
@keyframes sun-glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2); } }
.icon-sun-rays { animation: sun-rotate 20s linear infinite; transform-origin: center; }
@keyframes sun-rotate { to { transform: rotate(360deg); } }
.icon-cloud { animation: cloud-float 4s ease-in-out infinite; }
.icon-cloud-back { animation: cloud-float 5s ease-in-out infinite reverse; opacity: 0.5; }
@keyframes cloud-float { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.icon-rain-drops .drop { animation: rain-fall 1s linear infinite; }
.icon-rain-drops .d1 { animation-delay: 0s; }
.icon-rain-drops .d2 { animation-delay: 0.3s; }
.icon-rain-drops .d3 { animation-delay: 0.6s; }
.icon-rain-drops .d4 { animation-delay: 0.15s; }
@keyframes rain-fall {
  0% { opacity: 0; transform: translateY(-4px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}
.icon-bolt { animation: bolt-flash 1.5s infinite; }
@keyframes bolt-flash {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.7; filter: brightness(1.5); }
  52% { opacity: 1; }
}
.icon-snowflakes .flake { animation: snow-fall 2s ease-in-out infinite; }
.icon-snowflakes .f1 { animation-delay: 0s; }
.icon-snowflakes .f2 { animation-delay: 0.7s; }
.icon-snowflakes .f3 { animation-delay: 1.3s; }
@keyframes snow-fall {
  0% { opacity: 0; transform: translateY(-4px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}
.icon-fog-lines .fog-l1 { animation: fog-drift 3s ease-in-out infinite; }
.icon-fog-lines .fog-l2 { animation: fog-drift 3.5s ease-in-out infinite 0.3s; }
.icon-fog-lines .fog-l3 { animation: fog-drift 4s ease-in-out infinite 0.6s; }
.icon-fog-lines .fog-l4 { animation: fog-drift 3.2s ease-in-out infinite 0.9s; }
@keyframes fog-drift {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(4px); opacity: 1; }
}
.icon-drizzle .dz { animation: drizzle-fall 1.5s ease-in-out infinite; }
.icon-drizzle .d1 { animation-delay: 0s; }
.icon-drizzle .d2 { animation-delay: 0.5s; }
.icon-drizzle .d3 { animation-delay: 1s; }
@keyframes drizzle-fall {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hub-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    height: auto;
  }
  .weather-widget { grid-column: 1; grid-row: 1; }
  .spectrum-widget { grid-column: 2; grid-row: 1; }
  .player-main { grid-column: 1 / 3; grid-row: 2; min-height: 480px; }
  .playlist-panel { grid-column: 1 / 3; grid-row: 3; }
  .settings-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 10px 14px; }
  .nav-brand { font-size: 14px; }
  .nav-brand .brand-icon { width: 30px; height: 30px; }
  .nav-link { padding: 6px 10px; font-size: 12px; }
  .nav-link .icon-wrap { width: 14px; height: 14px; }
  .nav-username { display: none; }
  .main { padding: 72px 14px 24px; }

  .hub-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .weather-widget { grid-column: 1; grid-row: 1; padding: 16px; }
  .spectrum-widget { grid-column: 1; grid-row: 2; padding: 14px; }
  .spectrum-canvas { height: 80px; }
  .player-main { grid-column: 1; grid-row: 3; padding: 24px 16px; min-height: auto; gap: 18px; }
  .playlist-panel { grid-column: 1; grid-row: 4; max-height: 240px; }

  .player-cover-wrap { width: 180px; height: 180px; }
  .album-cover { width: 160px; height: 160px; }
  .now-title { font-size: 18px; }
  .player-controls { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .ctrl-btn { width: 40px; height: 40px; }
  .play-btn { width: 54px; height: 54px; }
  .volume-wrap { order: 5; width: 100%; justify-content: center; margin-left: 0; }
  .volume-slider { width: 100px; }

  .weather-widget-bottom { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .ww-detail { padding: 6px 4px; }
  .ww-value { font-size: 11px; }

  .effect-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-section { padding: 18px; }
}

/* ========== Kp地磁指数 ========== */
.ww-kp {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 7px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  transition: var(--transition);
}

.ww-kp.kp-active {
  background: rgba(129, 140, 248, 0.2);
  color: var(--accent);
  animation: kp-pulse 2s infinite;
}

@keyframes kp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.4); }
  50% { box-shadow: 0 0 8px 2px rgba(129, 140, 248, 0.2); }
}

/* ========== 频谱模式切换 ========== */
.spectrum-controls { display: flex; gap: 6px; }

.spectrum-mode-btn {
  padding: 3px 10px;
  border-radius: 7px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-3);
  font-size: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.spectrum-mode-btn:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-1);
}

.spectrum-mode-btn.active {
  background: rgba(129, 140, 248, 0.15);
  border-color: rgba(129, 140, 248, 0.4);
  color: var(--accent);
}

.spectrum-status {
  font-size: 10px;
  color: var(--text-3);
  text-align: center;
  margin-top: 4px;
}

/* ========== 舒曼共振面板 ========== */
.schumann-panel {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 50;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.schumann-panel.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.schumann-inner {
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 20px;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(129, 140, 248, 0.2);
}

.schumann-title {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

.schumann-canvas {
  width: 180px;
  height: 80px;
  display: block;
}

.schumann-desc {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 6px;
}

#schumannBtn.active {
  background: rgba(129, 140, 248, 0.2);
  border-color: rgba(129, 140, 248, 0.5);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.3);
}

/* ========== 每日报告弹窗 ========== */
.daily-report-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(12px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  padding: 20px;
}

.daily-report-overlay.visible { opacity: 1; }
.daily-report-overlay.closing { opacity: 0; }

.daily-report-card {
  background: linear-gradient(160deg, rgba(21, 29, 53, 0.95), rgba(15, 22, 41, 0.98));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.daily-report-overlay.visible .daily-report-card {
  transform: translateY(0) scale(1);
}

.daily-report-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15), transparent 70%);
  border-radius: 50%;
}

.dr-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.dr-day {
  font-size: 20px;
  font-weight: 700;
  display: block;
}

.dr-weekday {
  font-size: 13px;
  color: var(--text-3);
}

.dr-city {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dr-weather {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  margin-bottom: 16px;
}

.dr-weather-icon { width: 48px; height: 48px; flex-shrink: 0; }
.dr-weather-icon .icon-wrap { width: 48px; height: 48px; }

.dr-weather-summary {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.5;
}

.dr-poem {
  text-align: center;
  padding: 20px 16px;
  margin-bottom: 16px;
  position: relative;
}

.dr-poem::before, .dr-poem::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  top: 50%;
}

.dr-poem::before { left: 0; }
.dr-poem::after { right: 0; }

.dr-poem-label {
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.dr-poem-text {
  font-size: 17px;
  color: var(--text-0);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 1px;
}

.dr-song {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 14px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.dr-song:hover {
  background: rgba(129, 140, 248, 0.12);
  transform: translateX(4px);
}

.dr-song-label {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}

.dr-song-info { flex: 1; min-width: 0; }

.dr-song-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dr-song-artist {
  font-size: 12px;
  color: var(--text-3);
}

.dr-song-reason {
  font-size: 11px;
  color: var(--text-3);
  text-align: right;
  max-width: 80px;
}

.dr-play-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.dr-play-btn:hover { transform: scale(1.1); }
.dr-play-btn svg { width: 16px; height: 16px; margin-left: 2px; }

.dr-health {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(52, 211, 153, 0.06);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-1);
}

.dr-health svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.dr-diary {
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.dr-diary-label {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.dr-mood-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.dr-mood-btn {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  filter: grayscale(0.5);
}

.dr-mood-btn:hover { filter: grayscale(0); }
.dr-mood-btn.active {
  border-color: var(--accent);
  background: rgba(129, 140, 248, 0.1);
  filter: grayscale(0);
  transform: scale(1.05);
}

.dr-diary-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-0);
  font-size: 13px;
  outline: none;
  resize: none;
  margin-bottom: 10px;
  transition: var(--transition);
  font-family: inherit;
}

.dr-diary-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.1);
}

.dr-save-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 16px;
}

.dr-save-btn:hover {
  background: rgba(129, 140, 248, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.dr-close-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dr-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(129, 140, 248, 0.4);
}

/* 手机端每日报告 */
@media (max-width: 640px) {
  .daily-report-card { padding: 24px 20px; }
  .dr-poem-text { font-size: 15px; }
  .dr-song { flex-wrap: wrap; }
  .dr-song-reason { width: 100%; text-align: left; }
  .schumann-inner { padding: 12px 16px; }
  .schumann-canvas { width: 140px; height: 60px; }
}

/* ============================================================
   Awwwards级升级样式
   ============================================================ */

/* 自定义光标 */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}

.custom-cursor.cursor-hover {
  width: 56px; height: 56px;
  border-color: rgba(129, 140, 248, 0.8);
  background: rgba(129, 140, 248, 0.1);
}

.custom-cursor.cursor-beat {
  transform: scale(1.3);
  border-color: rgba(192, 132, 252, 0.9);
}

/* 噪点纹理 */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
}

/* 动态mesh背景 */
.mesh-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: mesh-float 20s ease-in-out infinite;
}

.mesh-blob:nth-child(1) {
  width: 500px; height: 500px;
  background: rgba(129, 140, 248, 0.3);
  top: -10%; left: -5%;
  animation-delay: 0s;
}

.mesh-blob:nth-child(2) {
  width: 400px; height: 400px;
  background: rgba(192, 132, 252, 0.25);
  bottom: -10%; right: -5%;
  animation-delay: -7s;
}

.mesh-blob:nth-child(3) {
  width: 350px; height: 350px;
  background: rgba(56, 189, 248, 0.2);
  top: 40%; left: 50%;
  animation-delay: -14s;
}

@keyframes mesh-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* 排版升级 */
.now-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.weather-widget-temp {
  font-size: 48px;
  font-weight: 200;
  letter-spacing: -3px;
}

/* 选中文本 */
::selection {
  background: rgba(129, 140, 248, 0.4);
  color: white;
}

/* 滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* stagger入场 */
.stagger-item {
  will-change: opacity, transform;
}

/* 数字滚动 */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* 按钮光泽扫过 */
.ctrl-btn, .play-btn, .btn-primary, .btn-save {
  position: relative;
  overflow: hidden;
}

.ctrl-btn::after, .play-btn::after, .btn-primary::after, .btn-save::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s;
  pointer-events: none;
}

.ctrl-btn:hover::after, .play-btn:hover::after, .btn-primary:hover::after, .btn-save:hover::after {
  left: 100%;
}

/* 播放列表hover效果 */
.playlist-item {
  position: relative;
  overflow: hidden;
}

.playlist-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0);
  transition: transform 0.3s;
}

.playlist-item:hover::before,
.playlist-item.active::before {
  transform: scaleY(1);
}

/* 黑胶封面升级 */
.album-cover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(129, 140, 248, 0.15),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.cover-glow {
  animation: glow-breathe 4s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* 进度条升级 */
.progress-bar {
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}

.progress-fill {
  position: relative;
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

/* 天气小部件升级 */
.weather-widget {
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
}

.ww-detail {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.ww-detail:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

/* 频谱窗口升级 */
.spectrum-widget {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

/* 加载骨架 */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 平板适配 */
@media (max-width: 1024px) and (min-width: 641px) {
  .hub-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    height: auto;
    gap: 14px;
  }
  .weather-widget { grid-column: 1; grid-row: 1; }
  .spectrum-widget { grid-column: 2; grid-row: 1; }
  .player-main { grid-column: 1 / 3; grid-row: 2; min-height: 420px; }
  .playlist-panel { grid-column: 1 / 3; grid-row: 3; max-height: 220px; }

  .now-title { font-size: 24px; }
  .weather-widget-temp { font-size: 40px; }
  .player-cover-wrap { width: 180px; height: 180px; }
  .album-cover { width: 160px; height: 160px; }
}

/* 手机适配增强 */
@media (max-width: 640px) {
  .custom-cursor, .custom-cursor-dot { display: none; }
  body { cursor: auto; }
  body::after { opacity: 0.3; }

  .hub-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 70px;
  }
  .weather-widget { grid-column: 1; grid-row: 1; padding: 14px; }
  .spectrum-widget { grid-column: 1; grid-row: 2; padding: 12px; }
  .spectrum-canvas { height: 70px; }
  .player-main { grid-column: 1; grid-row: 3; padding: 20px 14px; gap: 14px; }
  .playlist-panel { grid-column: 1; grid-row: 4; max-height: 200px; padding: 14px; }

  .now-title { font-size: 20px; }
  .now-artist { font-size: 12px; }
  .weather-widget-temp { font-size: 36px; letter-spacing: -2px; }
  .weather-widget-icon { width: 44px; height: 44px; }
  .weather-widget-icon .icon-wrap { width: 44px; height: 44px; }

  .player-cover-wrap { width: 160px; height: 160px; }
  .album-cover { width: 140px; height: 140px; }

  .player-controls { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .ctrl-btn { width: 38px; height: 38px; }
  .ctrl-btn svg { width: 16px; height: 16px; }
  .play-btn { width: 50px; height: 50px; }
  .play-btn svg { width: 20px; height: 20px; }
  .volume-wrap { order: 5; width: 100%; justify-content: center; margin-left: 0; }
  .volume-slider { width: 80px; }

  .ww-detail { padding: 6px 4px; }
  .ww-value { font-size: 11px; }
  .ww-label { font-size: 9px; }

  .nav { padding: 10px 12px; }
  .nav-brand { font-size: 13px; }
  .nav-brand .brand-icon { width: 28px; height: 28px; }
  .nav-link { padding: 5px 8px; font-size: 11px; }
  .nav-link .icon-wrap { width: 13px; height: 13px; }
  .nav-username { display: none; }
  .nav-avatar { width: 28px; height: 28px; font-size: 11px; }

  .glass-card { border-radius: 20px; }
  .glass-card:hover { transform: none; }
  .glass-card:active { transform: scale(0.98); }

  .daily-report-card { padding: 20px 16px; border-radius: 22px; }
  .dr-poem-text { font-size: 14px; letter-spacing: 0.5px; }
  .dr-song { flex-wrap: wrap; }
  .dr-song-reason { width: 100%; text-align: left; }

  .schumann-inner { padding: 10px 14px; border-radius: 16px; }
  .schumann-canvas { width: 130px; height: 55px; }
  .schumann-title { font-size: 10px; }
}

/* 小屏手机 */
@media (max-width: 380px) {
  .player-controls { gap: 6px; }
  .ctrl-btn { width: 34px; height: 34px; }
  .play-btn { width: 46px; height: 46px; }
  .now-title { font-size: 18px; }
  .weather-widget-temp { font-size: 32px; }
}

/* ============================================================
   v3 布局：底部长条播放器 + 舞台粒子特效
   ============================================================ */

/* 主布局重定义 */
.hub-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  height: calc(100vh - 60px - 100px);
  padding: 16px;
  padding-bottom: 100px;
}

.weather-widget {
  grid-column: 1;
  grid-row: 1;
}

.spectrum-widget {
  grid-column: 2;
  grid-row: 1;
}

.stage-area {
  grid-column: 1 / 3;
  grid-row: 2;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.playlist-panel {
  grid-column: 1 / 3;
  grid-row: 3;
  max-height: 180px;
}

/* 舞台粒子画布 */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 舞台内容 */
.stage-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.stage-greeting {
  margin-bottom: 16px;
}

.stage-time {
  font-size: 72px;
  font-weight: 200;
  letter-spacing: -4px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 60%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stage-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.stage-quote {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  letter-spacing: 1px;
}

.stage-weather-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
  letter-spacing: 1px;
}

/* 底部固定长条播放器 */
.player-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  z-index: 100;
  border-radius: 20px;
}

.player-bar:hover {
  transform: translateX(-50%) translateY(-2px);
}

/* 圆角正方形封面 */
.pb-cover {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, rgba(129,140,248,0.2), rgba(192,132,252,0.1));
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.pb-cover-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}

.pb-cover.playing .pb-cover-svg {
  animation: cover-rotate 20s linear infinite;
}

@keyframes cover-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 歌曲信息 */
.pb-info {
  flex: 0 0 160px;
  min-width: 0;
  overflow: hidden;
}

.pb-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pb-artist {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* 进度条区域 */
.pb-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pb-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pb-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
}

.pb-progress-bar:hover .pb-progress-fill {
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.7);
}

.pb-time {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
}

/* 控制按钮 */
.pb-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pb-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.pb-btn svg {
  width: 16px;
  height: 16px;
}

.pb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transform: scale(1.1);
}

.pb-btn:active {
  transform: scale(0.95);
}

.pb-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.4);
}

.pb-play {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 20px rgba(129, 140, 248, 0.4);
}

.pb-play svg {
  width: 18px;
  height: 18px;
}

.pb-play:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 28px rgba(129, 140, 248, 0.5);
  transform: scale(1.08);
}

.pb-play .icon-pause { display: none; }
.pb-play.playing .icon-play { display: none; }
.pb-play.playing .icon-pause { display: block; }

/* 音量 */
.pb-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.pb-volume .volume-icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.pb-volume .volume-slider {
  width: 60px;
  height: 3px;
}

/* 频谱状态 */
.spectrum-status {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* 旧player-main隐藏（兼容） */
.player-main {
  display: none;
}

/* 平板适配 v3 */
@media (max-width: 1024px) and (min-width: 641px) {
  .hub-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    height: auto;
    min-height: calc(100vh - 60px - 100px);
  }
  .stage-area { min-height: 280px; }
  .stage-time { font-size: 56px; }
  .pb-info { flex: 0 0 120px; }
  .pb-volume { display: none; }
}

/* 手机适配 v3 */
@media (max-width: 640px) {
  .hub-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    padding: 12px;
    padding-bottom: 90px;
    height: auto;
    min-height: calc(100vh - 60px - 90px);
  }
  .weather-widget { grid-column: 1; grid-row: 1; }
  .spectrum-widget { grid-column: 1; grid-row: 2; }
  .stage-area { grid-column: 1; grid-row: 3; min-height: 220px; }
  .playlist-panel { grid-column: 1; grid-row: 4; max-height: 160px; }

  .stage-time { font-size: 48px; letter-spacing: -2px; }
  .stage-date { font-size: 12px; }
  .stage-quote { font-size: 13px; }

  .player-bar {
    height: 64px;
    padding: 0 12px;
    gap: 10px;
    border-radius: 16px;
    bottom: 10px;
  }
  .pb-cover { width: 44px; height: 44px; border-radius: 12px; }
  .pb-info { flex: 0 0 90px; }
  .pb-title { font-size: 12px; }
  .pb-artist { font-size: 10px; }
  .pb-progress-wrap { display: none; }
  .pb-btn { width: 32px; height: 32px; }
  .pb-btn svg { width: 14px; height: 14px; }
  .pb-play { width: 40px; height: 40px; }
  .pb-play svg { width: 16px; height: 16px; }
  .pb-volume { display: none; }
  .pb-controls { gap: 4px; }
}

/* 小屏手机 v3 */
@media (max-width: 380px) {
  .pb-info { flex: 0 0 70px; }
  .pb-btn { width: 30px; height: 30px; }
  .pb-play { width: 36px; height: 36px; }
  .stage-time { font-size: 40px; }
}

/* ============================================================
   v4 沉浸模式：全屏粒子 + 迷你播放器 + 上滑面板
   ============================================================ */

/* 隐藏旧布局 */
.hub-layout { display: none; }
.player-bar { display: none; }
.player-main { display: none; }
.playlist-panel { display: none; }
.spectrum-widget { display: none; }
.stage-area { display: none; }

/* 全屏粒子 */
.fullscreen-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* 主内容区 */
.main {
  position: relative;
  z-index: 2;
  height: 100vh;
  padding: 0;
}

/* 左上角天气小部件（悬浮） */
.weather-widget {
  position: fixed;
  top: 70px;
  left: 16px;
  width: 200px;
  z-index: 10;
}

/* 右上角控制按钮 */
.top-right-controls {
  position: fixed;
  top: 70px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.trc-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.trc-btn svg {
  width: 18px;
  height: 18px;
}

.trc-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: scale(1.05);
}

.trc-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.4);
}

/* 中央时钟 */
.center-stage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  pointer-events: none;
}

.cs-time {
  font-size: 120px;
  font-weight: 100;
  letter-spacing: -8px;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.cs-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.cs-quote {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  letter-spacing: 2px;
}

.cs-weather {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 12px;
  letter-spacing: 1px;
}

/* 迷你播放器 */
.mini-player {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 700px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 100;
  border-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-player:hover {
  transform: translateX(-50%) translateY(-3px);
}

.mp-cover {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(129,140,248,0.2), rgba(192,132,252,0.1));
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.mp-cover-svg {
  width: 100%;
  height: 100%;
}

.mp-cover.playing .mp-cover-svg {
  animation: cover-rotate 20s linear infinite;
}

.mp-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.mp-title {
  font-size: 13px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-artist {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.mp-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.mp-progress-bar {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.mp-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
  transition: width 0.1s linear;
}

.mp-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mp-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mp-btn svg {
  width: 16px;
  height: 16px;
}

.mp-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mp-play {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.4);
}

.mp-play svg {
  width: 18px;
  height: 18px;
}

.mp-play:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: scale(1.08);
}

.mp-play .icon-pause { display: none; }
.mp-play.playing .icon-play { display: none; }
.mp-play.playing .icon-pause { display: block; }

.mp-expand svg {
  transition: transform 0.3s;
}

/* 上滑展开面板 */
.expand-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55vh;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.95) 0%, rgba(10, 14, 26, 0.98) 100%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 90;
  overflow: hidden;
}

.expand-panel.open {
  transform: translateY(0);
}

.ep-handle {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ep-handle-bar {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.ep-content {
  height: calc(55vh - 30px);
  overflow-y: auto;
  padding: 0 20px 30px;
}

.ep-section {
  margin-bottom: 24px;
}

.ep-section-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

/* 特效切换标签 */
.ep-effect-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ep-tab {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.ep-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.3);
}

/* 滑块 */
.ep-sliders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ep-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ep-slider-label {
  width: 60px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.ep-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.ep-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(129, 140, 248, 0.4);
}

.ep-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.ep-slider-value {
  width: 45px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 频谱 */
.ep-spectrum {
  width: 100%;
  height: 100px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.ep-spectrum-status {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin-top: 6px;
}

.ep-mode-btn {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  cursor: pointer;
}

.ep-mode-btn.active {
  background: rgba(129, 140, 248, 0.2);
  color: var(--accent);
}

/* 播放列表 */
.ep-playlist {
  margin-bottom: 0;
}

.ep-list-scroll {
  max-height: 180px;
  overflow-y: auto;
}

/* 响应式 */
@media (max-width: 640px) {
  .weather-widget {
    width: 160px;
    padding: 12px;
    top: 60px;
    left: 10px;
  }
  .weather-widget-temp { font-size: 32px; }
  .top-right-controls { top: 60px; right: 10px; }
  .trc-btn { width: 36px; height: 36px; }
  .cs-time { font-size: 72px; letter-spacing: -4px; }
  .cs-date { font-size: 12px; }
  .cs-quote { font-size: 12px; }
  .mini-player {
    height: 56px;
    padding: 0 12px;
    gap: 8px;
    bottom: 10px;
  }
  .mp-cover { width: 38px; height: 38px; }
  .mp-btn { width: 30px; height: 30px; }
  .mp-btn svg { width: 14px; height: 14px; }
  .mp-play { width: 36px; height: 36px; }
  .mp-play svg { width: 16px; height: 16px; }
  .expand-panel { height: 65vh; }
  .ep-content { height: calc(65vh - 30px); }
}

@media (max-width: 380px) {
  .cs-time { font-size: 56px; }
  .mp-info { display: none; }
  .mini-player { justify-content: center; }
}
