/* ============================================================
   Hustlers Crib — Global Overrides
   Applies to ALL pages: white background, minimal header,
   mobile bottom nav spacing
   ============================================================ */

/* ── White background everywhere ── */
body,
body.night-mode {
  background: #ffffff !important;
  padding-top: 0 !important;
}

/* ── Main header: minimal & clean (matches cf-nav style) ── */
.main-header {
  background: #ffffff !important;
  border-bottom: 1px solid #f0f0f0 !important;
  box-shadow: none !important;
}

/* Tighten header height */
.main-header .container,
.main-header .container-fluid { padding-top: 10px; padding-bottom: 10px; }

/* Clean logo */
.main-header .logo-wrapper { display: flex; align-items: center; }
.main-header .logo img { max-height: 36px; }

/* Search bar: pill shape, light fill */
.main-header .search-wrapper .form-control {
  border-radius: 20px !important;
  background: #f5f5f5 !important;
  border: 1.5px solid #ebebeb !important;
  height: 38px !important;
  font-size: 14px;
}
.main-header .search-wrapper .form-control:focus {
  border-color: #e6b541 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Nav icons: clean */
.main-header .navbar-wrapper ul li a,
.main-header .navbar-wrapper ul li button { color: #444 !important; }

/* ── Remove default sidebar background tint ── */
.sg-offcanvas-sidebar,
.sidebar-wrapper { background: transparent !important; }

/* Cards: white, soft border, no heavy shadow */
.card {
  background: #ffffff !important;
  border: 1px solid #ebebeb !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

/* ── Posts ── */
.post-wrapper {
  border: 1px solid #ebebeb !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  margin-bottom: 14px !important;
}

/* ── Panels ── */
.panel, .side-panel { background: #ffffff !important; border: 1px solid #ebebeb !important; border-radius: 12px !important; }

/* ── Newsfeed ── */
.newsfeed-wrapper { background: transparent !important; }

/* ── Mobile: padding for bottom nav ── */
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--hc-mobile-nav-safe) + 14px) !important; }
  /* hide the old Sngine bottom bar — we replace it */
  .footer-bottom-bar { display: none !important; }
}

/* ================================================================
   HC MOBILE BOTTOM NAV
   ================================================================ */
.hc-bottom-nav {
  display: none; /* shown only on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--hc-mobile-nav-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 22px env(safe-area-inset-bottom, 0);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #ebe4d8;
  box-shadow: 0 -10px 32px rgba(34, 24, 9, 0.08);
  backdrop-filter: blur(12px);
}

@media (max-width: 767px) {
  .hc-bottom-nav { display: flex; }
}

.hc-bn-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  cursor: pointer;
  text-decoration: none;
  color: #8f8374;
  border-radius: 50%;
  background: transparent;
  transition: color .15s, background .15s, transform .15s;
  position: relative;
}
.hc-bn-item:hover,
.hc-bn-item.active {
  color: #171513;
  background: #f7f1e8;
}
.hc-bn-item svg { width: 23px; height: 23px; stroke-width: 1.9; }
.hc-bn-item.active svg { stroke-width: 2.3; }

.hc-bn-item-profile {
  overflow: visible;
}

.hc-bn-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #e3d7c7;
  background: #fff;
}

.hc-bn-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #2d2419;
  background: #f0e6da;
}

/* Badge on nav icons */
.hc-bn-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  background: #e53e3e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  border: 2px solid #fff;
}

/* Center CREATE button */
.hc-bn-create {
  flex: 1.2;
  position: relative;
  top: -10px;
}
.hc-bn-create-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: background .15s, transform .15s;
}
.hc-bn-create:hover .hc-bn-create-circle,
.hc-bn-create:active .hc-bn-create-circle {
  background: #333;
  transform: scale(1.06);
}
.hc-bn-create svg { width: 24px; height: 24px; stroke-width: 2.5; }
.hc-bn-create span { color: #1a1a1a; font-size: 10px; font-weight: 600; }

/* Create dropdown panel */
.hc-bn-create-panel {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 16px;
  width: 280px;
  display: none;
  z-index: 1000;
  animation: hcBnIn .15s ease;
}
.hc-bn-create-panel.open { display: block; }
@keyframes hcBnIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.hc-bn-create-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hc-bn-create-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 10px;
  background: #f8f8f8;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background .12s;
}
.hc-bn-create-item:hover { background: #f0eeeb; color: #1a1a1a; }
.hc-bn-create-item svg { width: 22px; height: 22px; color: #1a1a1a; }

.hc-bn-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
}
.hc-bn-overlay.open { display: block; }

/* ================================================================
   HC UNIFIED HEADER BAR
   ================================================================ */
.hc-hb {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  height: 60px;
  display: flex;
  align-items: center;
}

.hc-hb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

/* ── Logo ── */
.hc-hb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.hc-hb-logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block !important;
  object-fit: contain;
}
@media (max-width: 767px) {
  .hc-hb-logo-img {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 130px !important;
  }
}
.hc-hb-logo-text {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -.3px;
  white-space: nowrap;
}

/* ── Left side ── */
.hc-hb-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

/* ── Communities button ── */
.hc-hb-comm { position: relative; }

.hc-hb-comm-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #444;
  font-size: 13px;
  font-weight: 500;
  transition: background .13s, color .13s;
  white-space: nowrap;
}
.hc-hb-comm-btn:hover { background: #f5f5f5; color: #1a1a1a; }
.hc-hb-comm-btn[aria-expanded="true"] { background: #f0f0f0; color: #1a1a1a; }
.hc-hb-comm-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.hc-hb-comm-chev {
  width: 14px !important;
  height: 14px !important;
  transition: transform .2s;
}
.hc-hb-comm-btn[aria-expanded="true"] .hc-hb-comm-chev { transform: rotate(180deg); }
/* "Communities" text — desktop only (≥768px) */
.hc-hb-comm-label { display: none !important; }
@media (min-width: 768px) { .hc-hb-comm-label { display: inline !important; } }

/* ── Communities panel ── */
.hc-hb-comm-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  max-width: calc(100vw - 24px); /* never overflow on small screens */
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 201;
  overflow: hidden;
  animation: hcHbPanelIn .15s ease;
}
.hc-hb-comm-panel.open { display: flex; flex-direction: column; }
@keyframes hcHbPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Search row */
.hc-hb-comm-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 8px;
  border-bottom: 1px solid #f0f0f0;
}
.hc-hb-comm-search-wrap svg { width: 16px; height: 16px; color: #888; flex-shrink: 0; }
.hc-hb-comm-search {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #1a1a1a;
  background: transparent;
}
.hc-hb-comm-search::placeholder { color: #aaa; }

/* Community list */
.hc-hb-comm-list {
  overflow-y: auto;
  max-height: 220px;
  padding: 6px 0;
}

/* Loading dots */
.hc-hb-comm-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px;
}
.hc-hb-comm-loading span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ccc;
  animation: hcHbDot .9s infinite ease-in-out;
}
.hc-hb-comm-loading span:nth-child(2) { animation-delay: .15s; }
.hc-hb-comm-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes hcHbDot {
  0%, 80%, 100% { transform: scale(.6); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Community item */
.hc-hb-comm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  transition: background .1s;
  cursor: pointer;
}
.hc-hb-comm-item:hover { background: #f7f7f7; color: #1a1a1a; }
.hc-hb-ci-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.hc-hb-ci-initial {
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.hc-hb-ci-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer links */
.hc-hb-comm-foot {
  border-top: 1px solid #f0f0f0;
  padding: 6px 0;
}
.hc-hb-comm-foot-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  cursor: pointer;
  transition: background .1s;
  border: none;
  background: transparent;
  width: 100%;
}
.hc-hb-comm-foot-link:hover { background: #f7f7f7; color: #1a1a1a; }
.hc-hb-comm-foot-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Overlay */
.hc-hb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
}
.hc-hb-overlay.open { display: block; }

/* ── Right icons ── */
.hc-hb-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Desktop-only elements (bell, chat, divider) — hidden on mobile */
.hc-hb-desktop-only { display: flex !important; }
@media (max-width: 767px) {
  .hc-hb-desktop-only { display: none !important; }
}

/* Vertical divider between icons and profile */
.hc-hb-divider {
  display: flex;
  width: 1px;
  height: 22px;
  background: #e0e0e0;
  margin: 0 8px;
  flex-shrink: 0;
}

.hc-hb-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: #555;
  text-decoration: none;
  transition: background .13s, color .13s;
  border: none;
  cursor: pointer;
}
.hc-hb-icon-btn:hover,
.hc-hb-icon-btn.active { background: #f5f5f5; color: #1a1a1a; }

.hc-hb-panel-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hc-hp-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: -10px;
  width: 340px;
  max-width: min(340px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14);
  z-index: 280;
  overflow: hidden;
  animation: hcHbPanelIn .16s ease;
}
.hc-hp-panel.open {
  display: flex;
  flex-direction: column;
}
.hc-hp-panel-messages {
  right: -52px;
}

.hc-hp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.hc-hp-title {
  font-size: 14px;
  font-weight: 700;
  color: #18181b;
}

.hc-hp-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-hp-link {
  border: none;
  background: transparent;
  color: #4f6ef7;
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}
.hc-hp-link:hover {
  color: #2f53f0;
}
.hc-hp-link.is-disabled,
.hc-hp-link:disabled {
  color: #b3b3b3;
  cursor: default;
}

.hc-hp-filter {
  position: relative;
}

.hc-hp-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}

.hc-hp-filter-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 112px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
  padding: 6px;
}
.hc-hp-filter-menu.open {
  display: block;
}
.hc-hp-filter-menu button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #1f2937;
  cursor: pointer;
}
.hc-hp-filter-menu button:hover {
  background: #f6f7fb;
}

.hc-hp-search-row {
  padding: 10px 14px 0;
}

.hc-hp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f4f5;
  border: 1px solid #efefef;
  border-radius: 10px;
  padding: 10px 12px;
}
.hc-hp-search svg {
  color: #9ca3af;
  flex-shrink: 0;
}
.hc-hp-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #111827;
}
.hc-hp-search input::placeholder {
  color: #9ca3af;
}

.hc-hp-body {
  min-height: 210px;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0 0;
}
.hc-hp-panel-messages .hc-hp-body {
  min-height: 300px;
}

.hc-hp-loading,
.hc-hp-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}

.hc-hp-section-label {
  padding: 6px 14px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.hc-hp-list {
  display: flex;
  flex-direction: column;
}

.hc-hp-item,
.hc-hp-item-button {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-top: 1px solid #f3f4f6;
  background: transparent;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.hc-hp-item:hover,
.hc-hp-item-button:hover {
  background: #fafafa;
}

.hc-hp-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
}

.hc-hp-avatar-stack {
  position: relative;
  width: 42px;
  min-width: 42px;
  height: 38px;
}
.hc-hp-avatar-stack .hc-hp-avatar {
  position: absolute;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 2px solid #fff;
}
.hc-hp-avatar-back {
  left: 0;
  bottom: 0;
}
.hc-hp-avatar-front {
  right: 0;
  top: 0;
}

.hc-hp-item-copy {
  min-width: 0;
  flex: 1;
}

.hc-hp-item-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hc-hp-item-title {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-hp-item-time {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
}

.hc-hp-item-text {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-hp-item-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 999px;
  background: #3f6df6;
  opacity: 0;
  margin-top: 14px;
}
.hc-hp-item.is-unread .hc-hp-item-dot {
  opacity: 1;
}

.hc-hp-foot {
  border-top: 1px solid #f0f0f0;
  padding: 10px 14px;
}

.hc-hp-foot-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}
.hc-hp-foot-link:hover {
  color: #111827;
  text-decoration: underline;
}

/* Badge */
.hc-hb-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: #e53e3e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
}

/* Profile dropdown */
.hc-hb-profile-li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
/* ── Profile Dropdown (hc-pd) ── */
.hc-pd { position: relative; flex-shrink: 0; }

/* Trigger button */
.hc-pd-btn {
  position: relative;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  background: #1a1a1a !important; /* brand-consistent dark fallback */
  padding: 0 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  transition: border-color .15s, box-shadow .15s;
}
.hc-pd-btn:hover { box-shadow: 0 0 0 3px rgba(0,0,0,.1) !important; }
.hc-pd-btn[aria-expanded="true"] { border-color: #999 !important; }

/* Profile photo inside button */
.hc-pd-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

/* Initials fallback (shown when photo errors) */
.hc-pd-initials {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff; /* white text on dark button */
  letter-spacing: .5px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* ── Panel ── */
.hc-pd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 270px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 300;
  overflow: hidden;
  animation: hcPdIn .15s ease;
}
.hc-pd-panel.open { display: block; }
@keyframes hcPdIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Identity header */
.hc-pd-ident {
  padding: 16px 16px 12px;
}
.hc-pd-ident-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.hc-pd-ident-email {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Divider */
.hc-pd-sep {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}

/* Menu item */
.hc-pd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 450;
  color: #1a1a1a;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .1s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.hc-pd-item:hover { background: #f7f7f7; color: #1a1a1a; }
.hc-pd-item svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  color: #555;
}
.hc-pd-item:hover svg { color: #1a1a1a; }

/* Log out — red */
.hc-pd-logout { color: #e53e3e !important; }
.hc-pd-logout svg { color: #e53e3e !important; }
.hc-pd-logout:hover { background: #fff5f5 !important; color: #c53030 !important; }
.hc-pd-logout:hover svg { color: #c53030 !important; }

/* Overlay to close on outside click */
.hc-pd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 299;
}
.hc-pd-overlay.open { display: block; }

/* Guest buttons */
.hc-hb-ghost-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: background .13s;
}
.hc-hb-ghost-btn:hover { background: #f5f5f5; color: #1a1a1a; }
.hc-hb-gold-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  transition: background .13s;
}
.hc-hb-gold-btn:hover { background: #333; }

/* Auth page CTA buttons */
.fr_welcome_btn.btn.btn-primary,
.fr_welcome_btn.btn-primary,
.fr_welcome_btn {
  background: #d6b16d !important;
  border-color: #d6b16d !important;
  color: #111111 !important;
  box-shadow: none !important;
}

.fr_welcome_btn.btn.btn-primary:hover,
.fr_welcome_btn.btn-primary:hover,
.fr_welcome_btn:hover,
.fr_welcome_btn.btn.btn-primary:focus,
.fr_welcome_btn.btn-primary:focus,
.fr_welcome_btn:focus {
  background: #c9a25b !important;
  border-color: #c9a25b !important;
  color: #111111 !important;
  box-shadow: none !important;
}

/* ── Suppress orphaned Sngine header / ads top bar ── */
.main-header { display: none !important; }
.hc-hb + .main-header { display: none !important; }

/* ── Remove top gap from main-wrapper ── */
.main-wrapper { padding-top: 0 !important; margin-top: 0 !important; }

/* Ensure ads include doesn't add blank space above header */
.ads-master-header:empty,
[class*="ads-header"]:empty { display: none !important; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .hc-hb-inner { padding: 0 12px; }
}
@media (max-width: 480px) {
  .hc-hb-comm-panel { width: calc(100vw - 24px); left: 0; }
  .hc-hp-panel,
  .hc-hp-panel-messages { right: -8px; }
}
:root {
  --hc-font-sans: "Plus Jakarta Sans", "Tajawal", "Segoe UI", sans-serif;
  --hc-font-size-base: 16px;
  --hc-font-size-sm: 0.875rem;
  --hc-font-weight-regular: 400;
  --hc-font-weight-medium: 500;
  --hc-font-weight-semibold: 600;
  --hc-font-weight-bold: 700;
  --hc-font-weight-extrabold: 800;
  --hc-line-height-body: 1.5;
  --hc-line-height-tight: 1.2;
  --hc-mobile-nav-height: 68px;
  --hc-mobile-nav-safe: calc(var(--hc-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
}

html {
  font-size: var(--hc-font-size-base);
}

body,
button,
input,
select,
textarea {
  font-family: var(--hc-font-sans) !important;
  font-weight: var(--hc-font-weight-regular);
}

body {
  line-height: var(--hc-line-height-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--hc-font-sans);
  line-height: var(--hc-line-height-tight);
}

small,
.small {
  font-size: var(--hc-font-size-sm);
}

code,
kbd,
pre,
samp {
  font-family: Consolas, "Courier New", monospace !important;
}

/* ── Disable Noty live popup notifications ── */
[id^="noty_"],
.noty_layout,
.noty_bar,
.noty_container { display: none !important; }
