:root {
  --bg: #111;
  --card: rgba(25, 25, 35, .7);
  --accent: #0ea5e9;
  --fg: #fff;
  --fg-secondary: #666;
  --border: #333;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  align-items: center;
}

h1 {
  margin: 0;
}

.toolbar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

input, select, button {
  padding: .45rem .8rem;
  border: none;
  border-radius: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 调整最小宽度 */
  gap: 1rem;
  padding: 0 2rem 2rem;
}

.card {
  background: var(--card);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: var(--shadow);
  will-change: transform;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tag {
  font-size: .75rem;
  background: var(--accent);
  padding: .2rem .5rem;
  border-radius: 6px;
  color: var(--fg);
}

small {
  color: var(--fg-secondary);
}

dialog {
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, .6);
}

dialog form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, .1);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 退出按钮 & 登录按钮美化 */
button {
  font-family: system-ui;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  transition: background 0.2s;
}

#logoutBtn,
#loginBtn {
  background: var(--accent);
  color: var(--fg);
}

#logoutBtn:hover,
#loginBtn:hover {
  background: #0284c7;
}

.tag {
  font-size: .75rem;
  padding: .2rem .5rem;
  border-radius: 6px;
  color: var(--fg);
  margin-right: .25rem;
  display: inline-block;
}

/* 主站 & issue 统一布局 */
header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

header h1 {
  margin: 0;
  flex: 1;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

/* 用户信息容器 */
.user-info-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* 隐藏状态时完全不占用空间 - 使用类名而不是属性选择器 */
.user-info-container.hidden {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 确保显示状态 */
.user-info-container:not(.hidden) {
  display: flex !important;
  visibility: visible !important;
}

/* 头像包装器 */
.user-avatar-wrapper {
  position: relative;
}

/* 用户头像 */
.user-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.user-avatar-wrapper:hover .user-avatar {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
  border-color: var(--accent);
}

/* 用户菜单 */
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  padding: 8px;
  pointer-events: none;
  overflow: visible;
}

/* 菜单显示由JavaScript控制，移除CSS hover控制避免冲突 */

/* 移动端优化 */
@media (max-width: 768px) {
  .user-menu {
    right: -10px;
    min-width: 220px;
  }
}

/* 菜单头部 */
.user-menu-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.user-menu-avatar {
  margin: 0 auto 8px;
  display: block;
  border: 2px solid var(--accent);
}

.user-menu-name {
  color: #ff69b4;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.user-menu-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid #ff1493;
}

/* 菜单项容器 */
.user-menu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

/* 菜单项 */
.user-menu-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--fg);
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  width: calc(100% - 4px);
  margin: 0 2px;
  text-align: left;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  opacity: 1 !important;
}

.user-menu-item span,
.user-menu-item svg {
  opacity: 1 !important;
  color: var(--fg) !important;
  fill: var(--fg) !important;
}

.user-menu-item:focus {
  outline: none;
  box-shadow: none;
}

.user-menu-item:hover {
  background: rgba(128, 128, 128, 0.2);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* 退出登录按钮特殊样式 - 无底色，悬停时变灰 */
.user-menu-logout {
  color: var(--fg-secondary);
  background: transparent !important;
  outline: none !important;
}

.user-menu-logout:hover {
  background: rgba(128, 128, 128, 0.2) !important;
  color: var(--error);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.user-menu-logout:focus {
  outline: none !important;
  box-shadow: none !important;
}

.user-menu-item svg {
  flex-shrink: 0;
}

/* 分隔线 */
.user-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* 登录头像样式 */
.login-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0ea5e9;
  color: white;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.login-avatar span {
  display: block;
  line-height: 1;
  text-align: center;
}

.login-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.login-avatar[style*="display: none"],
.login-avatar[style*="display:none"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 主题菜单项 */
.theme-menu-item {
  position: relative;
  justify-content: space-between;
  outline: none !important;
}

.theme-menu-item:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* 主题子菜单 */
.theme-submenu {
  position: absolute;
  right: calc(100% + 8px);
  top: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1002;
  padding: 4px;
  pointer-events: none;
  overflow: visible;
}

/* 主题子菜单显示由JavaScript控制，移除CSS hover避免冲突 */

/* 主题子菜单项 */
.theme-submenu-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  color: var(--fg);
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  font-size: 14px;
  text-align: left;
  font-family: inherit;
  gap: 8px;
  outline: none;
}

.theme-submenu-item:focus {
  outline: none;
  box-shadow: none;
}

.theme-submenu-item:hover {
  background: rgba(128, 128, 128, 0.2);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.theme-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: block;
}

.theme-submenu-item span:not(.theme-check) {
  flex: 1;
  opacity: 1 !important;
  color: var(--fg) !important;
}

/* 确保所有模式下文字都不透明 */
.user-menu-item,
.user-menu-item span,
.user-menu-item svg,
.theme-submenu-item,
.theme-submenu-item span:not(.theme-check),
.theme-submenu-item svg {
  opacity: 1 !important;
  color: var(--fg) !important;
}

.user-menu-item svg,
.theme-submenu-item svg {
  fill: var(--fg) !important;
}

[data-theme="dark"] .theme-submenu-item span:not(.theme-check),
[data-theme="dark"] .user-menu-item,
[data-theme="dark"] .user-menu-item span,
[data-theme="dark"] .user-menu-item svg {
  color: var(--fg) !important;
  opacity: 1 !important;
  fill: var(--fg) !important;
}

[data-theme="dark"] .user-menu-name {
  color: #ff69b4 !important;
  opacity: 1 !important;
}

[data-theme="dark"] .user-menu-item:hover {
  color: var(--fg) !important;
}

[data-theme="dark"] .user-menu-logout {
  color: var(--fg-secondary) !important;
  opacity: 1 !important;
}

[data-theme="dark"] .user-menu-logout:hover {
  color: var(--error) !important;
  opacity: 1 !important;
}

.theme-check {
  color: var(--accent);
  font-weight: bold;
}


#themeToggle {
  background: var(--accent);
  color: var(--fg);
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
  user-select: none;
  margin-left: auto;
}

#themeToggle:hover {
  background: #0284c7;
}

/* 搜索框样式 */
#search {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* 搜索框焦点状态 */
#search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.5);
  outline: none;
}

/* 正文输入框样式 */
#commentText {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* 正文输入框焦点状态 */
#commentText:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.5);
  outline: none;
}

/* 按钮焦点状态 */
button:focus,
button:hover {
  background-color: var(--accent);
  color: var(--fg);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.5);
  outline: none;
}

/* 输入框焦点状态 */
input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.5);
  outline: none;
}

/* GitHub风格模板选择弹窗 */
.github-dialog {
  border: none;
  border-radius: 8px;
  padding: 0;
  max-width: 720px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.github-dialog h2 {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 20px;
  font-weight: 600;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 16px;
}

.template-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: border-color .2s;
  background: var(--card);
}

.template-card:hover {
  border-color: var(--accent);
}

.template-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.template-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-secondary);
}

/* 按钮 */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-right: 8px;
}

.primary {
  background: var(--accent);
  color: var(--fg);
}

.secondary {
  background: var(--border);
  color: var(--fg);
}

/* 输入框样式 */
input[type="text"],
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

/* 复选框样式 */
input[type="checkbox"] {
  margin-right: 8px;
}

/* 小字提示 */
small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--fg-secondary);
}

/* 信息提示 */
p.info {
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg-secondary);
}

/* 顶部标签页 */
.page-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.5rem 0;
}
.tab {
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 6px;
  background: #f5f5f5;
  color: #111;
  cursor: pointer;
}
.tab.active {
  background: #0ea5e9;
  color: #fff;
}

/* 状态按钮 */
.state-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.state-btn {
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.state-btn.active {
  background: #0ea5e9;
  color: #fff;
}

/* 状态徽章 */
.state-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #fff;
}
.state-badge.open {
  background: #28a745;
}
.state-badge.closed {
  background: #8b5cf6;
}

/* #1234 链接样式 */
.markdown-body a[href*="issue.html"] {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}
.markdown-body a:hover {
  text-decoration: underline;
}

/* 状态徽章 */
.state-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #fff;
  margin-left: 0.5rem;
}

/* 标签 */
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: #fff;
  margin-right: 0.25rem;
}

/* 引用链接 */
.issue-ref {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}
.issue-ref:hover {
  text-decoration: underline;
}

/* 全局提示样式 */
#global-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 10000;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  pointer-events: none;
}

#global-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 添加卡片悬停动画 */
.card {
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* 添加状态图标样式 */
.state-badge svg {
  margin-right: 4px;
}

/* 加载动画优化 */
.spinner {
  border: 4px solid rgba(0,0,0,0.1);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 淡入动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card, .comment-card {
  animation: fadeIn 0.3s ease-out;
}

/* 页面切换动画 */
#content {
  animation: fadeIn 0.5s ease;
}

/* style.css 新增部分 */
/* 返回按钮样式 */
.back-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.back-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

/* 错误提示样式 */
.error {
  color: #ff6b6b;
  padding: 1rem;
  text-align: center;
}

/* 刷新按钮样式 */
.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.refresh-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

.refresh-btn svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 新增样式 */
.result-item {
  border-left: 4px solid var(--accent);
  padding: 1rem;
  margin-bottom: 1rem;
}

.result-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.result-artist {
  color: #888;
  margin-bottom: 0.5rem;
}

.result-platforms span {
  display: inline-block;
  background: rgba(14, 165, 233, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}

.lyric-match {
  color: #10b981;
  font-weight: bold;
  margin: 0.5rem 0;
}

/* 添加在文件末尾 */
/* 搜索结果容器 */
.results-container {
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

/* 平台标签 */
.platform-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.platform-tag.selected {
  background: var(--accent);
  color: white;
}

/* 搜索输入框 */
.search-input {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--fg);
  font-size: 1rem;
}

/* 加载动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

/* 歌词审核页面样式 */
#prListSection {
  padding: 1rem;
}

#prDetailSection {
  padding: 1rem;
  display: none;
}

/* PR列表样式 */
.pr-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.pr-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--card);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-left: 4px solid var(--accent);
}

.pr-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.pr-info {
  flex: 1;
  margin-right: 1rem;
}

.pr-id {
  display: inline-block;
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

.pr-title-text {
  color: var(--fg);
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-labels-small {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* PR详情样式 */
.pr-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pr-meta {
  margin-bottom: 1rem;
}

.pr-description {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 标签页样式 - 用于其他页面的标签页 */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.tabs .tab {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  color: var(--fg-secondary);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.tabs .tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: none;
}

/* 文件列表样式 */
.files-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 50vh;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.file-name {
  flex: 1;
  color: var(--fg);
}

.view-file-btn {
  padding: 0.25rem 0.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* 评论样式 */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.comment-author {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.comment-time {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  margin-bottom: 0.5rem;
}

.comment-content {
  line-height: 1.6;
}

.no-comments {
  text-align: center;
  color: var(--fg-secondary);
  padding: 2rem;
}

/* 音乐选项样式 */
#musicOptions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.music-option {
  padding: 0.5rem;
}

.music-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.music-btn:hover:not(:disabled) {
  background: #0284c7;
  transform: translateY(-2px);
}

.music-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 操作按钮样式 */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.merge-btn {
  padding: 0.5rem 1.5rem;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.merge-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.comment-btn {
  padding: 0.5rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.comment-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
}