/* ==========================================================================
   FourBox Performance Club — Flagship Clean-Slate Navbar & Mobile Drawer
   - Transparent at top of page ("بدون بک")
   - Expands smoothly to full 100% viewport width on scroll
   - Categorized Dropdowns on Desktop
   - Zero-bug Full-Viewport Drawer on Mobile
   ========================================================================== */

/* 1. Base Fixed Navbar (Transparent at top) */
.fb-navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.fb-navbar__inner {
  width: min(1240px, 100%);
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.05rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: width 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* 2. Scrolled State (Full screen width edge-to-edge with dark frosted glass) */
.fb-navbar.fb-navbar--scrolled {
  background: rgba(8, 11, 18, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.72);
}

.fb-navbar.fb-navbar--scrolled .fb-navbar__inner {
  width: 100%;
  max-width: 100%;
  padding: 0.72rem 2.25rem;
}

/* 3. Brand Logo */
.fb-navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  flex-shrink: 0;
}

.fb-navbar__logo-disc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(1, 70, 52, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fb-navbar__brand:hover .fb-navbar__logo-disc {
  transform: scale(1.06);
  border-color: #059669;
}

.fb-navbar__logo-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.fb-navbar__brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.fb-navbar__brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.fb-navbar__brand-title strong {
  font-size: 1.12rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.fb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 8px #059669;
  animation: fb-pulse-dot 2s infinite ease-in-out;
}

@keyframes fb-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.4); }
}

.fb-navbar__brand-copy small {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.85);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* 4. Desktop Categorized Navigation */
.fb-navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fb-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.65rem;
  border: none;
  background: transparent;
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  transition: color 0.18s ease, background 0.18s ease;
}

.fb-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.fb-nav-link.is-active {
  color: #ffffff;
  background: rgba(1, 70, 52, 0.16);
}

.fb-nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2.5px;
  border-radius: 99px;
  background: #059669;
  box-shadow: 0 0 8px #059669;
}

.fb-nav-chevron {
  transition: transform 0.2s ease;
  opacity: 0.8;
}

/* Dropdown Menus */
.fb-nav-dropdown {
  position: relative;
}

.fb-nav-dropdown.is-open .fb-nav-chevron {
  transform: rotate(180deg);
}

.fb-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 295px;
  background: rgba(12, 16, 26, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(1, 70, 52, 0.32);
  border-radius: 1.05rem;
  padding: 0.55rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(1, 70, 52, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fb-nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.fb-nav-dropdown.is-open .fb-nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) {
  .fb-nav-dropdown:hover .fb-nav-chevron {
    transform: rotate(180deg);
  }
  .fb-nav-dropdown:hover .fb-nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.fb-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.16s ease;
}

.fb-dropdown-item:hover,
.fb-dropdown-item.is-active {
  background: rgba(1, 70, 52, 0.14);
}

.fb-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-dropdown-icon--women {
  background: rgba(1, 70, 52, 0.16);
  color: #fb7185;
}

.fb-dropdown-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
}

.fb-dropdown-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fb-dropdown-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.fb-dropdown-copy small {
  font-size: 0.73rem;
  color: #94a3b8;
}

.fb-tag-pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(1, 70, 52, 0.2);
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.35);
}

/* 5. Action Controls */
.fb-navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.fb-navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.05rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #059669 0%, #014634 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 4px 16px rgba(1, 70, 52, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.fb-navbar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(1, 70, 52, 0.58);
}

.fb-navbar__account {
  position: relative;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.18s ease;
}

.fb-navbar__account:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(1, 70, 52, 0.5);
  color: #ffffff;
}

.fb-account-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #080b12;
  box-shadow: 0 0 6px #10b981;
}

.fb-navbar__call {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 70, 52, 0.16);
  border: 1.5px solid rgba(52, 211, 153, 0.42);
  color: #6ee7b7;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.18s ease;
}

.fb-navbar__call:active {
  transform: scale(0.92);
  background: rgba(1, 70, 52, 0.28);
}

/* Burger Button (Hidden when Mobile Bottom App Bar is active) */
.fb-navbar__burger {
  display: none;
}

/* 6. Intermediate Desktop Breakpoint (900px - 1060px) */
@media (min-width: 900px) and (max-width: 1060px) {
  .fb-navbar__inner {
    padding: 0.9rem 1.15rem;
    gap: 0.65rem;
  }
  .fb-navbar.fb-navbar--scrolled .fb-navbar__inner {
    padding: 0.65rem 1.25rem;
  }
  .fb-nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.84rem;
  }
  .fb-navbar__cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* 7. Mobile Breakpoint (< 900px) — Native App Feel & Decluttering */
@media (max-width: 899px) {
  .fb-navbar__nav,
  .fb-navbar__cta,
  .fb-navbar__burger {
    display: none !important;
  }

  .fb-navbar__call {
    display: inline-flex !important;
  }

  .fb-navbar__inner {
    padding: 0.72rem 1rem;
  }

  .fb-navbar.fb-navbar--scrolled .fb-navbar__inner {
    padding: 0.58rem 1rem;
  }

  .fb-navbar__logo-disc {
    width: 36px;
    height: 36px;
  }

  .fb-navbar__brand-title strong {
    font-size: 1.04rem;
  }

  .fb-navbar__brand-copy small {
    display: none;
  }

  /* Compact App-Style Footer & Bottom Tab Bar Clearance */
  .public-main,
  .intake-page {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Safe-area bottom clearance so footer never collides with bottom app bar */
  .site-footer {
    padding-bottom: calc(5.85rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==========================================================================
   9. Native Mobile App Bottom Navigation Bar (<= 899px only)
   ========================================================================== */
@media (min-width: 900px) {
  .fb-app-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .fb-app-bottom-nav {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 890;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    background: rgba(8, 11, 18, 0.94);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.78);
    padding: 0.42rem 0.25rem calc(env(safe-area-inset-bottom, 0px) + 0.45rem);
    box-sizing: border-box;
  }

  .fb-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.3rem 0.15rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #94a3b8;
    text-decoration: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.18s ease, transform 0.14s ease;
  }

  .fb-tab-item:active {
    transform: scale(0.92);
  }

  .fb-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, color 0.18s ease;
  }

  .fb-tab-label {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  .fb-tab-item.is-active {
    color: #34d399;
  }

  .fb-tab-item.is-active .fb-tab-icon {
    color: #059669;
    transform: translateY(-1px);
  }

  /* Center Elevated Native App Action Tab (Join / Start) */
  .fb-tab-item--primary {
    position: relative;
  }

  .fb-tab-fab {
    width: 44px;
    height: 44px;
    margin-top: -18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #014634 100%);
    color: #ffffff;
    border: 2.5px solid #080b12;
    box-shadow: 0 6px 18px rgba(1, 70, 52, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }

  .fb-tab-item--primary .fb-tab-label {
    color: #f8fafc;
    font-weight: 800;
  }

  .fb-tab-item--primary.is-active .fb-tab-fab,
  .fb-tab-item--primary:active .fb-tab-fab {
    transform: scale(0.94);
    box-shadow: 0 8px 24px rgba(1, 70, 52, 0.72);
  }
}

@media (min-width: 900px) {
  .fb-mobile-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   8. Centered Bottom-Up Mobile Popup Menu (Handles All Screen Sizes Cleanly)
   ========================================================================== */
body.fb-drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.fb-mobile-drawer[hidden] {
  display: none !important;
}

.fb-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0.75rem calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
  box-sizing: border-box;
  pointer-events: none;
}

.fb-mobile-drawer.is-open {
  pointer-events: auto;
}

.fb-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}

.fb-mobile-drawer.is-open .fb-mobile-drawer__backdrop {
  opacity: 1;
}

.fb-mobile-drawer__panel {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100dvh - 2rem - env(safe-area-inset-bottom, 0px));
  margin: 0 auto;
  background: linear-gradient(180deg, #131929 0%, #090c14 100%);
  border: 1.5px solid rgba(1, 70, 52, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.92), 0 0 36px rgba(1, 70, 52, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(105%);
  transition: opacity 0.26s ease,
              transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-mobile-drawer.is-open .fb-mobile-drawer__panel {
  opacity: 1;
  transform: translateY(0);
}

/* Top Drag Handle */
.fb-drawer-handle-wrap {
  padding: 0.65rem 1rem 0.2rem;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  cursor: grab;
}

.fb-drawer-handle {
  width: 44px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
}

/* Centered Header with Right Spacer + Brand Center + Close Left */
.fb-drawer-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.fb-drawer-head__spacer {
  width: 38px;
  height: 38px;
}

.fb-drawer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.fb-drawer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(1, 70, 52, 0.45);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.fb-drawer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.fb-drawer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.fb-drawer-brand-text strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
}

.fb-drawer-brand-text small {
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 0.03em;
}

.fb-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 70, 52, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #6ee7b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.fb-drawer-close:active {
  background: rgba(1, 70, 52, 0.32);
  color: #ffffff;
  transform: scale(0.92);
}

/* Scrollable Centered Body */
.fb-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fb-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fb-drawer-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

/* 2 Centered Featured Session Tiles */
.fb-drawer-quick-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.fb-drawer-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.72rem 0.5rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease;
}

.fb-drawer-tile:active {
  transform: scale(0.96);
}

.fb-drawer-tile.is-active {
  background: rgba(1, 70, 52, 0.16);
  border-color: rgba(1, 70, 52, 0.5);
}

.fb-tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(1, 70, 52, 0.14);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.1rem;
}

.fb-drawer-tile--women .fb-tile-icon {
  background: rgba(1, 70, 52, 0.18);
  color: #fb7185;
}

.fb-drawer-tile strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
}

.fb-tile-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
}

.fb-drawer-tile--women .fb-tile-badge {
  color: #fda4af;
}

/* Symmetric 2-Column Centered Route Grid (4x2 = 8 Items) */
.fb-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.fb-drawer-card {
  min-height: 46px;
  padding: 0.6rem 0.5rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 0.83rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease;
}

.fb-drawer-card svg {
  color: #34d399;
  flex-shrink: 0;
}

.fb-drawer-card span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-drawer-card:active {
  transform: scale(0.96);
  background: rgba(1, 70, 52, 0.15);
}

.fb-drawer-card.is-active {
  background: rgba(1, 70, 52, 0.18);
  border-color: rgba(1, 70, 52, 0.5);
  color: #ffffff;
}

/* Sticky Bottom Footer inside Popup */
.fb-drawer-footer {
  padding: 0.85rem 1rem 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 18, 0.96);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.fb-drawer-call {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #059669 0%, #014634 100%);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 6px 18px rgba(1, 70, 52, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.15s ease;
}

.fb-drawer-call:active {
  transform: scale(0.98);
}

.fb-drawer-call__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-drawer-call__text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.fb-drawer-call__text span {
  font-size: 0.82rem;
  color: #d1fae5;
  font-weight: 700;
}

.fb-drawer-call__text strong {
  font-size: 0.94rem;
  font-weight: 900;
  color: #ffffff;
}

.fb-drawer-account {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.18s ease;
}

.fb-drawer-account:hover,
.fb-drawer-account:focus-visible {
  background: rgba(1, 70, 52, 0.22);
  border-color: rgba(52, 211, 153, 0.4);
  color: #34d399;
}

.fb-drawer-account:active {
  transform: scale(0.98);
}

/* Adapt cleanly on Ultra-Compact / Short Mobile Screens (320px or Landscape) */
@media (max-width: 360px), (max-height: 670px) {
  .fb-mobile-drawer {
    padding: 0.5rem 0.5rem calc(env(safe-area-inset-bottom, 0px) + 0.5rem);
  }
  .fb-drawer-brand {
    flex-direction: row;
    gap: 0.5rem;
  }
  .fb-drawer-logo {
    width: 30px;
    height: 30px;
  }
  .fb-drawer-body {
    padding: 0.75rem 0.8rem;
    gap: 0.75rem;
  }
  .fb-drawer-tile {
    padding: 0.55rem 0.4rem;
  }
  .fb-drawer-card {
    min-height: 42px;
    font-size: 0.78rem;
    padding: 0.5rem 0.4rem;
  }
}
