/* Presentation only. Existing player owns playback and accessible labels. */
.page-site .film-stage .film-play,
.page-pilot .film-stage .film-play,
.film .film-stage .film-play {
  width:44px!important;height:44px!important;min-width:44px;min-height:44px;padding:0!important;
  border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(0,0,0,.72);color:#fff;
  display:flex;align-items:center;justify-content:center;
}
.film-stage .film-play .play-word { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important; }
.film-stage .film-play::after { content:"";width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid white;margin-left:3px; }
/* The gallery intentionally hides its controls before the first frame. */
.film:not(.gallery-grid-film):has(.film-controls:not([hidden])) .film-play,
.gallery-grid-film[data-playback="playing"]:has(.film-controls:not([hidden])) .film-play,
.gallery-grid-film[data-playback="paused"]:not([data-time="0"]):has(.film-controls:not([hidden])) .film-play { display:none!important; }
.film .film-controls [data-film-sound], .film .film-controls [data-film-toggle], .gallery-grid-film [data-film-fullscreen] {
  box-sizing:border-box; width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;border:1px solid rgba(255,255,255,.65)!important;border-radius:50%!important;
  background-color:rgba(0,0,0,.78)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:20px 20px!important;
  color:transparent!important;font-size:0!important;line-height:0!important;cursor:pointer;
}
.film [data-film-toggle] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E")!important; }
.film [data-film-toggle][aria-label^="Pause"] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E")!important; }
.film [data-film-sound] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4zm12 1 4 4m0-4-4 4'/%3E%3C/svg%3E")!important; }
.film [data-film-sound][aria-pressed="true"] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4zm12 0a4 4 0 0 1 0 6m2-9a8 8 0 0 1 0 12'/%3E%3C/svg%3E")!important; }
.gallery-grid-film [data-film-fullscreen] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5m6 0h5v5M20 15v5h-5M9 20H4v-5'/%3E%3C/svg%3E")!important; }
.film :is(.film-play,[data-film-sound],[data-film-toggle],[data-film-fullscreen]):focus-visible { outline:3px solid white!important;outline-offset:3px!important; }
/* Center the compact target despite the original full-stage hit area. */
.page-site .film-stage .film-play, .page-pilot .film-stage .film-play,
.film .film-stage .film-play {
  position:absolute!important; inset:auto!important; left:50%!important; top:50%!important;
  margin:0!important; transform:translate(-50%,-50%)!important;
}
/* Author display rules must not override the engine's hidden attribute. */
.film .film-stage .film-play[hidden], .film .film-stage .film-controls[hidden] { display:none!important; }
/* If playback started and was paused at zero, the engine hides the trigger;
   keep the real toggle reachable despite the gallery's initial-poster rule. */
.extended-gallery-page .gallery-grid-film[data-playback="paused"][data-time="0"]:has(.film-play[hidden]) .film-controls:not([hidden]) { display:flex!important; }
/* Video-only ambient and preview motion toggles retain their text for assistive technology. */
[data-ambient-toggle], [data-film-previews] {
  box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;border:1px solid rgba(255,255,255,.65)!important;border-radius:50%!important;
  background-color:rgba(0,0,0,.78)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:20px 20px!important;
  color:transparent!important;font-size:0!important;line-height:0!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E")!important;
}
[data-ambient-toggle] [data-ambient-label] { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important; }
[data-ambient-toggle][aria-pressed="true"], [data-film-previews][aria-pressed="true"]:not(:disabled) {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E")!important;
}
:is([data-ambient-toggle],[data-film-previews]):focus-visible { outline:3px solid #767676!important;outline-offset:3px!important; }
