/*
 * Motchill Platform 2026 â€” design system layer
 * Tokens: motchill-tokens.css (load before this file)
 */

body {
  background: var(--mtc-bg-deep) !important;
  color: var(--mtc-text-primary);
}

/* â”€â”€ Icon system (stroke, Lucide-style) â”€â”€ */
.mtc-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.mtc-icon--sm {
  width: 14px;
  height: 14px;
}

.mtc-icon--medal {
  width: 16px;
  height: 16px;
}

.motchill-bottom-nav__item .mtc-icon {
  width: 20px;
  height: 20px;
}

.menu-home-icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  vertical-align: -2px;
}

.mtc-btn .mtc-icon {
  width: 16px;
  height: 16px;
}

.mtc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.mtc-hero__arrow .mtc-icon {
  width: 20px;
  height: 20px;
}

.motchill-sidebar-list__icon,
.mtc-ranking-widget__icon {
  width: 18px;
  height: 18px;
  color: var(--mtc-accent-soft);
}

/* â”€â”€ Header â†” content breathing room â”€â”€ */
.motchill-header-modern ~ .container {
  padding-top: var(--layout-section-top);
  padding-bottom: var(--layout-section-top);
}

/* Header + body cÃ¹ng max-width / gutter â†’ canh tháº³ng lá» */
.motchill-header-modern > .container,
.motchill-header-modern .nav__content > .container {
  max-width: var(--layout-max) !important;
  padding-left: var(--layout-gutter-x) !important;
  padding-right: var(--layout-gutter-x) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.container:has(.motchill-page-home),
.container:has(.motchill-catalog-page),
.container:has(.motchill-categories-page),
.container:has(.motchill-page-detail),
.container:has(.motchill-page-member) {
  width: 100%;
  max-width: var(--layout-max) !important;
  padding-left: var(--layout-gutter-x);
  padding-right: var(--layout-gutter-x);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.container:has(.motchill-page-detail) {
  background: var(--detail-page-bg);
}

.container:has(.motchill-page-home) > .row,
.container:has(.motchill-catalog-page) > .row,
.container:has(.motchill-categories-page) > .row,
.container:has(.motchill-page-detail) > .row,
.container:has(.motchill-page-member) > .row {
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  float: none;
}

.container:has(.motchill-page-home) > .row::before,
.container:has(.motchill-page-home) > .row::after,
.container:has(.motchill-catalog-page) > .row::before,
.container:has(.motchill-catalog-page) > .row::after,
.container:has(.motchill-categories-page) > .row::before,
.container:has(.motchill-categories-page) > .row::after,
.container:has(.motchill-page-detail) > .row::before,
.container:has(.motchill-page-detail) > .row::after,
.container:has(.motchill-page-member) > .row::before,
.container:has(.motchill-page-member) > .row::after {
  display: none;
}

.motchill-page-home {
  margin-top: 0;
}

/* â”€â”€ Home 2-column layout (7.2/2.8 @1440+, 7/3 @992â€“1439) â”€â”€ */
.motchill-home-layout.motchill-page-home {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 2.8fr);
  gap: var(--layout-col-gap);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  align-items: start;
  box-sizing: border-box;
}

/* Desktop háº¹p (~1024): main/sidebar 7:3 â€” rá»™ng hÆ¡n giá»¯ 7.2:2.8 (base) */
@media (min-width: 992px) and (max-width: 1439px) {
  .motchill-home-layout.motchill-page-home {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  }
}

.motchill-page-home .motchill-home-layout__main,
.motchill-page-home .motchill-home-layout__sidebar {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.motchill-page-home .motchill-home-layout__main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* â”€â”€ Header platform bar â”€â”€ */
.motchill-header-modern {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-header) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mtc-border-soft) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
}

.mtc-brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.mtc-brand-logo img {
  display: block;
  width: auto;
  max-width: 229px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

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

.motchill-header-modern .myui-header__logo .logo h1.motchill-logo-lockup--heading {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  display: inline-flex;
}

.motchill-mobile-user-menu {
  display: none;
}

.m-nav .motchill-mobile-user-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
}

.m-nav .motchill-mobile-user-menu form {
  margin: 0;
}

.m-nav .motchill-mobile-drawer__account-link,
.m-nav .motchill-mobile-user-menu button.motchill-mobile-drawer__account-link {
  width: 100%;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.m-nav .motchill-mobile-user-menu__profile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px 12px;
}

.m-nav .motchill-mobile-user-menu__profile strong {
  color: #f4f5f7;
  font-size: 15px;
  font-weight: 650;
}

.m-nav .motchill-mobile-user-menu__profile span {
  color: #8f98a6;
  font-size: 12px;
}

.motchill-header-modern #box-user-menu a:not([class*="mtc-header"]) {
  display: none;
}

.motchill-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.motchill-footer__social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mtc-border-soft);
  border-radius: 10px;
  color: var(--mtc-text-secondary);
  background: rgba(255, 255, 255, 0.03);
  transition: color var(--mtc-ease), border-color var(--mtc-ease), background-color var(--mtc-ease);
}

.motchill-footer__social-link svg {
  width: 16px;
  height: 16px;
}

.motchill-footer__social-link:hover {
  color: var(--mtc-accent-soft);
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
}

.motchill-trending.trending-widget .motchill-trending__item {
  display: grid;
  align-items: center;
}

.motchill-header-modern .myui-header__search .motchill-search-form .search_wd {
  height: 40px;
  border-radius: 999px !important;
  border: 1px solid var(--border-subtle) !important;
  background: rgba(0, 0, 0, 0.28) !important;
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0 14px 0 42px !important;
}

.motchill-header-modern .myui-header__search .motchill-search-form .search_wd::placeholder {
  color: var(--text-muted) !important;
  opacity: 1;
}

.motchill-header-modern .myui-header__search .form-control:focus {
  border-color: var(--border-accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12) !important;
}

.motchill-header-modern .myui-header__menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

.motchill-header-modern .myui-header__menu > li.active > a,
.motchill-header-modern .myui-header__menu > li > a:hover {
  color: #fff3df !important;
  background: linear-gradient(180deg, rgba(var(--accent-hot-rgb), 0.16), rgba(var(--accent-hot-rgb), 0.04)) !important;
}

.motchill-header-modern .myui-header__menu > li > a:hover:not(.active) {
  color: var(--accent) !important;
  background: rgba(var(--accent-hot-rgb), 0.08) !important;
}

.motchill-header-modern .myui-header__menu > li.active > a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: 2px !important;
  border-radius: 2px 2px 0 0 !important;
  background: var(--accent-hot) !important;
  box-shadow: none !important;
}

.motchill-header-modern .myui-header__menu > li.active > a .menu-home-icon {
  color: var(--mtc-accent-soft);
}

/* Desktop nav (â‰¥992): table-layout fixed â€” full width + cá»™t Ä‘á»u tuyá»‡t Ä‘á»‘i */
@media (min-width: 992px) {
  .motchill-header-modern .nav__content .menu-block {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .motchill-header-modern .myui-header__menu.nav-menu,
  .motchill-header-modern .myui-header__menu {
    float: none !important;
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
    border-spacing: 0;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }

  .motchill-header-modern .myui-header__menu > li {
    display: table-cell !important;
    float: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    vertical-align: middle;
    text-align: center;
  }

  .motchill-header-modern .myui-header__menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 42px;
    padding: 0 2px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    text-align: center;
    gap: 4px;
  }

  .motchill-header-modern .myui-header__menu > li > a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
  }

  .motchill-header-modern .myui-header__menu .menu-home-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
  }

  .motchill-header-modern .myui-header__menu .menu-caret {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 1100px) {
  .motchill-header-modern .myui-header__menu > li > a {
    padding-inline: 6px !important;
    font-size: 12px !important;
  }
}

@media (min-width: 1200px) {
  .motchill-header-modern .myui-header__menu > li > a {
    padding-inline: 8px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 1440px) {
  .motchill-header-modern .myui-header__menu > li > a {
    padding-inline: 10px !important;
  }
}

.mtc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.motchill-header-modern #box-user-menu.mtc-header-actions {
  gap: 10px !important;
}

.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-vip-btn,
.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-header-vip,
.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-header-login {
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  box-sizing: border-box;
}

.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-vip-btn,
.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-header-vip {
  margin-right: 0;
}

.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-header-login,
.motchill-header-modern #box-user-menu.mtc-header-actions > .mtc-header-account {
  margin-left: 0;
}

.mtc-header-icon-btn,
.mtc-header-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--mtc-border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mtc-text-primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--mtc-ease), border-color var(--mtc-ease), color var(--mtc-ease);
}

.mtc-header-icon-btn .mtc-icon,
.mtc-header-login .mtc-icon {
  color: var(--mtc-text-primary);
}

.mtc-header-icon-btn:hover,
.mtc-header-login:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.12);
  color: #fff;
  text-decoration: none;
}

.mtc-header-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--mtc-accent);
  color: #111;
  font-size: 9px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.mtc-header-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mtc-danger);
  box-shadow: 0 0 0 2px rgba(7, 11, 18, 0.9);
}

.mtc-header-account {
  position: relative;
}

.mtc-header-account__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--mtc-border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mtc-text-primary);
  cursor: pointer;
  transition: border-color var(--mtc-ease), background-color var(--mtc-ease);
}

.mtc-header-account__trigger:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.1);
}

.mtc-header-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--mtc-accent), var(--mtc-accent-deep));
  color: #111;
  font-size: 13px;
  font-weight: 500;
}

img.mtc-header-avatar {
  object-fit: cover;
  background: none;
}

.mtc-header-account__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.mtc-header-account__info strong {
  font-size: 12px;
  font-weight: 700;
}

.mtc-header-account__caret {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  color: var(--mtc-text-secondary);
}

.mtc-header-account__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1200;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--mtc-border-soft);
  border-radius: 12px;
  background: rgba(13, 20, 29, 0.98);
  box-shadow: var(--mtc-shadow-soft);
  backdrop-filter: blur(14px);
}

.mtc-header-account.is-open .mtc-header-account__dropdown {
  display: block !important;
}

.mtc-header-account__dropdown a,
.mtc-header-account__dropdown button {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mtc-text-primary);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mtc-header-account__dropdown a:hover,
.mtc-header-account__dropdown button:hover {
  background: rgba(var(--accent-rgb), 0.1);
  color: #fff;
}

/* â”€â”€ Home column: carousel + hero fit main column â”€â”€ */
.motchill-home-layout__main .mtc-hero,
.motchill-home-layout__main .motchill-recommended {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.motchill-home-layout__main .motchill-recommended {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  overflow: visible;
}

.motchill-home-layout__main .motchill-recommended-carousel {
  --carousel-visible: 5;
  --carousel-gap: 11px;
  --carousel-slide-size: 148px;
  --carousel-nav-top: 50%;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
  cursor: grab;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__viewport {
  cursor: grab;
  touch-action: pan-y;
}

.motchill-recommended-carousel .motchill-carousel__viewport {
  cursor: grab;
  touch-action: pan-y;
}

.motchill-recommended-carousel.is-carousel-press .motchill-carousel__viewport,
.motchill-recommended-carousel.is-carousel-dragging .motchill-carousel__viewport {
  cursor: grabbing;
}

.motchill-recommended-carousel.is-carousel-dragging .motchill-carousel__track {
  transition: none !important;
}

.motchill-home-layout__main .motchill-recommended-carousel.is-carousel-press,
.motchill-home-layout__main .motchill-recommended-carousel.is-carousel-dragging,
.motchill-home-layout__main .motchill-recommended-carousel.is-carousel-press .motchill-carousel__viewport,
.motchill-home-layout__main .motchill-recommended-carousel.is-carousel-dragging .motchill-carousel__viewport {
  cursor: grabbing;
}

.motchill-home-layout__main .motchill-recommended-carousel.is-carousel-dragging .motchill-carousel__track {
  transition: none !important;
}

.motchill-home-layout__main .motchill-recommended .mtc-movie-section__header {
  margin-bottom: 12px !important;
}

.motchill-home-layout__main .motchill-recommended__title.mtc-movie-section__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  color: var(--text-primary) !important;
}

.motchill-home-layout__main .motchill-recommended__title.mtc-movie-section__title::before {
  width: 4px;
  height: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.motchill-home-layout__main .motchill-carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.motchill-home-layout__main .motchill-carousel__track {
  gap: var(--carousel-gap);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

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

.motchill-home-layout__main .motchill-carousel__nav {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 15, 22, 0.92);
  color: var(--text-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav {
  top: var(--carousel-nav-top);
  z-index: 50;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 16, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
}

.motchill-home-layout__main .motchill-carousel__nav:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(13, 20, 29, 0.98);
  transform: translateY(-50%) scale(1.04);
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav--prev:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav--next:hover {
  transform: translate(50%, -50%) scale(1.04);
}

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

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav.is-hidden {
  transform: translate(-50%, -50%) scale(0.92);
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav--next.is-hidden,
.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav--next.is-hidden:hover {
  transform: translate(50%, -50%) scale(0.92);
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav.is-hidden:hover {
  transform: translate(-50%, -50%) scale(0.92);
}

.motchill-home-layout__main .motchill-carousel__nav--prev {
  left: 0 !important;
}

.motchill-home-layout__main .motchill-carousel__nav--next {
  right: 0 !important;
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav--prev {
  left: 0 !important;
  right: auto !important;
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav--next {
  right: 0 !important;
  left: auto !important;
  transform: translate(50%, -50%);
}

.motchill-home-layout__main .motchill-carousel__nav-icon {
  width: 14px;
  height: 14px;
}

.motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav-icon {
  width: 18px;
  height: 18px;
}

.motchill-home-layout__main .motchill-recommended__box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: auto;
  margin: 0;
}

.motchill-home-layout__main .motchill-recommended__box.mtc-movie-card:hover {
  transform: none !important;
}

.motchill-home-layout__main .motchill-recommended__thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto !important;
  padding-top: 0 !important;
  overflow: hidden;
  border-radius: 10px !important;
  transform: none !important;
  translate: none !important;
  background-image: none !important;
  background-color: #111318 !important;
  isolation: isolate;
}

.motchill-home-layout__main .motchill-recommended__thumb .motchill-thumb-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
}

.motchill-home-layout__main .motchill-recommended__thumb :is(
  .motchill-thumb-media,
  .motchill-recommended__thumb-media,
  img.motchill-thumb-media
) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
  background-image: none !important;
  transition: filter 0.3s ease !important;
}

.motchill-home-layout__main .motchill-recommended__thumb::before {
  content: none !important;
}

@media (min-width: 768px) {
  .motchill-home-layout__main .motchill-recommended__thumb .mtc-card-badges {
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 16px);
  }
}

/* card rating â€” see unified block at end of file */

.motchill-home-layout__main .motchill-recommended__thumb .motchill-card-play,
.motchill-home-layout__main .motchill-recommended__thumb .motchill-card-play--compact {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0, 0, 0, 0.22) !important;
  background-image: none !important;
  transform: none !important;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .motchill-home-layout__main .motchill-recommended__box:hover .motchill-recommended__thumb .motchill-card-play,
  .motchill-home-layout__main .motchill-recommended__thumb:hover .motchill-card-play {
    opacity: 1;
    transform: none !important;
  }
}

.motchill-home-layout__main .motchill-recommended__thumb .motchill-card-play__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.motchill-home-layout__main .motchill-recommended__detail {
  position: static !important;
  padding: 0 !important;
  background: transparent !important;
}

.motchill-home-layout__main .motchill-recommended__detail .title {
  margin: 0 !important;
}

@media (min-width: 768px) {
  .motchill-home-layout__main .motchill-recommended__detail .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    color: var(--text-primary) !important;
    white-space: normal !important;
    text-overflow: unset !important;
  }

  .motchill-home-layout__main .motchill-recommended__detail .text {
    margin: 2px 0 0 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    color: var(--text-secondary) !important;
  }
}

/* â”€â”€ Hero banner â€” Netflix-style cinematic â”€â”€ */
.mtc-hero__banner {
  position: relative;
}

.mtc-hero {
  position: relative;
  margin-top: 0;
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0;
  background: var(--hero-bg);
  box-shadow: 0 18px 48px rgba(var(--black-rgb), 0.34);
  cursor: grab;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.mtc-hero:focus,
.mtc-hero:focus-visible {
  outline: none;
}

.mtc-hero__slide:focus,
.mtc-hero__slide:focus-visible {
  outline: none;
}

.mtc-hero__viewport,
.mtc-hero__track,
.mtc-hero__slide.is-active,
.mtc-hero__media,
.mtc-hero__fade,
.mtc-hero__grain {
  cursor: grab;
}

.mtc-hero.is-hero-press,
.mtc-hero.is-hero-dragging,
.mtc-hero:active {
  cursor: grabbing;
}

.mtc-hero.is-hero-press .mtc-hero__viewport,
.mtc-hero.is-hero-press .mtc-hero__track,
.mtc-hero.is-hero-press .mtc-hero__slide.is-active,
.mtc-hero.is-hero-press .mtc-hero__media,
.mtc-hero.is-hero-dragging .mtc-hero__media,
.mtc-hero:active .mtc-hero__media {
  cursor: grabbing;
}

.mtc-hero__badges,
.mtc-hero__meta,
.mtc-hero__desc,
.mtc-hero__stat-card {
  cursor: grab;
}

.mtc-hero.is-hero-press .mtc-hero__content,
.mtc-hero.is-hero-press .mtc-hero__badges,
.mtc-hero.is-hero-press .mtc-hero__meta,
.mtc-hero.is-hero-press .mtc-hero__desc,
.mtc-hero.is-hero-dragging .mtc-hero__content,
.mtc-hero.is-hero-dragging .mtc-hero__badges,
.mtc-hero.is-hero-dragging .mtc-hero__meta,
.mtc-hero.is-hero-dragging .mtc-hero__desc,
.mtc-hero:active .mtc-hero__content,
.mtc-hero:active .mtc-hero__badges,
.mtc-hero:active .mtc-hero__meta,
.mtc-hero:active .mtc-hero__desc {
  cursor: grabbing;
}

.mtc-hero__content a,
.mtc-hero__content button,
.mtc-hero__dot,
.mtc-hero__title {
  cursor: pointer;
  user-select: auto;
  -webkit-user-select: auto;
}

.mtc-hero__content a:active,
.mtc-hero__content button:active,
.mtc-hero__dot:active,
.mtc-hero__title:active {
  cursor: pointer;
}

.mtc-hero__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 300px;
  max-height: 480px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: var(--hero-bg);
}


.mtc-hero__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.mtc-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  z-index: 1;
  pointer-events: none;
  background: var(--hero-bg);
  -webkit-tap-highlight-color: transparent;
}

.mtc-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  z-index: 2;
  pointer-events: auto;
}

.mtc-hero.is-hero-transitioning .mtc-hero__slide.is-enter-from-right.is-active,
.mtc-hero.is-hero-transitioning .mtc-hero__slide.is-enter-from-left.is-active {
  z-index: 2;
}

.mtc-hero__slide.is-enter-from-right.is-active {
  animation: mtc-hero-enter-right 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mtc-hero__slide.is-enter-from-left.is-active {
  animation: mtc-hero-enter-left 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mtc-hero__slide.is-leave-to-left,
.mtc-hero__slide.is-leave-to-right {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 3;
}

.mtc-hero__slide.is-leave-to-left {
  animation: mtc-hero-leave-left 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mtc-hero__slide.is-leave-to-right {
  animation: mtc-hero-leave-right 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mtc-hero-enter-right {
  from {
    opacity: 0.35;
    transform: translate3d(10%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mtc-hero-enter-left {
  from {
    opacity: 0.35;
    transform: translate3d(-10%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mtc-hero-leave-left {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(-10%, 0, 0);
  }
}

@keyframes mtc-hero-leave-right {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(10%, 0, 0);
  }
}

.mtc-hero__slide.is-enter-from-right.is-active .mtc-hero__content,
.mtc-hero__slide.is-enter-from-left.is-active .mtc-hero__content {
  animation: mtc-hero-content-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.mtc-hero__slide.is-enter-from-right.is-active .mtc-hero__stat-card,
.mtc-hero__slide.is-enter-from-left.is-active .mtc-hero__stat-card {
  animation: mtc-hero-stat-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes mtc-hero-content-in {
  from {
    opacity: 0.72;
    transform: translateY(14px);
  }

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

@keyframes mtc-hero-stat-in {
  from {
    opacity: 0.72;
    transform: translateY(10px);
  }

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

.mtc-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--hero-bg);
}

/* Poster ngang â€” phá»§ full banner, khÃ´ng viá»n */
.mtc-hero__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Fallback thumb dá»c khi khÃ´ng cÃ³ poster */
.mtc-hero__media.is-portrait-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtc-hero__media.is-portrait-fallback .mtc-hero__img {
  position: relative;
  inset: auto;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

.mtc-hero__fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--hero-fade);
}

.mtc-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.12;
  background-color: transparent;
  background-image: var(--hero-grain-url, url('/dotted.webp')), var(--hero-grain-url, url('/dotted.webp'));
  background-repeat: repeat, repeat;
  background-size: var(--hero-grain-size) var(--hero-grain-size), var(--hero-grain-size) var(--hero-grain-size);
  background-position: 0 0, calc(var(--hero-grain-size) / 2) calc(var(--hero-grain-size) / 2);
}

.mtc-hero__content {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 5;
  width: min(56%, 580px);
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 52px 36px 28px 40px;
  pointer-events: none;
  overflow: visible;
  cursor: grab;
  box-sizing: border-box;
}

.mtc-hero__content > * {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  pointer-events: auto;
}

.mtc-hero__title-wrap {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 100%;
  font: inherit;
}

.mtc-hero__dock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.mtc-hero__dock-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.mtc-hero__dock-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

/* Admin táº¯t (máº·c Ä‘á»‹nh): OPTION 4 â€” gradient overlay phÃ­a dÆ°á»›i, UI trong vÃ¹ng Ä‘Ã¡y banner */
.mtc-hero:not(.is-show-movie-info) .mtc-hero__desc {
  display: none;
}

.mtc-hero:not(.is-show-movie-info) {
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 28px;
}

.motchill-page-home .mtc-hero:not(.is-show-movie-info) {
  margin-bottom: 28px;
}

.motchill-page-home .mtc-hero:not(.is-show-movie-info) + .motchill-recommended,
.motchill-page-home .mtc-hero:not(.is-show-movie-info) + .motchill-coming-soon {
  margin-top: 0 !important;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__banner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.44);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__viewport {
  border-radius: 18px;
  aspect-ratio: auto;
  height: clamp(420px, 42vw, 460px);
  min-height: 420px;
  max-height: 460px;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__fade {
  background:
    linear-gradient(0deg, rgba(3, 5, 10, 0.94) 0%, rgba(3, 5, 10, 0.78) 24%, rgba(3, 5, 10, 0.42) 48%, rgba(3, 5, 10, 0.1) 72%, transparent 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, transparent 16%, transparent 84%, rgba(0, 0, 0, 0.36) 100%);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__grain {
  opacity: 0.08;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__content {
  inset: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: auto;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0 28px 50px;
  gap: 0;
  pointer-events: none;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 32px;
  width: 100%;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__dock-left {
  gap: 8px;
  padding-bottom: 2px;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__dock-right {
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 2px;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__badges {
  margin: 0;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__badges .mtc-chip {
  height: 20px;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 9.5px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 1;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__title,
.mtc-hero:not(.is-show-movie-info) .mtc-hero__content a.mtc-hero__title {
  margin: 0;
  color: #fff !important;
  font-size: clamp(22px, 2.15vw, 34px);
  line-height: 1.14;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__title:hover,
.mtc-hero:not(.is-show-movie-info) .mtc-hero__content a.mtc-hero__title:hover {
  color: #fff !important;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__meta {
  margin: 0;
  gap: 4px 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  font-weight: 500;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__meta-item {
  color: rgba(255, 255, 255, 0.68);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 100%;
  margin: 0;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  height: 44px;
  padding: 0 20px 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--accent-hot) 0%, var(--accent-gradient-mid, #e8850c) 100%);
  color: var(--on-accent, #111);
  box-shadow: 0 10px 28px rgba(var(--accent-hot-rgb), 0.36);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--primary .mtc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  padding: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(var(--accent-hot-rgb), 0.42);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-card {
  top: 24px;
  right: 24px;
  bottom: auto;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-card__item:not(:last-child) {
  display: none;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-card__item + .mtc-hero__stat-card__item {
  padding-left: 0;
  border-left: 0;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-card__item {
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-icon {
  width: 13px;
  height: 13px;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-icon--view {
  color: rgba(255, 255, 255, 0.72);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__dots {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 18px;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 7;
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__dot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.32);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__dot.is-active {
  width: 18px;
  height: 7px;
  background: var(--accent-hot);
}

.mtc-hero:not(.is-show-movie-info) .mtc-hero__slide.has-title-art .mtc-hero__fade {
  background:
    linear-gradient(0deg, rgba(2, 4, 8, 0.96) 0%, rgba(2, 4, 8, 0.84) 28%, rgba(2, 4, 8, 0.48) 52%, rgba(2, 4, 8, 0.12) 76%, transparent 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, transparent 16%, transparent 84%, rgba(0, 0, 0, 0.4) 100%);
}

.mtc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.mtc-hero__badges .mtc-card-badges {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: none;
}

.mtc-hero__badges .mtc-chip {
  height: 18px;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 9px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.92;
  backdrop-filter: blur(8px);
}

.mtc-hero__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--hero-text);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: none;
  text-shadow: var(--hero-title-shadow);
  cursor: pointer;
  text-decoration: none;
}

.mtc-hero__title:hover {
  color: var(--hero-text-hover);
}

.mtc-hero__content a.mtc-hero__title {
  line-height: 1.12 !important;
  font-weight: 700 !important;
  color: var(--hero-text) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: none !important;
}

.mtc-hero__title.is-long-title {
  font-size: clamp(23px, 1.9vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.mtc-hero__content a.mtc-hero__title.is-long-title {
  line-height: 1.1 !important;
}

.mtc-hero__title.is-very-long-title {
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.mtc-hero__content a.mtc-hero__title.is-very-long-title {
  line-height: 1.1 !important;
}

.mtc-hero__desc {
  margin: 0;
  color: var(--hero-text-soft);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  text-transform: none;
  text-shadow: var(--hero-copy-shadow);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.mtc-hero__content p.mtc-hero__desc {
  line-height: 1.55 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--hero-text-soft) !important;
}

.mtc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  color: var(--hero-text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: var(--hero-copy-shadow);
}

.mtc-hero__meta-item {
  position: relative;
  white-space: nowrap;
}

.mtc-hero__meta-item + .mtc-hero__meta-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hero-text-faint);
  transform: translateY(-50%);
}

/* hero rating uses .mtc-card-rating--meta */

.mtc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  width: auto;
  max-width: 100%;
}

.mtc-hero__actions .mtc-btn,
.mtc-hero__btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  align-self: flex-start;
}

.mtc-hero__btn {
  min-height: 40px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.mtc-hero .mtc-btn--primary {
  background: var(--hero-btn-gradient);
  color: var(--on-accent);
  box-shadow: var(--hero-btn-shadow);
  border: 0;
}

.mtc-hero .mtc-btn--primary:hover {
  background: var(--hero-btn-gradient-hover);
  transform: translateY(-1px);
  box-shadow: var(--hero-btn-shadow-hover);
  color: var(--on-accent);
}

.mtc-btn--glass {
  border: 1px solid var(--hero-glass-border);
  background: var(--hero-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--hero-text);
}

.mtc-btn--glass:hover {
  border-color: var(--hero-glass-border-hover);
  background: var(--hero-glass-bg-hover);
  color: var(--hero-text-hover);
}

.mtc-hero__stat-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 33, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.mtc-hero__stat-card__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hero-stat-text);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.mtc-hero__stat-card__item + .mtc-hero__stat-card__item {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mtc-hero__stat-icon {
  width: 14px;
  height: 14px;
}

.mtc-hero__stat-icon--rating {
  color: var(--accent-hot);
}

.mtc-hero__stat-icon--view {
  color: rgba(255, 255, 255, 0.62);
}

.mtc-hero__dots {
  position: absolute;
  left: 40px;
  bottom: 18px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mtc-hero__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--hero-dot-idle);
  cursor: pointer;
  transition:
    width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mtc-hero__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.mtc-hero__dot.is-active {
  width: 20px;
  height: 8px;
  background: var(--hero-dot-active);
}

.mtc-hero__arrow {
  display: none !important;
}

/* â”€â”€ Chips / badges â”€â”€ */
.mtc-card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 16px);
}

.mtc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.mtc-chip--hot {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}

.mtc-chip--vip {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #111;
}

.mtc-chip--hd {
  background: rgba(99, 102, 241, 0.85);
  color: #fff;
}

.mtc-chip--sub {
  background: rgba(148, 163, 184, 0.85);
  color: #0f172a;
}

.mtc-chip--dub {
  background: rgba(56, 189, 248, 0.8);
  color: #082f49;
}

.mtc-chip--done {
  background: rgba(34, 197, 94, 0.85);
  color: #052e16;
}

.mtc-chip--ep {
  background: rgba(245, 158, 11, 0.9);
  color: #111;
}

/* â”€â”€ Movie cards â”€â”€ */
.mtc-movie-card .motchill-movie-card__thumb:not(.motchill-recommended__thumb),
.motchill-recommended__thumb {
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26) !important;
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* card rating â€” see unified block at end of file */

.mtc-movie-card__detail {
  padding-top: 8px !important;
}

.mtc-movie-card__detail .title a {
  color: var(--mtc-text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.mtc-movie-card__meta {
  color: var(--text-muted) !important;
  font-size: 12px !important;
  display: block;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  white-space: normal;
  transition: color 0.28s ease;
}

.mtc-movie-card__meta-origin {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 11px;
}

.mtc-movie-card__year-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.motchill-home-section__title,
.motchill-recommended__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--text-primary) !important;
}

.motchill-home-section__more {
  border-color: var(--mtc-border-soft) !important;
  color: var(--mtc-text-secondary) !important;
}

/* Hide legacy pic-tag when chips present */
.mtc-movie-card .pic-tag,
.motchill-recommended__tag {
  display: none !important;
}

/* â”€â”€ Sidebar surfaces â”€â”€ */
.motchill-trending,
.motchill-sidebar-list,
.mtc-ranking-widget {
  background: var(--mtc-surface-sidebar) !important;
  border: 1px solid var(--mtc-border-soft) !important;
  border-radius: var(--mtc-radius-lg) !important;
  box-shadow: var(--mtc-shadow-soft) !important;
}

.motchill-trending__tab.active,
.motchill-trending .tab.active {
  background: rgba(var(--accent-rgb), 0.16) !important;
  color: #fff !important;
}

.motchill-trending__item {
  border-radius: 10px;
  transition: background-color var(--mtc-ease), border-color var(--mtc-ease);
}

.motchill-trending__item:hover {
  background: rgba(var(--accent-rgb), 0.08) !important;
  border-color: rgba(var(--accent-rgb), 0.14) !important;
}

.mtc-trend {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 500;
}

.mtc-trend--up { color: var(--mtc-success); }
.mtc-trend--down { color: var(--mtc-danger); }
.mtc-trend--flat { color: var(--mtc-text-secondary); }

/* â”€â”€ Ranking widget â€” see authoritative block at end of file â”€â”€ */

/* â”€â”€ Home layout alignment â”€â”€ */
.motchill-recommended {
  margin-top: 0 !important;
}

/* â”€â”€ Bottom nav â€” see authoritative block at end of file â”€â”€ */

/* â”€â”€ Scroll to top â”€â”€ */
.scroll-to-top {
  position: fixed;
  right: max(26px, env(safe-area-inset-right, 0px));
  left: auto;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  z-index: 999;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.92);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 18px, 0) scale(0.86);
  will-change: opacity, transform, bottom;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.34, 1.35, 0.64, 1),
    visibility 0.38s,
    bottom 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.scroll-to-top--visible .scroll-to-top__icon {
  animation: mtc-scroll-top-icon-in 0.55s cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

.scroll-to-top--pressed {
  transform: translate3d(0, 0, 0) scale(0.9) !important;
  transition-duration: 0.12s !important;
}

@keyframes mtc-scroll-top-icon-in {
  0% {
    opacity: 0.35;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body.dock-nav-visible .scroll-to-top {
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

.scroll-to-top:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(13, 20, 29, 0.98);
  color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, -2px, 0) scale(1.04);
}

.scroll-to-top--visible:hover {
  transform: translate3d(0, -2px, 0) scale(1.04);
}

.scroll-to-top__icon {
  width: 20px;
  height: 20px;
  display: block;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.35, 0.64, 1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-to-top,
  .scroll-to-top__icon {
    transition: none !important;
    animation: none !important;
  }
}

@media (min-width: 992px) {
  body.dock-nav-visible .scroll-to-top {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
  }

  body.dock-nav-visible .scroll-to-top {
    bottom: calc(60px + env(safe-area-inset-bottom));
  }
}

/* â”€â”€ Footer â€” match header surface â”€â”€ */
.motchill-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-header) !important;
  border-top: 1px solid var(--border-subtle) !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22) !important;
}

.motchill-footer__main {
  background: transparent !important;
}

.motchill-footer__bottom {
  background: transparent !important;
  border-top: 1px solid var(--border-subtle) !important;
}

.motchill-footer__heading {
  color: var(--mtc-text-primary) !important;
}

.motchill-footer__column a {
  color: var(--mtc-text-secondary) !important;
}

.motchill-footer__column a:hover {
  color: var(--mtc-accent-soft) !important;
}

.motchill-footer__logo-image img {
  max-height: 44px;
}

.motchill-footer__container {
  width: 100% !important;
  max-width: var(--layout-max) !important;
  padding-left: var(--layout-gutter-x) !important;
  padding-right: var(--layout-gutter-x) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .motchill-footer__container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOTCHILL HOME 2026 â€” component polish
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Header platform actions â”€â”€ */
.motchill-header-modern {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-header) !important;
}

.motchill-header-modern .search-box,
.motchill-header-modern .myui-header__search .search-box {
  border-radius: var(--radius-pill);
}

.motchill-header-modern .myui-header__search .motchill-search-form .search_wd {
  height: 36px;
  background: rgba(255, 255, 255, 0.045) !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.motchill-header-modern .myui-header__search .motchill-search-form:focus-within .search_wd {
  border-color: var(--border-accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.motchill-header-modern .myui-header__menu > li.active > a::after {
  box-shadow: none !important;
}

.mtc-header-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mtc-header-icon-btn {
  position: relative;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-pill);
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.mtc-header-icon-btn .mtc-icon {
  width: 17px;
  height: 17px;
}

.mtc-header-icon-btn:hover {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.28);
  transform: translateY(-1px);
}

.mtc-header-dot {
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 2px var(--bg-header);
}

/* â”€â”€ Section titles â”€â”€ */
.mtc-movie-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.mtc-movie-section__title,
.motchill-home-section__title.mtc-movie-section__title,
.motchill-recommended__title.mtc-movie-section__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--text-primary) !important;
}

.mtc-movie-section__title::before,
.motchill-recommended__title.mtc-movie-section__title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--accent-hot), var(--accent));
  box-shadow: none;
  flex-shrink: 0;
}

.mtc-section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  flex-shrink: 0;
  white-space: nowrap;
  height: 30px;
  padding: 0 12px !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  line-height: 1;
  transition: all var(--transition-fast);
}

.mtc-section-more svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.mtc-section-more:hover {
  color: var(--accent) !important;
  border-color: var(--border-accent) !important;
  background: rgba(var(--accent-rgb), 0.08) !important;
}

.motchill-home-layout__main .motchill-section-stack,
.motchill-home-layout__main .motchill-home-section,
.motchill-home-layout__main .mtc-movie-section {
  margin-bottom: 42px !important;
}

/* â”€â”€ Badge system â”€â”€ */
.mtc-card-badges {
  top: 8px;
  left: 8px;
  right: 8px;
  gap: 5px;
}

.mtc-chip {
  height: 18px;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 9px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: none;
}

.mtc-chip--sub,
.mtc-chip--dub {
  background: rgba(148, 163, 184, 0.88);
  color: #111827;
}

.mtc-chip--done {
  background: rgba(34, 197, 94, 0.72);
  color: #ecfdf5;
}

.mtc-chip--hd {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
}

.mtc-chip--vip {
  background: linear-gradient(135deg, #f59e0b, #fde68a);
  color: #111827;
}

.mtc-chip--hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
}

.mtc-chip--ep {
  background: rgba(var(--accent-hot-rgb), 0.82);
  color: #111827;
}

/* â”€â”€ Movie cards â”€â”€ */
.motchill-home-layout__main .mtc-movie-card {
  border-radius: 14px;
  transition: box-shadow 0.22s ease;
}

.motchill-home-layout__main .mtc-movie-card:hover {
  transform: none !important;
}

.motchill-home-layout__main .motchill-card:hover,
.motchill-home-layout__main .motchill-movie-card:hover,
.motchill-home-layout__main .myui-vodlist__box:hover {
  transform: none !important;
}

.mtc-movie-card .motchill-movie-card__thumb,
.motchill-recommended__thumb {
  overflow: hidden !important;
}

.motchill-home-layout__main .motchill-movie-card__thumb::after,
.motchill-home-layout__main .motchill-recommended__thumb::after {
  content: none;
}

.motchill-home-layout__main .motchill-movie-card__thumb:not(.motchill-recommended__thumb) .motchill-card-play,
.motchill-home-layout__main .motchill-home-section__thumb .motchill-card-play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.88);
  background: rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .motchill-home-layout__main .mtc-movie-card:hover .motchill-movie-card__thumb:not(.motchill-recommended__thumb) .motchill-card-play,
  .motchill-home-layout__main .motchill-home-section__box:hover .motchill-card-play {
    opacity: 1;
    transform: scale(1.04);
  }
}

.motchill-home-layout__main .motchill-movie-card__thumb:not(.motchill-recommended__thumb) .motchill-card-play__icon,
.motchill-home-layout__main .motchill-home-section__thumb .motchill-card-play__icon {
  width: 40px;
  height: 40px;
}

.motchill-home-layout__main .motchill-movie-card__thumb:not(.motchill-recommended__thumb) .motchill-card-play__icon circle,
.motchill-home-layout__main .motchill-home-section__thumb .motchill-card-play__icon circle {
  fill: var(--accent-hot);
  stroke: none;
}

.motchill-home-layout__main .motchill-movie-card__thumb:not(.motchill-recommended__thumb) .motchill-card-play__icon path,
.motchill-home-layout__main .motchill-home-section__thumb .motchill-card-play__icon path {
  fill: #111821;
}

.mtc-movie-card__detail .title a {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.mtc-movie-card__meta {
  margin-top: 4px;
  color: var(--text-muted) !important;
  font-size: 12px !important;
  overflow: hidden;
  white-space: normal;
}

/* â”€â”€ Sidebar widget base â”€â”€ */
.motchill-trending,
.motchill-sidebar-list,
.mtc-ranking-widget,
.mtc-top-widget {
  background: var(--bg-surface-2) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22) !important;
}

.mtc-sidebar-widget__title,
.motchill-sidebar-list__title.mtc-sidebar-widget__title,
.motchill-trending__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* â”€â”€ Trending premium widget â”€â”€ */
.motchill-trending.trending-widget {
  padding: 0 !important;
  overflow: visible;
}

.motchill-trending.trending-widget .myui-panel_bd,
.motchill-trending.trending-widget .trending-widget__body {
  padding: 14px !important;
  overflow: visible;
}

.motchill-trending.trending-widget .motchill-trending__block,
.motchill-trending.trending-widget .motchill-trending__panel {
  overflow: visible;
}

.motchill-trending.trending-widget .myui-panel__head.active,
.motchill-trending.trending-widget .motchill-section-header {
  display: none;
}

.trending-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.trending-title,
.motchill-trending.trending-widget .motchill-trending__title {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--accent-hot) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1 !important;
  text-shadow: none !important;
  white-space: nowrap;
}

.trending-title__icon,
.motchill-trending.trending-widget .motchill-trending__icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent-hot);
  filter: none;
}

.trending-updated {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.motchill-trending.trending-widget .motchill-trending__block {
  gap: 0;
}

.trending-tabs,
.motchill-trending.trending-widget .motchill-trending__tabs {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trending-tab,
.motchill-trending.trending-widget .motchill-trending__tab {
  height: 30px;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.trending-tab:hover,
.motchill-trending.trending-widget .motchill-trending__tab:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}

.trending-tab.active,
.motchill-trending.trending-widget .motchill-trending__tab.active,
.motchill-trending.trending-widget .motchill-trending .tab.active {
  color: var(--text-primary) !important;
  background: rgba(var(--accent-rgb), 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35) !important;
}

/* â”€â”€ Trending podium (Top 1â€“3) â€” #1 cao nháº¥t, #2 giá»¯a, #3 tháº¥p nháº¥t â”€â”€ */
.trending-podium,
.motchill-trending.trending-widget .motchill-trending__podium {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 8px;
  align-items: end;
  margin: 4px 0 14px;
  padding-top: 14px;
  overflow: visible;
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 12px 6px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  text-decoration: none;
  overflow: visible;
  transform: none;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.podium-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.podium-card.is-empty {
  min-height: 120px;
  opacity: 0.35;
  pointer-events: none;
}

.podium-card--first {
  padding-top: 16px;
  border-color: rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.14), rgba(255, 255, 255, 0.045));
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.14);
}

.podium-card--first:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 14px 32px rgba(var(--accent-rgb), 0.18);
}

.podium-card--second {
  padding-top: 12px;
  border-color: rgba(203, 213, 225, 0.22);
}

.podium-card--third {
  padding-top: 10px;
  border-color: rgba(192, 132, 87, 0.24);
}

.podium-rank {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  color: #111827;
}

.podium-card--first .podium-rank {
  width: 28px;
  height: 28px;
}

.podium-rank--gold {
  background: linear-gradient(135deg, #f59e0b, #fde68a);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.22);
}

.podium-rank--silver {
  background: linear-gradient(135deg, #cbd5e1, #f8fafc);
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.18);
}

.podium-rank--bronze {
  background: linear-gradient(135deg, #c08457, #fdba74);
  box-shadow: 0 4px 12px rgba(192, 132, 87, 0.2);
}

.podium-rank__icon {
  width: 12px;
  height: 12px;
  color: #111827;
}

.podium-card--first .podium-rank__icon {
  width: 14px;
  height: 14px;
}

.podium-poster {
  display: block;
  width: 60px;
  height: 80px;
  max-width: 100%;
  margin: 0 auto 7px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  vertical-align: top;
}

.podium-card--first .podium-poster {
  width: 78px;
  height: 104px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(var(--black-rgb), 0.28);
}

.podium-card--second .podium-poster {
  width: 68px;
  height: 90px;
}

.podium-card--third .podium-poster {
  width: 60px;
  height: 80px;
}

.podium-title {
  width: 100%;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podium-card--first .podium-title {
  font-size: 12px;
}

.podium-meta {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.podium-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.podium-card--first .podium-score {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
}

.podium-score__icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: var(--accent);
}

/* â”€â”€ Trending compact list (Top 4+) â”€â”€ */
.trending-compact-list,
.motchill-trending.trending-widget .motchill-trending__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.trending-compact-item,
.motchill-trending.trending-widget .motchill-trending__item {
  display: grid !important;
  grid-template-columns: 30px 52px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 64px;
  margin: 0 !important;
  padding: 7px 8px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.trending-compact-item:hover,
.motchill-trending.trending-widget .motchill-trending__item:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  text-decoration: none;
}

.compact-rank,
.motchill-trending.trending-widget .motchill-trending__rank {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.compact-thumb,
.motchill-trending.trending-widget .motchill-trending__thumb {
  display: block;
  width: 52px;
  height: 70px;
  flex: 0 0 52px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.compact-body,
.motchill-trending.trending-widget .motchill-trending__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.compact-title {
  color: var(--text-primary) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-views,
.motchill-trending.trending-widget .motchill-trending__views {
  margin-top: 3px;
  color: var(--text-secondary) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  font-style: normal !important;
}

.compact-trend,
.motchill-trending.trending-widget .mtc-trend {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  min-width: 28px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  line-height: 1;
}

.mtc-trend__icon {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
}

.mtc-trend__value {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mtc-trend--flat .mtc-trend__icon {
  font-size: 10px;
  font-weight: 700;
}

.compact-trend.up,
.motchill-trending.trending-widget .mtc-trend--up {
  color: var(--success) !important;
}

.compact-trend.down,
.motchill-trending.trending-widget .mtc-trend--down {
  color: var(--danger) !important;
}

.compact-trend.stable,
.motchill-trending.trending-widget .mtc-trend--flat {
  color: var(--text-secondary) !important;
}

.trending-more,
.motchill-trending.trending-widget .motchill-trending__more {
  margin-top: 8px;
  width: 100%;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.trending-more:hover,
.motchill-trending.trending-widget .motchill-trending__more:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
  text-decoration: none;
}

.trending-more__icon {
  width: 14px;
  height: 14px;
  color: currentColor;
}

.trending-empty,
.motchill-trending.trending-widget .motchill-trending__empty {
  padding: 18px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 991px) {
  .trending-podium,
  .motchill-trending.trending-widget .motchill-trending__podium {
    gap: 6px;
    margin: 2px 0 12px;
    padding-top: 12px;
  }

  .podium-card {
    padding: 10px 5px 6px;
  }

  .podium-card--first {
    padding-top: 14px;
  }

  .podium-card--second {
    padding-top: 11px;
  }

  .podium-card--third {
    padding-top: 9px;
  }

  .podium-poster {
    width: 54px;
    height: 72px;
  }

  .podium-card--first .podium-poster {
    width: 66px;
    height: 88px;
  }

  .podium-card--second .podium-poster {
    width: 58px;
    height: 78px;
  }

  .podium-card--third .podium-poster {
    width: 52px;
    height: 70px;
  }

  .podium-title {
    font-size: 10px;
  }

  .podium-card--first .podium-title {
    font-size: 11px;
  }

  .trending-compact-item,
  .motchill-trending.trending-widget .motchill-trending__item,
  .mtc-ranking-list__item,
  .mtc-top-list .motchill-sidebar-list__item {
    grid-template-columns: 26px 46px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 60px;
    padding: 6px 7px !important;
  }

  .compact-thumb,
  .motchill-trending.trending-widget .motchill-trending__thumb,
  .mtc-ranking-list__thumb,
  .mtc-top-list .motchill-sidebar-list__thumb-media {
    width: 46px;
    height: 62px;
    flex: 0 0 46px;
  }

  .compact-title {
    font-size: 12px !important;
  }

  .trending-tab,
  .motchill-trending.trending-widget .motchill-trending__tab {
    font-size: 10px !important;
  }
}

/* â”€â”€ Top phim láº» / bá»™ â€” card padding & mÃ u Ä‘á»“ng bá»™ Trending â”€â”€ */
.mtc-top-widget.motchill-sidebar-list {
  padding: 0 !important;
  overflow: hidden;
}

.mtc-top-widget .myui-panel_hd,
.mtc-top-widget .motchill-sidebar-list__head {
  padding: 14px 14px 0 !important;
}

.mtc-top-widget .myui-panel_hd .myui-panel__head.active,
.mtc-top-widget .motchill-sidebar-list__title-row {
  padding: 0 !important;
  margin: 0 0 10px !important;
  border: 0 !important;
  border-bottom: none !important;
}

.mtc-top-widget .myui-panel_bd,
.mtc-top-widget .motchill-sidebar-list__body {
  padding: 0 14px 14px !important;
}

.mtc-top-widget .mtc-sidebar-widget__title,
.mtc-top-widget .motchill-sidebar-list__title.mtc-sidebar-widget__title {
  color: var(--accent-hot) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
}

.mtc-top-widget .motchill-sidebar-list__icon {
  color: var(--accent-hot);
}

.mtc-top-featured {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 8px 10px !important;
  margin-bottom: 10px;
  border-radius: 12px !important;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.035)) !important;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.42) !important;
  box-shadow: 0 8px 20px rgba(var(--accent-hot-rgb), 0.1);
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.mtc-top-featured:hover {
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.045)) !important;
  border-color: rgba(var(--accent-hot-rgb), 0.58) !important;
  box-shadow: 0 10px 24px rgba(var(--accent-hot-rgb), 0.14);
  text-decoration: none;
}

.mtc-top-featured__thumb {
  display: block;
  width: 58px;
  height: 78px;
  flex: 0 0 58px;
  border-radius: 8px;
  background-color: #0b0f14;
  overflow: hidden;
}

.mtc-top-featured__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mtc-top-featured__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent-hot);
  text-transform: uppercase;
}

.mtc-top-featured__title {
  display: block;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}

.mtc-top-featured__meta {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--text-secondary);
}

.mtc-top-list.motchill-sidebar-list__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
}

.mtc-top-list .motchill-sidebar-list__item {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 64px;
  margin: 0 !important;
  padding: 7px 8px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  background: rgba(255, 255, 255, 0.025) !important;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.mtc-top-list .motchill-sidebar-list__item:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Top phim bá»™ / láº» â€” list #2+ Ä‘á»“ng bá»™ thumb vá»›i trending / ranking */
.mtc-top-widget .mtc-top-list .motchill-sidebar-list__thumb {
  width: 52px !important;
  height: 70px !important;
  flex: 0 0 52px !important;
  aspect-ratio: unset !important;
  border-radius: 8px !important;
  overflow: hidden;
  background-color: #0b0f14 !important;
  box-shadow: none !important;
}

.mtc-top-widget .mtc-top-list .motchill-sidebar-list__thumb-clip {
  inset: 0 !important;
  overflow: hidden;
  border-radius: inherit;
  background-color: #0b0f14;
}

.mtc-top-widget .mtc-top-list .motchill-sidebar-list__thumb-media {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
  background-size: cover !important;
}

.mtc-top-widget .mtc-top-list .motchill-sidebar-list__item:hover .motchill-sidebar-list__thumb-media {
  transform: none !important;
}

.mtc-top-widget--series .mtc-top-featured {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.035)) !important;
  border-color: rgba(var(--accent-hot-rgb), 0.42) !important;
  box-shadow: 0 8px 20px rgba(var(--accent-hot-rgb), 0.1);
}

.mtc-top-widget--series .mtc-top-featured:hover {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.045)) !important;
  border-color: rgba(var(--accent-hot-rgb), 0.58) !important;
  box-shadow: 0 10px 24px rgba(var(--accent-hot-rgb), 0.14);
}

/* ranking widget â€” see authoritative block at end of file */

/* -- Footer / bottom nav -- */
.motchill-page-home {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

.motchill-footer {
  margin-top: 20px;
  padding: 0 !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .motchill-footer {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .motchill-footer {
    margin-top: 48px;
  }
}

/* bottom nav â€” see authoritative block at end of file */

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199px) {
  .motchill-home-layout__main .motchill-recommended-carousel {
    --carousel-visible: 4;
  }
}

@media (max-width: 1024px) {
  .mtc-hero__content {
    width: min(60%, 520px);
    max-width: 520px;
    padding: 24px 28px;
  }
}

@media (max-width: 991px) {
  .container:has(.motchill-page-home),
  .container:has(.motchill-catalog-page),
  .container:has(.motchill-categories-page),
  .container:has(.motchill-page-detail),
  .container:has(.motchill-page-member) {
    padding-left: 16px;
    padding-right: 16px;
  }

  .motchill-header-modern > .container,
  .motchill-header-modern .nav__content > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .motchill-home-layout.motchill-page-home {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mtc-header-tools {
    display: none;
  }

  .mtc-header-actions .mtc-vip-btn__label,
  .mtc-header-login span,
  .mtc-header-account__info {
    display: none;
  }

  .mtc-header-actions .mtc-vip-tag {
    display: none;
  }

  .mtc-header-account__trigger {
    padding: 4px;
  }

  .mtc-hero {
    margin-bottom: 22px;
    border-radius: 14px;
  }

  .mtc-hero__viewport {
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 340px;
  }

  .mtc-hero:not(.is-show-movie-info) .mtc-hero__viewport {
    aspect-ratio: auto;
    height: clamp(340px, 44vw, 400px);
    min-height: 340px;
    max-height: 400px;
  }

  .mtc-hero:not(.is-show-movie-info) .mtc-hero__content {
    padding: 0 22px 54px;
  }

  .mtc-hero:not(.is-show-movie-info) .mtc-hero__dock {
    gap: 16px 20px;
  }

  .mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--primary,
  .mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--glass {
    min-height: 40px;
    height: 40px;
    font-size: 12px;
  }

  .mtc-hero:not(.is-show-movie-info) .mtc-hero__actions .mtc-btn--primary .mtc-icon {
    width: 30px;
    height: 30px;
    padding: 6px;
  }

  .mtc-hero__content {
    width: min(68%, 480px);
    max-width: none;
    padding: 20px 24px;
    gap: 10px;
  }

  .mtc-hero__title,
  .mtc-hero__content a.mtc-hero__title {
    font-size: clamp(20px, 3.6vw, 24px);
    line-height: 1.12 !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .mtc-hero__title.is-long-title,
  .mtc-hero__content a.mtc-hero__title.is-long-title {
    font-size: clamp(18px, 3.2vw, 22px);
    line-height: 1.12 !important;
  }

  .mtc-hero__title.is-very-long-title,
  .mtc-hero__content a.mtc-hero__title.is-very-long-title {
    font-size: clamp(17px, 3vw, 20px);
    line-height: 1.12 !important;
  }

  .mtc-hero__meta {
    margin: 0;
    font-size: 11px;
    gap: 4px 10px;
  }

  .mtc-hero__actions {
    gap: 8px;
  }

  .mtc-hero__actions .mtc-btn,
  .mtc-hero__btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    gap: 6px;
  }

  .mtc-hero__actions .mtc-btn .mtc-icon {
    width: 14px;
    height: 14px;
  }

  .mtc-hero .mtc-btn--primary {
    box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.22);
  }

  .mtc-hero__grain {
    opacity: 0.1;
  }

  .mtc-hero__desc {
    display: none;
  }

  .motchill-home-layout__main .motchill-recommended-carousel {
    --carousel-visible: 4.3;
  }

  .motchill-carousel__nav--prev,
  .motchill-carousel__nav--next {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mtc-ranking-podium {
    gap: 6px;
    margin: 2px 0 12px;
    padding-top: 12px;
  }

  .mtc-ranking-podium__card {
    padding: 10px 5px 6px !important;
  }

  .mtc-ranking-podium__card.podium-card--first {
    padding-top: 14px !important;
  }

  .mtc-ranking-podium__card.podium-card--second {
    padding-top: 11px !important;
  }

  .mtc-ranking-podium__card.podium-card--third {
    padding-top: 9px !important;
  }

  .mtc-ranking-podium__avatar {
    width: 48px !important;
    height: 48px !important;
  }

  .mtc-ranking-podium__card.podium-card--first .mtc-ranking-podium__avatar {
    width: 60px !important;
    height: 60px !important;
  }

  .mtc-ranking-podium__card.podium-card--second .mtc-ranking-podium__avatar {
    width: 54px !important;
    height: 54px !important;
  }

  .mtc-ranking-podium__card.podium-card--third .mtc-ranking-podium__avatar {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 767px) {
  .container:has(.motchill-page-home),
  .container:has(.motchill-catalog-page),
  .container:has(.motchill-categories-page),
  .container:has(.motchill-page-detail),
  .container:has(.motchill-page-member) {
    padding-left: 14px;
    padding-right: 14px;
  }

  .motchill-header-modern > .container,
  .motchill-header-modern .nav__content > .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* â”€â”€ Trang chá»§ mobile: tokens + grid 3Ã—9 + card/badge/hero/sidebar â”€â”€ */
  .motchill-page-home {
    --mtc-mh-badge-inset: 5px;
    --mtc-mh-chip-h: 14px;
    --mtc-mh-chip-px: 4px;
    --mtc-mh-chip-fs: 8px;
    --mtc-mh-chip-r: 4px;
    --mtc-mh-overlay-h: 14px;
    --mtc-mh-overlay-fs: 7px;
    --mtc-mh-overlay-r: 3px;
    --mtc-mh-title-fs: 12px;
    --mtc-mh-title-lh: 1.35;
    --mtc-mh-detail-pt: 7px;
    --mtc-mh-section-gap: 28px;
    --mtc-mh-header-mb: 12px;
    --mtc-mh-grid-gap: 10px 8px;
  }

  .motchill-page-home .motchill-home-layout.motchill-page-home {
    gap: var(--mtc-mh-section-gap);
    overflow-x: clip;
  }

  .motchill-page-home .motchill-home-layout__main .motchill-section-stack,
  .motchill-page-home .motchill-home-layout__main .motchill-home-section,
  .motchill-page-home .motchill-home-layout__main .mtc-movie-section,
  .motchill-page-home .motchill-home-layout__main .motchill-recommended {
    margin-bottom: var(--mtc-mh-section-gap);
  }

  .motchill-page-home .motchill-home-layout__main .myui-top-movies {
    margin-top: 0;
  }

  .motchill-page-home .motchill-home-section--mobile-hide {
    display: none;
  }

  .motchill-page-home .motchill-home-section:not(.motchill-recommended) .motchill-home-section__list.myui-vodlist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--mtc-mh-grid-gap);
    align-items: stretch;
    margin: 0;
    padding: 0;
  }

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

  .motchill-page-home .motchill-home-section:not(.motchill-recommended) .motchill-home-section__cell:nth-child(n + 10) {
    display: none;
  }

  .motchill-page-home .mtc-movie-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 34px;
    margin-bottom: var(--mtc-mh-header-mb);
  }

  .motchill-page-home .motchill-home-layout__main .motchill-recommended .mtc-movie-section__header {
    margin-bottom: var(--mtc-mh-header-mb);
    padding-bottom: 0;
  }

  .motchill-page-home .mtc-movie-section__title,
  .motchill-page-home .motchill-home-section__title.mtc-movie-section__title,
  .motchill-page-home .motchill-recommended__title.mtc-movie-section__title {
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: 0.03em;
  }

  .motchill-page-home .mtc-movie-section__title::before,
  .motchill-page-home .motchill-recommended__title.mtc-movie-section__title::before {
    height: 16px;
  }

  .motchill-page-home .mtc-section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 44px;
    height: auto;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
  }

  .motchill-page-home :is(.motchill-home-section__box, .motchill-recommended__box) {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb).myui-vodlist__thumb {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    border-radius: var(--mtc-radius-md) var(--mtc-radius-md) 0 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb) .mtc-card-badges {
    top: var(--mtc-mh-badge-inset);
    left: var(--mtc-mh-badge-inset);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2px;
    max-width: calc(100% - 24px);
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb) .mtc-chip {
    height: var(--mtc-mh-chip-h);
    min-height: var(--mtc-mh-chip-h);
    padding: 0 var(--mtc-mh-chip-px);
    border-radius: var(--mtc-mh-chip-r);
    font-size: var(--mtc-mh-chip-fs);
    line-height: var(--mtc-mh-chip-h);
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 0;
    box-shadow: none;
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb) .mtc-card-badges .mtc-chip + .mtc-chip {
    display: inline-flex;
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb) .mtc-movie-card__year-badge {
    left: var(--mtc-mh-badge-inset);
    bottom: var(--mtc-mh-badge-inset);
    height: var(--mtc-mh-overlay-h);
    min-height: var(--mtc-mh-overlay-h);
    padding: 0 var(--mtc-mh-chip-px);
    font-size: var(--mtc-mh-overlay-fs);
    border-radius: var(--mtc-mh-overlay-r);
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb) :is(.mtc-card-rating, .mtc-card-rating--compact) {
    right: var(--mtc-mh-badge-inset);
    bottom: var(--mtc-mh-badge-inset);
    left: auto;
    height: var(--mtc-mh-overlay-h);
    min-height: var(--mtc-mh-overlay-h);
    padding: 0 var(--mtc-mh-chip-px);
    gap: 2px;
    font-size: var(--mtc-mh-overlay-fs);
    border-radius: var(--mtc-mh-overlay-r);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .motchill-page-home :is(.motchill-home-section__thumb, .motchill-recommended__thumb) .mtc-card-rating__icon {
    width: 7px;
    height: 7px;
  }

  .motchill-page-home :is(.motchill-home-section__box, .motchill-recommended__box) .mtc-movie-card__detail,
  .motchill-page-home :is(.motchill-home-section__box, .motchill-recommended__box) .motchill-movie-card__detail {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-top: var(--mtc-mh-detail-pt);
    margin: 0;
    min-height: calc(var(--mtc-mh-detail-pt) + 2 * var(--mtc-mh-title-lh) * 1em);
  }

  .motchill-page-home :is(.motchill-home-section__box, .motchill-recommended__box) .title {
    margin: 0;
    min-height: calc(2 * var(--mtc-mh-title-lh) * 1em);
    flex: 0 0 auto;
  }

  .motchill-page-home :is(.motchill-home-section__box, .motchill-recommended__box) .title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    font-size: var(--mtc-mh-title-fs);
    line-height: var(--mtc-mh-title-lh);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--mtc-text-primary);
  }

  .motchill-page-home .mtc-movie-card__meta-origin {
    display: none;
  }

  .motchill-page-home :is(.motchill-home-section__box, .motchill-recommended__box) .mtc-movie-card__meta {
    margin-top: 0;
    flex: 0 0 auto;
  }

  .motchill-page-home .motchill-home-layout__main .motchill-recommended-carousel,
  .motchill-page-home .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
    --carousel-visible: 2.7;
    --carousel-gap: 8px;
  }

  .motchill-page-home .mtc-home-sidebar-stack__tabs {
    gap: 5px;
    padding: 5px 6px;
    margin-bottom: 14px;
  }

  .motchill-page-home .mtc-home-sidebar-stack__tab {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
  }

  .motchill-page-home .mtc-home-sidebar-stack__panel.is-active {
    margin-top: 2px;
  }

  .motchill-page-home .mtc-home-sidebar-stack .mtc-top-widget .motchill-sidebar-list__title,
  .motchill-page-home .mtc-home-sidebar-stack .mtc-top-widget .mtc-sidebar-widget__title,
  .motchill-page-home .mtc-home-sidebar-stack .motchill-trending .trending-header .motchill-trending__title,
  .motchill-page-home .mtc-home-sidebar-stack .motchill-trending .trending-header .trending-title,
  .motchill-page-home .mtc-home-sidebar-stack .mtc-ranking-widget__title,
  .motchill-page-home .mtc-home-sidebar-stack .mtc-ranking-widget .mtc-sidebar-widget__title {
    font-size: 14px !important;
  }

  .motchill-page-home .trending-podium,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__podium {
    gap: 4px;
    margin: 0 0 12px;
    padding-top: 10px;
  }

  .motchill-page-home .podium-card {
    padding: 8px 3px 6px;
  }

  .motchill-page-home .podium-card--first {
    padding-top: 12px;
  }

  .motchill-page-home .podium-card--second {
    padding-top: 9px;
  }

  .motchill-page-home .podium-card--third {
    padding-top: 7px;
  }

  .motchill-page-home .podium-poster {
    width: 48px;
    height: 64px;
  }

  .motchill-page-home .podium-card--first .podium-poster {
    width: 60px;
    height: 80px;
  }

  .motchill-page-home .podium-card--second .podium-poster {
    width: 52px;
    height: 70px;
  }

  .motchill-page-home .podium-card--third .podium-poster {
    width: 46px;
    height: 62px;
  }

  .motchill-page-home .podium-title {
    font-size: 9px;
    line-height: 1.2;
  }

  .motchill-page-home .podium-card--first .podium-title {
    font-size: 10px;
  }

  .motchill-page-home .podium-meta {
    font-size: 8px;
    margin-top: 2px;
  }

  .motchill-page-home .podium-score {
    font-size: 9px;
    margin-top: 3px;
  }

  .motchill-page-home .podium-rank {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .motchill-page-home .podium-card--first .podium-rank {
    width: 24px;
    height: 24px;
  }

  .motchill-page-home .mtc-ranking-podium {
    gap: 4px;
    margin: 0 0 12px;
    padding-top: 10px;
  }

  .motchill-page-home .mtc-ranking-podium__card {
    padding: 8px 3px 6px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--first {
    padding-top: 12px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--second {
    padding-top: 9px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--third {
    padding-top: 7px !important;
  }

  .motchill-page-home .mtc-ranking-podium__avatar {
    width: 44px !important;
    height: 44px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--first .mtc-ranking-podium__avatar {
    width: 56px !important;
    height: 56px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--second .mtc-ranking-podium__avatar {
    width: 48px !important;
    height: 48px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--third .mtc-ranking-podium__avatar {
    width: 42px !important;
    height: 42px !important;
  }

  .motchill-page-home .mtc-ranking-podium__title {
    font-size: 9px;
    line-height: 1.2;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--first .mtc-ranking-podium__title {
    font-size: 10px;
  }

  .motchill-page-home .mtc-ranking-podium__meta {
    font-size: 8px;
    margin-top: 2px;
  }

  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-list__item,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__item,
  .motchill-page-home .trending-compact-item,
  .motchill-page-home .mtc-top-list .motchill-sidebar-list__item {
    min-height: 64px;
    align-items: center;
    padding: 8px 10px;
    gap: 10px;
    grid-template-columns: 32px 56px minmax(0, 1fr) auto;
  }

  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-list__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.3;
  }

  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-list__item .mtc-card-rating--inline {
    margin-right: 2px;
  }

  body.dock-nav-visible:has(.motchill-page-home) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  body.dock-nav-visible:has(.motchill-page-home) .scroll-to-top {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .motchill-home-section__cell,
  .motchill-catalog-page .film-list > li:not(.motchill-catalog__empty),
  .motchill-catalog-page .motchill-catalog__cell {
    width: auto !important;
    max-width: none !important;
  }

  .motchill-header-modern ~ .container {
    padding-top: 20px;
  }

  .motchill-page-home .motchill-home-layout__main .motchill-recommended-carousel,
  .motchill-page-home .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
    --carousel-visible: 2.7;
    --carousel-gap: 8px;
  }

  .motchill-page-home .mtc-hero {
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .motchill-page-home .mtc-hero__viewport {
    aspect-ratio: 16 / 10;
    min-height: 210px;
    max-height: 300px;
  }

  .motchill-page-home .mtc-hero__grain {
    opacity: 0.09;
  }

  .motchill-page-home .mtc-hero__content {
    inset: 0;
    width: 100%;
    max-width: none;
    justify-content: end;
    gap: 8px;
    padding: 16px 16px 44px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) {
    border-radius: 0;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__banner {
    border-radius: 14px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__viewport {
    aspect-ratio: auto;
    height: clamp(220px, 56vw, 280px);
    min-height: 220px;
    max-height: 280px;
    border-radius: 14px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__content {
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 0 14px 44px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__dock {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__dock-left {
    gap: 6px;
    padding-bottom: 0;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__dock-right,
  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__actions {
    display: none !important;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__title,
  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__content a.mtc-hero__title {
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.2;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__meta {
    font-size: 11px;
    gap: 3px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__badges .mtc-chip {
    height: 17px;
    min-height: 17px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 8.5px;
    line-height: 17px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-card {
    display: inline-flex !important;
    top: 12px;
    right: 12px;
    bottom: auto;
    padding: 5px 10px;
    font-size: 11px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__stat-card__item {
    font-size: 11px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    padding: 6px 12px;
    gap: 5px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__dot {
    width: 6px;
    height: 6px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) .mtc-hero__dot.is-active {
    width: 14px;
    height: 6px;
  }

  .motchill-page-home .mtc-hero:not(.is-show-movie-info) {
    margin-bottom: 24px;
  }

  .motchill-page-home .mtc-hero__content {
    margin: 0;
  }

  .motchill-page-home .mtc-hero__badges .mtc-chip {
    height: 17px;
    min-height: 17px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 8.5px;
    line-height: 17px;
  }

  .motchill-page-home .mtc-hero__title,
  .motchill-page-home .mtc-hero__content a.mtc-hero__title {
    margin: 0;
    font-size: clamp(19px, 5.4vw, 24px);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: none;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
  }

  .motchill-page-home .mtc-hero__title.is-long-title,
  .motchill-page-home .mtc-hero__content a.mtc-hero__title.is-long-title {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.2;
  }

  .motchill-page-home .mtc-hero__title.is-very-long-title,
  .motchill-page-home .mtc-hero__content a.mtc-hero__title.is-very-long-title {
    font-size: clamp(17px, 4.6vw, 21px);
    line-height: 1.2;
  }

  .motchill-page-home .mtc-hero__meta {
    margin: 0;
    font-size: 11px;
    gap: 4px 9px;
  }

  .motchill-page-home .mtc-hero__meta-icon {
    width: 12px;
    height: 12px;
  }

  .motchill-page-home .mtc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin-top: 0;
    display: none;
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn,
  .motchill-page-home .mtc-hero__btn {
    flex: none;
    width: auto;
    min-width: 0;
    min-height: 34px;
    height: auto;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    gap: 6px;
    border-radius: 999px;
    line-height: 1;
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn--primary,
  .motchill-page-home .mtc-hero__btn--primary {
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn--glass {
    min-height: 32px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 600;
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn .mtc-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .motchill-page-home .mtc-hero .mtc-btn--primary:hover,
  .motchill-page-home .mtc-hero .mtc-btn--primary:active {
    transform: none;
  }

  .motchill-page-home .mtc-hero .mtc-btn--primary:active {
    transform: scale(0.98);
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn--glass.motchill-favorite-btn.is-active .mtc-icon--bookmark path {
    fill: currentColor;
  }

  .motchill-page-home .mtc-hero__stat-card {
    display: none;
  }

  .motchill-page-home .mtc-hero__dots {
    left: 14px;
    bottom: 10px;
    gap: 5px;
  }

  .motchill-page-home .mtc-hero__dot {
    width: 6px;
    height: 6px;
  }

  .motchill-page-home .mtc-hero__dot::before {
    width: 24px;
    height: 24px;
  }

  .motchill-page-home .mtc-hero__dot.is-active {
    width: 14px;
    height: 6px;
  }
}

@media (max-width: 340px) {
  .motchill-page-home .mtc-hero__actions .mtc-btn--glass {
    padding: 0 10px;
    font-size: 10px;
    gap: 5px;
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn--primary {
    padding: 0 14px;
    font-size: 11px;
  }

  .motchill-page-home .mtc-hero__actions .mtc-btn .mtc-icon {
    width: 13px;
    height: 13px;
  }
}

/* â”€â”€ Home section cards â€” detail dÆ°á»›i poster, meta khÃ´ng che rating â”€â”€ */
.motchill-home-layout__main .motchill-home-section__box .mtc-movie-card__detail,
.motchill-home-layout__main .motchill-home-section__box .motchill-movie-card__detail {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  display: block !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  background: transparent !important;
  z-index: auto !important;
  padding: 8px 0 0 !important;
  margin: 0 !important;
}

.motchill-home-layout__main .motchill-home-section__box .mtc-movie-card__detail .title,
.motchill-home-layout__main .motchill-home-section__box .mtc-movie-card__detail .title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .motchill-home-layout__main .motchill-home-section__box .mtc-movie-card__detail .title a {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .motchill-home-layout__main .motchill-movie-card__detail .mtc-movie-card__meta,
  .motchill-home-layout__main .motchill-home-section__box .mtc-movie-card__meta,
  .motchill-home-layout__main .motchill-recommended__detail .mtc-movie-card__meta {
    display: block !important;
  }

  .motchill-home-layout__main .mtc-movie-card__meta-origin {
    display: none;
  }
}

.motchill-home-layout__main .motchill-recommended__detail .mtc-movie-card__meta {
  overflow: hidden;
  white-space: normal;
}

/* â”€â”€ Phim Ä‘á» cá»­ â€” final overrides (beat legacy main/modern layers) â”€â”€ */
.motchill-home-layout__main .motchill-recommended__thumb .play {
  background-image: none !important;
}

.motchill-home-layout__main .motchill-recommended__detail,
.motchill-home-layout__main .motchill-recommended__detail.mtc-movie-card__detail {
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

@media (min-width: 768px) {
  .motchill-home-layout__main .motchill-recommended__detail .title,
  .motchill-home-layout__main .motchill-recommended__detail .title a {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
  }

  .motchill-home-layout__main .motchill-recommended__detail .text {
    font-size: 10px !important;
    line-height: 1.25 !important;
    opacity: 1 !important;
    color: var(--text-secondary) !important;
  }
}

/* â”€â”€ Search form â€” fix icon alignment (header + modal) â”€â”€ */
.motchill-header-modern .myui-header__search .motchill-search-form {
  position: relative;
}

.motchill-header-modern .myui-header__search .motchill-search-form .submit {
  position: absolute;
  left: 10px;
  right: auto;
  top: 50%;
  bottom: auto;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  background: transparent;
  color: var(--accent);
}

.motchill-header-modern .myui-header__search .motchill-search-form .submit svg {
  width: 18px;
  height: 18px;
  display: block;
}

.motchill-search-modal__form.motchill-search-form {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
}

.motchill-search-modal__form .motchill-search-modal__input,
.motchill-search-modal__form .search_wd {
  width: 100%;
  height: 48px !important;
  padding: 0 44px 0 48px !important;
  border-radius: 14px !important;
  line-height: normal;
  box-sizing: border-box;
}

.motchill-search-modal__form .motchill-search-modal__submit,
.motchill-search-modal__form .submit.search_submit {
  position: absolute !important;
  left: 12px !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
}

.motchill-search-modal__form .motchill-search-modal__submit svg {
  width: 18px;
  height: 18px;
  display: block;
}

.motchill-search-modal__form .motchill-search-modal__close {
  position: absolute !important;
  right: 10px !important;
  left: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

@media (min-width: 992px) {
  .motchill-search-modal__form.motchill-search-form {
    height: 52px;
  }

  .motchill-search-modal__form .motchill-search-modal__input,
  .motchill-search-modal__form .search_wd {
    height: 52px !important;
  }
}

/* â”€â”€ Mobile header â€” logo + hamburger alignment â”€â”€ */
@media (max-width: 991px) {
  .motchill-header-modern .myui_custom_header {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-areas: "menu logo search";
    align-items: center;
    column-gap: 8px;
    min-height: 52px;
    padding: 6px 0 !important;
    position: relative;
  }

  .motchill-header-modern .m-nav-open,
  .motchill-header-modern .header-icon-btn.m-nav-open {
    grid-area: menu;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: start;
    align-self: center;
    width: 40px !important;
    height: 40px !important;
    margin: 0;
    z-index: 3;
  }

  .motchill-header-modern .myui-header__logo {
    grid-area: logo;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    justify-self: center;
    align-self: center;
    width: 100%;
    max-width: calc(100vw - 120px);
    margin: 0 !important;
    z-index: 1;
    overflow: hidden;
  }

  .motchill-header-modern .myui-header__logo .logo {
    width: 100% !important;
    max-width: 168px;
    height: auto !important;
    min-height: 0;
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .motchill-header-modern .mtc-brand-logo {
    max-width: 100%;
    justify-content: center;
  }

  .motchill-header-modern .mtc-brand-logo img {
    max-width: min(160px, 100%) !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
  }

  .motchill-header-modern .m-search-open {
    grid-area: search;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    width: 40px !important;
    height: 40px !important;
    margin: 0;
    z-index: 3;
  }

  .motchill-header-modern .myui_custom_header > .motchill-mobile-user-menu,
  .motchill-header-modern .myui_custom_header > #box-user-menu {
    display: none !important;
  }

  .motchill-header-modern .myui-header__search {
    grid-column: 1 / -1;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1002;
  }

  .motchill-header-modern .myui_custom_header > .myui-header__search:not(.is-open):not(.show) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (max-width: 767px) {
  .motchill-header-modern .myui_custom_header {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    min-height: 52px;
    column-gap: 6px;
    padding: 6px 0 !important;
  }

  .motchill-header-modern .m-nav-open,
  .motchill-header-modern .m-search-open {
    width: 36px !important;
    height: 36px !important;
  }

  .motchill-header-modern .myui-header__logo {
    max-width: calc(100vw - 108px);
  }

  .motchill-header-modern .myui-header__logo .logo {
    max-width: 152px;
  }

  .motchill-header-modern .mtc-brand-logo img {
    max-width: min(148px, 100%) !important;
    max-height: 38px !important;
  }

  .motchill-header-modern .myui-header__search {
    top: calc(100% + 6px);
  }
}

@media (max-width: 479px) {
  .motchill-header-modern .myui_custom_header {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    column-gap: 4px;
    min-height: 46px;
    padding: 4px 0 !important;
  }

  .motchill-header-modern .m-nav-open,
  .motchill-header-modern .m-search-open {
    width: 34px !important;
    height: 34px !important;
  }

  .motchill-header-modern .myui-header__logo {
    max-width: calc(100vw - 96px);
  }

  .motchill-header-modern .myui-header__logo .logo {
    max-width: 136px;
  }

  .motchill-header-modern .mtc-brand-logo img {
    max-width: min(132px, 100%) !important;
    max-height: 36px !important;
  }
}

/* â”€â”€ Motchill 2026 polish â€” wide layout â”€â”€ */
@media (min-width: 768px) and (max-width: 991px) {
  /* Tablet: sidebar full width + tab UI (JS sync tá»›i 991px) */
  .motchill-page-home .motchill-sidebar-stack,
  .motchill-page-home .motchill-home-layout__sidebar {
    width: 100%;
    max-width: none;
  }

  .motchill-page-home .motchill-sidebar-stack {
    display: block;
  }

  .motchill-page-home .motchill-sidebar-stack > :only-child,
  .motchill-page-home .mtc-home-sidebar-stack {
    max-width: none;
    width: 100%;
    margin-inline: 0;
  }

  .motchill-page-home .motchill-sidebar-stack .myui-panel_bd,
  .motchill-page-home .motchill-sidebar-stack .motchill-trending__body,
  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-widget__body {
    padding: 16px !important;
  }

  .mtc-home-sidebar-stack__tabs {
    gap: 6px;
    margin-bottom: 14px;
    padding: 5px;
    border-radius: 14px;
  }

  .mtc-home-sidebar-stack__tab {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
    border-radius: 10px;
  }

  .motchill-page-home .trending-podium,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__podium,
  .motchill-page-home .mtc-ranking-podium {
    gap: 8px;
    margin: 2px 0 14px;
    padding-top: 12px;
    min-height: 0;
  }

  .motchill-page-home .podium-poster {
    width: 58px;
    height: 76px;
    margin-inline: auto;
  }

  .motchill-page-home .podium-card--first .podium-poster {
    width: 72px;
    height: 96px;
  }

  .motchill-page-home .podium-card--second .podium-poster {
    width: 62px;
    height: 82px;
  }

  .motchill-page-home .podium-card--third .podium-poster {
    width: 56px;
    height: 74px;
  }

  .motchill-page-home .podium-title {
    font-size: 12px;
  }

  .motchill-page-home .podium-card--first .podium-title {
    font-size: 13px;
  }

  .motchill-page-home .trending-compact-item,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__item,
  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-list__item,
  .motchill-page-home .mtc-top-list .motchill-sidebar-list__item {
    min-height: 64px;
    padding: 8px 10px !important;
    grid-template-columns: 32px 56px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-list__thumb,
  .motchill-page-home .compact-thumb,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__thumb,
  .motchill-page-home .mtc-top-list .motchill-sidebar-list__thumb-media {
    width: 56px;
    height: 76px;
    flex: 0 0 56px;
  }

  .motchill-page-home .mtc-top-list .motchill-sidebar-list__thumb {
    width: 56px !important;
    height: 76px !important;
    flex: 0 0 56px !important;
  }

  .motchill-page-home .motchill-sidebar-stack .mtc-ranking-list__title {
    font-size: 13px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .motchill-page-home .trending-tab,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__tab {
    font-size: 11px !important;
    padding: 7px 10px;
  }

  .motchill-page-home .trending-title,
  .motchill-page-home .motchill-trending.trending-widget .motchill-trending__title {
    font-size: 15px !important;
  }

  .motchill-page-home .mtc-ranking-podium__avatar {
    width: 50px !important;
    height: 50px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--first .mtc-ranking-podium__avatar {
    width: 62px !important;
    height: 62px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--second .mtc-ranking-podium__avatar {
    width: 54px !important;
    height: 54px !important;
  }

  .motchill-page-home .mtc-ranking-podium__card.podium-card--third .mtc-ranking-podium__avatar {
    width: 48px !important;
    height: 48px !important;
  }

  .motchill-home-layout__main .motchill-home-section__list.myui-vodlist {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--home-grid-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 10) {
    display: block !important;
  }

  /* Tablet home: 3 hÃ ng Ã— 5 cá»™t = 15 card */
  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 16) {
    display: none !important;
  }
}

/* Desktop háº¹p (992â€“1439px, ~1024): 4Ã—3 */
@media (min-width: 992px) and (max-width: 1439px) {
  .motchill-home-layout__main .motchill-home-section__list.myui-vodlist {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--home-grid-gap) !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 10) {
    display: block !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 13) {
    display: none !important;
  }

  .motchill-home-layout__main .motchill-home-section__cell {
    width: calc((100% - (var(--home-grid-gap) * 3)) / 4) !important;
  }
}

/* Desktop rá»™ng (1440px+): 5Ã—3 */
@media (min-width: 1440px) {
  .motchill-home-layout__main .motchill-home-section__list.myui-vodlist {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--home-grid-gap) !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 10) {
    display: block !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 13) {
    display: block !important;
  }

  .motchill-home-layout__main .motchill-home-section__list .motchill-home-section__cell:nth-child(n + 16) {
    display: none !important;
  }

  .motchill-home-layout__main .motchill-home-section__cell {
    width: calc((100% - (var(--home-grid-gap) * 4)) / 5) !important;
  }
}

@media (min-width: 1200px) {
  .motchill-home-layout__main .motchill-recommended-carousel {
    --carousel-visible: 5;
  }
}

/* Sidebar scrolls with main column â€” no sticky (avoids left/right desync) */

/* â”€â”€ Play icon â€” Ä‘á»“ng bá»™ Motchill (grid + carousel + catalog) â”€â”€ */
.motchill-card-play__icon {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.motchill-card-play__icon .motchill-card-play__ring,
.motchill-card-play__icon circle {
  fill: var(--accent-hot) !important;
  stroke: none !important;
}

.motchill-card-play__icon .motchill-card-play__shape,
.motchill-card-play__icon path {
  fill: #111821 !important;
}

.motchill-card-play--compact .motchill-card-play__icon,
.motchill-home-layout__main .motchill-recommended__thumb .motchill-card-play__icon {
  width: 32px !important;
  height: 32px !important;
}

.motchill-card-play:not(.motchill-card-play--compact) .motchill-card-play__icon {
  width: 40px !important;
  height: 40px !important;
}

/* â”€â”€ Catalog / category / search list page â”€â”€ */
.motchill-catalog-page {
  width: 100%;
  float: none;
  padding: 0;
  --mtc-mh-grid-gap: var(--home-grid-gap);
}

.mtc-catalog-page__inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.motchill-catalog-breadcrumb {
  margin: 0 0 16px;
}

.motchill-catalog-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.motchill-catalog-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.motchill-catalog-breadcrumb__item:not(.is-current)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(var(--white-rgb), 0.22);
}

.motchill-catalog-breadcrumb__item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.motchill-catalog-breadcrumb__item.is-current {
  color: var(--text-primary);
  font-weight: 600;
}

/* â”€â”€ Compact listing header (/danh-sach/*) â”€â”€ */
.listing-page-header {
  margin-top: 28px;
  margin-bottom: 18px;
}

.listing-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
}

.listing-title {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.listing-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--accent-hot);
}

.listing-count {
  padding: 7px 12px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.25);
  border-radius: 999px;
  background: rgba(var(--accent-hot-rgb), 0.1);
  color: var(--accent-hot);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.listing-description {
  max-width: 620px;
  margin: 12px 0 0;
  color: #a8b0bd;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.mtc-catalog-page--listing .mtc-stream-filter {
  margin-top: 0;
  margin-bottom: var(--mtc-section-inner-gap, 11px);
}

@media (max-width: 767px) {
  .listing-page-header {
    margin-top: 20px;
    margin-bottom: 16px;
  }

  .listing-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .listing-title {
    font-size: 28px;
  }

  .listing-description {
    font-size: 13px;
  }
}

/* â”€â”€ Catalog page hero (genre / region) â”€â”€ */
.mtc-catalog-hero {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  margin: 0 0 22px;
  padding: 30px 36px;
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 42%, rgba(var(--accent-hot-rgb), 0.14), transparent 28%),
    linear-gradient(135deg, #0d121a 0%, #070a0f 55%, #111821 100%);
  isolation: isolate;
}

.mtc-catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(var(--white-rgb), 0.07) 0,
      rgba(var(--white-rgb), 0.07) 1px,
      transparent 1px,
      transparent 30px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(var(--white-rgb), 0.03) 0,
      rgba(var(--white-rgb), 0.03) 1px,
      transparent 1px,
      transparent 24px
    );
}

.mtc-catalog-hero__watermark {
  position: absolute;
  right: 24px;
  bottom: -18px;
  z-index: 1;
  max-width: calc(100% - 48px);
  overflow: hidden;
  color: rgba(var(--white-rgb), 0.025);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.mtc-catalog-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mtc-catalog-hero__main {
  flex: 1 1 auto;
  min-width: 0;
}

.mtc-catalog-hero__title {
  margin: 0;
}

.mtc-catalog-hero__name {
  display: block;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(var(--black-rgb), 0.35);
}

.mtc-catalog-hero__accent {
  display: block;
  width: 56px;
  height: 3px;
  margin: 10px 0 14px;
  border-radius: 999px;
  background: var(--accent-hot);
}

.mtc-catalog-hero__desc {
  max-width: 560px;
  margin: 0;
  color: #a8b0bd;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.mtc-catalog-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.mtc-catalog-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.35);
  border-radius: 999px;
  background: rgba(var(--accent-hot-rgb), 0.12);
  color: var(--accent-hot);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mtc-catalog-hero__tag {
  color: #a8b0bd;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .mtc-catalog-hero {
    min-height: 0;
    padding: 20px;
  }

  .mtc-catalog-hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .mtc-catalog-hero__name {
    font-size: 28px;
  }

  .mtc-catalog-hero__watermark {
    right: 16px;
    bottom: -10px;
    font-size: 42px;
  }

  .mtc-catalog-hero__aside {
    align-items: flex-start;
  }
}

/* â”€â”€ Person (actor / director) page â”€â”€ */
.mtc-person-page {
  --mtc-person-accent: var(--accent-hot);
}

.mtc-person-page--director {
  --mtc-person-accent: #38bdf8;
}

.mtc-person-profile {
  margin-bottom: 18px;
}

.mtc-person-profile__card {
  display: grid;
  grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--detail-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(245, 165, 36, 0.08), transparent 55%),
    var(--detail-surface-2, rgba(16, 23, 32, 0.92));
}

.mtc-person-page--director .mtc-person-profile__card {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(56, 189, 248, 0.1), transparent 55%),
    var(--detail-surface-2, rgba(16, 23, 32, 0.92));
}

.mtc-person-profile__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mtc-person-profile__avatar {
  width: 132px;
  height: 132px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: var(--detail-surface, #101720);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.22);
}

.mtc-person-page--director .mtc-person-profile__avatar {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.28);
}

.mtc-person-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtc-person-profile__initials {
  color: var(--mtc-person-accent);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mtc-person-profile__role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 165, 36, 0.14);
  color: var(--mtc-person-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.mtc-person-page--director .mtc-person-profile__role-badge {
  background: rgba(56, 189, 248, 0.14);
}

.mtc-person-profile__body {
  min-width: 0;
}

.mtc-person-profile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 10px;
}

.mtc-person-profile__name {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mtc-person-profile__stat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.mtc-person-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mtc-person-profile__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--detail-text-muted, #9aa4b2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.mtc-person-profile__chip--muted {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
}

.mtc-person-profile__bio {
  color: var(--detail-text-muted, #c8ccd3);
  font-size: 14px;
  line-height: 1.65;
}

.mtc-person-profile__bio p {
  margin: 0;
}

.mtc-person-profile__bio--empty {
  margin: 0;
  color: var(--detail-text-muted, #9aa4b2);
  font-size: 13px;
  font-style: italic;
}

.mtc-person-page__movies-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.mtc-person-page__movies-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 800;
}

.mtc-person-page__movies-count {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.mtc-person-page__movies-count strong {
  color: var(--mtc-person-accent);
}

.mtc-person-page__movie-role {
  margin: 4px 0 0;
  color: var(--mtc-person-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .mtc-person-profile__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mtc-person-profile__visual {
    margin: 0 auto;
  }

  .mtc-person-profile__head,
  .mtc-person-profile__meta {
    justify-content: center;
  }
}

/* â”€â”€ Catalog panel â”€â”€ */
.mtc-catalog-panel {
  width: 100%;
}

.mtc-catalog-head {
  margin-bottom: 20px;
}

.mtc-catalog-head__title {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mtc-catalog-count {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.07);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.mtc-catalog-count strong {
  color: var(--accent-hot);
  font-weight: 800;
}

/* â”€â”€ Filter bar â”€â”€ */
.mtc-catalog-filter {
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid rgba(var(--white-rgb), 0.07);
  border-radius: 14px;
  background: rgba(var(--white-rgb), 0.04);
}

.mtc-catalog-filter__toggle {
  display: none;
}

.mobile-filter-summary {
  display: none;
}

.mtc-filter-sheet__mobile-head {
  display: none;
}

.mtc-filter-sheet__backdrop {
  display: none;
}

.mtc-pagination-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow-x: clip;
}

.mtc-pagination-mobile__bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: auto;
  max-width: calc(100% - 8px);
  margin: 0 auto;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mtc-pagination-mobile__middle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 100px;
  height: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.mtc-pagination-mobile__middle-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32em;
  font-variant-numeric: tabular-nums;
}

.mtc-pagination-mobile__middle-word,
.mtc-pagination-mobile__middle-last,
.mtc-pagination-mobile__middle-sep {
  color: #b4bcc8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.mtc-pagination-mobile__middle-sep {
  color: #8f98a6;
}

.mtc-pagination-mobile__middle-current {
  color: var(--accent-hot);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.mtc-pagination-mobile__middle-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c4cad4;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.mtc-pagination-mobile__middle-view:active {
  background: rgba(255, 255, 255, 0.05);
}

.mtc-pagination-mobile__middle-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
}

.mtc-pagination-mobile__middle-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(245, 165, 36, 0.08);
  box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.22);
  box-sizing: border-box;
}

.mtc-pagination-mobile__middle-edit[hidden],
.mtc-pagination-mobile__middle-view[hidden] {
  display: none !important;
}

.mtc-pagination-mobile__middle-input {
  width: 34px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
}

.mtc-pagination-mobile__middle-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.28);
}

.mtc-pagination-mobile__middle-input::-webkit-outer-spin-button,
.mtc-pagination-mobile__middle-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.mtc-pagination-mobile__middle-total {
  color: #9aa3b0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mtc-pagination-mobile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 72px;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e8eaed;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.16s ease, color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.mtc-pagination-mobile__btn--nav {
  letter-spacing: 0.01em;
}

a.mtc-pagination-mobile__btn:active {
  background: rgba(255, 255, 255, 0.05);
}

.mtc-pagination-mobile__btn.is-disabled {
  opacity: 1;
  color: #7a8494;
  pointer-events: none;
}

.mtc-catalog-filter__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.mtc-catalog-filter__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mtc-catalog-filter__label {
  color: rgba(var(--text-primary-rgb), 0.56);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.mtc-catalog-filter__select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(var(--white-rgb), 0.07);
  border-radius: 9px;
  background: rgba(var(--white-rgb), 0.045);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  appearance: none;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8b0bd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.mtc-catalog-filter__select option {
  background-color: #0f141c;
  color: #ffffff;
}

.mtc-catalog-filter__select option:checked,
.mtc-catalog-filter__select option:hover,
.mtc-catalog-filter__select option:focus {
  background-color: #1a2433;
  color: #ffffff;
}

.mtc-catalog-filter__select:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.mtc-catalog-filter__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mtc-catalog-filter__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 9px;
  background: rgba(var(--white-rgb), 0.045);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.mtc-catalog-filter__reset:hover {
  border-color: rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--text-primary);
  text-decoration: none;
}

.mtc-catalog-filter__submit {
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent)) !important;
  color: #14100c !important;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: filter var(--transition-fast), transform 0.18s ease;
}

.mtc-catalog-filter__submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.motchill-search-summary {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.07);
  color: var(--text-secondary);
  font-size: 14px;
}

/* â”€â”€ Movie grid posters â€” khung 2:3 cá»‘ Ä‘á»‹nh + VIP hover trong clip â”€â”€ */
:is(
  .motchill-home-layout__main .motchill-home-section__thumb,
  .motchill-home-layout__main .motchill-recommended__thumb,
  .motchill-page-detail .mtc-detail-related .motchill-recommended__thumb,
  .motchill-catalog-page .motchill-movie-card__thumb,
  .motchill-catalog-page .film-list .myui-vodlist__thumb
).myui-vodlist__thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto !important;
  padding-top: 0 !important;
  overflow: hidden;
  transform: none !important;
  translate: none !important;
  background-image: none !important;
  background-color: #111318 !important;
  isolation: isolate;
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: var(--mtc-radius-md) var(--mtc-radius-md) 0 0;
}

:is(
  .motchill-home-layout__main .motchill-home-section__thumb,
  .motchill-home-layout__main .motchill-recommended__thumb,
  .motchill-page-detail .mtc-detail-related .motchill-recommended__thumb,
  .motchill-catalog-page .motchill-movie-card__thumb,
  .motchill-catalog-page .film-list .myui-vodlist__thumb
) .motchill-thumb-clip,
:is(
  .motchill-home-layout__main .motchill-home-section__thumb,
  .motchill-home-layout__main .motchill-recommended__thumb,
  .motchill-page-detail .mtc-detail-related .motchill-recommended__thumb,
  .motchill-catalog-page .motchill-movie-card__thumb,
  .motchill-catalog-page .film-list .myui-vodlist__thumb
) .motchill-home-section__thumb-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
}

:is(
  .motchill-home-layout__main .motchill-home-section__thumb,
  .motchill-home-layout__main .motchill-recommended__thumb,
  .motchill-page-detail .mtc-detail-related .motchill-recommended__thumb,
  .motchill-catalog-page .motchill-movie-card__thumb,
  .motchill-catalog-page .film-list .myui-vodlist__thumb
) :is(.motchill-thumb-media, .motchill-home-section__thumb-media, .motchill-recommended__thumb-media, img.motchill-thumb-media) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
  background-image: none !important;
  transition:
    filter 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Shine sweep trÃªn poster */
:is(
  .motchill-home-layout__main .motchill-home-section__thumb,
  .motchill-home-layout__main .motchill-recommended__thumb,
  .motchill-catalog-page .motchill-movie-card__thumb
) .motchill-thumb-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    108deg,
    transparent 36%,
    rgba(255, 255, 255, 0.07) 44%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.07) 56%,
    transparent 64%
  );
  transform: translateX(-125%);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* Cinema hover â€” brightness + glow nháº¹ + play overlay + scale 1.02 (desktop pointer) */
@media (hover: hover) and (pointer: fine) {
  :is(
    .motchill-home-layout__main .motchill-home-section__box:hover,
    .motchill-home-layout__main .motchill-card:hover,
    .motchill-home-layout__main .mtc-movie-card:hover,
    .motchill-home-layout__main .motchill-recommended__box:hover,
    .motchill-catalog-page .motchill-movie-card:hover,
    .motchill-catalog-page .mtc-movie-card:hover,
    .motchill-catalog-page .motchill-card:hover,
    .motchill-catalog-page .film-list .myui-vodlist__box:hover
  ) :is(.motchill-thumb-media, .motchill-home-section__thumb-media, .motchill-recommended__thumb-media, img.motchill-thumb-media) {
    transform: scale(1.02) !important;
    filter: brightness(1.08) saturate(1.06) contrast(1.02);
  }

  :is(
    .motchill-home-layout__main .motchill-home-section__box:hover,
    .motchill-home-layout__main .motchill-recommended__box:hover,
    .motchill-home-layout__main .mtc-movie-card:hover,
    .motchill-catalog-page .mtc-movie-card:hover,
    .motchill-catalog-page .motchill-movie-card:hover,
    .motchill-catalog-page .film-list .myui-vodlist__box:hover
  ) .motchill-thumb-clip::after {
    transform: translateX(125%);
  }

  :is(
    .motchill-home-layout__main .motchill-home-section__box:hover .motchill-home-section__thumb,
    .motchill-home-layout__main .motchill-recommended__box:hover .motchill-recommended__thumb,
    .motchill-home-layout__main .mtc-movie-card:hover .motchill-movie-card__thumb,
    .motchill-catalog-page .mtc-movie-card:hover .motchill-movie-card__thumb,
    .motchill-catalog-page .film-list .myui-vodlist__box:hover .motchill-movie-card__thumb
  ) {
    border: none !important;
    transform: none !important;
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.36),
      0 0 0 1px rgba(var(--accent-rgb), 0.28),
      0 0 18px rgba(var(--accent-rgb), 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }

  :is(
    .motchill-home-layout__main .motchill-home-section__box:hover,
    .motchill-home-layout__main .motchill-recommended__box:hover,
    .motchill-home-layout__main .motchill-card:hover,
    .motchill-home-layout__main .mtc-movie-card:hover,
    .motchill-catalog-page .mtc-movie-card:hover,
    .motchill-catalog-page .motchill-movie-card:hover,
    .motchill-catalog-page .motchill-card:hover,
    .motchill-catalog-page .film-list .myui-vodlist__box:hover
  ) :is(.myui-vodlist__detail, .motchill-movie-card__detail, .mtc-movie-card__detail) .title a {
    color: var(--accent-hot-light) !important;
    text-shadow: none;
  }

  :is(
    .motchill-home-layout__main .motchill-home-section__box:hover,
    .motchill-home-layout__main .motchill-recommended__box:hover,
    .motchill-home-layout__main .motchill-card:hover,
    .motchill-home-layout__main .mtc-movie-card:hover,
    .motchill-catalog-page .mtc-movie-card:hover,
    .motchill-catalog-page .motchill-movie-card:hover,
    .motchill-catalog-page .motchill-card:hover,
    .motchill-catalog-page .film-list .myui-vodlist__box:hover
  ) :is(.myui-vodlist__detail, .motchill-movie-card__detail, .mtc-movie-card__detail) :is(.text, .mtc-movie-card__meta, .mtc-movie-card__meta-origin) {
    color: rgba(255, 255, 255, 0.58) !important;
  }
}

.motchill-home-layout__main .motchill-movie-card__thumb:hover,
.motchill-home-layout__main .motchill-recommended__thumb:hover,
.motchill-catalog-page .motchill-movie-card__thumb:hover {
  border: none !important;
  transform: none !important;
}

.motchill-catalog-page .motchill-catalog__list,
.motchill-catalog-page .film-list {
  display: grid !important;
  flex-wrap: unset !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--mtc-mh-grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.motchill-catalog-page .motchill-catalog__list::before,
.motchill-catalog-page .motchill-catalog__list::after,
.motchill-catalog-page .film-list::before,
.motchill-catalog-page .film-list::after {
  display: none;
  content: none;
}

.motchill-catalog-page .motchill-catalog__cell,
.motchill-catalog-page .film-list > li:not(.motchill-catalog__empty) {
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.motchill-catalog-page .motchill-catalog__empty,
.motchill-catalog-page .film-list > .motchill-empty-state {
  grid-column: 1 / -1;
  width: 100% !important;
  list-style: none;
}

.motchill-catalog-page .mtc-movie-card {
  height: 100%;
  border-radius: 0;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.motchill-catalog-page .myui-vodlist__box {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.motchill-catalog-page .motchill-movie-card__thumb.myui-vodlist__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  padding-top: 0 !important;
  margin: 0;
  background-color: #111318 !important;
  isolation: isolate;
}

.motchill-catalog-page .motchill-movie-card__thumb .motchill-thumb-clip {
  border-radius: inherit;
}

.motchill-catalog-page .myui-vodlist__box {
  position: relative;
  display: flex;
  flex-direction: column;
}

.motchill-catalog-page .mtc-movie-card__detail,
.motchill-catalog-page .motchill-movie-card__detail,
.motchill-catalog-page .myui-vodlist__detail {
  position: static !important;
  inset: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  display: block !important;
  background: transparent !important;
  text-align: left !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  padding: 10px 10px 12px !important;
  min-width: 0;
  z-index: auto !important;
}

.motchill-catalog-page .mtc-movie-card__detail .title {
  margin: 0;
}

.motchill-catalog-page .mtc-movie-card__meta-origin {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motchill-catalog-page .mtc-movie-card:hover,
.motchill-catalog-page .motchill-card:hover,
.motchill-catalog-page .motchill-movie-card:hover,
.motchill-catalog-page .film-list .myui-vodlist__box:hover {
  transform: none !important;
}

.motchill-catalog-page .motchill-movie-card__thumb {
  overflow: hidden !important;
}

.motchill-catalog-page .motchill-movie-card__thumb .motchill-card-play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.88);
  background: rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .motchill-catalog-page .mtc-movie-card:hover .motchill-card-play {
    opacity: 1;
    transform: scale(1.04);
  }
}

.motchill-catalog-page .mtc-movie-card__detail .title a {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.motchill-catalog-page .mtc-movie-card__meta {
  color: var(--text-muted);
  font-size: 12px;
  transition: color 0.28s ease;
}

/* Override legacy film-list / premium thumb hacks on catalog */
.motchill-catalog-page .film-list > li {
  width: auto !important;
  max-width: none !important;
}

.motchill-catalog-page .motchill-movie-card__thumb.myui-vodlist__thumb::before,
.motchill-catalog-page .film-list .myui-vodlist__thumb::before {
  display: none !important;
  content: none !important;
}

.motchill-catalog-page .film-list .myui-vodlist__detail .text {
  display: block !important;
}

.motchill-catalog-page .motchill-pagination-wrap {
  margin-top: 32px;
  padding-top: 0;
}

.motchill-catalog-page .mtc-pagination.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.motchill-catalog-page .mtc-pagination .page-item {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #a8b0bd;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.motchill-catalog-page .mtc-pagination .page-item.prev-next {
  padding: 0 12px;
}

.motchill-catalog-page .mtc-pagination a.page-item {
  cursor: pointer;
}

.motchill-catalog-page .mtc-pagination a.page-item:hover {
  background: rgba(245, 165, 36, 0.12);
  border-color: rgba(245, 165, 36, 0.2);
  color: #ffffff;
}

.motchill-catalog-page .mtc-pagination .page-item.active {
  background: rgba(245, 165, 36, 0.18);
  color: var(--accent-hot);
  border: 1px solid rgba(245, 165, 36, 0.35);
}

.motchill-catalog-page .mtc-pagination .page-item.ellipsis {
  min-width: 28px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: rgba(168, 176, 189, 0.72);
  cursor: default;
  pointer-events: none;
}

.motchill-catalog-page .mtc-pagination .page-item.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 767px) {
  .motchill-catalog-page .mtc-pagination .page-item.page-number:not(.active):not(.is-adjacent) {
    display: none;
  }

  .motchill-catalog-page .mtc-pagination .page-item.ellipsis {
    display: none;
  }
}

@media (max-width: 520px) {
  .motchill-catalog-page .mtc-pagination .page-item.page-number,
  .motchill-catalog-page .mtc-pagination .page-item.ellipsis {
    display: none !important;
  }

  .motchill-catalog-page .mtc-pagination .page-item.prev-next {
    flex: 1 1 calc(50% - 3px);
    max-width: calc(50% - 3px);
  }
}

@media (max-width: 1199px) {
  .mtc-catalog-filter__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mtc-catalog-filter__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

/* Catalog grid â€” mobile 3 cá»™t (card Ä‘á»“ng bá»™ home) + tablet/desktop */
@media (max-width: 767px) {
  .motchill-catalog-page {
    --mtc-mh-badge-inset: 5px;
    --mtc-mh-chip-h: 14px;
    --mtc-mh-chip-px: 4px;
    --mtc-mh-chip-fs: 8px;
    --mtc-mh-chip-r: 4px;
    --mtc-mh-overlay-h: 14px;
    --mtc-mh-overlay-fs: 7px;
    --mtc-mh-overlay-r: 3px;
    --mtc-mh-title-fs: 12px;
    --mtc-mh-title-lh: 1.35;
    --mtc-mh-detail-pt: 7px;
    --mtc-mh-header-mb: 12px;
    --mtc-mh-grid-gap: 10px 8px;
    overflow-x: clip;
  }

  .motchill-catalog-page .motchill-catalog__list,
  .motchill-catalog-page .film-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--mtc-mh-grid-gap);
    align-items: stretch;
  }

  .motchill-catalog-page .motchill-catalog__cell {
    min-width: 0;
  }

  /* Mobile: tá»‘i Ä‘a 3 cá»™t Ã— 5 hÃ ng = 15 card */
  .motchill-catalog-page .motchill-catalog__list > .motchill-catalog__cell:nth-child(n + 16),
  .motchill-catalog-page .film-list > .motchill-catalog__cell:nth-child(n + 16) {
    display: none;
  }

  .motchill-catalog-page .myui-vodlist__box,
  .motchill-catalog-page .mtc-movie-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    transform: none !important;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .motchill-catalog-page .film-list .myui-vodlist__box:hover,
  .motchill-catalog-page .motchill-card:hover,
  .motchill-catalog-page .motchill-movie-card:hover,
  .motchill-catalog-page .mtc-movie-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .motchill-catalog-page .motchill-movie-card__thumb.myui-vodlist__thumb {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    border-radius: var(--mtc-radius-md) var(--mtc-radius-md) 0 0 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
  }

  .motchill-catalog-page .motchill-movie-card__thumb .motchill-thumb-clip {
    border-radius: inherit;
  }

  .motchill-catalog-page .motchill-movie-card__thumb .motchill-card-play,
  .motchill-catalog-page .motchill-card-play {
    display: none !important;
  }

  .motchill-catalog-page .motchill-movie-card__thumb .mtc-card-badges {
    top: var(--mtc-mh-badge-inset);
    left: var(--mtc-mh-badge-inset);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2px;
    max-width: calc(100% - 24px);
  }

  .motchill-catalog-page .motchill-movie-card__thumb .mtc-chip {
    height: var(--mtc-mh-chip-h);
    min-height: var(--mtc-mh-chip-h);
    padding: 0 var(--mtc-mh-chip-px);
    border-radius: var(--mtc-mh-chip-r);
    font-size: var(--mtc-mh-chip-fs);
    line-height: var(--mtc-mh-chip-h);
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 0;
    box-shadow: none;
  }

  .motchill-catalog-page .motchill-movie-card__thumb .mtc-card-badges .mtc-chip + .mtc-chip {
    display: none;
  }

  .motchill-catalog-page .motchill-movie-card__thumb .mtc-movie-card__year-badge {
    left: var(--mtc-mh-badge-inset);
    bottom: var(--mtc-mh-badge-inset);
    height: var(--mtc-mh-overlay-h);
    min-height: var(--mtc-mh-overlay-h);
    padding: 0 var(--mtc-mh-chip-px);
    font-size: var(--mtc-mh-overlay-fs);
    border-radius: var(--mtc-mh-overlay-r);
  }

  .motchill-catalog-page .motchill-movie-card__thumb :is(.mtc-card-rating, .mtc-card-rating--compact) {
    right: var(--mtc-mh-badge-inset);
    bottom: var(--mtc-mh-badge-inset);
    left: auto;
    height: var(--mtc-mh-overlay-h);
    min-height: var(--mtc-mh-overlay-h);
    padding: 0 var(--mtc-mh-chip-px);
    gap: 2px;
    font-size: var(--mtc-mh-overlay-fs);
    border-radius: var(--mtc-mh-overlay-r);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .motchill-catalog-page .motchill-movie-card__thumb .mtc-card-rating__icon {
    width: 7px;
    height: 7px;
  }

  .motchill-catalog-page .mtc-movie-card__detail,
  .motchill-catalog-page .motchill-movie-card__detail,
  .motchill-catalog-page .myui-vodlist__detail {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    padding: var(--mtc-mh-detail-pt) 0 0 !important;
    margin: 0;
    min-height: calc(var(--mtc-mh-detail-pt) + 2 * var(--mtc-mh-title-lh) * 1em);
    background: transparent !important;
    overflow: visible !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .motchill-catalog-page .mtc-movie-card__detail .title {
    margin: 0;
    min-height: calc(2 * var(--mtc-mh-title-lh) * 1em);
    flex: 0 0 auto;
  }

  .motchill-catalog-page .mtc-movie-card__detail .title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    font-size: var(--mtc-mh-title-fs);
    line-height: var(--mtc-mh-title-lh);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--mtc-text-primary);
  }

  .motchill-catalog-page .mtc-movie-card__meta-origin {
    display: none;
  }

  .motchill-catalog-page .mtc-movie-card__meta {
    margin-top: 0;
    flex: 0 0 auto;
  }

  .motchill-catalog-page .film-list .myui-vodlist__detail .text {
    display: none !important;
  }

  .motchill-catalog-breadcrumb {
    margin-bottom: 6px;
  }

  .motchill-catalog-page .listing-title {
    font-size: 26px;
  }

  .motchill-catalog-page .motchill-pagination-wrap {
    margin-top: 22px;
    margin-bottom: 40px;
  }

  .mtc-catalog-count {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .mtc-catalog-filter__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mtc-catalog-filter__reset,
  .mtc-catalog-filter__submit {
    width: 100%;
  }

  body.dock-nav-visible:has(.motchill-catalog-page) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  body.dock-nav-visible:has(.motchill-catalog-page) .scroll-to-top {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .motchill-catalog-page {
    --mtc-mh-grid-gap: 12px;
  }

  .motchill-catalog-page .motchill-catalog__list,
  .motchill-catalog-page .film-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .motchill-catalog-page {
    --mtc-mh-grid-gap: 16px 14px;
  }
}

@media (min-width: 992px) and (max-width: 1439px) {
  .motchill-catalog-page .motchill-catalog__list,
  .motchill-catalog-page .film-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .motchill-catalog-page .motchill-catalog__list,
  .motchill-catalog-page .film-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 359px) {
  .motchill-catalog-page {
    --mtc-mh-grid-gap: 8px 6px;
  }

  .mtc-catalog-filter__select {
    height: 44px;
    font-size: 13px;
  }

  .mtc-catalog-filter__reset,
  .mtc-catalog-filter__submit {
    height: 44px;
  }
}

/* â”€â”€ Categories explore page (/the-loai) â”€â”€ */
.mtc-genres-page {
  position: relative;
  width: 100%;
  float: none;
  padding: 0;
}

.mtc-genres-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 320px;
  background: var(--genre-glow);
  pointer-events: none;
}

.mtc-genres-page__inner {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto;

}

.mtc-genres-breadcrumb {
  margin: 0 0 18px;
}

.mtc-genres-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mtc-genres-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.mtc-genres-breadcrumb__item:not(.is-current)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(var(--white-rgb), 0.22);
}

.mtc-genres-breadcrumb__item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.mtc-genres-breadcrumb__item.is-current {
  color: var(--text-primary);
  font-weight: 600;
}

.mtc-genres-hero {
  margin: 0 0 28px;
}

.mtc-genres-hero__title {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.mtc-genres-hero__subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.mtc-genres-section {
  margin-bottom: 30px;
}

.mtc-genres-section--featured {
  margin-bottom: 34px;
}

.mtc-genres-section--all {
  margin-bottom: 30px;
}

.mtc-genres-section--popular {
  margin-bottom: 48px;
}

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

.mtc-genres-section__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mtc-genres-section__title--bar::before {
  content: "";
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-hot);
  flex-shrink: 0;
}

.mtc-genres-section__title-icon {
  color: var(--accent-hot) !important;
}

.mtc-genres-section__more {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.mtc-genre-icon {
  color: var(--accent-hot);
  flex-shrink: 0;
}

.mtc-genres-featured,
.mtc-genres-all {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mtc-genres-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mtc-genre-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--genre-card-border);
  border-radius: 10px;
  background: rgba(var(--white-rgb), 0.03);
  color: inherit;
  text-decoration: none;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.mtc-genre-card__accent {
  width: 3px;
  height: 28px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--accent-hot);
  flex-shrink: 0;
}

.mtc-genre-card__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.mtc-genre-card--featured {
  min-height: 0;
}

.mtc-genre-card--featured .mtc-genre-card__name {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.mtc-genre-card--featured .mtc-genre-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #a8b0bd;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.mtc-genre-card--featured:hover {
  border-color: rgba(var(--accent-hot-rgb), 0.28);
  background: rgba(var(--white-rgb), 0.045);
  text-decoration: none;
}

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

.mtc-genre-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 40px;
  min-height: 40px;
  padding: 0 12px 0 13px;
  border: 1px solid rgba(var(--white-rgb), 0.07);
  border-radius: 9px;
  background: rgba(var(--white-rgb), 0.035);
  color: rgba(var(--text-primary-rgb), 0.88);
  text-decoration: none;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.mtc-genre-chip__name {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mtc-genre-chip__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: rgba(var(--white-rgb), 0.22);
  transition: color var(--transition-fast);
}

.mtc-genre-chip:hover {
  background: rgba(var(--accent-hot-rgb), 0.08);
  border-color: rgba(var(--accent-hot-rgb), 0.22);
  color: #ffffff;
  text-decoration: none;
}

.mtc-genre-chip:hover .mtc-genre-chip__name {
  color: #ffffff;
}

.mtc-genre-chip:hover .mtc-genre-chip__icon {
  color: rgba(var(--white-rgb), 0.45);
}

.mtc-genres-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mtc-genre-popular-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--genre-popular-border);
  border-radius: 9px;
  background: var(--genre-popular-bg);
  color: var(--accent-hot);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.mtc-genre-popular-chip:hover {
  background: var(--genre-popular-hover-bg);
  border-color: rgba(var(--accent-hot-rgb), 0.28);
  color: var(--text-primary);
  text-decoration: none;
}

@media (min-width: 480px) {
  .mtc-genres-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .mtc-genres-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtc-genres-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .mtc-genres-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1200px) {
  .mtc-genres-all {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mtc-genres-hero {
    margin-bottom: 22px;
  }

  .mtc-genres-section--featured {
    margin-bottom: 28px;
  }

  .mtc-genres-section--all {
    margin-bottom: 26px;
  }

  .mtc-genres-section--popular {
    margin-bottom: 40px;
  }
}

@media (max-width: 359px) {
  .mtc-genres-featured,
  .mtc-genres-all {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ Bottom navigation â€” Motchill dark cinema dock (authoritative) â”€â”€ */
.motchill-bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: min(860px, calc(100vw - 24px)) !important;
  max-width: 860px !important;
  height: 62px !important;
  min-height: 58px !important;
  max-height: 64px !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  background: rgba(13, 17, 24, 0.88) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top-color: rgba(var(--accent-hot-rgb), 0.16) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  transform: translateX(-50%) translateY(calc(100% + 24px)) !important;
}

.motchill-bottom-nav.is-visible {
  transform: translateX(-50%) translateY(0) !important;
}

.motchill-bottom-nav__item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: #d6d9df !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transform: none !important;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

.motchill-bottom-nav__item .mtc-icon,
.motchill-bottom-nav__item svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  color: #d6d9df !important;
}

.motchill-bottom-nav__item span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.motchill-bottom-nav__item:hover:not(.active),
.motchill-bottom-nav__item:focus-visible:not(.active) {
  color: #ffffff !important;
  background: rgba(var(--accent-hot-rgb), 0.1) !important;
  border-color: rgba(var(--accent-hot-rgb), 0.22) !important;
  text-decoration: none !important;
  outline: 0 !important;
}

.motchill-bottom-nav__item:hover:not(.active) .mtc-icon,
.motchill-bottom-nav__item:hover:not(.active) svg {
  color: #ffffff !important;
}

.motchill-bottom-nav__search:not(.active) {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #d6d9df !important;
}

.motchill-bottom-nav__search:not(.active) span,
.motchill-bottom-nav__search:not(.active) .mtc-icon,
.motchill-bottom-nav__search:not(.active) svg {
  color: #d6d9df !important;
  opacity: 1 !important;
}

.motchill-bottom-nav__search:not(.active):hover {
  background: rgba(var(--accent-hot-rgb), 0.1) !important;
  border-color: rgba(var(--accent-hot-rgb), 0.22) !important;
}

.motchill-bottom-nav__item.active {
  color: #ffffff !important;
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.95), rgba(var(--accent-hot-rgb), 0.9)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 6px 18px rgba(245, 165, 36, 0.22) !important;
}

.motchill-bottom-nav__item.active .mtc-icon,
.motchill-bottom-nav__item.active svg {
  color: #ffffff !important;
}

body.dock-nav-visible {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
}

.motchill-page-home {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
}

body.dock-nav-visible .scroll-to-top {
  bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (min-width: 992px) {
  .motchill-bottom-nav {
    display: flex !important;
    width: min(820px, calc(100vw - 48px)) !important;
    padding: 0 20px !important;
  }

  .motchill-bottom-nav__item {
    flex-direction: row !important;
    font-size: 14px !important;
  }

  .motchill-bottom-nav__fab {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
  }

  .motchill-bottom-nav__fab .mtc-icon,
  .motchill-bottom-nav__fab svg {
    width: 20px !important;
    height: 20px !important;
    color: inherit !important;
    stroke: currentColor !important;
  }

  .motchill-bottom-nav__search.active .motchill-bottom-nav__fab {
    box-shadow: none !important;
  }
}

/* Tablet + mobile â€” full-width tabbar, luÃ´n hiá»‡n, 5 item Ä‘á»§ */
@media (max-width: 991px) {
  .motchill-bottom-nav {
    display: flex !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 58px !important;
    max-height: none !important;
    padding: 10px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 0 !important;
    border-radius: 0 !important;
    justify-content: space-around !important;
    align-items: flex-end !important;
    background: rgba(7, 10, 15, 0.98) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .motchill-bottom-nav.is-visible {
    transform: translateY(0) !important;
  }

  body,
  body.dock-nav-visible,
  .motchill-page-home {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.dock-nav-visible .scroll-to-top,
  body .scroll-to-top {
    bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .motchill-bottom-nav__item {
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 2px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    color: #9ca3af !important;
    white-space: normal !important;
  }

  .motchill-bottom-nav__item .mtc-icon,
  .motchill-bottom-nav__item svg {
    width: 22px !important;
    height: 22px !important;
    color: #9ca3af !important;
  }

  .motchill-bottom-nav__item > span:not(.motchill-bottom-nav__fab) {
    display: block;
    width: 100%;
    max-width: 76px;
    font-size: 10px !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .motchill-bottom-nav__item.active:not(.motchill-bottom-nav__search) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
  }

  .motchill-bottom-nav__item.active:not(.motchill-bottom-nav__search) .mtc-icon,
  .motchill-bottom-nav__item.active:not(.motchill-bottom-nav__search) svg {
    color: #ffffff !important;
  }

  .motchill-bottom-nav__item:hover:not(.active),
  .motchill-bottom-nav__item:focus-visible:not(.active) {
    background: transparent !important;
    border: 0 !important;
    color: #c7ccd4 !important;
  }

  .motchill-bottom-nav__item:hover:not(.active) .mtc-icon,
  .motchill-bottom-nav__item:hover:not(.active) svg {
    color: #c7ccd4 !important;
  }

  .motchill-bottom-nav__search {
    position: relative;
    justify-content: flex-end !important;
    min-height: 44px !important;
    padding-top: 0 !important;
    background: transparent !important;
    border: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .motchill-bottom-nav__search:not(.active),
  .motchill-bottom-nav__search:not(.active):hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .motchill-bottom-nav__fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-top: -22px;
    margin-bottom: 1px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--accent-hot) 0%, var(--accent-hot) 100%);
    box-shadow:
      0 8px 20px rgba(245, 165, 36, 0.32),
      0 0 0 3px rgba(7, 10, 15, 0.98);
    pointer-events: none;
  }

  .motchill-bottom-nav__fab .mtc-icon,
  .motchill-bottom-nav__fab svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .motchill-bottom-nav__search span:not(.motchill-bottom-nav__fab) {
    color: #b0b6c0 !important;
  }

  .motchill-bottom-nav__search.active .motchill-bottom-nav__fab {
    box-shadow:
      0 10px 24px rgba(245, 165, 36, 0.42),
      0 0 0 3px rgba(7, 10, 15, 0.98),
      0 0 0 5px rgba(245, 165, 36, 0.2);
  }

  .motchill-bottom-nav__search.active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .motchill-bottom-nav__search.active span:not(.motchill-bottom-nav__fab) {
    color: #ffffff !important;
  }

  .motchill-bottom-nav__item.active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .motchill-bottom-nav__item > span:not(.motchill-bottom-nav__fab) {
    max-width: 88px;
    font-size: 11px !important;
  }

  .motchill-bottom-nav__fab {
    width: 52px;
    height: 52px;
    margin-top: -24px;
  }

  .motchill-bottom-nav__fab .mtc-icon,
  .motchill-bottom-nav__fab svg {
    width: 22px !important;
    height: 22px !important;
  }
}

@media (max-width: 380px) {
  .motchill-bottom-nav__item > span:not(.motchill-bottom-nav__fab) {
    max-width: 62px;
    font-size: 9px !important;
  }

  .motchill-bottom-nav__fab {
    width: 44px;
    height: 44px;
    margin-top: -20px;
  }
}

@media (max-width: 991px) {
  .motchill-bottom-nav__item span {
    font-size: inherit !important;
  }
}

/* â”€â”€ Star rating â€” unified Motchill pill (poster + sidebar + hero) â”€â”€ */
.mtc-card-rating {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 13, 0.78);
  color: #f5f7fa;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.mtc-card-rating--compact {
  right: 6px;
  bottom: 6px;
  height: 18px;
  min-height: 18px;
  padding: 0 6px;
  gap: 2px;
  font-size: 9px;
  border-radius: 6px;
}

.mtc-card-rating--inline,
.mtc-card-rating--meta {
  position: static;
  flex-shrink: 0;
}

.mtc-card-rating--meta {
  height: 22px;
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  background: rgba(5, 8, 13, 0.62);
  border-radius: 6px;
}

.mtc-card-rating__icon {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  color: var(--accent-hot);
}

.mtc-card-rating--compact .mtc-card-rating__icon {
  width: 9px;
  height: 9px;
}

.mtc-card-rating--meta .mtc-card-rating__icon {
  width: 11px;
  height: 11px;
}

.mtc-card-rating__value {
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.motchill-home-section__thumb .mtc-card-rating,
.motchill-movie-card__thumb .mtc-card-rating,
.motchill-recommended__thumb .mtc-card-rating {
  pointer-events: none;
}

.motchill-home-section__thumb .mtc-movie-card__year-badge,
.motchill-movie-card__thumb .mtc-movie-card__year-badge,
.motchill-recommended__thumb .mtc-movie-card__year-badge {
  pointer-events: none;
}

.motchill-recommended__thumb .mtc-movie-card__year-badge,
.motchill-recommended__thumb .mtc-card-rating--compact {
  bottom: 6px;
}

@media (min-width: 768px) {
  .motchill-recommended__thumb .mtc-movie-card__year-badge {
    left: 6px;
    height: 18px;
    min-height: 18px;
    padding: 0 5px;
    font-size: 9px;
  }
}

.mtc-top-featured .mtc-card-rating--inline,
.mtc-top-list .mtc-card-rating--inline {
  align-self: center;
}

.mtc-hero__meta-item .mtc-card-rating--meta {
  vertical-align: middle;
}

/* â”€â”€ Báº£ng Xáº¿p Háº¡ng â€” authoritative (circular podium + compact list) â”€â”€ */
.mtc-ranking-widget {
  padding: 0 !important;
  overflow: visible;
}

.mtc-ranking-widget__body {
  padding: 0 14px 14px !important;
  overflow: visible;
}

.mtc-ranking-widget__head {
  padding: 14px 14px 0 !important;
  margin-bottom: 10px;
}

.mtc-ranking-widget__title,
.mtc-ranking-widget .mtc-sidebar-widget__title {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--accent-hot) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  line-height: 1.1 !important;
}

.mtc-ranking-widget__icon,
.mtc-ranking-widget .motchill-sidebar-list__icon {
  width: 16px !important;
  height: 16px !important;
  color: var(--accent-hot) !important;
  flex-shrink: 0;
}

.mtc-ranking-podium {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 8px;
  align-items: end;
  margin: 4px 0 14px;
  padding-top: 14px;
  overflow: visible;
}

.mtc-ranking-podium__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 12px 6px 8px !important;
  text-decoration: none;
  overflow: visible;
  transform: none;
}

.mtc-ranking-podium__card:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.mtc-ranking-podium__card.podium-card--first {
  padding-top: 16px !important;
}

.mtc-ranking-podium__card.podium-card--second {
  padding-top: 12px !important;
}

.mtc-ranking-podium__card.podium-card--third {
  padding-top: 10px !important;
}

.mtc-ranking-podium__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}

.mtc-ranking-podium__avatar {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 6px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mtc-ranking-podium__card.podium-card--first .mtc-ranking-podium__avatar {
  width: 68px;
  height: 68px;
  border-color: rgba(var(--accent-hot-rgb), 0.55);
  box-shadow:
    0 0 0 3px rgba(var(--accent-hot-rgb), 0.12),
    0 10px 22px rgba(0, 0, 0, 0.34);
}

.mtc-ranking-podium__card.podium-card--second .mtc-ranking-podium__avatar {
  width: 58px;
  height: 58px;
  border-color: rgba(203, 213, 225, 0.4);
}

.mtc-ranking-podium__card.podium-card--third .mtc-ranking-podium__avatar {
  width: 52px;
  height: 52px;
  border-color: rgba(192, 132, 87, 0.42);
}

.mtc-ranking-podium__card:hover .mtc-ranking-podium__avatar {
  transform: scale(1.04);
}

.mtc-ranking-podium__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mtc-ranking-podium__title {
  display: -webkit-box;
  width: 100%;
  margin: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.mtc-ranking-podium__card.podium-card--first .mtc-ranking-podium__title {
  font-size: 12px;
}

.mtc-ranking-podium__meta {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.mtc-ranking-podium__card .mtc-card-rating--inline {
  margin-top: 5px;
}

.mtc-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mtc-ranking-list__item {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 7px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.mtc-ranking-list__item:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.mtc-ranking-list__rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  text-align: center;
}

.mtc-ranking-list__thumb {
  display: block;
  width: 52px;
  height: 70px;
  flex: 0 0 52px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mtc-ranking-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mtc-ranking-list__title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.mtc-ranking-list__meta {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.mtc-ranking-widget__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.mtc-ranking-widget__more:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.42);
  color: #fff;
  text-decoration: none;
}

.mtc-ranking-widget__more-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: currentColor;
}

.mtc-ranking-podium__card .mtc-card-rating--inline,
.mtc-ranking-list__item .mtc-card-rating--inline {
  align-self: center;
  justify-self: end;
}

/* ==========================================================================
   Mobile side drawer â€” layout fixes (Motchill dark cinema)
   ========================================================================== */
@media (max-width: 991px) {
  body.motchill-drawer-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .m-nav-over {
    position: fixed;
    inset: 0;
    z-index: 1100 !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.62) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .m-nav-over.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #motchill-mobile-drawer.m-nav,
  #motchill-mobile-drawer.motchill-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    z-index: 1101 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 82vw !important;
    max-width: 320px !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    color: #e5e7eb !important;
    background: #0b0f15 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.55) !important;
    -webkit-transform: translate3d(-100%, 0, 0) !important;
    transform: translate3d(-100%, 0, 0) !important;
    transition: transform 220ms ease !important;
    pointer-events: auto !important;
  }

  #motchill-mobile-drawer.m-nav.active,
  #motchill-mobile-drawer.m-nav.is-open,
  body.motchill-drawer-open #motchill-mobile-drawer.m-nav {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }

  /* Override motchill-modern.css hiding drawer SVGs (menu + account + VIP) */
  #motchill-mobile-drawer svg,
  #motchill-mobile-drawer .mtc-icon {
    display: block !important;
    flex-shrink: 0;
  }

  #motchill-mobile-drawer .motchill-mobile-drawer__close-icon,
  #motchill-mobile-drawer .motchill-mobile-drawer__item-icon svg,
  #motchill-mobile-drawer .mtc-vip-btn__icon {
    display: block !important;
  }

  #motchill-mobile-drawer .mtc-vip-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .m-nav .nav-ct::before {
    display: none !important;
    content: none !important;
  }

  .motchill-mobile-drawer__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
  }

  .motchill-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 18px 16px 14px;
    margin-bottom: 0;
  }

  .motchill-mobile-drawer__logo {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 48px);
    text-decoration: none;
  }

  .motchill-mobile-drawer__logo img {
    display: block;
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
  }

  .motchill-mobile-drawer__close,
  .m-nav.motchill-mobile-drawer .m-nav-close {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: 2;
    flex: 0 0 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
  }

  .motchill-mobile-drawer__close:hover,
  .motchill-mobile-drawer__close:active,
  .m-nav.motchill-mobile-drawer .m-nav-close:hover,
  .m-nav.motchill-mobile-drawer .m-nav-close:active {
    background: rgba(var(--accent-hot-rgb), 0.16) !important;
    border-color: rgba(var(--accent-hot-rgb), 0.28) !important;
  }

  .motchill-mobile-drawer__close-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .motchill-mobile-drawer__nav {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    padding: 8px 12px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .motchill-mobile-drawer__list,
  .m-nav .motchill-mobile-drawer__list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .motchill-mobile-drawer__list > li,
  .m-nav .motchill-mobile-drawer__list > li {
    position: relative;
    margin: 0 0 8px !important;
    list-style: none !important;
  }

  .motchill-mobile-drawer__list > li:last-child {
    margin-bottom: 0 !important;
  }

  .motchill-mobile-drawer__item-link,
  .m-nav .motchill-mobile-drawer__list > li > a {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 0 38px 0 14px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: #e5e7eb !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    text-align: left !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease !important;
  }

  .motchill-mobile-drawer__item-main {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .motchill-mobile-drawer__list > li.has-dropdown > a {
    padding-right: 46px !important;
    cursor: pointer;
  }

  #motchill-mobile-drawer .acd-drop {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 3;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    background: transparent !important;
    color: #a8b0bd !important;
    transform: none !important;
    cursor: pointer;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: color 180ms ease, background-color 180ms ease;
  }

  #motchill-mobile-drawer .acd-drop:hover,
  #motchill-mobile-drawer .acd-drop:active {
    color: var(--accent-hot) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  #motchill-mobile-drawer .acd-drop .motchill-mobile-drawer__acd-icon,
  #motchill-mobile-drawer .acd-drop svg.mtc-icon {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    transition: transform 220ms ease, color 180ms ease;
  }

  #motchill-mobile-drawer .acd-drop.active .motchill-mobile-drawer__acd-icon,
  #motchill-mobile-drawer li.has-dropdown.is-open > .acd-drop .motchill-mobile-drawer__acd-icon {
    transform: rotate(180deg);
    color: var(--accent-hot);
  }

  #motchill-mobile-drawer .acd-drop::before,
  #motchill-mobile-drawer .acd-drop::after {
    display: none !important;
    content: none !important;
  }

  #motchill-mobile-drawer .motchill-mobile-drawer__sub {
    display: none;
    margin: 2px 0 6px !important;
    padding: 4px 0 4px 42px !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
  }

  #motchill-mobile-drawer .motchill-mobile-drawer__list > li.has-dropdown.is-open > .motchill-mobile-drawer__sub {
    display: block;
  }

  #motchill-mobile-drawer .motchill-mobile-drawer__sub > li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #motchill-mobile-drawer .motchill-mobile-drawer__sub-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-height: 34px !important;
    height: 34px !important;
    max-height: 38px !important;
    padding: 0 10px 0 0 !important;
    margin: 0 0 2px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #a8b0bd !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color 180ms ease, background-color 180ms ease !important;
  }

  #motchill-mobile-drawer .motchill-mobile-drawer__sub-link:hover,
  #motchill-mobile-drawer .motchill-mobile-drawer__sub-link.active {
    color: var(--accent-hot) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .motchill-mobile-drawer__item-link:hover,
  .motchill-mobile-drawer__item-link:active,
  .m-nav .motchill-mobile-drawer__list > li > a:hover,
  .m-nav .motchill-mobile-drawer__list > li > a:active {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(var(--accent-hot-rgb), 0.22) !important;
    color: #fff !important;
  }

  .motchill-mobile-drawer__item-link.active,
  .m-nav .motchill-mobile-drawer__list > li.active > a,
  .m-nav .motchill-mobile-drawer__list > li > a.active {
    background: rgba(var(--accent-hot-rgb), 0.12) !important;
    border-color: rgba(245, 165, 36, 0.38) !important;
    box-shadow: inset 3px 0 0 var(--accent-hot) !important;
    color: #fff !important;
  }

  .motchill-mobile-drawer__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #a8b0bd;
    transition: color 180ms ease;
  }

  .motchill-mobile-drawer__item-icon .mtc-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .motchill-mobile-drawer__item-link.active .motchill-mobile-drawer__item-icon,
  .m-nav .motchill-mobile-drawer__list > li.active > a .motchill-mobile-drawer__item-icon {
    color: var(--accent-hot) !important;
  }

  .motchill-mobile-drawer__item-label {
    min-width: 0;
    text-align: left;
  }

  .m-nav .menu-caret,
  .m-nav .motchill-mobile-drawer__list > li > a svg:not(.mtc-icon) {
    display: none !important;
  }

  .motchill-mobile-drawer__account {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .motchill-mobile-drawer__account-title {
    margin: 0 0 10px;
    padding: 0 4px;
    color: #77808c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .motchill-mobile-drawer__account-link,
  .m-nav .motchill-mobile-user-menu button.motchill-mobile-drawer__account-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition:
      background-color 180ms ease,
      color 180ms ease;
  }

  .motchill-mobile-drawer__account-link .motchill-mobile-drawer__item-icon {
    color: #a8b0bd;
  }

  .motchill-mobile-drawer__account-link:hover,
  .motchill-mobile-drawer__account-link:active,
  .m-nav .motchill-mobile-user-menu button.motchill-mobile-drawer__account-link:hover {
    background: rgba(var(--accent-hot-rgb), 0.08);
    color: var(--accent-hot);
    text-decoration: none;
  }

  .motchill-mobile-drawer__account-link:hover .motchill-mobile-drawer__item-icon,
  .motchill-mobile-drawer__account-link:active .motchill-mobile-drawer__item-icon {
    color: var(--accent-hot);
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu form {
    margin: 0;
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu__vip {
    padding: 0 4px 12px;
    margin: 0 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu__vip .mtc-vip-btn {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu__profile {
    padding: 0 4px 10px;
    margin-bottom: 4px;
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu__profile strong {
    color: #f4f5f7;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
  }

  #motchill-mobile-drawer .motchill-mobile-user-menu__profile span {
    color: #8f98a6;
    font-size: 12px;
    line-height: 1.35;
    word-break: break-all;
  }

  .motchill-mobile-drawer__foot {
    flex-shrink: 0;
    margin-top: auto;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0b0f15;
  }

  .motchill-mobile-drawer__copyright {
    margin: 0;
    color: #77808c;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
  }

  /* Override legacy main.css left:-280px and modern display:none */
  @media (min-width: 813px) and (max-width: 991px) {
    #motchill-mobile-drawer.m-nav {
      display: block !important;
    }

    body.motchill-drawer-open .m-nav-over {
      display: block !important;
    }
  }
}

@media (min-width: 992px) {
  #motchill-mobile-drawer,
  .m-nav-over {
    display: none !important;
  }
}

/* â”€â”€ Catalog listing â€” header + pagination mobile (â‰¤767) â”€â”€ */
@media (max-width: 767px) {
  .motchill-catalog-page .motchill-catalog-breadcrumb__item {
    font-size: 12px;
  }

  .motchill-catalog-page .listing-page-header {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .motchill-catalog-page .listing-title-row {
    padding-bottom: 8px;
    gap: 8px;
  }

  .motchill-catalog-page .listing-title::after {
    margin-top: 6px;
    width: 46px;
    height: 2px;
  }

  .motchill-catalog-page .listing-count {
    display: none;
  }

  .motchill-catalog-page .listing-description {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .motchill-catalog-page--listing .mtc-stream-filter {
    margin-top: 0;
    margin-bottom: var(--mtc-mh-header-mb, 12px);
  }

  .motchill-catalog-page .mtc-pagination--desktop {
    display: none !important;
  }

  .motchill-catalog-page .mtc-pagination-mobile {
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* â”€â”€ Movie detail page (2026 layout) â”€â”€ */
.motchill-page-detail {
  --mtc-card-bg: var(--detail-surface);
  background: var(--detail-page-bg);
  color: var(--detail-text);
  font-weight: 400;
}

.motchill-page-detail strong,
.motchill-page-detail b {
  font-weight: 500;
}

.motchill-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 2.8fr);
  gap: 24px;
  width: 100%;
  max-width: 100%;
  align-items: start;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  .motchill-detail-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  }
}

.motchill-detail-layout__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.motchill-detail-layout__sidebar {
  min-width: 0;
}

.motchill-page-detail .motchill-home-layout__sidebar .motchill-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.motchill-page-detail .detail-card {
  background: var(--detail-surface);
  border: 1px solid var(--detail-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.motchill-page-detail .detail-meta-card {
  background: var(--detail-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.motchill-page-detail .detail-card.mtc-detail-panel,
.motchill-page-detail .detail-card.mtc-detail-notice {
  padding: 16px 18px;
}

.motchill-page-detail .mtc-detail-cast-section.mtc-detail-panel,
.motchill-page-detail .mtc-detail-director-section.mtc-detail-panel,
.motchill-page-detail .mtc-detail-extra-section.mtc-detail-panel {
  padding: 14px 16px;
}

.motchill-page-detail .detail-card.mtc-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: rgba(16, 23, 32, 0.82);
}

.mtc-detail-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #101720;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.mtc-detail-hero__backdrop--blurred {
  opacity: 0.22;
  filter: blur(18px);
  transform: scale(1.12);
}

.mtc-detail-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(16, 23, 32, 0.92) 0%, rgba(16, 23, 32, 0.78) 52%, rgba(16, 23, 32, 0.62) 100%);
  pointer-events: none;
}

.mtc-detail-hero__grid,
.mtc-detail-meta-bar,
.mtc-detail-meta-grid--hero {
  position: relative;
  z-index: 1;
}

.motchill-page-detail .motchill-surface-card,
.motchill-page-detail :is(.motchill-trending, .motchill-sidebar-list, .myui-panel-list, .myui-panel-bg) {
  background: var(--detail-surface) !important;
  border: 1px solid var(--detail-border) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mtc-detail-panel__title {
  margin: 0 0 14px;
  color: var(--accent-hot);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtc-detail-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mtc-detail-panel__head .mtc-detail-panel__title {
  margin-bottom: 0;
}

.mtc-detail-panel__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-hot);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.mtc-detail-panel__more-icon {
  width: 14px;
  height: 14px;
}

.mtc-detail-panel__more:hover {
  color: #ffb94a;
}

/* Detail content tabs â€” title left, inline pill nav right */
.motchill-page-detail .mtc-detail-tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 20px 20px 22px;
  box-sizing: border-box;
}

.motchill-page-detail .mtc-detail-tabs__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  min-width: 0;
}

.motchill-page-detail .mtc-detail-tabs__heading {
  flex: 0 1 auto;
  width: auto;
  max-width: 42%;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.motchill-page-detail .mtc-detail-tabs__nav {
  display: inline-flex;
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: auto;
  max-width: min(100%, 680px);
  min-width: 0;
  margin: 0 0 0 auto;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.motchill-page-detail .mtc-detail-tabs__nav::-webkit-scrollbar {
  display: none;
}

.motchill-page-detail .mtc-detail-tabs__tab {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.motchill-page-detail .mtc-detail-tabs__tab:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
}

.motchill-page-detail .mtc-detail-tabs__tab.is-active {
  color: var(--detail-accent);
  background: #ffffff;
  box-shadow: none;
}

.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon {
  color: var(--detail-accent);
}

.motchill-page-detail .mtc-detail-tabs__tab-icon svg {
  width: 16px;
  height: 16px;
}

.motchill-page-detail .mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg,
.motchill-page-detail .mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg path,
.motchill-page-detail .mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg polygon,
.motchill-page-detail .mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg circle,
.motchill-page-detail .mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg rect {
  fill: none;
  stroke: currentColor;
}

.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg path,
.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg polygon,
.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg circle,
.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg rect {
  fill: currentColor;
  stroke: none;
}

.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg line,
.motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.motchill-page-detail .mtc-detail-tabs__tab-label {
  display: inline;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}

.mtc-detail-tabs {
  padding: 20px 20px 22px;
}

.mtc-detail-tabs__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  min-width: 0;
  box-sizing: border-box;
}

.mtc-detail-tabs__heading {
  flex: 0 1 auto;
  width: auto;
  max-width: 42%;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.mtc-detail-tabs__nav {
  display: inline-flex;
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  width: auto;
  max-width: min(100%, 680px);
  margin-left: auto;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.mtc-detail-tabs__nav::-webkit-scrollbar {
  display: none;
}

.mtc-detail-tabs__tab {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.mtc-detail-tabs__tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.mtc-detail-tabs__tab-icon svg {
  width: 16px;
  height: 16px;
}

.mtc-detail-tabs__tab-label {
  display: inline;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}

.mtc-detail-tabs__tab-indicator {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.mtc-detail-tabs__tab-line {
  display: block;
  width: 16px;
  height: 1px;
  border-radius: 1px;
  background: var(--detail-accent);
}

.mtc-detail-tabs__tab-arrow {
  display: block;
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--detail-accent);
}

.mtc-detail-tabs__tab:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
}

.mtc-detail-tabs__tab.is-active {
  color: var(--detail-accent);
  background: #ffffff;
  box-shadow: none;
}

.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon {
  color: var(--detail-accent);
}

.mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg,
.mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg path,
.mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg polygon,
.mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg circle,
.mtc-detail-tabs__tab:not(.is-active) .mtc-detail-tabs__tab-icon svg rect {
  fill: none;
  stroke: currentColor;
}

.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg path,
.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg polygon,
.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg circle,
.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg rect {
  fill: currentColor;
  stroke: none;
}

.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg line,
.mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mtc-detail-tabs__panels {
  min-width: 0;
  min-height: 160px;
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.mtc-detail-tabs__panel {
  animation: mtc-detail-tab-fade 0.22s ease;
}

.mtc-detail-tabs__panel[hidden] {
  display: none !important;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .detail-card.mtc-detail-panel.mtc-detail-comments-section,
.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comments-section,
.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-panel__title {
  display: none;
}

.mtc-detail-tabs__panel .mtc-detail-panel__title {
  display: block;
  margin: 0 0 12px;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtc-detail-tabs__panel .mtc-detail-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mtc-detail-tabs__panel .mtc-detail-panel__head .mtc-detail-panel__title {
  margin: 0;
}

.mtc-detail-tabs__panel[data-detail-panel="info"] > .detail-card,
.mtc-detail-tabs__panel[data-detail-panel="info"] > .mtc-detail-notice,
.mtc-detail-tabs__panel[data-detail-panel="cast"] > .detail-card,
.mtc-detail-tabs__panel[data-detail-panel="director"] > .detail-card {
  padding: 18px 20px !important;
  border: 1px solid var(--detail-border) !important;
  border-radius: 14px !important;
  background: var(--detail-surface-2) !important;
  box-shadow: none !important;
}

.mtc-detail-tabs__panel[data-detail-panel="info"] > .detail-card + .detail-card,
.mtc-detail-tabs__panel[data-detail-panel="info"] > .detail-card + .mtc-detail-notice,
.mtc-detail-tabs__panel[data-detail-panel="info"] > .mtc-detail-notice + .detail-card {
  margin-top: 14px;
}

.mtc-detail-tabs__panel .mtc-detail-comment-form {
  margin-bottom: 16px;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-form__input {
  min-height: 108px;
  border-radius: 12px;
  background: var(--detail-surface-2);
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-thread {
  padding: 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface-2);
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-thread + .mtc-detail-comment-thread {
  margin-top: 5px;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-thread .mtc-detail-comment-item:not(.mtc-detail-comment-item--reply):not(.reply-item) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 0;
  margin-bottom: 0;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-thread .mtc-detail-comment-item--reply,
.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-thread .reply-item {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-empty {
  padding: 28px 0px;
  border: 1px dashed var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface-2);
}

.mtc-detail-tabs__panel .mtc-detail-cast-section.is-compact .mtc-detail-cast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mtc-detail-tabs__panel .mtc-detail-cast-section.is-compact.is-single-cast .mtc-detail-cast {
  grid-template-columns: minmax(0, 1fr);
}

.mtc-detail-tabs__panel .mtc-detail-cast-section.is-compact .mtc-detail-cast__item {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  padding: 12px;
  background: var(--detail-surface);
}

.mtc-detail-tabs__panel .mtc-detail-cast-section:not(.is-compact) .mtc-detail-cast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 14px;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.mtc-detail-tabs__panel .mtc-detail-cast-section:not(.is-compact) .mtc-detail-cast__item {
  width: auto;
  max-width: none;
}

.mtc-detail-tabs__panel .mtc-detail-extra-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.mtc-detail-tabs__panel .mtc-detail-info-list__row {
  padding: 10px 0;
}

.mtc-detail-tabs__panel .mtc-detail-synopsis__content {
  color: var(--detail-text-muted);
}

.mtc-detail-tabs__panel .mtc-detail-director__works-grid {
  gap: 12px;
}

.mtc-detail-tabs__empty {
  margin: 0;
  padding: 36px 20px;
  border: 1px dashed var(--detail-border);
  border-radius: 14px;
  background: var(--detail-surface-2);
  color: var(--detail-text-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__dashboard {
  margin-bottom: 14px;
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__compose,
.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__reviews {
  padding: 18px 20px;
  border: 1px solid var(--detail-border);
  border-radius: 14px;
  background: var(--detail-surface-2);
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__compose {
  margin-bottom: 14px;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-rating-tab__reviews {
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--detail-border);
  border-radius: 14px;
  background: var(--detail-surface-2);
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-rating-tab__list {
  gap: 10px;
}

.mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-comment-empty {
  padding-top: 12px;
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-comment-item--review {
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-comment-thread {
  padding: 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-comment-thread .mtc-detail-comment-item--review {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__list {
  gap: 10px;
}

@keyframes mtc-detail-tab-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

/* Legacy grid (unused) */
.mtc-detail-content-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.mtc-detail-content-grid > .detail-card,
.mtc-detail-content-grid > .mtc-detail-notice {
  min-width: 0;
  height: 100%;
}

.mtc-detail-content-grid > .mtc-detail-panel,
.mtc-detail-content-grid > .mtc-detail-notice {
  display: flex;
  flex-direction: column;
}

.mtc-detail-content-grid--stack {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.mtc-detail-content-grid--stack > .detail-card,
.mtc-detail-content-grid--stack > .mtc-detail-notice {
  height: auto;
}

.mtc-detail-content-grid--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mtc-detail-content-grid--double > .mtc-detail-synopsis-card,
.mtc-detail-content-grid--double > .mtc-detail-notice {
  grid-column: 1 / -1;
}

.mtc-detail-content-grid--triple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mtc-detail-content-grid--triple > .mtc-detail-synopsis-card,
.mtc-detail-content-grid--triple > .mtc-detail-notice {
  grid-column: 1 / -1;
}

.mtc-detail-content-grid--triple.mtc-detail-content-grid--extra-wide .mtc-detail-extra-section {
  grid-column: 1 / -1;
}

.mtc-detail-content-grid--balanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.mtc-detail-content-grid--balanced > .detail-card,
.mtc-detail-content-grid--balanced > .mtc-detail-notice {
  height: auto;
}

.mtc-detail-content-grid--balanced > .mtc-detail-synopsis-card,
.mtc-detail-content-grid--balanced > .mtc-detail-notice {
  grid-column: 1 / -1;
}

.mtc-detail-content-grid--balanced > .mtc-detail-cast-section,
.mtc-detail-content-grid--balanced > .mtc-detail-director-section,
.mtc-detail-content-grid--balanced > .mtc-detail-extra-section {
  min-height: 0;
}

.mtc-detail-content-grid--balanced .mtc-detail-extra-section .mtc-detail-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 0;
}

.mtc-detail-content-grid--balanced .mtc-detail-extra-section .mtc-detail-info-list__row {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  min-height: 0;
  padding: 7px 0;
  border-bottom: none;
}

.mtc-detail-content-grid--balanced .mtc-detail-extra-section .mtc-detail-info-list__row dt {
  font-size: 11px;
}

.mtc-detail-content-grid--balanced .mtc-detail-extra-section .mtc-detail-info-list__row dd {
  font-size: 13px;
}

.mtc-detail-content-grid__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.mtc-detail-content-grid__col:empty {
  display: none;
}

/* Hero */
.mtc-detail-hero__grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.mtc-detail-hero__body-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 820px;
  min-height: calc(250px * 3 / 2);
  padding: 18px 0 0;
}

.mtc-detail-hero__poster-wrap {
  width: 250px;
  flex-shrink: 0;
  align-self: start;
}

.mtc-detail-hero__poster {
  position: relative;
  display: block;
  overflow: hidden;
  width: 250px;
  border-radius: 16px;
  aspect-ratio: 2 / 3;
  min-height: calc(250px * 3 / 2);
  background: #111821;
  border: 1px solid rgba(245, 165, 36, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.mtc-detail-hero__poster::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 5px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, var(--accent-hot), var(--accent-gradient-mid));
  pointer-events: none;
}

.mtc-detail-hero__poster img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111821;
  z-index: 1;
}

.mtc-detail-hero__poster-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #111821 0%, #0a0f16 52%, #151d28 100%);
}

.mtc-detail-hero__poster-initials {
  color: rgba(245, 165, 36, 0.42);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  user-select: none;
}

.mtc-detail-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  max-width: 820px;
  min-height: 100%;
}

.mtc-detail-breadcrumb {
  margin: 0 0 10px;
}

.mtc-detail-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mtc-detail-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: #8f98a6;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.mtc-detail-breadcrumb__item:not(.is-current)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 10px;
  margin-left: 6px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.22);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath fill='%23000' d='M1.4 0L0 1.4 4.6 6 0 10.6 1.4 12l6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath fill='%23000' d='M1.4 0L0 1.4 4.6 6 0 10.6 1.4 12l6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mtc-detail-breadcrumb__item a {
  color: #a8b0bd;
  text-decoration: none;
}

.mtc-detail-breadcrumb__item a:hover {
  color: var(--accent-hot);
}

.mtc-detail-breadcrumb__item.is-current {
  color: #ffffff;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.mtc-detail-hero__poster-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--detail-surface);
  border: 1px solid rgba(245, 165, 36, 0.35);
  color: var(--detail-accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtc-detail-hero__poster .motchill-card-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.18) !important;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mtc-detail-hero__poster:hover .motchill-card-play {
  opacity: 1;
}

.mtc-detail-hero__title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mtc-detail-hero__origin {
  margin: 0 0 18px;
  color: #a8b0bd;
  font-size: 15px;
  line-height: 1.45;
}

.mtc-detail-hero__rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 18px;
}

.mtc-detail-hero__rating-meta,
.mtc-detail-hero__rating-chips {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}

.mtc-detail-hero__rating-meta {
  flex-shrink: 0;
}

.mtc-detail-hero__rating-chips {
  flex-wrap: nowrap;
}

.mtc-detail-hero__score {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.mtc-detail-hero__rating-count {
  color: #a8b0bd;
  font-size: 13px;
}

.mtc-detail-hero__people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 24px;
  max-width: 760px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mtc-detail-hero__people--cast-only,
.mtc-detail-hero__people--director-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
}

.mtc-detail-hero__people-col {
  min-width: 0;
}

.mtc-detail-hero__people-col--director {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}

.mtc-detail-hero__people--cast-only .mtc-detail-hero__people-col--director,
.mtc-detail-hero__people--director-only .mtc-detail-hero__people-col--cast {
  border-left: none;
  padding-left: 0;
}

.mtc-detail-hero__people-label {
  display: block;
  margin: 0 0 8px;
  color: var(--accent-hot);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtc-detail-hero__people-chips,
.mtc-detail-hero__people-value {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.mtc-detail-hero__people-chip,
.mtc-detail-hero__people-value a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--detail-border-strong);
  background: var(--detail-surface-2);
  color: #d6d9df;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mtc-detail-hero__people-chip:hover,
.mtc-detail-hero__people-value a:hover {
  border-color: rgba(245, 165, 36, 0.35);
  color: var(--detail-text);
  background: var(--detail-surface-hover);
}

.mtc-detail-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mtc-detail-stars__item {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.16);
}

.mtc-detail-stars--sm .mtc-detail-stars__item {
  width: 14px;
  height: 14px;
}

.mtc-detail-stars--lg .mtc-detail-stars__item {
  width: 20px;
  height: 20px;
}

.mtc-detail-stars--sm .mtc-detail-star-icon {
  width: 14px;
  height: 14px;
}

.mtc-detail-stars--lg .mtc-detail-star-icon {
  width: 20px;
  height: 20px;
}

.mtc-detail-stars__fill,
.mtc-detail-stars__empty {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.mtc-detail-stars__fill {
  color: var(--accent-hot);
}

.mtc-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(245, 165, 36, 0.28);
  background: rgba(245, 165, 36, 0.08);
  color: #f5c66a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtc-detail-chip--muted {
  border-color: var(--detail-border-strong);
  background: var(--detail-surface-2);
  color: #d6d9df;
  text-transform: uppercase;
}

.mtc-detail-hero__categories {
  margin: 0 0 14px;
  color: #a8b0bd;
  font-size: 13px;
  line-height: 1.55;
}

.mtc-detail-hero__categories a {
  color: #ffffff;
  text-decoration: none;
}

.mtc-detail-hero__categories a:hover {
  color: var(--accent-hot);
}

.hero-meta-inline,
.mtc-detail-hero__meta-inline {
  margin: 0;
  color: #c8ccd3;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.hero-meta-inline a,
.mtc-detail-hero__meta-inline a {
  color: #c8ccd3;
  text-decoration: none;
}

.hero-meta-inline a:hover,
.mtc-detail-hero__meta-inline a:hover {
  color: var(--accent-hot);
}

.hero-meta-inline svg,
.hero-meta-inline .icon,
.hero-meta-inline .mtc-detail-meta-icon,
.mtc-detail-hero__meta-inline svg,
.mtc-detail-hero__meta-inline .icon,
.mtc-detail-hero__meta-inline .mtc-detail-meta-icon {
  display: none !important;
}

.mtc-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.mtc-detail-hero__actions .common-action-button--primary,
.mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary),
.mtc-detail-hero__actions .motchill-favorite-btn {
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
}

.mtc-detail-hero__actions .common-action-button--primary {
  min-width: 148px;
  padding: 0 26px;
}

.mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary),
.mtc-detail-hero__actions .motchill-favorite-btn {
  min-width: 112px;
  padding: 0 16px;
  font-size: 13px;
}

/* Metadata quick bar â€” hero */
.mtc-detail-meta-bar,
.mtc-detail-meta-grid--hero {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 16px;
  padding: 12px 10px;
  background: var(--detail-surface);
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mtc-detail-meta-bar__item,
.mtc-detail-meta-grid--hero .mtc-detail-meta-grid__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 4px 10px 4px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
}

.mtc-detail-meta-bar__item:not(:last-child)::after,
.mtc-detail-meta-grid--hero .mtc-detail-meta-grid__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--detail-border);
}

.mtc-detail-meta-bar__icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 34px;
  flex-shrink: 0;
}

.mtc-detail-meta-bar .mtc-detail-meta-icon,
.mtc-detail-meta-grid--hero .mtc-detail-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(var(--accent-hot-rgb), 0.1);
  color: var(--detail-accent);
  opacity: 1;
}

.mtc-detail-meta-bar .mtc-detail-meta-icon svg,
.mtc-detail-meta-grid--hero .mtc-detail-meta-icon svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke: var(--detail-accent);
  stroke-width: 1.75;
  fill: none;
}

.mtc-detail-meta-bar__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mtc-detail-meta-bar__label,
.mtc-detail-meta-grid--hero .mtc-detail-meta-grid__label {
  display: block;
  margin-bottom: 3px;
  color: var(--detail-text-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mtc-detail-meta-bar__value,
.mtc-detail-meta-grid--hero .mtc-detail-meta-grid__value {
  display: block;
  padding-left: 0;
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mtc-detail-meta-bar__value a,
.mtc-detail-meta-grid--hero .mtc-detail-meta-grid__value a {
  color: inherit;
  text-decoration: none;
}

.mtc-detail-meta-bar__value a:hover,
.mtc-detail-meta-grid--hero .mtc-detail-meta-grid__value a:hover {
  color: var(--detail-accent);
}

.common-action-button,
.mtc-detail-btn {
  height: 42px;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.common-action-button--primary,
.mtc-detail-btn--primary {
  min-width: 138px;
  background: linear-gradient(180deg, #f5b32c, #f59e0b);
  border: none;
  color: #120d08;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.common-action-button--primary:hover,
.mtc-detail-btn--primary:hover {
  background: linear-gradient(180deg, #ffc04a, #ffb224);
  color: #120d08;
}

.common-action-button--secondary,
.mtc-detail-btn--secondary {
  min-width: 138px;
  background: var(--detail-surface);
  border: 1px solid var(--detail-border-strong);
  color: var(--detail-text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.common-action-button--secondary:hover,
.mtc-detail-btn--secondary:hover {
  background: var(--detail-surface-hover);
  border-color: rgba(245, 165, 36, 0.35);
  color: var(--detail-text);
}

.common-action-button--ghost {
  min-width: 128px;
  background: var(--detail-surface);
  border: 1px solid var(--detail-border-strong);
  color: var(--detail-text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.common-action-button--ghost:hover {
  border-color: rgba(245, 165, 36, 0.35);
  color: var(--detail-text);
  background: var(--detail-surface-hover);
}

.common-action-button--ghost.is-active,
.motchill-favorite-btn.is-active {
  background: var(--detail-surface);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--detail-text);
  box-shadow: none;
}

.motchill-favorite-btn.is-active .motchill-favorite-btn__label {
  color: var(--detail-accent);
  font-weight: 600;
}

.motchill-favorite-btn.is-active .mtc-icon--bookmark path {
  fill: var(--detail-accent);
  stroke: var(--detail-accent);
}

.common-action-button--ghost.is-active:hover,
.motchill-favorite-btn.is-active:hover {
  background: var(--detail-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--detail-text);
}

.motchill-page-detail .mtc-detail-hero__actions .common-action-button,
.motchill-page-detail .mtc-detail-hero__actions .motchill-favorite-btn {
  gap: 9px;
}

.motchill-page-detail .mtc-detail-hero__actions .common-action-button--primary {
  gap: 10px;
}

.motchill-page-detail .mtc-detail-hero__actions .motchill-favorite-btn svg,
.motchill-page-detail .mtc-detail-hero__actions .motchill-favorite-btn .mtc-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.motchill-favorite-btn .mtc-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.motchill-page-detail .mtc-detail-hero__actions .motchill-favorite-btn__label {
  font-size: 13px;
  font-weight: 500;
}

.motchill-page-detail .mtc-detail-hero__actions .common-action-button--primary .common-action-button__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.motchill-page-detail .mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary) .common-action-button__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.motchill-page-detail .mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary) .common-action-button__icon.fa-solid {
  width: auto;
  height: auto;
  font-size: 17px;
  line-height: 1;
}

.motchill-page-detail .mtc-detail-hero__actions .common-action-button__icon--telegram,
.motchill-page-detail .mtc-detail-hero__actions .common-action-button__icon--telegram {
  width: 18px;
  height: 18px;
}

.common-action-button__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.common-action-button__icon.fa-solid {
  width: auto;
  height: auto;
  font-size: 15px;
  line-height: 1;
}

/* Meta grid */
.mtc-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mtc-detail-meta-grid__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 72px;
  padding: 14px 16px;
}

.mtc-detail-meta-grid__label {
  color: #8f98a6;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mtc-detail-meta-grid__value {
  margin-top: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.mtc-detail-meta-grid__value a {
  color: inherit;
  text-decoration: none;
}

.mtc-detail-meta-grid__value a:hover {
  color: var(--accent-hot);
}

/* Synopsis */
.mtc-detail-synopsis__content {
  color: #c8ccd3;
  font-size: 14px;
  line-height: 1.7;
  max-height: calc(1.7em * 5);
  overflow: hidden;
}

.mtc-detail-synopsis.is-expanded .mtc-detail-synopsis__content {
  max-height: none;
}

.mtc-detail-synopsis__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-hot);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.mtc-detail-synopsis__toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.mtc-detail-synopsis__toggle.is-expanded .mtc-detail-synopsis__toggle-icon {
  transform: rotate(180deg);
}

.mtc-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mtc-detail-tags__label {
  color: #8f98a6;
  font-size: 12px;
  font-weight: 500;
}

.mtc-detail-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mtc-detail-tags__item {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--detail-surface-2);
  border: 1px solid var(--detail-border);
  color: #d7dde6;
  font-size: 12px;
  text-decoration: none;
}

.mtc-detail-tags__item:hover {
  border-color: rgba(245, 165, 36, 0.28);
  color: var(--accent-hot);
}

.mtc-detail-notice__text {
  margin: 0;
  color: #c8ccd3;
  font-size: 13px;
  line-height: 1.65;
}

.mtc-detail-note p {
  margin: 0;
  color: #c8ccd3;
  font-size: 13px;
  line-height: 1.65;
}

/* Cast */
.mtc-detail-cast-section {
  overflow: hidden;
}

.mtc-detail-cast-section.is-compact .mtc-detail-panel__head {
  margin-bottom: 10px;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__item {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__item:first-child {
  padding-top: 0;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__avatar {
  width: 44px;
  height: 44px;
  border-width: 1px;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__initials {
  font-size: 14px;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__name,
.mtc-detail-cast-section.is-compact .mtc-detail-cast__role {
  width: auto;
  flex: 1;
  min-width: 0;
}

.mtc-detail-cast-section.is-compact .mtc-detail-cast__name {
  font-size: 13px;
}

.mtc-detail-cast {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  margin: 0 -4px;
  padding-left: 4px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 165, 36, 0.35) transparent;
}

.mtc-detail-cast::-webkit-scrollbar {
  height: 4px;
}

.mtc-detail-cast::-webkit-scrollbar-thumb {
  background: rgba(245, 165, 36, 0.35);
  border-radius: 999px;
}

.mtc-detail-cast__item {
  flex: 0 0 88px;
  width: 88px;
  max-width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
}

.mtc-detail-cast__avatar,
.mtc-detail-director__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: var(--detail-surface-2);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.22);
}

.mtc-detail-director__avatar {
  width: 44px;
  height: 44px;
  border-width: 1px;
}

.mtc-detail-cast__avatar img,
.mtc-detail-director__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtc-detail-cast__initials {
  color: var(--accent-hot);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mtc-detail-cast__name,
.mtc-detail-director__name {
  display: block;
  overflow: visible;
  width: 100%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.mtc-detail-cast__role,
.mtc-detail-director__role {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  color: #8f98a6;
  font-size: 11px;
  line-height: 1.3;
}

.mtc-detail-director {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mtc-detail-director-section .mtc-detail-panel__title {
  margin-bottom: 12px;
}

.mtc-detail-director__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mtc-detail-director__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mtc-detail-director__works-label {
  color: #8f98a6;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mtc-detail-director__works-grid {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mtc-detail-director__work {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 72px;
  width: 72px;
  text-decoration: none;
}

.mtc-detail-director__work-thumb {
  display: block;
  width: 72px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111821;
}

.mtc-detail-director__work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtc-detail-director__work-year {
  color: #8f98a6;
  font-size: 10px;
  line-height: 1.2;
}

.mtc-detail-director__work-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

/* Extra info list */
.mtc-detail-info-list {
  margin: 0;
  flex: 1;
}

.mtc-detail-info-list__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 36px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mtc-detail-info-list__row dt {
  margin: 0;
  color: #8f98a6;
  font-size: 13px;
  font-weight: 500;
}

.mtc-detail-info-list__row dd {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

/* Related carousel */
.mtc-detail-related .mtc-movie-section__title {
  margin: 0;
}

.mtc-detail-related-carousel,
.motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
  --carousel-visible: 5;
  --carousel-gap: 11px;
  --carousel-slide-size: 148px;
  position: relative;
}

.motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel .motchill-carousel__nav {
  top: var(--carousel-nav-top, 50%);
}

.mtc-detail-btn--sm {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.mtc-detail-inline-notice {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #a8b0bd;
  font-size: 12px;
  line-height: 1.55;
}

.mtc-detail-inline-notice strong {
  color: var(--accent-hot);
  font-weight: 500;
}

.mtc-detail-reviews__stats {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mtc-detail-reviews__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mtc-detail-reviews__score {
  display: block;
  color: #ffffff;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.mtc-detail-reviews__stars {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.mtc-detail-reviews__star {
  position: relative;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.14);
}

.mtc-detail-reviews__star-empty,
.mtc-detail-reviews__star-fill {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.mtc-detail-reviews__star-fill {
  color: var(--accent-hot);
}

.mtc-detail-star-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.mtc-detail-star-input {
  display: flex;
  gap: 6px;
  align-items: center;
}

.mtc-detail-star-input__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--detail-surface-2);
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.mtc-detail-star-input__btn .mtc-detail-star-icon {
  width: 22px;
  height: 22px;
}

.mtc-detail-star-input__btn:hover,
.mtc-detail-star-input__btn.is-active {
  color: var(--accent-hot);
  transform: scale(1.04);
}

.mtc-detail-reviews__count {
  display: block;
  margin-top: 8px;
  color: #8f98a6;
  font-size: 13px;
}

.mtc-detail-reviews__breakdown {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 0;
}

.mtc-detail-reviews__bar-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: center;
}

.mtc-detail-reviews__bar-label,
.mtc-detail-reviews__bar-pct {
  color: #8f98a6;
  font-size: 11px;
}

.mtc-detail-reviews__bar-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--detail-surface-2);
  overflow: hidden;
}

.mtc-detail-reviews__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-hot);
}

.mtc-detail-reviews__write {
  margin-top: 0;
  flex-shrink: 0;
}

.mtc-detail-rating-widget {
  padding: 14px;
  border-radius: 12px;
  background: var(--detail-surface-2);
  border: 1px solid var(--detail-border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mtc-detail-rating-widget__label {
  margin: 0 0 8px;
  color: #a8b0bd;
  font-size: 13px;
  font-weight: 500;
}

.mtc-detail-rating-widget__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  margin-top: 8px;
  color: #8f98a6;
  font-size: 13px;
}

.mtc-detail-comments {
  padding-top: 0;
  border-top: 0;
}

.mtc-detail-login-hint {
  margin: 0 0 12px;
  color: var(--detail-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.mtc-detail-login-hint a {
  color: var(--detail-accent);
  font-weight: 600;
  text-decoration: none;
}

.mtc-detail-login-hint a:hover {
  color: var(--accent-hot-light);
  text-decoration: underline;
}

.mtc-detail-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.mtc-detail-comment-form__field {
  position: relative;
}

.mtc-detail-comment-form__counter {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--detail-text-muted);
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.mtc-detail-comment-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mtc-detail-comment-form__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.mtc-detail-comment-form__toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.mtc-detail-comment-form__toggle .mtc-detail-comment-form__toggle-ui {
  flex-shrink: 0;
}

.mtc-detail-comment-form__toggle-ui {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.18s var(--ui-ease), box-shadow 0.18s var(--ui-ease);
}

.mtc-detail-comment-form__toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s var(--ui-ease);
}

.mtc-detail-comment-form__toggle input:checked + .mtc-detail-comment-form__toggle-ui,
.mtc-detail-comment-reply__toggle input:checked + .mtc-detail-comment-form__toggle-ui {
  background: rgba(var(--accent-hot-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--accent-hot-rgb), 0.25);
}

.mtc-detail-comment-form__toggle input:checked + .mtc-detail-comment-form__toggle-ui::after,
.mtc-detail-comment-reply__toggle input:checked + .mtc-detail-comment-form__toggle-ui::after {
  transform: translateX(14px);
}

.mtc-detail-comment-form__toggle input:disabled + .mtc-detail-comment-form__toggle-ui,
.mtc-detail-comment-reply__toggle input:disabled + .mtc-detail-comment-form__toggle-ui {
  opacity: 0.45;
}

.mtc-detail-comment-form__toggle-label {
  display: inline-flex;
  align-items: center;
}

.mtc-detail-comment-form__toggle-identity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mtc-detail-comment-form__toggle-avatar {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--detail-surface-2);
  border: 1px solid rgba(245, 165, 36, 0.25);
  color: var(--detail-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.mtc-detail-comment-form__toggle-avatar.is-anonymous {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--detail-text-muted);
}

.mtc-detail-comment-form__toggle-avatar .mtc-icon {
  width: 13px;
  height: 13px;
}

.mtc-detail-comment-form__toggle-text {
  font-weight: 600;
  color: var(--detail-text);
}

.mtc-detail-comment-form.is-anonymous-mode .mtc-detail-comment-form__toggle-text {
  color: var(--detail-text-muted);
}

.mtc-detail-comment-item__avatar.is-anonymous {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--detail-text-muted);
}

.mtc-detail-comment-item__avatar.is-anonymous .mtc-icon {
  width: 14px;
  height: 14px;
}

.mtc-detail-comment-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--detail-accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s var(--ui-ease), opacity 0.18s var(--ui-ease);
}

.mtc-detail-comment-form__submit svg {
  width: 15px;
  height: 15px;
}

.mtc-detail-comment-form__submit:hover:not(:disabled) {
  background: var(--accent-hot-light);
}

.mtc-detail-comment-form__submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.mtc-detail-comment-form.is-guest .mtc-detail-comment-form__field {
  cursor: pointer;
}

.mtc-detail-comment-form.is-guest .mtc-detail-comment-form__input {
  cursor: not-allowed;
  opacity: 0.92;
  background: rgba(255, 255, 255, 0.03);
}

.mtc-detail-comment-form__input {
  width: 100%;
  min-height: 108px;
  padding: 12px 72px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text);
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mtc-detail-comment-form__input:disabled {
  cursor: not-allowed;
  color: var(--detail-text-muted);
}

.mtc-detail-comment-form__input:read-only {
  color: var(--detail-text-muted);
}

.mtc-detail-comment-form__input::placeholder {
  color: #8f98a6;
}

.mtc-detail-comment-form__input:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.35);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.mtc-detail-rating-widget {
  margin-bottom: 14px;
}

.mtc-detail-rating-widget__score-preview {
  color: var(--detail-accent);
  font-weight: 600;
}

.mtc-detail-rating-review-form {
  margin-top: 2px;
}

.mtc-detail-rating-review-list {
  margin-top: 4px;
}

.mtc-detail-star-input.is-guest .mtc-detail-star-input__btn {
  cursor: not-allowed;
}

.mtc-detail-comment-empty {
  margin: 0;
  padding: 8px 0 4px;
  color: #8f98a6;
  font-size: 13px;
  text-align: center;
}

.mtc-detail-comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mtc-detail-comment-thread {
  display: block;
}

.mtc-detail-comment-thread > .mtc-detail-comment-item {
  padding-top: 0;
  border-bottom: 0;
}

.mtc-detail-comment-thread__toggle {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--detail-accent, var(--accent-hot));
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mtc-detail-comment-thread__toggle:hover {
  color: #ffc766;
}

.reply-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 6px 14px;
  padding: 4px 0 4px 14px;
  border-left: 2px solid rgba(var(--accent-hot-rgb, 245, 165, 36), 0.35);
}

.reply-list:not(.is-open) {
  display: none;
}

.mtc-detail-comment-item--reply,
.reply-item {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  opacity: 1;
  border-top: 0;
}

.mtc-detail-comment-item--reply .mtc-detail-comment-item__avatar,
.reply-item .mtc-detail-comment-item__avatar {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 11px;
}

.mtc-detail-comment-item:last-child {
  border-bottom: 0;
}

.mtc-detail-comment-thread + .mtc-detail-comment-thread {
  margin-top: 14px;
}

.mtc-detail-comment-item__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--detail-surface-2);
  border: 1px solid rgba(245, 165, 36, 0.25);
  color: var(--detail-accent);
  font-size: 13px;
  font-weight: 500;
}

.mtc-detail-comment-item__body {
  min-width: 0;
  flex: 1;
}

.mtc-detail-comment-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mtc-detail-comment-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.mtc-detail-comment-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(245, 165, 36, 0.12);
  border: 1px solid rgba(245, 165, 36, 0.35);
  color: var(--accent-hot);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtc-detail-comment-item__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.mtc-detail-comment-item__name {
  color: #ffffff;
  font-size: 13px;
}

.mtc-detail-comment-item__time {
  color: #8f98a6;
  font-size: 11px;
  white-space: nowrap;
}

.mtc-detail-comment-item__stars {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  letter-spacing: 1px;
}

.mtc-detail-comment-item__star.is-active {
  color: var(--accent-hot);
}

.mtc-detail-comment-item__text {
  margin: 6px 0 0;
  color: #c8ccd3;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

.mtc-detail-comment-item__action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8f98a6;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.mtc-detail-comment-item__action:hover {
  color: var(--accent-hot);
}

.mtc-detail-fb-wrap {
  display: none !important;
}

@media (max-width: 1199px) {
  .motchill-page-detail .mtc-detail-related-carousel,
  .motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
    --carousel-visible: 4;
  }
}

@media (max-width: 991px) {
  .motchill-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .motchill-detail-layout__main {
    gap: 14px;
  }

  .motchill-page-detail .mtc-detail-related-carousel,
  .motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
    --carousel-visible: 3;
    --carousel-gap: 10px;
  }

  .motchill-page-detail .mtc-detail-related .mtc-movie-section__title {
    font-size: 19px !important;
  }

  .motchill-detail-layout__sidebar {
    order: 2;
  }

  .motchill-page-detail .motchill-home-layout__sidebar {
    display: block;
  }

  .motchill-page-detail .motchill-home-layout__sidebar .motchill-sidebar-stack {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .motchill-page-detail .mtc-detail-meta-bar.mtc-detail-meta-grid--hero {
    display: none !important;
  }

  .mtc-detail-meta-grid:not(.mtc-detail-meta-grid--hero) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mtc-detail-content-grid {
    grid-template-columns: 1fr;
  }

  .mtc-detail-tabs__panel .mtc-detail-cast-section.is-compact .mtc-detail-cast {
    grid-template-columns: 1fr;
  }

  .mtc-detail-reviews__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .motchill-detail-layout {
    gap: 12px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .motchill-detail-layout__main {
    gap: 12px;
  }

  .motchill-page-detail .detail-card.mtc-detail-panel,
  .motchill-page-detail .detail-card.mtc-detail-notice {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .motchill-page-detail .detail-card.mtc-detail-hero {
    --mtc-hero-poster-h: clamp(230px, 42vh, 380px);
    padding: 12px;
  }

  .motchill-page-detail .mtc-detail-related .motchill-section-header,
  .motchill-page-detail .mtc-detail-related .mtc-movie-section__header {
    margin-bottom: 0 !important;
    padding-bottom: 6px;
  }

  .motchill-page-detail .mtc-detail-related {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .motchill-page-detail .mtc-detail-related .mtc-movie-section__title {
    font-size: 17px !important;
    letter-spacing: 0.02em !important;
  }

  .motchill-page-detail .mtc-detail-related .mtc-movie-section__title::before {
    width: 3px;
    height: 16px;
  }

  .motchill-page-detail .mtc-detail-related-carousel,
  .motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
    --carousel-visible: 2.3;
    --carousel-gap: 10px;
  }

  .motchill-page-detail .mtc-detail-related .motchill-recommended__detail .title,
  .motchill-page-detail .mtc-detail-related .motchill-recommended__detail .title a {
    font-size: 13px;
    line-height: 1.35;
  }

  .motchill-page-detail .mtc-detail-related .mtc-movie-card__meta {
    font-size: 11px;
  }

  .mtc-detail-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .mtc-detail-hero__poster-wrap {
    width: min(calc(var(--mtc-hero-poster-h) * 2 / 3), 74vw);
    max-width: 260px;
    margin: 0 auto;
  }

  .mtc-detail-hero__poster {
    width: 100%;
    height: var(--mtc-hero-poster-h);
    min-height: 0;
    border-radius: 12px;
  }

  .mtc-detail-hero__body-wrap {
    min-height: 0;
    max-width: 100%;
    justify-content: flex-start;
    padding: 0;
  }

  .mtc-detail-hero__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    gap: 6px;
  }

  .mtc-detail-breadcrumb {
    margin-bottom: 4px;
  }

  .mtc-detail-breadcrumb__list {
    flex-wrap: nowrap;
    gap: 4px;
    overflow: hidden;
  }

  .mtc-detail-breadcrumb__item {
    font-size: 11px;
    flex-shrink: 0;
  }

  .mtc-detail-breadcrumb__item.is-current {
    flex-shrink: 1;
    min-width: 0;
  }

  .mtc-detail-hero__title {
    margin-bottom: 4px;
    font-size: clamp(22px, 6.2vw, 26px);
    line-height: 1.22;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .mtc-detail-hero__origin {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.35;
  }

  .mtc-detail-hero__rating-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 6px;
  }

  .mtc-detail-hero__rating-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px 6px;
    max-width: 100%;
  }

  .mtc-detail-hero__rating-meta .mtc-detail-stars {
    flex-shrink: 0;
  }

  .mtc-detail-hero__score {
    flex-shrink: 0;
    font-size: 14px;
  }

  .mtc-detail-hero__rating-count {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mtc-detail-hero__rating-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
  }

  .mtc-detail-hero__rating-chips .mtc-detail-chip {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .mtc-detail-hero__categories {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }

  .mtc-detail-hero__meta-inline {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .mtc-detail-hero__people {
    order: 10;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
    margin-top: 10px;
    padding-top: 10px;
  }

  .mtc-detail-hero__people-col--director {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
  }

  .mtc-detail-hero__people--director-only .mtc-detail-hero__people-col--director {
    border-top: none;
    padding-top: 0;
  }

  .mtc-detail-hero__actions {
    order: 5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
  }

  .mtc-detail-hero__actions > .common-action-button--primary {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    gap: 8px;
    justify-content: center;
    margin-bottom: 0;
  }

  .mtc-detail-hero__actions > .common-action-button:not(.common-action-button--primary),
  .mtc-detail-hero__actions > .motchill-favorite-btn {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 44px;
    padding: 8px 6px;
    gap: 8px;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
    background: var(--detail-surface) !important;
    border: 1px solid var(--detail-border-strong) !important;
    box-shadow: none;
    color: var(--detail-text);
  }

  .mtc-detail-hero__actions > .common-action-button:not(.common-action-button--primary):hover,
  .mtc-detail-hero__actions > .motchill-favorite-btn:hover {
    background: var(--detail-surface-hover) !important;
    border-color: rgba(245, 165, 36, 0.35) !important;
    color: var(--detail-text);
  }

  .mtc-detail-hero__actions > .common-action-button--ghost.is-active,
  .mtc-detail-hero__actions > .motchill-favorite-btn.is-active {
    background: var(--detail-surface) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
  }

  .mtc-detail-hero__actions > .common-action-button--ghost.is-active:hover,
  .mtc-detail-hero__actions > .motchill-favorite-btn.is-active:hover {
    background: var(--detail-surface-hover) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  .mtc-detail-hero__actions > .common-action-button--primary .common-action-button__label {
    display: inline !important;
    font-size: 14px;
    font-weight: 600;
  }

  .mtc-detail-hero__actions > .common-action-button:not(.common-action-button--primary) .common-action-button__label,
  .mtc-detail-hero__actions > .motchill-favorite-btn .motchill-favorite-btn__label {
    display: block !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--detail-text-muted, rgba(255, 255, 255, 0.72));
  }

  .mtc-detail-hero__actions .common-action-button--primary .common-action-button__icon {
    width: 20px;
    height: 20px;
  }

  .mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary) .common-action-button__icon,
  .mtc-detail-hero__actions .motchill-favorite-btn .mtc-icon,
  .mtc-detail-hero__actions .motchill-favorite-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary) .common-action-button__icon.fa-solid {
    width: auto;
    height: auto;
    font-size: 24px;
  }

  .mtc-detail-hero__actions .common-action-button__icon--telegram,
  .mtc-detail-hero__actions .common-action-button__icon--telegram {
    width: 24px;
    height: 24px;
  }

  .motchill-page-detail .common-action-button--ghost .common-action-button__icon,
  .motchill-page-detail .common-action-button--ghost .mtc-icon,
  .motchill-page-detail .common-action-button--ghost.motchill-favorite-btn svg {
    width: 24px;
    height: 24px;
  }

  .motchill-page-detail .common-action-button--ghost .common-action-button__icon.fa-solid {
    font-size: 24px;
  }

  .mtc-detail-meta-bar.mtc-detail-meta-grid--hero {
    display: none !important;
  }

  .motchill-page-detail .mtc-detail-tabs {
    padding: 16px 16px 18px;
  }

  .motchill-page-detail .detail-card.mtc-detail-panel.mtc-detail-comments-section,
  .mtc-detail-tabs__panel[data-detail-panel="comments"] .detail-card.mtc-detail-panel.mtc-detail-comments-section {
    padding: 14px 0;
  }

  .motchill-page-detail .mtc-detail-tabs__head {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 14px;
  }

  .motchill-page-detail .mtc-detail-tabs__heading {
    max-width: 100%;
    font-size: 17px;
    color: #ffffff;
  }

  .motchill-page-detail .mtc-detail-tabs__nav {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    gap: 0;
    padding: 0 0 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .motchill-page-detail .mtc-detail-tabs__tab {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
    padding: 4px 2px 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
  }

  .motchill-page-detail .mtc-detail-tabs__tab:hover:not(.is-active) {
    color: rgba(255, 255, 255, 0.65);
    background: transparent;
  }

  .motchill-page-detail .mtc-detail-tabs__tab.is-active {
    color: var(--detail-accent);
    background: transparent;
    box-shadow: none;
  }

  .motchill-page-detail .mtc-detail-tabs__tab-label {
    display: none;
  }

  .motchill-page-detail .mtc-detail-tabs__tab-icon {
    margin-bottom: 8px;
  }

  .motchill-page-detail .mtc-detail-tabs__tab-icon svg {
    width: 20px;
    height: 20px;
  }

  .motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }

  .motchill-page-detail .mtc-detail-tabs__tab-line {
    width: 100%;
    max-width: none;
    height: 2px;
    border-radius: 0;
  }

  .motchill-page-detail .mtc-detail-tabs__tab-arrow {
    position: static;
    transform: none;
    margin-top: 0;
    border-top-width: 5px;
  }

  .mtc-detail-tabs__panels {
    margin-top: 14px;
    padding-top: 0;
  }

  .mtc-detail-tabs__panel[data-detail-panel="info"] > .detail-card,
  .mtc-detail-tabs__panel[data-detail-panel="cast"] > .detail-card,
  .mtc-detail-tabs__panel[data-detail-panel="director"] > .detail-card {
    padding: 16px !important;
  }

  .mtc-detail-tabs__panel .mtc-detail-cast-section.is-compact .mtc-detail-cast {
    grid-template-columns: 1fr;
  }

  .mtc-detail-login-hint {
    margin-bottom: 10px;
  }

  .mtc-detail-comment-form__footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mtc-detail-comment-form__submit:not(.mtc-detail-comment-form__submit--block) > span {
    display: none;
  }

  .mtc-detail-comment-form__submit:not(.mtc-detail-comment-form__submit--block) {
    gap: 0;
    justify-content: center;
    padding: 0;
    width: 34px;
    min-width: 34px;
    flex-shrink: 0;
  }

  .mtc-detail-comment-form__submit:not(.mtc-detail-comment-form__submit--block) svg {
    width: 16px;
    height: 16px;
  }

  .mtc-detail-comment-form__submit--rating {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .mtc-detail-comment-empty {
    padding-top: 12px;
  }

  .mtc-detail-meta-grid:not(.mtc-detail-meta-grid--hero) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtc-detail-info-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mtc-detail-info-list__row dd {
    text-align: left;
  }
}

@media (max-width: 767px) and (max-height: 820px) {
  .motchill-page-detail .detail-card.mtc-detail-hero {
    --mtc-hero-poster-h: clamp(210px, 38vh, 330px);
    padding: 10px 12px;
  }

  .mtc-detail-hero__grid {
    gap: 8px;
  }

  .mtc-detail-hero .mtc-detail-breadcrumb {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .mtc-detail-hero__title {
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .mtc-detail-hero__origin {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .mtc-detail-hero__rating-row {
    margin-bottom: 4px;
  }

  .mtc-detail-hero__categories {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .mtc-detail-hero__meta-inline {
    font-size: 12px;
  }

  .mtc-detail-hero__actions {
    margin-top: 8px;
  }

  .mtc-detail-hero__actions > .common-action-button--primary {
    height: 46px;
    min-height: 46px;
  }
}

/* Detail page â€” solid surfaces (no glass / no background bleed) */
.motchill-page-detail *,
.motchill-page-detail *::before,
.motchill-page-detail *::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.motchill-page-detail .common-action-button,
.motchill-page-detail .mtc-detail-btn,
.motchill-page-detail .detail-card,
.motchill-page-detail .detail-meta-card,
.motchill-page-detail .mtc-detail-meta-grid--hero,
.motchill-page-detail .mtc-detail-rating-widget,
.motchill-page-detail .mtc-detail-comment-form__input {
  mix-blend-mode: normal !important;
}

.motchill-page-detail .common-action-button--secondary,
.motchill-page-detail .common-action-button--ghost,
.motchill-page-detail .mtc-detail-btn--secondary {
  background: var(--detail-surface) !important;
  border-color: var(--detail-border-strong) !important;
  color: var(--detail-text) !important;
}

.motchill-page-detail .common-action-button--secondary:hover,
.motchill-page-detail .common-action-button--ghost:hover,
.motchill-page-detail .mtc-detail-btn--secondary:hover {
  background: var(--detail-surface-hover) !important;
  border-color: rgba(245, 165, 36, 0.35) !important;
  color: var(--detail-text) !important;
}

.motchill-page-detail .common-action-button--ghost.is-active,
.motchill-page-detail .motchill-favorite-btn.is-active {
  background: var(--detail-surface) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--detail-text) !important;
  box-shadow: none !important;
}

.motchill-page-detail .motchill-favorite-btn.is-active .motchill-favorite-btn__label {
  color: var(--detail-accent) !important;
}

.motchill-page-detail .motchill-favorite-btn.is-active .mtc-icon--bookmark path {
  fill: var(--detail-accent);
  stroke: var(--detail-accent);
}

.motchill-page-detail .common-action-button--ghost.is-active:hover,
.motchill-page-detail .motchill-favorite-btn.is-active:hover {
  background: var(--detail-surface-hover) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--detail-text) !important;
}

.motchill-page-detail .mtc-detail-meta-bar,
.motchill-page-detail .mtc-detail-meta-grid--hero {
  background: var(--detail-surface) !important;
  border: 1px solid var(--detail-border) !important;
}

.motchill-page-detail .mtc-detail-meta-bar__item,
.motchill-page-detail .mtc-detail-meta-grid--hero .mtc-detail-meta-grid__item {
  background: transparent !important;
  border: none !important;
}

@media (max-width: 991px) {
  .motchill-page-detail .mtc-detail-meta-bar.mtc-detail-meta-grid--hero {
    display: none !important;
  }
}

.motchill-page-detail .mtc-detail-comment-item__badge {
  background: var(--detail-surface-2);
  border: 1px solid rgba(245, 165, 36, 0.35);
}

.motchill-page-detail .motchill-trending.trending-widget .motchill-trending__item,
.motchill-page-detail .trending-compact-item,
.motchill-page-detail .mtc-top-list .motchill-sidebar-list__item,
.motchill-page-detail .mtc-ranking-list__item {
  background: var(--detail-surface-2) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

.motchill-page-detail .motchill-trending.trending-widget .motchill-trending__item:hover,
.motchill-page-detail .trending-compact-item:hover,
.motchill-page-detail .mtc-top-list .motchill-sidebar-list__item:hover,
.motchill-page-detail .mtc-ranking-list__item:hover {
  background: var(--detail-surface-hover) !important;
  border-color: rgba(245, 165, 36, 0.35) !important;
}

.motchill-page-detail .mtc-top-widget--series .mtc-top-featured,
.motchill-page-detail .mtc-top-widget--series .mtc-top-featured:hover {
  background: var(--detail-surface-2) !important;
  border-color: rgba(245, 165, 36, 0.35) !important;
  box-shadow: none !important;
}

.motchill-page-detail .motchill-home-layout__main .motchill-carousel__nav,
.motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav {
  background: var(--detail-surface) !important;
  border-color: var(--detail-border-strong) !important;
}

.motchill-page-detail .motchill-home-layout__main .motchill-carousel__nav:hover,
.motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel .motchill-carousel__nav:hover {
  background: var(--detail-surface-hover) !important;
  border-color: rgba(245, 165, 36, 0.35) !important;
}

/* â”€â”€ Detail: episode list (chunked / searchable) â”€â”€ */
.motchill-page-detail .mtc-detail-episodes {
  --mtc-episodes-radius-panel: var(--radius-lg);
  --mtc-episodes-radius-control: var(--radius-sm);
  --mtc-episodes-radius-chip: var(--radius-xs);
  padding: 16px;
  background: var(--detail-surface);
  border: 1px solid var(--detail-border);
  border-radius: var(--mtc-episodes-radius-panel);
  box-shadow: none;
}

.mtc-detail-episodes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mtc-detail-episodes__title {
  margin: 0;
  color: var(--accent-hot);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtc-detail-episodes__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.mtc-detail-episodes__sort-label {
  color: var(--detail-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.mtc-detail-episodes__sort-select {
  min-width: 96px;
  min-height: 32px;
  padding: 0 28px 0 10px;
  border-radius: 10px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239aa4b2'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px 16px;
}

.mtc-detail-episodes__sort-select:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.45);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.mtc-detail-episodes__sort-select option {
  background: var(--detail-surface);
  color: var(--detail-text);
}

.mtc-detail-episodes__ranges-wrap {
  margin-bottom: 10px;
  overflow: hidden;
}

.mtc-detail-episodes__ranges {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.mtc-detail-episodes__ranges::-webkit-scrollbar {
  display: none;
}

.mtc-detail-episodes__range {
  flex: 0 0 auto;
  min-width: 72px;
  max-width: calc((100% - 32px) / 5);
  height: 32px;
  padding: 0 12px;
  border-radius: var(--mtc-episodes-radius-control, var(--radius-sm));
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.mtc-detail-episodes__range:hover {
  background: var(--detail-surface-hover);
  border-color: var(--detail-border-strong);
  color: var(--detail-text);
}

.mtc-detail-episodes__range.is-active {
  background: var(--ui-primary-soft);
  border-color: var(--ui-primary-border);
  color: var(--detail-accent);
}

.mtc-detail-episodes__search {
  margin-bottom: 10px;
}

.mtc-detail-episodes__search-input {
  width: 100%;
  max-width: 220px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--mtc-episodes-radius-control, var(--radius-sm));
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text);
  font-size: 12px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.mtc-detail-episodes__search-input::placeholder {
  color: var(--detail-text-muted);
}

.mtc-detail-episodes__search-input:focus {
  border-color: var(--ui-primary-border);
  background: var(--detail-surface-hover);
}

.mtc-detail-episodes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 38px);
  gap: 6px;
  justify-content: start;
  align-items: start;
  min-width: 0;
  overflow: visible;
}

.mtc-detail-episodes__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 0;
  max-width: 38px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: var(--mtc-episodes-radius-chip, var(--radius-xs));
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.mtc-detail-episodes__chip:hover {
  background: var(--detail-surface-hover);
  border-color: var(--detail-border-strong);
  color: var(--detail-text);
}

.mtc-detail-episodes__chip.is-active,
.mtc-detail-episodes__chip.is-search-match {
  background: var(--ui-primary-soft);
  border-color: var(--ui-primary-border);
  color: var(--detail-accent);
}

.mtc-detail-episodes__chip.is-watched {
  opacity: 0.6;
}

.mtc-detail-episodes.is-episode-preview-clipped .mtc-detail-episodes__grid {
  overflow: hidden;
}

.mtc-detail-episodes__chip.is-collapsed {
  display: none;
}

.mtc-detail-episodes__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.mtc-detail-episodes__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--detail-border);
  border-radius: var(--mtc-episodes-radius-control, var(--radius-sm));
  background: var(--detail-surface-2);
  color: var(--detail-text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.mtc-detail-episodes__more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.mtc-detail-episodes__more.is-expanded svg {
  transform: rotate(180deg);
}

.mtc-detail-episodes__more:hover {
  background: var(--detail-surface-hover);
  border-color: var(--ui-primary-border);
  color: var(--detail-text);
}

@media (max-width: 767px) {
  .motchill-page-detail .mtc-detail-episodes {
    padding: 12px;
  }

  .mtc-detail-episodes__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 5px;
    justify-content: stretch;
    width: 100%;
    overflow: visible;
    max-height: none;
    padding-bottom: 0;
  }

  .mtc-detail-episodes__chip {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: 11px;
    font-weight: 700;
  }

  .mtc-detail-episodes__search-input {
    max-width: none;
  }
}

@media (max-width: 479px) {
  .mtc-detail-episodes__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 4px;
  }

  .mtc-detail-episodes__chip {
    font-size: 10px;
  }
}

/* â”€â”€ Movie info card (episode page) â”€â”€ */
.motchill-page-episode .mtc-detail-movie-info {
  padding: 18px 20px;
}

.mtc-detail-movie-info__grid {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "poster content";
  gap: 18px;
  align-items: start;
}

.mtc-detail-movie-info__poster-wrap {
  grid-area: poster;
  width: 132px;
  flex-shrink: 0;
}

.mtc-detail-movie-info__head-main {
  grid-area: head;
  min-width: 0;
}

.mtc-detail-movie-info__body {
  grid-area: content;
  min-width: 0;
}

.mtc-detail-movie-info__poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  aspect-ratio: 2 / 3;
  text-decoration: none;
}

.mtc-detail-movie-info__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtc-detail-movie-info__poster-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 198px;
  background: linear-gradient(145deg, #1a2230 0%, #121820 100%);
}

.mtc-detail-movie-info__poster-initials {
  color: rgba(255, 255, 255, 0.42);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mtc-detail-movie-info__poster-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtc-detail-movie-info__title {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.mtc-detail-movie-info__origin {
  margin: 6px 0 0;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.mtc-detail-movie-info__rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.mtc-detail-movie-info__score {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.mtc-detail-movie-info__rating-count {
  color: var(--detail-text-muted);
  font-size: 13px;
}

.mtc-detail-movie-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.mtc-detail-movie-info__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #c8ccd3;
  font-size: 13px;
  line-height: 1.4;
}

.mtc-detail-movie-info__meta-item .mtc-detail-meta-bar__icon-col {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto;
  flex-shrink: 0;
}

.mtc-detail-movie-info__meta-item .mtc-detail-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: none;
  border-radius: 8px;
  background: rgba(var(--accent-hot-rgb), 0.1);
  color: var(--detail-accent);
}

.mtc-detail-movie-info__meta-item .mtc-detail-meta-icon svg {
  display: block;
  width: 15px;
  height: 15px;
  stroke: var(--detail-accent);
  stroke-width: 1.75;
  fill: none;
  color: var(--detail-accent);
}

.mtc-detail-movie-info__meta-text {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 1.4;
}

.mtc-detail-movie-info__meta-text a {
  color: inherit;
  text-decoration: none;
}

.mtc-detail-movie-info__meta-text a:hover {
  color: var(--detail-accent);
}

.mtc-detail-movie-info__synopsis-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mtc-detail-movie-info__synopsis-wrap .mtc-detail-synopsis__content {
  color: #d6d9df;
}

.mtc-detail-movie-info__detail-row {
  display: grid;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.mtc-detail-movie-info__detail-label {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.mtc-detail-movie-info__detail-value {
  min-width: 0;
  color: var(--detail-text-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mtc-detail-movie-info__detail-value--inline {
  display: block;
  line-height: 1.6;
}

.mtc-detail-movie-info__detail-value--inline a {
  display: inline;
  color: inherit;
  text-decoration: none;
}

.mtc-detail-movie-info__detail-value--inline a:hover {
  color: var(--detail-accent);
}

.mtc-detail-movie-info__detail-value a {
  color: inherit;
  text-decoration: none;
  max-width: 100%;
}

.mtc-detail-movie-info__detail-value a:hover {
  color: var(--detail-accent);
}

.mtc-detail-movie-info__detail-value--inline .mtc-detail-hero__people-chip {
  display: inline;
  min-height: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
}

.mtc-detail-movie-info__detail-value--inline .mtc-detail-hero__people-chip:hover {
  color: var(--detail-accent);
}

.mtc-detail-movie-info__detail-value .mtc-detail-hero__people-chip {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
}

.mtc-detail-movie-info__detail-value .mtc-detail-hero__people-chip:hover {
  color: var(--detail-accent);
}

.mtc-detail-movie-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mtc-detail-movie-info__detail-row--genre-head {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .mtc-detail-movie-info__head-main .mtc-detail-movie-info__detail-row--genre-head {
    margin-top: 8px;
  }

  .mtc-detail-movie-info__detail-row--genre-body {
    display: none;
  }
}

@media (max-width: 767px) {
  .motchill-page-episode .mtc-detail-movie-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    overflow-x: clip;
  }

  .mtc-detail-movie-info__grid {
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-areas:
      "poster head"
      "content content";
    column-gap: 12px;
    row-gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .mtc-detail-movie-info__poster-wrap {
    width: 100px;
    max-width: 100px;
  }

  .mtc-detail-movie-info__poster {
    border-radius: 10px;
  }

  .mtc-detail-movie-info__poster-placeholder {
    min-height: 0;
  }

  .mtc-detail-movie-info__poster-initials {
    font-size: 18px;
  }

  .mtc-detail-movie-info__poster-badge {
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 9px;
    border-radius: 4px;
  }

  .mtc-detail-movie-info__head-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-self: start;
  }

  .mtc-detail-movie-info__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .mtc-detail-movie-info__origin {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.05em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .mtc-detail-movie-info__rating-row {
    margin-top: 4px;
    gap: 8px 10px;
  }

  .mtc-detail-movie-info__rating-row .mtc-detail-stars {
    gap: 2px;
    flex-shrink: 0;
  }

  .mtc-detail-movie-info__rating-row .mtc-detail-stars--sm .mtc-detail-stars__item {
    width: 13px;
    height: 13px;
  }

  .mtc-detail-movie-info__rating-row .mtc-detail-stars--sm .mtc-detail-star-icon {
    width: 13px;
    height: 13px;
  }


  .mtc-detail-movie-info__rating-row .mtc-detail-chip {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .mtc-detail-movie-info__score {
    font-size: 14px;
    flex-shrink: 0;
  }

  .mtc-detail-movie-info__rating-count {
    font-size: 11px;
    line-height: 1.2;
    min-width: 0;
  }

  .mtc-detail-movie-info__detail-row--genre-body {
    display: none;
  }

  .mtc-detail-movie-info__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .mtc-detail-movie-info__meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 36px;
    padding: 6px 9px;
    border: 1px solid var(--detail-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .mtc-detail-movie-info__meta-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .mtc-detail-movie-info__meta-item .mtc-detail-meta-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .mtc-detail-movie-info__meta-item .mtc-detail-meta-icon svg {
    width: 12px;
    height: 12px;
  }

  .mtc-detail-movie-info__meta-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .mtc-detail-movie-info__detail-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    line-height: 1.5;
  }

  .mtc-detail-movie-info__detail-row:first-of-type {
    margin-top: 4px;
  }

  .mtc-detail-movie-info__detail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8b9cb3;
  }

  .mtc-detail-movie-info__detail-value {
    color: #c8ccd3;
    font-size: 13px;
    line-height: 1.55;
  }

  /* Sau .detail-row â€” trÃ¡nh flex column ghi Ä‘Ã¨ thá»ƒ loáº¡i head */
  .mtc-detail-movie-info__detail-row.mtc-detail-movie-info__detail-row--genre-head {
    display: block;
    margin-top: 6px;
    padding: 0;
    border-top: none;
    font-size: 12px;
    line-height: 1.45;
    color: #c8ccd3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .mtc-detail-movie-info__detail-row.mtc-detail-movie-info__detail-row--genre-head .mtc-detail-movie-info__detail-label {
    display: inline;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: #8b9cb3;
    white-space: nowrap;
  }

  .mtc-detail-movie-info__detail-row.mtc-detail-movie-info__detail-row--genre-head .mtc-detail-movie-info__detail-label::after {
    content: ': ';
  }

  .mtc-detail-movie-info__detail-row.mtc-detail-movie-info__detail-row--genre-head .mtc-detail-movie-info__detail-value,
  .mtc-detail-movie-info__detail-row.mtc-detail-movie-info__detail-row--genre-head .mtc-detail-movie-info__detail-value--inline {
    display: inline;
    min-width: 0;
    font-size: 12px;
    line-height: inherit;
    color: #c8ccd3;
    overflow-wrap: normal;
    word-break: normal;
  }

  .mtc-detail-movie-info__detail-row.mtc-detail-movie-info__detail-row--genre-head .mtc-detail-movie-info__detail-value a {
    color: inherit;
  }

  .mtc-detail-movie-info__synopsis-wrap {
    margin-top: 14px;
    padding-top: 14px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mtc-detail-movie-info__synopsis-wrap .mtc-detail-synopsis__content {
    font-size: 14px;
    line-height: 1.65;
    max-height: calc(1.65em * 5);
  }

  .mtc-detail-movie-info__synopsis-wrap .mtc-detail-synopsis.is-expanded .mtc-detail-synopsis__content {
    max-height: none;
  }

  .mtc-detail-movie-info__actions .common-action-button {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
  }
}

/* Episode watch player styles moved to motchill-player.css (Phase B0) */

/* â”€â”€ Rating + Comment rebuild (detail tabs) â”€â”€ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mtc-detail-rc-section {
  width: 100%;
}

.mtc-detail-rc-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 18px;
  align-items: start;
}

.mtc-detail-rc-layout__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mtc-detail-rc-layout__aside {
  min-width: 0;
}

.mtc-detail-rc-summary__card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
}

.mtc-detail-rc-summary__score {
  display: block;
  margin-bottom: 8px;
  color: var(--detail-text);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.mtc-detail-rc-summary__count {
  margin: 8px 0 0;
  color: var(--detail-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.mtc-detail-rc-summary__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--detail-border);
}

.mtc-detail-rc-summary__bar-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.mtc-detail-rc-summary__bar-label,
.mtc-detail-rc-summary__bar-pct {
  color: var(--detail-text-muted);
  font-size: 11px;
}

.mtc-detail-rc-summary__bar-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--detail-surface-2);
  overflow: hidden;
}

.mtc-detail-rc-summary__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--detail-accent);
}

.mtc-detail-star-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mtc-detail-star-picker__label {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.mtc-detail-star-picker__hint,
.mtc-detail-star-picker__label-selected {
  min-height: 18px;
  margin: 0;
  color: var(--detail-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.mtc-detail-star-picker__label-selected {
  color: var(--detail-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.mtc-detail-star-input {
  display: flex;
  gap: 4px;
  align-items: center;
}

.mtc-detail-star-input__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: color 0.15s ease, filter 0.15s ease, transform 0.15s ease;
}

.mtc-detail-star-input__btn .mtc-detail-star-icon {
  width: 24px;
  height: 24px;
}

.mtc-detail-star-input__btn.is-preview,
.mtc-detail-star-input__btn.is-active {
  color: var(--accent-hot);
  filter: drop-shadow(0 0 6px rgba(245, 165, 36, 0.42));
}

.mtc-detail-star-input__btn.is-active {
  transform: scale(1.04);
}

.mtc-detail-star-input.is-guest .mtc-detail-star-input__btn {
  cursor: not-allowed;
  opacity: 0.45;
}

.mtc-detail-comment-form--stream {
  gap: 12px;
  margin-bottom: 0;
}

.mtc-detail-comment-form--stream .mtc-detail-comment-form__input {
  min-height: 120px;
  padding: 14px 72px 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  font-size: 14px;
  line-height: 1.55;
}

.mtc-detail-comment-form--stream .mtc-detail-comment-form__input:focus {
  border-color: rgba(var(--accent-hot-rgb), 0.4);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.mtc-detail-comment-form__submit--block {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-hot-dark) 0%, var(--detail-accent) 100%);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.18s var(--ui-ease), opacity 0.18s var(--ui-ease);
}

.mtc-detail-comment-form__submit--block:hover:not(:disabled) {
  filter: brightness(1.06);
}

.mtc-detail-comment-form__submit--block:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.mtc-detail-rc-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mtc-detail-rc-list-toolbar__label {
  color: var(--detail-text);
  font-size: 14px;
  font-weight: 700;
}

.mtc-detail-rc-sort select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  border-radius: 10px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mtc-detail-rc-load-more {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--detail-border);
  border-radius: 10px;
  background: var(--detail-surface);
  color: var(--detail-accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mtc-detail-rc-load-more:hover {
  background: var(--detail-surface-hover);
}

.mtc-detail-comment-list--cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mtc-detail-comment-list--cards .mtc-detail-comment-thread,
.mtc-detail-comment-list--cards .mtc-detail-comment-item {
  padding: 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
}

.mtc-detail-comment-list--cards .mtc-detail-comment-thread .mtc-detail-comment-item,
.mtc-detail-comment-list--cards .mtc-detail-comment-thread .mtc-detail-comment-item--reply {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mtc-detail-comment-list--cards .mtc-detail-comment-item:last-child {
  border-bottom: 1px solid var(--detail-border);
}

.mtc-detail-comment-item__name {
  font-weight: 700;
}

.mtc-detail-comment-item__text {
  font-size: 14px;
  line-height: 1.6;
}

.mtc-detail-comment-empty {
  padding: 28px 0px;
  border: 1px dashed var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
  color: var(--detail-text-muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.mtc-detail-stars--md .mtc-detail-stars__item {
  width: 20px;
  height: 20px;
}

.mtc-detail-stars--md .mtc-detail-star-icon {
  width: 20px;
  height: 20px;
}

.mtc-detail-tabs__panel .mtc-detail-rc-section {
  margin: 0;
}

.mtc-detail-tabs__panel .mtc-detail-rating-widget {
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 991px) {
  .mtc-detail-rc-layout {
    grid-template-columns: 1fr;
  }

  .mtc-detail-rc-layout__aside {
    order: -1;
  }
}

@media (max-width: 767px) {
  .mtc-detail-rc-layout {
    gap: 14px;
  }

  .mtc-detail-rc-layout__main {
    gap: 14px;
  }

  .mtc-detail-rc-summary__score {
    font-size: 40px;
  }

  .mtc-detail-star-input__btn .mtc-detail-star-icon {
    width: 22px;
    height: 22px;
  }
}

/* â”€â”€ Rating tab (mockup layout) â”€â”€ */
.mtc-detail-rating-tab {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mtc-detail-rating-tab__dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
}

.mtc-detail-rating-tab__panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--detail-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtc-detail-rating-tab__score {
  display: block;
  margin-bottom: 8px;
  color: var(--detail-accent);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.mtc-detail-rating-tab__avg .mtc-detail-stars {
  margin-bottom: 8px;
}

.mtc-detail-rating-tab__status {
  display: block;
  margin-bottom: 6px;
  color: var(--detail-accent);
  font-size: 14px;
  font-weight: 600;
}

.mtc-detail-rating-tab__based {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.mtc-detail-rating-tab__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mtc-detail-rating-tab__bar-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.mtc-detail-rating-tab__bar-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.mtc-detail-rating-tab__bar-label .mtc-detail-star-icon {
  width: 14px;
  height: 14px;
  color: var(--detail-accent);
}

.mtc-detail-rating-tab__bar-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--detail-surface-2);
  overflow: hidden;
}

.mtc-detail-rating-tab__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--detail-accent);
}

.mtc-detail-rating-tab__bar-pct {
  color: var(--detail-text-muted);
  font-size: 11px;
  text-align: right;
}

.mtc-detail-rating-tab__dist-empty {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 13px;
}

.mtc-detail-rating-tab__compose {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
}

.mtc-detail-rating-tab__compose-lead {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.mtc-detail-rating-tab__member-review {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

.mtc-detail-rating-tab__member-review-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #38bdf8;
}

.mtc-detail-rating-tab__member-review-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mtc-detail-rating-tab__member-review-body {
  min-width: 0;
}

.mtc-detail-rating-tab__member-review-text {
  margin: 0;
  color: var(--detail-text);
  font-size: 14px;
  line-height: 1.45;
}

.mtc-detail-rating-tab__member-review-text strong {
  color: #38bdf8;
  font-weight: 700;
}

.mtc-detail-rating-tab__member-review-hint {
  margin: 4px 0 0;
  color: var(--detail-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.mtc-detail-rating-tab.has-member-review .mtc-detail-star-picker__label {
  color: var(--detail-text-muted);
}

.mtc-detail-rating-tab .mtc-detail-star-picker {
  gap: 6px;
}

.mtc-detail-rating-tab .mtc-detail-star-picker__label {
  font-size: 13px;
}

.mtc-detail-rating-tab .mtc-detail-star-picker__hint {
  min-height: 16px;
  font-size: 13px;
}

.mtc-detail-rating-tab .mtc-detail-star-picker__label-selected {
  display: none;
}

.mtc-detail-comment-form--rating-tab {
  gap: 12px;
  margin: 0;
}

.mtc-detail-comment-form--rating-tab .mtc-detail-comment-form__input {
  min-height: 120px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  font-size: 14px;
  line-height: 1.55;
}

.mtc-detail-comment-form__rating-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mtc-detail-comment-form--rating-tab .mtc-detail-comment-form__counter {
  position: static;
  color: var(--detail-text-muted);
  font-size: 12px;
}

.mtc-detail-comment-form__submit--rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--detail-accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mtc-detail-comment-form__submit--rating svg {
  width: 16px;
  height: 16px;
}

.mtc-detail-comment-form__submit--rating:hover:not(:disabled) {
  filter: brightness(1.06);
}

.mtc-detail-comment-form__submit--rating:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.mtc-detail-rating-tab__reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.mtc-detail-rating-tab__reviews-title {
  margin: 0;
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mtc-detail-rating-tab__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mtc-detail-rating-tab__sort-label {
  color: var(--detail-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.mtc-detail-rating-tab__sort-select {
  min-width: 148px;
  min-height: 34px;
  padding: 0 28px 0 10px;
  border-radius: 10px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239aa4b2'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px 16px;
}

.mtc-detail-rating-tab__sort-select:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.45);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.mtc-detail-rating-tab__sort-select option {
  background: var(--detail-surface);
  color: var(--detail-text);
}

.mtc-detail-rating-tab__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mtc-detail-comment-item--review {
  position: relative;
  padding: 14px 36px 14px 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
}

.mtc-detail-comment-item--review .mtc-detail-comment-item__name {
  font-weight: 700;
}

.mtc-detail-comment-item--review .mtc-detail-comment-item__text {
  font-size: 14px;
  line-height: 1.6;
}

.mtc-detail-comment-item__action--like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mtc-detail-comment-item__action--like svg {
  width: 14px;
  height: 14px;
}

.mtc-detail-comment-item__menu {
  position: absolute;
  top: 12px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--detail-text-muted);
  cursor: pointer;
}

.mtc-detail-comment-item__menu svg {
  width: 16px;
  height: 16px;
}

.mtc-detail-comment-item__menu:hover {
  background: var(--detail-surface-2);
  color: var(--detail-text);
}

.mtc-detail-comment-reply {
  margin: 8px 0 0 48px;
  padding: 12px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface-2);
}

.reply-list > .mtc-detail-comment-reply,
.mtc-detail-comment-reply--nested {
  margin-left: 0;
  margin-top: 10px;
  margin-bottom: 0;
}

.mtc-detail-comment-reply--review {
  margin-left: 48px;
}

.mtc-detail-comment-reply__input {
  display: block;
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--detail-border);
  border-radius: 10px;
  background: var(--detail-surface);
  color: var(--detail-text);
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.mtc-detail-comment-reply__input:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.4);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.mtc-detail-comment-reply__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 12px;
  margin-top: 10px;
}

.mtc-detail-comment-reply__footer .mtc-detail-comment-reply__toggle {
  margin-right: auto;
}

.mtc-detail-comment-reply__counter {
  color: var(--detail-text-muted);
  font-size: 12px;
}

.mtc-detail-comment-reply__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mtc-detail-comment-reply__cancel,
.mtc-detail-comment-reply__submit {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mtc-detail-comment-reply__cancel {
  border: 1px solid var(--detail-border);
  background: transparent;
  color: var(--detail-text-muted);
}

.mtc-detail-comment-reply__cancel:hover {
  color: var(--detail-text);
  background: var(--detail-surface);
}

.mtc-detail-comment-reply__submit {
  border: 0;
  background: linear-gradient(135deg, var(--accent-hot-dark) 0%, var(--detail-accent) 100%);
  color: var(--on-accent);
}

.mtc-detail-comment-reply__submit:hover {
  filter: brightness(1.06);
}

.mtc-detail-comment-item__action.is-active {
  color: var(--detail-accent);
}

.mtc-detail-comment-load-more {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mtc-detail-comment-load-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 32px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--accent-hot-rgb), 0.14);
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, filter 0.15s ease;
}

.mtc-detail-comment-load-more__btn[hidden] {
  display: none !important;
}

.mtc-detail-comment-load-more__btn svg {
  width: 14px;
  height: 14px;
}

.mtc-detail-comment-load-more__btn:hover {
  background: rgba(var(--accent-hot-rgb), 0.22);
  filter: brightness(1.04);
}

.mtc-detail-rating-tab .mtc-detail-comment-empty {
  padding: 28px 16px;
  border: 1px dashed var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
  text-align: center;
}

@media (max-width: 767px) {
  .mtc-detail-rating-tab {
    gap: 12px;
  }

  .mtc-detail-rating-tab__dashboard {
    grid-template-columns: 1fr;
    padding: 12px;
    margin-bottom: 0;
  }

  .mtc-detail-rating-tab__score {
    font-size: 36px;
  }

  .mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__compose,
  .mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__reviews,
  .mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-rating-tab__reviews {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__compose {
    margin-bottom: 0;
  }

  .mtc-detail-rating-tab__compose {
    padding: 14px 12px;
    gap: 10px;
  }

  .mtc-detail-rating-tab__compose-lead {
    font-size: 13px;
    line-height: 1.4;
  }

  .mtc-detail-rating-tab__member-review {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .mtc-detail-rating-tab__member-review-icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
  }

  .mtc-detail-rating-tab__member-review-body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mtc-detail-rating-tab__member-review-text {
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mtc-detail-rating-tab__member-review-hint {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mtc-detail-rating-tab__reviews {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mtc-detail-rating-tab__reviews-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--detail-border);
  }

  .mtc-detail-rating-tab__reviews-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mtc-detail-rating-tab__sort {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 6px;
  }

  .mtc-detail-rating-tab__sort-select {
    min-width: 112px;
    min-height: 32px;
    font-size: 11px;
    padding-right: 26px;
  }

  .mtc-detail-rating-tab__sort-label {
    font-size: 11px;
  }

  .mtc-detail-rating-tab__list {
    gap: 10px;
    margin-top: 2px;
  }

  .mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__list,
  .mtc-detail-tabs__panel[data-detail-panel="comments"] .mtc-detail-rating-tab__list {
    gap: 10px;
  }

  .mtc-detail-rating-tab__reviews .mtc-detail-comment-thread {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .mtc-detail-rating-tab__reviews .mtc-detail-comment-item {
    padding: 0;
    border-bottom: 0;
  }

  .mtc-detail-rating-tab__reviews .mtc-detail-comment-item--review {
    padding: 12px;
    border-radius: 10px;
  }

  .mtc-detail-tabs__panel[data-detail-panel="rating"] .mtc-detail-rating-tab__reviews .mtc-detail-comment-thread .mtc-detail-comment-item--review {
    padding: 12px;
  }

  .mtc-detail-rating-tab__reviews .mtc-detail-comment-load-more {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--detail-border);
  }

  .mtc-detail-rating-tab .mtc-detail-comment-empty {
    margin-top: 4px;
    padding: 18px 12px;
  }

  .mtc-detail-comment-form__rating-footer {
    flex-direction: column;
    align-items: stretch;
  }

}

/* Detail tabs â€” inline header row (title left, pill nav right) â€” tablet + desktop */
@media (min-width: 768px) {
  .motchill-page-detail .mtc-detail-tabs__head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .motchill-page-detail .mtc-detail-tabs__heading {
    width: auto !important;
    max-width: 42% !important;
    flex: 0 1 auto !important;
  }

  .motchill-page-detail .mtc-detail-tabs__nav {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    max-width: min(100%, 680px) !important;
    flex: 0 1 auto !important;
    margin-left: auto !important;
    border-radius: 10px !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab {
    flex-direction: row !important;
    flex: 0 0 auto !important;
    border-radius: 8px !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab.is-active {
    color: var(--detail-accent) !important;
    background: #ffffff !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg path,
  .motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg polygon,
  .motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg circle,
  .motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-icon svg rect {
    fill: currentColor !important;
    stroke: none !important;
  }
}

@media (max-width: 767px) {
  .motchill-page-detail .mtc-detail-tabs__head {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .motchill-page-detail .mtc-detail-tabs__heading {
    max-width: 100% !important;
  }

  .motchill-page-detail .mtc-detail-tabs__nav {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    justify-content: space-between !important;
    padding: 0 0 12px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab {
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 4px 2px 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab-label {
    display: none !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab.is-active {
    color: var(--detail-accent) !important;
    background: transparent !important;
  }

  .motchill-page-detail .mtc-detail-tabs__tab.is-active .mtc-detail-tabs__tab-indicator {
    display: flex !important;
  }
}

/* Detail page â€” tablet (768â€“991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .motchill-page-detail .detail-card.mtc-detail-hero {
    padding: 16px 18px;
  }

  .mtc-detail-hero__grid {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .mtc-detail-hero__poster-wrap {
    width: 168px;
    max-width: 168px;
  }

  .mtc-detail-hero__poster {
    width: 168px;
    min-height: calc(168px * 3 / 2);
    border-radius: 14px;
  }

  .mtc-detail-hero__body-wrap {
    min-height: 0;
    max-width: none;
    padding: 4px 0 0;
    justify-content: flex-start;
  }

  .mtc-detail-hero__title {
    font-size: clamp(22px, 3.2vw, 28px);
    margin-bottom: 8px;
  }

  .mtc-detail-hero__origin {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .mtc-detail-hero__rating-row {
    margin-bottom: 12px;
  }

  .mtc-detail-hero__people {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
    margin-top: 12px;
    padding-top: 12px;
  }

  .mtc-detail-hero__people-col--director {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
  }

  .mtc-detail-hero__people--director-only .mtc-detail-hero__people-col--director {
    border-top: none;
    padding-top: 0;
  }

  .mtc-detail-hero__people-label {
    font-size: 11px;
  }

  .mtc-detail-hero__people-chip,
  .mtc-detail-hero__people-value {
    font-size: 12px;
  }

  .mtc-detail-hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px 12px;
    margin-top: 16px;
  }

  .mtc-detail-hero__actions > .common-action-button--primary {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    gap: 8px;
    justify-content: center;
    margin-bottom: 2px;
  }

  .mtc-detail-hero__actions > .common-action-button:not(.common-action-button--primary),
  .mtc-detail-hero__actions > .motchill-favorite-btn {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 44px;
    padding: 8px 6px;
    gap: 8px;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
    background: var(--detail-surface) !important;
    border: 1px solid var(--detail-border-strong) !important;
    box-shadow: none;
    color: var(--detail-text);
  }

  .mtc-detail-hero__actions > .common-action-button:not(.common-action-button--primary):hover,
  .mtc-detail-hero__actions > .motchill-favorite-btn:hover {
    background: var(--detail-surface-hover) !important;
    border-color: rgba(245, 165, 36, 0.35) !important;
    color: var(--detail-text);
  }

  .mtc-detail-hero__actions > .common-action-button--ghost.is-active,
  .mtc-detail-hero__actions > .motchill-favorite-btn.is-active {
    background: var(--detail-surface) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
  }

  .mtc-detail-hero__actions > .common-action-button--ghost.is-active:hover,
  .mtc-detail-hero__actions > .motchill-favorite-btn.is-active:hover {
    background: var(--detail-surface-hover) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  .mtc-detail-hero__actions > .common-action-button--primary .common-action-button__label {
    display: inline !important;
    font-size: 14px;
    font-weight: 600;
  }

  .mtc-detail-hero__actions > .common-action-button:not(.common-action-button--primary) .common-action-button__label,
  .mtc-detail-hero__actions > .motchill-favorite-btn .motchill-favorite-btn__label {
    display: block !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--detail-text-muted, rgba(255, 255, 255, 0.72));
  }

  .mtc-detail-hero__actions .common-action-button--primary .common-action-button__icon {
    width: 20px;
    height: 20px;
  }

  .mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary) .common-action-button__icon,
  .mtc-detail-hero__actions .motchill-favorite-btn .mtc-icon,
  .mtc-detail-hero__actions .motchill-favorite-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .mtc-detail-hero__actions .common-action-button:not(.common-action-button--primary) .common-action-button__icon.fa-solid {
    width: auto;
    height: auto;
    font-size: 24px;
  }

  .mtc-detail-hero__actions .common-action-button__icon--telegram,
  .mtc-detail-hero__actions .common-action-button__icon--telegram {
    width: 24px;
    height: 24px;
  }

  .motchill-page-detail .common-action-button--ghost .common-action-button__icon,
  .motchill-page-detail .common-action-button--ghost .mtc-icon,
  .motchill-page-detail .common-action-button--ghost.motchill-favorite-btn svg {
    width: 24px;
    height: 24px;
  }

  .motchill-page-detail .common-action-button--ghost .common-action-button__icon.fa-solid {
    font-size: 24px;
  }

  .motchill-page-detail .detail-card.mtc-detail-panel,
  .motchill-page-detail .detail-card.mtc-detail-notice {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .motchill-page-detail .mtc-detail-episodes {
    padding: 14px 16px;
  }

  .mtc-detail-episodes__grid {
    grid-template-columns: repeat(auto-fill, 36px);
    gap: 6px;
  }

  .mtc-detail-episodes__chip {
    width: 36px;
    height: 36px;
    max-width: 36px;
    font-size: 11px;
  }

  .motchill-page-detail .mtc-detail-related-carousel,
  .motchill-page-detail .motchill-home-layout__main .motchill-recommended-carousel.mtc-detail-related-carousel {
    --carousel-visible: 3.5;
    --carousel-gap: 10px;
  }
}

/* â”€â”€ Share sheet (detail + player) â”€â”€ */
body.motchill-share-open {
  overflow: hidden;
}

.motchill-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  pointer-events: none;
}

.motchill-share-sheet.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  pointer-events: auto;
}

.motchill-share-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.motchill-share-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(86vh, 640px);
  margin: 0;
  padding: 14px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--bg-header, #101820);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
  transform: none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.motchill-share-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.motchill-share-sheet__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #fff);
}

.motchill-share-sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, rgba(255, 255, 255, 0.72));
  cursor: pointer;
}

.motchill-share-sheet__close svg {
  width: 18px;
  height: 18px;
}

.motchill-share-sheet__subtitle {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.motchill-share-sheet__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.motchill-share-sheet__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease;
}

.motchill-share-sheet__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.motchill-share-sheet__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
}

.motchill-share-sheet__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.motchill-share-sheet__close-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.motchill-share-sheet__icon--facebook { background: #1877f2; }
.motchill-share-sheet__icon--messenger { background: linear-gradient(135deg, #0099ff, #a033ff); }
.motchill-share-sheet__icon--zalo { background: #0068ff; }
.motchill-share-sheet__icon--telegram { background: #229ed9; }
.motchill-share-sheet__icon--twitter { background: #000; border: 1px solid rgba(255, 255, 255, 0.16); }
.motchill-share-sheet__icon--whatsapp { background: #25d366; }
.motchill-share-sheet__icon--copy {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #fff);
}

.motchill-share-sheet__label {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  color: var(--text-secondary, rgba(255, 255, 255, 0.78));
}

.motchill-share-sheet__link-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text-secondary, rgba(255, 255, 255, 0.72));
  font-size: 12px;
}

.motchill-share-sheet__link-input:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.45);
}

.motchill-toast-stack {
  position: fixed;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

body.dock-nav-visible .motchill-toast-stack {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.motchill-toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 28px));
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(16, 24, 32, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  color: #fff;
  opacity: 0;
  transform: translateX(calc(100% + 20px));
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.motchill-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.motchill-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  flex-shrink: 0;
}

.motchill-toast__icon svg {
  width: 14px;
  height: 14px;
}

.motchill-toast--success .motchill-toast__icon {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.motchill-toast__text {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.motchill-toast--success {
  border-color: rgba(74, 222, 128, 0.28);
}

.motchill-toast--error .motchill-toast__icon {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}

.motchill-toast--error {
  border-color: rgba(248, 113, 113, 0.28);
}

.motchill-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.motchill-confirm-modal.is-open {
  display: flex;
}

.motchill-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.motchill-confirm-modal__panel {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--detail-border, rgba(255, 255, 255, 0.08));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--detail-surface, #101820);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
}

.motchill-confirm-modal__title {
  margin: 0 0 8px;
  color: var(--detail-text, #f5f7fa);
  font-size: 16px;
  font-weight: 700;
}

.motchill-confirm-modal__message {
  margin: 0 0 16px;
  color: var(--detail-text-muted, rgba(255, 255, 255, 0.72));
  font-size: 14px;
  line-height: 1.45;
}

.motchill-confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.motchill-confirm-modal__btn {
  min-width: 88px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--detail-border, rgba(255, 255, 255, 0.1));
  background: rgba(255, 255, 255, 0.04);
  color: var(--detail-text, #f5f7fa);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.motchill-confirm-modal__btn:hover {
  border-color: rgba(var(--accent-hot-rgb), 0.35);
  color: var(--detail-accent, #f5a524);
}

.motchill-confirm-modal__btn--danger {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.motchill-confirm-modal__btn--danger:hover {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

/* â”€â”€ Color harmony: unify legacy main.css coral with design tokens â”€â”€ */
.myui-panel__head .title a,
.myui-header__menu > li.active > a,
.myui-header__menu > li > a:hover,
.myui-vodlist__box:hover a,
.myui-movie-detail .title,
.list-movie-ajax .movie-item a:hover .movie-title-1,
.color-orange,
.motchill-header-modern a:hover:not(.mtc-btn):not(.mtc-vip-btn) {
  color: var(--accent-hot) !important;
}

a:hover {
  color: var(--accent-hot);
}

.movie-eps-item:hover {
  border-color: var(--accent-hot) !important;
}

.myui-movie-detail .title::after {
  background: var(--accent-hot) !important;
}

.btn-primary,
.myui-header__user a.btn {
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-hot-dark)) !important;
  box-shadow: 0 4px 10px rgba(var(--accent-hot-rgb), 0.28) !important;
}

/* Sidebar / section titles â€” one accent tone */
.motchill-trending__title,
.motchill-sidebar-list__title,
.mtc-sidebar-widget__title,
.trending-title,
.mtc-ranking-widget__title {
  color: var(--accent-hot) !important;
}

.motchill-sidebar-list__icon,
.motchill-trending__icon,
.mtc-ranking-widget__icon,
.trending-title__icon {
  color: var(--accent-hot-light) !important;
}

/* Trailer popup */
body.mtc-trailer-modal-open {
  overflow: hidden;
}

.mtc-trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  pointer-events: none;
}

.mtc-trailer-modal.is-open {
  display: block;
  pointer-events: auto;
}

.mtc-trailer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.mtc-trailer-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #0f141c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.mtc-trailer-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mtc-trailer-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.mtc-trailer-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.mtc-trailer-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mtc-trailer-modal__close svg {
  width: 18px;
  height: 18px;
}

.mtc-trailer-modal__body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.mtc-trailer-modal__iframe,
.mtc-trailer-modal__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.mtc-trailer-modal__empty {
  margin: 0;
  padding: 28px 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 767px) {
  .mtc-trailer-modal__panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .mtc-trailer-modal__head {
    padding: 12px 14px;
  }
}

/* â”€â”€ Static CMS pages (/trang/{slug}) â”€â”€ */
.mtc-static-page {
  position: relative;
  width: 100%;
  float: none;
  padding: 0;
}

.mtc-static-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 280px;
  background: var(--genre-glow);
  pointer-events: none;
}

.mtc-static-page__inner {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.mtc-static-page__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
}

.mtc-static-page__breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}

.mtc-static-page__breadcrumb-item a:hover {
  color: var(--accent, #e50914);
}

.mtc-static-page__breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.5;
}

.mtc-static-page__hero {
  margin-bottom: 24px;
}

.mtc-static-page__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary, #fff);
  line-height: 1.2;
}

.mtc-static-page__content {
  color: var(--text-secondary, #c8ced8);
  font-size: 15px;
  line-height: 1.75;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px 28px;
}

.mtc-static-page__content h2,
.mtc-static-page__content h3,
.mtc-static-page__content h4 {
  color: var(--text-primary, #fff);
  margin: 1.5em 0 0.75em;
  font-weight: 700;
}

.mtc-static-page__content h2:first-child,
.mtc-static-page__content h3:first-child,
.mtc-static-page__content p:first-child {
  margin-top: 0;
}

.mtc-static-page__content p {
  margin: 0 0 1em;
}

.mtc-static-page__content ul,
.mtc-static-page__content ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.mtc-static-page__content a {
  color: var(--accent, #e50914);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mtc-static-page__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .mtc-static-page__inner {
    padding: 16px 12px 36px;
  }

  .mtc-static-page__content {
    padding: 18px 16px;
    border-radius: 12px;
  }
}

/* â”€â”€ Home mobile polish â€” 3-col grid, sidebar tabs, footer accordion â”€â”€ */
@media (max-width: 767px) {
  .motchill-page-home {
    overflow-x: clip;
  }

  .motchill-home-section,
  .motchill-section-stack.mtc-movie-section,
  .motchill-section-stack.motchill-recommended {
    gap: 8px !important;
  }

}

/* Sidebar tab stack â€” phone + tablet (desktop â‰¥992 hiá»‡n táº¥t cáº£ widget) */
@media (max-width: 991px) {
  .motchill-home-layout__sidebar .motchill-sidebar-stack {
    display: block;
  }

  .mtc-home-sidebar-stack__tabs {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 12px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--mtc-border-soft);
    background: rgba(255, 255, 255, 0.03);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mtc-home-sidebar-stack__tabs::-webkit-scrollbar {
    display: none;
  }

  .mtc-home-sidebar-stack__tab {
    flex: 1 1 0;
    min-width: max-content;
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--mtc-text-secondary);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
  }

  .mtc-home-sidebar-stack__tab.is-active {
    background: rgba(var(--accent-rgb), 0.16);
    color: #fff;
  }

  .mtc-home-sidebar-stack__panel:not(.is-active) {
    display: none !important;
  }

  .mtc-home-sidebar-stack__panel.is-active {
    display: block;
  }

  .mtc-home-sidebar-stack .mtc-ranking-widget__head {
    display: block !important;
    padding: 12px 0 0 !important;
    margin-bottom: 10px;
  }

  .mtc-home-sidebar-stack .mtc-ranking-widget__title,
  .mtc-home-sidebar-stack .mtc-ranking-widget .mtc-sidebar-widget__title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  .mtc-home-sidebar-stack .mtc-ranking-widget__icon,
  .mtc-home-sidebar-stack .mtc-ranking-widget .motchill-sidebar-list__icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }

  .mtc-home-sidebar-stack .mtc-top-widget .myui-panel_hd,
  .mtc-home-sidebar-stack .mtc-top-widget .motchill-sidebar-list__head {
    display: block !important;
    padding: 12px 14px 0 !important;
  }

  .mtc-home-sidebar-stack .mtc-top-widget .motchill-sidebar-list__title,
  .mtc-home-sidebar-stack .mtc-top-widget .mtc-sidebar-widget__title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  .mtc-home-sidebar-stack .mtc-top-widget .motchill-sidebar-list__icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }

  .mtc-home-sidebar-stack .motchill-trending .trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .mtc-home-sidebar-stack .motchill-trending .trending-header .motchill-trending__title,
  .mtc-home-sidebar-stack .motchill-trending .trending-header .trending-title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  .mtc-home-sidebar-stack .motchill-trending .trending-header .motchill-trending__icon,
  .mtc-home-sidebar-stack .motchill-trending .trending-header .trending-title__icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }

  .mtc-home-sidebar-stack .trending-updated {
    margin-top: 0;
    font-size: 11px;
    line-height: 1.2;
    flex-shrink: 0;
  }
}

@media (min-width: 992px) {
  .mtc-home-sidebar-stack__tabs {
    display: none;
  }

  .mtc-home-sidebar-stack__panel {
    display: block !important;
  }

  .mtc-home-sidebar-stack__panel[hidden] {
    display: block !important;
  }
}

@media (max-width: 359px) {
  .container:has(.motchill-page-home) {
    padding-left: 10px;
    padding-right: 10px;
  }

  .motchill-page-home {
    --mtc-mh-grid-gap: 8px 6px;
  }
}

/* â”€â”€ Poster lock (cuá»‘i file) â€” ghi Ä‘Ã¨ premium/modern; hover scale 1.02 trong clip â”€â”€ */
.motchill-home-layout__main .motchill-home-section__thumb :is(img.motchill-thumb-media, .motchill-thumb-media),
.motchill-home-layout__main .motchill-recommended__thumb :is(img.motchill-thumb-media, .motchill-recommended__thumb-media),
.motchill-page-detail .mtc-detail-related .motchill-recommended__thumb :is(img.motchill-thumb-media, .motchill-thumb-media),
.motchill-catalog-page .motchill-movie-card__thumb :is(img.motchill-thumb-media, .motchill-thumb-media) {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  transform: none !important;
  will-change: auto !important;
}

@media (hover: hover) and (pointer: fine) {
  .motchill-home-section__box:hover :is(.motchill-thumb-media, .motchill-home-section__thumb-media),
  .motchill-recommended__box:hover :is(.motchill-thumb-media, .motchill-recommended__thumb-media),
  .motchill-card:hover :is(.motchill-thumb-media, .motchill-home-section__thumb-media),
  .film-list .myui-vodlist__box:hover img.motchill-thumb-media,
  .motchill-home-layout__main .mtc-movie-card:hover img.motchill-thumb-media,
  .motchill-page-detail .mtc-detail-related .mtc-movie-card:hover img.motchill-thumb-media,
  .motchill-catalog-page .mtc-movie-card:hover img.motchill-thumb-media {
    transform: scale(1.02) !important;
  }
}

/* â”€â”€ Sidebar stats thumb lock â€” trending / ranking / top phim list Ä‘á»“ng bá»™ 52Ã—70 â”€â”€ */
:is(
  .motchill-sidebar-stack,
  .mtc-home-sidebar-stack,
  .motchill-trending.trending-widget,
  .mtc-ranking-widget,
  .mtc-top-widget
) :is(
  img.compact-thumb,
  img.motchill-trending__thumb,
  img.mtc-ranking-list__thumb,
  .mtc-top-list img.motchill-sidebar-list__thumb-media
) {
  display: block !important;
  width: 52px !important;
  height: 70px !important;
  max-width: 52px !important;
  max-height: 70px !important;
  min-width: 52px !important;
  min-height: 70px !important;
  flex: 0 0 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  object-position: center top !important;
  overflow: hidden;
  box-sizing: border-box;
}

:is(
  .motchill-sidebar-stack,
  .mtc-home-sidebar-stack,
  .mtc-top-widget
) .mtc-top-list .motchill-sidebar-list__thumb {
  width: 52px !important;
  height: 70px !important;
  max-width: 52px !important;
  max-height: 70px !important;
  min-width: 52px !important;
  min-height: 70px !important;
  flex: 0 0 52px !important;
  aspect-ratio: unset !important;
  border-radius: 8px !important;
}

@media (min-width: 992px) {
  :is(
    .trending-compact-item,
    .motchill-trending.trending-widget .motchill-trending__item,
    .mtc-ranking-list__item,
    .mtc-top-list .motchill-sidebar-list__item
  ) {
    grid-template-columns: 30px 52px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    column-gap: 8px !important;
  }

  .mtc-top-featured {
    grid-template-columns: 58px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    column-gap: 10px !important;
    min-height: 70px !important;
  }

  .mtc-top-featured__thumb,
  .mtc-top-featured__thumb-img {
    width: 58px !important;
    height: 78px !important;
    max-width: 58px !important;
    max-height: 78px !important;
    min-width: 58px !important;
    min-height: 78px !important;
    flex: 0 0 58px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* Grid lock â€” mobile/tablet: cá»™t thumb khá»›p kÃ­ch thÆ°á»›c áº£nh, giá»¯ gap */
@media (max-width: 991px) {
  :is(
    .trending-compact-item,
    .motchill-trending.trending-widget .motchill-trending__item,
    .mtc-ranking-list__item,
    .mtc-top-list .motchill-sidebar-list__item
  ) {
    grid-template-columns: 26px 46px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    column-gap: 8px !important;
  }
}

@media (max-width: 991px) {
  :is(
    .motchill-sidebar-stack,
    .mtc-home-sidebar-stack,
    .motchill-trending.trending-widget,
    .mtc-ranking-widget,
    .mtc-top-widget
  ) :is(
    img.compact-thumb,
    img.motchill-trending__thumb,
    img.mtc-ranking-list__thumb,
    .mtc-top-list img.motchill-sidebar-list__thumb-media
  ) {
    width: 46px !important;
    height: 62px !important;
    max-width: 46px !important;
    max-height: 62px !important;
    min-width: 46px !important;
    min-height: 62px !important;
    flex-basis: 46px !important;
  }

  :is(.motchill-sidebar-stack, .mtc-home-sidebar-stack, .mtc-top-widget)
    .mtc-top-list .motchill-sidebar-list__thumb {
    width: 46px !important;
    height: 62px !important;
    max-width: 46px !important;
    max-height: 62px !important;
    min-width: 46px !important;
    min-height: 62px !important;
    flex-basis: 46px !important;
  }

  .mtc-top-featured {
    grid-template-columns: 52px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    column-gap: 8px !important;
    min-height: 66px !important;
    padding: 7px 8px !important;
  }

  .mtc-top-featured__thumb,
  .mtc-top-featured__thumb-img {
    width: 52px !important;
    height: 70px !important;
    max-width: 52px !important;
    max-height: 70px !important;
    min-width: 52px !important;
    min-height: 70px !important;
    flex: 0 0 52px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .motchill-page-home :is(.motchill-sidebar-stack, .mtc-home-sidebar-stack) :is(
    img.compact-thumb,
    img.motchill-trending__thumb,
    img.mtc-ranking-list__thumb,
    .mtc-top-list img.motchill-sidebar-list__thumb-media
  ) {
    width: 56px !important;
    height: 76px !important;
    max-width: 56px !important;
    max-height: 76px !important;
    min-width: 56px !important;
    min-height: 76px !important;
    flex-basis: 56px !important;
  }

  .motchill-page-home :is(.motchill-sidebar-stack, .mtc-home-sidebar-stack)
    .mtc-top-list .motchill-sidebar-list__thumb {
    width: 56px !important;
    height: 76px !important;
    max-width: 56px !important;
    max-height: 76px !important;
    min-width: 56px !important;
    min-height: 76px !important;
    flex-basis: 56px !important;
  }

  .motchill-page-home :is(
    .trending-compact-item,
    .motchill-trending.trending-widget .motchill-trending__item,
    .mtc-ranking-list__item,
    .mtc-top-list .motchill-sidebar-list__item
  ) {
    grid-template-columns: 32px 56px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    column-gap: 10px !important;
  }

  .motchill-page-home .mtc-top-featured {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    column-gap: 10px !important;
    min-height: 78px !important;
    padding: 8px 10px !important;
  }

  .motchill-page-home .mtc-top-featured__thumb,
  .motchill-page-home .mtc-top-featured__thumb-img {
    width: 64px !important;
    height: 86px !important;
    max-width: 64px !important;
    max-height: 86px !important;
    min-width: 64px !important;
    min-height: 86px !important;
    flex: 0 0 64px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

@media (max-width: 767px) {
  .motchill-page-home :is(.motchill-sidebar-stack, .mtc-home-sidebar-stack) :is(
    img.compact-thumb,
    img.motchill-trending__thumb,
    img.mtc-ranking-list__thumb,
    .mtc-top-list img.motchill-sidebar-list__thumb-media
  ) {
    width: 56px !important;
    height: 76px !important;
    max-width: 56px !important;
    max-height: 76px !important;
    min-width: 56px !important;
    min-height: 76px !important;
    flex-basis: 56px !important;
  }

  .motchill-page-home :is(.motchill-sidebar-stack, .mtc-home-sidebar-stack)
    .mtc-top-list .motchill-sidebar-list__thumb {
    width: 56px !important;
    height: 76px !important;
    max-width: 56px !important;
    max-height: 76px !important;
    min-width: 56px !important;
    min-height: 76px !important;
    flex-basis: 56px !important;
  }

  .motchill-page-home :is(
    .trending-compact-item,
    .motchill-trending.trending-widget .motchill-trending__item,
    .mtc-ranking-list__item,
    .mtc-top-list .motchill-sidebar-list__item
  ) {
    grid-template-columns: 32px 56px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    column-gap: 10px !important;
  }

  .motchill-page-home .mtc-top-featured {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    column-gap: 10px !important;
    min-height: 78px !important;
    padding: 8px 10px !important;
  }

  .motchill-page-home .mtc-top-featured__thumb,
  .motchill-page-home .mtc-top-featured__thumb-img {
    width: 64px !important;
    height: 86px !important;
    max-width: 64px !important;
    max-height: 86px !important;
    min-width: 64px !important;
    min-height: 86px !important;
    flex: 0 0 64px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* â”€â”€ Header nav lock (cuá»‘i file) â€” table full-width, ghi Ä‘Ã¨ main.css float:left â”€â”€ */
@media (min-width: 992px) {
  .motchill-header-modern .nav__content .menu-block {
    width: 100% !important;
  }

  .motchill-header-modern .myui-header__menu.nav-menu,
  .motchill-header-modern .myui-header__menu {
    float: none !important;
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .motchill-header-modern .myui-header__menu > li {
    display: table-cell !important;
    float: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    text-align: center;
    vertical-align: middle;
  }

  .motchill-header-modern .myui-header__menu > li > a {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }
}