.ncl-home-film {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1104 / 832;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  background: #000;
  color: #fff;
}
.ncl-home-film .ncl-home-film__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1104 / 832;
  max-width: none;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: inherit;
}
.ncl-home-film .ncl-home-film__controls {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}
.ncl-home-film:has(.ncl-home-film__button:focus-visible) .ncl-home-film__controls,
.ncl-home-film[data-touch-controls="true"] .ncl-home-film__controls {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
@media (hover: hover) {
  .ncl-home-film:hover .ncl-home-film__controls {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
.ncl-home-film .ncl-home-film__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(10,31,40,.88);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.ncl-home-film .ncl-home-film__button:hover { background: #162f38; }
.ncl-home-film .ncl-home-film__button:focus-visible {
  outline: 3px solid #efbc5a;
  outline-offset: 3px;
}
.ncl-home-film .ncl-home-film__button svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.ncl-home-film[data-play-state="playing"] [data-icon="play"],
.ncl-home-film:not([data-play-state="playing"]) [data-icon="pause"],
.ncl-home-film[data-muted="true"] [data-icon="sound"],
.ncl-home-film[data-muted="false"] [data-icon="muted"] { display: none; }
.ncl-home-film .ncl-home-film__status {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  top: 12px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(10,31,40,.9);
  color: #fff;
  font: 14px/1.4 system-ui, sans-serif;
}
.ncl-home-film .ncl-home-film__status[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ncl-home-film .ncl-home-film__controls { transition: none; }
}

/* Timeline and full-screen controls, revealed with the existing controls. */
.ncl-home-film .ncl-home-film__controls { left:12px; align-items:center; gap:6px; padding:8px; border-radius:12px; background:rgba(8,18,24,.62); }
.ncl-home-film .ncl-home-film__seek { flex:1; min-width:30px; width:100%; height:24px; margin:0; padding:0; cursor:pointer; accent-color:#fff; }
.ncl-home-film .ncl-home-film__time { font:12px/1.2 system-ui,sans-serif; white-space:nowrap; }
.ncl-home-film .ncl-home-film__button { font:600 12px/1 system-ui,sans-serif; }
.ncl-home-film:has(.ncl-home-film__seek:focus-visible) .ncl-home-film__controls { opacity:1; pointer-events:auto; transform:none; }
.ncl-home-film__seek:focus-visible { outline:2px solid #efbc5a; outline-offset:3px; }
.ncl-home-film:fullscreen { width:100vw; height:100vh; height:100dvh; aspect-ratio:auto; border-radius:0; display:flex; align-items:center; justify-content:center; }
.ncl-home-film:fullscreen .ncl-home-film__video { width:100%; height:100%; aspect-ratio:auto; object-fit:contain; }
.ncl-home-film:fullscreen .ncl-home-film__controls { max-width:1000px; margin:auto; bottom:24px; }
@media(max-width:600px) {
  .ncl-home-film .ncl-home-film__controls { flex-wrap:wrap; gap:4px; left:6px; right:6px; bottom:6px; }
  .ncl-home-film .ncl-home-film__seek { order:-2; flex-basis:calc(100% - 100px); }
  .ncl-home-film .ncl-home-film__time { order:-1; width:86px; text-align:right; }
}
