.track { flex: none; padding: 4px 14px 8px; display: flex; flex-direction: column; gap: 10px; }

.lane {
  position: relative;
  height: 54px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 14px, transparent 14px 30px) center / 100% 3px no-repeat,
    #3b3b55;
  overflow: hidden;
}

.lane .who {
  position: absolute; left: 8px; top: 2px;
  font-size: 0.65rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.7;
}

.lane .flag {
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
}

.car {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 2rem;
  line-height: 1;
  transform: translate(0, -50%) scaleX(-1);
  will-change: left;
  transition: left 0.25s ease-out;
}
.car.spin { animation: spin 0.7s; }
@keyframes spin {
  0% { transform: translate(0, -50%) scaleX(-1) rotate(0); }
  100% { transform: translate(0, -50%) scaleX(-1) rotate(720deg); }
}
.car.zoom { animation: zoom 0.35s; }
@keyframes zoom { 50% { transform: translate(0, -50%) scaleX(-1) scale(1.35); } }

.qpanel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  text-align: center;
}

.q {
  max-width: 100%;
  padding: 10px 22px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font: 700 3rem var(--num);
  box-shadow: 5px 5px 0 var(--ink);
  white-space: nowrap;
}

.msg { min-height: 34px; margin-top: 12px; font: 400 1.8rem var(--head); letter-spacing: 0.04em; color: var(--paper); text-shadow: 2px 2px 0 var(--ink); }
.msg.bad { color: var(--red); }
.qpanel .coach { width: 100%; max-width: 380px; margin: 8px 0 0; min-height: 4.4em; }

.countdown {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 6, 36, 0.8);
  font: 400 8rem var(--head);
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--ink);
  z-index: 10;
}
