@charset "UTF-8";
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-v53-cyrillic_latin-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6f2;
  --surface: #fff;
  --surface-2: #e9efe9;
  --text: #162019;
  --muted: #4f5b53;
  --border: #d8e1da;
  --accent: #217a45;
  --accent-hover: #1a6438;
  --accent-soft: rgba(33, 122, 69, 0.1);
  --on-accent: #fff;
  --status-error: #a12f3e;
  --status-success: #1a6438;
  --shadow: 0 3px 12px rgba(14, 22, 17, 0.08);
  --header-bg: #fff;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Oswald", var(--font-ui);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c110e;
  --surface: #131a16;
  --surface-2: #19231d;
  --text: #eef5f0;
  --muted: #9aaba0;
  --border: #28342c;
  --accent: #57c77a;
  --accent-hover: #6bd78b;
  --accent-soft: rgba(87, 199, 122, 0.1);
  --on-accent: #07100a;
  --status-error: #ff9ba7;
  --status-success: #6bd78b;
  --shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
  --header-bg: #131a16;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  /* Allow narrow viewports. */
  min-width: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font: 400 16px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
body.mobile-menu-active { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; color: var(--text); line-height: 1.2; }
h1, h2, .section-heading h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.15rem; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.is-hidden { display: none !important; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-container { width: min(calc(100% - 32px), 1240px); margin-inline: auto; }
.site-shell { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { position: relative; z-index: 1; flex: 1 0 auto; padding: 0 0 48px; }
.site-main > .site-container {
  display: flow-root;
  min-width: 0;
  min-height: 260px;
  padding: 20px;
  overflow-x: clip;
  background: var(--surface);
}
.content-wrap,
.content-wrap-inner {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}
.home-heading { max-width: 760px; margin: 0 0 24px; }
.home-heading h1,
.home-heading p { margin-bottom: 8px; }
.home-heading h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.home-heading__eyebrow { color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.skip-links {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  color: var(--on-accent);
  background: var(--accent-hover);
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: static;
  width: auto;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  outline: 3px solid var(--on-accent);
  outline-offset: 3px;
}
.site-main:focus,
#bohfilm-player-tabs:focus,
#all-serials:focus {
  outline: 0;
}
.site-main:focus-visible,
#bohfilm-player-tabs:focus-visible,
#all-serials:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.button,
button.button,
.filter-toggle,
.comment-submit,
.load-more,
.load-more-comments {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--on-accent);
  background: var(--accent-hover);
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}
:where(.button, button.button, .filter-toggle, .comment-submit, .load-more, .load-more-comments):hover { background: var(--accent-hover); }
:where(.button, button.button, .filter-toggle, .comment-submit, .load-more, .load-more-comments)[aria-busy="true"] { cursor: progress; opacity: 0.75; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
}
.site-header__inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(180px, 420px) auto;
  align-items: center;
  gap: 12px;
  padding-inline: 20px;
  background: var(--header-bg);
  box-shadow: var(--shadow);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 220px; justify-self: start; }
.site-brand__mark, .site-brand__mark > * { display: block; flex: 0 0 auto; }
.site-brand__mark img { width: 40px; height: 30px; object-fit: contain; }
.site-brand__mark--custom, .site-brand__mark--custom > * { max-width: 36px; max-height: 32px; overflow: hidden; }
.site-brand__mark--custom img { width: 36px; height: 32px; object-fit: contain; }
.site-brand__name { font: 700 1.25rem/1.1 var(--font-ui); letter-spacing: 0.035em; white-space: nowrap; }
.header-menu { min-width: 0; }
.primary-menu__head { display: none; }
.header-menu ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.header-menu li { position: relative; }
.header-menu a,
.header-menu .nolink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}
.header-menu a:hover, .header-menu .current-menu-item > a, .header-menu .nolink { color: var(--text); background: var(--surface-2); }
.header-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.header-menu li:hover > .sub-menu, .header-menu li:focus-within > .sub-menu { display: block; }
.header-menu .sub-menu a { white-space: normal; }
.header-search { min-width: 0; }
.search-block-inner { position: relative; }
.search-form { position: relative; display: flex; min-width: 0; }
.search-form .input-text { position: relative; flex: 1 1 auto; min-width: 0; }
.search-form label { flex: 1 1 auto; min-width: 0; }
.search-field,
.search-form input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 50px 10px 16px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.search-submit {
  position: absolute;
  inset: 1px 1px 1px auto;
  width: 46px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.search-submit svg { color: inherit; fill: currentColor; stroke: currentColor; }
.search-results-wrap {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 120;
  max-height: min(60vh, 520px);
  overflow: auto;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.search-results-wrap .search-results a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 8px; border-radius: 8px; }
.search-results-wrap .search-results a:hover { background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.theme-toggle--end {
  justify-self: end;
  z-index: 1;
}
.header-action, .header-menu-toggle, .primary-menu__close, .header-liked-episodes__close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}
.header-menu .primary-menu__random { display: none; }
.header-action:hover { background: var(--surface-2); }
.header-action--random svg { fill: currentColor; stroke: currentColor; }
.header-action__label { font-size: 0.88rem; font-weight: 700; }
.header-action--random { color: var(--muted); }
.header-liked-episodes { position: relative; }
.header-liked-episodes__count {
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: inline-grid;
  place-items: center;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
}
.header-liked-episodes__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 130;
  width: min(360px, calc(100vw - 32px));
  max-height: min(65vh, 540px);
  overflow: auto;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.header-liked-episodes__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.header-liked-episodes__empty { color: var(--muted); font-size: 0.9rem; }
.header-liked-episodes__list a { display: block; padding: 10px; border-radius: 8px; }
.header-liked-episodes__list a:hover { background: var(--surface-2); }
.theme-toggle__moon, html[data-theme="dark"] .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__moon { display: block; }
.theme-toggle {
  min-width: 0;
  gap: 8px;
  padding-inline: 12px;
}
.theme-toggle__caption { font-size: 0.78rem; font-weight: 750; letter-spacing: 0.03em; }
html[data-theme="dark"] .theme-toggle__caption--day { display: none; }
html:not([data-theme="dark"]) .theme-toggle__caption--night { display: none; }
.site-footer__rights {
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  text-align: center;
}
.site-footer__rights-text,
.site-footer__rights-contacts {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}
.site-footer__rights-contacts { margin-top: 6px; }
.site-footer__rights-mail {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__rights-mail:hover,
.site-footer__rights-mail:focus-visible { color: var(--accent); }
.content-wrap, .content-sidebar-wrap, .content-wrap-inner { min-width: 0; max-width: 100%; }
.content-wrap.full-width, .content-wrap-inner { width: 100%; }
.main-block, .film-player-wrap, .film-related, .bohfilm-episodes, .comments-wrap, .bohfilm-article-block, .rating-scores, .gallery-block, .card-bg {
  margin-block: 28px;
}
.section-heading { margin-bottom: 18px; }
.section-heading--row, .tabs-block > header, .archive-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-heading p, .tabs-block > header p, .archive-description, .content-none { color: var(--muted); }
.breadcrumbs, .breadcrumb,
.breadcrumbs :where(ul, ol), .breadcrumb :where(ul, ol) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 14px;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}
.breadcrumbs :where(ul, ol), .breadcrumb :where(ul, ol) { margin: 0; }
.breadcrumbs li, .breadcrumb li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.breadcrumbs li::marker, .breadcrumb li::marker { content: ""; }
.breadcrumbs a:hover, .breadcrumb a:hover { color: var(--accent); }
.single .content-wrap-inner > :where(.film-player-wrap, .film-related, .bohfilm-episodes, .comments-wrap, .bohfilm-article-block, .rating-scores, .gallery-block, .bohfilm-rating-scores, .bohfilm-parts-carousel, .bohfilm-trailer, .serial-watch-layout),
.single-serial .content-wrap-inner > :where(.film-player-wrap, .film-related, .bohfilm-episodes, .comments-wrap, .bohfilm-article-block, .rating-scores, .gallery-block, .bohfilm-rating-scores, .bohfilm-parts-carousel, .bohfilm-trailer, .serial-watch-layout) {
  margin-block: 0;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.articles-list, .card-view, .grid-view {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 16px;
  align-items: start;
}
.material-card { min-width: 0; }
.material-card__link { display: block; border-radius: 11px; }
.material-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface-2);
  border: 0;
  border-radius: 11px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.material-card__poster img { width: 100%; height: 100%; object-fit: cover; }
.material-card__poster img[hidden] { display: none; }
.material-card--episode .material-card__poster { aspect-ratio: 16 / 9; }
.material-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; }
.material-card__link:hover .material-card__poster,
.material-card__link:focus-visible .material-card__poster { transform: translateY(-2px); box-shadow: var(--shadow); }
.material-card__rating, .material-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  color: var(--on-accent);
  background: var(--accent-hover);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}
.material-card__rating span { margin-right: 4px; opacity: 1; font-size: 0.82rem; }
.material-card__status { top: auto; bottom: 10px; background: rgba(12, 17, 14, 0.82); color: #fff; }
.material-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(5, 10, 7, 0.28);
  opacity: 0;
  transition: opacity 180ms ease;
}
.material-card__play svg { width: 52px; height: 52px; padding: 13px; color: var(--on-accent); fill: currentColor; background: var(--accent-hover); border-radius: 50%; }
.material-card__link:hover .material-card__play,
.material-card__link:focus-visible .material-card__play { opacity: 1; }
.material-card__body { display: block; padding: 11px 2px 0; }
.material-card__title {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.material-card__meta { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 0.84rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.load-more { margin: 24px auto 0; border: 0; background: transparent; padding: 0; display: flex; }
.load-more .button { pointer-events: none; }
.tabs-block { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.tabs-wrap { max-width: 100%; overflow: auto; }
.tabs { display: flex; gap: 4px; padding: 3px; background: var(--surface-2); border-radius: 9px; }
.tab-item { min-height: 44px; padding: 8px 13px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.tab-item.active { color: var(--on-accent); background: var(--accent); }
.tab-content { display: none; min-height: 350px; padding-top: 20px; }
.tab-content.active { display: block; }
.featured-carousel { padding: 0; background: transparent; border: 0; border-radius: 0; }
.splide__slide { min-width: 0; }
.splide__arrows { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.splide__arrow {
  position: static;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  opacity: 1;
  transform: none;
}
.main-filter { padding: 28px 0; background: transparent; border-block: 1px solid var(--border); border-radius: 0; }
#anime-filter-form { padding-top: 22px; border-top: 1px solid var(--border); }
.bohfilm-filter-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bohfilm-filter-category { position: relative; cursor: pointer; }
.bohfilm-filter-category input { position: absolute; opacity: 0; pointer-events: none; }
.bohfilm-filter-category span { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 13px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; }
.bohfilm-filter-category.is-active span, .bohfilm-filter-category input:checked + span { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.input-select, .input-range { position: relative; min-width: 0; }
.input-select label, .input-range label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.input-select select, .input-range input, .comment-form input, .comment-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.input-select > svg { display: none; }
.bohfilm-year-range__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#anime-filter-form > .button, #anime-filter-form button[type="submit"] { margin-top: 20px; }
#filter-results.active { margin-top: 24px; }
.archive-info { margin-bottom: 24px; }
.archive-description, .seo, .content-prose, .bohfilm-article-block {
  max-width: 820px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.archive-description { margin-bottom: 28px; }
.content-prose, .bohfilm-article-block { margin-inline: auto; }
.content-prose :where(p, li), .post-content :where(p, li) { max-width: 72ch; }
.content-prose a, .post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 8px; }
.pagination .current { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.content-none { padding: 32px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.description404 .num { font: 700 clamp(5rem, 16vw, 12rem)/0.9 "Oswald", sans-serif; color: var(--accent); }
.bohfilm-404 { display: grid; justify-items: start; gap: 12px; max-width: 36rem; padding: 12px 0 40px; }
.bohfilm-404__code { margin: 0; color: var(--accent); font: 700 clamp(3.4rem, 14vw, 7rem)/0.9 "Oswald", sans-serif; }
.bohfilm-404 h1 { margin: 0; }
.bohfilm-404__lead { margin: 0; max-width: 38ch; color: var(--muted); }
.bohfilm-404-actions { margin: 8px 0 0; }
.bohfilm-404-home { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 18px; color: var(--on-accent); background: var(--accent); border-radius: 8px; font-weight: 750; }
.bohfilm-404-home:hover { filter: brightness(1.06); }
.bohfilm-episodes__thumb--placeholder {
  display: grid;
  place-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  color: var(--muted);
  background: linear-gradient(160deg, var(--surface-2), var(--bg));
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}
html.bf-orienting, html.bf-orienting body { overflow-x: clip; }
.film-player-wrap.bohfilm-player-block,
.film-player-wrap.bohfilm-player-block .bohfilm-player,
.film-player-wrap.bohfilm-player-block .bf-watch,
.film-player-wrap.bohfilm-player-block .bf-watch__shell,
.film-player-wrap.bohfilm-player-block .bf-watch__stage,
.film-player-wrap.bohfilm-player-block .bf-watch__viewport,
.film-player-wrap.bohfilm-player-block .post-video {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.film-player-wrap.bohfilm-player-block .bf-watch__embed,
.film-player-wrap.bohfilm-player-block .post-video iframe {
  width: 100%;
  max-width: none;
}
html[data-theme="light"] .bf-watch__hint{background:#0c100e;border-top-color:#28342c;color:#c5d0c9}
html[data-theme="light"] .bf-watch__hint-main{color:#eef5f0}
html[data-theme="light"] .bf-watch__hint-sep{color:#9aaba0}
html[data-theme="light"] .bf-watch__hint-accent{color:#57c77a}
html[data-theme="dark"] .bohfilm-share__btn--max{--share-color:#9B8CFF}
html[data-theme="dark"] .bohfilm-share__btn--telegram{--share-color:#5EB8E8}
html[data-theme="dark"] .bohfilm-share__btn--vk{--share-color:#5BA3FF}
html[data-theme="dark"] .bohfilm-share__btn--ok{--share-color:#E09040}
html[data-theme="dark"] .bohfilm-share__btn--viber{--share-color:#A99BE0}
html[data-theme="dark"] .bohfilm-share__btn--whatsapp{--share-color:#3DCF7A}
html[data-theme="dark"] .bohfilm-share__btn--copy{--share-color:#A0B0C0}
html[data-theme="dark"] .bohfilm-share__btn--copy.is-copied{--share-color:#3DCF7A;color:#3DCF7A;border-color:#3DCF7A}
.bohfilm-episodes__empty{margin:0;padding:16px;color:var(--muted);text-align:center;font-size:.95rem;font-weight:650;background:var(--surface-2);border:1px dashed var(--border);border-radius:10px}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 820px) {
  .bf-watch__viewport { min-height: 42vh; }
}
@media (min-width: 821px) {
  .bf-watch__stage,
  .bf-watch__viewport,
  .post-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    min-height: 0 !important;
    max-height: none;
  }
}
.film-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-areas:
    "poster heading"
    "poster summary"
    "poster facts";
  grid-template-rows: auto auto 1fr;
  gap: 0 24px;
  align-items: start;
  padding: 4px 0 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.film-card--episode { display: block; padding: 4px 0 24px; }
.film-card--episode .film-heading h1 { max-width: 38ch; font-size: clamp(1.55rem, 2.2vw, 1.9rem); }
.film-card__heading { grid-area: heading; min-width: 0; }
.film-card-left { grid-area: poster; min-width: 0; }
.film-card__summary { grid-area: summary; min-width: 0; }
.film-card__facts { grid-area: facts; min-width: 0; }
.film-poster-media { position: relative; display: block; overflow: visible; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; box-shadow: none; }
.poster-zoom-wrap { position: relative; display: block; overflow: hidden; border-radius: 8px 8px 0 0; }
.poster-image { width: 200px; height: 300px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 0; }
.poster-zoom-icon { position: absolute; right: 6px; bottom: 6px; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.62); border-radius: 50%; opacity: 0; transition: opacity 180ms ease; }
.poster-zoom-wrap:hover .poster-zoom-icon, .poster-zoom-wrap:focus-visible .poster-zoom-icon { opacity: 1; }
.film-heading h1 { max-width: 34ch; margin: 0 0 10px; font: 700 clamp(1.7rem, 2.3vw, 2.15rem)/1.16 var(--font-heading); letter-spacing: 0.005em; }
.film-desc-wrap { color: var(--muted); font-size: 0.95rem; line-height: 1.62; }
.film-desc-inner { max-width: 76ch; }
.film-desc-inner.collapsed { position: relative; max-height: 6.4em; overflow: hidden; }
.film-desc-inner.collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 2.6em; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.bohfilm-season-descs {
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  max-width: 76ch;
  border-top: 1px solid var(--border);
}
.bohfilm-season-descs__title {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.bohfilm-season-descs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bohfilm-season-descs__item {
  margin: 0;
  padding: 0.7rem 0 0.8rem;
  border-bottom: 1px solid var(--border);
}
.bohfilm-season-descs__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.bohfilm-season-descs__heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.bohfilm-season-descs__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.3rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bohfilm-season-descs__label { min-width: 0; }
.bohfilm-season-descs .film-desc-wrap { margin: 0; }
.bohfilm-season-descs .film-desc-inner.collapsed::after {
  background: linear-gradient(transparent, var(--surface));
}
.bohfilm-season-descs .film-desc-more {
  width: auto;
  min-width: 0;
  justify-content: flex-start;
  margin-top: 6px;
  padding: 0 2px;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
}
.bohfilm-season-descs .film-desc-more:hover,
.bohfilm-season-descs .film-desc-more:focus-visible {
  color: var(--text);
  background: transparent;
  border-color: transparent;
}
.bohfilm-share__btn--max svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.film-desc-more {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 12px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
}
.film-desc-more:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--accent);
  text-decoration: none;
}
.film-desc-more:focus-visible {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--accent);
  text-decoration: none;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.film-desc-disclosure { max-width: 76ch; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.film-desc-disclosure > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-weight: 750; list-style: none; }
.film-desc-disclosure > summary::-webkit-details-marker { display: none; }
.film-desc-disclosure > summary::after { content: "+"; flex: 0 0 auto; color: var(--muted); font-size: 1.15rem; line-height: 1; }
.film-desc-disclosure[open] > summary::after { content: "−"; }
.film-desc-disclosure__body { padding: 10px 2px 0; }
.film-desc-disclosure__body > :first-child { margin-top: 0; }
.film-desc-disclosure__body > :last-child { margin-bottom: 0; }
.film-info { display: flex; min-width: 0; flex-direction: column; }
.film-info__ratings { order: 2; display: flex; align-items: center; gap: 10px; width: 100%; margin: 14px 0 0; }
.film-info__ratings-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.film-info__grid { order: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; padding-top: 8px; }
.film-info__column, .film-info__column-list { min-width: 0; }
.film-info__column-list { display: flex; flex-direction: column; }
.film-fact {
  min-width: 0;
  display: block;
  padding: 3px 0;
  border: 0;
  line-height: 1.42;
}
.film-fact--wide { grid-column: auto; }
.film-fact__label { display: inline; margin-right: 6px; color: var(--text); font-size: 0.86rem; font-weight: 750; }
.film-fact__label::after { content: ":"; }
.film-fact__value { display: inline; min-width: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 0.86rem; }
.film-fact__value > * { display: inline; }
.film-info a { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.film-info a:hover { color: var(--accent); }
.film-info__details { display: block; grid-column: auto; }
.film-info__details > summary { display: none; }
.film-info__details-content { display: flex; flex-direction: column; }
.bohfilm-genre-list { display: flex; flex-wrap: wrap; gap: 6px; }
.bohfilm-genre-list a { color: var(--text); text-decoration: none; }
.bohfilm-genre-list a:not(:last-child)::after { content: ","; color: var(--muted); }
.film-poster-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 200px;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 9px 9px;
}
.poster-action {
  position: relative;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
}
.poster-action:hover { color: var(--text); background: var(--surface-2); }
.film-poster-actions .poster-action { min-width: 0; min-height: 44px; color: var(--text); border-radius: 0; font-size: 0.78rem; }
.film-poster-actions .poster-action + .poster-action { border-left: 1px solid var(--border); }
.film-poster-actions .poster-action--watch { color: var(--on-accent); background: var(--accent-hover); }
.poster-action--bookmark { color: var(--muted); background: var(--surface); border-color: var(--border); font-weight: 700; }
.poster-action--bookmark:hover { color: var(--accent); background: var(--surface-2); border-color: var(--accent); }
.poster-action--bookmark.saved, .poster-action--bookmark.saved:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.poster-action--bookmark svg { fill: transparent; transition: fill 180ms ease; }
.poster-action--bookmark.saved svg { fill: currentColor; }
.poster-action--report { margin-left: 0; }
.likes { position: relative; height: 56px; display: grid; grid-template-columns: 74px 52px 74px; align-items: center; gap: 0; margin: 0; padding: 0; color: var(--text); border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.likes-item { width: auto; display: flex; align-items: center; justify-content: center; gap: 3px; }
.likes-item.dislike { flex-direction: row-reverse; }
.like-button { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; }
.like-button svg { fill: currentColor; }
.like-button:hover { color: var(--text); background: var(--surface-2); }
.like-button.active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.like-button.dislike svg, .like-button-icon.dislike { transform: rotate(180deg); }
.like-count { min-width: 3ch; text-align: center; font-size: 0.84rem; font-weight: 700; line-height: 1; }
.likes-circle-count { position: static; width: 52px; height: 52px; display: grid; place-items: center; color: var(--text); background: var(--surface); border: 4px solid var(--surface-2); border-radius: 50%; transform: none; }
.likes-circle-count::before { content: attr(data-score); display: grid; width: 42px; height: 42px; place-items: center; border: 3px solid var(--accent); border-radius: 50%; font-size: 1rem; font-weight: 800; line-height: 1; }
.rating-other, .content-ref-ids { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.film-info__ratings .rating-other { display: flex; flex-wrap: wrap; width: 100%; gap: 8px; }
.rating-other > * { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; font-variant-numeric: tabular-nums; }
.rating-source { color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.rating-value { min-width: 3ch; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.rating-other .shikimori-color,
.rating-other .shikimori { display: none !important; }
.film-player-wrap__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; margin-bottom: 14px; }
.film-player-wrap__title, .film-related > h2, .bohfilm-episodes h2, .rating-scores h2, .gallery-block h2 { margin: 0; font: 700 clamp(1.35rem, 2vw, 1.6rem)/1.2 var(--font-heading); letter-spacing: 0.005em; }
.film-player-wrap__heading h2,
.film-player-wrap__context { max-width: 68ch; margin: 0; color: var(--muted); font: 400 0.88rem/1.45 var(--font-ui); letter-spacing: 0; text-align: right; }
.bohfilm-player, .bohfilm-player--legacy .post-video { width: 100%; max-width: none; overflow: hidden; background: #080b0d; border-radius: 4px; }
/* Standalone empty state. */
.bohfilm-player > .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(--muted); background: var(--surface-2);
}
.bohfilm-player > .bf-watch__notice strong { color: var(--text); font-size: 1.08rem; font-weight: 750; }
.bohfilm-player > .bf-watch__notice span { max-width: 36rem; font-size: .92rem; line-height: 1.45; }
.bohfilm-player > .bf-watch__notice .bf-watch__notice-hint { font-size: .8rem; }
.post-video { aspect-ratio: 16 / 9; }
.post-video iframe { width: 100%; height: 100%; border: 0; }
.bohfilm-parts-carousel, .gallery-block, .bohfilm-gallery-strip, .rating-scores, .bohfilm-episodes, .film-related, .comments-wrap, .bohfilm-article-block, .bohfilm-trailer {
  padding: 32px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
}
.bohfilm-trailer__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.bohfilm-trailer__heading h2 {
  margin: 0;
  font: 700 clamp(1.35rem, 2vw, 1.6rem)/1.2 var(--font-heading);
}
.bohfilm-trailer__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
  max-width: 36ch;
}
.bohfilm-trailer__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0f0c;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.bohfilm-trailer__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.bohfilm-trailer__facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: #0b0f0c;
}
.bohfilm-trailer__facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.bohfilm-trailer__facade-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent, #071009);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.bohfilm-trailer__facade-label {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(7, 13, 9, 0.78);
  font-size: 0.86rem;
  font-weight: 750;
}
.bohfilm-trailer__facade:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.film-related .articles-list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.bohfilm-related-title + h2 { display: none; }
.gallery-block__list, .film-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-block img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.bohfilm-gallery-strip__scroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bohfilm-gallery-strip__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.serial-watch-layout {
  display: grid;
  gap: 0;
}
.serial-watch-layout > .film-player-wrap { min-width: 0; margin-block: 0; padding-top: 0; }
.serial-watch-layout > .bohfilm-episodes { min-width: 0; margin-block: 0; }
.serial-watch-layout > .film-related-compact { min-width: 0; }
.film-related-compact {
  margin-top: 20px;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
}
.film-related-compact__title {
  margin: 0 0 10px;
  font: 700 1.05rem/1.2 var(--font-heading);
}
.film-related-compact__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.film-related-compact__link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 6px 2px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.film-related-compact__item:last-child .film-related-compact__link { border-bottom: 0; }
.film-related-compact__link:hover { color: var(--accent); }
.film-related-compact__poster {
  width: 40px;
  height: 56px;
  object-fit: cover;
  background: var(--surface-2);
  border-radius: 4px;
}
.film-related-compact__poster--empty { display: block; }
.film-related-compact__body { display: grid; gap: 2px; min-width: 0; }
.film-related-compact__name {
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
}
.film-related-compact__meta {
  color: var(--muted);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 980px) {
  .serial-watch-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "player"
      "episodes"
      "related";
    gap: 0 20px;
    align-items: start;
  }
  .serial-watch-layout > .film-player-wrap {
    grid-area: player;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
  .serial-watch-layout > .bohfilm-episodes { grid-area: episodes; border-top: 0; padding-top: 18px; }
  .serial-watch-layout > .film-related-compact {
    grid-area: related;
    margin-top: 0;
    padding: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    align-self: start;
    max-height: min(92vh, 920px);
    overflow: auto;
  }
}
.bohfilm-episodes, .film-player-wrap { scroll-margin-top: 72px; }
.bohfilm-episodes__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bohfilm-episodes__title-group { min-width: min(100%, 320px); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-right: auto; }
.bohfilm-episodes__head h2 { margin: 0; }
.bohfilm-episodes__summary { color: var(--muted); font-size: 0.84rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bohfilm-sort-wrap { position: relative; }
.sort-current, .bohfilm-season-order-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.sort-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 190px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.bohfilm-sort-wrap.is-open .sort-list { display: grid; }
.bohfilm-sort-wrap .sort-list[hidden] { display: none; }
.sort-list-item { min-height: 44px; padding: 8px 10px; text-align: left; background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.sort-list-item:hover, .sort-list-item.active { color: var(--on-accent); background: var(--accent); }
.bohfilm-episodes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; margin-top: 10px; }
.bohfilm-episodes__season-heading { grid-column: 1 / -1; margin: 10px 0 2px; font-size: 1.05rem; }
.bohfilm-episodes__card,
.bohfilm-episodes__chip {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 6px;
  overflow: hidden;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.bohfilm-episodes__card:hover,
.bohfilm-episodes__chip:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }
.bohfilm-episodes__card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bohfilm-episodes__image-wrap,
.bohfilm-episodes__thumb,
.bohfilm-episodes__overlay-title,
.bohfilm-episodes__card .item-play { display: none; }
.bohfilm-episodes__footer { display: flex; justify-content: center; margin-top: 20px; }
.bohfilm-episodes__show-more.is-gone { display: none; }
html:not(.js) .bohfilm-episodes--single-season .bohfilm-episodes__card.is-hidden { display: flex !important; }
html:not(.js) .bohfilm-episodes--single-season .bohfilm-episodes__footer { display: none; }
.bohfilm-episodes--accordion .bohfilm-episodes__head { margin-bottom: 4px; }
.bohfilm-episodes--accordion .bohfilm-episodes__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}
.bohfilm-episodes__season {
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.bohfilm-episodes__season-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}
.bohfilm-episodes__season-summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.bohfilm-episodes__season-summary::-webkit-details-marker { display: none; }
.bohfilm-episodes__season-name { font-size: 0.98rem; }
.bohfilm-episodes__season-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.bohfilm-episodes__season-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.bohfilm-episodes__season[open] > .bohfilm-episodes__season-summary::after {
  transform: rotate(-135deg);
  translate: 0 3px;
}
.bohfilm-episodes__rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.bohfilm-episodes__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label status";
  column-gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.bohfilm-episodes__rows > .bohfilm-episodes__row:last-child,
.bohfilm-episodes__rows > :last-child > .bohfilm-episodes__row { border-bottom: 0; }
.bohfilm-episodes__row:hover { background: var(--surface); }
.bohfilm-episodes__row--current {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  box-shadow: inset 3px 0 0 var(--accent);
}
.bohfilm-episodes__row--current .bohfilm-episodes__row-label { color: var(--accent); }
.bohfilm-episodes__row-label { grid-area: label; font-size: 0.92rem; font-weight: 750; }
.bohfilm-episodes__row-status {
  grid-area: status;
  justify-self: end;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
}
.bohfilm-episodes__row-status--out { color: #3dcc6f; }
.bohfilm-episodes__check { display: inline-flex; }
.bohfilm-episodes__row--soon { cursor: default; opacity: 0.92; }
.bohfilm-episode-nav { margin: 20px 0 32px; }
.bohfilm-episode-nav__current { margin-bottom: 10px; color: var(--muted); }
.bohfilm-episode-nav__adjacent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.bohfilm-episode-nav__adjacent--single { grid-template-columns: minmax(0, 1fr); }
.bohfilm-episode-nav__adjacent-link { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; color: var(--text); font-weight: 750; text-align: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; }
.bohfilm-episode-nav__adjacent-link:hover { color: var(--accent); border-color: var(--accent); }
.bohfilm-episode-nav__chips { position: relative; padding-right: 98px; }
.bohfilm-episode-nav__chips .splide__arrows { position: absolute; top: 0; right: 0; display: flex; gap: 6px; }
.bohfilm-episode-nav__chips .splide__arrow { position: static; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; opacity: 1; transform: none; }
.bohfilm-episode-nav__chips .splide__arrow:hover:not(:disabled) { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.bohfilm-episode-nav__chips .splide__arrow:disabled { color: var(--muted); opacity: .45; }
.serial-pagination__item { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; white-space: nowrap; }
.serial-pagination__item--active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.bohfilm-episode-description { padding: 24px 0; }
.bohfilm-episode-description__lead { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.bohfilm-episode-related { padding-top: 28px; border-top: 1px solid var(--border); }
.bohfilm-episode-feedback { padding: 28px 0; border-top: 1px solid var(--border); }
.bohfilm-episode-feedback__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.bohfilm-episode-likes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-top: 0;
  grid-template-columns: none;
}
.bohfilm-episode-likes__label {
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.bohfilm-episode-likes .likes-item {
  flex: 0 0 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bohfilm-episode-likes .likes-item.dislike { flex-direction: column; }
.bohfilm-rating-scores {
  margin-block: 18px 0;
  padding: 18px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.film-player-wrap .bohfilm-rating-scores {
  margin-top: 12px;
}
.bohfilm-rating-scores--under-player {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  margin-block-end: 0;
  padding: 8px 10px;
  border-radius: 8px;
}
.bohfilm-rating-scores--under-player .bohfilm-rating-bar {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.bohfilm-rating-scores--under-player .bohfilm-rating-bar__header {
  margin-bottom: 6px;
}
.bohfilm-rating-scores--under-player .bohfilm-rating-bar__name {
  font-size: 0.78rem;
  font-weight: 750;
}
.bohfilm-rating-scores--under-player .bohfilm-rating-bar__val {
  font-size: 0.75rem;
}
.bohfilm-rating-scores--under-player .bohfilm-rating-bar__track {
  display: none;
}
.bohfilm-rating-scores--under-player .bohfilm-rating-bar__inputs {
  margin-top: 0;
  gap: 4px;
  grid-template-columns: repeat(10, minmax(44px, 1fr));
}
.bohfilm-rating-scores--under-player .bohfilm-rating-btn {
  min-height: 44px;
  height: 44px;
  padding: 0;
  font-size: 0.78rem;
  border-radius: 6px;
}
.bohfilm-rating-scores--overall .bohfilm-rating-scores__inner {
  grid-template-columns: 140px minmax(0, 1fr);
}
.bohfilm-rating-scores--overall .bohfilm-rating-scores__bars {
  grid-template-columns: 1fr;
}
.bohfilm-rating-scores--overall .bohfilm-rating-bar[data-max="10"] {
  grid-column: auto;
}
.bohfilm-rating-scores__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.bohfilm-rating-scores__heading h2 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.bohfilm-rating-scores__heading p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.bohfilm-rating-scores__inner { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.bohfilm-rating-scores__summary {
  min-height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.bohfilm-rating-scores__number { font: 700 2.6rem/1 "Oswald", sans-serif; color: var(--accent); }
.bohfilm-rating-scores__label { margin-top: 6px; color: var(--muted); font-size: 0.85rem; }
.bohfilm-rating-scores__summary--empty .bohfilm-rating-scores__number { color: var(--muted); font-size: 2rem; }
.bohfilm-rating-scores__summary--empty .bohfilm-rating-scores__label { max-width: 12ch; color: var(--text); font-weight: 700; line-height: 1.3; }
.bohfilm-rating-scores__bars { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bohfilm-rating-bar { min-width: 0; padding: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.bohfilm-rating-bar[data-max="10"] { grid-column: 1 / -1; }
.bohfilm-rating-bar__header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.bohfilm-rating-bar__name { font-weight: 750; }
.bohfilm-rating-bar__val { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.bohfilm-rating-bar__track { height: 6px; overflow: hidden; background: var(--border); border-radius: 99px; }
.bohfilm-rating-bar__fill { height: 100%; background: var(--accent); border-radius: inherit; }
.bohfilm-rating-bar__inputs { display: grid; grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 6px; justify-content: stretch; margin-top: 12px; }
.bohfilm-season-links ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.bohfilm-season-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.bohfilm-season-links a[aria-current="page"] { border-color: var(--accent); }
.bohfilm-season-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bohfilm-rating-bar[data-max="10"] .bohfilm-rating-bar__inputs { grid-template-columns: repeat(10, minmax(44px, 1fr)); }
.bohfilm-rating-scores--under-player .bohfilm-rating-bar__inputs,
.bohfilm-rating-scores--under-player .bohfilm-rating-bar[data-max="10"] .bohfilm-rating-bar__inputs {
  grid-template-columns: repeat(10, minmax(44px, 1fr));
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 3px 0 8px;
}
.bohfilm-rating-btn {
  min-width: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
}
.bohfilm-rating-btn,
.bohfilm-rating-scores__number,
.bohfilm-rating-bar__val,
.rating-score,
.rating-scores__item,
.material-card__rating,
.material-card__status,
.serial-pagination__item,
.bohfilm-episode-nav__current {
  font-variant-numeric: tabular-nums;
}
.bohfilm-rating-btn:hover, .bohfilm-rating-btn.active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.rating-scores__grid, .rating-scores-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rating-score, .rating-scores__item { padding: 16px; background: var(--surface-2); border-radius: 9px; }
.comments-wrap {
  scroll-margin-top: 96px;
  overflow: visible;
  min-height: 0;
}
.comments-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.comments-header__title-group { min-width: 0; }
.comments-title { margin: 0; font: 700 clamp(1.45rem, 2.2vw, 1.85rem)/1.2 "Oswald", sans-serif; }
.comments-number { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.comments-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  overflow: visible;
  min-height: 0;
}
.comments-layout .comment-column {
  min-width: 0;
  min-height: 0;
  overflow: visible;
}
.comments-layout .comment-respond {
  order: -1;
  margin-bottom: 0;
  min-width: 0;
  max-height: none;
  overflow: visible;
  position: static;
}
@media (min-width: 821px) {
  .comments-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.88fr);
    gap: 20px 28px;
  }
  .comments-layout .comment-column { grid-column: 1; grid-row: 1; }
  .comments-layout .comment-respond { order: 0; grid-column: 2; grid-row: 1; }
}
.comment-sorting-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.sort-comments { min-height: 44px; padding: 8px 12px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.sort-comments:hover { color: var(--text); }
.sort-comments.active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.comment-respond { margin-bottom: 22px; padding: 20px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.comment-respond .comment-avatar-picker { display: none; }
.comments-layout .comment-form .form-row.col-2 { max-width: none; grid-template-columns: 1fr; }
.comments-layout .comment-form-author { max-width: none; }
.comment-form .form-row { max-width: 420px; }
.comment-form-email { display: none !important; }
.comment-respond__intro { margin-bottom: 16px; }
.comment-respond__intro h3 { margin: 0; font-size: 1.08rem; }
.comment-respond__intro p { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.comment-form { margin: 0; }
.comment-form p { margin-bottom: 12px; }
.comment-form .form-row.col-2 { max-width: 860px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.comment-form-author { max-width: 420px; }
.comment-login-name { margin-bottom: 12px; color: var(--muted); font-size: 0.88rem; }
.comment-login-name a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 4px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.comment-form-comment-bg { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; }
.comment-form-comment-bg:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.format-buttons { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.format-button,
.emoji-item,
.comment-reaction,
.comment-reply-link,
.comment-replies-toggle,
.comment-spoiler__toggle,
.bohfilm-emoji-extended__tab,
.bohfilm-gif-picker__tab,
.comment-avatar-picker__item {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 7px;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}
.format-button:hover,
.emoji-item:hover,
.comment-reaction:hover,
.comment-reply-link:hover,
.comment-replies-toggle:hover { background: var(--surface); border-color: var(--border); }
.format-button svg { display: none; }
.format-button[data-format="b"]::before { content: "B"; font-weight: 800; }
.format-button[data-format="i"]::before { content: "I"; font-style: italic; }
.format-button[data-format="u"]::before { content: "U"; text-decoration: underline; }
.format-button[data-format="s"]::before { content: "S"; text-decoration: line-through; }
.comment-form textarea { height: 150px; min-height: 150px; padding: 14px; resize: vertical; background: var(--surface); border: 0; border-radius: 0; line-height: 1.58; }
.comment-form textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.emoji-picker { display: flex; gap: 3px; max-width: 100%; margin-top: 8px; overflow-x: auto; padding: 2px 0 7px; scrollbar-width: none; }
.emoji-picker::-webkit-scrollbar { display: none; }
.emoji-item { flex: 0 0 44px; font-size: 1.24rem; }
.emoji-item img { width: 25px; height: 25px; object-fit: contain; }
.bohfilm-emoji-extended,
.bohfilm-gif-picker { position: relative; display: inline-block; margin: 2px 8px 0 0; }
.bohfilm-emoji-extended__toggle,
.bohfilm-gif-picker__toggle { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; list-style: none; }
.bohfilm-emoji-extended__toggle::-webkit-details-marker,
.bohfilm-gif-picker__toggle::-webkit-details-marker { display: none; }
.bohfilm-emoji-extended__panel,
.bohfilm-gif-picker__panel {
  position: absolute;
  left: auto;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 25;
  width: min(560px, calc(100vw - 48px));
  max-width: min(560px, calc(100% + 48px));
  max-height: 360px;
  overflow: auto;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.bohfilm-emoji-extended__tabs,
.bohfilm-gif-picker__tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 8px; }
.bohfilm-emoji-extended__tab,
.bohfilm-gif-picker__tab { min-width: auto; white-space: nowrap; }
.bohfilm-emoji-extended__tab.is-active,
.bohfilm-gif-picker__tab.is-active { color: var(--on-accent); background: var(--accent); }
.bohfilm-emoji-extended__grid,
.bohfilm-gif-picker__grid { display: none; grid-template-columns: repeat(8, 44px); gap: 4px; }
.bohfilm-emoji-extended__grid.is-active,
.bohfilm-gif-picker__grid.is-active { display: grid; }
.bohfilm-gif-picker__item { min-width: 80px; min-height: 60px; padding: 2px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; cursor: pointer; }
.bohfilm-gif-picker__item img { width: 100%; height: 100%; object-fit: cover; }
.comment-avatar-picker { margin: 12px 0; }
.comment-avatar-picker__label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.comment-avatar-picker__scroll { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px; }
.comment-avatar-picker__item { flex: 0 0 52px; width: 52px; height: 52px; padding: 2px; border-color: var(--border); border-radius: 50%; }
.comment-avatar-picker__item.is-active { border-color: var(--accent); background: var(--accent-soft); }
.comment-avatar-picker__item img { width: 44px; height: 44px; object-fit: cover; border-radius: inherit; }
.comment-form-submit { display: flex; justify-content: flex-end; margin-top: 14px; }
#commentform .comment-submit { min-width: 220px; min-height: 44px; }
.comment-reply-info { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.comment-reply-info[hidden] { display: none; }
.comment-reply-info button { min-height: 44px; margin-left: auto; padding: 8px 12px; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 7px; cursor: pointer; }
.comment-list, .children { margin: 0; padding: 0; list-style: none; }
.comment-list > .comment,
.children > .comment { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.comment > .avatar,
.comment-avatar--letter {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}
.comment-inner { min-width: 0; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 0.82rem; }
.comment-author { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 750; }
.comment-text-wrap { margin-top: 7px; overflow-wrap: anywhere; }
.comment-text .text { max-width: 72ch; }
.comment-text .text > :last-child { margin-bottom: 0; }
.comment-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.comment-reactions { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.comment-reactions::-webkit-scrollbar { display: none; }
.comment-reaction { grid-auto-flow: column; gap: 4px; flex: 0 0 auto; }
.comment-reaction--active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.comment-reply-link,
.comment-replies-toggle { grid-auto-flow: column; gap: 7px; width: auto; color: var(--muted); }
.comment-replies-shell,
.children { grid-column: 2; min-width: 0; margin-top: 8px; }
.children { padding-left: 14px; border-left: 2px solid var(--border); }
.comment-reply-item.is-hidden { display: none; }
.comment-spoiler__content { display: inline-block; margin-left: 8px; }
.comment-gif { max-width: min(100%, 420px); border-radius: 8px; }
.load-more-comments { display: flex; justify-content: center; margin: 18px auto 0; padding: 0; background: transparent; }
.load-more-comments > .button { min-width: 190px; }
.site-footer { position: relative; z-index: 1; flex: 0 0 auto; background: transparent; border: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 40px; min-height: 108px; padding: 22px 20px 16px; background: var(--surface); border-top: 1px solid var(--border); }
.site-footer__grid--minimal {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 10px 20px 8px;
}
.site-footer__brand .site-brand { min-height: 0; gap: 8px; }
.site-footer__grid--without-support { grid-template-columns: minmax(0, 1.5fr) minmax(200px, 0.7fr); }
.site-footer__grid--without-support .site-footer__nav { justify-self: end; }
.site-footer h2 { margin-bottom: 12px; font-family: inherit; font-size: 0.92rem; text-transform: none; }
.site-footer p { max-width: 42ch; margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.site-footer p.site-footer__contacts-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: normal;
  overflow: visible;
  box-sizing: border-box;
}
.site-footer__contacts-label {
  flex: 0 0 auto;
  font-weight: 650;
  white-space: nowrap;
}
.site-footer p.site-footer__contacts-line .site-footer__rights-mail,
.site-footer p.site-footer__contacts-line a,
.site-footer p.site-footer__contacts-line .site-footer__contacts-email {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-block: 0;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  text-decoration: underline;
  word-break: normal;
  overflow-wrap: normal;
}
.site-footer__grid--minimal .site-footer__support {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.site-footer,
.site-footer__grid,
.site-footer__grid--minimal {
  max-width: 100%;
  min-width: 0;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav a, .site-footer__support a, .site-footer__legal a { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; padding-block: 5px; color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.bohfilm-share--under-player {
  display: grid;
  grid-template-columns: repeat(7, minmax(44px, 1fr));
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.bohfilm-share--under-player .bohfilm-share__label {
  grid-column: 1 / -1;
  margin-right: 0;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
}
.bohfilm-share__label { margin-right: auto; color: var(--text); font-size: 0.78rem; font-weight: 750; }
.bohfilm-share__btn {
  width: auto;
  min-width: 44px;
  min-height: 44px;
  height: auto;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  color: var(--share-color, var(--muted));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
.bohfilm-share--under-player .bohfilm-share__btn {
  width: 100%;
  min-width: 44px;
  flex: none;
  padding: 0;
  color: var(--share-color, var(--muted));
  background: var(--surface);
}
.bohfilm-share--under-player .bohfilm-share__name {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.bohfilm-share__btn svg { width: 15px; height: 15px; flex: 0 0 15px; }
.bohfilm-share__name { color: var(--text); font-size: 0.72rem; font-weight: 750; line-height: 1; white-space: nowrap; }
.bohfilm-share__btn:hover {
  color: var(--share-color, var(--accent));
  background: var(--surface-2);
  border-color: var(--share-color, var(--accent));
}
.bohfilm-share__btn:focus-visible {
  color: var(--share-color, var(--accent));
  background: var(--surface-2);
  border-color: var(--share-color, var(--accent));
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.bohfilm-share__btn--copy {
  cursor: pointer;
  font: inherit;
}
.bohfilm-share__btn--copy.is-copied {
  color: #0E7340;
  border-color: #0E7340;
}
.site-footer__bottom { min-height: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 20px; background: var(--surface); border-top: 1px solid var(--border); color: var(--muted); font-size: 0.84rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 1100px) and (max-width: 1360px) {
  .site-main { padding-bottom: 40px; }
  .site-main > .site-container { padding: 20px 24px; }
  .single .content-wrap-inner > :where(.film-player-wrap, .film-related, .bohfilm-episodes, .comments-wrap, .bohfilm-article-block, .rating-scores, .gallery-block, .bohfilm-rating-scores, .bohfilm-parts-carousel, .bohfilm-trailer, .serial-watch-layout),
  .single-serial .content-wrap-inner > :where(.film-player-wrap, .film-related, .bohfilm-episodes, .comments-wrap, .bohfilm-article-block, .rating-scores, .gallery-block, .bohfilm-rating-scores, .bohfilm-parts-carousel, .bohfilm-trailer, .serial-watch-layout) {
    padding-block: 24px;
  }
  .film-player-wrap__heading,
  .bohfilm-episodes__head {
    gap: 12px 20px;
  }
  .bohfilm-share--under-player { gap: 6px; }
  .bohfilm-rating-scores--under-player .bohfilm-rating-bar__inputs { gap: 4px; }
  .bohfilm-episodes__grid { gap: 8px; }
  .site-footer__grid,
  .site-footer__grid--minimal { padding-inline: 24px; }
  .site-footer__bottom { padding-inline: 24px; }
}
@media (max-width: 1120px) {
  .bohfilm-share--under-player .bohfilm-share__btn { min-height: 44px; }
  .bohfilm-share__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .bohfilm-share__btn--copy.is-copied::after {
    content: 'Скопировано';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    z-index: 3;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--surface-2, #e9efe9);
    border: 1px solid #0E7340;
    color: #1a6438;
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
  }
  html[data-theme="dark"] .bohfilm-share__btn--copy.is-copied::after{background:var(--surface-2,#19231d);border-color:#3DCF7A;color:#d7f5e2}
  .site-header__inner { grid-template-columns: minmax(140px, 1fr) minmax(180px, 360px) auto; gap: 12px; }
  .articles-list, .card-view, .grid-view, .film-related .articles-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bohfilm-episodes__grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
}
@media (max-width: 820px) {
  .site-header__inner { min-height: 64px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-inline: 12px 14px; }
  .site-brand { max-width: 190px; }
  .site-brand__mark img { width: 36px; height: 29px; }
  .site-brand__name { font-size: 1.24rem; }
  .header-search { display: flex; grid-column: 1 / -1; grid-row: 2; padding-bottom: 8px; }
  .header-actions { grid-column: 2; grid-row: 1; padding-right: 0; }
  .theme-toggle--end { padding-inline: 10px; touch-action: manipulation; }
  .header-menu-toggle { display: none; }
  .header-action__label { display: none; }
  .film-player-wrap__heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .film-player-wrap__heading p { text-align: left; }
  .film-player-wrap.bohfilm-player-block,
  .film-player-wrap.bohfilm-player-block .bohfilm-player,
  .film-player-wrap.bohfilm-player-block .bf-watch {
    min-width: 0;
    max-width: 100%;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__shell {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__bar {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    gap: 4px 6px;
    padding-inline: 8px;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__sources,
  .film-player-wrap.bohfilm-player-block .bf-watch__sources-list {
    min-width: 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__source,
  .film-player-wrap.bohfilm-player-block .bf-watch__action {
    min-height: 44px;
    touch-action: manipulation;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__chrome {
    max-width: calc(100% - 16px);
    box-sizing: border-box;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__chrome-select {
    max-width: min(128px, 42vw);
    touch-action: manipulation;
  }
  .film-info__ratings .rating-other {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }
  .film-info__ratings .rating-other > * {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    gap: 5px;
    padding: 6px 8px;
  }
  .film-info__ratings .rating-source {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
  }
  .film-info__ratings .rating-value { min-width: 0; }
  .film-card { grid-template-columns: 200px minmax(0, 1fr); gap: 0 20px; }
  .poster-action--report { margin-left: 0; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-list, .card-view, .grid-view, .film-related .articles-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bohfilm-episodes__grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__grid--minimal {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 20px 8px;
  }
  .site-footer__grid--minimal .site-footer__support {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .site-footer p.site-footer__contacts-line {
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
    min-height: 44px;
    font-size: 0.9rem;
  }
  .site-footer p.site-footer__contacts-line .site-footer__contacts-email,
  .site-footer p.site-footer__contacts-line a {
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
  }
  .film-desc-more { touch-action: manipulation; }
  .bohfilm-trailer__heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .bohfilm-trailer__heading p { text-align: left; }
}
@media (max-width: 979px) and (min-width: 621px) {
  .film-player-wrap.bohfilm-player-block {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
    overflow-x: clip;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__shell {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    margin-inline: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}
@media (max-width: 760px) {
  .bohfilm-rating-scores__inner { grid-template-columns: 1fr; gap: 14px; }
  .bohfilm-rating-scores__summary { min-height: 82px; grid-auto-flow: column; align-items: center; justify-content: center; gap: 10px; }
  .bohfilm-rating-scores__label { margin-top: 0; }
  .bohfilm-rating-scores__bars { grid-template-columns: 1fr; }
  .bohfilm-rating-bar[data-max="10"] { grid-column: auto; }
  .bohfilm-rating-bar__inputs { width: 100%; max-width: 100%; grid-template-columns: repeat(5, 44px); justify-content: start; overflow-x: auto; padding-bottom: 8px; }
  .bohfilm-rating-bar[data-max="10"] .bohfilm-rating-bar__inputs { grid-template-columns: repeat(10, 44px); }
  .bohfilm-rating-scores--under-player .bohfilm-rating-bar__inputs,
  .bohfilm-rating-scores--under-player .bohfilm-rating-bar[data-max="10"] .bohfilm-rating-bar__inputs {
    grid-template-columns: repeat(10, minmax(44px, 1fr));
    justify-content: start;
    gap: 6px;
  }
  .bohfilm-rating-scores--under-player .bohfilm-rating-btn {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    font-size: 0.72rem;
  }
}
@media (max-width: 620px) {
  .site-container { width: 100%; }
  .site-main { padding: 0 0 28px; }
  .site-main > .site-container {
    padding: 12px;
    overflow-x: clip;
  }
  .film-player-wrap.bohfilm-player-block {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
    overflow-x: clip;
  }
  .film-player-wrap.bohfilm-player-block .bf-watch__shell {
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
    margin-inline: -12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .site-header__inner { min-height: 56px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; gap: 6px; padding-inline: 10px 12px; }
  .site-brand { grid-column: 1; grid-row: 1; max-width: min(46vw, 160px); }
  .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .theme-toggle--end { padding-inline: 8px; gap: 5px; min-height: 44px; }
  .theme-toggle__caption { font-size: 0.72rem; }
  .header-menu-toggle { display: none; }
  .site-brand { gap: 6px; }
  .site-brand__mark img { width: 36px; height: 28px; }
  .site-brand__name { font-size: 1.05rem; }
  .header-actions { gap: 4px; }
  .articles-list, .card-view, .grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .film-related .articles-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: inline proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .film-related .articles-list::-webkit-scrollbar { display: none; }
  .film-related .material-card { flex: 0 0 calc((100% - 12px) / 2); scroll-snap-align: start; }
  .breadcrumbs { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 10px; padding-bottom: 2px; white-space: nowrap; scrollbar-width: none; }
  .breadcrumbs li:not(:first-child):not(:last-child), .breadcrumb li:not(:first-child):not(:last-child) { display: none; }
  .single-serial_episode .breadcrumbs li:nth-child(2) { display: inline-flex; min-width: 0; }
  .single-serial_episode .breadcrumbs li:nth-child(2) a { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
  .single-serial_episode .breadcrumbs li:last-child { display: none; }
  .home-heading { margin-bottom: 18px; }
  .home-heading h1 { font-size: 1.75rem; }
  .tabs-block, .featured-carousel { padding: 0; }
  .main-filter { padding: 24px 0; }
  .bohfilm-parts-carousel, .gallery-block, .bohfilm-gallery-strip, .rating-scores, .bohfilm-episodes, .film-related, .comments-wrap, .bohfilm-article-block, .bohfilm-trailer { padding: 20px 0 0; border-radius: 0; }
  .tabs-block > header, .section-heading--row, .archive-info { align-items: stretch; flex-direction: column; gap: 12px; }
  .tabs { width: max-content; min-width: 100%; }
  .tab-content { min-height: 240px; }
  .film-card {
    grid-template-columns: 144px minmax(0, 1fr);
    grid-template-areas:
      "poster heading"
      "poster summary"
      "facts facts";
    grid-template-rows: auto;
    gap: 0 14px;
    padding: 0 0 18px;
  }
  .film-card--episode { display: block; padding: 4px 0 20px; }
  .film-card--episode .film-heading h1 { font-size: clamp(1.6rem, 7.2vw, 1.85rem); }
  .film-card-left { width: 144px; justify-self: start; }
  .poster-image { width: 144px; height: 216px; }
  .likes {
    width: 144px;
    height: auto;
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
    gap: 2px;
    padding: 4px 0 2px;
    box-sizing: border-box;
  }
  .bohfilm-episode-likes {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: none;
    gap: 10px 14px;
    padding: 0;
  }
  .likes-item {
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .likes-item.dislike { flex-direction: column; }
  .like-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .likes-circle-count {
    width: 40px;
    height: 40px;
    border-width: 3px;
    justify-self: center;
  }
  .likes-circle-count::before {
    width: 32px;
    height: 32px;
    border-width: 2px;
    font-size: 0.8rem;
  }
  .like-count {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.72rem;
    line-height: 1.1;
  }
  .film-heading { margin-top: 0; }
  .film-heading h1 { max-width: none; font-size: clamp(1.4rem, 6.8vw, 1.75rem); line-height: 1.15; }
  .film-desc-wrap { font-size: 0.9rem; line-height: 1.55; }
  .film-desc-inner.collapsed { max-height: 6.2em; }
  .film-desc-more { min-height: 44px; font-size: 0.88rem; }
  .film-desc-disclosure { font-size: 0.9rem; }
  .bohfilm-season-descs { margin-top: 0.9rem; padding-top: 0.8rem; }
  .bohfilm-season-descs__title { font-size: 0.92rem; }
  .bohfilm-season-descs__heading { font-size: 0.86rem; gap: 0.4rem; }
  .bohfilm-season-descs__num { min-width: 1.45rem; height: 1.45rem; font-size: 0.74rem; }
  .bohfilm-season-descs .film-desc-more { min-height: 44px; font-size: 0.86rem; }
  .film-desc-disclosure > summary {
    min-height: 44px;
    gap: 8px;
    padding: 8px 10px;
    font-size: 0.86rem;
    line-height: 1.25;
    white-space: normal;
  }
  .film-card__facts { margin-top: 16px; }
  .film-info__grid, .film-info__columns { grid-template-columns: 1fr; gap: 8px; padding-top: 0; }
  .film-info__column--primary .film-info__column-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .film-info__column--primary .film-fact { min-width: 0; padding: 8px; background: var(--surface-2); border-radius: 8px; }
  .film-info__column--primary .film-fact:first-child { grid-column: 1 / -1; }
  .film-info__details { display: block; }
  .film-info__details > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 0.88rem; font-weight: 750; list-style: none; }
  .film-info__details > summary::-webkit-details-marker { display: none; }
  .film-info__details > summary::after { content: "+"; color: var(--muted); font-size: 1.15rem; }
  .film-info__details[open] > summary::after { content: "−"; }
  .film-info__details-content { display: flex; flex-direction: column; }
  .film-fact, .film-fact--wide { display: block; padding: 3px 0; }
  .film-fact__label { min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
  .film-fact__value { font-size: 0.86rem; }
  .film-info__ratings { width: 100%; margin-top: 12px; }
  .film-info__ratings .rating-other {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }
  .film-info__ratings .rating-other > * {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    gap: 4px;
    padding: 6px 7px;
  }
  .film-info__ratings .rating-source {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
  }
  .film-info__ratings .rating-value {
    min-width: 0;
    font-size: 0.84rem;
  }
  .film-poster-actions { width: 144px; justify-self: start; }
  .film-poster-actions .poster-action { gap: 4px; padding-inline: 4px; font-size: 0.72rem; }
  .poster-action { min-height: 44px; }
  .poster-action--report { margin-left: 0; border-color: var(--border); }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-block__list, .film-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bohfilm-gallery-strip__scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bohfilm-episodes__grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
  .bohfilm-episodes__card,
  .bohfilm-episodes__chip {
    min-height: 44px;
    padding: 8px 4px;
    font-size: 0.76rem;
  }
  .bohfilm-episodes__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .bohfilm-episodes--accordion .bohfilm-episodes__head {
    display: flex;
    grid-template-columns: none;
  }
  .bohfilm-episodes--accordion .bohfilm-episodes__title-group { grid-column: auto; }
  .bohfilm-episodes__title-group { grid-column: 1 / -1; width: 100%; display: block; }
  .bohfilm-episodes__summary { display: block; margin-top: 5px; }
  .bohfilm-sort-wrap { width: 100%; min-width: 0; }
  .bohfilm-episodes__head .bohfilm-sort-wrap { display: flex; min-height: 56px; }
  .bohfilm-episodes--single-season .bohfilm-sort-wrap--order { grid-column: 1 / -1; }
  .bohfilm-sort-wrap--season-order { grid-column: 1 / -1; }
  .sort-current, .bohfilm-season-order-toggle { width: 100%; height: 100%; justify-content: center; line-height: 1.25; }
  .bohfilm-episodes__overlay-title { right: 5px; bottom: 4px; left: 5px; font-size: 0.64rem; }
  .bohfilm-rating-scores { padding: 24px 0 0; border-radius: 0; }
  .bohfilm-rating-scores--under-player {
    padding: 8px;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
  }
  .bohfilm-rating-scores__inner { grid-template-columns: 1fr; gap: 14px; }
  .bohfilm-rating-scores__summary { min-height: 82px; grid-auto-flow: column; align-items: center; justify-content: center; gap: 10px; }
  .bohfilm-rating-scores__label { margin-top: 0; }
  .bohfilm-rating-bar__header { align-items: flex-start; flex-direction: column; gap: 2px; }
  .bohfilm-rating-scores--under-player .bohfilm-rating-bar__header { flex-direction: row; align-items: baseline; }
  .rating-scores__grid, .rating-scores-list { grid-template-columns: 1fr; }
  .comments-wrap {
    scroll-margin-top: 130px;
    overflow: visible;
    max-height: none;
    padding-bottom: 8px;
  }
  .comments-layout,
  .comments-layout .comment-column,
  .comments-layout .comment-respond {
    overflow: visible;
    max-height: none;
    position: static;
  }
  .comments-header { align-items: flex-start; flex-direction: column; }
  .comment-sorting-buttons { margin-left: 0; }
  .comment-respond { padding: 14px; }
  .comment-form .form-row.col-2 { grid-template-columns: 1fr; }
  .format-buttons { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .format-buttons::-webkit-scrollbar { display: none; }
  .comment-form textarea { height: 126px; min-height: 126px; }
  #commentform .comment-submit { width: 100%; min-width: 0; }
  .comment-list > .comment, .children > .comment { grid-template-columns: 40px minmax(0, 1fr); gap: 9px; }
  .comment > .avatar,
  .comment-avatar--letter { width: 40px; height: 40px; font-size: 0.92rem; }
  .children { grid-column: 1 / -1; margin-left: 12px; padding-left: 9px; }
  .comment-replies-shell { grid-column: 1 / -1; margin-left: 12px; }
  .bohfilm-emoji-extended__panel,
  .bohfilm-gif-picker__panel {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
  .bohfilm-emoji-extended__grid, .bohfilm-gif-picker__grid { grid-template-columns: repeat(6, 44px); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 14px; min-height: 0; padding: 20px 10px 14px; }
  .site-footer__grid--minimal { gap: 8px; padding: 10px 10px 8px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer h2 { margin-bottom: 4px; }
  .site-footer p { margin-top: 8px; }
  .site-footer__nav ul, .site-footer__support ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .site-footer__grid--without-support .site-footer__nav { justify-self: start; }
  .bohfilm-share--under-player {
    gap: 4px;
    padding: 8px;
    max-width: 100%;
  }
  .site-footer p.site-footer__contacts-line {
    font-size: 0.9rem;
  }
  .site-footer p.site-footer__contacts-line .site-footer__contacts-email,
  .site-footer p.site-footer__contacts-line a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .bohfilm-episodes, .film-player-wrap { scroll-margin-top: 130px; }
  .film-player-wrap__heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .film-player-wrap__heading h2, .film-player-wrap__context { font-size: 0.82rem; text-align: left; }
  .site-footer__bottom { min-height: 0; align-items: flex-start; flex-direction: column; gap: 4px; padding: 6px 10px; }
}
@media (max-width: 380px) {
  .site-footer p.site-footer__contacts-line .site-footer__contacts-email,
  .site-footer p.site-footer__contacts-line a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .bohfilm-share--under-player {
    gap: 3px;
  }
  .film-card { grid-template-columns: 132px minmax(0, 1fr); column-gap: 12px; }
  .film-card-left, .film-poster-actions { width: 132px; }
  .poster-image { width: 132px; height: 198px; }
  .likes {
    width: 132px;
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  }
  .bohfilm-episode-likes {
    width: 100%;
    max-width: 100%;
    grid-template-columns: none;
  }
  .likes-circle-count { width: 38px; height: 38px; }
  .likes-circle-count::before { width: 30px; height: 30px; font-size: 0.74rem; }
  .like-button { width: 44px; height: 44px; flex-basis: 44px; }
  .film-heading h1 { font-size: 1.27rem; line-height: 1.12; }
  .film-desc-wrap { font-size: 0.86rem; line-height: 1.5; }
  .film-desc-disclosure > summary {
    gap: 6px;
    padding-inline: 8px;
    font-size: 0.84rem;
    white-space: normal;
  }
  .film-info__ratings .rating-other > * { min-height: 44px; }
  .bohfilm-episodes__grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 5px; }
}
@media (hover: none) {
  .material-card__play { display: none; }
}
@media (max-width: 400px) {
  .bohfilm-episodes__grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 5px; }
  .bohfilm-episodes__card,
  .bohfilm-episodes__chip { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .material-card__link:hover .material-card__poster,
  .material-card__link:focus-visible .material-card__poster {
    transform: none;
  }
  .poster-zoom-wrap:hover .poster-zoom-icon,
  .poster-zoom-wrap:focus-visible .poster-zoom-icon {
    opacity: 1;
  }
}

.single .bohfilm-ad-slot { max-width: 100%; overflow: clip; contain: layout paint; isolation: isolate; }
.bohfilm-ad-slot iframe, .bohfilm-ad-slot img { max-width: 100%; }
