/* run screen styles — the scoreboard in lights, the combo flame, the 8 shots. Colours from tokens.css only. */
.run-hud { display: flex; gap: 10px; align-items: stretch; margin: 0 0 8px; }
.run-lights { flex: 1; background: var(--navy-deep); border: 4px solid var(--navy-line); border-radius: var(--r-md); padding: 6px 10px 4px; text-align: center;
  box-shadow: inset 0 0 0 3px var(--navy), 0 6px 0 var(--navy-deep); position: relative; overflow: hidden; }
.run-lights::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background-image: radial-gradient(circle, var(--yellow) 1px, transparent 1.6px); background-size: 7px 7px; }
.run-pts { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1.05; color: var(--yellow); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px var(--yellow), 0 0 22px var(--orange); letter-spacing: 0.04em; }
html[data-grade="1"] .run-pts { font-size: 3rem; }
.run-lights span { display: block; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.18em; color: var(--blue); }
.run-pop { animation: run-pop 0.4s cubic-bezier(.3,1.8,.5,1); }
@keyframes run-pop { 40% { transform: scale(1.14); } }
.run-side { display: grid; gap: 8px; flex: 0 0 104px; }
.run-combo, .run-big { display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--shade); border: 2px solid var(--navy-line); border-radius: var(--r-md); padding: 2px 8px; }
.run-combo b, .run-big b { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.run-combo b { color: var(--orange); }
.run-big b { color: var(--yellow); }
.run-fl, .run-st { width: 30px; height: 30px; display: block; transition: transform 0.25s; }
.run-fl svg, .run-st svg { width: 100%; height: 100%; }
.run-combo[data-heat="0"] .run-fl, .run-combo[data-heat="1"] .run-fl { transform: scale(0.8); opacity: 0.6; }
.run-combo[data-heat="2"] .run-fl { transform: scale(1); }
.run-combo[data-heat="3"] .run-fl { transform: scale(1.15); animation: run-flick 0.5s ease-in-out infinite alternate; }
.run-combo[data-heat="4"] .run-fl, .run-combo[data-heat="5"] .run-fl { transform: scale(1.3); animation: run-flick 0.35s ease-in-out infinite alternate; }
.run-combo[data-heat="5"] { border-color: var(--orange); box-shadow: 0 0 14px var(--orange); }
@keyframes run-flick { from { filter: brightness(1); } to { filter: brightness(1.35) drop-shadow(0 0 6px var(--yellow)); } }
.run-shots { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.run-pips { display: flex; gap: 6px; }
.run-pip { width: 20px; height: 20px; border-radius: 50%; background: var(--navy-soft); border: 3px solid var(--navy-line); display: block; }
html[data-grade="1"] .run-pip { width: 24px; height: 24px; }
.run-pip2 { border-radius: 6px; transform: rotate(45deg) scale(0.85); }
.run-pip.on { background: var(--orange); border-color: var(--orange-deep); }
.run-pip2.on { background: var(--grape); border-color: var(--grape-deep); }
.run-pip.run-pip-miss { background: var(--navy-deep); border-color: var(--red); opacity: 0.8; }
.run-pip.now { border-color: var(--chalk); box-shadow: 0 0 0 3px var(--yellow); }
.run-shotn { font-weight: 900; font-size: 1rem; color: var(--wood-line); white-space: nowrap; }
.run-feed { min-height: 1.5em; text-align: center; font-size: 1.1rem; font-weight: 900; color: var(--yellow); margin: 0 0 6px; }
.run-feed-two { color: var(--grape); text-shadow: 0 0 10px var(--grape); }
.run-feed-rare { color: var(--blue); } .run-feed-epic { color: var(--grape); }
.run-feed-legend { color: var(--yellow); text-shadow: 0 0 12px var(--orange); }
.run-lit .run-lights { animation: run-glow 0.9s ease-out; }
@keyframes run-glow { 0% { box-shadow: 0 0 0 4px var(--yellow), 0 0 40px var(--yellow); } 100% { box-shadow: inset 0 0 0 3px var(--navy), 0 6px 0 var(--navy-deep); } }
.run-choice { margin-top: 8px; }
.run-cmp { display: grid; gap: 8px; margin: 12px 4px 4px; text-align: left; }
.run-cmp-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; font-weight: 900; }
.run-cmp-row span { font-size: 0.9rem; color: var(--ink-soft); }
.run-cmp-row i { height: 16px; background: var(--paper-2); border-radius: 8px; overflow: hidden; display: block; }
.run-cmp-row em { display: block; height: 100%; background: var(--orange); border-radius: 8px; }
.run-cmp-best em { background: var(--yellow); }
.run-cmp-row b { font-variant-numeric: tabular-nums; }
.run-banking { font-weight: 800; color: var(--ink-soft); margin: 8px 0; }
@media (prefers-reduced-motion: reduce) {
  .run-combo .run-fl { animation: none !important; }
  .run-pop, .run-lit .run-lights { animation: none !important; }
}
/* keep the whole shot on one phone screen: a smaller picture inside the run */
.run-stage .qc-pic { min-height: 0; margin-bottom: 6px; }
.run-stage .qc-pic svg { max-height: 104px; }
