/* Sprint D1 R2 (#103 / PR #105) — Frameless Bare-Floating 3D PBR Constellation & All-Chinese Frosted Dossier */
/* Strictly unified cold-silver (#eef6ff) + ice-blue (#78b5ff) UI palette; ZERO warm-gold/amber UI tones. */

.sc-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.34);
  background: rgba(8, 16, 32, 0.72);
  color: #eef6ff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.sc-topbar-btn:hover,
.sc-topbar-btn[aria-expanded="true"] {
  border-color: rgba(120, 181, 255, 0.78);
  background: rgba(18, 36, 68, 0.88);
  box-shadow: 0 0 14px rgba(120, 181, 255, 0.24);
}

.sc-topbar-btn__icon {
  color: #78b5ff;
  font-size: 11px;
  line-height: 1;
}

.sc-topbar-btn--exhibit {
  position: fixed;
  top: 18px;
  right: 146px;
  z-index: 45;
  height: 34px;
}

.tm-v2-quick-dock .sc-stargraph-dock-btn {
  position: static;
}

.sc-stargraph-dock-btn .sc-topbar-btn__icon {
  color: #78b5ff;
  font-size: 12px;
}

/* Hide 3D canvas reticle cursor & restore crisp hardware OS cursors inside Constellation Compendium
   (Must exceed .atlas[data-ui-system][data-custom-cursor="yes"] * specificity (0,3,0) in solar.css) */
body:has([data-space-compendium="open"]) .atlas-cursor {
  opacity: 0 !important;
  pointer-events: none !important;
}

html body .atlas.atlas [data-space-compendium="open"],
html body .atlas.atlas [data-space-compendium="open"] * {
  cursor: default !important;
}

html body .atlas.atlas [data-space-compendium="open"] .sc-constellation-viewport,
html body .atlas.atlas [data-space-compendium="open"] .sc-drawer-3d-viewport,
html body .atlas.atlas [data-space-compendium="open"] .sc-drawer-3d-viewport * {
  cursor: grab !important;
}

html body .atlas.atlas [data-space-compendium="open"] button,
html body .atlas.atlas [data-space-compendium="open"] button *,
html body .atlas.atlas [data-space-compendium="open"] [role="button"],
html body .atlas.atlas [data-space-compendium="open"] [role="button"] *,
html body .atlas.atlas [data-space-compendium="open"] .sc-star-node,
html body .atlas.atlas [data-space-compendium="open"] .sc-star-node * {
  cursor: pointer !important;
}

html body .atlas.atlas [data-space-compendium="open"] input.sc-search-input {
  cursor: text !important;
  -webkit-user-select: text;
  user-select: text;
}

html body .atlas.atlas [data-space-compendium="open"] .sc-constellation-viewport.is-dragging,
html body .atlas.atlas [data-space-compendium="open"] .sc-constellation-viewport.is-dragging *,
html body .atlas.atlas [data-space-compendium="open"] .sc-drawer-3d-viewport:active,
html body .atlas.atlas [data-space-compendium="open"] .sc-drawer-3d-viewport:active * {
  cursor: grabbing !important;
}

/* Full-Viewport Borderless Deep-Space Constellation Stage */
.sc-overlay.sc-constellation-stage {
  position: fixed;
  inset: 0;
  z-index: 112;
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
  color: #eef6ff;
  background:
    radial-gradient(circle at 24% 22%, rgba(22, 56, 114, 0.28) 0%, rgba(4, 10, 22, 0) 48%),
    radial-gradient(circle at 76% 74%, rgba(16, 44, 92, 0.24) 0%, rgba(3, 8, 18, 0) 52%),
    radial-gradient(1.2px 1.2px at 140px 92px, rgba(208, 232, 255, 0.50), transparent),
    radial-gradient(1px 1px at 310px 410px, rgba(176, 214, 255, 0.42), transparent),
    radial-gradient(1px 1px at 540px 180px, rgba(164, 206, 255, 0.44), transparent),
    radial-gradient(1.4px 1.4px at 860px 150px, rgba(220, 238, 255, 0.48), transparent),
    radial-gradient(1px 1px at 1040px 560px, rgba(168, 210, 255, 0.40), transparent),
    radial-gradient(1px 1px at 1240px 330px, rgba(158, 200, 255, 0.42), transparent),
    radial-gradient(1.2px 1.2px at 640px 670px, rgba(196, 226, 255, 0.44), transparent),
    linear-gradient(180deg, rgba(3, 7, 17, 0.93) 0%, rgba(2, 5, 13, 0.96) 100%);
  backdrop-filter: blur(18px);
}

/* Single Shared Three.js WebGL Miniature Layer (sandwiched cleanly above curves & below hit labels) */
.sc-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sc-webgl-canvas.is-visible {
  opacity: 1;
}

/* Sleek Floating All-Chinese Top HUD Bar */
.sc-floating-hud {
  position: fixed;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.24);
  background: rgba(6, 14, 29, 0.78);
  box-shadow: 0 12px 36px rgba(2, 6, 16, 0.62), inset 0 1px 0 rgba(191, 227, 255, 0.10);
  backdrop-filter: blur(16px);
}

.sc-hud-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 4px;
}

.sc-hud-glyph {
  color: #78b5ff;
  font-size: 14px;
  text-shadow: 0 0 12px rgba(120, 181, 255, 0.65);
}

.sc-title-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sc-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #eef6ff;
  white-space: nowrap;
}

.sc-subtitle {
  margin: 0;
  font-size: 11px;
  color: rgba(164, 204, 252, 0.72);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sc-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.sc-filter-pill {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.18);
  background: rgba(9, 20, 40, 0.62);
  color: rgba(188, 218, 255, 0.80);
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.sc-filter-pill:hover {
  border-color: rgba(120, 181, 255, 0.54);
  color: #eef6ff;
}

.sc-filter-pill.is-active {
  border-color: #78b5ff;
  background: rgba(120, 181, 255, 0.24);
  color: #eef6ff;
  box-shadow: 0 0 12px rgba(120, 181, 255, 0.18);
}

.sc-hud-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-search-input {
  width: 168px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.24);
  background: rgba(4, 10, 22, 0.82);
  color: #eef6ff;
  font-size: 11.5px;
  outline: none;
}

.sc-search-input::placeholder {
  color: rgba(158, 200, 255, 0.52);
}

.sc-search-input:focus {
  border-color: #78b5ff;
  box-shadow: 0 0 0 2px rgba(120, 181, 255, 0.18);
}

.sc-world-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.26);
  background: rgba(10, 22, 42, 0.74);
  color: #cfe4ff;
  font-size: 11.5px;
  cursor: pointer;
  white-space: nowrap;
}

.sc-world-toggle.is-active {
  border-color: #9ec8ff;
  background: rgba(120, 181, 255, 0.28);
  color: #eef6ff;
  box-shadow: 0 0 14px rgba(120, 181, 255, 0.22);
}

.sc-view-tabs {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.22);
  background: rgba(5, 12, 25, 0.86);
}

.sc-view-tab {
  height: 24px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(176, 212, 255, 0.76);
  font-size: 11.5px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.sc-view-tab.is-active {
  background: rgba(120, 181, 255, 0.26);
  color: #eef6ff;
  box-shadow: inset 0 0 0 1px rgba(120, 181, 255, 0.45);
}

.sc-close-btn {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.30);
  background: rgba(10, 22, 42, 0.80);
  color: #cfe4ff;
  font-size: 11.5px;
  cursor: pointer;
  white-space: nowrap;
}

.sc-close-btn:hover {
  border-color: rgba(120, 181, 255, 0.76);
  color: #eef6ff;
}

/* Interactive Pan & Zoom Constellation Viewport */
.sc-constellation-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.sc-constellation-viewport.is-dragging {
  cursor: grabbing;
}

.sc-constellation-svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: visible;
  will-change: transform;
}

.sc-constellation-svg--bg {
  z-index: 2;
  pointer-events: none;
}

.sc-constellation-svg--fg {
  z-index: 4;
  pointer-events: none;
}

.sc-constellation-svg--fg .sc-star-node {
  pointer-events: auto;
}

/* Chronological X-Axis & All-Chinese Track Bands */
.sc-axis-baseline {
  stroke: rgba(120, 181, 255, 0.20);
  stroke-width: 1;
}

.sc-time-meridian {
  stroke: rgba(120, 181, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.sc-time-dot {
  fill: rgba(148, 198, 255, 0.58);
}

.sc-time-label {
  fill: rgba(168, 208, 255, 0.76);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.sc-time-tick.is-world-tick .sc-time-label {
  fill: #bfe3ff;
}

.sc-track-title {
  fill: rgba(218, 236, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sc-track-sub {
  fill: rgba(132, 182, 242, 0.50);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

/* Cubic Bézier Relationship Curves & Obsidian Spotlight */
.sc-edge {
  fill: none;
  stroke: rgba(120, 181, 255, 0.28);
  stroke-width: 1.35;
  stroke-linecap: round;
  transition: opacity 0.24s ease, stroke 0.24s ease, stroke-width 0.24s ease;
}

.sc-edge.is-cross-track {
  stroke: rgba(138, 194, 255, 0.22);
  stroke-width: 1.25;
}

.sc-edge.is-world {
  stroke: rgba(132, 212, 255, 0.44);
  stroke-dasharray: 6 5;
}

.sc-edge.is-world.is-highlighted {
  opacity: 1;
  stroke: #67e8f9;
  stroke-width: 2.3;
  filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.65));
}

.sc-edge.is-dimmed {
  opacity: 0.14;
}

.sc-edge.is-highlighted {
  opacity: 1;
  stroke: #9fd0ff;
  stroke-width: 2.3;
  filter: drop-shadow(0 0 6px rgba(120, 181, 255, 0.65));
}

.sc-edge-flow {
  fill: none;
  stroke: #eef6ff;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-dasharray: 7 22;
  pointer-events: none;
  animation: scStarFlow 1.35s linear infinite;
}

@keyframes scStarFlow {
  from {
    stroke-dashoffset: 29;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Frameless Bare-Floating Node Captions (Zero Outer Rings or Discs) */
.sc-star-node {
  cursor: pointer;
  outline: none;
  transition: opacity 0.24s ease;
}

.sc-star-node.is-dimmed {
  opacity: 0.18;
}

.sc-star-node__date {
  fill: #9ec8ff;
  font-family: var(--tm-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.04em;
  paint-order: stroke;
  stroke: rgba(2, 6, 16, 0.94);
  stroke-width: 3.2px;
  stroke-linejoin: round;
}

.sc-star-node.is-world .sc-star-node__date {
  fill: #cbe4ff;
}

.sc-star-node__name {
  fill: rgba(232, 243, 255, 0.92);
  font-size: 11.8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  paint-order: stroke;
  stroke: rgba(2, 6, 16, 0.96);
  stroke-width: 3.8px;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
}

.sc-star-node:hover .sc-star-node__name,
.sc-star-node.is-focused .sc-star-node__name,
.sc-star-node.is-selected .sc-star-node__name {
  fill: #eef6ff;
}

/* Bottom-Left Interaction Guide & Bottom-Right Zoom Dock */
.sc-constellation-hint {
  position: fixed;
  left: 20px;
  bottom: 16px;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.16);
  background: rgba(5, 12, 26, 0.68);
  color: rgba(168, 206, 252, 0.74);
  font-size: 11px;
  letter-spacing: 0.03em;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.sc-zoom-dock {
  position: fixed;
  right: 20px;
  bottom: 16px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.26);
  background: rgba(6, 14, 29, 0.84);
  box-shadow: 0 10px 28px rgba(2, 6, 16, 0.56);
  backdrop-filter: blur(14px);
  transition: right 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-constellation-stage.has-drawer-open .sc-zoom-dock {
  right: 416px;
}

.sc-zoom-btn {
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.18);
  background: rgba(10, 22, 44, 0.74);
  color: #dff0ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sc-zoom-btn--text {
  font-size: 11px;
  font-weight: 500;
  padding: 0 10px;
}

.sc-zoom-btn:hover {
  border-color: #78b5ff;
  background: rgba(120, 181, 255, 0.24);
  color: #eef6ff;
}

.sc-zoom-readout {
  min-width: 44px;
  text-align: center;
  font-family: var(--tm-mono, ui-monospace, monospace);
  font-size: 11px;
  color: #9ec8ff;
  font-variant-numeric: tabular-nums;
}

/* Slide-In All-Chinese Frosted Dossier Card + Interactive 3D Close-Up Showcase */
.sc-main-scroll,
.sc-detail-panel {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 181, 255, 0.32) transparent;
}

.sc-main-scroll::-webkit-scrollbar,
.sc-detail-panel::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.sc-main-scroll::-webkit-scrollbar-track,
.sc-detail-panel::-webkit-scrollbar-track {
  background: transparent;
}

.sc-main-scroll::-webkit-scrollbar-thumb,
.sc-detail-panel::-webkit-scrollbar-thumb {
  background: rgba(120, 181, 255, 0.32);
  border-radius: 999px;
}

.sc-main-scroll::-webkit-scrollbar-thumb:hover,
.sc-detail-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 181, 255, 0.56);
}

.sc-slide-drawer {
  position: fixed;
  top: 72px;
  right: 16px;
  bottom: 16px;
  width: 384px;
  z-index: 9;
  padding: 14px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(120, 181, 255, 0.28);
  background: linear-gradient(180deg, rgba(7, 16, 33, 0.92) 0%, rgba(4, 10, 22, 0.95) 100%);
  box-shadow: -16px 20px 52px rgba(2, 6, 16, 0.74), inset 0 1px 0 rgba(191, 227, 255, 0.12);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  gap: 8.5px;
  animation: scDrawerSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes scDrawerSlideIn {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.sc-detail-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sc-drawer-close-btn {
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.26);
  background: rgba(10, 22, 44, 0.76);
  color: #bfe3ff;
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
}

.sc-drawer-close-btn:hover {
  border-color: #78b5ff;
  color: #eef6ff;
}

.sc-detail-eyebrow {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9ec8ff;
}

.sc-detail-title {
  margin: -2px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #eef6ff;
  line-height: 1.3;
}

.sc-3d-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 35px;
  padding: 6px 10px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(120, 181, 255, 0.74);
  background: linear-gradient(135deg, rgba(36, 98, 198, 0.48), rgba(120, 181, 255, 0.28));
  color: #eef6ff;
  font-size: 11.8px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.sc-3d-jump-btn:hover {
  box-shadow: 0 0 18px rgba(120, 181, 255, 0.36);
  background: linear-gradient(135deg, rgba(48, 118, 224, 0.60), rgba(120, 181, 255, 0.38));
}

/* Interactive Drawer 3D Close-Up Stage */
.sc-drawer-3d-stage {
  position: relative;
  width: 100%;
  height: 142px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(120, 181, 255, 0.24);
  background:
    radial-gradient(circle at 50% 44%, rgba(28, 68, 134, 0.38) 0%, rgba(5, 11, 24, 0.92) 74%);
  overflow: hidden;
}

.sc-drawer-3d-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.sc-drawer-3d-viewport:active {
  cursor: grabbing;
}

.sc-drawer-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.sc-drawer-3d-caption {
  position: absolute;
  left: 10px;
  bottom: 7px;
  font-size: 10px;
  color: rgba(164, 206, 255, 0.72);
  pointer-events: none;
}

.sc-drawer-media-switch {
  position: absolute;
  top: 7px;
  right: 7px;
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.26);
  background: rgba(4, 10, 22, 0.82);
  backdrop-filter: blur(8px);
}

.sc-drawer-media-btn {
  height: 20px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(176, 212, 255, 0.76);
  font-size: 10.5px;
  cursor: pointer;
}

.sc-drawer-media-btn.is-active {
  background: rgba(120, 181, 255, 0.28);
  color: #eef6ff;
}

.sc-detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.sc-detail-summary {
  margin: 0;
  font-size: 12.4px;
  line-height: 1.58;
  color: rgba(214, 232, 255, 0.88);
}

.sc-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.sc-spec-cell {
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(120, 181, 255, 0.14);
  background: rgba(9, 19, 38, 0.62);
}

.sc-spec-label {
  display: block;
  font-size: 10px;
  color: rgba(158, 200, 255, 0.68);
  margin-bottom: 2px;
}

.sc-spec-val {
  display: block;
  font-size: 11.8px;
  color: #eef6ff;
}

.sc-detail-section-title {
  margin: 2px 0 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9ec8ff;
}

.sc-detail-list {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  line-height: 1.52;
  color: rgba(226, 240, 255, 0.9);
}

.sc-people-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sc-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 5px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.24);
  background: rgba(10, 22, 42, 0.76);
  color: #cfe4ff;
  font-size: 12px;
}

.sc-person-chip--text-only {
  padding: 4px 10px;
}

.sc-person-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(120, 181, 255, 0.48);
  background: rgba(6, 13, 27, 0.9);
  flex-shrink: 0;
}

.sc-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sc-related-btn {
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.28);
  background: rgba(12, 26, 50, 0.72);
  color: #bfe3ff;
  font-size: 11.5px;
  cursor: pointer;
}

.sc-related-btn--downstream {
  border-color: rgba(138, 198, 255, 0.42);
  background: rgba(16, 36, 70, 0.78);
}

.sc-related-btn:hover {
  border-color: #78b5ff;
  color: #eef6ff;
  background: rgba(120, 181, 255, 0.22);
}

/* Auxiliary Chronological List Stage */
.sc-timeline-stage {
  position: absolute;
  inset: 74px 16px 16px;
  z-index: 5;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.sc-timeline-scroll {
  width: min(980px, 100%);
  height: 100%;
  padding: 10px 14px 28px;
}

.sc-constellation-stage.has-drawer-open .sc-timeline-stage {
  right: 412px;
}

.sc-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-timeline-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(120, 181, 255, 0.16);
  background: rgba(8, 17, 34, 0.76);
  color: #eef6ff;
  text-align: left;
  cursor: pointer;
}

.sc-timeline-row:hover,
.sc-timeline-row.is-selected {
  border-color: #78b5ff;
  background: rgba(16, 34, 66, 0.88);
}

.sc-timeline-row.is-world {
  border-style: dashed;
  border-color: rgba(158, 200, 255, 0.40);
  background: rgba(11, 24, 46, 0.72);
}

.sc-timeline-date {
  font-family: var(--tm-mono, ui-monospace, monospace);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: #9ec8ff;
}

.sc-timeline-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sc-timeline-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sc-timeline-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #eef6ff;
}

.sc-timeline-code {
  font-size: 11px;
  color: rgba(158, 200, 255, 0.74);
  font-family: var(--tm-mono, ui-monospace, monospace);
}

.sc-node-meta {
  font-size: 11px;
  color: rgba(176, 212, 255, 0.72);
}

.sc-timeline-summary {
  margin: 0;
  font-size: 11.5px;
  color: rgba(196, 220, 248, 0.76);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-node-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sc-badge-3d,
.sc-badge-world {
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sc-badge-3d {
  border: 1px solid rgba(120, 181, 255, 0.56);
  background: rgba(120, 181, 255, 0.2);
  color: #bfe3ff;
}

.sc-badge-world {
  border: 1px solid rgba(176, 212, 255, 0.44);
  background: rgba(176, 212, 255, 0.14);
  color: #dbeeff;
}

.sc-empty-state {
  padding: 42px 20px;
  text-align: center;
  color: rgba(176, 208, 245, 0.74);
  font-size: 13px;
}

.sc-empty-state--floating {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1440px), (max-height: 780px) {
  .sc-floating-hud {
    top: 10px;
    left: 12px;
    right: 12px;
    padding: 7px 12px;
    border-radius: 16px;
  }
  .sc-subtitle {
    display: none;
  }
  .sc-search-input {
    width: 144px;
  }
  .sc-slide-drawer {
    top: 68px;
    right: 12px;
    bottom: 12px;
    width: 358px;
  }
  .sc-constellation-stage.has-drawer-open .sc-zoom-dock {
    right: 382px;
  }
  .sc-constellation-hint {
    display: none;
  }
}

/* Sprint E2: Clickable Left Star-Track Lane Filters */
.sc-constellation-svg--fg .sc-track-hit {
  pointer-events: auto;
  cursor: pointer !important;
}
.sc-track-hit-rect {
  fill: rgba(120, 181, 255, 0.01);
  stroke: rgba(120, 181, 255, 0);
  stroke-width: 1;
  transition: fill 160ms ease, stroke 160ms ease;
}
.sc-track-hit:hover .sc-track-hit-rect {
  fill: rgba(120, 181, 255, 0.09);
  stroke: rgba(120, 181, 255, 0.38);
}
.sc-track-hit.is-active .sc-track-hit-rect {
  fill: rgba(120, 181, 255, 0.14);
  stroke: rgba(120, 181, 255, 0.72);
}
.sc-track-band.is-active .sc-track-title {
  fill: #eef6ff;
}
.sc-track-band.is-active .sc-track-sub {
  fill: rgba(154, 206, 255, 0.92);
}
