/*
 * Kosmaris Landing Page: showcase.css
 *
 * "See Kosmaris in 90 seconds": an auto-playing, vanilla HTML/CSS/JS feature
 * walkthrough (no video file). Lives in its own stylesheet so the main
 * styles.css stays focused on the marketing shell. showcase.js is its JS
 * counterpart.
 *
 * Reuses the design-token layer defined in styles.css (:root custom
 * properties). This file only ADDS rules, it never redefines a token.
 *
 * Every scene is built on the same `.showcase__window` shell (a chrome bar
 * plus an aspect-ratio-locked media area) so real screenshots and stylised
 * scenes carry identical visual weight and the stage never collapses to a
 * near-empty box. `.showcase__window-media` establishes its own height via
 * `aspect-ratio`, which is what fixes the old zero-height trap for any
 * absolutely-positioned overlay content: no scene needs its own explicit
 * height hack any more.
 *
 * Motion policy: every continuous/ambient CSS animation here is scoped to
 * `@media (prefers-reduced-motion: no-preference)`, mirroring the pattern
 * already used for `.section__label::before` and `.k-button--primary` in
 * styles.css. Progress-DRIVEN state (counters, bars, reveals, the Ken Burns
 * pan) is applied by showcase.js only when motion is allowed. Under reduced
 * motion the JS applies the final resting state once, with no animation, so
 * this stylesheet never needs its own reduced-motion branch for that half.
 */

/* =====================================================================
   1. Player shell (CSS Grid split): media beside the readout on desktop,
      media above the readout on mobile. Same three DOM children throughout;
      only their grid-area assignment changes at the breakpoint.
   ===================================================================== */
.showcase__player {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "stage"
    "readout"
    "controls";
  gap: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: inset 0 0 24px rgb(94 213 255 / 3%);
}

@media (min-width: 860px) {
  .showcase__player {
    /* Media takes ~65% of the row. The readout column is the remainder.
       Controls move to their own full-width row below both, so the
       narrower readout column never has to carry a big empty area under
       short caption text. */
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    grid-template-areas:
      "stage readout"
      "controls controls";
    column-gap: 36px;
    row-gap: 20px;
    align-items: stretch;
  }

  .showcase__readout {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .showcase__player {
    padding: 18px;
  }
}

/* =====================================================================
   2. Stage: holds every scene. Only the active one is displayed. This is
      transparent padding around the window shell, NOT a second frame: the
      window itself (border + shadow + chrome bar) is the only visible box.
      A stage with its own border/background here would double it up.
   ===================================================================== */
.showcase__stage {
  grid-area: stage;
  position: relative;
}

.showcase__scene {
  display: none;
}

.showcase__scene.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase__vignette {
  position: relative;
  width: 100%;
}

/* =====================================================================
   3. Readout: the ONE live text region. Scene vignettes are decorative
      (aria-hidden) and never duplicate this content for assistive tech.
   ===================================================================== */
.showcase__readout {
  grid-area: readout;
  text-align: left;
}

.showcase__readout-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: var(--space-2);
}

.showcase__readout-title {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: var(--space-2);
}

.showcase__readout-caption {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0;
  line-height: 1.7;
}

/* =====================================================================
   4. Controls
   ===================================================================== */
.showcase__controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.showcase__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.showcase__btn:hover {
  border-color: var(--edge-strong);
  color: var(--neon);
  box-shadow: var(--shadow-glow-soft);
}

.showcase__btn--playpause .showcase__icon--play {
  display: none;
}

.showcase.is-paused .showcase__btn--playpause .showcase__icon--play {
  display: block;
}

.showcase.is-paused .showcase__btn--playpause .showcase__icon--pause {
  display: none;
}

.showcase__timeline {
  flex: 1 1 160px;
  min-width: 120px;
  position: relative;
}

.showcase__timeline-track {
  position: relative;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  overflow: visible;
}

.showcase__timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon), var(--accent-warm));
  border-radius: var(--radius-full);
}

.showcase__marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid var(--bg-elevated);
  background: var(--border-strong);
  padding: 0;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.showcase__marker:hover {
  background: var(--neon-soft);
}

.showcase__marker.is-current {
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  transform: translateY(-50%) scale(1.15);
}

/* Reduced motion: autoplay affordances (play/pause + timeline) serve no
   purpose with no autoplay to control, so they are hidden. Prev/next and the
   readout remain. Manual navigation stays available. */
.showcase.showcase--reduced .showcase__btn--playpause,
.showcase.showcase--reduced .showcase__timeline {
  display: none;
}

/* Global pause: every animated child, whatever scene it belongs to, halts in
   place. This is what makes viewport-exit / tab-hidden / the pause button all
   behave the same way without each vignette needing its own pause logic. */
.showcase.is-paused .showcase__scene *,
.showcase.is-paused .showcase__scene *::before,
.showcase.is-paused .showcase__scene *::after {
  animation-play-state: paused;
}

/* =====================================================================
   5. The window shell: reused by every scene, real screenshot or
      stylised. This is what gives every scene the same visual weight.
   ===================================================================== */
.showcase__window {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-void);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 65%), var(--shadow-glow-soft);
}

.showcase__window-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--bg-overlay);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase__window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.showcase__window-dot--a { background: var(--danger); opacity: 0.7; }
.showcase__window-dot--b { background: var(--gold); opacity: 0.7; }
.showcase__window-dot--c { background: var(--success); opacity: 0.7; }

.showcase__window-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.showcase__window-media {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--bg-void);
}

.showcase__window-media--stylised {
  /* A starfield fills every stylised scene edge-to-edge, so the space around
     a small cluster of icons or cards still reads as depth rather than an
     empty void: the same fix real screenshots get for free from their own
     pixels.

     Unlike a real screenshot, this box does not need to hold a fixed-ratio
     bitmap, so it drops the 8:5 aspect-ratio and sizes to its own content
     instead (min-height as a floor so sparse scenes like Wars still carry
     real presence). This is what stops the denser Automation scene's rule
     cards clipping against a height that was computed for a much wider
     viewport. */
  aspect-ratio: auto;
  min-height: clamp(220px, 34vw, 340px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 3vw, 30px);
  background:
    radial-gradient(ellipse at 50% 40%, rgb(94 213 255 / 10%), transparent 65%),
    radial-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px),
    radial-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    var(--bg-void);
  background-size: auto, 34px 34px, 19px 19px;
  background-position: 0 0, 0 0, 9px 12px;
}

.showcase__window-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Per-scene zoom target: --zoom-x/-y is the focal point the crop centers
     on (also the transform-origin, so scale pivots around it), --zoom-tx/-ty
     recenters that point in the frame (see the file header math: this pair
     is scale-independent, so it never needs retuning when --zoom-from/-to
     change). Defaults are a no-op identity zoom for any scene that does not
     set them. */
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

.showcase__window-img--top {
  object-position: center top;
}

/* Ken Burns: a slow push-in from --zoom-from to --zoom-to (both default to
   a bare, barely-there settle for scenes that don't request a real zoom),
   gated behind reduced-motion and re-triggered automatically every time a
   scene's display flips to flex (see file header for why display:none ->
   flex restarts a running @keyframes animation). */
@media (prefers-reduced-motion: no-preference) {
  .showcase__scene.is-active .showcase__window-img,
  .showcase__scene.is-active .showcase__window-media--stylised {
    animation: showcase-kb var(--kb-duration, 9s) ease-out both;
  }
}

@keyframes showcase-kb {
  0%   { transform: translate(var(--zoom-tx, 0%), var(--zoom-ty, 0%)) scale(var(--zoom-from, 1.07)); }
  100% { transform: translate(var(--zoom-tx, 0%), var(--zoom-ty, 0%)) scale(var(--zoom-to, 1)); }
}

/* Reduced motion: the animation above never runs, so the zoomed-in crop
   still needs to be applied statically, or a reduced-motion visitor would
   see the whole, illegibly-small screenshot instead of the legible crop. */
@media (prefers-reduced-motion: reduce) {
  .showcase__window-img {
    transform: translate(var(--zoom-tx, 0%), var(--zoom-ty, 0%)) scale(var(--zoom-to, 1));
  }
}

/* A focus ring dropped on the real screenshot to call out the element the
   caption is talking about. Real-screenshot scenes set --zoom-x/-y to the
   exact point the crop is centered on, so the ring simply sits at the
   frame's dead center (50%, 50%): the same scale-independence that keeps
   --zoom-tx/-ty stable across the Ken Burns push-in keeps the ring locked
   on its target with zero drift, at any zoom level, with no per-scene
   coordinate to maintain. */
.showcase__focus-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(40px, 7vw, 64px);
  height: clamp(40px, 7vw, 64px);
  margin: clamp(-32px, -3.5vw, -20px) 0 0 clamp(-32px, -3.5vw, -20px);
  border: 2px solid var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(94 213 255 / 15%), 0 0 22px rgb(94 213 255 / 45%);
  pointer-events: none;
}

/* A small stat readout floated over the screenshot. */
.showcase__callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: calc(100% - 24px);
  padding: 7px 12px;
  background: rgb(10 14 26 / 88%);
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow-soft);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-2);
  white-space: nowrap;
  pointer-events: none;
}

.showcase__callout-item b {
  color: var(--neon);
  font-weight: 700;
}

.showcase__callout--secondary {
  color: var(--gold);
}

.showcase__callout--secondary b {
  color: var(--gold);
}

.showcase__callout-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.showcase__callout-cycle {
  position: relative;
  display: inline-block;
  min-width: 84px;
  height: 1.2em;
  color: var(--neon);
  font-weight: 700;
}

.showcase__callout-cycle span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.showcase__callout-cycle span.is-current {
  opacity: 1;
}

/* =====================================================================
   6. Threshold-driven reveal / hide / cycle, used by many scenes via
      data-reveal-at / data-hide-at / data-cycle / data-move.
   ===================================================================== */
[data-reveal-at] {
  opacity: 0;
  transform: translateY(6px) scale(0.94);
  transition: opacity var(--transition-med), transform var(--transition-med);
}

[data-reveal-at].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-hide-at] {
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--transition-med), transform var(--transition-med);
}

[data-hide-at].is-hidden {
  opacity: 0.12;
  transform: scale(0.6);
}

[data-move] {
  position: absolute;
}

/* =====================================================================
   7. Scene 1: resources (real screenshot: about-planet)
   ===================================================================== */
.showcase__vignette--resources .showcase__callout {
  left: 4%;
  top: 4%;
}

.showcase__vignette--resources .showcase__callout--secondary {
  left: 4%;
  top: 40%;
}

/* =====================================================================
   8. Scene 2: buildings (real screenshot: pillar-buildings)
   ===================================================================== */
.showcase__vignette--buildings .showcase__callout {
  left: 6%;
  top: 66%;
}

/* =====================================================================
   9. Scene 3: research tree (real screenshot: pillar-research)
   ===================================================================== */

/* =====================================================================
   10. Scene 4: fleet dispatch (real screenshot: pillar-fleet)
   ===================================================================== */
.showcase__vignette--fleet .showcase__callout {
  left: 6%;
  bottom: 8%;
  top: auto;
}

/* =====================================================================
   11. Scene 5: galaxy missions (real screenshot: pillar-galaxy)
   ===================================================================== */
svg.vg-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

svg.vg-path line {
  stroke: var(--neon-soft);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}

.vg-fleet-dot {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.vg-mission-label {
  position: absolute;
  left: 6%;
  top: 6%;
}

.vg-mission-label span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  padding: 4px 10px;
  background: rgb(10 14 26 / 88%);
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.vg-mission-label span.is-current {
  color: var(--neon);
  border-color: var(--neon);
  opacity: 1;
}

/* =====================================================================
   12. Scene 6: combat (real screenshot: pillar-combat)
   ===================================================================== */
.showcase__vignette--combat .showcase__callout {
  left: 6%;
  bottom: 6%;
  top: auto;
}

/* =====================================================================
   13. Scene 7: generals, pirates, joint attacks (stylised)
   ===================================================================== */
.vg-tactics {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  flex-wrap: wrap;
  width: 100%;
  padding: clamp(18px, 5vw, 46px) 0;
}

/* A faint dashed line threading the three moments together, reinforcing
   that these all happen over the course of the same fleet's journey. */
.vg-tactics::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  border-top: 1px dashed var(--border-subtle);
  z-index: 0;
}

.vg-tactic {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1 140px;
  max-width: 220px;
  text-align: center;
}

.vg-tactic__icon {
  width: clamp(64px, 11vw, 108px);
  height: clamp(64px, 11vw, 108px);
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
}

.vg-tactic__icon--general {
  background: radial-gradient(circle, rgb(245 215 110 / 35%), transparent 70%);
  border-color: var(--gold);
}

.vg-tactic__icon--pirate {
  background: radial-gradient(circle, rgb(255 77 77 / 25%), transparent 70%);
  border-color: var(--danger);
}

.vg-tactic__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
}

.vg-tactic__sub {
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

/* Same circular-backdrop treatment as .vg-tactic__icon (border + radial
   glow, same size range) so the joint-attack cluster reads as a third
   circle of equal weight instead of a bare cluster of dots. */
.vg-converge {
  position: relative;
  width: clamp(64px, 11vw, 108px);
  height: clamp(64px, 11vw, 108px);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(94 213 255 / 28%), transparent 70%);
  border: 2px solid var(--neon);
}

/* Three faint trail lines from each allied fleet's start position to the
   shared target, so the convergence reads immediately even before the
   dots finish animating along them. */
.vg-converge__trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vg-converge__trails line {
  stroke: var(--neon);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

/* Static markers at each fleet's origin, so all three allied fleets stay
   visible for the whole beat, not only the moving dot mid-travel. */
.vg-converge__fleet {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon);
  transform: rotate(45deg);
}

.vg-converge__fleet--1 {
  left: 10%;
  top: 10%;
}

.vg-converge__fleet--2 {
  left: 90%;
  top: 10%;
}

.vg-converge__fleet--3 {
  left: 50%;
  top: 90%;
}

.vg-converge__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon);
}

.vg-converge__target {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: var(--shadow-glow-danger);
}

/* =====================================================================
   14. Scene 8: alliances (stylised)
   ===================================================================== */
.vg-spokes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vg-spokes line {
  stroke: var(--border-subtle);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.vg-alliance-base {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(56px, 10vw, 84px);
  height: clamp(56px, 10vw, 84px);
  margin: clamp(-42px, -5vw, -28px) 0 0 clamp(-42px, -5vw, -28px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-overlay);
  border: 2px solid var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 25%, 0% 75%);
  box-shadow: var(--shadow-glow-warm);
}

.vg-alliance-base__label {
  position: absolute;
  bottom: clamp(-30px, -3vw, -22px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .vg-alliance-base::after {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgb(245 215 110 / 40%);
    border-radius: 50%;
    animation: vg-alliance-pulse 2.6s ease-out infinite;
  }
}

@keyframes vg-alliance-pulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.vg-ally-planet {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: clamp(20px, 3.4vw, 30px);
  height: clamp(20px, 3.4vw, 30px);
  margin: clamp(-10px, -1.7vw, -15px) 0 0 clamp(-10px, -1.7vw, -15px);
  border-radius: 50%;
  background: var(--accent-cool);
  box-shadow: var(--shadow-glow-soft);
}

.vg-ally-planet__tag {
  position: absolute;
  top: calc(100% + 4px);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.vg-ally-planet--1 { left: 16%; top: 18%; }
.vg-ally-planet--2 { left: 84%; top: 18%; }
.vg-ally-planet--3 { left: 16%; top: 82%; }
.vg-ally-planet--4 { left: 84%; top: 82%; }

.vg-supply-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* =====================================================================
   15. Scene 9: automation (stylised)
   ===================================================================== */
.vg-automation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.vg-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-2);
}

.vg-rule__status {
  flex: 0 0 auto;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.vg-rule__status--ready {
  color: var(--success);
  border-color: var(--success);
}

.vg-rule__status--cooldown {
  color: var(--gold);
  border-color: var(--gold);
}

.vg-rule__text {
  flex: 1 1 auto;
}

.vg-activity {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.vg-activity__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.vg-activity__line {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon);
}

/* =====================================================================
   16. Scene 10: scoreboard + CTA (real screenshot: pillar-scoreboard)
   ===================================================================== */
.showcase__scene--finale.is-active {
  flex-direction: column;
  gap: 14px;
}

.showcase__vignette--scoreboard .showcase__callout {
  left: 6%;
  top: 48%;
}

.showcase__scene-cta {
  text-align: center;
}

/* =====================================================================
   17. Responsive adjustments
   ===================================================================== */
@media (max-width: 480px) {
  .showcase__window-title {
    display: none;
  }

  .showcase__callout {
    font-size: 0.68rem;
    padding: 6px 9px;
  }

  .vg-tactics {
    gap: 16px;
  }

  .vg-rule {
    font-size: 0.76rem;
  }

  .showcase__readout-caption {
    font-size: 0.88rem;
  }
}
