.core-rush-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.core-rush-hero {
  text-align: center;
  padding: 24px 0 16px;
}

.core-rush-hero__title {
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 8px;
}

.core-rush-hero__answer {
  color: var(--fd-text-muted, #aab2c5);
  max-width: 640px;
  margin: 0 auto;
}

.core-rush-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px auto;
}

.core-rush-viewport {
  position: relative;
  width: min(420px, 92vw);
  aspect-ratio: 9 / 16;
  background: #05070d;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.core-rush-viewport canvas {
  display: block;
  touch-action: none; /* empêche le scroll/zoom du navigateur pendant le pilotage tactile */
}

.core-rush-play-btn {
  position: relative;
  z-index: 2;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6c4ef0, #2f8fe0);
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.core-rush-play-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.core-rush-hud {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--fd-text-muted, #aab2c5);
}

.core-rush-hud strong {
  color: #fff;
}

.core-rush-section {
  margin: 32px 0;
}

.core-rush-section__title {
  font-size: 20px;
  margin-bottom: 8px;
}

.core-rush-postgame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.core-rush-postgame__pb {
  margin: 0;
  font-weight: 700;
  color: #ffd166;
}

.core-rush-share-btn {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
}

.core-rush-share-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.core-rush-leaderboard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 420px;
}

.core-rush-leaderboard__row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 14px;
}

.core-rush-leaderboard__rank {
  color: var(--fd-text-muted, #aab2c5);
  font-weight: 700;
}

.core-rush-leaderboard__name {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.core-rush-leaderboard__score {
  color: #ffd166;
  font-weight: 700;
}

.core-rush-leaderboard__loading,
.core-rush-leaderboard__empty {
  color: var(--fd-text-muted, #aab2c5);
  font-size: 14px;
  list-style: none;
}
