/* Hero film control: a small translucent button in the film's bottom-left corner.
   The label stays in the button text for screen readers; font-size 0 hides it. */
.hero-film-control {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), background-color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-film-control::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='1.5' y='1' width='3' height='10'/%3E%3Crect x='7.5' y='1' width='3' height='10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='1.5' y='1' width='3' height='10'/%3E%3Crect x='7.5' y='1' width='3' height='10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-film-control.is-paused::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1 11 6l-8 5z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1 11 6l-8 5z'/%3E%3C/svg%3E");
}
.hero-film-control:hover,
.hero-film-control:focus-visible { opacity: 1; background: rgba(0, 0, 0, 0.55); }
.hero-film-control:focus-visible { outline: 3px solid var(--cerulean, #1A72B8); outline-offset: 2px; }
@media print { .hero-film-control { display: none; } }
.hero-film-control[hidden] { display: none; }
/* Fallback when a film has no container to sit in. */
.hero-film-control.is-floating { position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 9980; }
