@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../webfonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../webfonts/manrope-cyrillic-800.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../webfonts/manrope-latin-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f1ec;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #f6f6f6;
  --surface-muted: #f7f7f7;
  --surface-soft: #f3f3f3;
  --text: #1c1c1c;
  --text-strong: #1a1a1a;
  --text-nav: #333333;
  --text-muted: #9b9b9b;
  --text-soft: #6a6a6a;
  --text-dim: #888888;
  --text-btn: #555555;
  --border: #ececec;
  --border-strong: #e0e0e0;
  --border-header: #e8e8e8;
  --border-btn: #e4e4e4;
  --input-bg: #fafafa;
  --input-bg-focus: #ffffff;
  --placeholder: #b4b4b4;
  --hover-soft: #fff1ec;
  --control-hover: #f3f3f3;
  --disabled-bg: #f3f3f3;
  --disabled-text: #bbbbbb;
  --disabled-border: #ececec;
  --panel-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --poster-bg: #dddddd;
  --dot: #d4d4d4;
  --dot-hover: #bdbdbd;
  --green: #ff5a36;
  --green-dark: #e04422;
  --green-deep: #c73a1c;
  --star: #f5c518;
  --radius: 12px;
  --panel-radius: 14px;
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #14110f;
  --white: #1c1816;
  --surface: #1c1816;
  --surface-2: #1e1e1e;
  --surface-3: #1c1c1c;
  --surface-muted: #222222;
  --surface-soft: #1f1f1f;
  --text: #eaeaea;
  --text-strong: #f2f2f2;
  --text-nav: #dddddd;
  --text-muted: #8f8f8f;
  --text-soft: #a8a8a8;
  --text-dim: #9a9a9a;
  --text-btn: #c4c4c4;
  --border: #2a2a2a;
  --border-strong: #363636;
  --border-header: #262626;
  --border-btn: #333333;
  --input-bg: #1e1e1e;
  --input-bg-focus: #242424;
  --placeholder: #777777;
  --hover-soft: rgba(255, 90, 54, 0.12);
  --control-hover: #2a2a2a;
  --disabled-bg: #1a1a1a;
  --disabled-text: #666666;
  --disabled-border: #2a2a2a;
  --panel-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  --poster-bg: #2a2a2a;
  --dot: #3a3a3a;
  --dot-hover: #555555;
  --green-deep: #ff8a6a;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul, ol {
  list-style: none;
}

video, iframe {
  max-width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-header);
}

.header__inner {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", var(--font);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo__icon {
  flex-shrink: 0;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-nav);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green-dark);
}

.cats-bar {
  position: relative;
  border-top: 1px solid var(--border-header);
}

.cats-bar::after {
  content: none;
}

.cats-bar__track {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 6px 0 8px;
}

.cats-bar__track::-webkit-scrollbar {
  display: none;
}

.cats-bar a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-nav);
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 0.2s ease, background 0.2s ease;
}

.cats-bar a:hover,
.cats-bar a.is-current {
  color: var(--green-dark);
  background: var(--hover-soft);
}

.header-menu__inner a.is-current,
.footer__col a.is-current {
  color: var(--green-deep);
}

@media (min-width: 1100px) {
  .cats-bar__track {
    gap: 2px;
    justify-content: space-between;
  }

  .cats-bar a {
    font-size: 14px;
    padding: 6px 8px;
  }
}

.search {
  position: relative;
  width: min(100%, 380px);
  justify-self: center;
}

.search input {
  width: 100%;
  height: 40px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.search input::-webkit-search-decoration,
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-results-button,
.search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search input::-ms-clear,
.search input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.search input::placeholder {
  color: var(--placeholder);
}

.search input:focus {
  border-color: var(--green);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.14);
}

.search button {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.search button:hover {
  color: var(--green-dark);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--green-dark);
}

.breadcrumbs__sep {
  color: var(--text-muted);
}

.breadcrumbs__current {
  color: var(--text);
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section__title--page {
  font-size: 22px;
}

.search-page__count {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  padding-top: 4px;
}

.pagination[hidden] {
  display: none !important;
}

.pagination__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-btn);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pagination__btn:hover {
  color: var(--green-deep);
  border-color: var(--green);
  background: var(--hover-soft);
}

.pagination__btn.is-current {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  pointer-events: none;
}

.pagination__btn--nav {
  font-size: 18px;
  font-weight: 500;
}

.pagination__btn.is-disabled {
  color: var(--disabled-text);
  border-color: var(--disabled-border);
  background: var(--surface-soft);
  pointer-events: none;
}

.pagination__dots {
  min-width: 24px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
}

.title-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.title-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-poster {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--poster-bg);
  aspect-ratio: 2 / 3;
}

.title-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title-vote {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.title-vote__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  justify-self: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.title-vote__btn:first-child {
  justify-self: start;
}

.title-vote__btn:last-child {
  justify-self: end;
}

.title-vote__btn:hover {
  color: var(--text-btn);
  background: var(--control-hover);
}

.title-vote__btn[data-vote="-1"]:hover {
  color: #e14b4b;
}

.title-vote__btn[data-vote="1"]:hover {
  color: var(--green-deep);
}

.title-vote__score {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  min-width: 1.5ch;
  transition: color 0.2s ease;
}

.title-vote__score.is-positive {
  color: var(--green-deep);
}

.title-vote__score.is-negative {
  color: #e14b4b;
}

.title-info__name {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-strong);
}

.title-info__meta {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.title-info__ratings {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.title-info__ratings .rating-kp,
.title-info__ratings .rating-imdb {
  font-size: 14px;
  color: var(--text);
}

.title-info__ratings .rating-kp svg {
  color: var(--star);
}

.title-info__original {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.title-info__original a {
  color: var(--green-dark);
}

.title-info__original a:hover {
  color: var(--green-deep);
}

.title-info__age {
  font-weight: 600;
  color: var(--text-dim);
}

.title-specs {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.title-specs__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
}

.title-specs dt {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.title-specs dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}

.title-info__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.title-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.2s ease;
}

.title-watch svg,
.title-trailer svg,
.title-fav svg {
  display: block;
  flex-shrink: 0;
}

.title-watch svg {
  transform: translate(1px, 0.5px);
}

.title-watch:hover {
  background: var(--green-dark);
}

.title-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-btn);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.title-fav:hover {
  border-color: var(--green);
  color: var(--green-deep);
  background: var(--hover-soft);
}

.title-fav.is-active {
  border-color: var(--green);
  color: var(--green-deep);
  background: rgba(255, 90, 54, 0.12);
}

.title-fav.is-active svg path {
  fill: var(--green);
  stroke: var(--green);
}

.title-player {
  margin-top: 32px;
}

.title-player__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.title-player__tab {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--border-btn);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text-btn);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.title-player__tab:hover {
  border-color: var(--border-strong);
  color: var(--text-nav);
}

.title-player__tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 90, 54, 0.28);
}

.title-player__frame {
  display: grid;
  place-content: center;
  min-height: 0;
  max-height: min(46vw, 500px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #1c1c1c;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 24px;
}

.title-player__frame p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.title-player__placeholder {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

.title-ep-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 20px;
}

.title-ep-nav:not(:has(a)) {
  display: none;
}

.title-ep-nav__prev,
.title-ep-nav__next {
  flex: 1 1 calc(50% - 5px);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: calc(50% - 5px);
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--panel-radius);
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
}

.title-ep-nav__next {
  margin-left: auto;
  justify-content: flex-end;
  border-color: var(--green);
  background: var(--hover-soft);
}

.title-ep-nav__icon {
  flex-shrink: 0;
  color: var(--text-muted);
}

.title-ep-nav__next .title-ep-nav__icon {
  color: var(--green-deep);
}

.title-ep-nav__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.title-ep-nav__next .title-ep-nav__meta {
  align-items: flex-end;
  text-align: right;
}

.title-ep-nav__dir {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.title-ep-nav__next .title-ep-nav__dir {
  color: var(--green-deep);
}

.title-ep-nav__name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.title-ep-nav__cut:not(.is-ready) {
  font-size: 0;
}

.title-ep-nav__prev:hover,
.title-ep-nav__next:hover {
  border-color: var(--green);
  color: var(--text);
}

.title-ep-nav__prev:hover {
  background: var(--hover-soft);
}

.title-ep-nav__next:hover {
  background: color-mix(in srgb, var(--green) 20%, var(--surface));
}

.title-ep-nav__prev:focus-visible,
.title-ep-nav__next:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .title-ep-nav__prev,
  .title-ep-nav__next {
    flex: 1 1 100%;
    max-width: none;
  }

  .title-ep-nav__next {
    margin-left: 0;
  }
}

.series-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.series-block__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
}

.series-block__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.series-seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.series-seasons__btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-btn);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text-btn);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.series-seasons__btn:hover {
  border-color: var(--border-strong);
  color: var(--text-nav);
}

.series-seasons__btn.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.series-eps {
  display: grid;
  gap: 8px;
}

.series-eps[hidden] {
  display: none !important;
}

.series-ep {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.series-ep:hover {
  border-color: var(--green);
}

.series-ep.is-playing {
  border-color: var(--green);
  background: var(--hover-soft);
}

.series-ep__num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 14px;
}

.series-ep__title {
  font-size: 14px;
  font-weight: 700;
}

.series-ep__date {
  font-size: 12px;
  color: var(--text-muted);
}

.series-ep__status {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--hover-soft);
  color: var(--green-deep);
}

.series-ep__watch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
}

@media (max-width: 680px) {
  .series-ep {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 12px;
  }

  .series-ep__status {
    display: none;
  }
}

.title-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.title-share__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.title-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.title-share__btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-btn);
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text-dim);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.title-share__btn:hover {
  color: var(--text-btn);
  border-color: var(--border-strong);
  background: var(--control-hover);
}

.title-share__btn[data-share="telegram"]:hover {
  color: #2aabee;
  border-color: #2aabee;
  background: #eef8fd;
}

.title-share__btn[data-share="vk"]:hover {
  color: #0077ff;
  border-color: #0077ff;
  background: #eef5ff;
}

.title-share__btn[data-share="ok"]:hover {
  color: #ee8208;
  border-color: #ee8208;
  background: #fff6eb;
}

.title-share__btn[data-share="whatsapp"]:hover {
  color: #25d366;
  border-color: #25d366;
  background: #eefbf3;
}

.title-share__btn[data-share="viber"]:hover {
  color: #7360f2;
  border-color: #7360f2;
  background: #f3f1fe;
}

.title-share__btn[data-share="x"]:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--control-hover);
}

.title-share__btn[data-share="copy"]:hover {
  color: var(--green-deep);
  border-color: var(--green);
  background: var(--hover-soft);
}

.title-share__hint {
  font-size: 13px;
  font-weight: 500;
  color: var(--green-deep);
}

.title-share__hint[hidden] {
  display: none !important;
}

.title-comments {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.title-comments__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.title-comments__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.title-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 90, 54, 0.14);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
}

.comments-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.comments-form__name,
.comments-form__text {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.comments-form__name {
  height: 42px;
  padding: 0 14px;
}

.comments-form__text {
  padding: 12px 14px;
  resize: vertical;
  min-height: 96px;
}

.comments-form__name:focus,
.comments-form__text:focus {
  border-color: var(--green);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.14);
}

.comments-form__submit {
  justify-self: start;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comments-form__submit:hover {
  background: var(--green-dark);
}

.comments-list {
  display: grid;
  gap: 12px;
  margin-bottom: 4px;
}

.comment {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
}

.comment__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.comment__name {
  font-size: 14px;
  color: var(--text-strong);
}

.comment__date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-btn);
  white-space: pre-wrap;
  word-break: break-word;
}

.comments-empty {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.comments-empty[hidden] {
  display: none !important;
}

#title-similar[hidden] {
  display: none !important;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__theme {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-btn);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.header__theme:hover {
  background: var(--control-hover);
  color: var(--text);
}

.header__theme-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.header__theme-icon--moon {
  color: #6b84b0;
}

.header__theme:hover .header__theme-icon--moon {
  color: #5574a8;
}

.header__theme-icon--sun {
  display: none;
  color: #f0c42e;
}

.header__theme:hover .header__theme-icon--sun {
  color: #f5c518;
}

html[data-theme="dark"] .header__theme-icon--moon {
  display: none;
}

html[data-theme="dark"] .header__theme-icon--sun {
  display: block;
}

.header__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1;
  transition: color 0.2s ease;
}

.header__action svg {
  color: var(--text-dim);
  flex-shrink: 0;
  display: block;
}

.header__action:hover {
  color: var(--text);
}

.header__action > span:not(.header__fav-count) {
  display: inline-flex;
  align-items: center;
  height: 20px;
  line-height: 1;
}

.header__fav-count {
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 90, 54, 0.14);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  box-sizing: border-box;
  transform: translateY(-50%);
}

.header__fav-count[hidden] {
  display: none !important;
}

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-btn);
  cursor: pointer;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.header__burger:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.header__burger-lines,
.header__burger-lines::before,
.header__burger-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__burger-lines {
  position: relative;
}

.header__burger-lines::before,
.header__burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.header__burger-lines::before {
  top: -6px;
}

.header__burger-lines::after {
  top: 6px;
}

.header__burger[aria-expanded="true"] .header__burger-lines {
  background: transparent;
}

.header__burger[aria-expanded="true"] .header__burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-menu {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  background: var(--white);
  transition: grid-template-rows 0.32s ease, border-color 0.2s ease;
}

.header-menu.is-open {
  grid-template-rows: 1fr;
  border-top-color: var(--border);
}

.header-menu__clip {
  overflow: hidden;
  min-height: 0;
}

.header-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.28s ease, padding 0.32s ease;
}

.header-menu.is-open .header-menu__inner {
  padding: 10px 0 14px;
  opacity: 1;
  transform: translateY(0);
}

.header-menu__inner a {
  display: block;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-nav);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-menu__inner a:hover {
  color: var(--green-deep);
  background: rgba(255, 90, 54, 0.08);
}

.favorites-empty {
  padding: 8px 0 4px;
}

.favorites-empty p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
  max-width: 42ch;
}

.favorites-empty[hidden],
#favorites[hidden] {
  display: none !important;
}

.page {
  padding: 20px 0 28px;
}

.page__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel {
  background: var(--white);
  border-radius: var(--panel-radius);
  padding: 24px 24px 22px;
  border: none;
  outline: none;
  box-shadow: var(--panel-shadow);
}

.about {
  padding: 48px 0 36px;
  background: transparent;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.2fr;
  gap: 48px;
  align-items: center;
}

.about__text h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 12px;
  max-width: 15ch;
  color: var(--text-strong);
}

.about__text p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 40ch;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  row-gap: 20px;
  align-content: start;
}

.feature {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  min-height: 46px;
}

.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature > div {
  padding-top: 4px;
  min-width: 0;
}

.feature h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-strong);
}

.feature p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.35;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section__head--tabs {
  margin-bottom: 20px;
}

.section__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.section__glyph {
  flex-shrink: 0;
  display: block;
}

.section__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.carousel-nav {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-btn);
  border-radius: 50%;
  background: var(--input-bg-focus);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--hover-soft);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.tabs__btn {
  position: relative;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  overflow: visible;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tabs__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 7px);
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.tabs__btn.is-active {
  color: var(--green-dark);
}

.tabs__btn.is-active::after {
  transform: scaleX(1);
}

.tabs__btn:hover,
.tabs__btn:focus,
.tabs__btn:active {
  background: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  color: var(--green);
}

.updates-empty {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.updates-panel:has(.card) .updates-empty {
  display: none;
}

.updates-panel[hidden] {
  display: none !important;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.see-all:hover {
  color: var(--green-deep);
}

.section__more {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.section__more span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.section__more:hover {
  color: var(--green-deep);
  gap: 8px;
}

.section__more:hover span {
  transform: translateX(3px);
}

.carousel::-webkit-scrollbar,
.cards-row::-webkit-scrollbar {
  display: none;
}

.cards-row {
  --cards-gap: 14px;
  --cards-per-view: 6;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--cards-per-view) - 1) * var(--cards-gap)) / var(--cards-per-view)
  );
  gap: var(--cards-gap);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.cards-row .card {
  min-width: 0;
  scroll-snap-align: start;
}

.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  min-height: 10px;
}

.carousel-dots[hidden] {
  display: none !important;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dot);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.carousel-dot:hover {
  background: var(--dot-hover);
}

.carousel-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--green);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 14px;
}

.card {
  min-width: 0;
}

.card--overlay {
  background: transparent;
  border: none;
  box-shadow: none;
}

.card__link,
.card__hit,
.card__info-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__hit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.3s ease;
}

.card__poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--poster-bg);
}

.card--overlay .card__poster {
  border-radius: 8px;
}

.card__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.3s ease;
}

.card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.card:hover .card__poster::after {
  background: rgba(0, 0, 0, 0.18);
}

.card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.card__fav svg {
  display: block;
}

.card__fav:hover {
  background: rgba(0, 0, 0, 0.72);
}

.card__fav.is-active {
  opacity: 1;
  pointer-events: auto;
  color: var(--green);
  background: rgba(0, 0, 0, 0.65);
}

.card__fav.is-active svg path {
  fill: var(--green);
  stroke: var(--green);
}

.card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: max-content;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.card__play svg {
  display: block;
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.card__play::after {
  content: "Смотреть онлайн";
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .card__poster img,
  .card:hover .card__hit img {
    filter: blur(2px) brightness(0.75);
  }

  .card:hover .card__poster > :is(.card__badges, .card__eps, .card__overlay) {
    filter: blur(2px);
  }

  .card:hover .card__fav {
    opacity: 1;
    pointer-events: auto;
  }

  .card:hover .card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (hover: none), (pointer: coarse) {
  .card__fav {
    opacity: 1;
    pointer-events: auto;
  }

  .card__play {
    display: none;
  }
}

.card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 44px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}

.card__badges:has(.badge--episode) {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: none;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
  flex-shrink: 0;
  overflow: visible;
}

.badge--episode {
  background: var(--green);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge--quality {
  margin-left: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  backdrop-filter: none;
}

.card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px 12px 12px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 38%,
    rgba(0, 0, 0, 0.92) 100%
  );
  box-sizing: border-box;
  pointer-events: none;
}

.card--overlay .card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card--overlay .card__meta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card--overlay .card__ratings {
  margin-top: 8px;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.card--overlay .rating-kp,
.card--overlay .rating-imdb {
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}

.card--catalog {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card--catalog .card__poster {
  flex: 0 0 auto;
  border-radius: 0;
}

.card--catalog .card__info-link {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
}

.card--catalog .card__info {
  margin: 0;
  padding: 10px 10px 12px;
  background: var(--surface-3);
  border: none;
  box-shadow: none;
  border-radius: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card--catalog .card__title {
  flex: 0 0 auto;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.card--catalog .card__meta {
  margin-top: 3px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 1.3em;
  max-height: calc(1.3em * 2);
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.card--catalog .card__ratings {
  margin-top: auto;
  padding-top: 8px;
  min-height: 18px;
  flex-shrink: 0;
}

.card--catalog .rating-kp {
  color: var(--text);
}

.card--catalog .rating-imdb {
  color: var(--text-dim);
}

.card__ratings {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-kp,
.rating-imdb {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
}

.rating-kp svg {
  color: var(--star);
  flex-shrink: 0;
}

.imdb-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--star);
  color: #1c1c1c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--border-header);
  padding: 42px 0 0;
  margin-top: 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1.1fr;
  gap: 36px;
  padding-bottom: 28px;
}

.footer__brand p {
  margin-top: 14px;
  max-width: 260px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer__news h4 {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer__news + .socials {
  margin-top: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  color: var(--text-btn);
  border-color: var(--border-strong);
  background: var(--control-hover);
}

.socials a[data-share="telegram"]:hover {
  color: #2aabee;
  border-color: #2aabee;
  background: #eef8fd;
}

.socials a[data-share="vk"]:hover {
  color: #0077ff;
  border-color: #0077ff;
  background: #eef5ff;
}

.socials a[data-share="ok"]:hover {
  color: #ee8208;
  border-color: #ee8208;
  background: #fff6eb;
}

.socials a[data-share="whatsapp"]:hover {
  color: #25d366;
  border-color: #25d366;
  background: #eefbf3;
}

.socials a[data-share="viber"]:hover {
  color: #7360f2;
  border-color: #7360f2;
  background: #f3f1fe;
}

.socials a[data-share="x"]:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--control-hover);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h3,
.footer__col h4,
.footer__col .footer__label {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--green-dark);
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 6px;
  width: 100%;
}

.footer__links a {
  display: block;
  min-width: 0;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col--legal p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer__col--legal .mail {
  color: var(--green-dark);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-muted);
}

#popular,
#movies,
#series,
#favorites {
  scroll-margin-top: 80px;
  scroll-margin-bottom: 80px;
}

@media (max-width: 1100px) {
  .cats-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent, var(--white));
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .header__burger {
    display: grid;
  }

  .cards-row {
    --cards-per-view: 4;
  }

  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about__inner,
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .cats-bar {
    display: none;
  }

  .header-menu__inner a {
    min-height: 44px;
    padding: 12px 8px;
    font-size: 16px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .page {
    padding: 12px 0 20px;
  }

  .page__stack {
    gap: 12px;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo actions"
      "search search";
    gap: 10px 8px;
    padding-block: 10px;
    min-height: 0;
    align-items: center;
  }

  .header__inner .logo {
    grid-area: logo;
    justify-self: start;
  }

  .header__actions {
    grid-area: actions;
    justify-self: end;
    gap: 2px;
  }

  .header__theme {
    width: 40px;
    height: 40px;
  }

  .header__action {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .header__action > span:not(.header__fav-count) {
    display: none;
  }

  .header__fav-count {
    right: 2px;
    top: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    transform: none;
  }

  .header__action svg {
    width: 22px;
    height: 22px;
    color: var(--text-btn);
  }

  .search {
    grid-area: search;
    width: 100%;
    justify-self: stretch;
  }

  .panel {
    padding: 16px 14px 14px;
    border-radius: 8px;
  }

  .section__head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .section__head--tabs {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 8px;
    margin-bottom: 14px;
  }

  .section__left {
    display: contents;
  }

  .section__head--tabs .section__title {
    grid-column: 1;
    grid-row: 1;
  }

  .section__head--tabs .see-all {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    font-size: 13px;
  }

  .section__head--tabs .tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .section__head--tabs .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs__btn {
    flex-shrink: 0;
    font-size: 13px;
  }

  .cards-row {
    --cards-gap: 12px;
    --cards-per-view: 2;
  }

  .carousel-dots:not([hidden]) {
    display: flex;
  }

  .title-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
  }

  .title-info__name {
    font-size: 22px;
  }

  .title-specs__row {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .title-info__desc {
    font-size: 14px;
  }

  .title-player__frame {
    min-height: 280px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .about {
    padding: 36px 0 28px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__text p {
    max-width: none;
  }

  .features {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    margin-top: 12px;
    padding-top: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
  }

  .about__text h2 {
    font-size: 22px;
    max-width: none;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .section__title {
    font-size: 16px;
    gap: 8px;
  }

  .section__glyph {
    width: 18px;
    height: 18px;
  }

  .cards-row {
    --cards-gap: 10px;
    --cards-per-view: 2;
  }

  .card--catalog .card__info {
    padding: 8px 8px 10px;
  }

  .card--catalog .card__title {
    font-size: 12px;
  }

  .card--overlay .card__title {
    font-size: 13px;
  }

  .card--overlay .card__meta {
    font-size: 11px;
  }

  .card__overlay {
    padding: 44px 10px 10px;
  }

  .title-layout {
    grid-template-columns: 1fr;
  }

  .title-aside {
    max-width: 240px;
    margin-inline: auto;
    width: 100%;
  }

  .title-poster {
    max-width: none;
    margin-inline: 0;
  }

  .see-all {
    font-size: 12px;
  }
}

html[data-theme="dark"] .title-share__btn[data-share="telegram"]:hover,
html[data-theme="dark"] .socials a[data-share="telegram"]:hover {
  background: rgba(42, 171, 238, 0.16);
}

html[data-theme="dark"] .title-share__btn[data-share="vk"]:hover,
html[data-theme="dark"] .socials a[data-share="vk"]:hover {
  background: rgba(0, 119, 255, 0.16);
}

html[data-theme="dark"] .title-share__btn[data-share="ok"]:hover,
html[data-theme="dark"] .socials a[data-share="ok"]:hover {
  background: rgba(238, 130, 8, 0.16);
}

html[data-theme="dark"] .title-share__btn[data-share="whatsapp"]:hover,
html[data-theme="dark"] .socials a[data-share="whatsapp"]:hover {
  background: rgba(37, 211, 102, 0.16);
}

html[data-theme="dark"] .title-share__btn[data-share="viber"]:hover,
html[data-theme="dark"] .socials a[data-share="viber"]:hover {
  background: rgba(115, 96, 242, 0.16);
}

html[data-theme="dark"] .title-share__btn[data-share="x"]:hover,
html[data-theme="dark"] .socials a[data-share="x"]:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tg-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--panel-radius);
  background: linear-gradient(105deg, #1d9bd8 0%, #2aabee 52%, #1b8ec8 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(26, 140, 200, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-banner:hover,
.tg-banner:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 140, 200, 0.32);
}

.tg-banner__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #2aabee;
  display: grid;
  place-items: center;
}

.tg-banner__icon svg {
  display: block;
}

.tg-banner__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tg-banner__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
}

.tg-banner__desc {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  text-transform: none;
}

.tg-banner__btn {
  margin-left: auto;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #1b8ec8;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  white-space: nowrap;
  text-transform: none;
}

@media (max-width: 680px) {
  .tg-banner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "btn btn";
    align-items: center;
    gap: 10px 12px;
    padding: 12px;
  }

  .tg-banner__icon {
    grid-area: icon;
    flex: none;
    width: 36px;
    height: 36px;
  }

  .tg-banner__icon svg {
    width: 20px;
    height: 20px;
  }

  .tg-banner__text {
    grid-area: text;
  }

  .tg-banner__btn {
    grid-area: btn;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

.title-specs--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
}

.title-specs--compact .title-specs__row {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.title-specs--compact .title-specs__row--wide {
  grid-column: 1 / -1;
}

.title-specs--compact dt,
.title-specs--compact dd {
  font-size: 13px;
}

.title-specs--compact dd {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.title-trailer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.title-trailer:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--hover-soft);
}

.ms-block {
  scroll-margin-top: 110px;
}

.ms-block .section__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ms-block .section__title {
  font-size: 18px;
}

.ms-block__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--hover-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.ms-trailer__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 100 / 48;
}

.ms-trailer__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ms-trailer__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}

.ms-trailer__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.ms-trailer__cover:hover img {
  opacity: 0.38;
}

.ms-trailer__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  pointer-events: none;
}

.ms-trailer__play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.ms-trailer__cover:hover .ms-trailer__play {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 7px rgba(255, 90, 54, 0.28);
}

.ms-trailer__hint {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  white-space: nowrap;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.ms-graph .section__head {
  align-items: baseline;
}

.ms-graph__body noindex {
  display: block;
}

.ms-graph .pmovie__episodes-graph-season {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
}

.ms-graph .pmovie__episodes-graph-season:last-child {
  margin-bottom: 0;
}

.ms-graph .pmovie__episodes-graph-season__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text-strong);
  background: var(--surface-2);
}

.ms-graph .pmovie__episodes-graph-season[open]:not(.is-closing) .pmovie__episodes-graph-season__summary {
  background: var(--hover-soft);
}

.ms-graph .pmovie__episodes-graph-season__summary::-webkit-details-marker {
  display: none;
}

.ms-graph .pmovie__episodes-graph-season__title {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  min-width: 0;
}

.ms-graph .title-bg {
  background: transparent;
  padding: 0;
  position: static;
}

.ms-graph .pmovie__episodes-graph-season__link {
  color: var(--text-strong);
  font-size: 0;
  pointer-events: none;
  cursor: inherit;
  text-decoration: none;
}

.ms-graph .pmovie__episodes-graph-season__link .text-wd {
  font-size: 15px;
  font-weight: 700;
}

.ms-graph .pmovie__episodes-graph-season__link:hover,
.ms-graph .pmovie__episodes-graph-season__link:hover .text-wd {
  color: inherit;
}

.ms-graph .pmovie__episodes-graph-season__toggle {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: transform 0.35s ease;
}

.ms-graph .pmovie__episodes-graph-season__toggle i {
  display: none;
}

.ms-graph .pmovie__episodes-graph-season__toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

.ms-graph .pmovie__episodes-graph-season[open]:not(.is-closing) .pmovie__episodes-graph-season__toggle {
  transform: rotate(180deg);
}

.ms-graph .pmovie__episodes-graph-list {
  border-top: 1px solid var(--border);
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}

.ms-graph .pmovie__episodes-graph-season[open]:not(.is-closing) .pmovie__episodes-graph-list {
  max-height: 4000px;
  overflow: hidden;
  overscroll-behavior: auto;
  touch-action: pan-y;
}

.ms-graph__cols,
.ms-graph .pmovie__episodes-graph-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 120px 88px 118px;
  grid-template-areas: "info date status watch";
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
}

.ms-graph__body > .ms-graph__cols {
  display: none;
}

.ms-graph__cols {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.ms-graph .pmovie__episodes-graph-list > .ms-graph__cols {
  position: sticky;
  top: 0;
  z-index: 1;
}

.ms-graph .pmovie__episodes-graph-row {
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.ms-graph .pmovie__episodes-graph-row:last-child {
  border-bottom: 0;
}

.ms-graph .pmovie__episodes-graph-row.is-linked:hover {
  background: var(--hover-soft);
}

.ms-graph .pmovie__episodes-graph-row.is-current {
  background: var(--hover-soft);
}

.ms-graph .pmovie__episodes-graph-row.is-linked.is-current::after {
  content: "Сейчас";
  color: var(--green-dark);
  border-color: var(--green);
  background-color: var(--hover-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23ff5a36' stroke='%23ff5a36' stroke-width='1.6'/%3E%3Cpath fill='%23fff' d='M9 7.2v7.6L15.2 11z'/%3E%3C/svg%3E");
}

.ms-graph .pmovie__episodes-graph-info {
  grid-area: info;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ms-graph .pmovie__episodes-graph-date {
  grid-area: date;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.ms-graph .pmovie__episodes-graph-num {
  grid-area: status;
}

.ms-graph .pmovie__episodes-graph-num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--green);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark) !important;
}

.ms-graph .pmovie__episodes-graph-num .text-muted {
  border-color: var(--border);
  color: var(--text-muted) !important;
}

.ms-graph .pmovie__episodes-graph-meta {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  order: -1;
}

.ms-graph .pmovie__episodes-graph-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ms-graph .pmovie__episodes-graph-row.is-linked::after {
  content: "Смотреть";
  grid-area: watch;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px 0 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: left 6px center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='none' stroke='%231c1c1c' stroke-width='1.6'/%3E%3Cpath fill='%231c1c1c' d='M9 7.2v7.6L15.2 11z'/%3E%3C/svg%3E");
}

.ms-graph .pmovie__episodes-graph-row.is-linked:hover::after {
  color: var(--green-dark);
  border-color: var(--green);
  background-color: var(--hover-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23ff5a36' stroke='%23ff5a36' stroke-width='1.6'/%3E%3Cpath fill='%23fff' d='M9 7.2v7.6L15.2 11z'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .ms-graph .pmovie__episodes-graph-row.is-linked::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='none' stroke='%23eaeaea' stroke-width='1.6'/%3E%3Cpath fill='%23eaeaea' d='M9 7.2v7.6L15.2 11z'/%3E%3C/svg%3E");
}

.ms-graph__tabs,
button.ms-graph__more[type="button"] {
  display: none;
}

.ms-graph.ms-graph--mobile .ms-graph__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 12px;
  padding: 0 0 2px;
}

.ms-graph.ms-graph--mobile .ms-graph__tabs::-webkit-scrollbar {
  display: none;
}

button.ms-graph__tab[type="button"] {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  height: auto;
  min-height: 0;
  min-width: 104px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-2);
  background-color: var(--surface-2);
  color: var(--text-strong);
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
}

button.ms-graph__tab[type="button"]:hover,
button.ms-graph__tab[type="button"]:focus {
  background: var(--surface-2);
  background-color: var(--surface-2);
  color: var(--text-strong);
  filter: none;
  box-shadow: none;
}

button.ms-graph__tab[type="button"].is-active,
button.ms-graph__tab[type="button"].is-active:hover,
button.ms-graph__tab[type="button"].is-active:focus {
  background: var(--green);
  background-color: var(--green);
  color: #fff;
  filter: none;
}

.ms-graph__tab-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.ms-graph__tab-count {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.72;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-season {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  overflow: visible;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-season:not(.is-tab-active) {
  display: none;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-season__summary {
  display: none;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-list,
.ms-graph.ms-graph--mobile .pmovie__episodes-graph-season[open]:not(.is-closing) .pmovie__episodes-graph-list {
  max-height: none;
  overflow: hidden;
  overscroll-behavior: auto;
  touch-action: pan-y;
  border: 0;
  background: transparent;
  transition: max-height 0.42s ease;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-season.is-tab-active {
  animation: ms-graph-in 0.28s ease;
}

@keyframes ms-graph-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-row,
.ms-graph.ms-graph--mobile .pmovie__episodes-graph-row.is-linked {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  grid-template-rows: auto auto;
  grid-template-areas:
    "info play"
    "date play";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  margin-bottom: 8px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-row:last-child {
  margin-bottom: 0;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-info {
  grid-area: info;
  min-width: 0;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-title,
.ms-graph.ms-graph--mobile .pmovie__episodes-graph-meta {
  white-space: normal;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-date {
  grid-area: date;
  flex: none;
  min-width: 0;
  width: auto;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-date span {
  display: inline;
  font-size: 13px;
  color: inherit;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-num {
  grid-area: play;
  flex: none;
  width: 32px;
  justify-self: end;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-num span {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  color: transparent !important;
  background: var(--green);
  border-color: var(--green);
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-num span:not(.text-muted)::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(1px);
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-num .text-muted {
  background: var(--surface-2);
  border-color: var(--border);
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-num .text-muted::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent var(--text-muted);
  transform: translateX(1px);
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-row.is-linked::after {
  content: none;
  display: none;
}

.ms-graph.ms-graph--mobile .pmovie__episodes-graph-row.is-current {
  border-color: var(--green);
}

.ms-graph.ms-graph--mobile button.ms-graph__more[type="button"]:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: auto;
  min-height: 42px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  background-color: var(--surface);
  color: var(--green-dark);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

.ms-graph.ms-graph--mobile button.ms-graph__more[type="button"]:hover,
.ms-graph.ms-graph--mobile button.ms-graph__more[type="button"]:focus {
  background: var(--surface-2);
  background-color: var(--surface-2);
  color: var(--green-dark);
  filter: none;
  box-shadow: none;
}

.ms-graph.ms-graph--mobile button.ms-graph__more[type="button"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.ms-graph.ms-graph--mobile.is-eps-expanded button.ms-graph__more[type="button"]::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.ms-shots .section__head {
  align-items: baseline;
}

.ms-shots__all {
  margin-left: auto;
  text-decoration: none;
}

.ms-shots__mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: stretch;
}

.ms-shots__item {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--poster-bg);
  cursor: zoom-in;
  display: block;
  color: inherit;
  text-decoration: none;
}

.ms-shots__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 100%;
}

.ms-shots__item:nth-child(n + 2) {
  aspect-ratio: 16 / 9;
}

.ms-shots__item:nth-child(n + 6) {
  display: none;
}

.ms-shots__mosaic:has(.ms-shots__item:only-child) {
  grid-template-columns: 1fr;
}

.ms-shots__mosaic:has(.ms-shots__item:only-child) .ms-shots__item:nth-child(1),
.ms-shots__mosaic:has(.ms-shots__item:nth-child(2):last-child) .ms-shots__item:nth-child(1) {
  grid-row: auto;
  aspect-ratio: 16 / 9;
}

.ms-shots__mosaic:has(.ms-shots__item:nth-child(2):last-child) {
  grid-template-columns: 1.35fr 1fr;
}

.ms-shots__mosaic:has(.ms-shots__item:nth-child(3):last-child) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.ms-shots__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 8, 0);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.ms-shots__item:hover::before {
  background: rgba(10, 12, 8, 0.42);
}

.ms-shots__eye,
.ms-posters__eye {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ms-shots__eye svg,
.ms-posters__eye svg {
  display: block;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}

.ms-shots__item:hover .ms-shots__eye,
.ms-posters__item:hover .ms-posters__eye {
  opacity: 1;
}

.ms-shots__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-shots__mosaic:has(.ms-shots__item:nth-child(6)) .ms-shots__item:nth-child(5)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 14, 0.35);
}

.ms-cast {
  --ms-cast-w: 132px;
}

.ms-cast__viewport {
  position: relative;
}

.ms-cast__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--ms-cast-w);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.ms-cast__nav {
  position: absolute;
  top: calc(var(--ms-cast-w) * 2 / 3);
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border-btn);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  box-shadow: none;
  display: none;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ms-cast__nav:not([hidden]) {
  display: grid;
}

.ms-cast__nav svg {
  display: block;
}

.ms-cast__nav--prev {
  left: 0;
}

.ms-cast__nav--next {
  right: 0;
}

.ms-cast__nav:hover {
  background: var(--hover-soft);
  border-color: var(--green);
  color: var(--green-dark);
}

.ms-cast__row::-webkit-scrollbar {
  display: none;
}

.ms-cast__item {
  min-width: 0;
  scroll-snap-align: start;
}

.ms-cast__card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.ms-cast__photo {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--poster-bg);
  margin-bottom: 8px;
}

.ms-cast__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-cast__photo--empty {
  background: var(--surface-2);
}

.ms-cast__role {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.ms-cast__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-muted);
}

.ms-cast__card:hover .ms-cast__role {
  color: var(--green);
}

.ms-posters__row {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 188px;
  gap: 12px;
}

.ms-posters__row::-webkit-scrollbar {
  display: none;
}

.ms-posters__item {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--poster-bg);
  cursor: zoom-in;
  display: block;
  color: inherit;
  text-decoration: none;
  aspect-ratio: 2 / 3;
  scroll-snap-align: start;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ms-posters__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 8, 0);
  pointer-events: none;
  z-index: 1;
  transition: background 0.2s ease;
}

.ms-posters__item:hover {
  border-color: var(--border);
  box-shadow: none;
}

.ms-posters__item:hover::before {
  background: rgba(10, 12, 8, 0.42);
}

.ms-posters__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-facts__icon,
.ms-ost__icon {
  width: auto;
  height: auto;
  font-size: 16px;
  line-height: 1;
  background: none;
  box-shadow: none;
  color: var(--green);
}

.ms-facts__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  max-height: 300px;
  transition: max-height 0.45s ease;
}

.ms-facts.is-expanded .ms-facts__list {
  max-height: 2400px;
}

.ms-facts__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.ms-facts__num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--hover-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.ms-facts__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.ms-facts__item:nth-child(n + 4),
.ms-goofs__item:nth-child(n + 4) {
  display: grid;
}

button.ms-more[type="button"] {
  display: none;
  height: auto;
  min-height: 42px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  background-color: var(--surface-2);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}

.ms-facts:has(.ms-facts__item:nth-child(4)) button.ms-more[type="button"],
.ms-goofs:has(.ms-goofs__item:nth-child(4)) button.ms-more[type="button"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-more__close {
  display: none;
}

.ms-facts.is-expanded .ms-more__open,
.ms-goofs.is-expanded .ms-more__open {
  display: none;
}

.ms-facts.is-expanded .ms-more__close,
.ms-goofs.is-expanded .ms-more__close {
  display: inline;
}

button.ms-more[type="button"]:hover,
button.ms-more[type="button"]:focus,
button.ms-more[type="button"]:active {
  background: var(--hover-soft);
  background-color: var(--hover-soft);
  border-color: var(--green);
  color: var(--green-dark);
  box-shadow: none;
}

.ms-goofs__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  max-height: 300px;
  transition: max-height 0.45s ease;
}

.ms-goofs.is-expanded .ms-goofs__list {
  max-height: 2400px;
}

.ms-goofs__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.ms-goofs__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.ms-goofs__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-strong);
}

.ms-goofs__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

.ms-goofs__text p:last-child {
  margin-bottom: 0;
}

.ms-ost__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.ms-ost__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.ms-ost__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.ms-ost__info {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.ms-ost__link {
  display: contents;
  color: inherit;
}

.ms-ost__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
}

.ms-ost__link:hover .ms-ost__name {
  color: var(--green-dark);
}

.ms-ost__artist {
  font-size: 13px;
  color: var(--text-muted);
}

.ms-ost__artist::before {
  content: "— ";
}

.ms-liked {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ms-liked__item {
  display: block;
  min-width: 0;
  color: var(--text);
}

.ms-liked__poster {
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--poster-bg);
  margin-bottom: 8px;
}

.ms-liked__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-liked__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
}

.ms-liked__item:hover .ms-liked__name {
  color: var(--green-dark);
}

.ms-liked__year {
  color: var(--text-muted);
  font-weight: 500;
}

.ms-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  padding: 24px;
}

.ms-lightbox__stage {
  position: relative;
  display: inline-block;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
}

.ms-lightbox__stage img,
.ms-lightbox img {
  display: block;
  max-width: min(86vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

button.ms-lightbox__close[type="button"],
button.ms-lightbox__nav[type="button"] {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  gap: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  box-shadow: none;
  text-transform: none;
  line-height: 0;
  font-size: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

button.ms-lightbox__close[type="button"]:hover,
button.ms-lightbox__nav[type="button"]:hover,
button.ms-lightbox__close[type="button"]:focus,
button.ms-lightbox__nav[type="button"]:focus {
  background: rgba(0, 0, 0, 0.78);
  background-color: rgba(0, 0, 0, 0.78);
  color: #fff;
  filter: none;
  box-shadow: none;
}

button.ms-lightbox__close[type="button"] {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
}

button.ms-lightbox__nav[type="button"] {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
}

.ms-lightbox__close svg,
.ms-lightbox__nav svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ms-lightbox__close svg path,
.ms-lightbox__nav svg path {
  stroke-width: 2.6;
}

.ms-lightbox__nav--prev {
  left: 10px;
}

.ms-lightbox__nav--next {
  right: 10px;
}

.ms-lightbox__counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  pointer-events: none;
}

.faq-section {
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
}

.faq-item {
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-input {
  display: none;
}

.faq-section,
.faq-title {
  -webkit-tap-highlight-color: transparent;
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  background: var(--surface-2);
  color: var(--text-strong);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  outline: none;
}

.faq-title:hover,
.faq-title:focus,
.faq-title:focus-visible,
.faq-title:active {
  color: var(--text-strong);
  background: var(--surface-2);
  outline: none;
  box-shadow: none;
}

.faq-title::after {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  color: var(--text-muted);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--white);
  color: var(--text-soft);
  transition: grid-template-rows 0.35s ease;
}

.faq-content p,
.faq-content > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.55;
  transition: padding 0.35s ease;
}

.faq-input:checked ~ .faq-content {
  grid-template-rows: 1fr;
}

.faq-input:checked ~ .faq-content > p {
  padding: 12px 14px 14px;
}

.faq-input:checked ~ .faq-title::after {
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat;
}

@media (max-width: 1100px) {
  .ms-liked {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .title-specs--compact {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .title-specs--compact .title-specs__row {
    grid-template-columns: 100px minmax(0, 1fr);
  }

}

@media (max-width: 768px) {
  .ms-block .section__title {
    font-size: 17px;
  }

  .ms-shots__mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ms-shots__item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .ms-posters__row {
    grid-auto-columns: 150px;
  }

  .ms-cast {
    --ms-cast-w: 118px;
  }

  .ms-liked {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .ms-graph__cols {
    display: none;
  }

  .ms-graph .pmovie__episodes-graph-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "info watch"
      "date status";
    row-gap: 6px;
    padding: 12px;
  }

  .ms-graph .pmovie__episodes-graph-row.is-linked::after {
    align-self: start;
  }

  .ms-graph .pmovie__episodes-graph-title,
  .ms-graph .pmovie__episodes-graph-meta {
    white-space: normal;
  }

  .ms-trailer__play {
    width: 56px;
    height: 56px;
  }

  .ms-lightbox {
    padding: 16px 8px;
  }

  .faq-section {
    padding: 16px 14px;
  }

  .faq-title {
    font-size: 13px;
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .ms-liked {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-facts__item,
  .ms-goofs__item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .ms-facts__num,
  .ms-goofs__num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

.d-none { display: none !important; }
.desktop-only { display: revert; }
.mobile-only { display: none; }
@media (max-width: 768px) {
	.desktop-only { display: none !important; }
	.mobile-only { display: revert; }
}
::selection { background: rgba(255, 90, 54, 0.28); color: var(--text-strong); }
[hidden] { display: none !important; }

.card__poster {
	aspect-ratio: 2 / 3 !important;
	height: auto !important;
	overflow: hidden;
}
.card__poster img,
.card__poster img.lazyload,
.card__poster img.lazy {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

.glv { display: block; width: auto; padding: 0; min-height: 0; margin: 0; }

.header .logo,
.header a.logo,
.footer .logo,
.footer a.logo {
	position: relative;
	padding: 0 !important;
	margin: 0;
	min-width: 0;
	background: none;
	font-family: "Manrope", var(--font);
	color: inherit;
	text-transform: none !important;
}
.header .logo span,
.footer .logo span {
	text-transform: none !important;
	letter-spacing: -0.04em;
}
.header .logo::before,
.header a.logo::before,
.footer .logo::before,
.footer a.logo::before {
	content: none !important;
	display: none !important;
}
.logo img { position: static; translate: none; max-height: none; }

.search input[type="search"],
.search input#story {
	-webkit-appearance: none;
	appearance: none;
	height: 40px;
	line-height: normal;
	box-shadow: none;
}
.search input#story:focus {
	border-color: var(--green);
	background: var(--input-bg-focus);
	box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.14);
}
.search button,
.search button:hover,
.search button:focus,
.search button:active {
	height: 32px;
	width: 32px;
	min-width: 0;
	padding: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	border-radius: 50%;
	color: var(--green);
}
.search button:hover { color: var(--green-dark); }

.tabs__btn,
.tabs__btn:hover,
.tabs__btn:focus,
.tabs__btn:active,
.tabs__btn.is-active,
.tabs__btn.is-active:hover,
.tabs__btn.is-active:focus {
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	overflow: visible;
}
.tabs__btn:hover {
	color: var(--green) !important;
}
.tabs__btn.is-active,
.tabs__btn.is-active:hover,
.tabs__btn.is-active:focus {
	color: var(--green-dark) !important;
}

.header__theme,
.header__theme:hover,
.header__theme:focus,
.header__theme:active,
.header__burger,
.header__burger:hover,
.header__burger:focus,
.header__burger:active {
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	border: 0;
	height: 40px;
}
.header__theme:hover { background: var(--control-hover); }

#dle-content.cards-grid { display: grid; }
.cards-grid > .pagination,
.cards-grid > #pagination,
.cards-grid > .message-info,
.cards-grid > .berrors,
.cards-grid > .search-page,
.cards-grid > *:not(.card):not(.ncard):not(.ms-cast__item) {
	grid-column: 1 / -1;
}

.breadcrumbs .speedbar,
.breadcrumbs > * { display: inline; }
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--green-dark); }
.breadcrumbs .separator,
.breadcrumbs span { color: var(--text-muted); }

.title-player { margin-top: 4px; }
.title-player__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.title-player__tab,
.title-player__tab:hover,
.title-player__tab:focus,
.title-player__tab:active {
	height: 36px;
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--border-btn);
	border-radius: 10px;
	background: var(--surface-muted);
	background-color: var(--surface-muted);
	color: var(--text-btn);
	font-size: 14px;
	font-weight: 600;
	box-shadow: none;
	cursor: pointer;
}
.title-player__tab:hover:not(.is-active) {
	border-color: var(--border-strong);
	color: var(--text-nav);
	background: var(--surface-muted);
	background-color: var(--surface-muted);
}
html[data-theme="dark"] .title-player__tab:not(.is-active),
html[data-theme="dark"] .title-player__tab:not(.is-active):hover,
html[data-theme="dark"] .title-player__tab:not(.is-active):focus,
html[data-theme="dark"] .title-player__tab:not(.is-active):active {
	background: var(--surface-muted) !important;
	background-color: var(--surface-muted) !important;
	color: var(--text-btn) !important;
	border-color: var(--border-btn) !important;
}
html[data-theme="dark"] .title-player__tab:not(.is-active):hover {
	background: var(--control-hover) !important;
	background-color: var(--control-hover) !important;
	color: var(--text-strong) !important;
}
.title-player__tab.is-active,
.title-player__tab.is-active:hover {
	border-color: var(--green);
	background: var(--green);
	background-color: var(--green);
	color: #fff;
	box-shadow: 0 4px 12px rgba(255, 90, 54, 0.28);
}
.title-player__frame {
	position: relative;
	display: block;
	min-height: 0;
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #1c1c1c;
	aspect-ratio: 16 / 9;
	max-height: min(46vw, 500px);
}
.title-player .video-responsive {
	padding-top: 48% !important;
	height: 0;
	max-height: none;
	aspect-ratio: auto;
}

@media (max-width: 768px) {
	.title-player.panel,
	.title-player {
		width: calc(100% + 24px);
		margin-left: -12px;
		margin-right: -12px;
		padding: 12px 0 0;
		border-radius: 0;
	}

	.title-player__tabs,
	.title-player .tabs-block__select {
		padding: 0 12px;
	}

	.title-player__placeholder {
		padding-left: 12px;
		padding-right: 12px;
	}

	.title-player__frame,
	.title-player .video-responsive {
		max-height: none;
		width: 100%;
		border-radius: 0;
	}

	.title-player .video-responsive {
		padding-top: 56.25% !important;
	}
}

@media (max-width: 520px) {
	.title-player.panel,
	.title-player {
		width: calc(100% + 20px);
		margin-left: -10px;
		margin-right: -10px;
	}
}
.title-player__frame.d-none { display: none !important; }
.title-player__frame .iframe-container,
.title-player__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.title-player__frame ins { display: block; width: 100%; height: 100%; }
.quote_block {
	margin: 16px 0 0;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(0, 0, 0, .04);
}
.quote_block .title_quote {
	padding: 12px 16px 0;
	font-weight: 700;
	font-size: 14px;
}
.actor-page__hero {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}
.actor-page__photo {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--surface-2);
}
.actor-page__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.actor-page__photo--empty {
	background: var(--surface-2);
}
.actor-page__name {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 4px;
	color: var(--text-strong);
}
.actor-page__orig {
	color: var(--text-muted);
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 18px;
}
.actor-page__specs {
	display: grid;
	gap: 10px;
	margin: 0;
}
.actor-page__spec {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 12px;
	font-size: 14px;
}
.actor-page__spec dt {
	color: var(--text-muted);
	font-weight: 600;
}
.actor-page__spec dd {
	color: var(--text-strong);
	font-weight: 700;
	margin: 0;
}
.actor-page__spec a,
.actor-page__spec .act-tsgs {
	color: inherit;
	text-decoration: none;
}
.actor-page__spec a:hover,
.actor-page__spec .act-tsgs:hover {
	color: var(--green);
}
.actor-page__block-title {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 14px;
}
.actor-page__bio {
	display: grid;
	gap: 12px;
	margin-top: 18px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-soft);
}
.actor-page__facts {
	list-style: none;
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.actor-page__facts li {
	padding: 12px 14px;
	border-radius: var(--radius);
	background: var(--surface-2);
	border: 1px solid var(--border);
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
}
.actor-page__movies-meta {
	margin: 0 0 16px;
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 600;
}
.actor-page__grid .ms-cast__item {
	width: 100%;
	min-width: 0;
	background: transparent;
	box-shadow: none;
}

.actor-page__grid .ms-cast__card {
	width: 100%;
}
.actor-episodes__season + .actor-episodes__season {
	margin-top: 18px;
}
.actor-episodes__season-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
}
.actor-episodes__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.actor-episodes__item a {
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
.actor-episodes__item a:hover {
	color: var(--green-dark);
}
@media (max-width: 768px) {
	.actor-page__hero {
		grid-template-columns: 1fr;
		gap: 18px;
		justify-items: center;
		text-align: center;
	}
	.actor-page__photo {
		width: min(220px, 70vw);
	}
	.actor-page__info {
		width: 100%;
	}
	.actor-page__specs {
		text-align: left;
	}
	.actor-page__spec {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}
.quote_block .quote {
	margin: 0;
	padding: 8px 16px 14px;
	border-left: 3px solid var(--accent, #c9a227);
	font-size: 15px;
	font-style: italic;
	line-height: 1.6;
}
.title-player__frame .wink-lazy,
.title-player__frame .wink-player-wrap {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.wink-lazy {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: #0c0f16;
}
.wink-lazy__start {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: 0;
	background: linear-gradient(180deg, rgba(10, 14, 24, .78), rgba(10, 14, 24, .94));
	color: #fff;
	cursor: pointer;
}
.wink-lazy.is-started .wink-lazy__start { display: none; }
.wink-lazy__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .28);
}
.wink-lazy__start:hover .wink-lazy__icon { background: rgba(255, 255, 255, .24); }
.wink-lazy__label { font-size: 16px; font-weight: 600; }
.wink-lazy__hint { font-size: 13px; opacity: .7; }

.cards-grid { align-items: stretch !important; }
.cards-grid:has(.ncard) { align-items: start !important; }

.card--catalog .card__poster {
	flex-shrink: 0 !important;
}

.card__eps {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	max-width: calc(100% - 8px);
	height: 22px;
	padding: 0 8px 0 16px;
	background: #9a1a22;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
	clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.card--overlay .card__overlay {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.card--overlay .card__eps {
	position: static;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	z-index: 1;
	align-self: flex-end;
	margin-bottom: 6px;
	max-width: 100%;
}
@media (max-width: 768px) {
	.card__eps {
		height: 18px;
		padding: 0 6px 0 13px;
		font-size: 10px;
	}
}
@media (max-width: 420px) {
	.card__eps {
		height: 16px;
		padding: 0 5px 0 12px;
		font-size: 9px;
	}
}

.card--catalog .card__info-link,
.card--catalog .card__info-link:hover,
.card--catalog .card__info-link:focus {
	height: auto !important;
}

.title-similar .cards-grid > *:nth-child(n + 7) { display: none !important; }

button.ms-more[type="button"],
button.ms-more[type="button"]:hover,
button.ms-more[type="button"]:focus,
button.ms-more[type="button"]:active {
	height: auto !important;
	min-height: 42px;
	padding: 10px 14px !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
	background: var(--surface-2) !important;
	background-color: var(--surface-2) !important;
	color: var(--text-strong) !important;
	box-shadow: none !important;
}
button.ms-more[type="button"]:hover,
button.ms-more[type="button"]:focus {
	background: var(--hover-soft) !important;
	background-color: var(--hover-soft) !important;
	color: var(--green-dark) !important;
	border-color: var(--green) !important;
}
button.ms-more[type="button"] {
	display: none !important;
}
.ms-facts:has(.ms-facts__item:nth-child(4)) button.ms-more[type="button"],
.ms-goofs:has(.ms-goofs__item:nth-child(4)) button.ms-more[type="button"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.title-rate {
	display: grid;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--surface-soft);
}
.title-rate__top { display: flex; align-items: center; gap: 10px; }
.title-rate__score { font-size: 20px; font-weight: 800; color: var(--text-strong); }
.title-rate__pick { display: inline-flex; gap: 2px; }
.title-rate__star,
.title-rate__star:hover,
.title-rate__star:focus,
.title-rate__star:active {
	width: 26px;
	height: 30px;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	font-size: 22px;
	line-height: 1;
	color: #cfcfcf;
	cursor: pointer;
}
.title-rate__star.is-active { color: #e6c34e; }
.title-rate__star.is-mine,
.title-rate__star.is-hover,
.title-rate__star:hover { color: var(--star); }
.title-rate__meta { font-size: 12px; color: var(--text-muted); }
.title-rate__dot { opacity: 0.6; }
.title-rate__words [data-w] { display: none; }
.title-rate__words [data-w="5"] { display: inline; }
.title-rate__words[data-form="1"] [data-w],
.title-rate__words[data-form="2"] [data-w],
.title-rate__words[data-form="5"] [data-w] { display: none; }
.title-rate__words[data-form="1"] [data-w="1"],
.title-rate__words[data-form="2"] [data-w="2"],
.title-rate__words[data-form="5"] [data-w="5"] { display: inline; }

.comments-list { display: grid; gap: 12px; }
.comments-tree-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment {
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface-2);
}
.comment__main { display: flex; gap: 12px; align-items: flex-start; }
.comment__avatar {
	position: relative;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--surface-3);
}
.comment__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.comment__avatar .comm__letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 18px;
	font-weight: 700;
	color: var(--green-deep);
	line-height: 1;
}
.comment__body { flex: 1 1 auto; min-width: 0; }
.comment__head {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 6px 10px;
	margin-bottom: 6px;
	min-width: 0;
}
.comment__name {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-strong);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.comment__group { font-size: 12px; color: var(--text-muted); flex-shrink: 0; white-space: nowrap; }
.comment__group--adm { color: var(--green-deep); font-weight: 700; }
.comment__date { font-size: 12px; color: var(--text-muted); margin-left: auto; flex-shrink: 0; white-space: nowrap; }
@media (max-width: 680px) {
	.comment__head { flex-wrap: wrap; }
	.comment__date { margin-left: 0; flex-basis: 100%; }
}
.comment__source { font-weight: 700; margin-bottom: 8px; color: var(--text-strong); }
.comment__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-btn);
	word-break: break-word;
}
.comment__text p { margin: 0 0 8px; }
.comment__text p:last-child { margin-bottom: 0; }
.comment__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 10px;
	font-size: 13px;
}
.comment__like a,
.comment__like { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.comment__like a:hover { color: var(--green-deep); }
.comment__like .ratingtypeplusminus { font-weight: 700; }
.comment__reply-btn { color: var(--text-muted); cursor: pointer; }
.comment__reply-btn a { color: inherit; }
.comment__reply-btn:hover,
.comment__reply-btn a:hover { color: var(--green-deep); }
.comment__ctrl { position: relative; margin-left: auto; }
.comment__ctrl-btn,
.comment__ctrl-btn:hover,
.comment__ctrl-btn:focus,
.comment__ctrl-btn:active {
	width: auto;
	height: auto;
	min-width: 0;
	padding: 0 6px;
	border: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: var(--text-muted);
}
.comment__ctrl-btn:hover { color: var(--green-deep); }
.comment__ctrl-menu {
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 20;
	min-width: 170px;
	margin-top: 6px;
	padding: 6px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.comment__ctrl-menu li { padding: 8px 10px; font-size: 13px; color: var(--text); border-radius: 8px; cursor: pointer; }
.comment__ctrl-menu li:hover { background: var(--surface-3); color: var(--green-deep); }
.comment__ctrl-menu a { color: inherit; display: block; }

.comments-tree-item .comments-tree-list {
	margin-top: 12px;
	margin-left: 6px;
	padding-left: 18px;
	border-left: 3px solid var(--green);
	gap: 12px;
}
.comments-tree-item .comments-tree-list .comment {
	padding: 12px 14px;
	background: var(--surface-3);
}

.comments-empty {
	margin: 0;
	padding: 6px 0;
	font-size: 14px;
	color: var(--text-muted);
}
.pofi__comments-info {
	color: var(--text-muted);
	font-size: 13px;
	margin: 0 0 14px;
}

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.title-plot { margin-top: 18px; }
.title-plot__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--text-strong);
}
.title-plot .title-info__desc { max-width: none; font-size: 15px; }
.title-plot .title-info__desc img { max-width: 100%; height: auto; border-radius: 10px; }
.title-plot .title-info__desc p { margin: 0 0 12px; }

.comments-form.ac-form { display: grid; gap: 10px; }
.avatar-pick { display: grid; gap: 8px; }
.avatar-pick__label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.avatar-pick__row { display: flex; flex-wrap: wrap; gap: 8px; }
.avatar-pick__btn,
.avatar-pick__btn:hover,
.avatar-pick__btn:focus,
.avatar-pick__btn:active {
	width: 44px;
	height: 44px;
	min-width: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 50%;
	background: var(--surface-3) !important;
	background-color: var(--surface-3) !important;
	box-shadow: none !important;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.avatar-pick__btn:hover {
	border-color: #c9d4b8;
	transform: scale(1.06);
}
.avatar-pick__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-pick__btn.is-active { border-color: var(--green); }

.comments-form .ac-form__input,
.comments-form input[type="text"],
.comments-form textarea,
.comments-form .ac-form__textarea,
.message-info .form__input {
	width: 100%;
	height: auto;
	min-height: 42px;
	padding: 11px 14px;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	background: var(--surface-2);
	color: var(--text);
	font: inherit;
	line-height: 1.4;
	outline: none;
	box-shadow: none;
}
.comments-form textarea,
.comments-form .ac-form__textarea { min-height: 96px; resize: vertical; }
.comments-form .ac-form__input:focus,
.comments-form textarea:focus,
.message-info .form__input:focus {
	border-color: var(--green);
	background: var(--input-bg-focus);
	box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.14);
}
.comments-form__editor { position: relative; }
.comments-form__bottom,
.ac-form__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.message-info.form .form__row { display: grid; gap: 6px; }
.message-info.form .form__label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.form__sec-code { display: flex; align-items: center; gap: 10px; }

.btn.btn--primary,
.comments-form .ac-form__btn,
.comments-form .ac-form__btn.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	min-height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--green);
	background-color: var(--green);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}
.btn.btn--primary:hover,
.comments-form .ac-form__btn:hover {
	background: var(--green-dark);
	background-color: var(--green-dark);
	color: #fff;
}
.has-checkbox { font-size: 13px; color: var(--text-muted); }

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-top: 22px;
	padding-top: 4px;
}
.pagination__pages { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.pagination__pages a,
.pagination__pages span,
.pagination__nav {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-btn);
	border-radius: 10px;
	background: var(--surface-muted);
	color: var(--text-btn);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}
.pagination__nav { width: 36px; min-width: 36px; padding: 0; }
.pagination__pages a:hover,
.pagination__nav:hover {
	color: var(--green-deep);
	border-color: var(--green);
	background: var(--hover-soft);
}
.pagination__pages span:not(.nav_ext) {
	color: #fff;
	border-color: var(--green);
	background: var(--green);
	pointer-events: none;
}
.pagination__nav > i,
.pagination__nav .pagination__btn {
	background: none !important;
	background-color: transparent !important;
	border: 0;
	padding: 0;
	margin: 0;
	width: auto;
	height: auto;
	min-width: 0;
	color: inherit;
	font-size: 14px;
	line-height: 1;
	box-shadow: none !important;
}
.pagination__nav:not(:has(a)),
.pagination .disabled { opacity: 0.4; pointer-events: none; }

#pagination,
.catalog-page__grid .pagination { grid-column: 1 / -1; width: 100%; }
.pagination__btn-loader { display: none; }
.pagination__btn-loader--legacy { display: flex; justify-content: center; width: 100%; }
.pagination__btn-loader a,
.pagination__btn-loader a:hover {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 220px;
	max-width: 360px;
	width: 100%;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: var(--green);
	background-color: var(--green);
	color: #fff;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-shadow: none;
}
.pagination__btn-loader a:hover { background: var(--green-dark); background-color: var(--green-dark); }
.search-results .pagination__btn-loader { display: none !important; }

#catalog-page .section__head {
	align-items: flex-start;
}
.catalog-page__count {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-muted);
}
.descr {
	margin-top: 20px;
	padding: 20px;
	border-radius: var(--panel-radius);
	background: var(--surface);
	color: var(--text);
	font-size: 14px;
	line-height: 1.6;
	box-shadow: var(--panel-shadow);
}
.descr h1, .descr h2, .descr h3 { color: var(--text-strong); margin-bottom: 10px; font-weight: 700; }
.descr a { color: var(--green-dark); }

.scrolltop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
.scrolltop.is-active { opacity: 1; visibility: visible; }
@media (max-width: 768px) { .scrolltop { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } }

.berrors {
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--surface-3);
	color: var(--text);
	margin: 12px 0;
}
.message-info { color: var(--text); }

html[data-theme="dark"] .comment__ctrl-menu { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .title-rate__star { color: #4a4a4a; }
html[data-theme="dark"] .title-player__frame { background: #0c0c0c; }

.ui-widget-overlay {
	position: fixed !important;
	inset: 0 !important;
	z-index: 1000 !important;
	background: rgba(0, 0, 0, 0.5) !important;
	opacity: 1 !important;
}
.ui-dialog.dle-popup-replycomments {
	z-index: 1001 !important;
	max-width: 96vw;
	padding: 0 !important;
	border: 1px solid var(--border-strong) !important;
	border-radius: 16px !important;
	background: var(--surface) !important;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
	overflow: hidden;
	font-family: inherit;
	color: var(--text);
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 56px 14px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--border) !important;
	border-radius: 0 !important;
	background: var(--surface-2) !important;
	color: var(--text-strong) !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-title {
	float: none !important;
	margin: 0 !important;
	font-size: 15px;
	font-weight: 700;
	color: var(--text-strong);
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close {
	position: absolute !important;
	top: 50% !important;
	right: 14px !important;
	left: auto !important;
	transform: translateY(-50%);
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-btn) !important;
	border-radius: 9px !important;
	background: var(--surface) !important;
	color: var(--text-muted);
	cursor: pointer;
	text-indent: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close:hover {
	color: var(--green-deep);
	border-color: var(--green) !important;
	background: var(--hover-soft) !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close .ui-icon,
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close .ui-button-icon-space { display: none !important; }
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close .ui-icon,
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close .ui-button-icon,
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close .ui-button-icon-space,
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close > * {
	display: none !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close::before {
	content: "\00d7";
	font-size: 20px;
	line-height: 1;
	color: var(--text-muted);
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close:hover {
	border-color: var(--border-strong) !important;
	color: var(--text) !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-titlebar-close:hover::before { color: var(--text); }
.ui-dialog.dle-popup-replycomments .ui-dialog-content {
	padding: 16px 18px !important;
	max-height: 65vh;
	overflow: auto;
	background: var(--surface) !important;
	color: var(--text) !important;
	font-size: 14px;
	line-height: 1.5;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-content b { color: var(--text-strong); }
.dle-popup-replycomments .commentsreplyname { margin-top: 10px; }
.dle-popup-replycomments .commentsreplymail { display: none !important; }
.dle-popup-replycomments .avatar-pick { margin: 4px 0 4px; }
.dle-popup-replycomments .avatar-pick__label { font-size: 12px; }
.dle-popup-replycomments input[type="text"],
.dle-popup-replycomments input[type="email"],
.dle-popup-replycomments textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border-btn);
	border-radius: 10px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
}
.dle-popup-replycomments .bb-editor { margin-top: 10px; }
.dle-popup-replycomments textarea {
	height: 170px !important;
	min-height: 120px;
	resize: vertical;
}
.dle-popup-replycomments input[type="text"]:focus,
.dle-popup-replycomments input[type="email"]:focus,
.dle-popup-replycomments textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px var(--hover-soft);
}
.ui-dialog.dle-popup-replycomments .ui-dialog-buttonpane {
	margin: 0 !important;
	padding: 12px 18px !important;
	border: 0 !important;
	border-top: 1px solid var(--border) !important;
	background: var(--surface-2) !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: none !important;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-buttonpane button {
	float: none !important;
	margin: 0 !important;
	padding: 0 18px !important;
	height: 40px;
	border: 1px solid var(--border-btn) !important;
	border-radius: 10px !important;
	background: var(--surface) !important;
	color: var(--text-btn) !important;
	font-weight: 700;
	font-size: 14px;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-buttonpane button:hover {
	border-color: var(--green) !important;
	color: var(--green-deep) !important;
	background: var(--hover-soft) !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-buttonpane button:last-child {
	border-color: var(--green) !important;
	background: var(--green) !important;
	color: #fff !important;
}
.ui-dialog.dle-popup-replycomments .ui-dialog-buttonpane button:last-child:hover {
	background: var(--green-dark) !important;
	border-color: var(--green-dark) !important;
	color: #fff !important;
}

.commentsreplymail,
#dlereplypopup .commentsreplymail,
#dlefastreplycomments .commentsreplymail,
.ui-dialog .commentsreplymail { display: none !important; }

#dlefastreplycomments,
#dlereplypopup {
	margin: 12px 0 4px;
	padding: 16px;
	border: 1px solid var(--border-strong);
	border-radius: 16px;
	background: var(--surface);
	color: var(--text);
	font-size: 14px;
	line-height: 1.45;
	box-shadow: var(--panel-shadow);
}
#dlefastreplycomments .reply-form__title,
#dlereplypopup .reply-form__title {
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.4;
}
#dlefastreplycomments .reply-form__title b,
#dlereplypopup .reply-form__title b,
#dlefastreplycomments > b,
#dlereplypopup > b { color: var(--text-strong); font-weight: 700; }
#dlefastreplycomments > form,
#dlereplypopup > form {
	margin-top: 12px;
	display: grid;
	gap: 10px;
}
#dlefastreplycomments .commentsreplyname,
#dlereplypopup .commentsreplyname { margin-top: 0; }
#dlefastreplycomments .commentsreplyname input,
#dlefastreplycomments textarea,
#dlereplypopup .commentsreplyname input,
#dlereplypopup textarea {
	width: 100%;
	height: auto;
	min-height: 42px;
	padding: 11px 14px;
	border: 1px solid var(--border-btn);
	border-radius: 12px;
	background: var(--surface-2);
	color: var(--text);
	font: inherit;
	box-shadow: none;
	line-height: 1.4;
}
#dlefastreplycomments textarea,
#dlereplypopup textarea {
	min-height: 120px;
	height: 120px !important;
	resize: vertical;
	padding-top: 12px;
	padding-bottom: 12px;
}
#dlefastreplycomments .commentsreplyname input:focus,
#dlefastreplycomments textarea:focus,
#dlereplypopup .commentsreplyname input:focus,
#dlereplypopup textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px var(--hover-soft);
}
#dlefastreplycomments .bb-editor { margin-top: 0; }
#dlefastreplycomments .avatar-pick,
#dlereplypopup .avatar-pick,
.ui-dialog .avatar-pick {
	display: grid;
	gap: 8px;
	margin: 0 0 2px;
}
#dlefastreplycomments .save-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}
#dlefastreplycomments .save-buttons input.bbcodes {
	width: auto !important;
	flex: 0 0 auto;
	height: 42px;
	padding: 0 20px;
	border-radius: 12px;
	font-weight: 700;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
}
#dlefastreplycomments .save-buttons input.cancelchanges {
	border: 1px solid var(--border-btn);
	background: var(--surface);
	color: var(--text);
}
#dlefastreplycomments .save-buttons input.applychanges {
	border: 0;
	background: var(--green);
	color: #fff;
}
#dlefastreplycomments .save-buttons input.applychanges:hover {
	background: var(--green-dark);
}

.cards-grid:has(.ncard) {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	grid-template-columns: none !important;
	align-items: stretch !important;
}
.ncard + .card,
.cards-grid:has(.ncard) > .card {
	display: none !important;
}
.ncard {
	grid-column: auto !important;
	display: block;
	min-width: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ncard:hover {
	border-color: var(--green);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
.ncard__link {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 16px;
	align-items: stretch;
	padding: 16px 18px;
	text-decoration: none;
	color: inherit;
}
.ncard__when {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 76px;
	padding: 10px 6px;
	border-radius: 12px;
	background: var(--hover-soft);
	color: var(--green-deep);
	text-align: center;
}
.ncard__day {
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}
.ncard__mon {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: lowercase;
}
.ncard__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 2px 0;
}
.ncard__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-strong);
}
.ncard__text {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-soft);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ncard__more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--green-deep);
}

@media (max-width: 680px) {
	.ncard__link {
		grid-template-columns: 64px 1fr;
		gap: 12px;
		padding: 12px 14px;
	}
	.ncard__when { min-height: 64px; }
	.ncard__day { font-size: 22px; }
	.ncard__title { font-size: 16px; }
}

.socials a[data-share="tg"], .socials a[data-share="telegram"],
.title-share__btn[data-share="tg"], .title-share__btn[data-share="telegram"] { color: #2aabee !important; border-color: rgba(42, 171, 238, 0.45) !important; background: rgba(42, 171, 238, 0.12) !important; }
.socials a[data-share="vk"],
.title-share__btn[data-share="vk"]      { color: #0077ff !important; border-color: rgba(0, 119, 255, 0.45) !important; background: rgba(0, 119, 255, 0.12) !important; }
.socials a[data-share="ok"],
.title-share__btn[data-share="ok"]      { color: #ee8208 !important; border-color: rgba(238, 130, 8, 0.45) !important; background: rgba(238, 130, 8, 0.12) !important; }
.socials a[data-share="wa"], .socials a[data-share="whatsapp"],
.title-share__btn[data-share="wa"], .title-share__btn[data-share="whatsapp"] { color: #25d366 !important; border-color: rgba(37, 211, 102, 0.45) !important; background: rgba(37, 211, 102, 0.12) !important; }
.socials a[data-share="viber"],
.title-share__btn[data-share="viber"]   { color: #7360f2 !important; border-color: rgba(115, 96, 242, 0.45) !important; background: rgba(115, 96, 242, 0.12) !important; }
.socials a[data-share="x"],
.title-share__btn[data-share="x"]       { color: var(--text) !important; border-color: var(--border-strong) !important; }

.socials a[data-share="tg"]:hover, .socials a[data-share="telegram"]:hover,
.title-share__btn[data-share="tg"]:hover, .title-share__btn[data-share="telegram"]:hover { background: rgba(42, 171, 238, 0.22) !important; border-color: #2aabee !important; }
.socials a[data-share="vk"]:hover,
.title-share__btn[data-share="vk"]:hover       { background: rgba(0, 119, 255, 0.22) !important; border-color: #0077ff !important; }
.socials a[data-share="ok"]:hover,
.title-share__btn[data-share="ok"]:hover       { background: rgba(238, 130, 8, 0.22) !important; border-color: #ee8208 !important; }
.socials a[data-share="wa"]:hover, .socials a[data-share="whatsapp"]:hover,
.title-share__btn[data-share="wa"]:hover, .title-share__btn[data-share="whatsapp"]:hover  { background: rgba(37, 211, 102, 0.22) !important; border-color: #25d366 !important; }
.socials a[data-share="viber"]:hover,
.title-share__btn[data-share="viber"]:hover     { background: rgba(115, 96, 242, 0.22) !important; border-color: #7360f2 !important; }
.socials a[data-share="x"]:hover,
.title-share__btn[data-share="x"]:hover         { background: var(--control-hover) !important; border-color: var(--text) !important; }

.news-article__head { margin-bottom: 16px; }
.news-article__title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--text-strong);
	letter-spacing: -0.01em;
}
.news-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: 13px;
	color: var(--text-muted);
}
.news-article__meta-sep { color: var(--border-strong); }
.news-article__cover {
	margin: 0 0 20px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--surface-muted);
}
.news-article__cover img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.news-article__body { margin-top: 4px; }

.title-share__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.title-share > h2,
.title-share__label {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--text-soft);
}

@media (max-width: 680px) {
	.news-article__title { font-size: 22px; }
	.news-article__cover img { aspect-ratio: 4 / 3; }
}

.tg-banner,
.tg-banner:hover,
.tg-banner:focus,
.tg-banner:active {
	background: linear-gradient(105deg, #1d9bd8 0%, #2aabee 52%, #1b8ec8 100%) !important;
	background-color: #2aabee !important;
	color: #fff !important;
	text-transform: none !important;
	text-decoration: none !important;
	border: 0 !important;
	height: auto !important;
	padding: 16px 20px !important;
	border-radius: var(--panel-radius) !important;
}

.tg-banner__title,
.tg-banner__desc,
.tg-banner__btn {
	text-transform: none !important;
}

.tg-banner__btn {
	background: #fff !important;
	color: #1b8ec8 !important;
	height: 40px !important;
	padding: 0 18px !important;
}

@media (max-width: 680px) {
	.tg-banner,
	.tg-banner:hover,
	.tg-banner:focus,
	.tg-banner:active {
		display: grid !important;
		padding: 12px !important;
	}
}
