/* Primorye video block — v1.0.0. Scoped to #op-film; no runtime dependencies. */
#op-film {
  box-sizing: border-box;
  width: calc(100% - 96px);
  max-width: 1536px;
  margin-inline: auto;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1200px) {
  #op-film {
    width: calc(100% - 48px);
  }
}
@media (max-width: 760px) {
  #op-film {
    width: calc(100% - 36px);
  }
}
#op-film {
  --ov-blue: #4261ee;
  --ov-ink: #182b34;
  --ov-gray: #85929a;
  --ov-ease: cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 128px;
  scroll-margin-top: 78px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ov-ink);
}
#op-film *,
#op-film *::before,
#op-film *::after {
  box-sizing: border-box;
}
#op-film [hidden] {
  display: none !important;
}
#op-film button,
#op-film input {
  font: inherit;
}
#op-film button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#op-film svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
#op-film .ov-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
#op-film .ov-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
}
#op-film .ov-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39a897;
  box-shadow: 0 0 0 5px #39a89712;
  flex-shrink: 0;
}
#op-film h2 {
  font-size: clamp(44px, 4.24vw, 65px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0;
}
#op-film h2 em {
  font-style: normal;
  color: var(--ov-gray);
}
#op-film .ov-intro {
  margin: 0 0 4px;
  color: #728086;
  font-size: 17px;
  line-height: 1.6;
  flex-shrink: 0;
}
#op-film .ov-intro > span {
  display: block;
  margin-top: 7px;
  color: var(--ov-ink);
  font-size: 14px;
}
#op-film .ov-cinema {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.93;
  border-radius: 30px;
  overflow: hidden;
  background: #111c23;
  outline: none;
  box-shadow: 0 28px 50px -35px #162c4640;
  transform: translateZ(0);
}
#op-film .ov-poster,
#op-film .ov-shade,
#op-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  border-radius: inherit;
}
#op-film .ov-poster {
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.025);
  transition:
    transform 1.5s var(--ov-ease),
    opacity 0.55s;
}
#op-film .ov-shade {
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #10233019 2%,
    #1023300d 23%,
    #0c1d2433 52%,
    #0b2026b8 100%
  );
  transition: opacity 0.4s;
}
#op-film video {
  display: block;
  background: #10171b;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#op-film .ov-top {
  position: absolute;
  top: 30px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: white;
  pointer-events: none;
  transition: opacity 0.35s;
}
#op-film .ov-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff45;
  border-radius: 40px;
  padding: 12px 17px;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  background: #18303830;
  backdrop-filter: blur(12px);
}
#op-film .ov-spark {
  font-size: 20px;
  line-height: 0.7;
}
#op-film .ov-coordinates {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: right;
}
#op-film .ov-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 0 0 38px;
  border: 0;
  background: none;
  color: white;
  outline-offset: -7px;
  z-index: 1;
}
#op-film .ov-play-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border: 1px solid #ffffff42;
  border-radius: 50%;
  transition:
    transform 0.45s var(--ov-ease),
    border-color 0.45s;
}
#op-film .ov-play-orbit::before {
  position: absolute;
  inset: -13px;
  border: 1px solid #ffffff30;
  border-radius: inherit;
  content: "";
  animation: ov-pulse 4s ease-in-out infinite;
  animation-play-state: paused;
}
#op-film.ov-visible .ov-play-orbit::before {
  animation-play-state: running;
}
#op-film .ov-play-orbit::after {
  position: absolute;
  top: -3px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 15px #fff8;
  content: "";
}
#op-film .ov-play-disc {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: var(--ov-blue);
  box-shadow: 0 10px 35px #0b183d38;
  transition:
    transform 0.4s var(--ov-ease),
    background 0.4s;
}
#op-film .ov-play-disc svg {
  width: 26px;
  height: 26px;
  fill: white;
  stroke: white;
  margin-left: 4px;
}
#op-film .ov-play-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px #10233066;
}
#op-film .ov-cover-duration {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  border-left: 1px solid #ffffff75;
  padding-left: 14px;
  font-variant-numeric: tabular-nums;
}
#op-film .ov-caption {
  position: absolute;
  bottom: 42px;
  left: 42px;
  color: #fff;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.5s var(--ov-ease);
}
#op-film .ov-caption > span {
  font-size: 10px;
  letter-spacing: 0.14em;
}
#op-film .ov-caption p {
  margin: 16px 0 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 400;
}
#op-film .ov-corner {
  position: absolute;
  bottom: 44px;
  right: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: #fff;
  pointer-events: none;
  font-size: 12px;
  line-height: 1.6;
  transition: opacity 0.3s;
}
#op-film .ov-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}
#op-film .ov-bars i {
  height: 20px;
  width: 2px;
  background: #fff;
  border-radius: 3px;
  animation: ov-wave 1.6s ease-in-out infinite alternate;
  animation-play-state: paused;
}
#op-film .ov-bars i:nth-child(2) {
  height: 30px;
  animation-delay: -0.9s;
}
#op-film .ov-bars i:nth-child(3) {
  height: 14px;
  animation-delay: -0.3s;
}
#op-film .ov-bars i:nth-child(4) {
  height: 24px;
  animation-delay: -1.1s;
}
#op-film.ov-visible .ov-bars i {
  animation-play-state: running;
}
#op-film .ov-surface {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 1;
}
#op-film .ov-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff38;
  background: #12212cbf;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 6;
  backdrop-filter: blur(8px);
}
#op-film .ov-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: grid;
  place-items: center;
  background: #122430a8;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  color: #fff;
  opacity: 0;
  z-index: 2;
}
#op-film .ov-feedback svg {
  width: 28px;
  height: 28px;
}
#op-film .ov-feedback.ov-flash {
  animation: ov-flash 0.65s ease-out;
}
#op-film .ov-controls {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  padding: 5px 14px 7px;
  border: 1px solid #ffffff30;
  border-radius: 18px;
  color: #fff;
  background: #10222cda;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 4;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
#op-film .ov-control-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
#op-film .ov-control {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: white;
  font-size: 13px;
  line-height: 1;
  transition: background 0.2s;
}
#op-film .ov-control:hover {
  background: #ffffff18;
}
#op-film .ov-controls-space {
  flex: 1;
}
#op-film .ov-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  display: flex;
  gap: 9px;
  margin-left: 7px;
  white-space: nowrap;
}
#op-film .ov-slash,
#op-film .ov-duration {
  color: #b6c5cb;
}
#op-film .ov-volume-wrap {
  display: flex;
  align-items: center;
}
#op-film .ov-volume {
  accent-color: white;
  width: 65px;
  height: 24px;
  margin: 0 8px 0 0;
  cursor: pointer;
}
#op-film .ov-speed-wrap {
  position: relative;
}
#op-film .ov-speed-menu {
  position: absolute;
  bottom: 53px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  padding: 6px;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  background: #152832f5;
  box-shadow: 0 8px 24px #0004;
  display: grid;
  gap: 3px;
}
#op-film .ov-speed-menu button {
  padding: 10px 7px;
  min-height: 38px;
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #fff;
}
#op-film .ov-speed-menu button[aria-pressed="true"] {
  background: var(--ov-blue);
}
#op-film .ov-speed-menu button:hover {
  background: #ffffff20;
}
#op-film .ov-timeline {
  position: relative;
  display: flex;
  align-items: center;
  height: 22px;
  margin: 0 7px;
  --seek: 0%;
  --buf: 0%;
}
#op-film .ov-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff30;
  border-radius: 9px;
  overflow: hidden;
  pointer-events: none;
  transition: height 0.15s;
}
#op-film .ov-buffered,
#op-film .ov-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--buf);
  background: #ffffff30;
}
#op-film .ov-progress {
  width: var(--seek);
  background: #8294ff;
}
#op-film .ov-seek {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  touch-action: pan-y;
  accent-color: #fff;
}
#op-film .ov-seek::-webkit-slider-runnable-track {
  background: transparent;
  height: 3px;
}
#op-film .ov-seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffffff10;
}
#op-film .ov-seek::-moz-range-track {
  background: transparent;
  height: 3px;
}
#op-film .ov-seek::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
#op-film .ov-seek-tip {
  position: absolute;
  bottom: 29px;
  left: var(--seek);
  transform: translateX(-50%);
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #0c1c25eb;
  color: white;
  opacity: 0;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
#op-film .ov-timeline:focus-within .ov-seek-tip {
  opacity: 1;
}
#op-film .ov-timeline:focus-within .ov-track {
  height: 5px;
}
#op-film .ov-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: #11233075;
  color: #fff;
  pointer-events: none;
}
#op-film .ov-loader > span {
  width: 40px;
  height: 40px;
  border: 2px solid #ffffff30;
  border-top-color: #fff;
  border-radius: 50%;
  animation: ov-spin 0.8s linear infinite;
}
#op-film .ov-loader p {
  font-size: 14px;
  margin: 0;
}
#op-film .ov-error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #11232bf5;
  padding: 30px;
  color: white;
  text-align: center;
}
#op-film .ov-error > span {
  border: 1px solid #ffffff40;
  border-radius: 50%;
  padding: 12px;
}
#op-film .ov-error h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: white;
}
#op-film .ov-error p {
  margin: 0;
  max-width: 52ch;
  color: #c5d4da;
  font-size: 14px;
  line-height: 1.6;
}
#op-film .ov-error > div {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
#op-film .ov-error button {
  border: 1px solid #ffffff40;
  border-radius: 30px;
  background: none;
  color: white;
  min-height: 44px;
  padding: 12px 20px;
  font-size: 13px;
}
#op-film .ov-error .ov-retry {
  background: var(--ov-blue);
  border-color: var(--ov-blue);
}
#op-film .ov-after {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 26px 2px 0;
}
#op-film .ov-after > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
#op-film .ov-after-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d7e0e7;
  flex-shrink: 0;
  color: #728a96;
}
#op-film .ov-after-mark svg {
  width: 22px;
  height: 22px;
}
#op-film .ov-after p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
#op-film .ov-after p > span {
  color: #82929a;
  font-size: 13px;
}
#op-film .ov-cinema[data-state="playing"] video,
#op-film .ov-cinema[data-state="paused"] video,
#op-film .ov-cinema[data-state="ended"] video,
#op-film .ov-cinema[data-state="buffering"] video {
  opacity: 1;
  pointer-events: auto;
}
#op-film .ov-cinema:not([data-state="cover"]) .ov-caption,
#op-film .ov-cinema:not([data-state="cover"]) .ov-corner,
#op-film .ov-cinema:not([data-state="cover"]) .ov-top {
  opacity: 0;
}
#op-film .ov-cinema:not([data-state="cover"]) .ov-caption {
  transform: translateY(15px);
}
#op-film .ov-cinema[data-state="ended"] .ov-start {
  background: #10232b66;
  z-index: 2;
}
#op-film .ov-cinema[data-state="playing"].ov-idle .ov-controls {
  opacity: 0;
  pointer-events: none;
}
#op-film .ov-cinema[data-state="playing"].ov-idle {
  cursor: none;
}
#op-film .ov-cinema:fullscreen,
#op-film .ov-cinema.ov-expanded {
  border-radius: 0;
  background: #070e12;
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  max-width: none;
}
#op-film .ov-cinema.ov-expanded {
  position: fixed;
  inset: 0;
  z-index: 20000;
  height: 100dvh;
}
#op-film .ov-cinema:fullscreen .ov-controls,
#op-film .ov-cinema.ov-expanded .ov-controls {
  max-width: 1100px;
  left: 50%;
  right: auto;
  width: calc(100% - 48px);
  transform: translateX(-50%);
  bottom: max(24px, env(safe-area-inset-bottom));
}
#op-film .ov-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#op-film :focus-visible {
  outline: 3px solid #99aaff;
  outline-offset: 3px;
}
#op-film .ov-start:focus-visible {
  outline-offset: -7px;
}
#op-film.ov-enter .ov-heading {
  animation: ov-rise 0.75s var(--ov-ease) both;
}
#op-film.ov-enter .ov-cinema {
  animation: ov-rise 0.9s 0.12s var(--ov-ease) both;
}
@media (hover: hover) and (pointer: fine) {
  #op-film .ov-cinema[data-state="cover"]:hover .ov-poster {
    transform: scale(1.065);
  }
  #op-film .ov-start:hover .ov-play-orbit {
    transform: scale(1.08);
    border-color: #ffffff80;
  }
  #op-film .ov-start:hover .ov-play-disc {
    background: #3453df;
  }
  #op-film .ov-timeline:hover .ov-track {
    height: 5px;
  }
}
@media (max-width: 1000px) {
  #op-film {
    margin-top: 100px;
  }
  #op-film .ov-intro {
    font-size: 14px;
  }
  #op-film .ov-intro > span {
    font-size: 12px;
  }
  #op-film .ov-heading {
    gap: 20px;
  }
  #op-film .ov-cinema {
    aspect-ratio: 16/9;
  }
  #op-film .ov-caption {
    left: 30px;
    bottom: 30px;
  }
  #op-film .ov-caption p {
    font-size: 32px;
  }
  #op-film .ov-caption > span {
    font-size: 8px;
  }
  #op-film .ov-play-orbit {
    width: 90px;
    height: 90px;
  }
  #op-film .ov-play-disc {
    width: 70px;
    height: 70px;
  }
  #op-film .ov-corner {
    right: 30px;
    bottom: 30px;
    font-size: 11px;
  }
  #op-film .ov-after-mark {
    display: none;
  }
}
@media (max-width: 760px) {
  #op-film {
    margin-top: 76px;
    scroll-margin-top: 70px;
  }
  #op-film .ov-heading {
    display: block;
    margin-bottom: 26px;
  }
  #op-film .ov-eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    gap: 10px;
  }
  #op-film h2 {
    font-size: clamp(38px, 9.6vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.05em;
  }
  #op-film .ov-intro {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
  }
  #op-film .ov-intro > br:first-child {
    display: none;
  }
  #op-film .ov-intro > span {
    display: none;
  }
  #op-film .ov-cinema {
    border-radius: 22px;
    aspect-ratio: 4/3;
  }
  #op-film .ov-top {
    top: 18px;
    left: 18px;
    right: 18px;
  }
  #op-film .ov-badge {
    padding: 9px 11px;
    font-size: 7px;
    gap: 7px;
  }
  #op-film .ov-spark {
    font-size: 15px;
  }
  #op-film .ov-coordinates {
    font-size: 8px;
  }
  #op-film .ov-caption {
    left: 20px;
    bottom: 20px;
  }
  #op-film .ov-caption > span {
    display: none;
  }
  #op-film .ov-caption p {
    font-size: 24px;
    margin: 0;
    line-height: 1.05;
  }
  #op-film .ov-caption p br {
    display: none;
  }
  #op-film .ov-caption p {
    max-width: 210px;
  }
  #op-film .ov-corner {
    display: none;
  }
  #op-film .ov-start {
    gap: 12px;
    padding-bottom: 27px;
  }
  #op-film .ov-play-orbit {
    width: 76px;
    height: 76px;
  }
  #op-film .ov-play-orbit::before {
    inset: -8px;
  }
  #op-film .ov-play-disc {
    width: 60px;
    height: 60px;
  }
  #op-film .ov-play-disc svg {
    width: 21px;
    height: 21px;
  }
  #op-film .ov-play-label {
    font-size: 12px;
    gap: 10px;
  }
  #op-film .ov-cover-duration {
    font-size: 10px;
    padding-left: 10px;
  }
  #op-film .ov-controls {
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 14px;
    padding: 1px 5px 3px;
  }
  #op-film .ov-control-row {
    gap: 0;
  }
  #op-film .ov-control {
    width: 38px;
    height: 44px;
    flex-basis: 38px;
  }
  #op-film .ov-rewind {
    display: none;
  }
  #op-film .ov-time {
    font-size: 10px;
    gap: 5px;
    margin-left: 3px;
  }
  #op-film .ov-volume {
    display: none;
  }
  #op-film .ov-controls-space {
    min-width: 0;
  }
  #op-film .ov-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }
  #op-film .ov-close svg {
    width: 19px;
    height: 19px;
  }
  #op-film .ov-speed-menu {
    bottom: 52px;
    width: 72px;
    padding: 4px;
    gap: 0;
  }
  #op-film .ov-speed-menu button {
    min-height: 28px;
    padding: 6px;
    font-size: 11px;
  }
  #op-film .ov-after {
    display: block;
    padding-top: 21px;
  }
  #op-film .ov-after p {
    font-size: 13px;
  }
  #op-film .ov-after p > span {
    font-size: 12px;
  }
  #op-film .ov-error {
    padding: 48px 18px 18px;
    gap: 9px;
  }
  #op-film .ov-error > span {
    display: none;
  }
  #op-film .ov-error h3 {
    font-size: 21px;
  }
  #op-film .ov-error p {
    font-size: 12px;
    line-height: 1.4;
  }
  #op-film .ov-error > div {
    gap: 8px;
    margin: 4px 0 0;
  }
  #op-film .ov-error button {
    font-size: 11px;
    padding: 10px 12px;
  }
  #op-film .ov-loader p {
    font-size: 12px;
  }
  #op-film .ov-cinema:fullscreen .ov-controls,
  #op-film .ov-cinema.ov-expanded .ov-controls {
    width: calc(100% - 24px);
  }
}
@media (max-width: 360px) {
  #op-film .ov-caption p {
    font-size: 21px;
    max-width: 190px;
  }
  #op-film .ov-start {
    padding-bottom: 28px;
  }
  #op-film .ov-play-label {
    font-size: 11px;
  }
  #op-film .ov-coordinates {
    display: none;
  }
  #op-film .ov-error h3 {
    font-size: 18px;
  }
  #op-film .ov-error p {
    font-size: 11px;
  }
}
@keyframes ov-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.09);
    opacity: 0.85;
  }
}
@keyframes ov-wave {
  to {
    transform: scaleY(0.45);
  }
}
@keyframes ov-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ov-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ov-flash {
  0% {
    opacity: 0;
    scale: 0.8;
  }
  20% {
    opacity: 1;
    scale: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    scale: 1.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  #op-film *,
  #op-film *::before,
  #op-film *::after {
    animation: none !important;
    transition: none !important;
  }
}
html.a11y-motion #op-film *,
html.a11y-motion #op-film *::before {
  animation: none !important;
  transition: none !important;
}
/* Glass finish: small surfaces only; the moving image never gets a full-frame blur. */
#op-film .ov-play-disc {
  position: relative;
  background: linear-gradient(145deg, #ffffff48, #ffffff16 45%, #9dafff30);
  border: 1px solid #ffffff85;
  box-shadow:
    inset 0 1px 1px #ffffffc2,
    inset 0 -1px 2px #d7e7ff35,
    0 8px 30px #0d223b24;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
#op-film .ov-play-disc::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border-top: 1px solid #ffffff72;
  border-left: 1px solid #ffffff12;
  pointer-events: none;
}
#op-film .ov-play-disc svg {
  filter: drop-shadow(0 1px 2px #16334630);
}
#op-film .ov-play-orbit {
  border-color: #ffffff30;
  box-shadow: 0 0 24px #ffffff05;
}
#op-film .ov-play-label {
  padding: 10px 15px;
  border: 1px solid #ffffff30;
  border-radius: 99px;
  background: #182c3a30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #ffffff10;
  font-size: 13px;
}
#op-film .ov-controls {
  padding: 7px 17px 9px;
  border-radius: 30px;
  border: 1px solid #ffffff55;
  background: linear-gradient(155deg, #ffffff22, #21354165 44%, #152c386e);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  box-shadow:
    inset 0 1px 1px #ffffff5c,
    inset 0 -1px 1px #ffffff15,
    0 10px 35px #06171f25;
  bottom: 24px;
  left: 26px;
  right: 26px;
  max-width: 900px;
  margin-inline: auto;
}
#op-film .ov-controls::before {
  content: "";
  position: absolute;
  inset: 2px;
  pointer-events: none;
  border-radius: inherit;
  border-top: 1px solid #ffffff28;
}
#op-film .ov-control {
  transition:
    background 0.18s,
    scale 0.2s var(--ov-ease),
    box-shadow 0.2s;
}
#op-film .ov-toggle {
  border: 1px solid #ffffff35;
  background: linear-gradient(145deg, #ffffff30, #ffffff0d);
  box-shadow: inset 0 1px 0 #ffffff4d;
  margin-right: 5px;
}
#op-film .ov-toggle svg {
  width: 20px;
  height: 20px;
}
#op-film .ov-control:active,
#op-film .ov-close:active {
  scale: 0.9;
  background: #ffffff30;
}
#op-film .ov-play-label,
#op-film .ov-play-orbit {
  transition:
    scale 0.25s var(--ov-ease),
    transform 0.45s var(--ov-ease),
    border-color 0.3s;
}
#op-film .ov-start:active .ov-play-disc {
  transform: scale(0.91);
}
#op-film .ov-start:active .ov-play-label {
  scale: 0.97;
}
#op-film .ov-volume-wrap {
  margin-right: 5px;
}
#op-film .ov-speed {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#op-film .ov-speed-menu {
  border-color: #ffffff50;
  background: linear-gradient(140deg, #61717caa, #20333edb);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    inset 0 1px 0 #ffffff38,
    0 12px 30px #08192235;
  border-radius: 18px;
  bottom: 57px;
}
#op-film .ov-speed-menu button[aria-pressed="true"] {
  background: #ffffff24;
  box-shadow: inset 0 0 0 1px #ffffff22;
}
#op-film .ov-close {
  background: linear-gradient(145deg, #ffffff30, #1f37404d);
  border-color: #ffffff66;
  box-shadow:
    inset 0 1px 0 #ffffff40,
    0 5px 15px #06172220;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
#op-film .ov-track {
  background: #ffffff35;
}
#op-film .ov-progress {
  background: linear-gradient(90deg, #9ab0ff, #e5ebff);
}
#op-film .ov-feedback {
  background: #ffffff1f;
  backdrop-filter: blur(16px);
  border-color: #ffffff60;
  box-shadow: inset 0 1px 0 #ffffff60;
}
#op-film .ov-cinema:fullscreen .ov-controls,
#op-film .ov-cinema.ov-expanded .ov-controls {
  margin: 0;
  max-width: 900px;
}
@media (hover: hover) and (pointer: fine) {
  #op-film .ov-start:hover .ov-play-disc {
    background: linear-gradient(145deg, #ffffff64, #ffffff28 45%, #bdcbff38);
    box-shadow:
      inset 0 1px 1px #ffffffe0,
      inset 0 -1px 2px #d7e7ff35,
      0 12px 38px #0d223b30;
  }
  #op-film .ov-control:hover {
    background: #ffffff26;
    box-shadow: inset 0 1px 0 #ffffff20;
  }
}
@media (max-width: 760px) {
  #op-film .ov-intro > br:first-child {
    display: initial;
  }
  #op-film .ov-caption {
    display: none;
  }
  #op-film .ov-start {
    padding-bottom: 0;
    gap: 15px;
  }
  #op-film .ov-play-label {
    font-size: 11px;
    padding: 9px 12px;
  }
  #op-film .ov-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 2px 7px 6px;
    border-radius: 24px;
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
  }
  #op-film .ov-control {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  #op-film .ov-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    margin-right: 5px;
  }
  #op-film .ov-speed-menu {
    bottom: 49px;
  }
  #op-film .ov-control-row {
    min-height: 42px;
  }
  #op-film .ov-time {
    font-size: 10px;
    margin-left: 0;
  }
  #op-film .ov-volume-wrap {
    margin: 0;
  }
  #op-film .ov-play-disc {
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
  }
  #op-film .ov-play-label {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  #op-film .ov-controls,
  #op-film .ov-speed-menu,
  #op-film .ov-close {
    background: #213641f0;
  }
  #op-film .ov-play-disc {
    background: #768594e8;
  }
}
@media (max-width: 760px) {
  #op-film .ov-control,
  #op-film .ov-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  #op-film .ov-toggle {
    margin-right: 0;
  }
  #op-film .ov-close {
    width: 44px;
    height: 44px;
  }
  #op-film .ov-controls {
    padding: 1px 5px 5px;
  }
  #op-film .ov-control-row {
    min-height: 44px;
  }
  #op-film .ov-speed-menu {
    bottom: 53px;
  }
}
@media (max-width: 360px) {
  #op-film .ov-time {
    gap: 3px;
    font-size: 9px;
  }
  #op-film .ov-time .ov-slash,
  #op-film .ov-time .ov-duration {
    display: none;
  }
}
@media (max-width: 760px) {
  #op-film .ov-time {
    margin-left: 7px;
    font-size: 11px;
  }
}

/* Stable in-flow stage, including native and fallback fullscreen. */
#op-film .ov-stage{aspect-ratio:1.93;position:relative;overflow-anchor:none;}
#op-film .ov-stage>.ov-cinema{width:100%;height:100%;aspect-ratio:auto;}
#op-film .ov-cinema.ov-expanded{height:100dvh;}
#op-film .ov-cinema:fullscreen{width:100vw;height:100dvh;}
#op-film .ov-stage .ov-cinema{animation:none;transform:none;}
#op-film .ov-event-link{font-family:inherit;flex-shrink:0;}
#op-film .ov-event-link .btn-ico{width:32px;height:32px;stroke:none;fill:#1f2937;}
#op-film .ov-controls,#op-film .ov-speed-menu,#op-film .ov-close,#op-film .ov-feedback{backdrop-filter:none;-webkit-backdrop-filter:none;}
#op-film .ov-controls{background:linear-gradient(145deg,#283c48f5,#14262ff5);border-color:#ffffff40;box-shadow:inset 0 1px 0 #ffffff30,0 8px 24px #06171f28;}
#op-film .ov-speed-menu{background:#20333e;}
#op-film .ov-close{background:#20333ee8;}
#op-film .ov-control{position:relative;display:grid;place-items:center;border-radius:50%;}
#op-film .ov-rewind svg,#op-film .ov-forward svg{width:26px;height:26px;stroke-width:1.6;}
#op-film .ov-control:focus-visible,#op-film .ov-close:focus-visible{outline:2px solid white;outline-offset:3px;}
@media(hover:hover){#op-film .ov-close:hover{background:#445b69;transform:rotate(90deg);}#op-film .ov-close{transition:background .2s,transform .22s;}}
@media(max-width:1000px){#op-film .ov-stage{aspect-ratio:16/9;}}
@media(max-width:760px){#op-film .ov-stage{aspect-ratio:4/3;}#op-film .ov-event-link{display:flex;justify-content:space-between;margin-top:20px;}#op-film .ov-rewind{display:grid;}#op-film .ov-control,#op-film .ov-toggle{width:36px;height:44px;flex-basis:36px;}#op-film .ov-time{font-size:10px;margin-left:3px;gap:3px;}#op-film .ov-time .ov-duration,#op-film .ov-time .ov-slash{display:none;}#op-film .ov-rewind svg,#op-film .ov-forward svg{width:24px;height:24px;}}
