:root {
  color-scheme: dark;
  --yf-green: #56ceaa;
  --yf-surface: #111311;
  --yf-border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

html { background: #080808; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080808;
}

.yf-movie-page {
  background: #0a0a0a;
  overflow: hidden;
}

.yf-breadcrumbs {
  grid-column: 1 / -1;
  min-width: 0;
}
.yf-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #a4aca7;
  font-size: 13px;
  font-weight: 700;
}
.yf-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 7px;
  color: #5f6762;
}
.yf-breadcrumbs a { color: #b8c0bb; text-decoration: none; transition: color .2s ease; }
.yf-breadcrumbs a:hover { color: #56ceaa; }
.yf-breadcrumbs [aria-current="page"] { color: #f5f7f6; }

.yf-watch-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12));
  backdrop-filter: blur(10px);
}

.yf-watch-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.yf-watch-nav > .yf-back-link { flex: 0 1 auto; min-width: 0; }
.yf-watch-brand { flex: 0 0 auto; min-width: max-content; }
.yf-watch-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; flex: 0 1 auto; }

.yf-back-link,
.yf-watch-brand {
  display: inline-flex;
  align-items: center;
  color: #f5f5f5;
  text-decoration: none;
}

.yf-back-link {
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.48);
  color: #d5d8d6;
  font-size: 14px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.yf-back-link:hover {
  color: #fff;
  border-color: rgba(86, 206, 170, 0.52);
  background: rgba(86, 206, 170, 0.1);
  transform: translateX(-2px);
}

.yf-back-link--telegram {
  border-color: rgba(103, 201, 255, 0.28);
  background: rgba(103, 201, 255, 0.08);
}

.yf-back-link--telegram:hover {
  border-color: rgba(103, 201, 255, 0.45);
  background: rgba(103, 201, 255, 0.14);
  transform: translateY(-1px);
}

.yf-back-link:focus-visible,
.yf-watch-brand:focus-visible,
.yf-player-tab:focus-visible {
  outline: 2px solid var(--yf-green);
  outline-offset: 3px;
}

.yf-watch-brand {
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.yf-watch-brand > span:last-child > span { color: var(--yf-green); }

.yf-watch-brand__logo {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.yf-movie-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 780px;
  background-color: #101010;
  width: 100%;
}

.yf-movie-hero__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.yf-movie-hero__poster-column { flex: 0 0 auto; }
.yf-movie-hero__details { flex: 1 1 auto; min-width: 0; }

.yf-movie-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #101010;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 780px;
}

.yf-movie-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.yf-movie-hero__image.is-loaded {
  opacity: 1;
}

.yf-movie-hero__media--poster {
  inset: -8%;
  opacity: 0.72;
  background-position: center 28%;
}

.yf-movie-hero__media--poster .yf-movie-hero__image {
  object-position: center 28%;
  transform: scale(1.1);
  filter: blur(42px) brightness(0.5);
}

.yf-movie-hero__media--fallback {
  background:
    radial-gradient(circle at 24% 30%, rgba(86, 206, 170, 0.22), transparent 35%),
    radial-gradient(circle at 78% 15%, rgba(255, 121, 0, 0.13), transparent 30%),
    linear-gradient(135deg, #17201c, #090a09 58%, #15110d);
}

.yf-movie-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.58) 52%, rgba(5, 5, 5, 0.24) 100%),
    linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0.94) 10%, rgba(10, 10, 10, 0.12) 72%);
}

.yf-movie-poster {
  width: 100%;
  height: auto;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #161816;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.62);
}

.yf-movie-poster--empty {
  display: grid;
  place-items: center;
  color: rgba(86, 206, 170, 0.45);
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: -0.08em;
  background: radial-gradient(circle at 50% 35%, rgba(86, 206, 170, 0.13), transparent 55%), #151715;
}

.yf-eyebrow {
  margin: 0;
  color: var(--yf-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.yf-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
}

.yf-rating strong { font-size: 15px; }

.yf-rating__icon {
  display: inline-grid;
  min-width: 25px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.yf-rating--kp {
  border-color: rgba(255, 121, 0, 0.45);
  background: rgba(255, 121, 0, 0.16);
  color: #ff9c42;
}

.yf-rating--kp .yf-rating__icon {
  background: #ff7900;
  color: #160a00;
}

.yf-rating--imdb {
  border-color: rgba(245, 197, 24, 0.4);
  background: rgba(245, 197, 24, 0.14);
  color: #f5c518;
}

.yf-rating--imdb .yf-rating__icon {
  background: #f5c518;
  color: #171300;
}

.yf-rating--id {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #aeb4b0;
}

.yf-section-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.yf-facts { margin-bottom: 0; }
.yf-facts dt {
  color: #a6ada8;
  font-weight: 700;
}
.yf-facts dd { margin: 0; color: #e3e6e4; }

.yf-fact-link {
  color: #d7ded9;
  text-decoration: underline;
  text-decoration-color: rgba(86, 206, 170, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.yf-fact-link:hover,
.yf-fact-link:focus-visible {
  color: var(--yf-green);
  text-decoration-color: currentColor;
}

.yf-cast-inline {
  margin-bottom: 0;
  color: #d4d8d5;
  font-size: 15px;
  line-height: 1.8;
}

.yf-comment { display: flex; gap: 13px; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.025); }
.yf-comment__avatar { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; background: rgba(86,206,170,.16); color: var(--yf-green); font-weight: 800; }
.yf-comment__text { margin: 8px 0 0; color: #d4d8d5; font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.yf-comment-form__fields { display: flex; flex-direction: column; gap: 16px; }
.yf-comment-form__input { width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.05); color: #f5f7f6; padding: 10px 16px; outline: none; font: inherit; font-weight: 400; }
.yf-comment-form__author { max-width: 24rem; }
.yf-comment-form__input::placeholder { color: #8f9892; }
.yf-comment-form__input:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.12); }
.yf-comment-form__textarea { min-height: 100px; resize: vertical; }
.yf-comment-form__submit { display: inline-flex; min-height: 42px; align-items: center; padding: 10px 24px; border: 0; border-radius: 12px; background: #00e676; color: #000; font-weight: 600; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.yf-comment-form__submit:hover:not(:disabled) { background: #00c853; transform: translateY(-1px); }
.yf-comment-form__submit:disabled { opacity: .55; cursor: wait; }
.yf-comment-form__status { margin: 0; color: var(--yf-green); font-size: 13px; }

@media (min-width: 768px) and (max-width: 1199px) {
  .yf-base-nav { gap: 16px; }
  .yf-base-brand { flex: 0 0 auto; min-width: max-content; }
  .yf-base-actions { min-width: 0; flex: 0 1 auto; flex-wrap: wrap; }
  .yf-base-actions .yf-bookmarks-nav__label,
  .yf-base-actions .yf-donate-link--nav span:last-child { display: none; }
  .yf-base-actions .yf-bookmarks-nav,
  .yf-base-actions .yf-donate-link--nav { padding-inline: 9px; }
  .yf-watch-nav { gap: 12px; }
  .yf-watch-nav > .yf-back-link { padding-inline: 10px; }
  .yf-watch-nav > .yf-back-link > span:last-child,
  .yf-watch-actions .yf-bookmarks-nav__label,
  .yf-watch-actions .yf-back-link--telegram > span:last-child,
  .yf-watch-actions .yf-donate-link--nav span:last-child { display: none; }
  .yf-watch-actions .yf-back-link,
  .yf-watch-actions .yf-donate-link--nav { padding-inline: 9px; }
}

@media (max-width: 767px) {
  .yf-watch-nav { gap: 8px; padding-inline: 10px; }
  .yf-watch-nav > .yf-back-link { padding-inline: 9px; }
  .yf-watch-nav > .yf-back-link > span:last-child { display: none; }
  .yf-watch-actions { gap: 5px; }
  .yf-watch-actions .yf-bookmarks-nav__label,
  .yf-watch-actions .yf-back-link--telegram > span:last-child,
  .yf-watch-actions .yf-donate-link--nav span:last-child { display: none; }
  .yf-watch-actions .yf-back-link,
  .yf-watch-actions .yf-donate-link--nav { padding-inline: 8px; }
}

.yf-player-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--yf-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 22, 20, 0.98), rgba(10, 11, 10, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.yf-player-tabs {
  position: relative;
  z-index: 3;
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: #090a09;
}

.yf-player-tab {
  min-width: 92px;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8d948f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yf-player-tab:hover {
  color: #f4f6f5;
  background: rgba(255, 255, 255, 0.07);
}

.yf-player-tab.active,
.yf-player-tab.is-active {
  color: #04130e;
  background: var(--yf-green);
  box-shadow: 0 8px 22px rgba(86, 206, 170, 0.22);
}

.yf-player-stage {
  position: relative;
  width: 100%;
  height: 56.25vw;
  min-height: 380px;
  max-height: 720px;
  aspect-ratio: 16 / 9;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #080908;
  isolation: isolate;
}

@supports (aspect-ratio: 16 / 9) {
  .yf-player-stage { height: auto; max-height: none; }
}

.yf-player-stage iframe,
.yf-player-stage ins,
.yf-player-stage > div:not(.yf-player-loading):not(.yf-player-unavailable) {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
  min-height: 380px;
  aspect-ratio: 16 / 9;
}

.yf-player-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.yf-player-facade img { width: 100%; height: 100%; display: block; object-fit: cover; filter: brightness(.5) saturate(.82); transition: transform .55s ease, filter .55s ease; }
.yf-player-facade__shade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 48%, transparent 0 13%, rgba(0,0,0,.18) 34%, rgba(0,0,0,.68) 100%), linear-gradient(0deg, rgba(0,0,0,.72), transparent 55%); }
.yf-player-facade__play { position: absolute; inset: 50% auto auto 50%; width: clamp(62px,8vw,88px); height: clamp(62px,8vw,88px); display: grid; place-items: center; border-radius: 50%; background: #56ceaa; color: #06120c; font-size: clamp(22px,3vw,32px); transform: translate(-50%,-58%); box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 28px rgba(86,206,170,.26); transition: transform .3s ease, box-shadow .3s ease; }
.yf-player-facade__copy { position: absolute; inset: auto 18px 24px; display: grid; gap: 5px; text-align: center; }
.yf-player-facade__copy strong { font-size: clamp(18px,3vw,27px); }
.yf-player-facade__copy small { color: #b8c0bb; font-size: 13px; }
.yf-player-facade:hover img { transform: scale(1.025); filter: brightness(.58) saturate(.9); }
.yf-player-facade:hover .yf-player-facade__play { transform: translate(-50%,-62%) scale(1.06); box-shadow: 0 22px 56px rgba(0,0,0,.6), 0 0 36px rgba(86,206,170,.34); }
.yf-player-facade:focus-visible { outline: 3px solid #56ceaa; outline-offset: -4px; }

.yf-player-loading,
.yf-player-unavailable {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d9590;
}

.yf-player-loading {
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}

.yf-player-loading__spinner {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--yf-green);
  border-radius: 50%;
  animation: yf-spin 0.9s linear infinite;
}

.yf-player-unavailable {
  flex-direction: column;
  gap: 7px;
  padding: 24px;
  text-align: center;
}

.yf-player-unavailable strong {
  color: #f1f3f2;
  font-size: clamp(18px, 3vw, 26px);
}

.yf-player-unavailable__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 7px;
  place-items: center;
  border: 1px solid rgba(86, 206, 170, 0.24);
  border-radius: 50%;
  background: rgba(86, 206, 170, 0.08);
  color: var(--yf-green);
}

.yf-telegram-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(103, 201, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(103, 201, 255, 0.12), rgba(86, 206, 170, 0.08));
}

.yf-telegram-cta__title {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.yf-telegram-cta__text {
  margin: 10px 0 0;
  max-width: 52ch;
  color: #b4bcc0;
  font-size: 14px;
  line-height: 1.65;
}

.yf-telegram-cta__button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  background: #229ed9;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(34, 158, 217, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.yf-telegram-cta__button:hover {
  transform: translateY(-2px);
  background: #2cabea;
  box-shadow: 0 20px 48px rgba(34, 158, 217, 0.34);
}

.yf-movie-footer {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.yf-movie-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  max-width: 80rem;
  margin: 0 auto;
  padding: 22px 16px 28px;
}

.yf-movie-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.yf-movie-footer__links a {
  color: #aeb6b1;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.yf-movie-footer__links a:hover {
  color: #56ceaa;
}

.yf-player-toast {
  position: fixed;
  z-index: 10000;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(86, 206, 170, 0.42);
  border-radius: 12px;
  background: rgba(13, 22, 18, 0.96);
  color: #f4fff9;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 24px rgba(86, 206, 170, 0.16);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.yf-player-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes yf-spin { to { transform: rotate(360deg); } }

.yf-series-subscription {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(86, 206, 170, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(86, 206, 170, 0.09), rgba(255, 255, 255, 0.025));
}
.yf-series-subscription h2 { margin: 5px 0 7px; color: #fff; font-size: clamp(20px, 3vw, 28px); }
.yf-series-subscription p { margin: 0; color: #9ca39f; line-height: 1.55; }
.yf-series-subscription__actions { display: grid; flex: 0 0 min(100%, 330px); gap: 9px; }
.yf-series-subscription__button,
.yf-series-subscription__bot {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(86, 206, 170, 0.42);
  border-radius: 12px;
  background: #56ceaa;
  color: #07120e;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.yf-series-subscription__button:hover,
.yf-series-subscription__bot:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(86, 206, 170, 0.2); }
.yf-series-subscription__button:active { transform: scale(0.97); }
.yf-series-subscription__button:disabled { cursor: wait; opacity: 0.65; }
.yf-series-subscription__button.is-subscribed { background: rgba(86, 206, 170, 0.12); color: #8be8ca; }
.yf-series-subscription__bot { background: #229ed9; border-color: #229ed9; color: #fff; }
.yf-series-subscription__bot[hidden] { display: none; }
.yf-series-subscription__status { min-height: 20px; font-size: 12px; text-align: center; }

.yf-release-guide {
  margin-top: 42px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.96), rgba(12, 12, 12, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.yf-release-guide .yf-eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.yf-release-guide h2 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.yf-release-guide section + section {
  margin-top: 32px;
}

.yf-release-prose {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

.yf-release-prose p {
  margin: 0;
}

.yf-release-specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.yf-release-spec {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.yf-release-spec__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 6px;
}

.yf-release-spec__value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.yf-release-cast-section {
  margin-bottom: 20px;
}

.yf-release-cast-section:last-child {
  margin-bottom: 0;
}

.yf-release-cast-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 10px;
}

.yf-release-cast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yf-release-cast-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.yf-release-cast-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .yf-release-guide {
    margin-top: 24px;
    padding: 20px;
  }

  .yf-release-specs__grid {
    grid-template-columns: 1fr;
  }
}

.yf-similar {
  margin-top: 38px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
}
.yf-similar__heading h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 34px); }
.yf-similar__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.yf-similar-card { min-width: 0; color: #fff; text-decoration: none; }
.yf-similar-card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #151816;
  transition: transform .28s ease, box-shadow .28s ease;
}
.yf-similar-card__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,#151816 18%,#292e2b 42%,#151816 66%);
  background-size: 220% 100%;
  animation: yf-similar-shimmer 1.35s ease-in-out infinite;
  transition: opacity .2s ease;
}
.yf-similar-card__poster img { position: relative; opacity: 0; transition: opacity .24s ease; }
.yf-similar-card__poster.is-loaded::before { opacity: 0; }
.yf-similar-card__poster.is-loaded img { opacity: 1; }
@keyframes yf-similar-shimmer { from { background-position: 110% 0; } to { background-position: -110% 0; } }
.yf-similar-card:hover .yf-similar-card__poster {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 20px 44px rgba(0,0,0,.48), 0 0 22px rgba(86,206,170,.13);
}
.yf-similar-card__poster img { width: 100%; height: 100%; display: block; object-fit: cover; }
.yf-similar-card__poster span {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #07120e;
  background: #56ceaa;
  font-size: 12px;
  font-weight: 900;
}
.yf-similar-card h3 {
  margin: 11px 0 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.yf-similar-card p { margin: 5px 0 0; color: #818985; font-size: 12px; }
@media (min-width: 680px) { .yf-similar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .yf-similar__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

@media (max-width: 767px) {
  .yf-movie-hero__content { align-items: flex-start; }
  .yf-series-subscription { align-items: stretch; flex-direction: column; }
  .yf-series-subscription__actions { flex-basis: auto; width: 100%; }
  .yf-movie-hero {
    min-height: 0;
    background-position: center top;
  }

  .yf-movie-hero__veil {
    background: linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0.88) 55%, rgba(0, 0, 0, 0.42) 100%);
  }

  .yf-movie-poster { max-width: 240px; margin: 0 auto; }
}

@media (min-width: 768px) {
  .yf-movie-hero__content { flex-direction: row; align-items: flex-start; }
  .yf-movie-hero__poster-column { flex: 0 0 30%; width: 30%; min-width: 220px; max-width: 320px; }
}

@media (min-width: 1280px) and (min-height: 700px) {
  .yf-watch-header, .yf-watch-nav { min-height: 82px; }
  .yf-movie-hero, .yf-movie-hero__media { min-height: 820px; }
}

@media (max-width: 479px) {
  .yf-back-link:not(.yf-back-link--telegram) span:last-child { display: none; }
  .yf-back-link:not(.yf-back-link--telegram) { width: 40px; justify-content: center; padding: 0; }
  .yf-back-link--telegram { min-width: 40px; }
  .yf-watch-brand { font-size: 16px; }
  .yf-player-tabs { width: 100%; }
  .yf-player-tab { flex: 1; min-width: 0; }
  .yf-player-section { border-radius: 13px; }
  .yf-player-stage,
  .yf-player-stage iframe,
  .yf-player-stage ins,
  .yf-player-stage > div:not(.yf-player-loading):not(.yf-player-unavailable) {
    min-height: 0;
  }
  .yf-telegram-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .yf-telegram-cta__button {
    width: 100%;
  }
  .yf-seo-article { margin-top: 28px; border-radius: 16px; }
  .yf-seo-scenes li, .yf-seo-moments li { gap: 12px; padding: 15px; }
  .seo-number-badge { width: 34px; height: 34px; }
  .yf-player-toast { right: 16px; bottom: 16px; left: 16px; max-width: none; }
}

@media (max-width: 430px) {
  .yf-movie-hero__content,
  .yf-player-section,
  main {
    padding-inline: 12px;
  }

  .yf-movie-footer__inner {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
