/* Marks live in the score rail, so the deck and the approach remain visible. */
.scoreline[data-mark] { position: relative; --mark-color: #ffce7c }
.scoreline[data-mark="spare"] { --mark-color: #7ff4e9 }
.scoreline[data-mark="victory"] { --mark-color: #ffe48d }
.scoreline[data-mark] strong, .scoreline[data-mark] .small-label { color: var(--mark-color) }
.scoreline[data-mark] .small-label { font-weight: 800 }
.scoreline[data-mark]::after {
  content: ""; position: absolute; pointer-events: none; inset: auto 0 -2px 0; height: 2px;
  border-radius: 99px; background: linear-gradient(90deg, transparent, var(--mark-color) 40%, #fff8e8 75%, transparent);
  transform-origin: right center;
}
@media (prefers-reduced-motion: no-preference) {
  .scoreline[data-mark]::after { animation: mark-underpin .65s cubic-bezier(.2,.75,.3,1) both }
  .scoreline[data-mark="strike"] strong { animation: mark-strike .48s ease-out }
  .scoreline[data-mark="victory"] strong { animation: mark-finale .95s ease-out both }
}
@keyframes mark-underpin { from {transform:scaleX(.07);opacity:.4} to {transform:scaleX(1);opacity:1} }
@keyframes mark-strike { 35% {transform:translateY(-2px) scale(1.1)} }
@keyframes mark-finale { 45% {text-shadow:0 0 12px #ffd47e;transform:scale(1.12)} }
