/*
 * BankMovie light-theme stabilization v145
 * Loaded after v144. It fixes mobile header/toggle geometry, contrast and
 * page-level consistency without changing the site's API or PHP behavior.
 */

/* --------------------------------------------------------------------------
   1. Header: deliberately dark translucent in both modes
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] #siteHeader,
html[data-bm-color-mode="light"] #siteHeader.header,
html[data-bm-color-mode="light"] #siteHeader.header-solid,
html[data-bm-color-mode="light"] #siteHeader.header-glass,
html[data-bm-color-mode="light"] #siteHeader.bm-smart-header,
html[data-bm-color-mode="light"] #siteHeader.bm-header-fixed-top {
  background:linear-gradient(180deg,rgba(5,9,16,.94),rgba(5,9,16,.78)) !important;
  border-bottom:1px solid rgba(255,255,255,.075) !important;
  box-shadow:0 12px 34px rgba(0,0,0,.18) !important;
  color:#fff !important;
  -webkit-backdrop-filter:blur(15px) saturate(125%) !important;
  backdrop-filter:blur(15px) saturate(125%) !important;
}
html[data-bm-color-mode="light"] body.has-hero #siteHeader:not(.header-scrolled) {
  background:linear-gradient(180deg,rgba(4,8,14,.92),rgba(4,8,14,.66)) !important;
}
html[data-bm-color-mode="light"] #siteHeader .desktop-nav-item,
html[data-bm-color-mode="light"] #siteHeader .user-trigger,
html[data-bm-color-mode="light"] #siteHeader .admin-panel-trigger,
html[data-bm-color-mode="light"] #siteHeader .notif-bell,
html[data-bm-color-mode="light"] #siteHeader .menu-btn,
html[data-bm-color-mode="light"] #siteHeader .bm-header-collection,
html[data-bm-color-mode="light"] #siteHeader .bm-header-search,
html[data-bm-color-mode="light"] #siteHeader .bm-header-search-content,
html[data-bm-color-mode="light"] #siteHeader .bm-header-search-label {
  color:#f7fbff !important;
}
html[data-bm-color-mode="light"] #siteHeader .desktop-nav-item:hover,
html[data-bm-color-mode="light"] #siteHeader .desktop-nav-item.active {
  color:#67b7ff !important;
  background:rgba(47,124,255,.14) !important;
}
html[data-bm-color-mode="light"] #siteHeader .notif-bell,
html[data-bm-color-mode="light"] #siteHeader .menu-btn,
html[data-bm-color-mode="light"] #siteHeader .bm-header-collection,
html[data-bm-color-mode="light"] #siteHeader .admin-panel-trigger,
html[data-bm-color-mode="light"] #siteHeader .user-trigger,
html[data-bm-color-mode="light"] #siteHeader .bm-header-search {
  background:rgba(8,14,25,.62) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 8px 22px rgba(0,0,0,.18) !important;
}
html[data-bm-color-mode="light"] #siteHeader .bm-header-search-dark {
  background:rgba(8,14,25,.92) !important;
}
html[data-bm-color-mode="light"] #siteHeader .bm-header-search-white {
  background:rgba(255,255,255,.05) !important;
}
html[data-bm-color-mode="light"] #siteHeader .bm-header-search-border {
  background:linear-gradient(90deg,#278cff,#8b5cff,#37c4ff) !important;
}
html[data-bm-color-mode="light"] #siteHeader .bm-header-search-content svg,
html[data-bm-color-mode="light"] #siteHeader .notif-bell svg,
html[data-bm-color-mode="light"] #siteHeader .menu-btn svg {
  stroke:currentColor !important;
  color:currentColor !important;
}
html[data-bm-color-mode="light"] .bm-header-logo-img {
  filter:drop-shadow(0 5px 13px rgba(0,0,0,.42)) !important;
}

/* --------------------------------------------------------------------------
   2. BB-8 toggle: valid fixed dimensions and a complete droid
   -------------------------------------------------------------------------- */
#siteHeader .bm-theme-control {
  --bb8-unit:4.55px;
  --bb8-height:6.35em;
  --bb8-ball:3.75em;
  --bb8-offset:calc((var(--bb8-height) - var(--bb8-ball))/2);
  width:52px !important;
  height:32px !important;
  min-width:52px !important;
  max-width:52px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  pointer-events:auto !important;
  flex:0 0 52px !important;
  margin:0 !important;
  padding:0 !important;
  font-size:var(--bb8-unit) !important;
  line-height:1 !important;
  isolation:isolate;
}
#siteHeader .bm-theme-control__scene {
  position:relative !important;
  width:10.625em !important;
  height:var(--bb8-height) !important;
  min-width:10.625em !important;
  min-height:var(--bb8-height) !important;
  overflow:hidden !important;
  flex:none !important;
  transform:none !important;
  border-width:.14em !important;
}
#siteHeader .bm-bb8 {
  top:.95em !important;
}
#siteHeader .bm-bb8__body {
  width:var(--bb8-ball) !important;
  height:var(--bb8-ball) !important;
}
#siteHeader .bm-bb8__shadow {
  bottom:.28em !important;
  width:var(--bb8-ball) !important;
}
#siteHeader .bm-theme-control:focus-visible {
  outline:2px solid #58aaff !important;
  outline-offset:3px !important;
  border-radius:999px !important;
}

/* --------------------------------------------------------------------------
   3. Light palette: stronger text and cleaner surfaces
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] {
  --bm-bg-0:#f4f7fb;
  --bm-bg-1:#edf2f7;
  --bm-surface:#fff;
  --bm-surface-soft:#f7f9fc;
  --bm-text:#111a29;
  --bm-text-2:#46556b;
  --bm-text-3:#718096;
  --bm-line:rgba(15,23,42,.11);
  --bg-primary:#f4f7fb;
  --bg-secondary:#fff;
  --bg-tertiary:#eef3f8;
  --bg-card:#fff;
  --text-primary:#111a29;
  --text-secondary:#46556b;
  --text-tertiary:#718096;
  --border-subtle:rgba(15,23,42,.11);
  --border-color:rgba(15,23,42,.11);
}
html[data-bm-color-mode="light"] body {
  color:#111a29 !important;
  background:
    radial-gradient(760px 440px at 95% -8%,rgba(47,124,255,.10),transparent 68%),
    radial-gradient(620px 420px at -5% 35%,rgba(124,92,255,.055),transparent 72%),
    linear-gradient(180deg,#f8fafc 0%,#f1f5f9 48%,#ebf0f6 100%) !important;
}
html[data-bm-color-mode="light"] body::before {
  opacity:.35 !important;
}
html[data-bm-color-mode="light"] body :is(h1,h2,h3,h4,h5,h6,.section-title,.page-title,.collection-title,.profile-name,.movie-title,.movie-title-fa,.grid-title-fa,.scroll-card-title-fa,.related-title-fa,.comment-username,.comments-header,.movie-info-title) {
  color:#111a29 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body :is(.page-desc,.section-subtitle,.collection-description,.grid-title-en,.scroll-card-title-en,.related-title-en,.grid-meta,.scroll-card-meta,.comment-guest-note,.empty-comments,.result-hint,.arc-hint) {
  color:#66758a !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body :is(.grid-item,.scroll-card,.movie-card,.collection-card,.a1-card,.related-card,.comment-card,.section,.panel,.card) {
  border-color:rgba(15,23,42,.10) !important;
}
html[data-bm-color-mode="light"] .grid-info,
html[data-bm-color-mode="light"] .scroll-card-info,
html[data-bm-color-mode="light"] .movie-info,
html[data-bm-color-mode="light"] .related-info {
  background:linear-gradient(180deg,#fff,#f8fafc) !important;
  color:#111a29 !important;
}

/* --------------------------------------------------------------------------
   4. Home page readability
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] body.has-hero .hero-title,
html[data-bm-color-mode="light"] body.has-hero .hero-desc,
html[data-bm-color-mode="light"] body.has-hero .hero-content,
html[data-bm-color-mode="light"] body.has-hero .hero-content *:not(.hero-btn):not(.imdb-logo) {
  color:#fff !important;
  text-shadow:0 3px 16px rgba(0,0,0,.45) !important;
}
html[data-bm-color-mode="light"] body.has-hero .hero-overlay {
  background:
    linear-gradient(90deg,rgba(4,8,15,.86),rgba(4,8,15,.40) 45%,rgba(4,8,15,.06) 72%),
    linear-gradient(0deg,#f1f5f9 0%,rgba(5,9,16,.48) 22%,transparent 55%) !important;
}
html[data-bm-color-mode="light"] .stories-title,
html[data-bm-color-mode="light"] .story-name,
html[data-bm-color-mode="light"] .section-title {
  color:#1b2638 !important;
}
html[data-bm-color-mode="light"] .filter-bar,
html[data-bm-color-mode="light"] .arc-switch-wrap,
html[data-bm-color-mode="light"] .genres-section,
html[data-bm-color-mode="light"] .countries-section {
  background:transparent !important;
  box-shadow:none !important;
  border-color:transparent !important;
}
html[data-bm-color-mode="light"] .arc-switch {
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 10px 30px rgba(25,45,74,.09) !important;
}
html[data-bm-color-mode="light"] .arc-tab {
  color:#526176 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] .arc-tab.arc-tab-active {
  color:#fff !important;
  background:linear-gradient(135deg,#247dff,#6c62ff) !important;
}
html[data-bm-color-mode="light"] .archive-guide-btn,
html[data-bm-color-mode="light"] .view-all-btn,
html[data-bm-color-mode="light"] .random-btn {
  color:#314158 !important;
  background:#fff !important;
  border-color:rgba(15,23,42,.11) !important;
  box-shadow:0 8px 22px rgba(24,44,72,.07) !important;
}
html[data-bm-color-mode="light"] .genre-chip,
html[data-bm-color-mode="light"] .country-chip,
html[data-bm-color-mode="light"] .type-btn:not(.active) {
  color:#314158 !important;
  background:#fff !important;
  border-color:rgba(15,23,42,.11) !important;
}
html[data-bm-color-mode="light"] .bm-support-card,
html[data-bm-color-mode="light"] .bm-support-banner {
  background:
    radial-gradient(circle at 12% 18%,rgba(var(--bm-support-rgb,47,124,255),.18),transparent 42%),
    linear-gradient(135deg,#ffffff,#edf4ff) !important;
  border-color:rgba(var(--bm-support-rgb,47,124,255),.23) !important;
  box-shadow:0 15px 38px rgba(27,47,75,.11),inset 0 1px rgba(255,255,255,.9) !important;
}
html[data-bm-color-mode="light"] .bm-support-title,
html[data-bm-color-mode="light"] .bm-support-banner__title {
  color:#172235 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] .bm-support-desc,
html[data-bm-color-mode="light"] .bm-support-banner__text {
  color:#526176 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] .bm-support-icon,
html[data-bm-color-mode="light"] .bm-support-btn,
html[data-bm-color-mode="light"] .bm-support-banner__btn,
html[data-bm-color-mode="light"] .bm-support-banner__eyebrow {
  color:#fff !important;
}

/* --------------------------------------------------------------------------
   5. Movie page: one dark cinematic zone + one light functional zone
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] body.movie-page {
  background:#edf2f7 !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-detail {
  color:#fff !important;
  background-color:#060a11 !important;
  border-color:rgba(255,255,255,.06) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.28) !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-detail :is(.movie-title-fa,.movie-title-en,.description,.movie-info-title,.movie-rating-section,.user-rating,.user-rating span) {
  color:#fff !important;
  text-shadow:0 3px 16px rgba(0,0,0,.48) !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-info-block {
  background:linear-gradient(145deg,rgba(4,8,15,.76),rgba(12,18,29,.62)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.04) !important;
  color:#fff !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-info-block .meta-item {
  background:rgba(255,255,255,.065) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:none !important;
  color:#fff !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-info-block .meta-item :is(.label,.value,a,span) {
  color:rgba(255,255,255,.91) !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-info-block .meta-item .label {
  color:rgba(255,255,255,.60) !important;
}
html[data-bm-color-mode="light"] body.movie-page .movie-info-block .meta-item svg {
  color:#57a9ff !important;
  stroke:#57a9ff !important;
}
html[data-bm-color-mode="light"] body.movie-page :is(.watchlist-btn,.share-btn,.back-btn,.btn-outline) {
  color:#fff !important;
  background:rgba(5,9,16,.70) !important;
  border-color:rgba(255,255,255,.13) !important;
}
html[data-bm-color-mode="light"] body.movie-page :is(.tabs,.movie-tabs,.tab-nav) {
  background:rgba(255,255,255,.96) !important;
  border-color:rgba(15,23,42,.10) !important;
  box-shadow:0 12px 34px rgba(24,44,72,.09) !important;
}
html[data-bm-color-mode="light"] body.movie-page :is(.download-section,.downloads-section,.subkade-box,.comments-section,.related-section,.suggestions-section,.episodes-section,.tab-content,.download-content,.episodes-container,.season-content) {
  background:#fff !important;
  color:#172235 !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 14px 38px rgba(24,44,72,.08) !important;
}
html[data-bm-color-mode="light"] body.movie-page :is(.download-section,.downloads-section,.subkade-box,.comments-section,.related-section,.suggestions-section,.episodes-section) :is(h1,h2,h3,h4,.section-title,.comments-header,.movie-info-title) {
  color:#172235 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body.movie-page :is(.download-section,.downloads-section,.subkade-box,.comments-section,.related-section,.suggestions-section,.episodes-section) :is(p,small,.comment-guest-note,.empty-comments,.related-title-en) {
  color:#64748b !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body.movie-page :is(.download-item,.download-row,.episode-item,.arc1-link-row,.arc1-ep-card,.season-panel,.season-header,.comment-card,.reply-item,.related-card,.bm-bulk-copy-bar) {
  background:#fff !important;
  color:#172235 !important;
  border-color:rgba(15,23,42,.10) !important;
  box-shadow:0 9px 25px rgba(25,45,74,.065) !important;
}
html[data-bm-color-mode="light"] body.movie-page .comment-form {
  background:#f6f8fb !important;
  border:1px solid rgba(15,23,42,.09) !important;
  color:#172235 !important;
}
html[data-bm-color-mode="light"] body.movie-page .comment-form :is(label,span,.comment-username,.star-rating-input) {
  color:#334258 !important;
}
html[data-bm-color-mode="light"] body.movie-page .comment-textarea,
html[data-bm-color-mode="light"] body.movie-page .bm-comment-sort,
html[data-bm-color-mode="light"] body.movie-page .subkade-input-group input {
  background:#fff !important;
  color:#172235 !important;
  border-color:rgba(15,23,42,.13) !important;
}
html[data-bm-color-mode="light"] body.movie-page .related-card :is(.related-title-fa,.related-title-en) {
  color:#172235 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body.movie-page .social-follow,
html[data-bm-color-mode="light"] body.movie-page .movie-social-box {
  background:linear-gradient(135deg,#fff,#f3f7fc) !important;
  color:#172235 !important;
  border-color:rgba(15,23,42,.10) !important;
}

/* --------------------------------------------------------------------------
   6. Profile: remove the gray shell and restore all hidden labels
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] body.profile-page .profile-hero {
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-bm-color-mode="light"] body.profile-page .profile-hero::before,
html[data-bm-color-mode="light"] body.profile-page .profile-hero-bg {
  display:none !important;
}
html[data-bm-color-mode="light"] body.profile-page .profile-hero-main {
  background:linear-gradient(145deg,#fff,#f6f9fd) !important;
  color:#172235 !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow:0 18px 50px rgba(24,44,72,.11) !important;
}
html[data-bm-color-mode="light"] body.profile-page .hero-avatar-card {
  background:linear-gradient(145deg,#edf2f7,#e5ebf3) !important;
  border-color:rgba(15,23,42,.09) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.8) !important;
}
html[data-bm-color-mode="light"] body.profile-page :is(.profile-name,.profile-username,.profile-kicker,.profile-info,.profile-info *, .mini-label,.section-title,.section-title-left,label) {
  color:#172235 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] body.profile-page .profile-username {
  color:#536176 !important;
}
html[data-bm-color-mode="light"] body.profile-page .profile-meta-row span {
  color:#526176 !important;
  background:#f5f8fc !important;
  border-color:rgba(15,23,42,.10) !important;
}
html[data-bm-color-mode="light"] body.profile-page .stat-badge {
  color:#314158 !important;
  background:#fff !important;
  border-color:rgba(15,23,42,.10) !important;
  box-shadow:0 8px 22px rgba(25,45,74,.07) !important;
}
html[data-bm-color-mode="light"] body.profile-page .stat-badge span {
  color:#247dff !important;
}
html[data-bm-color-mode="light"] body.profile-page :is(.profile-overview-grid,.overview-mini-card,.section,.profile-tabs) {
  background:#fff !important;
  color:#172235 !important;
  border-color:rgba(15,23,42,.10) !important;
  box-shadow:0 12px 34px rgba(24,44,72,.08) !important;
}
html[data-bm-color-mode="light"] body.profile-page .avatar-btn {
  color:#314158 !important;
  background:rgba(255,255,255,.76) !important;
  border-color:rgba(15,23,42,.10) !important;
}
html[data-bm-color-mode="light"] body.profile-page .profile-action-btn {
  color:#536176 !important;
}
html[data-bm-color-mode="light"] body.profile-page .profile-action-btn.active {
  color:#1767d7 !important;
  background:rgba(47,124,255,.10) !important;
}


html[data-bm-color-mode="light"] body :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) {
  color:#172235 !important;
  caret-color:#247dff !important;
}
html[data-bm-color-mode="light"] body :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select)::placeholder {
  color:#8793a5 !important;
  opacity:1 !important;
}
html[data-bm-color-mode="light"] body.profile-page :is(input,textarea,select) {
  background:#fff !important;
  color:#172235 !important;
  border-color:rgba(15,23,42,.13) !important;
}
html[data-bm-color-mode="light"] body.profile-page .overview-mini-card strong,
html[data-bm-color-mode="light"] body.profile-page .overview-mini-card .mini-label {
  color:#172235 !important;
}

/* --------------------------------------------------------------------------
   7. Collections, search and listing pages
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] .collection-hero-main,
html[data-bm-color-mode="light"] .premium-hero,
html[data-bm-color-mode="light"] .page-header {
  background:
    radial-gradient(circle at 88% 8%,rgba(47,124,255,.15),transparent 38%),
    linear-gradient(135deg,#fff,#eaf1fb) !important;
  border-color:rgba(15,23,42,.10) !important;
  box-shadow:0 16px 44px rgba(24,44,72,.09) !important;
}
html[data-bm-color-mode="light"] :is(.collection-hero-main,.premium-hero,.page-header) :is(.collection-title,.page-title,h1,h2) {
  color:#172235 !important;
  text-shadow:none !important;
}
html[data-bm-color-mode="light"] :is(.collection-hero-main,.premium-hero,.page-header) :is(p,.collection-description,.page-desc) {
  color:#5e6d82 !important;
}
html[data-bm-color-mode="light"] :is(.collections-search,.collection-search,.search-box,.search-section,.filter-section,.toolbar,.result-tools) {
  background:#fff !important;
  color:#172235 !important;
  border-color:rgba(15,23,42,.10) !important;
  box-shadow:0 10px 30px rgba(24,44,72,.07) !important;
}
html[data-bm-color-mode="light"] .breadcrumb,
html[data-bm-color-mode="light"] .page-breadcrumb {
  background:#111b2b !important;
  color:#dce7f5 !important;
  border-color:rgba(255,255,255,.08) !important;
}
html[data-bm-color-mode="light"] .breadcrumb *,
html[data-bm-color-mode="light"] .page-breadcrumb * {
  color:#dce7f5 !important;
}

/* --------------------------------------------------------------------------
   8. Bottom navigation: light but clearly separated
   -------------------------------------------------------------------------- */
html[data-bm-color-mode="light"] .bottom-nav,
html[data-bm-color-mode="light"] [data-mobile-bottom-nav] {
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(244,248,252,.98)) !important;
  border:1px solid rgba(15,23,42,.11) !important;
  box-shadow:0 16px 42px rgba(24,44,72,.16),inset 0 1px rgba(255,255,255,.95) !important;
}
html[data-bm-color-mode="light"] .bottom-nav .nav-item,
html[data-bm-color-mode="light"] [data-mobile-bottom-nav] .nav-item {
  color:#506078 !important;
}
html[data-bm-color-mode="light"] .bottom-nav .nav-item.active,
html[data-bm-color-mode="light"] [data-mobile-bottom-nav] .nav-item.active {
  color:#1767d7 !important;
  background:linear-gradient(145deg,#fff,#e8f1ff) !important;
  box-shadow:0 8px 22px rgba(47,124,255,.14) !important;
}

/* --------------------------------------------------------------------------
   9. Mobile header geometry and compact complete toggle
   -------------------------------------------------------------------------- */
@media (max-width:991px) {
  html[data-bm-color-mode="light"] #siteHeader,
  html[data-bm-color-mode="dark"] #siteHeader {
    background:linear-gradient(180deg,rgba(5,9,16,.91),rgba(5,9,16,.76)) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }
  html body #siteHeader .bm-header-collection {
    display:none !important;
  }
  html body #siteHeader .header-inner {
    overflow:visible !important;
  }
  html body #siteHeader .header-actions {
    overflow:visible !important;
  }
  html body #siteHeader .bm-theme-control {
    --bb8-unit:3.8px;
    position:absolute !important;
    top:12px !important;
    left:56px !important;
    right:auto !important;
    z-index:8 !important;
    width:44px !important;
    height:34px !important;
    min-width:44px !important;
    max-width:44px !important;
    flex:none !important;
    margin:0 !important;
    pointer-events:auto !important;
  }
  html body #siteHeader .bm-theme-control__scene {
    width:10.625em !important;
    height:var(--bb8-height) !important;
    min-width:10.625em !important;
    min-height:var(--bb8-height) !important;
  }
  html body #siteHeader .menu-btn,
  html body #siteHeader .notif-bell,
  html body #siteHeader .bm-header-search {
    color:#fff !important;
    background:rgba(8,14,25,.62) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:12px !important;
    box-shadow:inset 0 1px rgba(255,255,255,.04),0 6px 18px rgba(0,0,0,.16) !important;
  }
  html body #siteHeader .bm-header-search-glow,
  html body #siteHeader .bm-header-search-white,
  html body #siteHeader .bm-header-search-border,
  html body #siteHeader .bm-header-search-dark {
    display:none !important;
  }
  html body #siteHeader .bm-header-search-content {
    padding:0 !important;
    justify-content:center !important;
  }
  html body #siteHeader .bm-header-search-label {
    display:none !important;
  }
  html[data-bm-color-mode="light"] body.movie-page .movie-info-block {
    background:rgba(5,9,16,.80) !important;
  }
  html[data-bm-color-mode="light"] body.profile-page .profile-hero {
    padding:0 !important;
  }
  html[data-bm-color-mode="light"] body.profile-page .profile-hero-main {
    border-radius:24px !important;
    padding:18px !important;
  }
}

@media (max-width:420px) {
  html body #siteHeader .bm-theme-control {
    --bb8-unit:3.55px;
    left:54px !important;
    width:41px !important;
    min-width:41px !important;
    max-width:41px !important;
  }
  html[data-bm-color-mode="light"] body.movie-page .movie-meta-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  html[data-bm-color-mode="light"] body.movie-page .meta-item {
    min-width:0 !important;
    padding:9px !important;
  }
  html[data-bm-color-mode="light"] body.movie-page .meta-item .value {
    overflow-wrap:anywhere !important;
  }
}

@media (max-width:350px) {
  html body #siteHeader .bm-theme-control {
    --bb8-unit:3.25px;
    left:51px !important;
    width:37px !important;
    min-width:37px !important;
    max-width:37px !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  #siteHeader .bm-theme-control *,
  html.bm-theme-ready * {
    animation-duration:.01ms !important;
  }
}
