/* ============================================================
   yuka audio archives - Dual Scene & Frosted Glass Aesthetic
   ============================================================ */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --glass-light-bg: rgba(255, 255, 255, 0.72);
  --glass-light-border: rgba(255, 255, 255, 0.85);
  --glass-dark-bg: rgba(13, 16, 23, 0.72);
  --glass-dark-border: rgba(255, 255, 255, 0.12);
  --text-dark: #18181b;
  --text-light: #f4f4f5;
  --text-muted-dark: #71717a;
  --text-muted-light: #a1a1aa;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-family);
  background-color: #0d1117;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   场景通用样式与切换动画
   ============================================================ */
.view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.view.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 10;
}

/* ============================================================
   场景一：主页（白色手绘图 · 左侧雾化玻璃按钮）
   ============================================================ */
.view-home {
  background-color: #ffffff;
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-container {
  position: relative;
  width: 100%;
  max-width: 1024px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
}

.home-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.home-bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* 主页左侧悬浮栏（微压发梢与雨滴字母） */
.home-sidebar {
  position: relative;
  left: 20px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 20;
}

.brand-box {
  user-select: none;
}

.brand-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  text-transform: lowercase;
  line-height: 1;
}

.brand-subtitle {
  font-size: 13px;
  color: #71717a;
  letter-spacing: 0.08em;
  margin-top: 8px;
  text-transform: uppercase;
}

/* 雾化毛玻璃导航按钮组 */
.glass-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.glass-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--glass-light-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-light-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #27272a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.glass-nav-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08), inset 0 1px 0 #ffffff;
  color: #000000;
}

.glass-nav-btn.primary {
  background: rgba(24, 24, 27, 0.88);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.glass-nav-btn.primary:hover {
  background: #000000;
  color: #ffffff;
  transform: translateX(6px);
}

.nav-icon {
  font-size: 16px;
}

.nav-text {
  flex: 1;
  text-align: left;
}

.nav-arrow {
  font-size: 14px;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.glass-nav-btn:hover .nav-arrow {
  transform: translateX(3px);
  opacity: 1;
}



/* ============================================================
   场景二：歌曲页面（黑夜雪景背景 · 左侧一排歌）
   ============================================================ */
.view-tracks {
  background-color: #0b0d13;
}

.tracks-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tracks-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.tracks-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 12, 18, 0.75) 0%, rgba(10, 12, 18, 0.4) 40%, rgba(10, 12, 18, 0.2) 100%);
  pointer-events: none;
}

/* 左侧一排歌：纯净透明排布，去除外层大黑框 */
.tracks-sidebar {
  position: absolute;
  left: 40px;
  top: 36px;
  bottom: 108px;
  width: 380px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.tracks-sidebar-header {
  padding: 0 0 16px 0;
  border-bottom: none;
  display: flex;
  align-items: center;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.back-home-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

/* 歌曲滑动区 */
.tracks-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.tracks-scroll-area::-webkit-scrollbar {
  width: 5px;
}

.tracks-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.song-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(14, 17, 23, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.song-item:hover {
  background: rgba(22, 26, 36, 0.78);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateX(6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.song-item.playing {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
}

.song-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.song-index {
  font-size: 12px;
  color: #71717a;
  font-variant-numeric: tabular-nums;
  width: 20px;
}

.song-item.playing .song-index {
  color: #ffffff;
  font-weight: bold;
}

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

.song-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.song-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f4f4f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d4d4d8;
  flex-shrink: 0;
}

.song-desc {
  font-size: 11px;
  color: #a1a1aa;
  margin-top: 2px;
  display: flex;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.bili-link {
  color: #71717a;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.15s ease;
}

.bili-link:hover {
  color: #00aeec;
}

.item-play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.song-item:hover .item-play-icon {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.song-item.playing .item-play-icon {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0d13;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #71717a;
  font-size: 12px;
}

/* ============================================================
   底部固定雾化音乐播放条 (Glass Player)
   ============================================================ */
.player-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  background: rgba(10, 12, 17, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 36px 14px 36px;
  z-index: 100;
}

.player-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.now-playing-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-artist {
  font-size: 11px;
  color: #a1a1aa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.control-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.play-btn {
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #0b0d13;
}

.play-btn:hover {
  background: #e4e4e7;
  color: #0b0d13;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.time-label {
  font-size: 10px;
  color: #71717a;
  font-variant-numeric: tabular-nums;
  width: 32px;
  text-align: center;
}

.progress-container {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   场景三：点歌征集专属页面（独立全屏 · 白灰极简磨砂）
   ============================================================ */
.view-requests {
  background-color: #f8f9fa;
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
}

.requests-page-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 80px 24px;
  min-height: 100%;
}

.requests-top-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.back-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #18181b;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.back-pill-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: translateX(-2px);
}

.requests-title-text {
  font-size: 20px;
  font-weight: 700;
  color: #18181b;
  letter-spacing: 0.04em;
}

.requests-body-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.request-card-block {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.card-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.card-block-title.flex-between {
  justify-content: space-between;
  flex-wrap: wrap;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-block-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #18181b;
}

.title-icon {
  font-size: 18px;
}

.table-backend-hint {
  font-size: 12px;
  color: #71717a;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 10px;
  border-radius: 8px;
}

/* 模型对比卡片网格 */
.model-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.model-card-item {
  background: rgba(244, 244, 245, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.model-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.model-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
}

.model-tag.utau {
  background: #e0f2fe;
  color: #0369a1;
}

.model-tag.svc {
  background: #fdf2f8;
  color: #be185d;
}

.model-time {
  font-size: 12px;
  color: #71717a;
  font-weight: 500;
}

.model-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #3f3f46;
}

/* 点歌规则 */
.rules-content-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #3f3f46;
  line-height: 1.6;
}

.rule-label {
  font-weight: 700;
  color: #18181b;
  font-size: 13px;
}

.rule-row.highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
}

.rule-row.highlight-box .rule-text {
  color: #047857;
  font-weight: 600;
}

/* 在线点歌交互表单 */
.request-form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 13px;
  color: #18181b;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #a1a1aa;
}

.form-textarea {
  resize: vertical;
}

/* 期望模型单选胶囊 */
.model-select-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.model-radio-pill {
  position: relative;
  cursor: pointer;
  display: block;
}

.model-radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(244, 244, 245, 0.7);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.model-radio-pill input[type="radio"]:checked + .pill-content {
  background: rgba(239, 246, 255, 0.95);
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.pill-badge {
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
}

.pill-badge.svc {
  background: #fdf2f8;
  color: #be185d;
}

.pill-badge.utau {
  background: #e0f2fe;
  color: #0369a1;
}

.pill-badge.default {
  background: #f4f4f5;
  color: #52525b;
}

.pill-text {
  font-size: 11px;
  color: #71717a;
  line-height: 1.4;
}

/* 提交按钮与状态提示 */
.form-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-submit-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-submit-request:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-submit-request:active {
  transform: translateY(0);
}

.form-submit-tip {
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.form-submit-tip.success {
  color: #059669;
}

.form-submit-tip.error {
  color: #dc2626;
}

/* ============================================================
   弹窗说明 (Modal Glass)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.glass-modal {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 24px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .glass-modal {
  transform: translateY(0) scale(1);
}

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

.modal-header h3 {
  font-size: 16px;
  color: #18181b;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #71717a;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: #3f3f46;
  line-height: 1.6;
}

.info-block h4 {
  font-size: 13px;
  color: #18181b;
  margin-bottom: 4px;
}

.modal-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.modal-btn {
  padding: 8px 18px;
  background: #18181b;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-btn:hover {
  background: #000000;
}

/* 大号弹窗与长内容自适应 */
.glass-modal.modal-large {
  max-width: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-large .modal-body {
  overflow-y: auto;
  padding-right: 6px;
  max-height: 60vh;
}

.modal-large .modal-body::-webkit-scrollbar {
  width: 5px;
}
.modal-large .modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* 点歌排单表格样式 */
.request-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.request-table-hint {
  font-size: 11px;
  color: #71717a;
}

.request-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.request-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.request-table th {
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 12px;
  color: #52525b;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.request-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: #27272a;
}

.request-table tr:last-child td {
  border-bottom: none;
}

.request-table tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* 状态徽章 */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.status-badge.done {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.doing {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ============================================================
   移动端自适应（手机 QQ 浏览）
   ============================================================ */
@media (max-width: 768px) {
  .home-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .home-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .home-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 46% center;
  }

  .home-sidebar {
    position: absolute;
    left: 20px;
    width: 235px;
    gap: 18px;
    z-index: 20;
  }

  .glass-nav-btn {
    padding: 13px 16px;
    font-size: 13px;
  }

  .brand-title {
    font-size: 32px;
  }

  .tracks-sidebar {
    left: 14px;
    right: 14px;
    width: auto;
    top: 20px;
    bottom: 96px;
  }

  .player-bar {
    padding: 10px 16px 14px 16px;
  }

  /* 移动端点歌页排版自适应 */
  .requests-page-wrapper {
    padding: 20px 14px 70px 14px;
  }

  .requests-top-header {
    gap: 12px;
    margin-bottom: 20px;
  }

  .requests-title-text {
    font-size: 16px;
  }

  .model-cards-grid {
    grid-template-columns: 1fr;
  }

  .request-card-block {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .request-table th,
  .request-table td {
    padding: 8px 6px;
    font-size: 11px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .model-select-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-submit-request {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   管理员面板样式
   ============================================================ */

/* 表格标题右侧容器 */
.table-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 管理入口按钮 */
.admin-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  color: #71717a;
  transition: all 0.18s ease;
  user-select: none;
  white-space: nowrap;
}

.admin-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #18181b;
}

/* 已登录绿色徽章 */
.admin-online-badge {
  background: #22c55e;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

/* 管理员密码弹窗尺寸 */
.admin-modal-card {
  max-width: 360px;
  width: 90%;
}

/* 管理模式状态切换按钮组 */
.admin-status-btns {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.admin-st-btn {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
  color: #71717a;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.admin-st-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #18181b;
}

.admin-st-btn.active {
  background: rgba(0, 0, 0, 0.12);
  color: #18181b;
  font-weight: 600;
  border-color: rgba(0, 0, 0, 0.22);
}

.admin-st-btn.doing.active {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.3);
}

.admin-st-btn.done.active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.3);
}

/* 删除按钮 */
.admin-del-btn {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 2px;
}

.admin-del-btn:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* ============================================================
   九宫格粉丝验证弹窗样式（すべての地板を選んでください。）
   ============================================================ */

#modal-captcha {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 9999;
}

/* 已通过认证的老访客打开时静默隐藏，不闪烁 */
html.fan-verified #modal-captcha:not(.force-show) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.captcha-modal-card {
  max-width: 440px;
  width: 92%;
  padding: 24px;
}

.captcha-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.captcha-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.captcha-badge-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  color: #ea580c;
  background: rgba(234, 88, 12, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  user-select: none;
  cursor: pointer;
}

.captcha-title {
  font-size: 17px;
  font-weight: 700;
  color: #18181b;
  margin: 2px 0 0;
  letter-spacing: -0.01em;
}

.captcha-subtitle {
  font-size: 12px;
  color: #71717a;
  margin: 0;
}

/* 3x3 九宫格网格容器 */
.captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.captcha-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.captcha-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.captcha-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* 选中态 */
.captcha-item.selected {
  border-color: #18181b;
  box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.2);
}

.captcha-item.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: #18181b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 状态提示 */
.captcha-status-tip {
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 14px;
  line-height: 1.5;
  transition: all 0.2s ease;
  user-select: none;
  cursor: pointer;
}

.captcha-status-tip.error {
  color: #ef4444;
  font-weight: 500;
}

.captcha-status-tip.success {
  color: #16a34a;
  font-weight: 600;
}

.captcha-status-tip.banned {
  color: #dc2626;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 底部操作条 */
.captcha-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.captcha-action-group {
  display: flex;
  gap: 8px;
}

.btn-captcha-sec {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #27272a;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-captcha-sec:hover {
  background: rgba(0, 0, 0, 0.09);
}

.btn-captcha-primary {
  background: #18181b;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-captcha-primary:hover {
  background: #27272a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-captcha-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* 点错时的错误红框与抖动动效 */
.captcha-item.wrong {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4) !important;
  animation: captchaShake 0.4s ease-in-out;
}

@keyframes captchaShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}


