/* Hubliq home — HQ mock shell (sidebar, top chrome, hero, social proof).
   Card components (.deal-card, scroll rows, chips) stay in mobile-home-2026.css */

:root {
  --hq-blue: #0066ff;
  --hq-blue-hover: #0052cc;
  --hq-ink: #0f172a;
  --hq-muted: #64748b;
  --hq-radius-lg: 20px;
  --hq-radius-md: 14px;
  /*
   * Fixed top chrome ≈ safe-area + padding + primary row + filter row (see .hq-topchrome).
   * Rem scales with user font size; min guards text-zoom / tall filter rows.
   */
  --hq-topchrome-below-safe: max(9.5rem, 130px);
}

body.home-page-hq {
  /* scroll/sticky offset = status bar + Hubliq chrome (kept in sync with #paneDiscover padding-top) */
  --hq-topchrome-stack: calc(
    env(safe-area-inset-top, 0px) + var(--hq-topchrome-below-safe)
  );
  /* One horizontal rhythm for main content (hero, sections, cards) — safe-area aware */
  --hq-gutter-x: max(16px, calc(12px + env(safe-area-inset-left, 0px)));
  --hq-gutter-x-end: max(16px, calc(12px + env(safe-area-inset-right, 0px)));
  /* Horizontal padding inside horizontal scroll rows (cards) — scales between phone and desktop */
  --hq-scroll-pad-inline: clamp(12px, 2.8vw, 18px);
}

/* Tablet / small laptop: smooth gutter ramp between mobile and desktop sidebar layout */
@media (min-width: 480px) and (max-width: 1149.98px) {
  body.home-page-hq {
    --hq-gutter-x: clamp(16px, 3.4vw, 26px);
    --hq-gutter-x-end: clamp(16px, 3.4vw, 26px);
    --hq-scroll-pad-inline: clamp(14px, 3vw, 20px);
  }
}

@media (min-width: 1150px) {
  body.home-page-hq {
    --hq-scroll-pad-inline: 12px;
  }
}

body.home-page-hq .hq-home-root {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: stretch;
  background: #0b1220;
}

body.home-page-hq .screen.mobile-home-page-2026.hq-home-screen {
  padding-top: 0 !important;
  padding-left: 0;
  padding-right: 0;
}

.hq-home-stage {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Global HQ shell from base.html (sidebar + main stage on every page) */
main.hubliq-main-shell {
  display: flex;
  flex-direction: column;
}

.hubliq-app-layout {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: stretch;
  flex: 1 1 auto;
}

/* --- Sidebar (desktop) --- */
.hq-sidebar {
  display: none;
  flex-direction: column;
  width: 260px;
  flex-shrink: 0;
  padding: 20px 14px 24px;
  background: linear-gradient(180deg, #0a1628 0%, #0d1a32 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  height: 100dvh;
  z-index: 1002;
}

.hq-sidebar__brand {
  display: flex;
  justify-content: center;
  padding-bottom: 4px;
}

.hq-sidebar__brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  padding: 10px 10px 12px;
  border-radius: 12px;
  text-align: center;
}

.hq-sidebar__brand-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hq-sidebar__brand-logo {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.14), transparent 55%), #0a1628;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.hq-sidebar__brand-text {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.hq-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  flex: 1;
}

.hq-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.hq-sidebar__link i {
  font-size: 1.15rem;
  opacity: 0.9;
}

.hq-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hq-sidebar__link.is-active {
  background: rgba(0, 102, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 102, 255, 0.35);
}

.hq-sidebar__more-toggle {
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  margin: 0;
}

.hq-sidebar__more-toggle[aria-expanded="true"],
.hq-sidebar__more-toggle.is-active {
  background: rgba(0, 102, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 102, 255, 0.35);
}

.hq-sidebar__more-panel {
  margin: 2px 0 6px;
  padding: 4px 0 2px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hq-sidebar__more-list li .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
  border-radius: 8px;
  margin: 2px 6px;
  white-space: normal;
  word-break: break-word;
}

.hq-sidebar__more-list li .dropdown-item:hover,
.hq-sidebar__more-list li button.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.hq-sidebar__more-list .dropdown-header {
  padding: 8px 14px 4px;
  margin: 4px 6px 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45) !important;
}

.hq-sidebar__more-list .dropdown-divider {
  margin: 6px 12px;
  border-color: rgba(255, 255, 255, 0.1) !important;
  opacity: 1;
}

.hq-sidebar__more-list button.dropdown-item {
  color: rgba(255, 255, 255, 0.88) !important;
}

@media (min-width: 1150px) {
  body.home-page-hq {
    --hq-gutter-x: 24px;
    --hq-gutter-x-end: 24px;
  }

  body.hubliq-hq-nav .hq-sidebar {
    display: flex;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    align-self: flex-start;
    overflow-x: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.hubliq-hq-nav .hubliq-app-stage {
    margin-left: 260px !important;
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* Brand only in sidebar on home desktop — hide duplicate top-bar logo */
  body.home-page-hq .hq-topchrome__logo {
    display: none !important;
  }

  body.home-page-hq .hq-topchrome__primary {
    grid-template-columns: 1fr auto !important;
  }

  body.home-page-hq .hq-topchrome__search {
    justify-self: center !important;
    width: 100%;
    max-width: min(28rem, 100%) !important;
  }

  /* Sidebar mark matches community banner logo footprint on desktop (home + detail HQ shell) */
  body.hubliq-hq-nav .hq-sidebar__brand-logo {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__logo-bg {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__logo-bg-img {
    height: 88px !important;
    width: auto !important;
    max-height: 88px !important;
    object-fit: contain !important;
    object-position: right center !important;
  }

  body.hubliq-hq-nav .mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  body.hubliq-hq-nav,
  html.hubliq-hq-nav {
    padding-bottom: 24px !important;
  }

  body.home-page-hq .screen.mobile-home-page-2026 {
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #f1f5f9 !important;
  }

  body.home-page-hq .hq-home-stage {
    background: #f1f5f9;
  }

  body.discovery-page .home-search-fixed {
    left: 260px !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  body.home-page-hq .home-search-fixed.hq-topchrome {
    left: 260px !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    background: #ffffff !important;
    border-bottom-color: #e2e8f0 !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
  }

  body.home-page-hq .hq-topchrome__search {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
  }

  body.home-page-hq .hq-topchrome__icon-btn {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
  }

  body.home-page-hq .hq-topchrome .discovery-nav-select {
    background-color: #f8fafc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230f172a' stroke-width='2' stroke-opacity='0.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  }

  body.home-page-hq #paneDiscover.pane.active.hq-discover-main {
    padding-top: var(--hq-topchrome-stack) !important;
    min-height: auto !important;
  }
}

/* --- Top chrome --- */
.hq-topchrome {
  --hq-pad-x: clamp(12px, 2.8vw, 24px);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  padding: calc(8px + env(safe-area-inset-top)) var(--hq-pad-x) 10px !important;
  background: #0f172a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18) !important;
}

.hq-topchrome__primary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hq-topchrome__logo {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  justify-self: start;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hq-topchrome__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hq-topchrome__search {
  justify-self: center;
  width: 100%;
  max-width: min(28rem, 100%);
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.hq-topchrome__search:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.hq-topchrome__search i {
  font-size: 1rem;
  opacity: 0.8;
}

.hq-topchrome__end {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  justify-self: end;
}

.hq-topchrome__scheme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.hq-topchrome__scheme-btn:hover {
  background: transparent !important;
  color: #cbd5e1;
  opacity: 1;
}

.hq-topchrome__scheme-btn:focus-visible {
  outline: 2px solid rgba(124, 196, 255, 0.55);
  outline-offset: 2px;
}

.hq-topchrome__scheme-btn i,
.hq-topchrome__scheme-btn .hubliq-theme-palette-icon {
  font-size: 1.1rem;
  line-height: 1;
  background: none !important;
  background-color: transparent !important;
  color: inherit;
}

.hq-topchrome__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hq-topchrome__icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.hq-topchrome__icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hq-topchrome__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hq-topchrome__filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hq-topchrome__filters #mobileCityFilterForm {
  flex: 1 !important;
  min-width: 0 !important;
}

@media (min-width: 1150px) {
  .hq-topchrome__primary {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
  }

  .hq-topchrome__filters {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  body.home-page-hq {
    /* Short viewports: slightly tighter chrome assumption to reduce main content gap */
    --hq-topchrome-below-safe: max(8.5rem, 118px);
  }
}

body.home-page-hq #paneDiscover.pane.active.hq-discover-main {
  padding-top: var(--hq-topchrome-stack) !important;
  padding-left: var(--hq-gutter-x) !important;
  padding-right: var(--hq-gutter-x-end) !important;
  box-sizing: border-box !important;
}

/* Discovery: keep deep-dive column aligned with home section max-width on large screens */
body.discovery-page.home-page-hq .hubliq-discovery-content {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Remove double horizontal margin now that #paneDiscover supplies gutters */
body.home-page-hq .hq-hero {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home-page-hq .hq-social {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home-page-hq .hq-category-strip {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home-page-hq .hq-popular-cats {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Section titles align with content; avoid stacking head padding + section padding */
body.home-page-hq .mobile-home-app-section-head {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home-page-hq .hq-city-spotlight__grid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* --- Hero --- */
.hq-hero {
  margin: 0 clamp(12px, 3.2vw, 28px) 16px;
  padding: 24px clamp(18px, 4vw, 26px) clamp(32px, 5vw, 40px);
  border-radius: var(--hq-radius-lg);
  background: linear-gradient(145deg, #131c31 0%, #0f172a 55%, #0c1222 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

.hq-hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
  overflow: visible;
}

.hq-hero__visual {
  min-width: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  padding: 6px 0 4px;
}

/* Tablet / large phone horizontal rhythm (below desktop sidebar breakpoint) */
@media (min-width: 48rem) and (max-width: 1149.98px) {
  .hq-hero {
    padding: 26px 24px 30px;
  }

  .hq-hero__grid {
    gap: 28px;
  }

  .mobile-home-app-section-head {
    padding-left: clamp(16px, 3vw, 24px);
    padding-right: clamp(16px, 3vw, 24px);
  }
}

@media (min-width: 52rem) and (max-width: 1149.98px) {
  .hq-hero__grid {
    grid-template-columns: 1fr minmax(180px, min(32vw, 280px));
  }
}

.hq-hero__greet {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #fff !important;
  font-weight: 600;
}

.hq-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff !important;
  letter-spacing: -0.02em;
  text-shadow: none !important;
}

.hq-hero__title .hq-hero__city {
  color: #fff !important;
}

.hq-hero__tagline {
  margin: 0 0 20px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: none !important;
  filter: none !important;
}

.hq-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.hq-btn:active {
  transform: scale(0.98);
}

.hq-btn--primary {
  background: var(--hq-blue);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
}

.hq-btn--primary:hover {
  background: var(--hq-blue-hover);
  color: #fff !important;
}

.hq-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hq-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

/* Avatar orbit */
.hq-avatar-orbit {
  position: relative;
  width: min(100%, 200px);
  max-width: 200px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: visible;
}

.hq-avatar-orbit--interactive {
  cursor: default;
}

.hq-avatar-orbit__hit {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hq-avatar-orbit__hit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.hq-avatar-orbit--interactive .hq-avatar-orbit__hit:active {
  transform: scale(0.96);
}

a.hq-avatar-orbit__badge {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.hq-avatar-orbit__badge:active {
  transform: scale(0.98);
}

.hq-avatar-orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.hq-avatar-orbit__item {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  top: 50%;
  left: 50%;
  margin: -26px 0 0 -26px;
  transform: rotate(var(--orbit-deg, 0deg)) translateY(calc(-1 * var(--orbit-r, 96px))) rotate(calc(-1 * var(--orbit-deg, 0deg)));
}

.hq-avatar-orbit__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hq-avatar-orbit__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0066ff, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(0.75rem, 3.5vw, 1.05rem);
}

.hq-avatar-orbit__badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  max-width: 78px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, #0066ff, #0052cc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.hq-avatar-orbit__badge strong {
  font-size: clamp(0.72rem, 2.5vw, 0.88rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hq-avatar-orbit__badge small {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  line-height: 1.2;
}

@media (min-width: 1150px) {
  .hq-avatar-orbit {
    width: min(100%, 240px);
  }

  .hq-avatar-orbit__item {
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
  }

  .hq-avatar-orbit__badge {
    max-width: 100px;
  }

  .hq-hero {
    margin: 0 24px 20px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 42%, #eef2f7 100%) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.07) !important;
    overflow: visible;
  }

  .hq-hero__grid {
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 32px;
  }

  .hq-hero__greet {
    color: #0f172a !important;
    text-shadow: none !important;
  }

  .hq-hero__title {
    color: var(--hq-ink) !important;
    text-shadow: none !important;
  }

  .hq-hero__title .hq-hero__city {
    color: var(--hq-blue) !important;
  }

  .hq-hero__tagline {
    color: #0f172a !important;
    text-shadow: none !important;
    letter-spacing: 0.1em;
  }

  body.home-page-hq .hq-btn--primary {
    box-shadow: none !important;
  }

  .hq-btn--ghost {
    background: #f8fafc !important;
    color: var(--hq-ink) !important;
    border-color: #e2e8f0 !important;
  }

  .hq-btn--ghost:hover {
    background: #f1f5f9 !important;
    color: var(--hq-ink) !important;
  }

  .hq-avatar-orbit__ring {
    border-color: #e2e8f0;
  }

  .hq-avatar-orbit__item {
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  }

  /* Extra inset for hero copy when desktop sidebar + light hero card */
  body.home-page-hq .hq-hero__copy {
    padding-left: clamp(16px, 2.2vw, 32px) !important;
    box-sizing: border-box !important;
  }
}

/* Social proof */
.hq-social {
  margin: 0 clamp(12px, 3.2vw, 28px) 20px;
  padding: 14px 16px;
  border-radius: var(--hq-radius-md);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hq-social__faces {
  display: flex;
  align-items: center;
}

/* Stacked avatars + highlight slot (spotlight shows hover / tap selection) */
.hq-social__faces--pickable {
  gap: 0;
  flex-shrink: 0;
}

.hq-social__thumb-row {
  display: flex;
  align-items: center;
}

.hq-social__thumb {
  margin: 0 0 0 -8px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  line-height: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.12s ease, z-index 0s linear;
}

.hq-social__thumb:first-child {
  margin-left: 0;
}

.hq-social__thumb:hover,
.hq-social__thumb:focus-visible {
  z-index: 3;
}

.hq-social__thumb.is-active {
  z-index: 3;
}

.hq-social__thumb:focus-visible {
  outline: 2px solid var(--hq-blue, #0066ff);
  outline-offset: 3px;
}

.hq-social__thumb:active {
  transform: scale(0.96);
}

.hq-social__face {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin: 0;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: block;
}

.hq-social__face--placeholder {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  box-sizing: border-box;
  line-height: 1;
}

.hq-social__spotlight-hit {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin: 0 0 0 -8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 4;
  line-height: 0;
}

.hq-social__spotlight-hit:focus-visible {
  outline: 2px solid var(--hq-blue, #0066ff);
  outline-offset: 2px;
}

.hq-social__spotlight-hit:active {
  transform: scale(0.96);
}

.hq-social__spotlight {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin: 0;
  flex-shrink: 0;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.08),
    0 8px 20px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  background: #e2e8f0;
}

.hq-social__spotlight-letter {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid #fff;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.08),
    0 8px 20px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
  line-height: 1;
  pointer-events: none;
}

.hq-social__spotlight-letter:not([hidden]) {
  display: flex;
}

.hq-social__more {
  margin-left: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hq-ink);
}

.hq-social__body {
  flex: 1;
  min-width: 200px;
}

.hq-social__body p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a !important;
  line-height: 1.35;
  text-shadow: none !important;
}

.hq-social__verify {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
}

@media (min-width: 1150px) {
  .hq-social {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  body.home-page-hq .hq-social {
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05) !important;
  }

  body.home-page-hq .hq-social__body p {
    color: #475569 !important;
    text-shadow: none !important;
    font-weight: 600;
  }
}

/* Freelancer strip + category grid */
.hq-freelancers-strip {
  margin-top: 8px;
}

.hq-freelancers-strip .hq-strip-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 8px 4px 16px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
  overscroll-behavior-x: contain !important;
  scroll-snap-type: x proximity;
}

.hq-freelancers-strip.mobile-home-section-2026 {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.hq-freelancer-bubble {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  width: clamp(64px, 18vw, 72px);
}

.hq-freelancer-bubble__img {
  width: clamp(48px, 14vw, 56px);
  height: clamp(48px, 14vw, 56px);
  max-width: 56px;
  max-height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hq-freelancer-bubble__name {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 1150px) {
  .hq-freelancer-bubble {
    color: var(--hq-ink);
  }

  .hq-freelancer-bubble__img {
    border-color: #e2e8f0;
  }
}

.hq-popular-cats {
  margin: 8px clamp(12px, 3.2vw, 28px) 20px;
  padding: 20px;
  border-radius: var(--hq-radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1150px) {
  .hq-popular-cats {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    background: #fff !important;
    border-color: #e2e8f0 !important;
  }
}

.hq-popular-cats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hq-popular-cats__head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc !important;
  text-shadow: none !important;
}

@media (min-width: 1150px) {
  .hq-popular-cats__head h3 {
    color: var(--hq-ink) !important;
  }
}

.hq-popular-cats__head a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hq-blue);
  text-decoration: none;
}

@media (min-width: 1150px) {
  .hq-popular-cats__head a {
    color: var(--hq-blue) !important;
  }
}

.hq-popular-cats__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hq-popular-cats__grid a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hq-popular-cats__grid a:hover {
  background: rgba(0, 102, 255, 0.25);
  border-color: rgba(0, 102, 255, 0.4);
}

@media (min-width: 1150px) {
  .hq-popular-cats__grid a {
    background: #f8fafc !important;
    color: var(--hq-ink) !important;
    border-color: #e2e8f0 !important;
  }

  .hq-popular-cats__grid a:hover {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
  }
}

/* Mobile / tablet: section rails on dark home backdrop */
@media (max-width: 1149.98px) {
  /* Larger welcome logo in top chrome (mobile nav widths) */
  body.home-page-hq .hq-topchrome__logo {
    width: 56px !important;
    height: 56px !important;
  }

  /* Popular categories: remove outer card panel on mobile nav — category pills unchanged */
  body.home-page-hq .hq-popular-cats {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 18px !important;
  }

  /* Hero greeting (“Good evening, Name”) — larger, more welcoming */
  body.home-page-hq .hq-hero__greet {
    font-size: clamp(1.12rem, 4.6vw, 1.42rem) !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    margin-bottom: 10px !important;
  }

  /* Align hero headline + tagline with trust copy (shared inset) */
  body.home-page-hq .hq-hero__copy {
    padding-left: clamp(12px, 3.6vw, 20px) !important;
    box-sizing: border-box !important;
  }

  body.home-page-hq .hq-social__body {
    padding-left: clamp(12px, 3.6vw, 20px) !important;
    box-sizing: border-box !important;
  }

  body.home-page-hq .hq-social__body p {
    text-indent: 0;
    padding-left: 0;
  }

  /* Trust / avatar strip: hidden on mobile HQ home (hero + copy carry trust; avoids sparse strip) */
  body.home-page-hq .hq-social {
    display: none !important;
  }

  /* Kill the glass “tray” that pans with horizontal rows — show cards/avatars on page bg only */
  body.home-page-hq .mobile-home-page-2026 .mobile-home-scroll-row::before {
    display: none !important;
    content: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.home-page-hq .mobile-home-section-2026 .mobile-home-app-title {
    color: #f1f5f9 !important;
    text-shadow: none !important;
  }

  /* Banner sits in normal flow between categories and avatars — no sticky overlap */
  body.home-page-hq .hq-community-pin {
    position: relative !important;
    top: auto !important;
    z-index: 1;
    padding-bottom: 0;
    margin-bottom: 10px !important;
    background: transparent !important;
  }

  body.home-page-hq .hq-category-strip {
    margin-bottom: 10px !important;
    padding-top: 2px !important;
    padding-bottom: 4px !important;
  }

  body.home-page-hq .hq-community-section.mobile-home-section-brand-intro {
    padding-top: 6px !important;
  }

  /* Restored light community card (readable); clip watermark so it doesn’t sit over avatars */
  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner.mobile-home-community-shell {
    position: relative;
    z-index: 1;
    overflow: hidden !important;
    text-align: left;
    max-width: min(760px, calc(100vw - 32px)) !important;
    margin: 0 auto 12px !important;
    padding: clamp(14px, 3.4vw, 20px) clamp(14px, 3vw, 22px) clamp(12px, 2.6vw, 18px) !important;
    padding-right: min(42%, 200px) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner.mobile-home-community-shell::before {
    display: block !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__title {
    color: #0f172a !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__tagline {
    color: #1e293b !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__hint {
    border-top: 1px solid rgba(15, 23, 42, 0.1) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__hint-text {
    color: #475569 !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__chevrons,
  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner .home-pro-chevron-wrap {
    color: #64748b !important;
  }

  body.home-page-hq .mobile-home-page-2026 .mobile-home-brand-banner__logo-bg {
    opacity: 1 !important;
  }

  body.home-page-hq .mobile-home-brand-banner {
    opacity: 1 !important;
    transform: none !important;
  }

  body.home-page-hq .mobile-home-pro-avatars-row {
    position: relative;
    z-index: 2;
    margin-top: 4px !important;
    padding-top: 6px !important;
    padding-bottom: 16px !important;
  }

  body.home-page-hq .hq-featured-pro-head {
    margin-top: 20px !important;
    position: relative;
    z-index: 2;
  }

  body.home-page-hq .mobile-home-pro-cards-row {
    position: relative;
    z-index: 2;
    margin-top: 6px !important;
    padding-bottom: 12px !important;
  }
}

@media (min-width: 1150px) {
  body.home-page-hq .hq-community-pin {
    position: static;
    padding-bottom: 0;
    margin-bottom: 0;
    background: transparent;
  }
}

/* Section heading "see all" on desktop */
.mobile-home-app-section-head {
  padding-left: 12px;
  padding-right: 12px;
}

@media (min-width: 1150px) {
  .mobile-home-section-2026 {
    max-width: 1120px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* #paneDiscover already applies --hq-gutter-x; keep cards flush inside centered column */
  body.home-page-hq .mobile-home-section-2026 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page-hq .mobile-home-app-title,
  body.home-page-hq .mobile-home-app-eyebrow {
    color: #0f172a !important;
  }

  body.home-page-hq .mobile-home-pro-avatars-viewall {
    color: var(--hq-blue) !important;
  }

  body.home-page-hq .mobile-home-scroll-row {
    padding-left: var(--hq-scroll-pad-inline);
    padding-right: var(--hq-scroll-pad-inline);
  }
}

/* Default scroll-row inset (mobile + mid-size); desktop override above */
body.home-page-hq .mobile-home-scroll-row {
  padding-left: var(--hq-scroll-pad-inline);
  padding-right: var(--hq-scroll-pad-inline);
  box-sizing: border-box;
}

/* Lighter brand banner under new hero */
body.home-page-hq .mobile-home-brand-banner {
  opacity: 0.95;
  transform: scale(0.98);
}

/* Category strip below trust banner (mock order) */
.hq-category-strip {
  position: sticky;
  top: var(--hq-topchrome-stack);
  z-index: 900;
  margin: 0 clamp(12px, 3.2vw, 28px) 12px;
  padding: 6px 4px 8px;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.home-page-hq .hq-category-strip .chip.active {
  background: var(--hq-blue) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0, 102, 255, 0.35) !important;
}

@media (min-width: 1150px) {
  .hq-category-strip {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e2e8f0;
  }

  body.home-page-hq .hq-category-strip .chip:not(.active) {
    background: #0f172a !important;
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
    border: 1px solid #1e293b !important;
    box-shadow: none !important;
  }

  body.home-page-hq .hq-category-strip .chip:not(.active):hover {
    background: #172554 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-color: #334155 !important;
  }

  body.home-page-hq .hq-category-strip .chip.active {
    background: var(--hq-blue) !important;
    color: #fff !important;
  }
}

/* Section headers: See all + carousel control */
.mobile-home-app-section-head.hq-section-head--row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hq-section-head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hq-section-head__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hq-blue);
  text-decoration: none;
}

.hq-section-head__link:hover {
  text-decoration: underline;
}

@media (min-width: 1150px) {
  .hq-section-head__link {
    color: var(--hq-blue) !important;
  }
}

.hq-scroll-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.hq-scroll-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hq-scroll-arrow-btn:active {
  transform: scale(0.96);
}

@media (min-width: 1150px) {
  .hq-scroll-arrow-btn {
    background: #fff;
    color: var(--hq-blue);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
  }

  .hq-scroll-arrow-btn:hover {
    background: #f8fafc;
  }
}

/* Desktop top bar: user menu */
.hq-topchrome__user-menu {
  position: relative;
}

.hq-topchrome__user-toggle {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.hq-topchrome__user-toggle::after {
  margin-left: 2px;
}

.hq-topchrome__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.hq-topchrome__user-initial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066ff, #0052cc);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.hq-topchrome__user-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hq-topchrome__user-dropdown {
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid #e2e8f0;
}

@media (min-width: 1150px) {
  .hq-topchrome__user-toggle {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
    color: var(--hq-ink) !important;
  }

  .hq-topchrome__user-avatar {
    border-color: #e2e8f0;
  }
}

/* City spotlight (wide tiles, mock-style) */
.hq-city-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 12px 8px;
}

@media (min-width: 40rem) {
  .hq-city-spotlight__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1150px) {
  .hq-city-spotlight__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
  }
}

.hq-city-card {
  position: relative;
  display: flex;
  min-height: 140px;
  border-radius: var(--hq-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff !important;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(145deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.15) 100%), var(--hq-city-bg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hq-city-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 55%);
  pointer-events: none;
}

.hq-city-card__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hq-city-card__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hq-city-card__cta {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.95;
}

.hq-city-card:hover {
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}

/* Mobile/tablet HQ: floating notification bell above bottom nav (header has no bell/profile) */
@media (max-width: 1149.98px) {
  body.home-page-hq.mobile-home-active:not(.discovery-page) #quickBookBtn {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1150px) {
  body.home-page-hq:not(.discovery-page) #quickBookBtn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/*
 * Classic navy canvas (overscroll / “chin”): only surfaces that are already navy HQ UX.
 * Skip palette themes, neutral light scheme (stone canvas in hubliq-light-theme.css), and generic white pages.
 */
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  ):has(body.mobile-home-active),
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  ):has(body.discovery-page),
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  ):has(body.home-page-hq),
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  ):has(body.welcome-landing-page) {
  background-color: #0b1220 !important;
  background-image: none !important;
}

html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.mobile-home-active,
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.discovery-page,
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.home-page-hq,
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.welcome-landing-page {
  background-color: #0b1220 !important;
  background-image: none !important;
}

html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.mobile-home-active
  #page-scaling-wrapper,
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.discovery-page
  #page-scaling-wrapper,
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.home-page-hq
  #page-scaling-wrapper,
html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
    [data-ui-scheme="light"]
  )
  body.welcome-landing-page
  #page-scaling-wrapper {
  background-color: #0b1220 !important;
  background-image: none !important;
}

@media (max-width: 1149.98px) {
  html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
      [data-ui-scheme="light"]
    )
    body.detail-page-hq,
  html.hubliq-hq-nav:not([data-ui-theme="dune"]):not([data-ui-theme="glade"]):not([data-ui-theme="ember"]):not(
      [data-ui-scheme="light"]
    )
    body.detail-page-hq
    #page-scaling-wrapper {
    background-color: #0b1220 !important;
    background-image: none !important;
  }
}
