/*
 * FilmParty Step 94 — Stable static topbar controls.
 * No JS injection. No Step85/Step93 dependency.
 */

:root {
  --fp-topbar-control-size: 42px;
  --fp-topbar-control-radius: 16px;
}

.topbar-glass {
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
}

.topbar-left,
.topbar-right {
  min-width: 0;
  box-sizing: border-box;
}

.topbar-left {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
}

.topbar-left > * {
  flex: 0 0 auto !important;
}

.search-open-btn,
.topbar-left .search-open-btn,
.topbar-left .catalog-top-link,
.topbar-left .fp-topbar-wallet-stable,
.notification-bell-shell.inside-topbar .notification-bell-btn {
  width: var(--fp-topbar-control-size) !important;
  min-width: var(--fp-topbar-control-size) !important;
  max-width: var(--fp-topbar-control-size) !important;
  height: var(--fp-topbar-control-size) !important;
  min-height: var(--fp-topbar-control-size) !important;
  max-height: var(--fp-topbar-control-size) !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: var(--fp-topbar-control-radius) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045)) !important;
  color: rgba(255,255,255,.94) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
  backdrop-filter: blur(16px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;
  text-decoration: none !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.search-open-btn,
.topbar-left .search-open-btn {
  order: 10 !important;
  font-size: 0 !important;
}

.notification-bell-shell.inside-topbar {
  order: 20 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: var(--fp-topbar-control-size) !important;
  height: var(--fp-topbar-control-size) !important;
  min-width: var(--fp-topbar-control-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 30 !important;
}

.topbar-left .fp-topbar-wallet-stable {
  order: 39 !important;
  position: relative !important;
  font-size: 0 !important;
  color: rgba(255,255,255,.96) !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  border-radius: 17px !important;
}

.topbar-left .fp-topbar-wallet-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  color: #fff !important;
}

.topbar-left .fp-topbar-wallet-icon svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.18));
}

.topbar-left .fp-topbar-wallet-stable.is-locked {
  opacity: 0.48 !important;
  color: rgba(255,255,255,.72) !important;
}

.topbar-left .fp-topbar-wallet-stable.is-locked .fp-topbar-wallet-icon svg {
  filter: none !important;
}

.topbar-left .fp-topbar-wallet-badge {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  max-width: 72px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #111827 !important;
  background: linear-gradient(135deg, #fbbf24, #fde68a) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.28) !important;
  pointer-events: none !important;
}

.topbar-left .catalog-top-link {
  order: 40 !important;
  font-size: 0 !important;
}

.search-open-btn::before,
.topbar-left .search-open-btn::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 999px;
  display: block;
  box-sizing: border-box;
  transform: translate(-1px, -1px);
}

.search-open-btn::after,
.topbar-left .search-open-btn::after {
  content: "";
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: absolute;
  transform: translate(9px, 10px) rotate(45deg);
  transform-origin: center;
}

.topbar-left .catalog-top-link::before {
  content: "";
  width: 17px;
  height: 14px;
  display: block;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 5px 5px;
  transform: translateY(3px);
}

.topbar-left .catalog-top-link::after {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-5px) rotate(45deg);
  border-radius: 2px;
}

.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon,
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell {
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  transform: none !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
}

.notification-badge {
  pointer-events: none !important;
}

.search-open-btn:hover,
.topbar-left .catalog-top-link:hover,
.topbar-left .fp-topbar-wallet-stable:hover,
.notification-bell-shell.inside-topbar .notification-bell-btn:hover {
  border-color: rgba(255,255,255,.26) !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.23), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.145), rgba(255,255,255,.06)) !important;
  box-shadow:
    0 16px 38px rgba(0,0,0,.36),
    0 0 24px rgba(59,130,246,.18),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.fp-topbar-control-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Hard safety: old injected plus classes must never be visible again. */
.fp-topbar-invite-plus,
.fp-step93-invite-plus,
[data-fp-step85-invite-plus],
[data-step93-created-invite],
.fp-step93-invite-duplicate-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 720px) {:root {
    --fp-topbar-control-size: 40px;
    --fp-topbar-control-radius: 15px;
  }

.topbar-glass {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    overflow: visible !important;
  }

.topbar-left {
    gap: 6px !important;
    overflow: visible !important;
  }

.topbar-right {
    min-width: 0 !important;
    overflow: hidden !important;
  }

.brand-small,
.topbar-brand,
.topbar-title {
    max-width: 132px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {:root {
    --fp-topbar-control-size: 38px;
    --fp-topbar-control-radius: 14px;
  }

.topbar-left {
    gap: 5px !important;
  }

.brand-small,
.topbar-brand,
.topbar-title {
    max-width: 112px !important;
  }
}

/* FILMPARTY STEP95 — correct topbar visual order */
.topbar-left {
  direction: ltr !important;
  justify-content: flex-start !important;
}

.topbar-left .search-open-btn,
.search-open-btn {
  order: 10 !important;
}

.notification-bell-shell.inside-topbar {
  order: 30 !important;
}

.topbar-left .catalog-top-link {
  order: 40 !important;
}

/* Keep topbar controls consistent */
.topbar-left .search-open-btn,
.search-open-btn,
.notification-bell-shell.inside-topbar .notification-bell-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Simple magnifier: hide text/symbol and draw with CSS */
.topbar-left .search-open-btn,
.search-open-btn {
  font-size: 0 !important;
  color: rgba(255,255,255,.92) !important;
}

.topbar-left .search-open-btn > *,
.search-open-btn > * {
  display: none !important;
}

.topbar-left .search-open-btn::before,
.search-open-btn::before {
  content: "" !important;
  position: absolute !important;
  width: 17px !important;
  height: 17px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -9px !important;
  margin-top: -10px !important;
  border: 2px solid currentColor !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.topbar-left .search-open-btn::after,
.search-open-btn::after {
  content: "" !important;
  position: absolute !important;
  width: 9px !important;
  height: 2px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: 5px !important;
  margin-top: 6px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transform: rotate(45deg) !important;
  opacity: 1 !important;
}

/* Simple bell: disable old complicated icon pseudo-elements */
.notification-bell-shell.inside-topbar .notification-bell-btn {
  color: rgba(255,255,255,.92) !important;
  font-size: 0 !important;
}

.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon,
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  position: relative !important;
  color: currentColor !important;
  background: transparent !important;
  font-size: 0 !important;
}

.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon::before,
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon::after,
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell::before,
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell::after {
  content: none !important;
  display: none !important;
}

/* bell dome */
.notification-bell-shell.inside-topbar .notification-bell-btn::before {
  content: "" !important;
  position: absolute !important;
  width: 17px !important;
  height: 17px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -8.5px !important;
  margin-top: -10px !important;
  border: 2px solid currentColor !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 4px 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* bell bottom + clapper */
.notification-bell-shell.inside-topbar .notification-bell-btn::after {
  content: "" !important;
  position: absolute !important;
  width: 20px !important;
  height: 8px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -10px !important;
  margin-top: 5px !important;
  border-top: 2px solid currentColor !important;
  border-radius: 0 0 999px 999px !important;
  background:
    radial-gradient(circle at 50% 7px, currentColor 0 2px, transparent 2.6px) !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* keep notification badge visible */
.notification-bell-shell.inside-topbar .notification-badge {
  font-size: 10px !important;
  z-index: 5 !important;
}

@media (max-width: 640px) {
  .topbar-left .search-open-btn,
  .search-open-btn,
  .notification-bell-shell.inside-topbar .notification-bell-btn,
  .topbar-left .fp-topbar-wallet-stable {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }
}

/* FILMPARTY STEP97 — final topbar order + restored simple bell */

/*
 Visual order from the far-left edge:
 1) Home button,
only where it exists
 2) Search
 3) Notification
 4) Wallet
*/
.topbar-left {
  display: flex !important;
  flex-direction: row !important;
  direction: ltr !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.topbar-left .catalog-top-link {
  order: 10 !important;
}

.topbar-left .search-open-btn,
.search-open-btn {
  order: 20 !important;
}

.topbar-left .notification-bell-shell.inside-topbar,
.notification-bell-shell.inside-topbar {
  order: 30 !important;
}

/* Keep Persian text direction normal inside buttons/links if any label appears */
.topbar-left .catalog-top-link,
.topbar-left .notification-bell-shell,
.topbar-left .search-open-btn {
  direction: rtl !important;
}

/* Search: simple magnifier remains visible and centered */
.topbar-left .search-open-btn,
.search-open-btn {
  position: relative !important;
  font-size: 0 !important;
  color: rgba(255,255,255,.94) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
}

.topbar-left .search-open-btn::before,
.search-open-btn::before {
  content: "" !important;
  position: absolute !important;
  width: 17px !important;
  height: 17px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -9px !important;
  margin-top: -10px !important;
  border: 2px solid currentColor !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.topbar-left .search-open-btn::after,
.search-open-btn::after {
  content: "" !important;
  position: absolute !important;
  width: 9px !important;
  height: 2px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: 5px !important;
  margin-top: 6px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transform: rotate(45deg) !important;
  opacity: 1 !important;
}

/* Notification button: do not draw on the button itself; draw inside the icon span */
.notification-bell-shell.inside-topbar .notification-bell-btn {
  position: relative !important;
  font-size: 0 !important;
  color: rgba(255,255,255,.94) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Kill old button-level Step96 bell drawing so it cannot disappear behind layers */
.notification-bell-shell.inside-topbar .notification-bell-btn::before,
.notification-bell-shell.inside-topbar .notification-bell-btn::after {
  content: none !important;
  display: none !important;
}

/* Restore actual inner bell icon */
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon,
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell {
  position: relative !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  color: currentColor !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  overflow: visible !important;
  font-size: 0 !important;
  z-index: 2 !important;
}

/* Simple bell body */
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 3px !important;
  width: 15px !important;
  height: 16px !important;
  margin-left: -7.5px !important;
  border: 2px solid currentColor !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 5px 5px !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Simple bell bottom + clapper */
.notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 18px !important;
  width: 19px !important;
  height: 6px !important;
  margin-left: -9.5px !important;
  border-top: 2px solid currentColor !important;
  border-radius: 0 0 999px 999px !important;
  background:
    radial-gradient(circle at 50% 5px, currentColor 0 2px, transparent 2.7px) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Keep badge above the restored bell */
.notification-bell-shell.inside-topbar .notification-badge {
  z-index: 5 !important;
  font-size: 10px !important;
}

/* If home exists in the topbar,
keep it as the first left control */
.topbar-left .catalog-top-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  font-size: 0 !important;
}

/* Home icon drawn simply */
.topbar-left .catalog-top-link::before {
  content: "" !important;
  position: absolute !important;
  width: 17px !important;
  height: 13px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -8.5px !important;
  margin-top: -3px !important;
  border: 2px solid currentColor !important;
  border-top: 0 !important;
  border-radius: 3px 3px 5px 5px !important;
  box-sizing: border-box !important;
}

.topbar-left .catalog-top-link::after {
  content: "" !important;
  position: absolute !important;
  width: 12px !important;
  height: 12px !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -6px !important;
  margin-top: -10px !important;
  border-left: 2px solid currentColor !important;
  border-top: 2px solid currentColor !important;
  border-radius: 2px !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {.topbar-left {
    gap: 6px !important;
  }

.topbar-left .catalog-top-link,
.topbar-left .search-open-btn,
.search-open-btn,
.notification-bell-shell.inside-topbar .notification-bell-btn {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
}

/* FILMPARTY_STEP115_5_MOBILE_SUBSCRIPTION_TOPBAR_CTA_CSS_START
   Mobile-only subscription CTA inside the existing .topbar-left.
   Desktop remains hidden. No JS injection and no duplicated topbar controls.
*/
.topbar-left .fp-mobile-subscription-top-cta {
  display: none !important;
}

@media (max-width: 640px) {.topbar-left .fp-mobile-subscription-top-cta {
    order: 35 !important;
    width: auto !important;
    min-width: 88px !important;
    max-width: 118px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 10px !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;
    border-radius: var(--fp-topbar-control-radius, 15px) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background:
      radial-gradient(circle at 28% 18%, rgba(255,255,255,.20), transparent 34%),
      linear-gradient(135deg, rgba(245,158,11,.20), rgba(59,130,246,.10)),
      linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045)) !important;
    color: rgba(255,255,255,.96) !important;
    box-shadow:
      0 14px 32px rgba(0,0,0,.30),
      0 0 22px rgba(245,158,11,.12),
      inset 0 1px 0 rgba(255,255,255,.14) !important;
    backdrop-filter: blur(16px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;

    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

.topbar-left .fp-mobile-subscription-top-cta span {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: inherit !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }

.topbar-left .fp-mobile-subscription-top-cta:hover {
    border-color: rgba(255,255,255,.26) !important;
    background:
      radial-gradient(circle at 28% 18%, rgba(255,255,255,.25), transparent 34%),
      linear-gradient(135deg, rgba(245,158,11,.28), rgba(59,130,246,.14)),
      linear-gradient(135deg, rgba(255,255,255,.145), rgba(255,255,255,.06)) !important;
  }
}

@media (max-width: 390px) {.topbar-left .fp-mobile-subscription-top-cta {
    min-width: 76px !important;
    max-width: 92px !important;
    padding: 0 8px !important;
  }

.topbar-left .fp-mobile-subscription-top-cta span {
    font-size: 10px !important;
  }
}

/* FILMPARTY_STEP115_5_MOBILE_SUBSCRIPTION_TOPBAR_CTA_CSS_END */

/* FILMPARTY_STEP115_5C_PROFILE_MOBILE_TOPBAR_COMPACT_START
   Profile mobile topbar density fix — final choice.
   Logo stays hidden only on profile mobile pages.
   Subscription CTA keeps the nice text glass button and uses the freed logo space.
   No crown icon.
*/
@media (max-width: 640px) {
  .profile-modern-page .topbar-glass {
    justify-content: flex-start !important;
  }

  .profile-modern-page .topbar-right,
  .profile-modern-page .topbar-right .brand-small {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .profile-modern-page .topbar-left {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    overflow: visible !important;
  }

  .profile-modern-page .topbar-left .catalog-top-link,
  .profile-modern-page .topbar-left .search-open-btn,
  .profile-modern-page .topbar-left .topbar-back-link,
  .profile-modern-page .notification-bell-shell.inside-topbar .notification-bell-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 15px !important;
  }
}
/* FILMPARTY_STEP115_5C_PROFILE_MOBILE_TOPBAR_COMPACT_END */

/* FILMPARTY_STEP115_5E_PROFILE_SUBSCRIPTION_BRAND_SLOT_START
   Final placement fix:
   On profile mobile pages the FilmParty logo is hidden,
so the subscription CTA
   must occupy that freed right-side brand slot,
not stay among left controls.
*/
@media (max-width: 640px) {
  .profile-modern-page .topbar-left {
    width: 100% !important;
    flex: 1 1 auto !important;
  }

  .profile-modern-page .topbar-left .fp-mobile-subscription-top-cta {
    order: 100 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
    justify-self: flex-end !important;
  }
}

@media (max-width: 390px) {.profile-modern-page .topbar-left .fp-mobile-subscription-top-cta {
    min-width: 82px !important;
    max-width: 102px !important;
  }
}

/* FILMPARTY_STEP115_5E_PROFILE_SUBSCRIPTION_BRAND_SLOT_END */

/* FILMPARTY_STEP115_5F_SCROLLED_SEARCH_GLASS_FIX_START
   When app.js adds .is-scrolled to .topbar-glass,
keep the search button
   visually identical to the other glass controls. CSS-only; no JS/layout changes.
*/
.topbar-glass.is-scrolled .topbar-left .search-open-btn,
.topbar-glass.is-scrolled .search-open-btn,
.topbar-glass.is-scrolled button.search-open-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: var(--fp-topbar-control-size) !important;
  min-width: var(--fp-topbar-control-size) !important;
  max-width: var(--fp-topbar-control-size) !important;
  height: var(--fp-topbar-control-size) !important;
  min-height: var(--fp-topbar-control-size) !important;
  max-height: var(--fp-topbar-control-size) !important;

  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: var(--fp-topbar-control-radius) !important;
  border: 1px solid rgba(255,255,255,.16) !important;

  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045)) !important;

  color: rgba(255,255,255,.94) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.14) !important;

  backdrop-filter: blur(16px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;

  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-size: 0 !important;
  opacity: 1 !important;
}

.topbar-glass.is-scrolled .topbar-left .search-open-btn:hover,
.topbar-glass.is-scrolled .search-open-btn:hover,
.topbar-glass.is-scrolled button.search-open-btn:hover {
  border-color: rgba(255,255,255,.26) !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.23), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.145), rgba(255,255,255,.06)) !important;
  box-shadow:
    0 16px 38px rgba(0,0,0,.36),
    0 0 24px rgba(59,130,246,.18),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.topbar-glass.is-scrolled .topbar-left .search-open-btn::before,
.topbar-glass.is-scrolled .search-open-btn::before,
.topbar-glass.is-scrolled button.search-open-btn::before {
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
}

.topbar-glass.is-scrolled .topbar-left .search-open-btn::after,
.topbar-glass.is-scrolled .search-open-btn::after,
.topbar-glass.is-scrolled button.search-open-btn::after {
  opacity: 1 !important;
  visibility: visible !important;
  background: currentColor !important;
}

/* FILMPARTY_STEP115_5F_SCROLLED_SEARCH_GLASS_FIX_END */

/* FILMPARTY_STEP115_5G_SCROLLED_SEARCH_SIZE_MATCH_START
   Size polish for the scrolled topbar search button.
   Step115_5F restored the glass frame; this block keeps its mobile dimensions
   exactly matched with the other topbar buttons.
*/
@media (max-width: 640px) {
  .topbar-glass.is-scrolled .topbar-left .search-open-btn,
  .topbar-glass.is-scrolled .search-open-btn,
  .topbar-glass.is-scrolled button.search-open-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    flex-basis: 42px !important;
  }
}

@media (max-width: 390px) {.topbar-glass.is-scrolled .topbar-left .search-open-btn,
.topbar-glass.is-scrolled .search-open-btn,
.topbar-glass.is-scrolled button.search-open-btn {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px !important;
    flex-basis: 38px !important;
  }
}

/* FILMPARTY_STEP115_5G_SCROLLED_SEARCH_SIZE_MATCH_END */

/* FILMPARTY_STEP115_5I_UNSCROLLED_TOPBAR_SOFT_GLASS_START
   Transparent unified glass before scroll — all topbar controls match.
   When .is-scrolled is added by app.js,
full glass from base rules applies.
*/
.topbar-glass:not(.is-scrolled) .topbar-left .search-open-btn,
.topbar-glass:not(.is-scrolled) .search-open-btn,
.topbar-glass:not(.is-scrolled) .topbar-left .catalog-top-link,
.topbar-glass:not(.is-scrolled) .topbar-left .fp-topbar-wallet-stable,
.topbar-glass:not(.is-scrolled) .notification-bell-shell.inside-topbar .notification-bell-btn,
.topbar-glass:not(.is-scrolled) .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn,
.topbar-glass:not(.is-scrolled) .topbar-left .fp-mobile-subscription-top-cta,
.topbar-glass:not(.is-scrolled) .desktop-menu-btn {
  border-color: rgba(255,255,255,.07) !important;
  background: rgba(255,255,255,.028) !important;
  box-shadow: none !important;
  backdrop-filter: blur(7px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(7px) saturate(1.02) !important;
}

.topbar-glass:not(.is-scrolled) .notification-bell-shell.inside-topbar,
.topbar-glass:not(.is-scrolled) .notification-bell-shell[data-fp-step1208b-bell] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.topbar-glass:not(.is-scrolled) .topbar-left .search-open-btn:hover,
.topbar-glass:not(.is-scrolled) .search-open-btn:hover,
.topbar-glass:not(.is-scrolled) .topbar-left .catalog-top-link:hover,
.topbar-glass:not(.is-scrolled) .topbar-left .fp-topbar-wallet-stable:hover,
.topbar-glass:not(.is-scrolled) .notification-bell-shell.inside-topbar .notification-bell-btn:hover,
.topbar-glass:not(.is-scrolled) .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn:hover,
.topbar-glass:not(.is-scrolled) .topbar-left .fp-mobile-subscription-top-cta:hover,
.topbar-glass:not(.is-scrolled) .desktop-menu-btn:hover {
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.06) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.12) !important;
}

/* FILMPARTY_STEP115_5I_UNSCROLLED_TOPBAR_SOFT_GLASS_END */

/* FILMPARTY_STEP115_5J_HOME_MOBILE_SEARCH_SIZE_LOCK_START
   Robust mobile lock for search button size after scroll.
   This targets all known search render forms inside .topbar-glass.is-scrolled:
   class-based,
aria/title-based,
data-based and icon-based.
   It does not move buttons or change icons.
*/
@media (max-width: 640px) {
  html body .topbar-glass.is-scrolled .topbar-left .search-open-btn,
  html body .topbar-glass.is-scrolled .topbar-left button.search-open-btn,
  html body .topbar-glass.is-scrolled .topbar-left a.search-open-btn,
  html body .topbar-glass.is-scrolled .topbar-left [aria-label*="جست"],
  html body .topbar-glass.is-scrolled .topbar-left [title*="جست"],
  html body .topbar-glass.is-scrolled .topbar-left [data-search-open],
  html body .topbar-glass.is-scrolled .topbar-left button:has(.fp-icon-search),
  html body .topbar-glass.is-scrolled .topbar-left a:has(.fp-icon-search) {
    inline-size: 42px !important;
    width: 42px !important;
    min-inline-size: 42px !important;
    min-width: 42px !important;
    max-inline-size: 42px !important;
    max-width: 42px !important;

    block-size: 42px !important;
    height: 42px !important;
    min-block-size: 42px !important;
    min-height: 42px !important;
    max-block-size: 42px !important;
    max-height: 42px !important;

    flex: 0 0 42px !important;
    flex-basis: 42px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;

    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    border-radius: 15px !important;

    transform: none !important;
    scale: 1 !important;
    zoom: 1 !important;
  }

  html body .topbar-glass.is-scrolled .topbar-left .search-open-btn::before,
  html body .topbar-glass.is-scrolled .topbar-left button.search-open-btn::before,
  html body .topbar-glass.is-scrolled .topbar-left a.search-open-btn::before,
  html body .topbar-glass.is-scrolled .topbar-left [aria-label*="جست"]::before,
  html body .topbar-glass.is-scrolled .topbar-left [title*="جست"]::before,
  html body .topbar-glass.is-scrolled .topbar-left [data-search-open]::before,
  html body .topbar-glass.is-scrolled .topbar-left button:has(.fp-icon-search)::before,
  html body .topbar-glass.is-scrolled .topbar-left a:has(.fp-icon-search)::before {
    width: 17px !important;
    height: 17px !important;
  }

  html body .topbar-glass.is-scrolled .topbar-left .search-open-btn::after,
  html body .topbar-glass.is-scrolled .topbar-left button.search-open-btn::after,
  html body .topbar-glass.is-scrolled .topbar-left a.search-open-btn::after,
  html body .topbar-glass.is-scrolled .topbar-left [aria-label*="جست"]::after,
  html body .topbar-glass.is-scrolled .topbar-left [title*="جست"]::after,
  html body .topbar-glass.is-scrolled .topbar-left [data-search-open]::after,
  html body .topbar-glass.is-scrolled .topbar-left button:has(.fp-icon-search)::after,
  html body .topbar-glass.is-scrolled .topbar-left a:has(.fp-icon-search)::after {
    width: 9px !important;
    height: 2px !important;
  }
}

@media (max-width: 390px) {html body .topbar-glass.is-scrolled .topbar-left .search-open-btn,
html body .topbar-glass.is-scrolled .topbar-left button.search-open-btn,
html body .topbar-glass.is-scrolled .topbar-left a.search-open-btn,
html body .topbar-glass.is-scrolled .topbar-left [aria-label*="جست"],
html body .topbar-glass.is-scrolled .topbar-left [title*="جست"],
html body .topbar-glass.is-scrolled .topbar-left [data-search-open],
html body .topbar-glass.is-scrolled .topbar-left button:has(.fp-icon-search),
html body .topbar-glass.is-scrolled .topbar-left a:has(.fp-icon-search) {
    inline-size: 38px !important;
    width: 38px !important;
    min-inline-size: 38px !important;
    min-width: 38px !important;
    max-inline-size: 38px !important;
    max-width: 38px !important;

    block-size: 38px !important;
    height: 38px !important;
    min-block-size: 38px !important;
    min-height: 38px !important;
    max-block-size: 38px !important;
    max-height: 38px !important;

    flex: 0 0 38px !important;
    flex-basis: 38px !important;
    border-radius: 14px !important;
  }
}

/* FILMPARTY_STEP115_5J_HOME_MOBILE_SEARCH_SIZE_LOCK_END */

/* FILMPARTY_STEP117_2_REMOVE_LOGO_GLASS_CHIP_ONLY_START
   Logo-only cleanup.
   Remove inherited glass/chip/background from logo wrappers only.
   No size,
position,
flex,
width,
height,
order,
margin,
padding layout changes.
*/
.brand-small.fp-logo-no-chip,
.subscription-brand.fp-logo-no-chip,
.topbar-glass .topbar-right .brand-small.fp-logo-no-chip,
.topbar-glass:not(.is-scrolled) .topbar-right .brand-small.fp-logo-no-chip,
.topbar-glass:not(.is-scrolled) .brand-small.fp-logo-no-chip,
.topbar-glass.is-scrolled .topbar-right .brand-small.fp-logo-no-chip,
.topbar-glass.is-scrolled .brand-small.fp-logo-no-chip {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.brand-small.fp-logo-no-chip:hover,
.subscription-brand.fp-logo-no-chip:hover,
.topbar-glass .topbar-right .brand-small.fp-logo-no-chip:hover,
.topbar-glass:not(.is-scrolled) .topbar-right .brand-small.fp-logo-no-chip:hover,
.topbar-glass.is-scrolled .topbar-right .brand-small.fp-logo-no-chip:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.brand-small.fp-logo-no-chip::before,
.brand-small.fp-logo-no-chip::after,
.subscription-brand.fp-logo-no-chip::before,
.subscription-brand.fp-logo-no-chip::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.brand-small.fp-logo-no-chip > img,
.subscription-brand.fp-logo-no-chip > img {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* FILMPARTY_STEP117_2_REMOVE_LOGO_GLASS_CHIP_ONLY_END */

/* FILMPARTY_STEP117_3_LOGO_RIGHT_PROFILE_ICONS_10_START
   Controlled visual-only tweak.
   - Move logo images slightly to the physical right.
   - Increase only profile topbar icon drawings by about 10%.
   - No button size,
no flex/order,
no position,
no topbar geometry changes.
*/

/* Logo visual nudge only: layout box stays exactly the same. */
.brand-small.fp-logo-no-chip > img {
    transform: translateX(6px) !important;
}

@media (max-width: 720px) {.brand-small.fp-logo-no-chip > img {
        transform: translateX(5px) !important;
    }
}

/* Profile-only icon drawings,
not button boxes. */
.profile-modern-page > .topbar-glass .topbar-left .search-open-btn::before {
    width: 19px !important;
    height: 19px !important;
    margin-left: -10px !important;
    margin-top: -11px !important;
}

.profile-modern-page > .topbar-glass .topbar-left .search-open-btn::after {
    width: 10px !important;
    height: 2px !important;
    margin-left: 6px !important;
    margin-top: 7px !important;
}

.profile-modern-page > .topbar-glass .topbar-left .catalog-top-link::before {
    width: 19px !important;
    height: 15.5px !important;
}

.profile-modern-page > .topbar-glass .topbar-left .catalog-top-link::after {
    width: 15.5px !important;
    height: 15.5px !important;
}

.profile-modern-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn::before {
    width: 19px !important;
    height: 19px !important;
    margin-left: -9.5px !important;
    margin-top: -11px !important;
}

.profile-modern-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn::after {
    width: 22px !important;
    height: 9px !important;
    margin-left: -11px !important;
    margin-top: 5.5px !important;
}

.profile-modern-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon,
.profile-modern-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn .fp-icon-bell {
    width: 24px !important;
    height: 24px !important;
}

/* Mobile: keep button boxes intact; only the icon drawing remains slightly larger. */
@media (max-width: 640px) {
    .profile-modern-page > .topbar-glass .topbar-left .search-open-btn::before {
        width: 18.5px !important;
        height: 18.5px !important;
        margin-left: -9.75px !important;
        margin-top: -10.75px !important;
    }

    .profile-modern-page > .topbar-glass .topbar-left .search-open-btn::after {
        width: 9.8px !important;
        margin-left: 5.8px !important;
        margin-top: 6.8px !important;
    }

    .profile-modern-page > .topbar-glass .topbar-left .catalog-top-link::before {
        width: 18.5px !important;
        height: 15px !important;
    }

    .profile-modern-page > .topbar-glass .topbar-left .catalog-top-link::after {
        width: 15px !important;
        height: 15px !important;
    }
}

/* FILMPARTY_STEP117_4_MOBILE_LOGO_MORE_RIGHT_ONLY_START
   Mobile-only logo nudge.
   No size,
button,
position,
flex,
order,
topbar geometry,
or desktop changes.
*/
@media (max-width: 720px) {
    html body .topbar-glass .brand-small.fp-logo-no-chip > img {
        transform: translateX(12px) !important;
    }
}

@media (max-width: 390px) {html body .topbar-glass .brand-small.fp-logo-no-chip > img {
        transform: translateX(12px) !important;
    }
}

/* FILMPARTY_STEP117_4_MOBILE_LOGO_MORE_RIGHT_ONLY_END */

/* FILMPARTY_STEP120_1_MOBILE_TOPBAR_STABILIZE_START
   Scope: mobile topbar only on:
   - home page: .filmparty-home
   - movies/series catalog pages: .catalog-page
   - profile/dashboard: .profile-modern-page with profile-user-search-shell
   - user filter page: .profile-modern-page.similar-users-page
   - public user profile: .profile-modern-page.public-modern-profile

   Goal:
   - Stable button order and dimensions.
   - No JS injection changes.
   - No route/controller/database changes.
   - No desktop changes.
   - No changes for unrelated pages beyond existing legacy rules.
*/
@media (max-width: 640px) {
  .filmparty-home > .topbar-glass,
  .catalog-page > .topbar-glass,
  .profile-modern-page:has(> .profile-modern-shell > .profile-user-search-shell) > .topbar-glass,
  .profile-modern-page.similar-users-page > .topbar-glass,
  .profile-modern-page.public-modern-profile > .topbar-glass {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    min-height: 56px !important;
    padding-inline: 8px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .filmparty-home > .topbar-glass .topbar-left,
  .catalog-page > .topbar-glass .topbar-left,
  .profile-modern-page:has(> .profile-modern-shell > .profile-user-search-shell) > .topbar-glass .topbar-left,
  .profile-modern-page.similar-users-page > .topbar-glass .topbar-left,
  .profile-modern-page.public-modern-profile > .topbar-glass .topbar-left {
    display: flex !important;
    flex-direction: row !important;
    direction: ltr !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .catalog-top-link,
  .filmparty-home > .topbar-glass .topbar-left .search-open-btn,
  .filmparty-home > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn,
  .catalog-page > .topbar-glass .topbar-left .catalog-top-link,
  .catalog-page > .topbar-glass .topbar-left .search-open-btn,
  .catalog-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn,
  .profile-modern-page:has(> .profile-modern-shell > .profile-user-search-shell) > .topbar-glass .topbar-left .catalog-top-link,
  .profile-modern-page:has(> .profile-modern-shell > .profile-user-search-shell) > .topbar-glass .topbar-left .search-open-btn,
  .profile-modern-page:has(> .profile-modern-shell > .profile-user-search-shell) > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn,
  .profile-modern-page.similar-users-page > .topbar-glass .topbar-left .catalog-top-link,
  .profile-modern-page.similar-users-page > .topbar-glass .topbar-left .search-open-btn,
  .profile-modern-page.similar-users-page > .topbar-glass .topbar-left .topbar-back-link,
  .profile-modern-page.similar-users-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn,
  .profile-modern-page.public-modern-profile > .topbar-glass .topbar-left .catalog-top-link,
  .profile-modern-page.public-modern-profile > .topbar-glass .topbar-left .search-open-btn,
  .profile-modern-page.public-modern-profile > .topbar-glass .topbar-left .topbar-back-link,
  .profile-modern-page.public-modern-profile > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    flex-basis: 42px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 15px !important;
    transform: none !important;
    scale: 1 !important;
  }

  /* Home mobile: search, bell, wallet, subscription, logo */
  .filmparty-home > .topbar-glass .topbar-left .search-open-btn {
    order: 10 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell.inside-topbar,
  .filmparty-home > .topbar-glass .notification-bell-shell.inside-topbar {
    order: 20 !important;
  }
}

/* FILMPARTY_STEP120_2_MOBILE_TOPBAR_NO_HAS_SCOPE_START
   Precise fallback without :has().
   This block intentionally avoids :has() because older mobile WebViews can drop
   the whole selector list when they see it.

   Target pages only:
   - .filmparty-home
   - .catalog-page
   - .fp-mobile-topbar-profile-scope added only to:
     profile/index.php,
profile/users.php,
users/show.php
*/
@media (max-width: 640px) {
  .filmparty-home > .topbar-glass,
  .catalog-page > .topbar-glass,
  .fp-mobile-topbar-profile-scope > .topbar-glass {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    min-height: 56px !important;
    padding-inline: 8px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .filmparty-home > .topbar-glass .topbar-left,
  .catalog-page > .topbar-glass .topbar-left,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left {
    display: flex !important;
    flex-direction: row !important;
    direction: ltr !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .catalog-top-link,
  .filmparty-home > .topbar-glass .topbar-left .search-open-btn,
  .filmparty-home > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn,
  .catalog-page > .topbar-glass .topbar-left .catalog-top-link,
  .catalog-page > .topbar-glass .topbar-left .search-open-btn,
  .catalog-page > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .catalog-top-link,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .topbar-back-link,
  .fp-mobile-topbar-profile-scope > .topbar-glass .notification-bell-shell.inside-topbar .notification-bell-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    flex-basis: 42px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 15px !important;
    transform: none !important;
    scale: 1 !important;
  }

  /* Home: search, bell, wallet, subscription, logo */
  .filmparty-home > .topbar-glass .topbar-left .search-open-btn {
    order: 10 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell.inside-topbar,
  .filmparty-home > .topbar-glass .notification-bell-shell.inside-topbar {
    order: 20 !important;
  }
}

/* FILMPARTY_STEP120_8B_SERVER_BELL_GUARD_START */
@media (max-width: 640px) {
  .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    order: 20 !important;
  }

  .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    order: 30 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
  .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    flex-basis: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 40 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-panel,
  .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-panel,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-panel {
    position: fixed !important;
    top: 64px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    z-index: 9999 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta],
  .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] {
    order: 40 !important;
  }

  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] {
    order: 100 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  .catalog-page > .topbar-glass .topbar-left .fp-topbar-wallet-stable {
    order: 39 !important;
  }

  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  .profile-modern-page:has(> .profile-modern-shell > .profile-user-search-shell) > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  .profile-modern-page.similar-users-page > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  .profile-modern-page.public-modern-profile > .topbar-glass .topbar-left .fp-topbar-wallet-stable {
    order: 99 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }
}

@media (max-width: 390px) {.filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
.catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px !important;
    flex-basis: 38px !important;
  }
}

/* FILMPARTY_STEP120_8B_SERVER_BELL_GUARD_END */

/* FILMPARTY_STEP120_9_MOBILE_TOPBAR_ICONS_10_FINAL_START
   Final visual polish for mobile topbar target pages only.
   Increase icon drawings by about 10%.
   Important:
   - No button box size changes.
   - No flex/order/layout changes.
   - No desktop changes.
   - Subscription text button is untouched.
*/
@media (max-width: 640px) {
  /* Search icon +10% */
  .filmparty-home > .topbar-glass .topbar-left .search-open-btn::before,
  .catalog-page > .topbar-glass .topbar-left .search-open-btn::before,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn::before {
    width: 19px !important;
    height: 19px !important;
    margin-left: -10px !important;
    margin-top: -11px !important;
    border-width: 2px !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .search-open-btn::after,
  .catalog-page > .topbar-glass .topbar-left .search-open-btn::after,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn::after {
    width: 10px !important;
    height: 2.2px !important;
    margin-left: 6px !important;
    margin-top: 7px !important;
  }
}

/* FILMPARTY_STEP120_10_MOBILE_TOPBAR_BUTTON_BOXES_10_FINAL_START
   Final correction after Step120.9:
   Step120.9 increased icon drawings by ~10%.
   This block increases the actual mobile control boxes by ~10% too,
so icons do not crop.
   Scope: target mobile pages only.
   No HTML/order/JS/controller/route changes.
*/
@media (max-width: 640px) {
  .filmparty-home > .topbar-glass,
  .catalog-page > .topbar-glass,
  .fp-mobile-topbar-profile-scope > .topbar-glass {
    --fp-topbar-control-size: 46px !important;
    --fp-topbar-control-radius: 17px !important;
    min-height: 62px !important;
    padding-inline: 8px !important;
    overflow: visible !important;
  }

  .filmparty-home > .topbar-glass .topbar-left,
  .catalog-page > .topbar-glass .topbar-left,
  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left {
    gap: 6px !important;
    overflow: visible !important;
  }

  /* Icon control boxes: search, home, wallet, server-rendered bell */
  html body .filmparty-home > .topbar-glass .topbar-left .search-open-btn,
  html body .filmparty-home > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
  html body .filmparty-home > .topbar-glass .topbar-left .catalog-top-link,
  html body .filmparty-home > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  html body .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],

  html body .catalog-page > .topbar-glass .topbar-left .search-open-btn,
  html body .catalog-page > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
  html body .catalog-page > .topbar-glass .topbar-left .catalog-top-link,
  html body .catalog-page > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  html body .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],

  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .catalog-top-link,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .topbar-back-link,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    flex: 0 0 46px !important;
    flex-basis: 46px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    border-radius: 17px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* Bell inner button must match the enlarged shell. */
  html body .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn,
  html body .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    border-radius: 17px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* Subscription CTA height follows the larger topbar row. */
  html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta],
  html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta],
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    min-width: 96px !important;
    max-width: 130px !important;
    padding-inline: 11px !important;
    border-radius: 17px !important;
    flex: 0 1 auto !important;
  }

  html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span,
  html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span {
    font-size: 11.5px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 390px) {.filmparty-home > .topbar-glass,
.catalog-page > .topbar-glass,
.fp-mobile-topbar-profile-scope > .topbar-glass {
    --fp-topbar-control-size: 42px !important;
    --fp-topbar-control-radius: 16px !important;
    min-height: 58px !important;
    padding-inline: 7px !important;
  }

.filmparty-home > .topbar-glass .topbar-left,
.catalog-page > .topbar-glass .topbar-left,
.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left {
    gap: 5px !important;
  }html body .filmparty-home > .topbar-glass .topbar-left .search-open-btn,
html body .filmparty-home > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
html body .filmparty-home > .topbar-glass .topbar-left .catalog-top-link,
html body .filmparty-home > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
html body .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
html body .catalog-page > .topbar-glass .topbar-left .search-open-btn,
html body .catalog-page > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
html body .catalog-page > .topbar-glass .topbar-left .catalog-top-link,
html body .catalog-page > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
html body .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell],
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn,
html body .fp-mobile-topbar-profile-scope > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .catalog-top-link,
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .topbar-back-link,
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-topbar-wallet-stable,
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    flex-basis: 42px !important;
    border-radius: 16px !important;
  }html body .filmparty-home > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn,
html body .catalog-page > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn,
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 16px !important;
  }html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta],
html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta],
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    min-width: 84px !important;
    max-width: 108px !important;
    padding-inline: 9px !important;
    border-radius: 16px !important;
  }html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span,
html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span,
html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span {
    font-size: 10.5px !important;
  }
}

/* FILMPARTY_STEP120_10_MOBILE_TOPBAR_BUTTON_BOXES_10_FINAL_END */

/* FILMPARTY_STEP120_11_PROFILE_TOPBAR_BOXES_10_FORCE_START
   Profile/user pages only.
   Home,
movies and series are intentionally untouched.
   Force profile mobile topbar control boxes to match the final +10% size.
*/
@media (max-width: 640px) {
  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass {
    --fp-topbar-control-size: 46px !important;
    --fp-topbar-control-radius: 17px !important;
    min-height: 62px !important;
    height: auto !important;
    padding-inline: 8px !important;
    overflow: visible !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left {
    gap: 6px !important;
    overflow: visible !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn,
  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass.is-scrolled .topbar-left .search-open-btn,
  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .catalog-top-link,
  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .topbar-back-link,
  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] {
    inline-size: 46px !important;
    width: 46px !important;
    min-inline-size: 46px !important;
    min-width: 46px !important;
    max-inline-size: 46px !important;
    max-width: 46px !important;

    block-size: 46px !important;
    height: 46px !important;
    min-block-size: 46px !important;
    min-height: 46px !important;
    max-block-size: 46px !important;
    max-height: 46px !important;

    flex: 0 0 46px !important;
    flex-basis: 46px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;

    border-radius: 17px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transform: none !important;
    scale: 1 !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .notification-bell-shell[data-fp-step1208b-bell] .notification-bell-btn {
    inline-size: 46px !important;
    width: 46px !important;
    min-inline-size: 46px !important;
    min-width: 46px !important;
    max-inline-size: 46px !important;
    max-width: 46px !important;

    block-size: 46px !important;
    height: 46px !important;
    min-block-size: 46px !important;
    min-height: 46px !important;
    max-block-size: 46px !important;
    max-height: 46px !important;

    border-radius: 17px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    min-width: 96px !important;
    max-width: 130px !important;
    padding-inline: 11px !important;
    border-radius: 17px !important;
    flex: 0 1 auto !important;
    margin-left: 0 !important;
    margin-inline-start: 0 !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-topbar-wallet-stable {
    order: 99 !important;
    margin-left: auto !important;
    margin-inline-start: auto !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta[data-fp-step1208b-cta] span {
    font-size: 11.5px !important;
    line-height: 1 !important;
  }

  /* Keep the enlarged drawings aligned inside the now-enlarged boxes. */
  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn::before {
    width: 19px !important;
    height: 19px !important;
    margin-left: -10px !important;
    margin-top: -11px !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .search-open-btn::after {
    width: 10px !important;
    height: 2.2px !important;
    margin-left: 6px !important;
    margin-top: 7px !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .catalog-top-link::before {
    width: 19px !important;
    height: 14.5px !important;
    margin-left: -9.5px !important;
    margin-top: -3.5px !important;
  }

  html body .profile-modern-page.fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .catalog-top-link::after {
    width: 13.5px !important;
    height: 13.5px !important;
    margin-left: -6.75px !important;
    margin-top: -10.75px !important;
  }
}
/* FILMPARTY_STEP120_11_PROFILE_TOPBAR_BOXES_10_FORCE_END */

/* FILMPARTY_TOPBAR_SUBSCRIPTION_STATUS_DROPDOWN_START */
.topbar-left .fp-mobile-subscription-top-cta-wrap {
  display: none !important;
}

@media (max-width: 640px) {
  .topbar-left .fp-mobile-subscription-top-cta-wrap {
    order: 35 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: stretch !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 12001 !important;
  }

  .topbar-left .fp-mobile-subscription-top-cta-wrap .fp-mobile-subscription-top-cta.is-status {
    appearance: none !important;
    -webkit-appearance: none !important;
    font: inherit !important;
    min-width: 96px !important;
    max-width: 132px !important;
  }

  .fp-mobile-subscription-status-panel {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 176px !important;
    padding: 12px 12px 10px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background:
      radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
      linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(59, 130, 246, 0.10)),
      linear-gradient(135deg, rgba(18, 22, 32, 0.96), rgba(10, 12, 18, 0.98)) !important;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.42),
      0 0 24px rgba(245, 158, 11, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
    text-align: center !important;
    direction: rtl !important;
  }

  .fp-mobile-subscription-status-panel.hidden {
    display: none !important;
  }

  .fp-mobile-subscription-status-label {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  .fp-mobile-subscription-status-time {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: 0.02em !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
    direction: ltr !important;
    unicode-bidi: plaintext !important;
  }

  .fp-mobile-subscription-status-renew {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(59, 130, 246, 0.16)) !important;
    color: rgba(255, 255, 255, 0.96) !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .fp-mobile-subscription-status-renew:hover {
    border-color: rgba(255, 255, 255, 0.24) !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.36), rgba(59, 130, 246, 0.22)) !important;
  }

  .profile-modern-page .topbar-left .fp-mobile-subscription-top-cta-wrap {
    order: 100 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }

  .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta],
  .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] {
    order: 40 !important;
  }

  .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] {
    order: 100 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
  }

  html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta],
  html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta],
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] .fp-mobile-subscription-top-cta.is-status,
  html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] .fp-mobile-subscription-top-cta.is-status,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] .fp-mobile-subscription-top-cta.is-status {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    min-width: 108px !important;
    max-width: 138px !important;
    padding-inline: 11px !important;
    border-radius: 17px !important;
  }

  .topbar-glass:not(.is-scrolled) .topbar-left .fp-mobile-subscription-top-cta-wrap .fp-mobile-subscription-top-cta.is-status {
    border-color: rgba(255, 255, 255, 0.07) !important;
    background: rgba(255, 255, 255, 0.028) !important;
    box-shadow: none !important;
    backdrop-filter: blur(7px) saturate(1.02) !important;
    -webkit-backdrop-filter: blur(7px) saturate(1.02) !important;
  }

  .topbar-glass:not(.is-scrolled) .topbar-left .fp-mobile-subscription-top-cta-wrap .fp-mobile-subscription-top-cta.is-status:hover {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  }
}

@media (max-width: 390px) {
  .topbar-left .fp-mobile-subscription-top-cta-wrap .fp-mobile-subscription-top-cta.is-status {
    min-width: 92px !important;
    max-width: 118px !important;
    padding: 0 8px !important;
  }

  .profile-modern-page .topbar-left .fp-mobile-subscription-top-cta-wrap .fp-mobile-subscription-top-cta.is-status {
    min-width: 96px !important;
    max-width: 122px !important;
  }

  html body .filmparty-home > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] .fp-mobile-subscription-top-cta.is-status,
  html body .catalog-page > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] .fp-mobile-subscription-top-cta.is-status,
  html body .fp-mobile-topbar-profile-scope > .topbar-glass .topbar-left .fp-mobile-subscription-top-cta-wrap[data-fp-step1208b-cta] .fp-mobile-subscription-top-cta.is-status {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    min-width: 96px !important;
    max-width: 122px !important;
    padding-inline: 9px !important;
    border-radius: 16px !important;
  }
}
/* FILMPARTY_TOPBAR_SUBSCRIPTION_STATUS_DROPDOWN_END */
