/* ready: the ready check's screens, combined by the asset build. */
/* "See if you're ready" (features/ready): the lesson player's screens, plus
   Crumpet's line of reaction, the daily times, the name field and the plan's
   stamp. */
.ready-mood {
  min-height: 2.8em;
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}
.ready-screen .date-ribbon {
  margin-top: 18px;
}
/* Two actions: the way on, and the other answer under it. */
.guided-actions:has(.ready-skip) {
  display: grid;
  gap: 6px;
}
.ready-skip {
  width: 100%;
  min-height: 48px;
  color: var(--brand-ink);
  font-size: 16px;
}
/* On a desk the action row runs across: the other answer at the left, the
   way on at the right, as the lesson's own action sits. */
@media (min-width: 960px) {
  .guided-actions:has(.ready-skip) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
  }
  .ready-skip {
    width: auto;
    padding-inline: 28px;
  }
}

.ready-times {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.ready-time {
  display: grid;
  justify-items: start;
  gap: 2px;
  text-align: left;
}
.ready-time b {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}
.ready-time span {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}
.ready-time.is-selected span {
  color: var(--brand-ink);
}

.ready-name {
  margin-top: 18px;
}
.ready-name input {
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 2px solid var(--line-2);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--line-2);
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
}
.ready-name input::placeholder {
  color: var(--ink-3);
  font-weight: 700;
}
.ready-name input:focus {
  border-color: var(--brand);
  box-shadow: 0 3px 0 var(--brand-lip);
}

/* The plan: the test day's readout, with the daily time as its big line and
   the badge in green, as a saved day's is. A test too close to plan the whole
   course for keeps it blue. */
.ready-plan {
  margin-top: 22px;
}
.ready-plan-time {
  font-size: 34px;
  text-wrap: balance;
}
.ready-plan-badge {
  background: var(--correct);
  text-shadow: 0 1px 0 var(--correct-lip);
  box-shadow: 0 3px 0 var(--correct-lip);
  animation: date-ribbon-pop 0.42s cubic-bezier(0.2, 1.6, 0.4, 1) 0.25s both;
}
.ready-plan-badge.is-soon {
  background: var(--brand);
  text-shadow: 0 1px 0 var(--brand-lip);
  box-shadow: 0 3px 0 var(--brand-lip);
}
.ready-plan-tick {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ready-plan-badge.is-soon .ready-plan-tick {
  display: none;
}
.ready-plan-note {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 700;
}
/* Three facts from the check, on tiles like the slider's days. */
.ready-plan-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
}
.ready-plan-fact {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px 6px;
  border: 2px solid var(--line-2);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--line-2);
  text-align: center;
}
.ready-plan-fact dt {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
}
.ready-plan-fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
@media (prefers-reduced-motion: reduce) {
  .ready-plan-badge {
    animation: none;
  }
}
