/* ==========================================================================
   BIG SCREEN LIVE ARENA DASHBOARD STYLES (16:9 Projector Optimized)
   ========================================================================== */

.dashboard-body {
  background-color: #050811;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-th);
  padding: 16px 24px;
}

.dashboard-wrapper {
  max-width: 1750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 32px);
  gap: 14px;
}

/* Header */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-icon {
  font-size: 2.2rem;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0, 119, 255, 0.2));
  border: 1px solid var(--primary);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
}

.dash-super-title {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
}

.dash-main-title {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
}

.slogan-pill {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  display: flex;
  gap: 6px;
}

.slogan-accent {
  color: var(--accent-green);
}

.dash-stats-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.stat-value {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.15rem;
}

.stat-badge {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--accent-green);
  font-size: 0.85rem;
}

/* Stage Visibility */
.dash-stage {
  display: none !important;
  flex: 1;
  height: 100%;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-stage.active {
  display: flex !important;
}

#stageRegistration.dash-stage.active {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* STAGE 1: REGISTRATION LOBBY */
.lobby-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  gap: 20px;
}

.qr-glow-box {
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 35px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-img {
  width: 240px;
  height: 240px;
  display: block;
}

.qr-cta h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.qr-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.url-chip {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--accent-green);
  background: rgba(5, 255, 161, 0.12);
  border: 1px solid var(--accent-green);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-top: 10px;
  display: inline-block;
  font-size: 0.95rem;
}

.matrix-panel {
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}

.matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.matrix-header h3 {
  font-size: 1.15rem;
  color: #fff;
}

.subteam-summary {
  font-size: 0.85rem;
  color: var(--primary);
}

.participant-stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  overflow-y: auto;
  padding-right: 6px;
  max-height: calc(100vh - 200px);
}

.user-stream-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: zoomIn 0.3s ease;
}

.user-stream-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.user-stream-team {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* STAGE 2: SHUFFLE ANIMATION */
.shuffle-stage-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shuffle-hologram {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 900px;
}

.glitch-title {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00d2ff, #05ffa1, #ff2a6d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slot-display-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.slot-card {
  background: rgba(0, 210, 255, 0.12);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.slot-divider {
  font-size: 1.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

/* STAGE 3: CIRCLE RACE */
.circle-race-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.race-header {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.race-badge {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-rose);
  animation: pulse 1s infinite alternate;
}

.race-timer-text {
  font-family: var(--font-en);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--accent-amber);
  line-height: 1;
  text-shadow: 0 0 30px var(--accent-amber-glow);
}

.circle-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  overflow-y: auto;
  flex: 1;
}

.circle-group-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.circle-group-card.formed {
  border-color: var(--accent-green);
  background: rgba(5, 255, 161, 0.1);
}

.cg-number {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.cg-name {
  font-size: 0.95rem;
  color: #fff;
}

.cg-member-count {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.cg-status-badge {
  font-size: 0.82rem;
  color: var(--accent-amber);
  font-weight: 600;
}

/* STAGE 4: ICEBREAKER FULL-SCREEN ARENA */
.icebreaker-fullscreen-container {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
}

.icebreaker-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.board-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin: 2px 0 4px 0;
}

.board-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.header-right-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-pill-group {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.total-synergy-badge {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(5, 255, 161, 0.12);
  border: 1px solid var(--accent-green);
  color: #fff;
}

.groups-synergy-fullscreen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  overflow-y: auto;
  padding-right: 6px;
  flex: 1;
}

.group-synergy-card {
  background: rgba(18, 22, 38, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.group-synergy-card:hover {
  transform: translateY(-2px);
}

.group-synergy-card.rank-1 {
  border-color: #ffd700;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(18, 22, 38, 0.85));
}

.group-synergy-card.rank-2 {
  border-color: #c0c0c0;
  box-shadow: 0 0 16px rgba(192, 192, 192, 0.2);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(18, 22, 38, 0.85));
}

.group-synergy-card.rank-3 {
  border-color: #cd7f32;
  box-shadow: 0 0 16px rgba(205, 127, 50, 0.2);
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.08), rgba(18, 22, 38, 0.85));
}

.group-synergy-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.group-rank-badge {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.group-synergy-card.rank-1 .group-rank-badge {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  color: #ffd700;
}

.group-synergy-card.rank-2 .group-rank-badge {
  background: rgba(192, 192, 192, 0.2);
  border-color: #c0c0c0;
  color: #c0c0c0;
}

.group-synergy-card.rank-3 .group-rank-badge {
  background: rgba(205, 127, 50, 0.2);
  border-color: #cd7f32;
  color: #cd7f32;
}

.group-orig-badge {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 210, 255, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.group-synergy-mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.group-main-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.group-synergy-pts-box {
  text-align: right;
  flex-shrink: 0;
}

.group-synergy-giant-pts {
  font-family: var(--font-en);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent-green);
  text-shadow: 0 0 16px rgba(5, 255, 161, 0.4);
  line-height: 1;
}

.group-synergy-pts-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

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

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-green));
  transition: width 0.4s ease;
}

.group-synergy-card.rank-1 .progress-bar-fill {
  background: linear-gradient(90deg, #ffb800, #05ffa1);
}

.group-synergy-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.group-synergy-progress-text b {
  color: var(--accent-green);
  font-family: var(--font-en);
}

.feed-section {
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}

.activity-feed-stream {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.feed-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--primary);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeIn 0.3s ease;
}

.slogan-showcase-box {
  background: rgba(0, 210, 255, 0.08);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 10px;
}

.slogan-ticker-content {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* SPOTLIGHT MODAL OVERLAY */
.spotlight-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.spotlight-overlay.active {
  display: flex;
}

.spotlight-content {
  width: 100%;
  max-width: 680px;
  border: 2px solid var(--accent-rose);
  box-shadow: 0 0 50px var(--accent-rose-glow);
  padding: 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.spotlight-header h2 {
  color: var(--accent-rose);
  font-size: 1.6rem;
  font-weight: 800;
}

.siren-icon {
  font-size: 2rem;
  animation: pulse 0.6s infinite alternate;
}

.spotlight-group-tag {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.spotlight-match-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.spotlight-question-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--border-medium);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  color: var(--accent-green);
  font-weight: 600;
}

.spotlight-instruction {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PROMINENT REGISTRATION LOCK BANNER (FULL WIDTH HORIZONTAL BAR)
   ========================================================================== */
.dash-lock-banner {
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.18) 0%, rgba(255, 0, 85, 0.25) 50%, rgba(255, 184, 0, 0.18) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--accent-amber);
  border-radius: var(--radius-lg);
  padding: 8px 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 184, 0, 0.35);
  animation: lockBannerGlow 2.5s infinite alternate ease-in-out;
  flex-shrink: 0;
  box-sizing: border-box;
}

.qr-locked-cover {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-amber);
  box-shadow: 0 0 35px rgba(255, 184, 0, 0.5), inset 0 0 20px rgba(255, 0, 85, 0.25);
  animation: pulseLockGlow 2s infinite alternate ease-in-out;
  z-index: 15;
}

@keyframes pulseLockGlow {
  0% {
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
    border-color: var(--accent-amber);
  }
  100% {
    box-shadow: 0 0 40px rgba(255, 0, 85, 0.65);
    border-color: var(--accent-pink);
  }
}

@keyframes lockBannerGlow {
  0% {
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.35);
    border-color: var(--accent-amber);
  }
  100% {
    box-shadow: 0 0 35px rgba(255, 0, 85, 0.5);
    border-color: var(--accent-pink);
  }
}

.lock-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.lock-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lock-icon-pulse {
  font-size: 1.6rem;
  animation: pulse 1.2s infinite alternate;
}

.lock-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}

.lock-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.badge-locked {
  background: var(--accent-pink);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  font-size: 0.78rem;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.6);
  white-space: nowrap;
}

/* ==========================================================================
   FLOATING EMOJI REACTION STREAM OVERLAY
   ========================================================================== */
.emoji-stream-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999999;
  overflow: hidden;
}

.floating-emoji-item {
  position: absolute;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 210, 255, 0.6);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.5);
  animation: floatUpAndBurst 3.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.floating-emoji-item .emoji-icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

.floating-emoji-item .emoji-sender {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  font-family: var(--font-th);
}

@keyframes floatUpAndBurst {
  0% {
    transform: translateY(60px) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateY(-80px) scale(1.15);
  }
  70% {
    opacity: 0.95;
    transform: translateY(-60vh) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-95vh) scale(0.8);
  }
}

/* ==========================================================================
   FULLSCREEN PROJECTION OPTIMIZATION (1080p / 1440p / 4K Projectors)
   ========================================================================== */
body.is-fullscreen,
:fullscreen {
  padding: 8px 16px !important;
  background-color: #03050c !important;
}

body.is-fullscreen .dashboard-wrapper,
:fullscreen .dashboard-wrapper {
  max-width: 100vw !important;
  height: calc(100vh - 16px) !important;
  gap: 10px !important;
}

body.is-fullscreen .dash-header,
:fullscreen .dash-header {
  padding: 8px 20px !important;
}

/* QR Code Laser Scanline Animation */
.qr-glow-box {
  position: relative;
  overflow: hidden;
}

.qr-glow-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d2ff, #05ffa1, transparent);
  box-shadow: 0 0 15px #00d2ff, 0 0 25px #05ffa1;
  animation: laserScan 2.4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes laserScan {
  0% { top: 0%; opacity: 0.2; }
  50% { top: 96%; opacity: 1; }
  100% { top: 0%; opacity: 0.2; }
}

/* ==========================================================================
   PROJECT NEXUS ROUND 1: FLEET ENGINE GAUGES
   ========================================================================== */
.nexus-engines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  width: 100%;
  max-height: calc(100vh - 290px);
  overflow-y: auto;
  padding: 4px;
}

.engine-fleet-card {
  background: rgba(18, 26, 43, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.engine-fleet-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.2);
}

.engine-fleet-card.danger-state {
  border-color: var(--accent-rose);
  background: rgba(255, 42, 109, 0.08);
}

.engine-fleet-card.safe-state {
  border-color: rgba(5, 255, 161, 0.4);
}

.engine-bar-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.engine-safe-zone-marker {
  position: absolute;
  left: 35%;
  width: 40%;
  height: 100%;
  background: rgba(5, 255, 161, 0.18);
  border-left: 1px dashed var(--accent-green);
  border-right: 1px dashed var(--accent-green);
  z-index: 1;
}

.engine-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
  z-index: 2;
  position: relative;
}

/* ==========================================================================
   PROJECT NEXUS ROUND 2: BUG INCIDENT RESPONSE MATRIX
   ========================================================================== */
.nexus-bug-status-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.bug-radar-card {
  background: rgba(18, 26, 43, 0.9);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.bug-radar-card.active-threat {
  border: 2px solid #ff2a6d;
  background: rgba(255, 42, 109, 0.12);
  box-shadow: 0 0 25px rgba(255, 42, 109, 0.4);
  animation: pulseCardRed 1.2s infinite alternate ease-in-out;
}

.bug-radar-card.secured {
  border: 1px solid rgba(5, 255, 161, 0.3);
  background: rgba(5, 255, 161, 0.03);
}

@keyframes pulseCardRed {
  0% { box-shadow: 0 0 15px rgba(255, 42, 109, 0.3); }
  100% { box-shadow: 0 0 35px rgba(255, 42, 109, 0.7); }
}

.bug-threat-badge {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.threat-active {
  background: #ff2a6d;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.8);
}

.threat-safe {
  background: rgba(5, 255, 161, 0.15);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.4);
}

/* ==========================================================================
   PROJECT NEXUS ROUND 3: MOTHERSHIP GLOBAL CIPHER MATRIX
   ========================================================================== */
.cipher-grid-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 14px auto;
}

.cipher-slot-card {
  min-height: 80px;
  padding: 8px;
  background: rgba(11, 17, 33, 0.95);
  border: 2px dashed rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cipher-slot-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cipher-slot-card.solved {
  border: 2px solid #05ffa1;
  background: linear-gradient(135deg, rgba(5, 255, 161, 0.25), rgba(0, 210, 255, 0.2));
  box-shadow: 0 0 30px rgba(5, 255, 161, 0.6), inset 0 0 15px rgba(5, 255, 161, 0.3);
  transform: scale(1.06);
  animation: cipherGlowPulse 2s infinite alternate;
}

.cipher-slot-card.solved .cipher-char {
  color: #fff;
  text-shadow: 0 0 15px #05ffa1, 0 0 30px #05ffa1;
  font-weight: 900;
}

.cipher-char {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dim);
  line-height: 1.1;
}

.cipher-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

@keyframes cipherGlowPulse {
  0% { box-shadow: 0 0 20px rgba(5, 255, 161, 0.4); }
  100% { box-shadow: 0 0 40px rgba(5, 255, 161, 0.8); }
}

/* ==========================================================================
   VICTORY CELEBRATION STAGE
   ========================================================================== */
.victory-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 30px;
  position: relative;
  animation: zoomIn 0.5s ease;
}

.victory-title {
  font-family: var(--font-en);
  font-size: 3.8rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00d2ff, var(--accent-amber), #05ffa1, #00d2ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShine 4s linear infinite;
  margin: 10px 0 4px 0;
  line-height: 1.1;
}

@keyframes gradientShine {
  to { background-position: 200% center; }
}

.victory-stat-card {
  background: rgba(18, 26, 43, 0.9);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.victory-stat-card b {
  font-family: var(--font-en);
  font-size: 1.8rem;
  color: var(--primary);
}

.victory-stat-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Nexus Co-Op Engine Upgrades */
.engine-fleet-card.wire-broken {
  border-color: #ff2a6d !important;
  animation: pulseWireError 1s infinite alternate;
}

@keyframes pulseWireError {
  from { box-shadow: 0 0 10px rgba(255, 42, 109, 0.4); }
  to { box-shadow: 0 0 22px rgba(255, 42, 109, 0.9); }
}

.engine-shield-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-en);
}
.engine-shield-tag.freq-alpha {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid #00d2ff;
  color: #00d2ff;
}
.engine-shield-tag.freq-beta {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid #ffb800;
  color: #ffb800;
}
.engine-shield-tag.freq-gamma {
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid #ff2a6d;
  color: #ff2a6d;
}

.wire-damage-badge {
  background: rgba(255, 42, 109, 0.2);
  border: 1px solid #ff2a6d;
  color: #ff2a6d;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  animation: blink 0.8s infinite;
}

.cipher-slot-card {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
}

.cipher-uplink-status {
  display: flex;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.uplink-chip {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-en);
}
.uplink-chip.done {
  color: var(--accent-green);
  background: rgba(5, 255, 161, 0.12);
  border: 1px solid rgba(5, 255, 161, 0.3);
}

/* ROUND START FULLSCREEN COUNTDOWN OVERLAY */
.dash-start-countdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 10, 20, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.dash-start-countdown-card {
  width: 90%;
  max-width: 650px;
  background: rgba(18, 26, 43, 0.95);
  border: 2px solid var(--primary);
  box-shadow: 0 0 50px rgba(0, 210, 255, 0.4), inset 0 0 30px rgba(0, 210, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.dash-countdown-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(0, 210, 255, 0.15);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
}

.dash-countdown-round-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.dash-countdown-number-box {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(0, 0, 0, 0.5) 70%);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
  margin: 10px 0;
  animation: pulseScale 1s ease-in-out infinite;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.dash-countdown-giant-num {
  font-family: var(--font-en);
  font-size: 5.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 25px var(--primary);
}

.dash-countdown-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

.dash-countdown-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 10px;
}

.dash-countdown-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-green));
  transition: width 0.25s linear;
}

/* ROUND END WARNING HUD BAR */
.dash-end-warning-hud {
  position: fixed;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 820px;
  background: linear-gradient(90deg, rgba(255, 42, 109, 0.95), rgba(255, 184, 0, 0.95));
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  padding: 8px 24px;
  box-shadow: 0 0 35px rgba(255, 42, 109, 0.8);
  animation: slideDownWarning 0.4s ease, pulseHudBorder 1s infinite alternate;
}

@keyframes slideDownWarning {
  from { transform: translate(-50%, -100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes pulseHudBorder {
  from { box-shadow: 0 0 20px rgba(255, 42, 109, 0.6); }
  to { box-shadow: 0 0 45px rgba(255, 184, 0, 0.9); }
}

.dash-end-warning-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pulse-warning-icon {
  font-size: 1.8rem;
  animation: blink 0.6s infinite;
}

.dash-end-text-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dash-end-text-box b {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.dash-end-text-box span {
  color: #fff;
  font-size: 0.85rem;
  opacity: 0.9;
}

.dash-end-timer-box {
  background: #000;
  border: 2px solid #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

#dashEndCountdownClock {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 900;
  color: #ff2a6d;
  letter-spacing: 1px;
}

/* ==========================================================================
   STAGE 3: GIANT HEADCOUNT GROUP CARDS FOR MC AUDIT
   ========================================================================== */
.circle-group-card.headcount-card {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: rgba(10, 16, 32, 0.75);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.circle-group-card.headcount-card.formed {
  border-color: var(--accent-green);
  background: rgba(5, 255, 161, 0.08);
  box-shadow: 0 0 25px rgba(5, 255, 161, 0.3);
}

.cg-headcount-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.cg-giant-headcount-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 4px 0;
}

.cg-giant-num {
  font-family: var(--font-en);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: #00d2ff;
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}

.circle-group-card.headcount-card.formed .cg-giant-num {
  color: #05ffa1;
  text-shadow: 0 0 25px rgba(5, 255, 161, 0.8);
}

.cg-giant-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   ROUND 1: LIVE METEOR WAVE CRISIS BANNER (BIG SCREEN HUD)
   ========================================================================== */
.dash-meteor-wave-banner {
  background: radial-gradient(circle at center, rgba(255, 42, 109, 0.3) 0%, rgba(18, 6, 14, 0.95) 85%);
  border: 2px solid #ff2a6d;
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  margin-bottom: 12px;
  box-shadow: 0 0 35px rgba(255, 42, 109, 0.5);
  animation: hazardPulse 1.2s infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes hazardPulse {
  0% { box-shadow: 0 0 25px rgba(255, 42, 109, 0.5); border-color: #ff2a6d; }
  100% { box-shadow: 0 0 50px rgba(255, 184, 0, 0.8); border-color: var(--accent-amber); }
}

.crisis-alert-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 42, 109, 0.4);
  padding-bottom: 6px;
}

.crisis-pulse-tag {
  font-size: 0.85rem;
  font-weight: 900;
  color: #ff2a6d;
  letter-spacing: 2px;
  background: rgba(255, 42, 109, 0.18);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #ff2a6d;
  animation: pulseCardRed 1s infinite alternate;
}

.crisis-wave-counter {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.crisis-main-hud-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

.crisis-left-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crisis-spec-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.crisis-spec-pill .spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.crisis-spec-pill .spec-val {
  font-family: var(--font-en);
  font-size: 1rem;
  color: #00d2ff;
}

.crisis-center-countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #ff2a6d;
  border-radius: var(--radius-md);
  padding: 6px 12px;
  box-shadow: 0 0 25px rgba(255, 42, 109, 0.4);
}

.crisis-giant-clock {
  font-family: var(--font-en);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: #ff2a6d;
  text-shadow: 0 0 30px rgba(255, 42, 109, 0.8);
  animation: clockPulse 1s infinite alternate;
}

@keyframes clockPulse {
  0% { transform: scale(1); text-shadow: 0 0 20px rgba(255, 42, 109, 0.6); }
  100% { transform: scale(1.04); text-shadow: 0 0 35px rgba(255, 184, 0, 0.9); }
}

.crisis-clock-subtext {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 2px;
}

.crisis-right-alliance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.alliance-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.alliance-progress-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(5, 255, 161, 0.2);
}

.alliance-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d2ff, #05ffa1);
  box-shadow: 0 0 15px rgba(5, 255, 161, 0.6);
  transition: width 0.35s ease;
}

/* Single Wave Resolved Intermission Card */
.dash-single-wave-resolved-card {
  background: linear-gradient(135deg, rgba(10, 20, 40, 0.95), rgba(5, 15, 30, 0.95));
  border: 2px solid var(--accent-amber);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 12px;
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.35);
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   ROUND 1: POST-WAVE DAMAGE ASSESSMENT & CHIEF ENGINEER HALL OF FAME
   ========================================================================== */
.dash-post-wave-debrief {
  background: linear-gradient(135deg, rgba(8, 15, 30, 0.95), rgba(5, 25, 45, 0.95));
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 10px;
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.4);
}

.chief-engineer-hall-card {
  background: radial-gradient(circle at center, rgba(255, 184, 0, 0.18) 0%, rgba(20, 15, 5, 0.8) 80%);
  border: 2px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.4);
  margin-bottom: 16px;
}

.chief-engineer-hall-card h2 {
  color: var(--accent-amber);
  font-size: 1.4rem;
  margin: 0 0 6px 0;
  letter-spacing: 1px;
}

/* ==========================================================================
   BIG SCREEN: MOTHERSHIP DESTROYED FULLSCREEN CRISIS OVERLAY
   ========================================================================== */
.dash-failed-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(30, 2, 8, 0.98) 0%, rgba(5, 0, 2, 0.99) 80%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: inset 0 0 120px rgba(255, 0, 85, 0.9);
  animation: dashFailedRedPulse 1.2s infinite alternate;
}

@keyframes dashFailedRedPulse {
  0% { box-shadow: inset 0 0 80px rgba(255, 0, 85, 0.7); }
  100% { box-shadow: inset 0 0 160px rgba(255, 184, 0, 0.9); }
}

.dash-failed-card {
  max-width: 820px;
  width: 100%;
  text-align: center;
  border: 3px solid #ff0055;
  background: rgba(18, 2, 8, 0.95);
  padding: 40px 30px;
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 0 80px rgba(255, 0, 85, 0.7);
}

.dash-failed-sirens {
  font-size: 4rem;
  margin-bottom: 12px;
  animation: sirenWiggle 0.5s infinite alternate;
}

.dash-failed-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 900;
  color: #ff2a6d;
  background: rgba(255, 42, 109, 0.2);
  border: 2px solid #ff2a6d;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.dash-failed-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 14px 0;
  text-shadow: 0 0 30px rgba(255, 0, 85, 0.8);
}

.dash-failed-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.dash-failed-footer-note {
  background: rgba(0, 0, 0, 0.65);
  border: 1px dashed rgba(255, 42, 109, 0.6);
  color: var(--accent-amber);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-md);
}



/* Responsive cards remain cards in normal and fullscreen modes. */
.dashboard-body .mothership-hud-box{max-width:none!important;width:100%!important;padding:20px 24px!important}
.dashboard-body .health-gauge-bar{height:clamp(35px,4vw,64px)}
.dashboard-body #mothershipHealthText{font-size:clamp(30px,4vw,60px)!important}
.dashboard-body .dashboard-wrapper{max-width:none}
.dashboard-body .nexus-engines-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));align-items:stretch;max-height:none;overflow:visible}
.dashboard-body.is-fullscreen .nexus-engines-grid{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))}
.dashboard-body .engine-fleet-card{min-height:180px;padding:clamp(14px,1.4vw,24px);font-size:clamp(13px,1vw,19px)}
.dashboard-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dashboard-role-grid span{padding:10px;background:#183044;border-radius:8px;color:#ffc881}.dashboard-role-grid .done{color:#50ddb1}

/* Spotlight: separate identities, original Icebreaker question and MC steps. */
.dashboard-body:has(#dashSpotlightModal.active) #nexusAudio{visibility:hidden}
.spotlight-overlay{padding:16px;height:100dvh}
.spotlight-content{max-width:1100px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:clamp(18px,2.5vw,32px);gap:18px}
.spotlight-header h2{font-size:clamp(24px,2.7vw,36px);line-height:1.3}
.spotlight-header h2 span{display:block;font-size:clamp(16px,1.6vw,21px);color:#e9edf7;margin-top:5px;font-weight:600}
.spotlight-mic{font-size:38px;flex:none}
.spotlight-body{display:grid;gap:18px;min-width:0}
.spotlight-group-tag{font-family:var(--font-th);justify-self:center;padding:6px 16px;border:1px solid #8c7041;background:#34291b;border-radius:999px;line-height:1.5;overflow-wrap:anywhere}
.spotlight-match-title{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;font-weight:400}
.spotlight-person{display:grid;gap:7px;padding:16px;border:1px solid #5e7093;border-radius:14px;background:#142139;min-width:0}
.spotlight-person-role{font-size:15px;font-weight:700;color:#96ddff}
.spotlight-person strong{font-size:clamp(24px,2.8vw,38px);line-height:1.35;overflow-wrap:anywhere}
.spotlight-person-team{font-size:clamp(16px,1.6vw,20px);line-height:1.5;color:#d1d9ea;overflow-wrap:anywhere}
.spotlight-question-card{text-align:left;padding:18px 22px;background:#12382f;border:1px solid #499d80}
.spotlight-section-label{font-size:15px;line-height:1.5;color:#b8ddcd;margin-bottom:10px;font-weight:600}
#spotlightQuestion{font-size:clamp(20px,2.2vw,28px);line-height:1.65;color:#edfff5;font-weight:700;white-space:pre-line;overflow-wrap:anywhere;margin:0}
.spotlight-instruction{text-align:left;padding:16px 20px;border-radius:14px;background:#1d2036;border:1px solid #596285;color:#eff2fa}
.spotlight-instruction h3{font-size:clamp(17px,1.6vw,22px);margin:0 0 12px;color:#ffe2a4}
.spotlight-instruction ol{display:grid;gap:10px;padding-left:26px;margin:0}
.spotlight-instruction li{font-size:clamp(16px,1.5vw,20px);line-height:1.55;padding-left:5px}
.spotlight-instruction li::marker{color:#ffe2a4;font-weight:800}
@media(max-width:640px){.spotlight-overlay{padding:10px}.spotlight-content{max-height:calc(100dvh - 20px)}.spotlight-match-title{grid-template-columns:1fr}.spotlight-question-card,.spotlight-instruction{padding:16px}.spotlight-header{gap:10px}.spotlight-mic{font-size:28px}}
.cipher-grid-board.shard-cloud{display:block;position:relative;width:100%;min-height:300px;overflow:hidden;border:1px solid #e2c17440;border-radius:20px;background:radial-gradient(ellipse at center,#2a2940,#0c1424 70%);box-shadow:inset 0 0 60px #0005}
.r3-floating-shard{position:absolute;animation:r3ShardFloat var(--drift,6s) ease-in-out var(--delay,0s) infinite;will-change:transform}
.r3-shard-face{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:rotate(var(--angle,0deg));background:linear-gradient(145deg,#493d28,#1d2536);border:1px solid #ffd486;border-radius:14px;box-shadow:0 0 22px #ffcf6d25,inset 0 0 10px #ffdf9d14;color:#ffe1a8;box-sizing:border-box}
.r3-shard-face strong{font:800 clamp(30px,4vw,48px) var(--font-en,Consolas),sans-serif;line-height:1}.r3-shard-face span{font-size:14px;font-weight:700;line-height:1.2;color:#eff5ff;white-space:nowrap}
.r3-cloud-empty{text-align:center;color:#c0b9a7;font-size:20px;line-height:1.7;position:absolute;inset:35% 14px auto;margin:0}
.r3-dashboard-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:12px 0}.r3-dashboard-progress>div{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#172337;border:1px solid #44566c;border-radius:9px;padding:10px;color:#adbed3;font-size:14px}.r3-dashboard-progress>div.ready{border-color:#56c48e;color:#b2f5cd}
@keyframes r3ShardFloat{0%,100%{transform:translate(0,-5px)}50%{transform:translate(3px,5px)}}
@media(prefers-reduced-motion:reduce){.r3-floating-shard{animation:none}}
