/* R-023: the finale layer (src/ui/finaleLayer.js): a transparent canvas over
   the app column from the top of the screen to the bottom, above the board and
   HUD, below the game-over card (30) and the popups (35). left/width are set
   from #app by JS. Never takes input. */
.finale-layer {
  position: fixed;
  top: 0;
  height: 100dvh;
  display: block;
  pointer-events: none;
  z-index: 7;
}
.finale-layer[hidden] { display: none; }

/* R-023.5: top-tier callout, a fixed-position DOM overlay positioned and
   animated by src/ui/finaleCallout.js (Web Animations API). z-index 8: above
   the finale layer, below the game-over card (30), popups (35) and the rotate
   hint (40). Never takes input. Colour only via --c-* custom properties
   (A-008.9). */
.finale-callout {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 92vw;
  text-align: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 8;
}

.finale-callout-amount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--c-coin);
  text-shadow:
    0 3px 0 var(--c-text), 3px 0 0 var(--c-text), -3px 0 0 var(--c-text), 0 -3px 0 var(--c-text),
    2px 2px 0 var(--c-text), -2px 2px 0 var(--c-text), 2px -2px 0 var(--c-text), -2px -2px 0 var(--c-text),
    0 7px 0 var(--c-text);
}

.finale-callout-text {
  font-size: 24px;
  line-height: 1.1;
  color: var(--c-surface);
  text-shadow:
    0 2px 0 var(--c-text), 2px 0 0 var(--c-text), -2px 0 0 var(--c-text), 0 -2px 0 var(--c-text),
    2px 2px 0 var(--c-text), -2px 2px 0 var(--c-text), 2px -2px 0 var(--c-text), -2px -2px 0 var(--c-text),
    0 5px 0 var(--c-text);
}
