/*
 * Motchill modern UI layer.
 * Colors/tokens: motchill-tokens.css
 */
:root {
  --mtc-font: "Be Vietnam Pro", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mtc-radius: 10px;
  --mtc-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  --mtc-gutter: 18px;
  --mtc-page-gap: 18px;
  --mtc-section-gap: 28px;
  --mtc-section-inner-gap: 14px;
  --mtc-card-gap: 16px;
  --mtc-card-padding: 18px;
  --mtc-card-bg:
    radial-gradient(circle at 18% 8%, rgba(var(--accent-rgb), 0.07), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)),
    var(--mtc-surface);
  --mtc-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 36px rgba(0, 0, 0, 0.22);
  --mtc-container: min(1200px, calc(100vw - 36px));
}

body,
button,
input,
select,
textarea {
  font-family: var(--mtc-font);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 220px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.035), transparent 34%, transparent 66%, rgba(var(--accent-rgb), 0.02)),
    var(--mtc-bg);
  color: var(--mtc-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.motchill-container,
.motchill-recommended,
.motchill-home-layout,
.myui-panel-list,
.detail-bl,
.video-footer > [itemscope],
.video-p-first,
#main-player,
#ploption,
.motchill-error-page {
  width: var(--mtc-container);
  margin-left: calc(50% - var(--mtc-container) / 2);
  margin-right: 0;
  box-sizing: border-box;
}

.motchill-surface-card,
:is(.motchill-trending, .motchill-sidebar-list, .myui-panel-list, .detail-block, .myui-movie-detail, .video-p-first, #servers-container, .myui-panel-bg) {
  background: var(--mtc-card-bg);
  border: 1px solid var(--mtc-border);
  border-radius: var(--mtc-radius);
  box-shadow: var(--mtc-card-shadow);
}

.motchill-panel-stack,
:is(.motchill-trending, .motchill-sidebar-list, .myui-movie-detail) {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-card-gap);
}

.motchill-section-stack {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-section-inner-gap);
}

.motchill-home-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}

.motchill-section-header,
.motchill-home-section__header,
:is(.motchill-trending, .motchill-sidebar-list) .myui-panel__head.active,
.detail-bl .myui-panel-bg .myui-panel__head {
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 1px dashed rgba(var(--accent-hot-rgb), 0.46);
}

#star i {
  color: orange;
}

.flickity-prev-next-button svg {
  vertical-align: middle !important;
}

@media all and (min-width: 813px) {
  .m-nav,
  .m-nav-over {
    display: none !important;
  }
}

.motchill-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 6px;
  width: min(560px, calc(100vw - 36px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-hot-rgb), 0.16), transparent 42%),
    linear-gradient(180deg, rgba(18, 22, 27, 0.94), rgba(8, 12, 16, 0.92));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.motchill-bottom-nav__item {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--mtc-ease), background-color var(--mtc-ease), border-color var(--mtc-ease), transform var(--mtc-ease);
}

.motchill-bottom-nav__item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.motchill-bottom-nav__item:hover,
.motchill-bottom-nav__item:focus,
.motchill-bottom-nav__item.active {
  color: #fff;
  border-color: rgba(var(--accent-hot-rgb), 0.32);
  background: rgba(var(--accent-hot-rgb), 0.16);
  text-decoration: none;
  outline: 0;
}

.motchill-bottom-nav__item:hover {
  transform: translateY(-1px);
}

.motchill-bottom-nav__search {
  color: #fff;
  background: linear-gradient(180deg, rgba(var(--accent-hot-rgb), 0.95), rgba(178, 115, 78, 0.92));
  border-color: rgba(255, 198, 153, 0.36);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.motchill-bottom-nav__search svg {
  color: #fff;
  opacity: 1;
}

.motchill-bottom-nav__search span {
  color: #fff;
}

.motchill-header-modern {
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-hot-rgb), 0.11), transparent 32%),
    linear-gradient(180deg, #12171b 0%, #0d1115 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  padding-top: 0;
}

.motchill-header-modern > .container,
.motchill-header-modern .nav__content > .container {
  max-width: 1200px;
  padding-left: 18px;
  padding-right: 18px;
}

.motchill-header-modern .myui_custom_header {
  min-height: 64px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.motchill-header-modern .header-icon-btn,
.motchill-header-modern .m-nav-open {
  width: 36px;
  height: 36px;
  border: 1px solid var(--mtc-border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: var(--mtc-radius);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--mtc-ease), background-color var(--mtc-ease), color var(--mtc-ease);
}

.motchill-header-modern .header-icon-btn,
.motchill-header-modern .m-nav-open,
.motchill-header-modern .m-search-open {
  color: #fff;
}

.motchill-header-modern .header-icon-btn svg,
.motchill-header-modern .m-nav-open svg,
.motchill-header-modern .m-search-open svg {
  width: 20px;
  height: 20px;
  opacity: 1;
  color: #fff;
}

.motchill-header-modern .myui-header__logo {
  float: none;
  flex: 0 0 auto;
}

.motchill-header-modern .myui-header__logo .logo {
  width: 190px;
  height: 48px;
  background: none;
  text-indent: 0;
  display: inline-flex;
  align-items: center;
  transition: opacity var(--mtc-ease), transform var(--mtc-ease);
}

.motchill-header-modern .myui-header__logo .logo h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.motchill-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mtc-accent);
}

.motchill-logo-mark {
  width: 44px;
  height: 36px;
  filter: drop-shadow(0 6px 14px rgba(var(--accent-hot-rgb), 0.16));
}

.motchill-logo-text {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.motchill-header-modern .myui-header__logo .logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.motchill-header-modern .myui-header__search {
  float: none;
  flex: 1 1 380px;
  max-width: 470px;
  min-width: 240px;
  margin: 0;
  display: block;
}

.motchill-header-modern .myui-header__search .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.motchill-header-modern .myui-header__search ul,
.motchill-header-modern .myui-header__search li,
.motchill-header-modern .myui-header__search li.search-box,
.motchill-header-modern .motchill-search-form {
  width: 100%;
}

.motchill-header-modern .myui-header__search li {
  float: none;
}

.motchill-header-modern .myui-header__search li.search-box,
.motchill-header-modern .motchill-search-form {
  height: 36px;
}

.motchill-header-modern .myui-header__search li.search-box .form-control {
  height: 36px;
  color: #f7f7f8;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  font-style: normal;
  padding: 0 40px 0 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(16, 19, 23, 0.88);
  border: 1px solid var(--mtc-border-strong);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.motchill-header-modern .myui-header__search li.search-box .form-control::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.motchill-header-modern .myui-header__search li.search-box .form-control {
  color: #fff;
}

.motchill-header-modern .myui-header__search li.search-box .form-control:focus {
  border-color: rgba(var(--accent-hot-rgb), 0.72);
  box-shadow: 0 0 0 4px rgba(var(--accent-hot-rgb), 0.08), 0 18px 36px rgba(0, 0, 0, 0.28);
}

.motchill-header-modern .myui-header__search li.search-box .submit {
  left: 10px;
  right: auto;
  top: 50%;
  width: 24px;
  height: 24px;
  color: var(--accent);
  transform: translateY(-50%);
}

.motchill-header-modern .myui-header__search li.search-box .submit svg {
  width: 18px;
  height: 18px;
  opacity: 1;
  color: var(--accent);
}

.motchill-header-modern .myui-header__search li.search-box .dropdown-box {
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  margin-left: 0;
  padding-top: 0;
  width: 100%;
  min-width: 100%;
  max-height: min(620px, calc(100vh - 150px));
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 8px;
  background: rgba(14, 18, 23, 0.98);
  border: 1px solid var(--mtc-border);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: none;
  animation: none;
  -webkit-animation: none;
}

/* â”€â”€ Search results scroll (modern dropdown) â”€â”€ */
.motchill-header-modern .myui-header__search li.search-box .dropdown-box .motchill-search-results {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.motchill-header-modern .myui-header__search li.search-box .dropdown-box.is-active,
.motchill-header-modern .myui-header__search li.search-box .search-dropdown-hot.is-active {
  display: flex !important;
}

.motchill-header-modern .myui-header__search li.search-box .dropdown-box:empty,
.motchill-header-modern .myui-header__search li.search-box:hover .dropdown-box:empty {
  display: none;
}

.myui-header__search li.search-box.search-box:hover .search-dropdown-hot:not(.is-active),
.motchill-header-modern .myui-header__search li.search-box:hover .search-dropdown-hot:not(.is-active),
.motchill-header-modern .myui-header__search li.search-box:hover .dropdown-box:not(.is-active) {
  display: none !important;
}

.motchill-search-suggestions {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-hot-rgb), 0.42) transparent;
}

.motchill-search-suggestions::-webkit-scrollbar {
  width: 4px;
}

.motchill-search-suggestions::-webkit-scrollbar-track {
  margin: 4px 0;
  background: transparent;
  border-radius: 999px;
}

.motchill-search-suggestions::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-hot-rgb), 0.38);
  border-radius: 999px;
}

.motchill-search-suggestions::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-hot-rgb), 0.62);
}

.motchill-search-suggestions--empty {
  overflow: visible;
}

.motchill-search-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.motchill-search-group__title {
  padding: 2px 6px;
  color: rgba(var(--accent-hot-rgb), 0.94);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.motchill-search-suggestion {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background-color var(--mtc-ease), border-color var(--mtc-ease);
}

.motchill-search-suggestion:hover {
  color: #fff;
  background: rgba(var(--accent-hot-rgb), 0.12);
  border-color: rgba(var(--accent-hot-rgb), 0.22);
  text-decoration: none;
}

.motchill-search-suggestion__rank {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(var(--accent-hot-rgb), 0.72);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.motchill-search-suggestion__thumb {
  width: 42px;
  height: auto;
  aspect-ratio: 2 / 3;
  flex: 0 0 42px;
  border-radius: 6px;
  border: 1px solid var(--mtc-border);
  background-color: rgba(255, 255, 255, 0.055);
  background-position: center top;
  background-size: cover;
}

.motchill-search-suggestion__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.34);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--accent-hot-rgb), 0.42), rgba(255, 255, 255, 0.055));
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.motchill-search-suggestion--person {
  min-height: 56px;
}

.motchill-search-suggestion__body {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
}

.motchill-search-suggestion__body strong,
.motchill-search-suggestion__body small,
.motchill-search-suggestion__body em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motchill-search-suggestion__body strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
}

.motchill-search-suggestion__body small,
.motchill-search-suggestion__body em,
.motchill-search-empty,
.motchill-search-loading {
  color: var(--mtc-muted);
  font-size: 12px;
  line-height: 1.35;
}

.motchill-search-suggestion__body em {
  font-style: normal;
  color: rgba(var(--accent-hot-rgb), 0.86);
}

.motchill-search-empty,
.motchill-search-loading {
  padding: 14px;
  text-align: center;
}

.motchill-search-view-all {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.32);
  border-radius: 9px;
  color: #fff;
  background: rgba(var(--accent-hot-rgb), 0.18);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--mtc-ease), border-color var(--mtc-ease), color var(--mtc-ease);
}

.motchill-search-view-all:hover {
  color: #fff;
  background: rgba(var(--accent-hot-rgb), 0.28);
  border-color: rgba(var(--accent-hot-rgb), 0.48);
  text-decoration: none;
}

.motchill-header-modern #box-user-menu {
  margin: 0 0 0 auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.motchill-header-modern #box-user-menu > div {
  position: relative;
}

.motchill-header-modern #box-user-menu > div + div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
}

.motchill-header-modern #box-user-menu a {
  min-height: 30px;
  padding: 0 10px;
  margin: 0;
  color: var(--mtc-text);
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  border-radius: var(--mtc-radius-sm);
  cursor: pointer;
  transition: background-color var(--mtc-ease), color var(--mtc-ease), transform var(--mtc-ease);
}

.motchill-header-modern #box-user-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.motchill-header-modern #box-user-menu .icon {
  margin-right: 0;
  fill: var(--mtc-accent);
  color: var(--mtc-accent);
  opacity: 0.98;
}

.motchill-header-modern .icon-sign-in {
  width: 17px;
  height: 17px;
}

.motchill-header-modern .icon-users {
  width: 18px;
  height: 17px;
}

.motchill-header-modern .icon-bookmark {
  width: 15px;
  height: 17px;
}

.motchill-header-modern .nav__content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(18, 22, 26, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.motchill-header-modern .menu-block {
  overflow: visible;
}

.motchill-header-modern .myui-header__menu {
  float: none;
  width: 100%;
  min-height: 42px;
  display: table;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

.motchill-header-modern .myui-header__menu > li {
  float: none;
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.motchill-header-modern .myui-header__menu > li > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--mtc-ease), background-color var(--mtc-ease);
}

.motchill-header-modern .myui-header__menu > li.active > a,
.motchill-header-modern .myui-header__menu > li > a:hover {
  color: var(--mtc-accent);
}

.motchill-header-modern .myui-header__menu > li.active > a::after {
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--mtc-accent);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 -4px 14px rgba(var(--accent-hot-rgb), 0.35);
}

.motchill-header-modern .menu-home-icon {
  width: 14px;
  height: 14px;
}

.motchill-header-modern .menu-caret {
  width: 9px;
  height: 9px;
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--mtc-ease), transform var(--mtc-ease);
}

.motchill-header-modern .has-submenu:hover .menu-caret {
  color: var(--mtc-accent);
  transform: rotate(180deg);
}

.motchill-header-modern .nav-menu > li .sub {
  top: calc(100% - 2px);
  padding: 12px;
  background: rgba(14, 18, 23, 0.98);
  border: 1px solid var(--mtc-border);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.48);
}

.motchill-header-modern .nav-menu > li .sub > li > a {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.motchill-header-modern .nav-menu > li .sub > li > a:hover {
  background: rgba(var(--accent-hot-rgb), 0.12);
  color: #fff;
}

.motchill-recommended,
.motchill-home-layout {
  padding-left: var(--mtc-gutter);
  padding-right: var(--mtc-gutter);
}

.motchill-recommended {
  position: relative;
  z-index: 3;
  gap: var(--mtc-section-gap);
  margin-top: var(--mtc-page-gap);
  margin-bottom: var(--mtc-section-gap);
  padding-left: 28px;
  padding-right: 28px;
  overflow: visible;
}

.motchill-recommended__title,
.motchill-home-section__title {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
}

.motchill-recommended__title {
  margin-bottom: 0;
  color: #c18a69;
  font-size: 28px;
  letter-spacing: 2px;
}

.motchill-recommended__title::before,
.motchill-home-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 26px;
  border-radius: 3px;
  background: #d4874e;
  box-shadow: 0 0 18px rgba(212, 135, 78, 0.26);
}

.motchill-recommended-carousel {
  --carousel-gap: 18px;
  --carousel-visible: 5;
  --carousel-slide-size: 220px;
  --carousel-nav-top: 42%;
  position: relative;
  padding: 0;
  overflow: visible;
}

.motchill-carousel__viewport {
  overflow: hidden;
}

.motchill-carousel__track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.motchill-carousel__slide {
  flex: 0 0 var(--carousel-slide-size);
  min-width: 0;
  padding: 0;
}

.motchill-carousel__nav {
  position: absolute;
  top: var(--carousel-nav-top);
  z-index: 50;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.motchill-carousel__nav.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) scale(0.92);
}

.motchill-carousel__nav-icon {
  width: 26px;
  height: 26px;
  fill: #fff;
  pointer-events: none;
}

.motchill-carousel__nav-arrow {
  fill: #fff;
}

.motchill-carousel__nav:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.96);
  transform: translateY(-50%) scale(1.04);
}

.motchill-carousel__nav.is-hidden:hover {
  transform: translateY(-50%) scale(0.92);
}

.motchill-carousel__nav--prev {
  left: -27px;
}

.motchill-carousel__nav--next {
  right: -27px;
}

.motchill-recommended__box {
  height: 100%;
}

.motchill-recommended__box:hover {
  transform: none;
}

.motchill-recommended.motchill-movie-card:hover,
.motchill-recommended__box.motchill-movie-card:hover,
.motchill-recommended__box.motchill-card:hover {
  transform: none;
}

.motchill-recommended__thumb {
  display: block;
  position: relative;
  padding-top: 142%;
  overflow: hidden;
  border-radius: var(--mtc-radius);
  border: none !important;
  outline: none;
  background-color: var(--bg-page);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32) !important;
  transition: box-shadow 0.35s ease;
}

.motchill-recommended__thumb-media {
  position: absolute;
  inset: -4px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.motchill-recommended__box:hover .motchill-recommended__thumb-media {
  transform: scale(1.2);
}

.motchill-recommended__tag {
  z-index: 4;
}

.motchill-movie-card__thumb .play,
.motchill-recommended__thumb .play,
.film-list .myui-vodlist__thumb .play,
.myui-vodlist__bd .myui-vodlist__thumb .play {
  opacity: 0;
  position: absolute;
  inset: 0;
  top: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22) !important;
  background-image: none !important;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.motchill-card-play__icon {
  width: clamp(32px, 3.8vw, 42px);
  height: clamp(32px, 3.8vw, 42px);
  color: #fff;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.48));
  flex-shrink: 0;
}

.motchill-movie-card__thumb:hover .play,
.motchill-recommended__box:hover .play,
.motchill-recommended__thumb:hover .play,
.film-list .myui-vodlist__thumb:hover .play,
.myui-vodlist__bd .myui-vodlist__thumb:hover .play {
  opacity: 1;
}

.motchill-recommended__thumb:hover {
  border: none !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.motchill-recommended__cell {
  width: auto;
  display: block;
  padding: 0;
  vertical-align: top;
}

.motchill-card,
.motchill-movie-card,
.myui-vodlist__box {
  transition: transform 0.22s ease;
}

.motchill-card:hover,
.motchill-movie-card:hover,
.film-list .myui-vodlist__box:hover,
.myui-vodlist__bd .myui-vodlist__box:hover {
  transform: translateY(-3px);
}

.motchill-home-section__box:hover,
.motchill-home-section__cell .motchill-card:hover,
.motchill-home-section__cell .motchill-movie-card:hover {
  transform: none;
}

.motchill-movie-card__thumb:not(.motchill-recommended__thumb),
.motchill-home-section__thumb,
.film-list .myui-vodlist__thumb,
.myui-vodlist__bd .myui-vodlist__thumb {
  border-radius: var(--mtc-radius);
  overflow: hidden;
  border: none !important;
  outline: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: box-shadow var(--mtc-ease);
}

.motchill-home-section__thumb {
  display: block;
  position: relative;
  isolation: isolate;
  background-color: var(--bg-page) !important;
  background-image: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.motchill-home-section__thumb-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  background-color: var(--bg-page);
}

.motchill-home-section__thumb-media {
  position: absolute;
  inset: -14px;
  z-index: 1;
  background-color: var(--bg-page);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.12);
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.motchill-home-section__box:hover .motchill-home-section__thumb-media {
  transform: scale(1.22);
}

.motchill-recommended__thumb {
  border: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.motchill-recommended__thumb,
.motchill-home-section__thumb,
.film-list .myui-vodlist__thumb,
.myui-vodlist__bd .myui-vodlist__thumb {
  padding-top: 142%;
}

.film-list .myui-vodlist__thumb,
.myui-vodlist__bd .myui-vodlist__thumb {
  background-position: center center;
  background-size: cover;
}

.motchill-recommended__thumb::before,
.motchill-home-section__thumb::before,
.film-list .myui-vodlist__thumb::before,
.myui-vodlist__bd .myui-vodlist__thumb::before {
  content: none;
}

.motchill-movie-card__thumb:not(.motchill-recommended__thumb):hover,
.motchill-home-section__thumb:hover,
.film-list .myui-vodlist__thumb:hover,
.myui-vodlist__bd .myui-vodlist__thumb:hover {
  border: none !important;
  outline: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.motchill-home-section__box:hover .motchill-home-section__thumb,
.motchill-home-section__box:hover .motchill-home-section__thumb:hover {
  border: none !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38) !important;
}

.motchill-movie-card__thumb.motchill-recommended__thumb,
.motchill-movie-card__thumb.motchill-recommended__thumb:hover {
  border: none !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42) !important;
}

.motchill-movie-card__thumb.myui-vodlist__thumb,
.motchill-recommended__thumb.myui-vodlist__thumb {
  -webkit-box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  border: none !important;
}

.motchill-home-section__thumb.myui-vodlist__thumb {
  -webkit-box-shadow: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  background-color: var(--bg-page) !important;
  background-image: none !important;
  border: none !important;
}

.motchill-movie-card__tag,
.film-list .pic-tag,
.myui-vodlist__bd .pic-tag {
  z-index: 4;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--mtc-accent), var(--accent-hot-dark));
  border: 0;
  border-bottom: 2px solid #b8734e;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(var(--accent-hot-rgb), 0.32);
}

.motchill-movie-card__detail,
.motchill-recommended__detail,
.film-list .myui-vodlist__detail,
.myui-vodlist__bd .myui-vodlist__detail {
  z-index: 4;
  display: block;
  padding: 0 13px 13px;
  background: transparent;
  text-align: left;
  white-space: normal;
}

.motchill-movie-card__detail .title,
.motchill-recommended__detail .title,
.film-list .myui-vodlist__detail .title,
.myui-vodlist__bd .myui-vodlist__detail .title {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: none;
}

.motchill-movie-card__detail .title a,
.film-list .myui-vodlist__detail .title a,
.myui-vodlist__bd .myui-vodlist__detail .title a {
  color: inherit;
}

.motchill-movie-card__detail .text,
.motchill-recommended__detail .text,
.film-list .myui-vodlist__detail .text,
.myui-vodlist__bd .myui-vodlist__detail .text {
  min-height: 0;
  margin: 0;
  color: var(--mtc-muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
}

.motchill-home-layout__main {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-section-gap);
}


.motchill-sidebar-stack,
.myui-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-section-gap);
}

.motchill-sidebar-stack > .myui-panel,
.motchill-sidebar-stack > .myui-panel-box,
.myui-sidebar > .myui-panel,
.myui-sidebar > .myui-panel-box {
  margin: 0;
  padding: 0;
}

.motchill-sidebar-stack .myui-panel_hd,
.motchill-sidebar-stack .myui-panel_bd,
.myui-sidebar .myui-panel_hd,
.myui-sidebar .myui-panel_bd {
  padding: 0;
}

.myui-sidebar .motchill-trending,
.myui-sidebar .motchill-sidebar-list,
.motchill-sidebar-stack .motchill-trending,
.motchill-sidebar-stack .motchill-sidebar-list {
  margin-top: 0;
}

.motchill-home-section__header {
  margin-bottom: 0;
  padding: 0 0 22px;
  align-items: center;
}

.motchill-home-section__title {
  font-size: 22px;
}

.motchill-home-section__more {
  min-height: 30px;
  padding: 0 2px 0 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 600;
  flex: 0 0 auto;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
  transition: color 0.18s ease;
}

.motchill-home-section__more svg {
  width: 15px;
  height: 15px;
  margin-left: 4px;
}

.motchill-home-section__more:hover {
  color: var(--mtc-accent);
}

.motchill-home-section__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.motchill-home-section__list::before,
.motchill-home-section__list::after {
  display: none;
  content: none;
}

.motchill-home-section__cell {
  width: calc((100% - 48px) / 5);
  padding: 0;
}

.motchill-trending,
.motchill-sidebar-list {
  margin-top: 0;
  padding: var(--mtc-card-padding);
}

.motchill-trending .myui-panel__head.active,
.motchill-sidebar-list .myui-panel__head.active,
.myui-panel__head.active,
.myui-panel__head.height-auto {
  height: auto;
  margin: 0;
  padding: 0 10px 13px;
  color: var(--mtc-accent);
  border: 0;
  border-bottom: 1px dashed rgba(var(--accent-hot-rgb), 0.52);
  text-transform: uppercase;
}

.motchill-trending__title,
.motchill-sidebar-list__title,
.myui-panel__head .title {
  color: var(--mtc-accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.motchill-trending__title,
.motchill-sidebar-list__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.motchill-trending__icon,
.motchill-sidebar-list__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--mtc-accent);
  filter: drop-shadow(0 5px 12px rgba(var(--accent-hot-rgb), 0.24));
}

.motchill-trending__block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.motchill-trending__panels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.motchill-trending__tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.motchill-trending__tab,
.motchill-trending .tabs .tab,
.motchill-trending .most-view .tabs .tab {
  flex: 1 1 0;
  width: auto;
  margin: 0;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: none !important;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.motchill-trending__tab:hover,
.motchill-trending .tabs .tab:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
}

.motchill-trending__tab.active,
.motchill-trending .tabs .tab.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(var(--accent-hot-rgb), 0.32), rgba(148, 101, 75, 0.2));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.motchill-trending__panel {
  animation: motchill-trending-fade 0.28s ease;
}

.motchill-trending__panel[hidden] {
  display: none !important;
}

@keyframes motchill-trending-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motchill-trending__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  list-style: none;
  overflow: visible;
  margin-top: 8px;
}

.motchill-trending .list-film li:nth-child(even) {
  background: transparent;
}

.motchill-trending__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  border: none !important;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  transition: background-color 0.2s ease;
}

.motchill-trending__item:hover {
  background: rgba(var(--accent-hot-rgb), 0.1);
}

.motchill-trending__rank {
  position: static;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  line-height: 28px;
  font-weight: 500;
  text-align: center;
}

.motchill-trending__rank.is-top-1 {
  color: #fff;
  background: linear-gradient(135deg, #e4a06e, #a8653f);
}

.motchill-trending__rank.is-top-2 {
  color: #fff;
  background: linear-gradient(135deg, #b8bcc6, #7a808a);
}

.motchill-trending__rank.is-top-3 {
  color: #fff;
  background: linear-gradient(135deg, #c9926a, #8f5a38);
}

.motchill-trending__meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.motchill-trending__item a,
.motchill-sidebar-list__detail .title a {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.motchill-trending__item a:hover,
.motchill-sidebar-list__detail .title a:hover {
  color: var(--mtc-accent);
}

.motchill-trending__views,
.motchill-trending__item .count_view {
  color: var(--mtc-muted);
  font-size: 11px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 500;
}

.motchill-trending__empty {
  padding: 18px 12px;
  color: var(--mtc-muted);
  font-size: 13px;
  text-align: center;
  list-style: none;
}

.motchill-sidebar-list__items {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-section-inner-gap);
  padding: 0 10px;
}

.motchill-sidebar-list .myui-vodlist__media li,
.motchill-sidebar-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px !important;
  border: none !important;
  border-bottom: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.motchill-sidebar-list .myui-vodlist__media li:hover,
.motchill-sidebar-list__item:hover {
  background: rgba(var(--accent-hot-rgb), 0.12);
  transform: translateX(2px);
}

.motchill-sidebar-list__item:last-child {
  border-bottom: 0;
}

.motchill-sidebar-list__thumb {
  position: relative;
  width: 78px;
  flex: 0 0 78px;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  border: none !important;
  outline: none;
  background-color: var(--bg-page) !important;
  background-image: none !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: box-shadow 0.22s ease;
}

.motchill-sidebar-list__thumb-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background-color: var(--bg-page);
}

.motchill-sidebar-list__thumb-media {
  position: absolute;
  inset: -8px;
  background-color: var(--bg-page);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.1);
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.motchill-sidebar-list__item:hover .motchill-sidebar-list__thumb {
  border: none !important;
  transform: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.motchill-sidebar-list__item:hover .motchill-sidebar-list__thumb-media {
  transform: scale(1.16);
}

.motchill-sidebar-list__detail {
  min-width: 0;
  flex: 1 1 auto;
}

.motchill-sidebar-list__detail .title {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.25;
}

.motchill-sidebar-list__detail p {
  margin: 0;
  color: var(--mtc-muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
}

/* Catalog */
.myui-panel-list {
  margin-top: var(--mtc-page-gap);
  margin-bottom: var(--mtc-section-gap);
  padding: var(--mtc-card-padding);
}

.myui-panel-list .filter-box {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--mtc-radius) - 1px);
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--accent-hot-rgb), 0.08), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

.myui-panel-list .filter-box .row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--mtc-section-inner-gap);
  margin: 0;
}

.myui-panel-list .filter-box .row::before,
.myui-panel-list .filter-box .row::after {
  display: none;
  content: none;
}

.myui-panel-list .filter-box .row > [class*="col-"] {
  float: none;
  width: auto;
  min-height: 0;
  padding: 0;
}

.myui-panel-list .filter-box select.form-control,
.myui-panel-list .filter-box .btn-submit {
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: border-color var(--mtc-ease), background-color var(--mtc-ease), box-shadow var(--mtc-ease), transform var(--mtc-ease);
}

.myui-panel-list .filter-box select.form-control {
  appearance: none;
  padding: 0 34px 0 13px;
  background-color: rgba(255, 255, 255, 0.055);
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.76) 50%), linear-gradient(135deg, rgba(255, 255, 255, 0.76) 50%, transparent 50%);
  background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.myui-panel-list .filter-box select.form-control:focus {
  border-color: rgba(var(--accent-hot-rgb), 0.52);
  background-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(var(--accent-hot-rgb), 0.12);
  outline: 0;
}

.myui-panel-list .filter-box .btn-submit {
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(var(--accent-hot-rgb), 0.94), rgba(178, 115, 78, 0.92));
  border-color: rgba(255, 198, 153, 0.38);
  color: #fff;
  cursor: pointer;
}

.myui-panel-list .filter-box .btn-submit:hover,
.myui-panel-list .filter-box .btn-submit:focus {
  background: linear-gradient(180deg, rgba(232, 166, 122, 0.98), rgba(190, 123, 82, 0.96));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
  outline: 0;
}

.myui-panel-list .myui-panel-box {
  background: transparent;
}

.myui-panel-list .myui-panel_bd {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-card-gap);
}

.myui-panel-list .myui-panel__head {
  height: auto;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(var(--accent-hot-rgb), 0.42);
}

.myui-panel-list .myui-panel__head .icon {
  display: none;
}

.myui-panel-list .myui-panel__head .title {
  float: none;
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.25px;
}

.myui-panel-list .myui-panel__head .title::after {
  content: "";
  display: block;
  width: 78px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mtc-accent), transparent);
}

.myui-panel-list .myui-panel__head + br {
  display: none;
}

.motchill-search-summary {
  width: 100%;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.2);
  border-radius: 10px;
  background: rgba(var(--accent-hot-rgb), 0.075);
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.motchill-search-summary strong {
  color: #fff;
  font-weight: 500;
}

.motchill-search-summary small {
  margin-left: auto;
  color: var(--mtc-muted);
  font-size: 13px;
}

.film-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.film-list::before,
.film-list::after,
.myui-vodlist__bd::before,
.myui-vodlist__bd::after {
  display: none;
  content: none;
}

.film-list > li {
  width: calc((100% - 80px) / 6);
  padding: 0;
}

.myui-vodlist__bd {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.myui-vodlist__bd > li {
  width: calc((100% - 48px) / 4);
  padding: 0;
}

.film-list > .motchill-empty-state,
.film-list > .motchill-pagination-wrap {
  width: 100%;
}

.film-list .myui-vodlist__box {
  border-radius: var(--mtc-radius);
}

.myui-page li a,
#pagination > li > .page-link,
#pagination > .page-item > span,
.myui-page li span {
  border-radius: 8px;
  border-color: var(--mtc-border) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.myui-page li.active span,
.myui-page li a:hover,
#pagination > li.active > .page-link,
#pagination > li > .page-link:hover {
  background: rgba(var(--accent-hot-rgb), 0.2) !important;
  color: #fff !important;
  border-color: rgba(var(--accent-hot-rgb), 0.36) !important;
}

.motchill-pagination-wrap {
  float: none;
  width: 100%;
  clear: both;
  padding: 0;
}

#pagination.pagination-list {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
}

#pagination.pagination-list > li {
  margin: 0;
}

#pagination.pagination-list > li > .page-link,
#pagination.pagination-list > .page-item > span {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--mtc-border) !important;
  border-radius: 999px;
  font-weight: 500;
}

.motchill-empty-state {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 34px 18px;
  border: 1px dashed rgba(var(--accent-hot-rgb), 0.3);
  border-radius: var(--mtc-radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-hot-rgb), 0.12), transparent 42%),
    rgba(255, 255, 255, 0.026);
  text-align: center;
}

.motchill-empty-state__icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.28);
  border-radius: 50%;
  color: var(--mtc-accent);
  background: rgba(var(--accent-hot-rgb), 0.1);
}

.motchill-empty-state__icon svg {
  width: 27px;
  height: 27px;
}

.motchill-empty-state h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
}

.motchill-empty-state p {
  max-width: 430px;
  margin: 0;
  color: var(--mtc-muted);
  font-size: 14px;
  line-height: 1.6;
}

.motchill-empty-state__action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(var(--accent-hot-rgb), 0.16);
  font-weight: 500;
}

.motchill-empty-state__action:hover {
  color: #fff;
  background: rgba(var(--accent-hot-rgb), 0.24);
}

/* Footer */
.motchill-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--accent-hot-rgb), 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.004)),
    var(--bg-header);
  color: rgba(255, 255, 255, 0.68);
}

.motchill-footer__container {
  width: min(1200px, calc(100vw - 36px));
  margin: 0 auto;
  box-sizing: border-box;
}

.motchill-footer__main {
  padding: 42px 0 34px;
}

.motchill-footer__main .motchill-footer__container {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2fr);
  gap: 48px;
  align-items: start;
}

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

.motchill-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  transition: color 0.18s ease;
}

.motchill-footer__logo:hover {
  color: var(--mtc-accent);
  text-decoration: none;
}

.motchill-footer__logo-mark {
  width: 42px;
  height: 34px;
  color: var(--mtc-accent);
  flex: 0 0 auto;
}

.motchill-footer__logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
}

.motchill-footer__desc {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

.motchill-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.motchill-footer__social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.03);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.motchill-footer__social-link:hover {
  color: #fff;
  border-color: rgba(var(--accent-hot-rgb), 0.45);
  background: rgba(var(--accent-hot-rgb), 0.14);
  transform: translateY(-1px);
  text-decoration: none;
}

.motchill-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.motchill-footer__heading {
  position: relative;
  margin: 0 0 14px;
  padding-left: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.motchill-footer__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--mtc-accent);
}

.motchill-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.motchill-footer__column li + li {
  margin-top: 10px;
}

.motchill-footer__column a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.18s ease;
}

.motchill-footer__column a:hover {
  color: var(--mtc-accent);
  text-decoration: none;
}

.motchill-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
}

.motchill-footer__bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
}

.motchill-footer__copyright,
.motchill-footer__tagline,
.motchill-footer__credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.45;
}

.motchill-footer__copyright {
  text-align: left;
}

.motchill-footer__tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
}

.motchill-footer__tagline-icon {
  width: 18px;
  height: 15px;
  color: var(--mtc-accent);
  flex: 0 0 auto;
}

.motchill-footer__credit {
  text-align: right;
}

.motchill-footer__credit span {
  color: #e06c6c;
}

.myui-foot,
footer:not(.motchill-footer),
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    rgba(5, 9, 13, 0.96);
}

.myui-foot {
  margin-top: 34px;
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
}

.myui-foot .container,
footer .container,
.footer .container {
  max-width: 1200px;
  padding-left: 18px;
  padding-right: 18px;
}

.myui-foot p,
.myui-foot a,
footer,
footer p,
footer a,
.footer,
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.62);
}

.myui-foot a:hover,
footer a:hover,
.footer a:hover {
  color: var(--mtc-accent);
}

/* Error pages */
.motchill-error-page {
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--mtc-section-gap);
  margin-bottom: 40px;
}

.motchill-error-page__card {
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--mtc-border);
  border-radius: var(--mtc-radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-hot-rgb), 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    var(--mtc-surface);
  box-shadow: var(--mtc-shadow);
  text-align: center;
}

.motchill-error-page__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.3);
  border-radius: 999px;
  color: var(--mtc-accent);
  background: rgba(var(--accent-hot-rgb), 0.1);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.motchill-error-page h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}

.motchill-error-page p {
  max-width: 500px;
  margin: 0 auto;
  color: var(--mtc-muted);
  font-size: 15px;
  line-height: 1.65;
}

.motchill-error-page__search {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.motchill-error-page__search input {
  min-width: 0;
  flex: 1 1 auto;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  background: rgba(5, 10, 16, 0.72);
  outline: 0;
  mix-blend-mode: normal;
  font-size: 14px;
  line-height: 1.4;
}

.motchill-error-page__search input::placeholder {
  color: rgba(255, 255, 255, 0.58);
  opacity: 1;
}

.motchill-error-page__search input:focus {
  border-color: rgba(var(--accent-hot-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--accent-hot-rgb), 0.12);
  background: rgba(5, 10, 16, 0.88);
}

.motchill-error-page__search input:-webkit-autofill,
.motchill-error-page__search input:-webkit-autofill:hover,
.motchill-error-page__search input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(5, 10, 16, 0.92) inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
}

.motchill-error-page__search button,
.motchill-error-page__actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 500;
}

.motchill-error-page__search button {
  border: 1px solid rgba(255, 198, 153, 0.38);
  color: #fff;
  background: linear-gradient(180deg, rgba(var(--accent-hot-rgb), 0.94), rgba(178, 115, 78, 0.92));
}

.motchill-error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.motchill-error-page__actions a {
  border: 1px solid var(--mtc-border);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.045);
}

.motchill-error-page__actions a:hover {
  color: #fff;
  border-color: rgba(var(--accent-hot-rgb), 0.34);
  background: rgba(var(--accent-hot-rgb), 0.14);
}

/* Detail and watch pages */
.detail-bl,
.video-footer > [itemscope] {
  margin-top: var(--mtc-page-gap);
}

.video-footer {
  margin-top: 0;
}

.detail-block {
  margin: 0;
  padding: var(--mtc-card-padding);
  display: flex;
  align-items: flex-start;
  gap: var(--mtc-card-gap);
}

.detail-block::before,
.detail-block::after {
  display: none;
  content: none;
}

.detail-block .myui-content__thumb {
  float: none;
  flex: 0 0 220px;
  width: 220px;
  margin: 0;
}

.detail-block .myui-content__detail {
  min-width: 0;
  flex: 1 1 auto;
}

.myui-content__thumb .picture,
.myui-content__thumb img {
  border-radius: var(--mtc-radius);
  overflow: hidden;
}

.myui-content__thumb .picture {
  border: 1px solid var(--mtc-border);
  box-shadow: var(--mtc-shadow);
}

.myui-content__thumb .btn-watch,
.myui-content__operate .btn,
.streaming-server,
.myui-content__list .btn {
  border-radius: 8px;
  border: 1px solid var(--mtc-border);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: background-color var(--mtc-ease), border-color var(--mtc-ease), color var(--mtc-ease), transform var(--mtc-ease);
}

.myui-content__thumb .btn-watch,
.streaming-server.active,
.myui-content__list .btn.active,
.myui-content__list .btn:hover,
.streaming-server:hover {
  background: linear-gradient(180deg, rgba(var(--accent-hot-rgb), 0.28), rgba(148, 101, 75, 0.22));
  border-color: rgba(var(--accent-hot-rgb), 0.42);
  color: #fff;
}

.myui-content__operate .btn:hover,
.streaming-server:hover,
.myui-content__list .btn:hover {
  transform: translateY(-1px);
}

.myui-content__detail .title,
.myui-player__detail .title,
.myui-panel__head h1.title {
  color: #fff;
  font-weight: 500;
}

.myui-content__detail .title2,
.myui-panel__head .title2 {
  color: var(--mtc-muted);
  font-weight: 500;
}

.myui-media-info h6,
.text-collapse,
.sketch.content {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.myui-media-info .info-block {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.myui-media-info .info-block h6 {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
}

.myui-media-info a,
.tag-list a,
.sketch.content a {
  color: #e2aa86;
}

.myui-media-info .badge {
  background: rgba(var(--accent-hot-rgb), 0.18);
  color: #ffd2b7;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.34);
}

.myui-movie-detail,
.myui-panel-bg {
  margin: 0;
  padding: var(--mtc-card-padding);
}

.myui-movie-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.motchill-detail-main {
  display: flex;
  flex-direction: column;
  gap: var(--mtc-section-gap);
}

.motchill-detail-main > .detail-block,
.motchill-detail-main > .myui-movie-detail,
.motchill-detail-main > .myui-panel {
  margin-top: 0;
  margin-bottom: 0;
}

.myui-movie-detail > .title {
  margin: 0;
  color: var(--mtc-accent);
  font-weight: 500;
}

.ads-container {
  position: relative;
  margin: 10px 0;
  text-align: center;
}

.motchill-comment-warning {
  padding: 8px 10px;
  border: 1px solid rgba(255, 88, 88, 0.22);
  border-radius: 8px;
  background: rgba(255, 88, 88, 0.08);
  color: #ff7e7e;
  font-weight: 500;
}

.fb-comments,
.fb-comments span {
  background-color: #eee;
}

.fb-comments {
  margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
  .fb-comments,
  .fb-comments iframe[style],
  .fb-comments span,
  .fb-comments iframe span[style],
  .fb-like-box,
  .fb-like-box iframe[style],
  .fb-like-box span,
  .fb-like-box iframe span[style] {
    width: 100% !important;
  }
}

.detail-bl .myui-panel-bg .myui-panel-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-bl .myui-panel-bg .myui-panel__head {
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 1px dashed rgba(var(--accent-hot-rgb), 0.52);
}

.detail-bl .myui-panel-bg .myui-panel__head.bottom-line::after {
  display: none;
}

.detail-bl .myui-panel-bg .myui-panel__head .title {
  float: none;
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  color: var(--mtc-accent);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
}

.detail-bl #tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.detail-bl #tags > label {
  display: block;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-list,
.detail-bl #tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
}

.tag-list h3,
.detail-bl #tags .tag-list h3 {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0;
  line-height: 1;
}

.tag-list h3 a,
.detail-bl #tags .tag-list h3 a {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.tag-list h3 a:hover,
.detail-bl #tags .tag-list h3 a:hover {
  color: #fff !important;
  background: rgba(var(--accent-hot-rgb), 0.16);
  border-color: rgba(var(--accent-hot-rgb), 0.32);
}

.video-p-first {
  margin-top: var(--mtc-page-gap);
  margin-bottom: var(--mtc-section-inner-gap);
  padding: calc(var(--mtc-card-padding) - 4px) var(--mtc-card-padding);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.cc-warning {
  width: 100%;
  max-width: 100%;
  color: #ffd2b7;
  background: rgba(var(--accent-hot-rgb), 0.1);
  border: 1px solid rgba(var(--accent-hot-rgb), 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}

#main-player {
  position: relative;
  margin-top: 0;
  margin-bottom: var(--mtc-section-inner-gap);
  overflow: hidden;
  border-radius: var(--mtc-radius);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
  background: #000;
}

#player-loaded > div,
#player-click-layer,
.motchill-player-start {
  position: absolute;
  inset: 0;
}

#player-loaded > div {
  width: 100%;
  height: 100%;
}

#player-click-layer {
  z-index: 10;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.15);
}

.motchill-player-start {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
}

.motchill-player-start .motchill-card-play__icon {
  width: 58px;
  height: 58px;
  color: #fff;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.48));
}

#ploption {
  margin-top: 0;
  margin-bottom: var(--mtc-section-inner-gap);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

#servers-container {
  padding: var(--mtc-card-padding);
}

.myui-content__list {
  scrollbar-color: rgba(var(--accent-hot-rgb), 0.42) rgba(255, 255, 255, 0.05);
}

.motchill-episode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  max-height: 300px;
  overflow: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.motchill-episode-list::before,
.motchill-episode-list::after {
  display: none;
  content: none;
}

.motchill-episode-list > li {
  flex: 0 0 calc((100% - 56px) / 8);
  float: none;
  width: calc((100% - 56px) / 8);
  max-width: calc((100% - 56px) / 8);
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
}

.video-footer .fb-comments {
  display: none;
}

.myui-content__list .btn {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1400px) {
  :root {
    --mtc-container: min(1120px, calc(100vw - 32px));
  }

  .motchill-header-modern .myui_custom_header {
    gap: 12px;
  }

  .motchill-header-modern .myui-header__logo .logo {
    width: 176px;
    height: 46px;
  }

  .motchill-header-modern .myui-header__search {
    max-width: 430px;
  }

  .motchill-header-modern #box-user-menu a {
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  :root {
    --mtc-container: calc(100vw - 32px);
    --mtc-section-gap: 24px;
  }

  .motchill-recommended {
    padding-left: 16px;
    padding-right: 16px;
  }

  .motchill-recommended-carousel {
    --carousel-visible: 4;
  }

  .motchill-carousel__nav--prev {
    left: -22px;
  }

  .motchill-carousel__nav--next {
    right: -22px;
  }

  .myui-panel-list .filter-box .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .motchill-episode-list > li {
    flex-basis: calc((100% - 48px) / 7);
    width: calc((100% - 48px) / 7);
    max-width: calc((100% - 48px) / 7);
  }
}

@media (max-width: 991px) {
  .motchill-recommended-carousel {
    --carousel-visible: 4;
  }

  .motchill-carousel__nav {
    width: 46px;
    height: 46px;
  }

  .motchill-carousel__nav-icon {
    width: 22px;
    height: 22px;
  }

  .motchill-carousel__nav--prev {
    left: -23px;
  }

  .motchill-carousel__nav--next {
    right: -23px;
  }

  .motchill-header-modern .myui_custom_header {
    min-height: 52px;
    padding: 6px 0;
    gap: 12px;
    position: relative;
  }

  .motchill-header-modern .header-icon-btn,
  .motchill-header-modern .m-nav-open {
    display: flex;
  }

  .motchill-header-modern .m-search-open {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 40;
    display: flex;
    margin-left: 0;
    transform: translateY(-50%);
  }

  .motchill-header-modern .myui-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .motchill-header-modern .myui-header__logo .logo {
    width: 118px;
    height: 38px;
    background-position: center center;
  }

  .motchill-logo-lockup {
    gap: 7px;
  }

  .motchill-logo-mark {
    width: 30px;
    height: 26px;
  }

  .motchill-logo-text {
    font-size: 15px;
    letter-spacing: 1.5px;
  }

  .motchill-header-modern #box-user-menu {
    display: none;
  }

  .motchill-header-modern .myui-header__search {
    display: none;
    position: absolute;
    top: 52px;
    left: 16px;
    right: 16px;
    z-index: 1002;
    max-width: none;
    min-width: 0;
  }

  .motchill-header-modern .myui-header__search[style*="display: block"],
  .motchill-header-modern .myui-header__search[style*="display:block"] {
    display: block;
  }

  .motchill-header-modern .nav__content {
    display: none;
  }

  .m-nav-over {
    position: fixed;
    inset: 0;
    z-index: 1003;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
  }

  .m-nav {
    position: fixed;
    top: 0;
    left: 0 !important;
    z-index: 1004;
    display: block;
    width: min(318px, calc(100vw - 54px));
    height: 100vh;
    padding: 0;
    overflow: hidden;
    color: var(--mtc-text);
    background:
      radial-gradient(circle at 20% 0%, rgba(var(--accent-hot-rgb), 0.14), transparent 38%),
      linear-gradient(180deg, rgba(18, 22, 27, 0.98), rgba(7, 11, 15, 0.98));
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 22px 0 48px rgba(0, 0, 0, 0.42);
    -webkit-transform: translateX(-102%) !important;
    transform: translateX(-102%) !important;
    transition: transform 0.24s ease;
  }

  .m-nav.active {
    -webkit-transform: translateX(0) !important;
    transform: translateX(0) !important;
  }

  .m-nav .m-nav-close {
    top: 14px;
    right: 14px;
    left: auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 26px;
    line-height: 34px;
    text-align: center;
  }

  .m-nav .nav-ct {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 14px 96px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(var(--accent-hot-rgb), 0.44) rgba(255, 255, 255, 0.04);
  }

  .m-nav .nav-ct::before {
    content: "MOTCHILL";
    display: flex;
    align-items: center;
    height: 38px;
    margin: 0 50px 0 2px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 2px;
  }

  .m-nav ul {
    margin: 0;
    padding: 0;
  }

  .m-nav .nav-ct > ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .m-nav li {
    position: relative;
    margin: 0;
  }

  .m-nav ul a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 50px 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    text-decoration: none;
  }

  .m-nav ul a:hover,
  .m-nav ul a.active,
  .m-nav li.active > a {
    color: #fff;
    background: rgba(var(--accent-hot-rgb), 0.14);
    border-color: rgba(var(--accent-hot-rgb), 0.34);
  }

  .m-nav .menu-home-icon,
  .m-nav .menu-caret,
  .m-nav:not(.motchill-mobile-drawer) svg {
    display: none;
  }

  .m-nav .acd-drop {
    position: absolute;
    top: 5px;
    right: 6px;
    left: auto;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
  }

  .m-nav .acd-drop::before {
    content: "";
    position: absolute;
    inset: 12px 9px auto;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }

  .m-nav .acd-drop.active::before {
    transform: translateY(4px) rotate(225deg);
  }

  .m-nav ul ul {
    display: none;
    margin: 8px 0 2px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 0;
  }

  .m-nav ul ul li {
    width: 50%;
    display: inline-block;
    margin: 0;
    padding: 4px;
    vertical-align: top;
  }

  .m-nav ul ul a {
    min-height: 36px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
  }

  .motchill-home-layout__main,
  .motchill-home-layout__sidebar {
    padding-left: 0;
    padding-right: 0;
  }

  .motchill-home-layout__main {
    gap: var(--mtc-section-gap);
  }

  .motchill-home-section__list,
  .film-list,
  .myui-vodlist__bd {
    gap: 12px;
  }

  .motchill-home-section__cell {
    width: calc((100% - 48px) / 5);
  }

  .myui-vodlist__bd > li {
    width: calc((100% - 36px) / 4);
  }

  .film-list > li {
    width: calc((100% - 36px) / 4);
  }

  .myui-sidebar,
  .motchill-sidebar-stack {
    gap: var(--mtc-section-gap);
  }

  .detail-block {
    padding: var(--mtc-card-padding);
  }

  .motchill-episode-list > li {
    flex-basis: calc((100% - 40px) / 6);
    width: calc((100% - 40px) / 6);
    max-width: calc((100% - 40px) / 6);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .motchill-home-section__cell {
    width: calc((100% - 48px) / 5);
  }
}

@media (min-width: 992px) and (max-width: 1439px) {
  .motchill-home-section__cell {
    width: calc((100% - 36px) / 4);
  }
}

@media (max-width: 767px) {
  :root {
    --mtc-container: calc(100vw - 20px);
    --mtc-radius: 8px;
    --mtc-page-gap: 14px;
    --mtc-section-gap: 20px;
    --mtc-section-inner-gap: 10px;
    --mtc-card-gap: 14px;
    --mtc-card-padding: 14px;
  }

  .motchill-recommended {
    margin-top: var(--mtc-page-gap);
    margin-bottom: var(--mtc-section-gap);
  }

  .motchill-recommended__title,
  .motchill-home-section__title {
    font-size: 20px;
    letter-spacing: 0.5px;
  }

  .motchill-recommended__title::before,
  .motchill-home-section__title::before {
    top: 3px;
    width: 3px;
    height: 22px;
  }

  .motchill-recommended {
    padding-left: 12px;
    padding-right: 12px;
  }

  .motchill-recommended-carousel {
    --carousel-visible: 2.3;
  }

  .motchill-carousel__nav {
    width: 40px;
    height: 40px;
  }

  .motchill-carousel__nav-icon {
    width: 20px;
    height: 20px;
  }

  .motchill-carousel__nav--prev {
    left: -20px;
  }

  .motchill-carousel__nav--next {
    right: -20px;
  }

  .motchill-recommended__detail,
  .motchill-movie-card__detail,
  .film-list .myui-vodlist__detail,
  .myui-vodlist__bd .myui-vodlist__detail {
    padding: 0 8px 9px;
  }

  .motchill-recommended__detail .title,
  .motchill-movie-card__detail .title,
  .film-list .myui-vodlist__detail .title,
  .myui-vodlist__bd .myui-vodlist__detail .title {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.15;
  }

  .motchill-recommended__detail .text,
  .motchill-movie-card__detail .text,
  .film-list .myui-vodlist__detail .text,
  .myui-vodlist__bd .myui-vodlist__detail .text {
    display: none;
  }

  .motchill-movie-card__tag,
  .film-list .pic-tag,
  .myui-vodlist__bd .pic-tag {
    top: 6px;
    left: 6px;
    max-width: calc(100% - 12px);
    padding: 5px 6px;
    border-radius: 4px;
    font-size: 10px;
  }

  .motchill-home-section {
    margin-top: 0;
    gap: 6px;
  }

  .motchill-home-section__header {
    margin-bottom: 0;
    padding: 0 0 6px;
  }

  .motchill-page-home .motchill-home-section:not(.motchill-recommended) .motchill-home-section__cell {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    padding: 0;
  }

  .motchill-page-home .motchill-home-section:not(.motchill-recommended) .motchill-home-section__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    margin: 0;
    align-items: stretch;
  }

  .film-list > li,
  .myui-vodlist__bd > li {
    width: calc((100% - 12px) / 3);
    padding: 0;
  }

  .film-list,
  .myui-vodlist__bd {
    gap: 6px;
    margin: 0;
  }

  .myui-panel-list .filter-box {
    margin: 0;
    padding: 12px;
  }

  .myui-panel-list .filter-box .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .myui-panel-list .filter-box .row > [class*="col-"]:last-child {
    grid-column: 1 / -1;
  }

  .myui-panel-list .filter-box select.form-control,
  .myui-panel-list .filter-box .btn-submit {
    height: 40px;
    font-size: 13px;
  }

  .myui-panel-list .myui-panel__head {
    margin: 0;
  }

  .myui-panel-list .myui-panel__head .title {
    font-size: 24px;
  }

  .motchill-search-summary {
    display: block;
    margin: 0;
    padding: 11px 12px;
  }

  .motchill-search-summary strong,
  .motchill-search-summary small {
    display: block;
    margin: 4px 0 0;
  }

  .motchill-error-page {
    min-height: 52vh;
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .motchill-error-page__card {
    padding: 24px 16px;
  }

  .motchill-error-page__search {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .motchill-error-page__search input,
  .motchill-error-page__search button {
    width: 100%;
  }

  .motchill-error-page__search button {
    margin-top: 0;
  }

  .motchill-trending,
  .motchill-sidebar-list,
  .myui-panel-list,
  .detail-block,
  .myui-movie-detail,
  .myui-panel-bg,
  #servers-container {
    padding: var(--mtc-card-padding) 12px;
  }

  .motchill-trending__block {
    gap: 14px;
  }

  .motchill-trending__list {
    gap: 6px;
  }

  .motchill-detail-main {
    gap: var(--mtc-section-gap);
  }

  .motchill-sidebar-list__item {
    gap: 12px;
  }

  .motchill-sidebar-list__thumb {
    width: 70px;
    flex-basis: 70px;
  }

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

  .detail-block .myui-content__thumb,
  .detail-block .myui-content__detail {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }

  .detail-block .myui-content__thumb {
    width: min(220px, 72vw) !important;
    max-width: 220px !important;
    margin: 0 auto;
  }

  .detail-block .picture {
    width: 100% !important;
  }

  .detail-block .myui-content__detail {
    text-align: left;
  }

  .detail-block .myui-content__detail .title {
    font-size: 23px;
    line-height: 1.22;
    text-align: center;
  }

  .detail-block .myui-content__detail .title2 {
    margin-bottom: 12px;
    text-align: center;
  }

  .myui-media-info .info-block {
    gap: 8px;
  }

  .myui-media-info .info-block h6 {
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .myui-content__thumb .btn-watch {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .myui-content__list li {
    padding-left: 4px;
    padding-right: 4px;
  }

  .motchill-episode-list > li {
    flex-basis: calc((100% - 16px) / 3);
    width: calc((100% - 16px) / 3);
    max-width: calc((100% - 16px) / 3);
    padding: 0;
  }

  .motchill-bottom-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    padding: 7px;
    border-radius: 18px;
    transform: none;
  }

  .motchill-bottom-nav__item {
    height: 52px;
    flex-direction: column;
    gap: 5px;
    padding: 6px 4px;
    font-size: 10px;
    letter-spacing: 0.1px;
  }

  .motchill-bottom-nav__item svg {
    width: 21px;
    height: 21px;
  }

  .motchill-bottom-nav__search {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
  }
}

@media (max-width: 480px) {
  .motchill-episode-list > li {
    flex-basis: calc((100% - 8px) / 2);
    width: calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
  }

  .motchill-header-modern > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .motchill-header-modern .myui_custom_header {
    min-height: 48px;
    padding: 5px 0;
  }

  .motchill-header-modern .header-icon-btn,
  .motchill-header-modern .m-nav-open {
    width: 32px;
    height: 32px;
  }

  .motchill-header-modern .myui-header__logo .logo {
    width: 110px;
    height: 34px;
  }

  .motchill-logo-mark {
    width: 28px;
    height: 24px;
  }

  .motchill-logo-text {
    font-size: 14px;
    letter-spacing: 1.2px;
  }

  .motchill-header-modern .myui-header__search {
    top: 48px;
    left: 12px;
    right: 12px;
  }

  .myui-panel-list .myui-panel__head .title {
    font-size: 22px;
  }

  .motchill-bottom-nav {
    left: 6px;
    right: 6px;
  }

  .motchill-bottom-nav__item span {
    max-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .motchill-footer__main {
    padding: 28px 0 24px;
  }

  .motchill-footer__main .motchill-footer__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .motchill-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .motchill-footer__bottom-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .motchill-footer__copyright,
  .motchill-footer__credit {
    text-align: center;
  }

  .motchill-footer__tagline {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .motchill-footer__main .motchill-footer__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .motchill-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .motchill-footer__bottom-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .motchill-footer__copyright,
  .motchill-footer__credit {
    text-align: center;
  }
}