/* Part 141: five stars where there were three. Every row that was laid out for three makes room for five, and the
   fifth star, the high score, has its own ice colour wherever it is lit. */
:root { --star-five: #a8ecff; --star-five-glow: rgba(111, 216, 255, .75); }

/* The bar on the ride screen: a mark for each star, placed by the share of the top target it needs. */
.mark-1 { left: var(--m1, 20%); } .mark-2 { left: var(--m2, 40%); } .mark-3 { left: var(--m3, 60%); } .mark-4 { left: var(--m4, 80%); } .mark-5 { left: 100%; }
.run-meter-track i.mark-5.on { color: var(--star-five); text-shadow: 0 0 12px var(--star-five-glow); }

/* The big row of stars on a result: five of one size, lit one after another. */
.result-stars { gap: 10px; }
.result-stars i, .result-stars i:nth-child(2) { font-size: 58px; }
.result-stars i:nth-child(2) { animation-delay: .2s; }
.result-stars i:nth-child(3) { animation-delay: .4s; }
.result-stars i:nth-child(4) { animation-delay: .6s; }
.result-stars i:nth-child(5) { animation-delay: .8s; }
.result-stars i:nth-child(5).on { color: var(--star-five); text-shadow: 0 0 30px var(--star-five-glow); }
@media (max-width: 760px) { .result-stars { gap: 6px; } .result-stars i, .result-stars i:nth-child(2) { font-size: 42px; } }
.result-stage .result-stars i, .result-stage .result-stars i:nth-child(2) { font-size: 30px; }

/* The result card: five boxes, each a star over the score or time it takes. */
.result-stage .result-stars { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.result-stage .result-medal { --medal-color: #ffe395; --medal-fill: #ffcf6326; flex-direction: column; gap: 3px; padding: 6px 2px; }
.result-stage .result-medal[data-star="5"] { --medal-color: var(--star-five); --medal-fill: #6fd8ff2b; }
.result-stage .result-medal small { font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .result-stage.result-motion .result-medal:nth-child(4) { --medal-delay: 450ms; }
  .result-stage.result-motion .result-medal:nth-child(5) { --medal-delay: 560ms; }
}

/* Target lists: the number of stars as a figure beside one drawn star. */
.run-target span, .intro-targets span i, .trail-targets i { white-space: nowrap; letter-spacing: .02em; }
.run-target:nth-child(5).hit span, .intro-targets span:nth-child(5).hit i, .trail-targets li:nth-child(5).earned i { color: var(--star-five); text-shadow: 0 0 8px var(--star-five-glow); }
.trail-targets { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.trail-targets li { padding: 7px 6px; }
.trail-targets b { font-size: 16px; }
.trail-card-stars { gap: 2px; font-size: 18px; }
.trail-card-stars i:nth-child(5).on, .finder-stars i:nth-child(5).on { color: var(--star-five); }
.board-stars { letter-spacing: 0; }
