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

:root {
  --text: #2d3436;
  --muted: #7b8494;
  --primary: #4a7cff;
  --primary-dark: #315ec2;
  --danger: #e5484d;
  --radius: 16px;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.18);
  --glass-blur: blur(16px) saturate(140%);
}

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

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #a8c0ff 0%, #8ec5fc 30%, #c3a8ff 65%, #ffc3a0 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  z-index: -1;
}
body::before {
  width: 460px;
  height: 460px;
  background: rgba(255, 156, 200, 0.7);
  top: -130px;
  right: -100px;
}
body::after {
  width: 400px;
  height: 400px;
  background: rgba(120, 200, 255, 0.7);
  bottom: -100px;
  left: -100px;
}

.container {
  width: min(860px, 92%);
  margin: 0 auto;
}

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin: 14px auto 0;
  width: min(880px, 95%);
  border-radius: var(--radius);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 1.4rem;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav {
  position: relative;
  display: flex;
  gap: 24px;
}

/* 滑动激活指示器 */
.nav-indicator {
  position: absolute;
  top: 2px;
  height: calc(100% - 4px);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), #9a5bff);
  box-shadow: 0 4px 14px rgba(74, 124, 255, 0.45);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.nav-link {
  position: relative;
  z-index: 1;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 20px;
  transition: color 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-link.router-link-active {
  color: #fff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
}

.preview-btn {
  margin-left: 0.75rem;
  white-space: nowrap;
}

.preview-toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
}
.toast-ok {
  color: #2f9e44;
  font-weight: 600;
}
.toast-error {
  color: var(--danger);
  font-weight: 600;
}

/* ============ Main ============ */
.page-wrap {
  flex: 1;
  padding: 2rem 0;
  min-height: calc(100vh - 220px);
}

/* 页面切换过渡 */
.page-enter-active {
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.page-enter-from {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}
.page-leave-to {
  opacity: 0;
  transform: translateY(-8px) scale(0.99);
}

/* 内容入场 */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.5s ease both;
}

/* ============ Footer ============ */
.site-footer {
  margin: 0 auto 14px;
  width: min(880px, 95%);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============ Buttons ============ */
.btn {
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:active {
  transform: scale(0.96);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(74, 124, 255, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(74, 124, 255, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.65);
}
.btn-danger {
  background: rgba(255, 82, 82, 0.15);
  color: var(--danger);
}
.btn-danger:hover {
  background: rgba(255, 82, 82, 0.28);
}
.btn-sm {
  padding: 5px 12px;
  font-size: 0.82rem;
}

/* ============ Post cards ============ */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.5s ease both;
}
.post-card:nth-child(2) {
  animation-delay: 0.08s;
}
.post-card:nth-child(3) {
  animation-delay: 0.16s;
}
.post-card:nth-child(4) {
  animation-delay: 0.24s;
}
.post-card:nth-child(5) {
  animation-delay: 0.32s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(31, 38, 135, 0.25);
}

.post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.post-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.post-card h3 a:hover {
  color: var(--primary);
}

.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.tag {
  background: rgba(74, 124, 255, 0.15);
  color: var(--primary);
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.tag:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 10px rgba(74, 124, 255, 0.3);
  background: rgba(74, 124, 255, 0.25);
}

.post-excerpt {
  color: #5b646b;
  font-size: 0.92rem;
}

.placeholder {
  color: var(--muted);
  padding: 1rem 0;
}

/* ============ Article ============ */
.article {
  border-radius: var(--radius);
  padding: 2.2rem;
}
.article h1 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}
.article .post-meta {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-size: 1.3rem;
  margin: 1.6rem 0 0.6rem;
}
.article-body p {
  margin-bottom: 1rem;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1rem 1.5rem;
}
.article-body code {
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, rgba(74, 124, 255, 0.85), rgba(49, 94, 194, 0.85));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--glass-shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr minmax(230px, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.hero-main {
  min-width: 0;
}
.hero h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
.hero p {
  opacity: 0.92;
}

.hero-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
  display: block;
}

.social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 24px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon {
  font-size: 1rem;
  line-height: 1;
}

/* 首页区块 */
.home-section {
  margin-bottom: 2.2rem;
}

/* 图片墙 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  margin: 0;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.5s ease both;
}

.gallery-item:nth-child(2) { animation-delay: 0.08s; }
.gallery-item:nth-child(3) { animation-delay: 0.16s; }
.gallery-item:nth-child(4) { animation-delay: 0.24s; }

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31, 38, 135, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: #444;
}

/* 说说 */
.chatter-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* 音乐小方块（嵌入式播放器） */
.hero-mini-player {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  transform: translateX(-30px);
}
.music-box {
  width: 210px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
.mb-cover-wrap {
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.mb-cover {
  width: 130px;
  height: 130px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #e8ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mb-fallback {
  font-size: 2.4rem;
}
/* 右下角歌曲列表按钮 + 二级菜单 */
.mb-menu-btn-wrap {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 25;
}
.mb-menu-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(74, 124, 255, 0.15);
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mb-menu-btn:hover,
.mb-menu-btn.open {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}
/* 下拉歌曲菜单 + 过度动画（从右下按钮向上展开） */
.mb-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  z-index: 20;
  max-height: min(58vh, 340px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mb-dropdown .mb-drop-item {
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.15s ease;
}
.mb-dropdown .mb-drop-item:hover {
  background: rgba(74, 124, 255, 0.1);
}
.mb-dropdown .mb-drop-item.current {
  background: rgba(74, 124, 255, 0.15);
}
.mb-drop-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
}
.mb-drop-artist {
  font-size: 0.72rem;
  color: var(--muted);
}
/* 进入/离开过度 */
.mb-drop-enter-active,
.mb-drop-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mb-drop-enter-from,
.mb-drop-leave-to {
  opacity: 0;
  transform: translateY(8px);
}
.mb-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mb-btn {
  background: rgba(0, 0, 0, 0.04);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #333;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mb-btn:hover {
  background: rgba(0, 0, 0, 0.09);
  transform: scale(1.06);
}
.mb-btn.mb-play {
  background: var(--primary);
  color: #fff;
  width: 40px;
  height: 40px;
}
.mb-bar {
  width: 100%;
  height: 5px;
  background: #e3e6ec;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.mb-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}
.mb-bar-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.mb-time {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #888;
  padding-right: 36px;
  box-sizing: border-box;
}
.mb-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  color: #555;
}


.chatter-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  animation: fadeUp 0.5s ease both;
}

.chatter-item:nth-child(2) { animation-delay: 0.08s; }
.chatter-item:nth-child(3) { animation-delay: 0.16s; }

.chatter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #9a5bff);
  box-shadow: 0 0 0 4px rgba(74, 124, 255, 0.18);
}

.chatter-body p {
  font-size: 0.95rem;
}

.chatter-body time {
  font-size: 0.75rem;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: 1.3rem;
}
.more-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}
.more-link:hover {
  text-decoration: underline;
}

/* ============ 表单 ============ */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}
.field label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.field input,
.field textarea,
.field select {
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  resize: vertical;
  outline: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 255, 0.15);
}

.field-row {
  display: flex;
  gap: 14px;
}
.field-row > * {
  flex: 1;
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-mini-player {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    top: 84px;
    right: 12px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    flex-direction: column;
    gap: 0;
    width: 200px;
    box-shadow: var(--glass-shadow);
    transform: translateX(120%);
    transition: transform 0.25s ease;
    border-radius: var(--radius);
    padding: 0.5rem;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav .nav-indicator {
    display: none;
  }
  .nav-link.router-link-active {
    background: linear-gradient(135deg, var(--primary), #9a5bff);
  }
  .main-nav a {
    padding: 12px;
  }
  .nav-toggle {
    display: block;
  }
  .field-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ============ 可视化页面（自定义页面拖动元素） ============ */
.vp-canvas {
  position: relative;
  width: 780px;
  max-width: 100%;
  margin: 0 auto;
}
.vp-block {
  position: absolute;
}
.vp-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 4px;
}
.vp-block-heading .vp-inner {
  justify-content: center;
}
.vp-block-divider .vp-inner,
.vp-block-space .vp-inner {
  justify-content: center;
  padding: 0;
}
.vp-block-divider .vp-inner::before {
  content: '';
  height: 2px;
  width: 100%;
  background: #aab2bd;
  border-radius: 2px;
}
.vp-block-quote .vp-inner {
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}
.vp-block-image .vp-inner {
  padding: 0;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.vp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vp-blocks-empty {
  overflow-x: auto;
}

/* GP */
.global-player{position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%);z-index:999;display:flex;align-items:center;gap:12px;width:min(720px,calc(100vw - 32px));padding:10px 14px;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
/* ============ 全局底部播放条 ============ */
.global-player {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.gp-cover {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #e8ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.gp-fallback { font-size: 1.4rem; }

.gp-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.gp-title {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.gp-artist {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gp-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.gp-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.gp-btn:hover { background: rgba(255, 255, 255, 0.8); }
.gp-play {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
}
.gp-play:hover { background: var(--primary); opacity: 0.9; }
.gp-bar {
  flex: 1 1 140px;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.15);
  position: relative;
  cursor: pointer;
  flex-shrink: 1;
}
.gp-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: var(--primary);
}
.gp-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
}

@media (max-width: 560px) {
  .global-player { gap: 8px; padding: 8px 10px; }
  .gp-meta { display: none; }
}

/* 隐藏/显示播放条 */
.gp-close {
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
  flex-shrink: 0;
  opacity: 0.65;
}
.gp-close:hover {
  opacity: 1;
}
/* 歌曲列表下拉（底部播放条） */
.gp-list-wrap {
  position: relative;
  flex-shrink: 0;
}
.gp-list {
  font-size: 1rem;
}
.gp-list.open {
  background: rgba(74, 124, 255, 0.2);
}
.gp-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  min-width: 240px;
  max-height: min(50vh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 30;
  padding: 6px;
}
.gp-drop-item {
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.15s ease;
}
.gp-drop-item:hover {
  background: rgba(74, 124, 255, 0.1);
}
.gp-drop-item.current {
  background: rgba(74, 124, 255, 0.16);
}
.gp-drop-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
.gp-drop-artist {
  font-size: 0.76rem;
  color: var(--muted);
}
.gp-drop-empty {
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.gp-list-dd-enter-active,
.gp-list-dd-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gp-list-dd-enter-from,
.gp-list-dd-leave-to {
  opacity: 0;
  transform: translateY(-6px);
}
.gp-restore {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  margin-left: -22px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  font-size: 1.1rem;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
  touch-action: none;
  user-select: none;
}
.gp-restore:hover {
  box-shadow: 0 12px 32px rgba(31, 38, 135, 0.25);
}
.gp-restore:active {
  cursor: grabbing;
}
.gp-restore.dragged {
  left: auto;
  bottom: auto;
  margin-left: 0;
  cursor: grabbing;
}

/* 播放条隐藏 / 显示动画 */
.gp-hide-leave-active {
  transition: transform 0.28s cubic-bezier(0.55, 0, 0.75, 0.45), opacity 0.28s ease;
  transform-origin: center bottom;
}
.gp-hide-leave-to {
  transform: translateX(-50%) scale(0.04) translateY(4px);
  opacity: 0;
}
.gp-hide-enter-active {
  transition: opacity 0.3s ease 0.18s, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
.gp-hide-enter-from {
  opacity: 0;
  transform: translateX(-50%) translateY(28px) scale(0.82);
}
.gp-restore-enter-active {
  animation: gpRestoreBounce 0.55s cubic-bezier(0.36, 1.6, 0.5, 1);
}
.gp-restore-leave-active {
  transition: transform 0.24s ease-in, opacity 0.24s ease-in;
  transform-origin: center;
}
.gp-restore-leave-to {
  transform: scale(5.5);
  opacity: 0;
}
@keyframes gpRestoreBounce {
  0% { transform: scale(0); opacity: 0; }
  55% { transform: scale(1.3); opacity: 1; }
  75% { transform: scale(0.92); }
  100% { transform: scale(1); opacity: 1; }
}

/* ============ 歌词面板（底部向上拉起） ============ */
.gp-cover-link { cursor: pointer; }
.lyrics-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lyrics-sheet {
  width: min(800px, 100vw);
  height: 74vh;
  border-radius: 20px 20px 0 0;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.86);
}
.lyrics-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.lyr-cover {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #e8ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.lyr-meta { flex: 1; min-width: 0; }
.lyr-title { font-weight: 700; font-size: 1.05rem; }
.lyr-artist { font-size: 0.82rem; color: var(--muted); }
.lyrics-body {
  flex: 1;
  overflow-y: auto;
  margin-top: 14px;
  text-align: center;
  line-height: 1.9;
  scroll-behavior: smooth;
}
.lyr-line {
  padding: 9px 12px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease, font-size 0.2s ease, font-weight 0.2s ease;
}
.lyr-line.active {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.12rem;
}
.lyr-empty { color: var(--muted); padding: 40px 0; text-align: center; }
.lyr-enter-active { transition: opacity 0.28s ease; }
.lyr-leave-active { transition: opacity 0.22s ease; }
.lyr-enter-from, .lyr-leave-to { opacity: 0; }
.lyr-enter-active .lyrics-sheet { transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.lyr-leave-active .lyrics-sheet { transition: transform 0.24s ease-in; }
.lyr-enter-from .lyrics-sheet, .lyr-leave-to .lyrics-sheet { transform: translateY(100%); }
