.game-root { min-height: 26rem; }

.five-num,
.five-tries {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.five-num { min-width: 7ch; }
.five-tries { min-width: 2ch; }

.five-stage {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.15rem;
}

.five-dial {
  width: min(100%, 26rem);
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 16px;
  background: #fffdf7;
  color: #1d2433;
  box-shadow:
    inset 0 0 0 1px rgba(31, 69, 53, 0.55),
    inset 0 0 0 7px #1f4535,
    inset 0 0 0 9px #b8923a;
  user-select: none;
}

.five-readout {
  display: grid;
  grid-template-columns: 2.15ch auto 3.2ch;
  justify-content: center;
  column-gap: 0.04em;
  margin: 0.35rem auto 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 14vw, 5.15rem);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: #1d2433;
}

.five-secs,
.five-dot,
.five-ms {
  font-size: 1em;
  line-height: 0.95;
}

.five-secs { text-align: right; }
.five-ms { text-align: left; }

.five-cap {
  margin-top: 0.28rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d6456;
  text-align: center;
}

.five-cap-gap { letter-spacing: 0; }

.five-verdict {
  height: 4.5rem;
  margin: 0.85rem 0 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  text-align: center;
}

.five-line,
.five-note {
  margin: 0;
  line-height: 1.35;
  min-height: 1.35em;
}

.five-line { color: #1d2433; }

.five-note {
  color: #6d6456;
  font-size: 0.95rem;
}

.five-note.is-good { color: #8a6230; }

.five-go {
  width: 100%;
  min-height: 3.25rem;
  font-size: 1.15rem;
  touch-action: manipulation;
}

.five-go:active:not(:disabled) { transform: none; }

@media (max-width: 640px), (pointer: coarse) {
  .five-note.is-keys { visibility: hidden; }
}
