/**
 * Native Flash 4 movie player (P4.8c / P4.8d). The menu stage is 228×627 px.
 * In the layout the SVG box fills the 300 px × 100 vh column (original embed
 * WIDTH/HEIGHT 100%); the stage scales evenly inside it, right-aligned
 * (Flash showAll + salign=R). Smoke previews keep the 228×627 box.
 */

.swf-movie {
  position: relative;
  width: 228px;
  height: 627px;
  background: var(--color-bg, #000);
}

.swf-movie-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Flash gives the mouse only to button hit areas; shapes and masks above them do not block it. */
.swf-movie-svg * {
  pointer-events: none;
}

.swf-movie-svg .swf-movie-hit,
.swf-movie-svg .swf-movie-hit * {
  pointer-events: visiblePainted;
}

.swf-movie-hit {
  cursor: pointer;
}

.swf-movie-hit:focus {
  outline: none;
}

/* Keyboard focus also shows the original "over" state; this adds a visible ring. */
.swf-movie-hit:focus-visible > g {
  opacity: 0.35;
  fill: var(--color-focus, #ffcc99);
}

/* Focus lands on the stage only as a fallback (see restoreFocus); links show their own focus. */
.swf-movie-svg:focus {
  outline: none;
}
