/* Points Test: the live coin stack inside the score card (coins.js). */

.score-body {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 8px 24px;
  text-align: left;
}
.vco-stage { width: 100%; max-width: 220px; margin: 0 auto; }

@media (max-width: 560px) {
  .score-body { grid-template-columns: 1fr; text-align: center; }
  .vco-stage { max-width: 200px; }
}

.vco-stage {
  --vco-gold: #f5c04a; --vco-gold-side: #c98a12; --vco-gold-edge: #8a5a06; --vco-gold-line: #e0a52a;
  --vco-plinth: rgba(255, 255, 255, .22); --vco-plinth-side: rgba(255, 255, 255, .12); --vco-plinth-edge: rgba(255, 255, 255, .45);
  --vco-goal: rgba(255, 255, 255, .85); --vco-flag: rgba(255, 255, 255, .55); --vco-flag-on: #34d399;
  --vco-shadow: rgba(0, 0, 0, .3);
}
.vco-stage svg { overflow: visible; }
.vco-stage svg path { fill: none; stroke-width: 1; }
.vco-stage .vco-shadow { fill: var(--vco-shadow); stroke: none; }
.vco-stage .vco-plinth-side { fill: var(--vco-plinth-side); stroke: var(--vco-plinth-edge); }
.vco-stage .vco-plinth-top { fill: var(--vco-plinth); stroke: var(--vco-plinth-edge); }
.vco-stage .vco-coin-side { fill: var(--vco-gold-side); stroke: var(--vco-gold-edge); }
.vco-stage .vco-coin-top { fill: var(--vco-gold); stroke: var(--vco-gold-edge); }
.vco-stage .vco-coin-deco { stroke: var(--vco-gold-line); stroke-width: .8; }
.vco-stage .vco-goal { stroke: var(--vco-goal); stroke-width: 1.4; stroke-dasharray: 3 3; }
.vco-stage .vco-goal-back { opacity: .5; }
.vco-stage .vco-pole { stroke: var(--vco-goal); stroke-width: 1.6; }
.vco-stage .vco-flag { fill: var(--vco-flag); stroke: var(--vco-goal); transition: fill .4s; }
.vco-stage.is-reached .vco-flag { fill: var(--vco-flag-on); }
.vco-stage.is-reached .vco-goal { stroke: var(--vco-flag-on); }
