/* Play Early Card — standalone dark-gray score callout.
 * Pairs with MatchCard in the school#show header.
 *
 * Semantic structure: <dl>/<dt>(label)/<dd>(value). Visual order is
 * value-above-label via flex-direction: column-reverse.
 *
 * See PlayEarlyCardComponent.
 */

.play-early-card {
  display: inline-flex;
  flex-direction: column-reverse;  /* value visually above label, dt-first DOM order */
  align-items: center;
  justify-content: center;
  width: 115px;
  min-height: 96px;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  background: var(--gray-800);
  color: white;
  font-family: var(--font-family-display);
  user-select: none;
  gap: 0.25rem;
}

.play-early-card,
.play-early-card dt,
.play-early-card dd { margin: 0; padding: 0; }
.play-early-card { padding: 0.75rem 0.5rem; } /* re-apply card padding lost to reset */

/* Primary + optional modifier sit on a single row so we can switch the
 * modifier's vertical alignment per kind, matching MatchCard. */
.play-early-card__value {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.125rem;
}

.play-early-card__primary {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.play-early-card__modifier {
  font-weight: 300;
  line-height: 1;
}

.play-early-card--kind-numeric .play-early-card__modifier {
  align-self: flex-start;
  font-size: 16px;
}

.play-early-card--kind-letter .play-early-card__modifier {
  align-self: center;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
}

.play-early-card__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
}
