/* Luminous Score: atmospheric parchment grand staff with dual-orb visualization */
body:has(.score-stage) #page-header {
  position: relative !important;
  top: 0 !important;
  margin: 0 !important;
  height: var(--site-nav-height, 60px) !important;
  min-height: var(--site-nav-height, 60px) !important;
  background: none !important;
  box-shadow: none !important;
}
body:has(.score-stage) :is(#aside-content, .page-title, #page-site-info, #footer, #rightside, #mini-music, .mini-music, .mini-music-shell, #mini-music-player, .mini-music-fab, .mini-music-toggle, .ink-bird-flock, .luoshen-texture, .ai-pet-dock) {
  display: none !important;
}
body:has(.score-stage) #content-inner.layout {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body:has(.score-stage) #page {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #141210 !important;
  box-shadow: none !important;
}
body:has(.score-stage) #nav,
body:has(.score-stage) #page-header.not-top-img #nav {
  background: rgba(18, 16, 14, 0.84) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 245, 230, 0.1) !important;
}
html body:has(.score-stage) #page-header #nav *,
html body:has(.score-stage) #page-header #nav a,
html body:has(.score-stage) #page-header #nav .nav-site-title,
html body:has(.score-stage) #page-header #nav .site-name,
html body:has(.score-stage) #page-header #nav .site-page,
html body:has(.score-stage) #page-header #nav #site-name {
  color: rgba(248, 243, 235, 0.94) !important;
  text-shadow: none !important;
}
html body:has(.score-stage) #page-header #nav button,
html body:has(.score-stage) #page-header #nav .lang-switch {
  background: rgba(255, 248, 238, 0.14) !important;
  border: 1px solid rgba(255, 248, 238, 0.24) !important;
  color: #f8f3eb !important;
}
body:has(.score-stage) #nav .menus_item_child {
  background: rgba(22, 20, 18, 0.95) !important;
  border: 1px solid rgba(255, 245, 230, 0.12) !important;
}

.score-stage {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--site-nav-height, 60px));
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 48%, #8f8981 0%, #5a554e 48%, #282420 82%, #141210 100%);
  user-select: none;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}

.score-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.score-header {
  position: absolute;
  top: 28px;
  left: clamp(24px, 4.5vw, 56px);
  right: clamp(24px, 4.5vw, 56px);
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.score-meta {
  max-width: 520px;
}

.score-kicker {
  font: 500 11px/1.6 Consolas, "SF Mono", monospace;
  letter-spacing: 0.24em;
  color: rgba(244, 238, 229, 0.72);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

#article-container .score-stage .score-title {
  margin: 4px 0 6px !important;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fbf8f3;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

#article-container .score-stage .score-title::before {
  display: none !important;
}

#article-container .score-stage .score-subtitle {
  margin: 0 !important;
  font: italic 400 15px/1.6 Georgia, "Times New Roman", "Songti SC", serif;
  color: rgba(244, 238, 229, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.score-piece-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: auto;
  background: rgba(20, 18, 16, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 245, 230, 0.14);
  border-radius: 999px;
  padding: 5px;
}

.score-piece-btn {
  border: 0;
  background: transparent;
  color: rgba(242, 236, 226, 0.74);
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.score-piece-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.score-piece-btn.is-active {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.28), rgba(251, 146, 60, 0.24));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 230, 0.26);
}

.score-start-hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.score-start-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.score-start-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 235, 0.28);
  background: rgba(20, 18, 16, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fbf8f3;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.42);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.score-start-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(28, 25, 22, 0.82);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.52);
}

.score-start-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #fb923c);
  color: #161311;
  font-size: 12px;
  padding-left: 2px;
}

.score-hud {
  position: absolute;
  left: clamp(20px, 4.5vw, 56px);
  right: clamp(20px, 4.5vw, 56px);
  bottom: 22px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-legend {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: rgba(244, 238, 229, 0.45);
  font: 500 11px/1 Consolas, "SF Mono", monospace;
  letter-spacing: 0.16em;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.score-voice-pill.is-on {
  color: rgba(251, 248, 243, 0.92);
}

.score-voice-pill:hover {
  background: rgba(255, 255, 255, 0.08);
}

.score-voice-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.score-voice-pill .dot-treble {
  background: #a78bfa;
  box-shadow: 0 0 10px #a78bfa;
}

.score-voice-pill .dot-bass {
  background: #fb923c;
  box-shadow: 0 0 10px #fb923c;
}

.score-voice-pill:not(.is-on) .dot {
  opacity: 0.3;
  box-shadow: none;
}

.score-progress-wrap {
  width: 100%;
}

.score-progress-track {
  position: relative;
  height: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.score-progress-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2.5px;
  border-radius: 999px;
  background: rgba(255, 245, 230, 0.22);
}

.score-progress-fill {
  position: absolute;
  left: 0;
  width: 0%;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, #fb923c);
  pointer-events: none;
}

.score-progress-thumb {
  position: absolute;
  left: 0%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbf8f3;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(251, 146, 60, 0.75);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.score-progress-track:hover .score-progress-thumb {
  transform: translateX(-50%) scale(1.3);
}

.score-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-ctrl-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 245, 230, 0.16);
  background: rgba(20, 18, 16, 0.56);
  backdrop-filter: blur(12px);
  color: rgba(251, 248, 243, 0.9);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.score-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.score-ctrl-btn.is-primary {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #a78bfa, #fb923c);
  border-color: transparent;
  color: #161311;
}

.score-time {
  font: 500 12px/1 Consolas, "SF Mono", monospace;
  color: rgba(244, 238, 229, 0.78);
  margin-left: 4px;
}

.score-spacer {
  flex: 1;
}

.score-chip-btn {
  border: 1px solid rgba(255, 245, 230, 0.18);
  background: rgba(20, 18, 16, 0.52);
  backdrop-filter: blur(10px);
  color: rgba(244, 238, 229, 0.85);
  font: 500 11px/1 Consolas, "PingFang SC", sans-serif;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.score-chip-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.score-vol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 238, 229, 0.75);
  font-size: 12px;
}

.score-vol input[type="range"] {
  width: 74px;
  accent-color: #fb923c;
  cursor: pointer;
}

@media (max-width: 767px) {
  .score-header {
    flex-direction: column;
    top: 16px;
    gap: 12px;
  }
  .score-piece-bar {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .score-vol {
    display: none;
  }
}

