.bf-watch {
  --watch-speed: 180ms;
  --watch-bg: var(--surface, #131a16);
  --watch-soft: var(--surface-2, #19231d);
  --watch-text: var(--text, #eef5f0);
  --watch-muted: var(--muted, #9aaba0);
  --watch-border: var(--border, #28342c);
  --watch-accent: var(--watch_accent, var(--accent, #57c77a));
  --watch-on-accent: var(--watch_accent_font, var(--on-accent, #07100a));
  width: 100%;
  color: var(--watch-text);
  font: 500 15px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  overflow-x: clip;
}

.bf-watch *, .bf-watch *::before, .bf-watch *::after { box-sizing: border-box; }
.bf-watch [hidden] { display: none !important; }
.bf-watch button, .bf-watch select { font: inherit; }
.bf-watch__shell { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; overflow-x: clip; background: var(--watch-bg); border: 1px solid var(--watch-border); border-radius: 12px; box-sizing: border-box; }

.bf-watch__setup { display: none !important; }
.bf-watch__setup-copy { align-self: center; display: grid; gap: 2px; }
.bf-watch__setup-copy strong { font-size: 1rem; }
.bf-watch__setup-copy span { color: var(--watch-muted); font-size: .84rem; }
.bf-watch__field { min-width: 0; display: grid; gap: 6px; color: var(--watch-muted); font-size: .78rem; font-weight: 700; }
.bf-watch__select {
  width: 100%;
  min-height: 44px;
  padding: 8px 36px 8px 11px;
  color: var(--watch-text);
  background: var(--watch-bg);
  border: 1px solid var(--watch-border);
  border-radius: 8px;
  cursor: pointer;
}
.bf-watch__select:disabled { cursor: wait; opacity: .65; }

.bf-watch__bar {
  min-height: 44px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 8px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--watch-border);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}
.bf-watch__sources {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bf-watch__sources-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  overflow: visible;
}
.bf-watch__dynamic-sources { display: contents; }
.bf-watch__sources-menu { display: none; }

.bf-watch__source, .bf-watch__action, .bf-watch__queue-toggle, .bf-watch__queue-row, .bf-watch__facade-play, .bf-watch__ctrl-btn { appearance: none; border: 0; cursor: pointer; }
.bf-watch__source {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--watch-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  font-size: .86rem;
  transition: color var(--watch-speed), background var(--watch-speed), border-color var(--watch-speed);
}
.bf-watch__source:hover, .bf-watch__source:focus-visible { color: var(--watch-text); background: var(--watch-soft); border-color: var(--watch-border); }
.bf-watch__source--active { color: var(--watch-on-accent); background: var(--watch-accent); border-color: var(--watch-accent); }
.bf-watch__source--active:hover, .bf-watch__source--active:focus-visible { color: var(--watch-on-accent); background: var(--watch-accent); }
.bf-watch__source--trailer:not(.bf-watch__source--active) { border-color: var(--watch-border); }
.bf-watch__source-icon, .bf-watch__action-icon { width: 19px; height: 19px; flex: 0 0 19px; fill: currentColor; }

.bf-watch__action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--watch-text);
  background: var(--watch-soft);
  border: 1px solid var(--watch-border);
  border-radius: 8px;
  transition: color var(--watch-speed), border-color var(--watch-speed);
}
.bf-watch__action:hover, .bf-watch__action:focus-visible, .bf-watch__action--active { color: var(--watch-accent); border-color: var(--watch-accent); }

.bf-watch__stage, .bf-watch__viewport { position: relative; width: 100%; min-width: 0; max-width: 100%; }
.bf-watch__viewport { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.bf-watch__embed { display: block; width: 100%; max-width: none; height: 100%; border: 0; background: #000; position: relative; z-index: 1; }

/* Pre-play facade: pure black stage, native-style chrome */
.bf-watch__facade-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
  pointer-events: none;
}
.bf-watch__facade-layer .bf-watch__facade-play-icon,
.bf-watch__facade-layer .bf-watch__controls,
.bf-watch__facade-layer .bf-watch__controls * {
  pointer-events: auto;
}
.bf-watch__facade-layer.is-hidden { display: none; }
/* Let an open source popup paint above the season/voice row. */
.bf-watch__facade-layer.is-selecting-source { z-index: 13; background: transparent; }

.bf-watch__facade-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  /* Only the play icon is clickable — inset:0 must not steal chrome/control hits. */
  pointer-events: none;
  cursor: default;
  border: 0;
  transition: opacity var(--watch-speed), transform var(--watch-speed);
}
.bf-watch__facade-play.is-hidden { display: none; }
.bf-watch__facade-play:hover,
.bf-watch__facade-play:focus-visible { opacity: .88; }
.bf-watch__facade-play:active { transform: scale(.96); }
.bf-watch__facade-play-icon {
  width: clamp(52px, 9vw, 78px);
  height: clamp(52px, 9vw, 78px);
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 2px 14px rgb(0 0 0 / 55%));
}

.bf-watch__controls {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px 10px;
  color: #fff;
  background: linear-gradient(to top, rgb(0 0 0 / 88%) 0%, rgb(0 0 0 / 42%) 72%, transparent 100%);
  pointer-events: auto;
}
.bf-watch--started .bf-watch__controls { display: none; }

.bf-watch__controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 44px;
}
.bf-watch__controls-left,
.bf-watch__controls-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.bf-watch__controls-right { flex: 0 0 auto; }

.bf-watch__ctrl-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  line-height: 0;
  touch-action: manipulation;
}
.bf-watch__ctrl-btn:hover,
.bf-watch__ctrl-btn:focus-visible { background: rgb(255 255 255 / 12%); }
.bf-watch__ctrl-btn--ghost { opacity: .92; cursor: default; pointer-events: auto; }
.bf-watch__ctrl-btn--link {
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}
.bf-watch__ctrl-btn--badge { position: relative; }
.bf-watch__ctrl-btn--quality {
  width: auto;
  min-width: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  gap: 6px;
  padding: 0 8px;
  position: relative;
  pointer-events: auto;
  cursor: pointer;
}
.bf-watch__quality {
  position: relative;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}
.bf-watch__quality-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  min-width: 168px;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-width: min(240px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  color: #fff;
  background: rgb(8 10 9 / 96%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 42%);
}
.bf-watch__quality-menu[hidden] { display: none !important; }
.bf-watch__quality-option {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: rgb(255 255 255 / 92%);
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}
.bf-watch__quality-option:hover,
.bf-watch__quality-option:focus-visible {
  color: #fff;
  background: rgb(255 255 255 / 10%);
}
.bf-watch__quality-option.is-active {
  color: var(--watch-on-accent);
  background: var(--watch-accent);
}
.bf-watch__ctrl-badge {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}
.bf-watch__ctrl-time {
  min-width: 2.8em;
  color: rgb(255 255 255 / 92%);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.bf-watch__controls-progress {
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgb(255 255 255 / 22%);
  border-radius: 999px;
}
.bf-watch__controls-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--watch-accent);
  border-radius: inherit;
}

.bf-watch__status { position: static; margin: 0; padding: 8px 10px; color: #fff; background: rgb(0 0 0 / 78%); font-size: .82rem; overflow-wrap: anywhere; }
.bf-watch__status:empty { display: none; }
.bf-watch__chrome {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  max-width: calc(100% - 16px);
  padding: 0;
  /* Let iframe voice/translation menus receive clicks in gaps; only fields capture. */
  pointer-events: none;
  /* No full-bar paint — opaque plate was covering embed translation dropdowns
     (HDrezka Studio / Eng.Original) under the season/episode/lang row. */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
/* Keep the pre-play field background inside its cluster; no viewport overflow. */
.bf-watch__chrome::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  background: rgb(0 0 0 / 92%);
  border-radius: 6px;
  box-shadow: 0 1px 8px rgb(0 0 0 / 45%);
  pointer-events: none;
}
.bf-watch:not(.bf-watch--started) .bf-watch__chrome {
  display: flex;
  visibility: visible;
  opacity: 1;
}
.bf-watch--started .bf-watch__chrome { display: none; }
.bf-watch__chrome-field {
  pointer-events: auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  /* Fields stay opaque so wrapped mobile rows still mask without relying on ::before alone. */
  background: rgb(0 0 0 / 92%);
  border-radius: 6px;
  box-shadow: none;
}
label.bf-watch__chrome-field::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "⌄";
  color: rgb(255 255 255 / 78%);
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-42%);
}
.bf-watch__chrome-select {
  width: auto;
  max-width: 118px;
  min-height: 44px;
  padding: 10px 18px 10px 6px;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}
.bf-watch__chrome-select:focus-visible {
  outline: 2px solid rgb(255 255 255 / 45%);
  outline-offset: 2px;
}
/* Wider than «Русский» so the mask + select cover typical embed «Дубл.» tails. */
.bf-watch__chrome-field--language .bf-watch__chrome-select {
  max-width: 168px;
  min-width: 7.25em;
}
.bf-watch__chrome-field--quality .bf-watch__chrome-select { max-width: 148px; }
.bf-watch--trailer .bf-watch__chrome-field--season,
.bf-watch--trailer .bf-watch__chrome-field--episode { display: none; }
.bf-watch__wait { position: absolute; inset: 0; z-index: 3; display: none; pointer-events: none; background: rgb(5 8 6 / 58%); }
.bf-watch__wait::after { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; content: ""; transform: translate(-50%, -50%); border: 3px solid rgb(255 255 255 / 35%); border-top-color: var(--watch-accent); border-radius: 50%; animation: bf-watch-spin 700ms linear infinite; }

.bf-watch__queue { border-top: 1px solid var(--watch-border); }
.bf-watch__queue-toggle { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 9px 13px; color: var(--watch-text); background: var(--watch-soft); font-weight: 750; }
.bf-watch__queue-toggle span:last-child { transition: transform var(--watch-speed); }
.bf-watch__queue-toggle[aria-expanded="true"] span:last-child { transform: rotate(180deg); }
.bf-watch__queue--hidden .bf-watch__queue-inner { display: none; }
.bf-watch__queue-inner { max-height: 264px; overflow: auto; }
.bf-watch__queue-stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; padding: 10px; }
.bf-watch__queue-row { min-height: 44px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 7px; padding: 6px 8px; color: var(--watch-text); text-align: left; background: var(--watch-bg); border: 1px solid var(--watch-border); border-radius: 8px; }
.bf-watch__queue-row:hover, .bf-watch__queue-row--active { background: var(--watch-soft); border-color: var(--watch-muted); }
.bf-watch__queue-num { width: 25px; height: 25px; display: grid; place-items: center; background: var(--watch-soft); border-radius: 50%; font-size: .75rem; }
.bf-watch__queue-row--active .bf-watch__queue-num { color: var(--watch-on-accent); background: var(--watch-accent); }
.bf-watch__queue-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Cinema strip under player: always dark (like rights). Fixed light ink —
   theme --text/--muted go dark in Day and would be invisible on #0c100e. */
.bf-watch__hint {
  margin: 0;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  padding: 10px 12px;
  border-top: 1px solid #28342c;
  background: #0c100e;
  color: #c5d0c9;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  box-sizing: border-box;
}
.bf-watch__hint-main { color: #eef5f0; }
.bf-watch__hint-sep { color: #9aaba0; font-weight: 500; }
.bf-watch__hint-accent { color: #57c77a; font-weight: 750; }
.bf-watch__retry {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #65776b;
  border-radius: 8px;
  background: transparent;
  color: #eef5f0;
  font: inherit;
  cursor: pointer;
}
.bf-watch__retry:hover { background: #28342c; }

.bf-watch__rights {
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--watch-border);
  background: #0a0d0b;
  color: #f2f5f3;
  text-align: center;
}
.bf-watch__rights-text,
.bf-watch__rights-contacts {
  margin: 0 auto;
  max-width: 62ch;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
}
.bf-watch__rights-contacts { margin-top: 6px; }
.bf-watch__rights-mail {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bf-watch__rights-mail:hover,
.bf-watch__rights-mail:focus-visible { color: var(--watch-accent); }

.bf-watch__next {
  display: flex;
  justify-content: center;
  padding: 10px 12px 14px;
  border-top: 1px solid var(--watch-border);
  background: var(--watch-soft);
}
.bf-watch__next-link {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--watch-on-accent);
  background: var(--watch-accent);
  border: 1px solid rgb(0 0 0 / 28%);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 12%) inset, 0 6px 14px rgb(0 0 0 / 22%);
  font: 750 0.95rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--watch-speed), transform var(--watch-speed);
}
.bf-watch__next-link:hover,
.bf-watch__next-link:focus-visible {
  filter: brightness(1.06);
  text-decoration: none;
}
.bf-watch__next-link:active { transform: translateY(1px); }
.bf-watch__next-link span {
  font-weight: 650;
  opacity: .92;
  white-space: nowrap;
}
.bf-watch__next-end {
  margin: 0;
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--watch-muted);
  background: var(--watch-bg);
  border: 1px solid var(--watch-border);
  border-radius: 10px;
  font: 750 0.95rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.bf-watch__next-end[hidden] { display: none; }
.bf-watch__notice {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: center;
  min-height: clamp(180px, 42vw, 320px);
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  color: var(--watch-muted);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3%), transparent 42%),
    var(--watch-soft);
}
.bf-watch__notice strong {
  color: var(--watch-text);
  font-size: 1.08rem;
  font-weight: 750;
}
.bf-watch__notice span { max-width: 36rem; font-size: .92rem; line-height: 1.45; }
.bf-watch__notice-hint { color: var(--watch-muted); font-size: .8rem; }
.bf-watch__viewport--empty {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 2.5%), transparent 50%),
    var(--watch-soft);
}
.bf-watch__viewport--empty .bf-watch__embed { opacity: 0; pointer-events: none; }
.bf-watch--error .bf-watch__status {
  text-align: center;
  background: rgb(18 24 20 / 92%);
  border: 1px solid var(--watch-border);
  box-shadow: 0 10px 28px rgb(0 0 0 / 28%);
}
.bf-watch__debugbox { margin-top: 12px; padding: 14px; background: var(--watch-bg); border: 1px solid var(--watch-border); border-radius: 10px; }
.bf-watch__debugbox summary { cursor: pointer; }
.bf-watch__debugbox pre { max-height: 360px; overflow: auto; white-space: pre-wrap; }
.bf-watch--error .bf-watch__shell { border-color: #a94343; }
.bf-watch--error .bf-watch__status { background: rgb(124 30 30 / 94%); }
.bf-watch--failover .bf-watch__status {
  display: block;
  max-width: none;
  text-align: left;
  padding: 10px 12px;
  background: rgb(24 48 36 / 94%);
  border: 1px solid rgb(70 140 100 / 55%);
  box-shadow: 0 8px 22px rgb(0 0 0 / 28%);
}
.bf-watch button:focus-visible, .bf-watch select:focus-visible, .bf-watch a:focus-visible, .bf-watch summary:focus-visible { outline: 3px solid var(--watch-accent); outline-offset: 2px; }

@keyframes bf-watch-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 900px) {
  .bf-watch__setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-watch__setup-copy { grid-column: 1 / -1; }
  .bf-watch__queue-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .bf-watch__shell { border-radius: 10px; max-width: 100%; }
  .bf-watch__setup { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .bf-watch__setup-copy { grid-column: auto; }
  .bf-watch__bar {
    min-height: 44px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 8px;
  }
  .bf-watch__sources { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .bf-watch__sources-menu { display: none; }
  .bf-watch__sources-list {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    max-height: none;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .bf-watch__dynamic-sources {
    display: flex;
    flex: 1 0 100%;
    min-width: 0;
    gap: 4px;
  }
  .bf-watch__source {
    flex: 1 1 0;
    min-width: 72px;
    min-height: 44px;
    justify-content: center;
    padding: 8px 6px;
    font-size: .8rem;
    gap: 0;
    touch-action: manipulation;
  }
  .bf-watch__source-icon { display: none; }
  .bf-watch__action {
    width: auto;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }
  /* Keep the full 16:9 provider frame on narrow phones. */
  .bf-watch__viewport { min-height: 0; aspect-ratio: 16 / 9; }
  .bf-watch__facade-play-icon { width: 56px; height: 56px; }
  .bf-watch__controls { padding: 6px 8px 8px; gap: 5px; }
  .bf-watch__ctrl-time { font-size: 11px; }
  .bf-watch__chrome {
    top: 8px;
    left: 8px;
    gap: 4px 8px;
    max-width: calc(100% - 16px);
    box-sizing: border-box;
  }
  .bf-watch__chrome-select {
    max-width: min(110px, 36vw);
    min-height: 44px;
    font-size: 12px;
    padding-right: 18px;
    touch-action: manipulation;
  }
  .bf-watch__chrome-field--language .bf-watch__chrome-select {
    max-width: min(148px, 46vw);
    min-width: min(7.25em, 40vw);
  }
  .bf-watch__chrome-field--quality .bf-watch__chrome-select { max-width: min(140px, 42vw); }
  .bf-watch__quality-menu { min-width: 150px; max-width: min(240px, calc(100vw - 24px)); }
  .bf-watch__queue-stack { grid-template-columns: 1fr; padding: 8px; }
  .bf-watch__status { inset: auto 8px 8px; }
  .bf-watch__hint { min-height: 44px; padding: 10px 8px; font-size: .78rem; gap: 4px 6px; line-height: 1.35; }
  .bf-watch__rights { padding: 8px 10px 10px; }
  .bf-watch__rights-text,
  .bf-watch__rights-contacts { font-size: .72rem; }
  .bf-watch__next { padding: 8px 8px 12px; }
  .bf-watch__next-link,
  .bf-watch__next-end {
    max-width: none;
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .bf-watch__source {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 8px;
    font-size: .76rem;
  }
  .bf-watch__chrome-select { max-width: min(96px, 34vw); }
  .bf-watch__chrome-field--language .bf-watch__chrome-select {
    max-width: min(128px, 44vw);
  }
  .bf-watch__hint { font-size: .74rem; }
}

/* Phone landscape only — do not stretch the desktop player taller than 16:9 */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 820px) {
  .bf-watch__setup { padding: 8px 10px; }
}

/* Desktop: keep a stable landscape player frame at every desktop size */
@media (min-width: 821px) {
  .bf-watch__stage,
  .bf-watch__viewport {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-watch *, .bf-watch *::before, .bf-watch *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .bf-watch__wait::after {
    animation: none !important;
    border-top-color: rgb(255 255 255 / 55%);
  }
  .bf-watch__facade-play:hover,
  .bf-watch__facade-play:focus-visible,
  .bf-watch__next-link:hover,
  .bf-watch__next-link:focus-visible {
    transform: none;
  }
}
