/* ============================================================
   Stack Tower - item styles
   The HUD, the start hint and the game-over screen over the stage.
   ============================================================ */

.st-hud { z-index: 3; }
.st-hud output { font-variant-numeric: tabular-nums; }
.st-height output { color: var(--amber); }

/* the start hint sits up in the empty sky, clear of the blocks */
.st-msg {
  place-items: start center;
  padding-top: 4.5rem;
  font-size: clamp(1rem, 4.5vw, 1.4rem);
  color: var(--text-dim);
}

/* ---- game over screen ---- */
.st-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 4.5rem 1.2rem 1.2rem;
  text-align: center;
  background: rgba(7, 7, 12, .88);
  touch-action: manipulation;
}
.st-screen h2 {
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  margin: 0;
}
.st-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.st-hint {
  margin: 0;
  font-size: .88rem;
  color: var(--text-dim);
}
.st-big {
  min-width: 11rem;
  min-height: 56px;
  font-size: 1.15rem;
}

.st-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
}
.st-stats > div {
  min-width: 5.2rem;
  padding: .45rem .6rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.st-stats dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.st-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
