/* Only the unowned paid-film offer below the player. */
.watch-page .watch-access.is-purchase-offer {
  align-items: center;
  gap: 24px;
  background: var(--ui-soft, #141a22);
  color: #f4f7fa;
  font-family: var(--ui-font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif);
}
.watch-page .watch-access.is-purchase-offer .film-plans-note {
  display: block;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 10px 0 0;
  color: #8dcff0;
  font-size: 13px;
  line-height: 1.5;
}
.watch-page .watch-access.is-purchase-offer .gate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 1 360px;
  min-width: 280px;
  gap: 10px;
  align-items: stretch;
}
.watch-page .watch-access.is-purchase-offer .gate-action {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}
.watch-page .watch-access.is-purchase-offer .gate-action.is-film-buy,
.watch-page .watch-access.is-purchase-offer .gate-action.is-film-plans {
  grid-column: auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #f4f7fa;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.watch-page .watch-access.is-purchase-offer .gate-action.is-film-buy {
  color: #06090d;
  background: #f4f7fa;
}
.watch-page .watch-access.is-purchase-offer .gate-action.is-film-plans {
  color: #f4f7fa;
  background: #06090d;
  border-color: #8dcff0;
}
.watch-page .watch-access.is-purchase-offer .gate-action.is-film-plans:hover {
  background: #192a34;
  border-color: #b6e2f5;
}
.watch-page .watch-access.is-purchase-offer .gate-action[data-ss-control="play_preview"] {
  background: transparent;
  color: #f4f7fa;
  border-color: var(--ui-hairline, rgba(255,255,255,.12));
}
.watch-page .watch-access.is-purchase-offer .film-plans-note:focus-visible,
.watch-page .watch-access.is-purchase-offer .gate-action:focus-visible {
  outline: 2px solid #8dcff0;
  outline-offset: 3px;
}
@media (max-width: 719px) {
  .watch-page .watch-access.is-purchase-offer { align-items: stretch; gap: 16px; }
  .watch-page .watch-access.is-purchase-offer .gate-actions {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .watch-page .watch-access.is-purchase-offer .gate-action.is-film-buy,
  .watch-page .watch-access.is-purchase-offer .gate-action.is-film-plans {
    flex-basis: auto;
    padding-inline: 10px;
  }
}

/* Replay belongs to the film frame; purchase choices remain below it. */
.watch-page .stage-preview-end {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: #f4f7fa;
  background: rgba(6, 9, 13, .32);
  text-align: center;
  font-family: var(--ui-font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif);
}
.watch-page .stage-preview-end[hidden] { display: none !important; }
.watch-page .stage-preview-end p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #d6dfe7;
}
.watch-page .stage-preview-end button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(244, 247, 250, .65);
  border-radius: 12px;
  background: rgba(20, 26, 34, .88);
  color: #f4f7fa;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}
.watch-page .stage-preview-end button:hover { background: #192a34; border-color: #8dcff0; }
.watch-page .stage-preview-end button:focus-visible { outline: 2px solid #8dcff0; outline-offset: 4px; }
.watch-page .stage-preview-end button:disabled { opacity: .7; cursor: wait; }
