/* Math Sprint — game-specific styles */
.ms-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.ms-clock {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text, #f2f4ff);
}
.ms-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ms-bar-fill {
  height: 100%;
  background: #c6ff3d;
  transform-origin: left center;
  transition: background 200ms;
}
.ms-wrap.is-low .ms-bar-fill { background: #ff5c7a; }
.ms-wrap.is-low .ms-clock { color: #ff5c7a; }
.ms-question {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.1;
  text-align: center;
  padding: 18px 0;
}
.ms-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.ms-opt {
  min-height: 64px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  background: #1e2440;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text, #f2f4ff);
  cursor: pointer;
}
.ms-opt:hover { background: #262d4f; }
.ms-opt.is-right { background: #c6ff3d; color: #0b0d17; border-color: #c6ff3d; }
.ms-opt.is-wrong { background: #ff5c7a; color: #fff; border-color: #ff5c7a; }
.ms-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .ms-bar-fill { transition: none; }
}
