.scc-film {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: #0a0a0a;
  color: #fff;
}
.scc-film > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}
.scc-film [hidden] { display: none !important; }
.scc-film__button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
.scc-film .scc-film__button svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.scc-film .scc-film__surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scc-film .scc-film__surface svg {
  box-sizing: content-box;
  width: clamp(18px, 2.4vw, 26px);
  height: clamp(18px, 2.4vw, 26px);
  padding: clamp(12px, 1.5vw, 18px);
  border: 1px solid rgb(255 255 255 / 73%);
  border-radius: 50%;
  background: rgb(10 10 10 / 83%);
  transition: opacity 140ms ease;
}
.scc-film.is-playing .scc-film__surface[data-icon="pause"]:not(:focus-visible) svg { opacity: 0; }
.scc-film .scc-film__surface:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 5px #0a0a0a;
}
.scc-film__tools {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 2px;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 0 4px;
  background: linear-gradient(to top, rgb(8 10 12 / 64%), rgb(8 10 12 / 44%));
  transition: opacity 180ms ease;
  border-radius: 8px;
}
.scc-film.controls-idle .scc-film__tools {
  opacity: 0;
  pointer-events: none;
}
.scc-film.controls-idle .scc-film__surface { cursor: none; }
.scc-film__tools svg { filter: drop-shadow(0 1px 2px rgb(0 0 0 / 75%)); }
.scc-film__tools input[type="range"] {
  appearance: auto;
  flex: 1;
  width: 0;
  min-width: 20px;
  height: 44px;
  margin: 0 6px;
  background: transparent;
  accent-color: #ff6a2a;
  cursor: pointer;
}
.scc-film__tools :focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.scc-film__tools [aria-pressed="true"] { color: #ff6a2a; }
.scc-film__tools [aria-pressed="true"] svg { border-bottom: 2px solid currentColor; }
.scc-film:fullscreen, .scc-film:-webkit-full-screen {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
@media (prefers-reduced-motion: reduce) {
  .scc-film .scc-film__surface svg, .scc-film__tools { transition: none; }
}
@media (forced-colors: active) {
  .scc-film__tools { border: 1px solid ButtonText; }
  .scc-film .scc-film__surface svg { border-color: ButtonText; }
}
