/* 网易云全屏透明样式 */
.wyy-top-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; padding-top: calc(var(--st-h) + 10px); color: white; }
.wyy-nav-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; font-weight: bold; }
.wyy-nav-title { font-size: 15px; color: rgba(255,255,255,0.8); }

.wyy-scroll-area::-webkit-scrollbar { display: none; }

.wyy-profile-section { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
.wyy-avatar-wrap { width: 84px; height: 84px; border-radius: 50%; padding: 2px; border: 2px solid rgba(255,255,255,0.6); margin-bottom: 12px; }
.wyy-avatar { width: 100%; height: 100%; border-radius: 50%; background: rgba(255,255,255,0.2); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; }
.wyy-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wyy-nickname { font-size: 20px; font-weight: 700; color: white; margin-bottom: 8px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.wyy-tags { display: flex; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.wyy-tags span { background: rgba(255,255,255,0.15); padding: 3px 8px; border-radius: 10px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.wyy-stats { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 500; }

.wyy-action-row { display: flex; justify-content: center; gap: 12px; margin: 24px 16px; }
.wyy-action-btn { flex: 1; padding: 10px 0; background: rgba(255,255,255,0.12); border-radius: 12px; text-align: center; font-size: 13px; color: white; cursor: pointer; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 0.5px solid rgba(255,255,255,0.1); }
.wyy-action-btn:active { background: rgba(255,255,255,0.2); }

.wyy-vip-banner { margin: 0 16px 20px; padding: 12px 16px; background: rgba(255,255,255,0.12); border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 0.5px solid rgba(255,255,255,0.1); }

/* 【核心修改】去掉 sticky 和 top，改为 relative，让它随页面滚动 */
.wyy-tabs-container { 
  position: relative; 
  z-index: 10; 
  padding: 10px 0; 
  border-bottom: 0.5px solid rgba(255,255,255,0.1); 
}
.wyy-tabs { display: flex; justify-content: center; gap: 40px; font-size: 16px; color: rgba(255,255,255,0.6); font-weight: 500; }
.wyy-tabs span.active { font-size: 17px; font-weight: 700; color: white; position: relative; }
.wyy-tabs span.active::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 16px; height: 3px; background: white; border-radius: 2px; }

/* 【核心修改】改为 relative，删掉 top 和 background，恢复全透明滚动 */
.wyy-list-filter { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 16px; 
  font-size: 13px; 
  color: rgba(255,255,255,0.6); 
  position: relative; 
  z-index: 20; 
}
.wyy-filter-left { display: flex; gap: 16px; }
.wyy-filter-left span.active { color: white; font-weight: 600; }
.wyy-filter-right { display: flex; align-items: center; gap: 4px; color: white; background: rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 12px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* 列表项样式 (仿截图中的歌单样式) */
.wyy-list-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; cursor: pointer; }
.wyy-list-cover { width: 56px; height: 56px; border-radius: 10px; background: rgba(255,255,255,0.1); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; position: relative; }
.wyy-list-cover img { width: 100%; height: 100%; object-fit: cover; }
.wyy-list-info { flex: 1; min-width: 0; }
.wyy-list-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-list-sub { font-size: 12px; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-list-comment { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 8px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* 底部播放条 (修改为贴底，并去掉默认动画) */
.wyy-bottom-player { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: rgba(0,0,0,0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 0.5px solid rgba(255,255,255,0.1); display: flex; align-items: center; padding: 0 16px; gap: 12px; z-index: 50; padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; }
.wyy-player-cover { width: 44px; height: 44px; border-radius: 50%; background: #1a1a1a; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* 只有加上 .playing 类名时，黑胶唱片才会转动！ */
.wyy-player-cover.playing { animation: spin 10s linear infinite; }

.wyy-vinyl-inner { width: 100%; height: 100%; border-radius: 50%; background: #333; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.wyy-vinyl-inner img { width: 100%; height: 100%; object-fit: cover; }
.wyy-player-info { flex: 1; min-width: 0; cursor: pointer; }
.wyy-player-title { font-size: 15px; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-player-ctrl { color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.wyy-player-list { color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; }

@keyframes spin { 100% { transform: rotate(360deg); } }

/* 歌单和歌曲列表样式 */
.wyy-playlist-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; background: rgba(255,255,255,0.1); padding: 10px; border-radius: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; }
.wyy-playlist-cover { width: 56px; height: 56px; border-radius: 10px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; flex-shrink: 0; overflow: hidden; }
.wyy-playlist-cover img { width: 100%; height: 100%; object-fit: cover; }
.wyy-playlist-info { flex: 1; min-width: 0; }
.wyy-playlist-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-playlist-sub { font-size: 12px; color: rgba(255,255,255,0.6); }

.wyy-song-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 8px 0; border-bottom: 0.5px solid rgba(255,255,255,0.05); cursor: pointer; }
.wyy-song-index { width: 30px; text-align: center; font-size: 16px; color: rgba(255,255,255,0.5); font-weight: 600; }
.wyy-song-info { flex: 1; min-width: 0; }
.wyy-song-title { font-size: 16px; color: white; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-song-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
.wyy-song-play { font-size: 20px; color: rgba(255,255,255,0.5); padding: 0 10px; }

/* 返回歌单列表按钮 */
.wyy-back-list { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 16px; cursor: pointer; background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 12px; }

/* ====== 全屏黑胶播放器 ====== */
.wyy-fs-player {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 500;
  display: none; flex-direction: column; overflow: hidden;
  animation: slideUp 0.3s ease; background: #111;
}
.wyy-fs-player.active { display: flex; }
.wyy-fs-bg {
  position: absolute; inset: -30px; background-size: cover; background-position: center;
  filter: blur(40px) brightness(0.4); z-index: 1; transition: background 0.5s ease;
}
.wyy-fs-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%); z-index: 2;
}
.wyy-fs-header {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--st-h) + 10px) 20px 10px; color: white;
}
.wyy-fs-down { font-size: 24px; cursor: pointer; width: 32px; text-align: center; }
.wyy-fs-title { font-size: 17px; font-weight: 600; text-align: center; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 1px; }

/* ====== 核心滑动区域 ====== */
.wyy-fs-swipe-container {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  width: 100%;
  overflow: hidden;
}

.wyy-fs-page {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease;
  position: relative;
  padding-top: 20px; /* 【修改】从 40px 减小到 20px */
}/* 唱针 (删除了旧的 ::before 和 ::after) */
.wyy-fs-needle {
  width: 100px; 
  height: 140px; 
  position: absolute; 
  top: 0px; /* 【修改】让唱针挂在最上面 */
  left: calc(50% - 15px); /* 【关键修复】向左偏移15px，让旋转轴心完美居中 */
  transform-origin: 15px 15px; 
  transform: rotate(-30deg); 
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  z-index: 10;
}
.wyy-fs-needle.playing { transform: rotate(0deg); }
/* 黑胶唱片 */
.wyy-fs-disc {
  width: 280px; height: 280px; border-radius: 50%; background: #0a0a0a;
  border: 8px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center; position: relative;
  margin-top: -10px; /* 【修改】使用负外边距，让黑胶强行向上提 30px */
}.wyy-fs-disc::before {
  content: ''; position: absolute; inset: 15px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05); pointer-events: none;
}
.wyy-fs-disc::after {
  content: ''; position: absolute; inset: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05); pointer-events: none;
}
.wyy-fs-disc.playing { animation: spin 20s linear infinite; }
.wyy-fs-cover {
  width: 180px; height: 180px; border-radius: 50%; background: #333; overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}
.wyy-fs-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ====== 歌词区域 ====== */
#wyyViewLyrics {
  padding-top: 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.wyy-lyric-container {
  width: 100%;
  padding: 50% 40px;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  line-height: 2.2;
  text-align: center;
  transition: transform 0.3s ease-out;
}

.wyy-lyric-container.static-mode {
  padding: 20px 40px;
  overflow-y: auto;
  transform: none !important;
}
.wyy-lyric-container.static-mode::-webkit-scrollbar { display: none; }

.lyric-line {
  transition: all 0.3s ease;
  min-height: 35px;
}

.lyric-line.active {
  color: white;
  font-size: 18px;
  font-weight: bold;
  transform: scale(1.1);
}

.wyy-lyric-edit-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 20;
}

/* 控制按钮 */
.wyy-fs-controls {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: center;
  gap: 40px; padding-bottom: 60px;
}
.wyy-fs-btn { color: white; font-size: 32px; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; }
.wyy-fs-btn:active { opacity: 1; transform: scale(0.95); }
.wyy-fs-play { font-size: 52px; opacity: 1; }

/* ====== 聊天框悬浮灵动岛 (一起听) ====== */
.wyy-listen-capsule {
  position: absolute; top: calc(var(--st-h) + 10px); right: 16px; z-index: 200;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-radius: 20px; padding: 6px 12px; color: white; display: flex; flex-direction: column;
  align-items: flex-end; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 0.5px solid rgba(255,255,255,0.15); box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.wyy-listen-capsule.expanded { padding: 10px 14px; border-radius: 16px; background: rgba(0,0,0,0.7); }
.wyy-capsule-inner { display: flex; align-items: center; gap: 8px; }
.wyy-capsule-icon {
  width: 20px; height: 20px; border-radius: 50%; background: #111; display: flex;
  align-items: center; justify-content: center; font-size: 10px; animation: spin 4s linear infinite;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}
.wyy-capsule-text { font-size: 13px; font-weight: 500; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-capsule-expand { margin-top: 10px; width: 100%; text-align: center; display: none; }
.wyy-listen-capsule.expanded .wyy-capsule-expand { display: block; animation: fadeIn 0.3s ease; }
.wyy-capsule-expand button {
  background: #ff3a3a; color: white; border: none; padding: 6px 16px; border-radius: 12px;
  font-size: 13px; font-weight: bold; cursor: pointer; width: 100%;
}

/* ====== 左滑删除专属样式 ====== */
.wyy-swipe-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 12px;
}
.wyy-swipe-content {
  position: relative;
  z-index: 2;
  background: #2c2c2e !important; 
  transition: transform 0.25s;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.wyy-swipe-actions {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  display: flex;
}
.wyy-swipe-del-btn {
  width: 80px;
  height: 100%;
  background: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ====== 动态详情页 (信笺/日记风) ====== */
.wyy-dy-song-card {
  display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.08);
  padding: 15px; border-radius: 16px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 25px;
}
.wyy-dy-song-cover { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; background: #333; }
.wyy-dy-song-info { flex: 1; min-width: 0; }
.wyy-dy-song-name { font-size: 16px; font-weight: 600; color: white; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-dy-song-singer { font-size: 12px; color: rgba(255, 255, 255, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wyy-dy-play-btn {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; cursor: pointer;
}

.wyy-dy-diary-content { padding: 10px 5px; }
.wyy-dy-diary-date { font-size: 12px; color: #999; margin-bottom: 15px; letter-spacing: 1px; }
.wyy-dy-diary-text {
  font-size: 16px; line-height: 2.2; color: rgba(255, 255, 255, 0.9); letter-spacing: 0.5px;
  white-space: pre-wrap; background-image: linear-gradient(transparent 95%, rgba(255,255,255,0.05) 95%);
  background-size: 100% 35.2px;
}

.wyy-dy-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 40px 0 20px; }

.wyy-dy-comment-title { font-size: 14px; font-weight: 600; color: #999; margin-bottom: 15px; }
.wyy-dy-comment-item { display: flex; gap: 12px; margin-bottom: 15px; background: rgba(255, 255, 255, 0.03); padding: 15px; border-radius: 16px; }
.wyy-dy-comment-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #333; display: flex;
  align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden;
}
.wyy-dy-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wyy-dy-comment-body { flex: 1; }
.wyy-dy-comment-name { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.wyy-dy-ai-badge { background: rgba(0, 122, 255, 0.2); color: #4facfe; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.wyy-dy-comment-text { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

.wyy-dy-bottom-actions {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 15px 30px 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6) 60%, transparent);
  display: flex; justify-content: space-between; align-items: center; z-index: 10;
}
.wyy-dy-action-btn {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; cursor: pointer; backdrop-filter: blur(10px); transition: transform 0.2s;
}
.wyy-dy-action-btn:active { transform: scale(0.9); }
.wyy-dy-btn-delete { background: rgba(255, 58, 58, 0.1); color: #ff3a3a; }
.wyy-dy-btn-share { background: rgba(255, 255, 255, 0.1); color: white; }
