
.auth-app-header.dashboard-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 22px 28px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(8, 11, 20, 0.9) !important;
  backdrop-filter: blur(18px) !important;
}
.auth-app-header .header-left,
.auth-app-header .header-right {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}
.auth-app-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0 !important;
}
.auth-app-header .brand-mark {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #17d5ff 0%, #9f55ff 100%) !important;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.15) !important;
}
.auth-app-header .brand-name {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}
.auth-app-header .dashboard-nav {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.auth-app-header .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
  color: #9aa6c0 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: 0.22s ease !important;
}
.auth-app-header .nav-link:hover,
.auth-app-header .nav-link.active {
  color: #24cbff !important;
  background: linear-gradient(180deg, rgba(18, 124, 180, 0.2), rgba(11, 46, 69, 0.35)) !important;
  box-shadow: inset 0 0 0 1px rgba(23, 204, 255, 0.08) !important;
}
.auth-app-header .nav-icon {
  width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
}
.auth-app-header .nav-icon svg,
.auth-app-header .download-button svg {
  width: 20px !important;
  height: 20px !important;
}
.auth-app-header .download-button,
.auth-app-header .profile-trigger {
  height: 58px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: rgba(255,255,255,0.03) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 18px !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease, color 0.18s ease !important;
  box-shadow: none !important;
  min-width: unset !important;
  max-width: none !important;
}
.auth-app-header .download-button:hover,
.auth-app-header .profile-trigger:hover {
  transform: translateY(-1px) !important;
  background: rgba(255,255,255,0.06) !important;
}
.auth-app-header .profile-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}
.auth-app-header .profile-trigger {
  min-width: 280px !important;
  justify-content: space-between !important;
}
.auth-app-header .profile-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #16d4ff, #b24bff) !important;
}
.auth-app-header .profile-email {
  flex: 1 !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #fff !important;
}
.auth-app-header .profile-chevron { color: #9aa6c0 !important; }
.auth-app-header .profile-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  min-width: 220px !important;
  padding: 8px !important;
  border-radius: 16px !important;
  background: rgba(14, 18, 28, 0.96) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(14px) !important;
  z-index: 1000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) scale(0.98) !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
}
.auth-app-header .profile-dropdown.active,
.auth-app-header .profile-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
  display: block !important;
}
.auth-app-header .dropdown-item,
.auth-app-header .language-option {
  width: 100% !important;
  display: block !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #e8edf7 !important;
  font-size: 15px !important;
  text-align: left !important;
  cursor: pointer !important;
}
.auth-app-header .dropdown-item:hover,
.auth-app-header .language-option:hover {
  background: rgba(255,255,255,0.06) !important;
}
.auth-app-header .dropdown-item.logout { color: #ff7e7e !important; }
.auth-app-header .dropdown-toggle { display: flex !important; align-items:center !important; justify-content: space-between !important; }
.auth-app-header .language-submenu { display: none !important; padding-top: 8px !important; }
.auth-app-header .language-submenu.active,
.auth-app-header .languageToggle.open + .language-submenu,
.auth-app-header #languageToggle.open + .language-submenu { display: block !important; }
.auth-app-header .language-option.active { background: rgba(17,216,255,.13) !important; color: #24cbff !important; }

@media (max-width: 1100px) {
  .auth-app-header.dashboard-header {
    padding: 14px 16px !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .auth-app-header .header-left {
    gap: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .auth-app-header .dashboard-nav {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .auth-app-header .nav-link {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 14px !important;
  }
  .auth-app-header .nav-link span:last-child { display: none !important; }
  .auth-app-header .header-right {
    margin-left: auto !important;
    gap: 10px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
  }
  .auth-app-header .download-button,
  .auth-app-header .profile-trigger {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 14px !important;
  }
  .auth-app-header .download-button span,
  .auth-app-header .profile-email,
  .auth-app-header .profile-chevron { display: none !important; }
  .auth-app-header .profile-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
  }
}
@media (max-width: 640px) {
  .auth-app-header.dashboard-header {
    flex-wrap: wrap !important;
  }
  .auth-app-header .header-left,
  .auth-app-header .header-right {
    width: 100% !important;
    justify-content: space-between !important;
  }
}


/* === fix19 unified authenticated header === */
.auth-app-header.dashboard-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 22px 28px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(8, 11, 20, 0.9) !important;
  backdrop-filter: blur(18px) !important;
}
.auth-app-header .header-left,
.auth-app-header .header-right {
  display:flex !important; align-items:center !important; gap:22px !important;
}
.auth-app-header .brand {display:inline-flex !important;align-items:center !important;gap:14px !important;flex-shrink:0 !important;}
.auth-app-header .brand-mark {width:54px !important;height:54px !important;border-radius:18px !important;font-size:1.9rem !important;font-weight:700 !important;}
.auth-app-header .brand-name {font-size:1.15rem !important;font-weight:700 !important;}
.auth-app-header .dashboard-nav {display:flex !important;align-items:center !important;gap:14px !important;flex-wrap:nowrap !important;}
.auth-app-header .nav-link {display:inline-flex !important;align-items:center !important;gap:10px !important;padding:16px 18px !important;height:56px !important;border-radius:18px !important;background:transparent !important;color:#b9c0cf !important;font-weight:500 !important;}
.auth-app-header .nav-link:hover,.auth-app-header .nav-link.active {color:#15cdfd !important;background:linear-gradient(180deg, rgba(17,216,255,.14), rgba(8,32,46,.45)) !important;}
.auth-app-header .nav-icon{width:18px !important;height:18px !important;display:inline-flex !important;}
.auth-app-header .download-button,.auth-app-header .profile-trigger{height:58px !important;border-radius:20px !important;background:rgba(255,255,255,.03) !important;border:1px solid rgba(255,255,255,.08) !important;color:#fff !important;font-weight:700 !important;display:inline-flex !important;align-items:center !important;gap:12px !important;}
.auth-app-header .download-button{padding:0 24px !important;min-width:146px !important;justify-content:center !important;}
.auth-app-header .download-button svg{width:18px !important;height:18px !important;flex:0 0 18px !important;}
.auth-app-header .profile-trigger{padding:0 16px !important;min-width:236px !important;justify-content:space-between !important;}
.auth-app-header .profile-avatar{width:38px !important;height:38px !important;min-width:38px !important;min-height:38px !important;border-radius:999px !important;}
.auth-app-header .profile-email{display:block !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:150px !important;}
.auth-app-header .profile-chevron{display:block !important;}
@media (max-width:1100px){
  .auth-app-header.dashboard-header{padding:14px 16px !important;gap:12px !important;align-items:flex-start !important;}
  .auth-app-header .header-left{gap:12px !important;flex:1 1 auto !important;min-width:0 !important;}
  .auth-app-header .dashboard-nav{gap:8px !important;}
  .auth-app-header .nav-link{width:44px !important;min-width:44px !important;height:44px !important;padding:0 !important;justify-content:center !important;border-radius:14px !important;}
  .auth-app-header .nav-link span:last-child{display:none !important;}
  .auth-app-header .header-right{margin-left:auto !important;gap:10px !important;}
  .auth-app-header .download-button,.auth-app-header .profile-trigger{width:44px !important;min-width:44px !important;max-width:44px !important;height:44px !important;padding:0 !important;justify-content:center !important;border-radius:14px !important;}
  .auth-app-header .download-button span,.auth-app-header .profile-email,.auth-app-header .profile-chevron{display:none !important;}
  .auth-app-header .profile-avatar{width:30px !important;height:30px !important;min-width:30px !important;min-height:30px !important;margin:0 !important;}
}
@media (max-width:640px){
  .auth-app-header.dashboard-header{display:grid !important;grid-template-columns:1fr auto auto !important;grid-template-rows:auto auto !important;align-items:center !important;gap:12px !important;padding:16px !important;}
  .auth-app-header .header-left{display:contents !important;}
  .auth-app-header .brand{grid-column:1 / 2 !important;grid-row:1 !important;}
  .auth-app-header .dashboard-nav{grid-column:1 / 2 !important;grid-row:2 !important;display:flex !important;align-items:center !important;gap:10px !important;min-width:0 !important;}
  .auth-app-header .header-right{grid-column:2 / 4 !important;grid-row:2 !important;display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-end !important;gap:10px !important;width:auto !important;min-width:0 !important;}
}

/* === fix20 strict unified header controls === */
.auth-app-header.dashboard-header .header-right{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  margin-left:auto !important;
  flex-wrap:nowrap !important;
}
.auth-app-header.dashboard-header .download-button{
  width:140px !important;
  min-width:140px !important;
  max-width:140px !important;
  flex:0 0 140px !important;
  height:58px !important;
  min-height:58px !important;
  padding:0 22px !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:nowrap !important;
  border-radius:18px !important;
}
.auth-app-header.dashboard-header .download-button span{
  display:inline-block !important;
  line-height:1 !important;
}
.auth-app-header.dashboard-header .profile-wrapper{
  flex:0 0 auto !important;
}
.auth-app-header.dashboard-header .profile-trigger{
  width:224px !important;
  min-width:224px !important;
  max-width:224px !important;
  flex:0 0 224px !important;
  height:58px !important;
  min-height:58px !important;
  padding:0 14px !important;
}
.auth-app-header.dashboard-header .profile-avatar{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
}
.auth-app-header.dashboard-header .profile-email{
  max-width:132px !important;
}
@media (max-width:1100px){
  .auth-app-header.dashboard-header .download-button,
  .auth-app-header.dashboard-header .profile-trigger{
    width:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    flex:0 0 48px !important;
    height:48px !important;
    min-height:48px !important;
    padding:0 !important;
    justify-content:center !important;
    border-radius:16px !important;
  }
  .auth-app-header.dashboard-header .download-button span,
  .auth-app-header.dashboard-header .profile-email,
  .auth-app-header.dashboard-header .profile-chevron{
    display:none !important;
  }
  .auth-app-header.dashboard-header .profile-avatar{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
    margin:0 !important;
  }
}
@media (max-width:640px){
  .auth-app-header.dashboard-header{
    grid-template-columns:1fr auto auto !important;
  }
  .auth-app-header.dashboard-header .header-right{
    grid-column:2 / 4 !important;
    grid-row:2 !important;
    width:auto !important;
    justify-content:flex-end !important;
  }
  .auth-app-header.dashboard-header .download-button,
  .auth-app-header.dashboard-header .profile-trigger{
    width:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    flex:0 0 48px !important;
  }
}


/* === fix21 unified authenticated header exact sizes === */
.auth-app-header .header-right{
  gap: 12px !important;
}
.auth-app-header .download-button{
  flex: 0 0 108px !important;
  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;
  justify-content: center !important;
}
.auth-app-header .profile-trigger{
  flex: 0 0 228px !important;
  width: 228px !important;
  min-width: 228px !important;
  max-width: 228px !important;
}
@media (max-width: 1100px){
  .auth-app-header .download-button{
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
  .auth-app-header .profile-trigger{
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
  .auth-app-header .header-right{
    width: auto !important;
    flex-wrap: nowrap !important;
  }
}


/* === fix22 exact avatar/header normalization === */
.auth-app-header .header-right { flex: 0 0 auto !important; }
.auth-app-header .download-button {
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  justify-content: center !important;
  flex: 0 0 156px !important;
}
.auth-app-header .profile-trigger {
  width: 236px !important;
  min-width: 236px !important;
  max-width: 236px !important;
  justify-content: space-between !important;
  padding: 0 14px !important;
}
.auth-app-header .profile-wrapper,
.auth-app-header .profile-trigger,
.auth-app-header .download-button {
  display: inline-flex !important;
  align-items: center !important;
}
.auth-app-header .profile-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}
.auth-app-header .profile-email { margin: 0 0 0 12px !important; }
@media (max-width: 1100px) {
  .auth-app-header .download-button,
  .auth-app-header .profile-trigger {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    flex: 0 0 48px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .auth-app-header .profile-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 15px !important;
  }
}
@media (max-width: 640px) {
  .auth-app-header.dashboard-header {
    grid-template-columns: auto 1fr auto auto !important;
    grid-template-rows: auto auto !important;
    padding: 16px !important;
    gap: 12px !important;
    align-items: center !important;
  }
  .auth-app-header .brand { grid-column: 1 / span 2 !important; grid-row: 1 !important; }
  .auth-app-header .dashboard-nav { grid-column: 1 / span 2 !important; grid-row: 2 !important; }
  .auth-app-header .header-right {
    grid-column: 3 / 5 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    justify-self: end !important;
    gap: 10px !important;
  }
  .auth-app-header .download-button,
  .auth-app-header .profile-trigger {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 14px !important;
    flex: 0 0 46px !important;
  }
  .auth-app-header .profile-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 15px !important;
  }
}


/* fix23 exact avatar/button alignment */
.cap-verified-badge{display:inline-flex !important;}
.auth-app-header .profile-trigger{display:inline-flex !important;align-items:center !important;justify-content:space-between !important;padding:0 16px !important;overflow:hidden !important;}
.auth-app-header .profile-avatar{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important;max-width:40px !important;max-height:40px !important;aspect-ratio:1/1 !important;border-radius:999px !important;line-height:1 !important;font-size: 15px !important;font-weight:800 !important;letter-spacing:0 !important;text-align:center !important;padding:0 !important;overflow:hidden !important;}
@media (max-width:1100px){
  .auth-app-header .profile-trigger{justify-content:center !important;padding:0 !important;}
  .auth-app-header .profile-avatar{width:32px !important;height:32px !important;min-width:32px !important;min-height:32px !important;max-width:32px !important;max-height:32px !important;font-size:13px !important;}
}
@media (max-width:640px){
  .auth-app-header .header-right{flex-direction:row !important;justify-content:flex-end !important;gap:10px !important;width:auto !important;}
  .auth-app-header .profile-trigger,.auth-app-header .download-button{width:44px !important;min-width:44px !important;max-width:44px !important;height:44px !important;min-height:44px !important;max-height:44px !important;flex:0 0 44px !important;border-radius:14px !important;padding:0 !important;justify-content:center !important;}
}


/* === fix24 final header avatar unification === */
.auth-app-header .profile-chevron,
.landing-profile .profile-chevron{display:none !important;}
.auth-app-header .profile-trigger,
body.is-authenticated .landing-profile .profile-trigger{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  overflow:hidden !important;
}
.auth-app-header .profile-avatar,
body.is-authenticated .landing-profile .profile-avatar,
.support-header .profile-avatar,
.trade-header .profile-avatar,
.dashboard-header .profile-avatar{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  aspect-ratio:1 / 1 !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1 !important;
  font-size: 15px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}
.auth-app-header .profile-wrapper,
body.is-authenticated .landing-profile .profile-wrapper{display:flex !important;align-items:center !important;justify-content:center !important;}
@media (max-width:1100px){
  .auth-app-header .profile-avatar,
  body.is-authenticated .landing-profile .profile-avatar,
  .support-header .profile-avatar,
  .trade-header .profile-avatar,
  .dashboard-header .profile-avatar{
    width:32px !important;height:32px !important;min-width:32px !important;min-height:32px !important;max-width:32px !important;max-height:32px !important;font-size:13px !important;
  }
}

/* === fix26 avatar centering === */
.auth-app-header .profile-chevron,
.landing-profile .profile-chevron,
.profile-chevron{display:none !important;}
.auth-app-header .profile-trigger,
body.is-authenticated .landing-profile .profile-trigger{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.auth-app-header .profile-avatar,
body.is-authenticated .landing-profile .profile-avatar,
.profile-avatar{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1 !important;
  margin:0 !important;
  transform:none !important;
  border-radius:999px !important;
  aspect-ratio:1/1 !important;
  font-weight:800 !important;
}
@media (max-width:1100px){
  .auth-app-header .profile-trigger,
  body.is-authenticated .landing-profile .profile-trigger{
    width:44px !important; min-width:44px !important; max-width:44px !important;
    height:44px !important; min-height:44px !important; max-height:44px !important;
    padding:0 !important;
  }
  .auth-app-header .profile-avatar,
  body.is-authenticated .landing-profile .profile-avatar,
  .profile-avatar{
    width:32px !important; height:32px !important; min-width:32px !important; min-height:32px !important;
    max-width:32px !important; max-height:32px !important; font-size:13px !important;
  }
}

/* === fix27 avatar centering === */
.auth-app-header .profile-wrapper,
.auth-app-header .profile-trigger,
body.is-authenticated .landing-profile .profile-wrapper,
body.is-authenticated .landing-profile .profile-trigger{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.auth-app-header .profile-trigger,
body.is-authenticated .landing-profile .profile-trigger{
  overflow:hidden !important;
  padding:0 !important;
}
.auth-app-header .profile-avatar,
body.is-authenticated .landing-profile .profile-avatar{
  margin:0 auto !important;
  transform:none !important;
  flex:0 0 auto !important;
}

.download-button.device-hidden{display:none !important;}


/* v32 shared verification modal for trade/support */
#verificationModal.modal-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(2,6,14,.72);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:22px;}
#verificationModal.modal-backdrop.hidden{display:none!important;}
#verificationModal .modal-card{width:min(620px,calc(100vw - 28px));background:#101522;border:1px solid rgba(255,255,255,.10);border-radius:28px;padding:26px;color:#fff;box-shadow:0 30px 80px rgba(0,0,0,.45)}
#verificationModal .modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}#verificationModal .modal-header h2{margin:0;font-size:28px;line-height:1.1}#verificationModal .icon-button{position:static;margin-left:auto;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.10);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:18px}#verificationModal .placeholder-card{border:1px solid rgba(34,211,238,.20);background:rgba(34,211,238,.08);border-radius:16px;padding:14px 16px;color:#c8d6f0;margin:12px 0}#verificationModal .form-grid{display:grid;grid-template-columns:1fr;gap:14px}#verificationModal .field{display:grid;gap:8px;color:#c8d6f0;font-weight:700}#verificationModal .field-input[type=file]{width:100%;min-height:56px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:#171d2b;color:#9fb0cc;padding:8px 12px;display:flex;align-items:center;justify-content:center}#verificationModal .field-input[type=file]::file-selector-button{height:40px;margin-right:14px;border:1px solid rgba(34,211,238,.18);background:#17213a;color:#fff;border-radius:12px;padding:0 16px;font-weight:800}#verificationModal .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}#verificationModal .ghost-button,#verificationModal .primary-button{min-height:54px;border-radius:16px;font-weight:800;border:1px solid rgba(255,255,255,.10)}#verificationModal .ghost-button{background:#252b36;color:#fff}#verificationModal .primary-button{background:#22c8f3;color:#04111d;border-color:transparent}.cap-verified-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;border-radius:999px!important;background:#1877f2!important;color:#fff!important;font-size:12px!important;font-weight:900!important;line-height:1!important;vertical-align:middle!important}
@media (max-width:640px){#verificationModal.modal-backdrop{padding:12px}#verificationModal .modal-card{padding:20px;border-radius:24px}#verificationModal .modal-actions{grid-template-columns:1fr}#verificationModal .modal-header h2{font-size:24px}}



/* v40 verification/wallet badge polish */
.dashboard-verified-badge,.hero-verified-badge,.wallet-verified-badge{display:none!important;}
.wallet-withdraw-blocked{color:#ff3f72!important;font-weight:900!important;margin-left:8px!important;white-space:nowrap!important;}
@media (max-width:700px){
  .profile-wrapper.is-verified .profile-trigger{width:78px!important;min-width:78px!important;max-width:78px!important;flex:0 0 78px!important;gap:6px!important;padding:0 8px!important;justify-content:center!important;}
  .profile-wrapper.is-verified .cap-verified-badge{position:static!important;display:inline-flex!important;width:20px!important;height:20px!important;min-width:20px!important;margin-left:2px!important;flex:0 0 20px!important;}
}


/* v42: compact verified avatar/check container on mobile */
@media (max-width:700px){
  .auth-app-header .profile-wrapper.is-verified .profile-trigger,
  .dashboard-header .profile-wrapper.is-verified .profile-trigger,
  .trade-header .profile-wrapper.is-verified .profile-trigger,
  body.is-authenticated .landing-profile.profile-wrapper.is-verified .profile-trigger{
    width:58px!important;min-width:58px!important;max-width:58px!important;flex:0 0 58px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    padding:0 5px!important;gap:3px!important;justify-content:center!important;overflow:hidden!important;
  }
  .profile-wrapper.is-verified .profile-email,.profile-wrapper.is-verified .profile-chevron{display:none!important;}
  .profile-wrapper.is-verified .profile-avatar{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;}
  .profile-wrapper.is-verified .cap-verified-badge{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;font-size:10px!important;margin-left:0!important;}
}

/* v43: fit avatar + verification check inside the mobile profile pill */
@media (max-width:700px){
  .profile-wrapper.is-verified{flex:0 0 auto!important;max-width:70px!important;}
  .profile-wrapper.is-verified .profile-trigger{
    width:66px!important;min-width:66px!important;max-width:66px!important;flex:0 0 66px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    padding:0 7px!important;gap:4px!important;justify-content:center!important;overflow:visible!important;
  }
  .profile-wrapper.is-verified .profile-email,.profile-wrapper.is-verified .profile-chevron{display:none!important;}
  .profile-wrapper.is-verified .profile-avatar{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex:0 0 30px!important;}
  .profile-wrapper.is-verified .cap-verified-badge{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;font-size:10px!important;margin-left:0!important;}
}

/* v44: compact mobile verified profile — avatar + check inside one small pill */
@media (max-width:700px){
  .profile-wrapper.is-verified{flex:0 0 auto!important;max-width:50px!important;min-width:50px!important;width:50px!important;overflow:visible!important;}
  .auth-app-header .profile-wrapper.is-verified .profile-trigger,
  .dashboard-header .profile-wrapper.is-verified .profile-trigger,
  .trade-header .profile-wrapper.is-verified .profile-trigger,
  body.is-authenticated .landing-profile.profile-wrapper.is-verified .profile-trigger,
  .profile-wrapper.is-verified .profile-trigger{position:relative!important;width:46px!important;min-width:46px!important;max-width:46px!important;flex:0 0 46px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important;gap:0!important;justify-content:center!important;overflow:visible!important;}
  .profile-wrapper.is-verified .profile-email,.profile-wrapper.is-verified .profile-chevron{display:none!important;}
  .profile-wrapper.is-verified .profile-avatar{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex:0 0 30px!important;margin:0!important;}
  .profile-wrapper.is-verified .cap-verified-badge{position:absolute!important;right:3px!important;bottom:4px!important;width:15px!important;height:15px!important;min-width:15px!important;flex:0 0 15px!important;margin:0!important;font-size:9px!important;border:2px solid #0b1020!important;box-shadow:0 0 0 1px rgba(34,211,238,.2)!important;}
}

/* v45: verified profile pill uses min-content instead of fixed widths */
.profile-wrapper.is-verified{
  width:min-content!important;
  min-width:min-content!important;
  max-width:max-content!important;
  flex:0 0 min-content!important;
  overflow:visible!important;
}
.profile-wrapper.is-verified .profile-trigger{
  width:min-content!important;
  min-width:min-content!important;
  max-width:max-content!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:0 8px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.profile-wrapper.is-verified .cap-verified-badge{
  position:static!important;
  right:auto!important;
  bottom:auto!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:0!important;
}
@media(max-width:700px){
  .profile-wrapper.is-verified{width:min-content!important;min-width:min-content!important;max-width:max-content!important;flex:0 0 min-content!important;}
  .profile-wrapper.is-verified .profile-trigger{width:min-content!important;min-width:min-content!important;max-width:max-content!important;height:40px!important;min-height:40px!important;padding:0 7px!important;gap:4px!important;}
  .profile-wrapper.is-verified .profile-email,.profile-wrapper.is-verified .profile-chevron{display:none!important;}
  .profile-wrapper.is-verified .profile-avatar{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex:0 0 30px!important;margin:0!important;}
  .profile-wrapper.is-verified .cap-verified-badge{position:static!important;flex:0 0 15px!important;width:15px!important;height:15px!important;min-width:15px!important;font-size:9px!important;margin:0!important;}
}

/* v4 fixes: dark styled scrollbars in auth modals */
.auth-modal,
.auth-card,
.register-modal,
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, .65) rgba(15, 23, 42, .35);
}
.auth-modal::-webkit-scrollbar,
.auth-card::-webkit-scrollbar,
.register-modal::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
  width: 8px;
}
.auth-modal::-webkit-scrollbar-track,
.auth-card::-webkit-scrollbar-track,
.register-modal::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, .35);
  border-radius: 12px;
}
.auth-modal::-webkit-scrollbar-thumb,
.auth-card::-webkit-scrollbar-thumb,
.register-modal::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 211, 238, .9), rgba(99, 102, 241, .9));
  border-radius: 12px;
}

/* Removed download buttons globally */
.download-button,
#downloadAppBtn {
  display: none !important;
}

/* Removed global Download button from platform pages */
.download-button,
#downloadAppBtn {
  display: none !important;
}


/* === v11 active/hover split-border design === */
.auth-app-header .nav-link,
.trade-header .nav-link,
.nav-link,
.category-tab,
.asset-card,
.mobile-market-toggle,
.market-select-trigger,
.asset-select-trigger {
  position: relative !important;
  overflow: hidden !important;
  border-color: transparent !important;
}
.auth-app-header .nav-link::before,
.auth-app-header .nav-link::after,
.trade-header .nav-link::before,
.trade-header .nav-link::after,
.nav-link::before,
.nav-link::after,
.category-tab::before,
.category-tab::after,
.asset-card::before,
.asset-card::after,
.mobile-market-toggle::before,
.mobile-market-toggle::after,
.market-select-trigger::before,
.market-select-trigger::after,
.asset-select-trigger::before,
.asset-select-trigger::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  border-radius: 999px;
  background: currentColor;
  transition: width .28s ease, opacity .2s ease, background-color .2s ease;
}
.auth-app-header .nav-link::before,
.trade-header .nav-link::before,
.nav-link::before,
.category-tab::before,
.asset-card::before,
.mobile-market-toggle::before,
.market-select-trigger::before,
.asset-select-trigger::before { top: 9px; }
.auth-app-header .nav-link::after,
.trade-header .nav-link::after,
.nav-link::after,
.category-tab::after,
.asset-card::after,
.mobile-market-toggle::after,
.market-select-trigger::after,
.asset-select-trigger::after { bottom: 9px; }
.auth-app-header .nav-link:hover::before,
.auth-app-header .nav-link:hover::after,
.auth-app-header .nav-link.active::before,
.auth-app-header .nav-link.active::after,
.trade-header .nav-link:hover::before,
.trade-header .nav-link:hover::after,
.trade-header .nav-link.active::before,
.trade-header .nav-link.active::after,
.nav-link:hover::before,
.nav-link:hover::after,
.nav-link.active::before,
.nav-link.active::after,
.category-tab:hover::before,
.category-tab:hover::after,
.category-tab.active::before,
.category-tab.active::after,
.asset-card:hover::before,
.asset-card:hover::after,
.asset-card.active::before,
.asset-card.active::after,
.mobile-market-toggle:hover::before,
.mobile-market-toggle:hover::after,
.mobile-market-toggle.active::before,
.mobile-market-toggle.active::after,
.market-select-trigger:hover::before,
.market-select-trigger:hover::after,
.market-select-trigger.active::before,
.market-select-trigger.active::after,
.asset-select-trigger:hover::before,
.asset-select-trigger:hover::after,
.asset-select-trigger.active::before,
.asset-select-trigger.active::after { opacity: 1; }
.auth-app-header .nav-link:hover::before,
.trade-header .nav-link:hover::before,
.nav-link:hover::before,
.category-tab:hover::before,
.asset-card:hover::before,
.mobile-market-toggle:hover::before,
.market-select-trigger:hover::before,
.asset-select-trigger:hover::before { width: 54%; }
.auth-app-header .nav-link:hover::after,
.trade-header .nav-link:hover::after,
.nav-link:hover::after,
.category-tab:hover::after,
.asset-card:hover::after,
.mobile-market-toggle:hover::after,
.market-select-trigger:hover::after,
.asset-select-trigger:hover::after { width: 35%; }
.auth-app-header .nav-link.active::before,
.trade-header .nav-link.active::before,
.nav-link.active::before,
.category-tab.active::before,
.asset-card.active::before,
.mobile-market-toggle.active::before,
.market-select-trigger.active::before,
.asset-select-trigger.active::before { width: 54%; background:#19e1d2 !important; }
.auth-app-header .nav-link.active::after,
.trade-header .nav-link.active::after,
.nav-link.active::after,
.category-tab.active::after,
.asset-card.active::after,
.mobile-market-toggle.active::after,
.market-select-trigger.active::after,
.asset-select-trigger.active::after { width: 35%; background:#19e1d2 !important; }
.auth-app-header .nav-link.active,
.trade-header .nav-link.active,
.nav-link.active,
.category-tab.active,
.asset-card.active,
.mobile-market-toggle.active,
.market-select-trigger.active,
.asset-select-trigger.active { color:#19e1d2 !important; box-shadow:none !important; border-color:transparent !important; }
.category-tab.active { background: rgba(25,225,210,.10) !important; }
.asset-card.active { background: linear-gradient(180deg, rgba(25,225,210,.11), rgba(9,37,48,.55)) !important; }


/* === v12: platform-blue active state, no decorative split borders/background === */
.auth-app-header .nav-link::before,
.auth-app-header .nav-link::after,
.trade-header .nav-link::before,
.trade-header .nav-link::after,
.nav-link::before,
.nav-link::after,
.category-tab::before,
.category-tab::after,
.asset-card::before,
.asset-card::after,
.mobile-market-toggle::before,
.mobile-market-toggle::after,
.market-select-trigger::before,
.market-select-trigger::after,
.asset-select-trigger::before,
.asset-select-trigger::after{
  display:none!important;
  content:none!important;
}
.auth-app-header .nav-link.active,
.trade-header .nav-link.active,
.nav-link.active,
.category-tab.active,
.asset-card.active,
.mobile-market-toggle.active,
.market-select-trigger.active,
.asset-select-trigger.active{
  color:#22c7f3!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.auth-app-header .nav-link:hover,
.trade-header .nav-link:hover,
.nav-link:hover,
.category-tab:hover,
.asset-card:hover,
.mobile-market-toggle:hover,
.market-select-trigger:hover,
.asset-select-trigger:hover{
  color:#22c7f3!important;
  background:rgba(34,199,243,.06)!important;
  border-color:transparent!important;
  box-shadow:none!important;
}


/* v14 active/hover menu underline animation, no blue inactive fills */
.nav-link,.category-tab,.asset-type-tab,.market-tab,.asset-category-tab{position:relative!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;}
.nav-link::after,.category-tab::after,.asset-type-tab::after,.market-tab::after,.asset-category-tab::after{content:"";position:absolute;left:50%;right:50%;bottom:7px;height:2px;border-radius:999px;background:#24c6f3;opacity:0;transition:left .22s ease,right .22s ease,opacity .18s ease;pointer-events:none;}
.nav-link:hover::after,.nav-link.active::after,.category-tab:hover::after,.category-tab.active::after,.asset-type-tab:hover::after,.asset-type-tab.active::after,.market-tab:hover::after,.market-tab.active::after,.asset-category-tab:hover::after,.asset-category-tab.active::after{left:28%;right:28%;opacity:1;}
.nav-link.active,.category-tab.active,.asset-type-tab.active,.market-tab.active,.asset-category-tab.active{color:#24c6f3!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;}
.category-tab:not(.active),.asset-type-tab:not(.active),.market-tab:not(.active),.asset-category-tab:not(.active){background:transparent!important;border-color:transparent!important;}
.asset-card{background:transparent!important;}
.asset-card.active{background:transparent!important;border-color:rgba(36,198,243,.45)!important;box-shadow:none!important;}
.asset-card:hover{background:rgba(36,198,243,.04)!important;}
@media(max-width:760px){.category-tab,.asset-type-tab,.market-tab,.asset-category-tab{background:transparent!important}.asset-card:not(.active){background:transparent!important}.asset-card.active{background:transparent!important}}

/* === v15 requested underline-only active/hover state and clean profile pill === */
.profile-trigger,
.profile-trigger:hover,
.profile-wrapper.is-verified .profile-trigger,
.auth-app-header .profile-wrapper.is-verified .profile-trigger,
.dashboard-header .profile-wrapper.is-verified .profile-trigger,
.trade-header .profile-wrapper.is-verified .profile-trigger{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.profile-wrapper.is-verified .cap-verified-badge,
.cap-verified-badge{
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  flex:0 0 12px!important;
  font-size:8px!important;
  line-height:1!important;
  margin-left:2px!important;
}
.nav-link,.category-tab,.asset-type-tab,.market-tab,.asset-category-tab,.asset-card{
  position:relative!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.nav-link:hover,.category-tab:hover,.asset-type-tab:hover,.market-tab:hover,.asset-category-tab:hover,.asset-card:hover,
.nav-link.active,.category-tab.active,.asset-type-tab.active,.market-tab.active,.asset-category-tab.active,.asset-card.active{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  color:#24c6f3!important;
}
.nav-link::before,.category-tab::before,.asset-type-tab::before,.market-tab::before,.asset-category-tab::before,
.nav-link::after,.category-tab::after,.asset-type-tab::after,.market-tab::after,.asset-category-tab::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  right:50%!important;
  height:2px!important;
  border-radius:999px!important;
  background:#24c6f3!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:left .24s ease,right .24s ease,opacity .18s ease!important;
}
.nav-link::after,.category-tab::after,.asset-type-tab::after,.market-tab::after,.asset-category-tab::after{bottom:7px!important;}
.nav-link::before,.category-tab::before,.asset-type-tab::before,.market-tab::before,.asset-category-tab::before{top:7px!important;}
.nav-link:hover::after,.category-tab:hover::after,.asset-type-tab:hover::after,.market-tab:hover::after,.asset-category-tab:hover::after,
.nav-link.active::after,.category-tab.active::after,.asset-type-tab.active::after,.market-tab.active::after,.asset-category-tab.active::after{
  left:22%!important;right:22%!important;opacity:1!important;
}
.nav-link:hover::before,.category-tab:hover::before,.asset-type-tab:hover::before,.market-tab:hover::before,.asset-category-tab:hover::before,
.nav-link.active::before,.category-tab.active::before,.asset-type-tab.active::before,.market-tab.active::before,.asset-category-tab.active::before{
  left:36%!important;right:36%!important;opacity:1!important;
}
.asset-card::before,.asset-card::after{display:none!important;content:none!important;}
@media(max-width:760px){
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{width:10px!important;height:10px!important;min-width:10px!important;font-size:7px!important;}
}


/* === v16 verified check size/placement === */
.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;font-size:10px!important;line-height:1!important;}
@media(min-width:761px){.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{width:18px!important;height:18px!important;min-width:18px!important;flex-basis:18px!important;font-size:11px!important;margin-left:4px!important;}}
@media(max-width:760px){
  .profile-wrapper.is-verified .profile-avatar{font-size:0!important;position:relative!important;}
  .profile-wrapper.is-verified .profile-avatar::before{content:'✓'!important;font-size:17px!important;font-weight:900!important;color:#fff!important;line-height:1!important;}
  .profile-wrapper.is-verified .cap-verified-badge{display:none!important;}
}


/* compact header hard fix */
@media(max-width:760px){
  .auth-app-header.dashboard-header{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto auto!important;width:100%!important;max-width:100%!important;padding:14px 12px!important;overflow:hidden!important;}
  .auth-app-header .header-left{display:contents!important;}
  .auth-app-header .brand{grid-column:1 / 2!important;grid-row:1!important;min-width:0!important;}
  .auth-app-header .brand-mark{width:44px!important;height:44px!important;min-width:44px!important;border-radius:14px!important;font-size:1.45rem!important;}
  .auth-app-header .brand-name{font-size:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .auth-app-header .dashboard-nav{grid-column:1 / 3!important;grid-row:2!important;display:flex!important;justify-content:space-between!important;gap:4px!important;width:100%!important;margin-top:12px!important;min-width:0!important;}
  .auth-app-header .nav-link{width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;padding:0!important;}
  .auth-app-header .header-right{grid-column:2 / 3!important;grid-row:1!important;display:flex!important;width:auto!important;min-width:0!important;}
  .auth-app-header .profile-trigger,.auth-app-header .download-button{width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;padding:0!important;border:0!important;background:transparent!important;}
  .auth-app-header .profile-avatar{width:34px!important;height:34px!important;min-width:34px!important;}
  .auth-app-header .profile-email,.auth-app-header .profile-chevron,.auth-app-header .download-button span{display:none!important;}
  .auth-app-header .profile-dropdown{right:0!important;min-width:220px!important;max-width:calc(100vw - 24px)!important;}
}


/* final mobile/profile badge fix */
.profile-wrapper .profile-trigger{position:relative!important;overflow:visible!important;}
.profile-wrapper .profile-avatar{font-size: 15px!important;}
.profile-wrapper.is-verified .profile-avatar{font-size: 15px!important;position:relative!important;}
.profile-wrapper.is-verified .profile-avatar::before{content:none!important;}
.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;width:16px!important;height:16px!important;min-width:16px!important;border-radius:999px!important;background:#2f8cff!important;color:#fff!important;font-size:10px!important;font-weight:900!important;margin-left:4px!important;box-shadow:0 0 0 2px #070c16!important;}
.notification-counter{position:absolute!important;right:-4px!important;bottom:-4px!important;z-index:20!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:17px!important;height:17px!important;padding:0 5px!important;border-radius:999px!important;background:#ff3b5c!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;box-shadow:0 0 0 2px #070c16!important;pointer-events:none!important;}
.notification-counter.hidden{display:none!important;}
@media(max-width:760px){
  .profile-wrapper.is-verified .profile-trigger{width:auto!important;min-width:auto!important;max-width:none!important;padding:0 6px!important;gap:4px!important;}
  .profile-wrapper.is-verified .profile-avatar{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:13px!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{width:15px!important;height:15px!important;min-width:15px!important;font-size:9px!important;margin-left:3px!important;}
  .notification-counter{right:-5px!important;bottom:-5px!important;min-width:16px!important;height:16px!important;font-size:9px!important;padding:0 4px!important;}
}


/* FINAL: verified check + notifications counter placement */
.profile-wrapper .profile-trigger{position:relative!important;overflow:visible!important;display:flex!important;align-items:center!important;}
.profile-wrapper .profile-avatar{position:relative!important;font-size: 15px!important;overflow:hidden!important;}
.profile-wrapper.is-verified .profile-avatar{font-size: 15px!important;}
.profile-wrapper.is-verified .profile-avatar::before{content:none!important;display:none!important;}
.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{position:absolute!important;left:22px!important;bottom:2px!important;z-index:22!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:16px!important;height:16px!important;min-width:16px!important;border-radius:999px!important;background:#2f8cff!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;margin:0!important;box-shadow:0 0 0 2px #070c16!important;pointer-events:none!important;}
.notification-counter{position:absolute!important;left:28px!important;top:0!important;right:auto!important;bottom:auto!important;z-index:23!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:17px!important;height:17px!important;padding:0 5px!important;border-radius:999px!important;background:#ff3b5c!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;box-shadow:0 0 0 2px #070c16!important;pointer-events:none!important;}
.notification-counter.hidden{display:none!important;}
@media(max-width:760px){
  .profile-wrapper .profile-trigger{min-width:40px!important;width:auto!important;max-width:none!important;padding:0!important;gap:0!important;background:transparent!important;border:0!important;}
  .profile-wrapper .profile-email,.profile-wrapper .profile-chevron{display:none!important;}
  .profile-wrapper .profile-avatar{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:13px!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{left:21px!important;bottom:1px!important;width:15px!important;height:15px!important;min-width:15px!important;font-size:9px!important;}
  .notification-counter{left:25px!important;top:-4px!important;min-width:16px!important;height:16px!important;font-size:9px!important;padding:0 4px!important;}
}


/* FINAL UX FIX: mobile profile/account button */
.auth-app-header.dashboard-header{overflow:visible!important;}
.auth-app-header .header-left{min-width:0!important;}
.auth-app-header .header-right{flex:0 0 auto!important;position:relative!important;z-index:80!important;}
.auth-app-header .profile-wrapper{position:relative!important;overflow:visible!important;flex:0 0 auto!important;}
.auth-app-header .profile-trigger{position:relative!important;overflow:visible!important;}
.profile-wrapper .profile-avatar{position:relative!important;overflow:hidden!important;}
.profile-wrapper.is-verified .profile-avatar::before{content:none!important;display:none!important;}
.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{
  position:absolute!important;left:20px!important;bottom:0!important;right:auto!important;top:auto!important;
  z-index:22!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:14px!important;height:14px!important;min-width:14px!important;border-radius:999px!important;
  background:#2f8cff!important;color:#fff!important;font-size:8px!important;font-weight:900!important;line-height:1!important;
  margin:0!important;border:0!important;box-shadow:none!important;outline:0!important;pointer-events:none!important;
}
.notification-counter{
  position:absolute!important;right:-5px!important;top:-5px!important;left:auto!important;bottom:auto!important;z-index:24!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:16px!important;height:16px!important;padding:0 4px!important;border-radius:999px!important;
  background:#ff315d!important;color:#fff!important;font-size:9px!important;font-weight:900!important;line-height:16px!important;
  border:0!important;box-shadow:0 0 0 2px #070c16!important;pointer-events:none!important;
}
.notification-counter.hidden{display:none!important;}
@media(max-width:760px){
  .auth-app-header.dashboard-header{padding:12px 14px!important;gap:10px!important;align-items:center!important;}
  .auth-app-header .header-left{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-areas:'brand brand' 'nav nav'!important;gap:14px 10px!important;flex:1 1 auto!important;}
  .auth-app-header .brand{grid-area:brand!important;}
  .auth-app-header .dashboard-nav{grid-area:nav!important;display:flex!important;justify-content:space-between!important;gap:10px!important;width:100%!important;max-width:260px!important;}
  .auth-app-header .header-right{align-self:start!important;margin-left:8px!important;padding-top:2px!important;}
  .auth-app-header .profile-wrapper,.profile-wrapper.is-verified{width:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important;overflow:visible!important;}
  .auth-app-header .profile-wrapper .profile-trigger,.auth-app-header .profile-wrapper.is-verified .profile-trigger,
  .profile-wrapper .profile-trigger,.profile-wrapper.is-verified .profile-trigger{
    width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;
    padding:0!important;gap:0!important;justify-content:center!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:14px!important;overflow:visible!important;
  }
  .profile-wrapper .profile-email,.profile-wrapper .profile-chevron{display:none!important;}
  .profile-wrapper .profile-avatar{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:13px!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{left:24px!important;bottom:4px!important;width:13px!important;height:13px!important;min-width:13px!important;font-size:8px!important;border:0!important;box-shadow:none!important;}
  .notification-counter{right:0!important;top:0!important;min-width:15px!important;height:15px!important;font-size:8px!important;line-height:15px!important;padding:0 4px!important;}
}


/* === FINAL USER FIX: compact account button placement and clean badges === */
.auth-app-header.dashboard-header{overflow:visible!important;}
.auth-app-header .profile-wrapper{position:relative!important;overflow:visible!important;flex:0 0 auto!important;}
.auth-app-header .profile-trigger{position:relative!important;overflow:visible!important;}
.profile-wrapper .profile-avatar{position:relative!important;overflow:hidden!important;}
.profile-wrapper.is-verified .profile-avatar::before{content:none!important;display:none!important;}
.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{
  position:absolute!important;right:-2px!important;bottom:3px!important;left:auto!important;top:auto!important;
  z-index:22!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:13px!important;height:13px!important;min-width:13px!important;border-radius:999px!important;
  background:#2f8cff!important;color:#fff!important;font-size:8px!important;font-weight:900!important;line-height:1!important;
  margin:0!important;border:0!important;box-shadow:none!important;outline:0!important;pointer-events:none!important;
}
.notification-counter{
  position:absolute!important;right:-5px!important;top:-5px!important;left:auto!important;bottom:auto!important;z-index:24!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:16px!important;height:16px!important;padding:0 4px!important;border-radius:999px!important;
  background:#ff315d!important;color:#fff!important;font-size:9px!important;font-weight:900!important;line-height:16px!important;
  border:0!important;box-shadow:0 0 0 2px #070c16!important;pointer-events:none!important;
}
.notification-counter.hidden{display:none!important;}

@media(min-width:761px){
  .auth-app-header.dashboard-header .profile-wrapper{width:auto!important;min-width:0!important;max-width:none!important;}
  .auth-app-header.dashboard-header .profile-trigger{
    width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;
    padding:0!important;gap:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:999px!important;
  }
  .auth-app-header.dashboard-header .profile-avatar{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;font-size: 15px!important;}
  .auth-app-header.dashboard-header .profile-email,.auth-app-header.dashboard-header .profile-chevron{display:none!important;}
  .auth-app-header.dashboard-header .cap-verified-badge{right:-2px!important;bottom:4px!important;}
}

@media(max-width:760px){
  .auth-app-header.dashboard-header{
    display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto auto!important;
    width:100%!important;max-width:100%!important;padding:12px 14px!important;gap:12px!important;align-items:center!important;
  }
  .auth-app-header .header-left{display:contents!important;min-width:0!important;}
  .auth-app-header .brand{grid-column:1 / 3!important;grid-row:1!important;min-width:0!important;}
  .auth-app-header .dashboard-nav{
    grid-column:1 / 2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;gap:8px!important;
  }
  .auth-app-header .header-right{grid-column:2 / 3!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;margin:0!important;padding:0!important;width:42px!important;min-width:42px!important;}
  .auth-app-header .profile-wrapper,.profile-wrapper.is-verified{width:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important;overflow:visible!important;}
  .auth-app-header .profile-wrapper .profile-trigger,.auth-app-header .profile-wrapper.is-verified .profile-trigger,
  .profile-wrapper .profile-trigger,.profile-wrapper.is-verified .profile-trigger{
    width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;
    padding:0!important;gap:0!important;justify-content:center!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:14px!important;overflow:visible!important;
  }
  .profile-wrapper .profile-email,.profile-wrapper .profile-chevron{display:none!important;}
  .profile-wrapper .profile-avatar{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:13px!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{right:2px!important;bottom:5px!important;left:auto!important;top:auto!important;width:13px!important;height:13px!important;min-width:13px!important;font-size:8px!important;border:0!important;box-shadow:none!important;}
  .notification-counter{right:0!important;top:0!important;min-width:15px!important;height:15px!important;font-size:8px!important;line-height:15px!important;padding:0 4px!important;}
}


/* final avatar/menu cleanup + bigger desktop verification check */
.auth-app-header .profile-wrapper,
.profile-wrapper.is-verified{
  overflow:visible!important;
}
@media (min-width: 761px){
  .auth-app-header .profile-wrapper,
  .profile-wrapper.is-verified{
    width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;margin-left:auto!important;
  }
  .auth-app-header .profile-trigger,
  .profile-wrapper.is-verified .profile-trigger{
    width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  .profile-wrapper .profile-email,.profile-wrapper .profile-chevron{display:none!important;}
  .profile-wrapper .profile-avatar{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;font-size:15px!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{
    right:-2px!important;bottom:-2px!important;left:auto!important;top:auto!important;width:22px!important;height:22px!important;min-width:22px!important;font-size: 15px!important;border:0!important;box-shadow:none!important;margin:0!important;
  }
  .profile-wrapper .notification-counter{
    right:-7px!important;top:-7px!important;left:auto!important;bottom:auto!important;
  }
}
@media (max-width: 760px){
  .auth-app-header .profile-wrapper,
  .profile-wrapper.is-verified{margin-left:auto!important;}
  .auth-nav{flex:1 1 auto!important;min-width:0!important;justify-content:space-around!important;}
}

/* REAL FIXED notification bubble */
.profile-trigger{position:relative!important;padding-right:46px!important;}
.notification-counter{
position:absolute!important;
right:34px!important;
top:-2px!important;
left:auto!important;
bottom:auto!important;
width:26px!important;
height:26px!important;
min-width:26px!important;
border-radius:50%!important;
background:#ffd400!important;
color:#111!important;
font-size:0!important;
font-weight:900!important;
display:flex!important;
align-items:center!important;
justify-content:center!important;
box-shadow:0 0 0 2px #151515,0 0 12px #ffd400,0 0 24px rgba(255,212,0,.75)!important;
animation:notifyPulse 1.4s infinite!important;
}
.notification-counter::before{content:"!";font-size: 17px;font-weight:900;color:#111;}
@keyframes notifyPulse{0%{transform:scale(1);box-shadow:0 0 0 2px #151515,0 0 12px #ffd400,0 0 24px rgba(255,212,0,.75)}50%{transform:scale(1.08);box-shadow:0 0 0 4px rgba(255,212,0,.35),0 0 18px #ffd400,0 0 34px rgba(255,212,0,.95)}100%{transform:scale(1)}}
.profile-verified-badge{right:-2px!important;bottom:-2px!important;}
@media (max-width:768px){
.profile-trigger{padding-right:38px!important;}
.notification-counter{right:30px!important;top:-1px!important;width:22px!important;height:22px!important;min-width:22px!important;}
.notification-counter::before{font-size: 15px!important;}


.sl-tp-row,.sltp-row{transform:none!important;}
}


/* === final notification indicator: separate glowing circle, always visible === */
.profile-wrapper{position:relative!important;display:inline-flex!important;align-items:center!important;gap:10px!important;}
.profile-trigger{position:relative!important;}
.notification-counter.notification-pulse{
  position:absolute!important;
  right:44px!important;
  top:8px!important;
  z-index:12!important;
  width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;
  padding:0!important;border:0!important;border-radius:999px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font:900 10px/1 Inter,Arial,sans-serif!important;
  color:#171100!important;background:#f7d318!important;
  box-shadow:0 0 0 2px rgba(20,14,0,.78),0 0 12px rgba(255,214,0,.95),0 0 24px rgba(255,214,0,.55)!important;
  cursor:pointer!important;
  animation:notificationPulse 1.25s ease-in-out infinite!important;
}
.notification-counter.notification-pulse.is-empty{color:transparent!important;background:#5d6674!important;box-shadow:0 0 0 2px rgba(5,8,16,.85),0 0 7px rgba(140,150,165,.45)!important;animation:none!important;}
.notification-counter.notification-pulse.has-unread{background:#f7d318!important;color:#171100!important;}
@keyframes notificationPulse{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.18);filter:brightness(1.25)}}
@media(max-width:760px){.notification-counter.notification-pulse{right:38px!important;top:6px!important;width:17px!important;height:17px!important;min-width:17px!important;font-size:9px!important;}}


/* === USER FINAL FIX: separate notification button + verification badge === */
.profile-wrapper{position:relative!important;display:inline-flex!important;align-items:center!important;gap:8px!important;overflow:visible!important;}
.profile-trigger{position:relative!important;overflow:visible!important;}
.notification-counter.notification-pulse{
  position:absolute!important;right:52px!important;top:50%!important;transform:translateY(-50%)!important;z-index:80!important;
  width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;padding:0!important;border:0!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;pointer-events:auto!important;cursor:pointer!important;
  font:900 11px/1 Inter,Arial,sans-serif!important;color:#111!important;background:#ffd400!important;
  box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 12px rgba(255,212,0,.95),0 0 28px rgba(255,212,0,.75)!important;
  animation:notificationPulseUser 1.25s ease-in-out infinite!important;
}
.notification-counter.notification-pulse::before{content:none!important;}
.notification-counter.notification-pulse.is-empty{background:#5f6876!important;color:transparent!important;box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 8px rgba(140,150,165,.55)!important;animation:none!important;}
.notification-counter.notification-pulse.has-unread{background:#ffd400!important;color:#111!important;}
@keyframes notificationPulseUser{0%,100%{filter:brightness(1);box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 12px rgba(255,212,0,.95),0 0 28px rgba(255,212,0,.75)!important;}50%{filter:brightness(1.22);box-shadow:0 0 0 4px rgba(255,212,0,.24),0 0 20px rgba(255,212,0,1),0 0 38px rgba(255,212,0,.9)!important;}}
.header-notification-popover{position:absolute!important;right:44px!important;top:calc(100% + 10px)!important;z-index:1200!important;display:none!important;width:min(320px,86vw)!important;max-height:330px!important;overflow:auto!important;padding:10px!important;border-radius:16px!important;background:rgba(11,16,28,.98)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 18px 48px rgba(0,0,0,.5)!important;}
.header-notification-popover.active{display:block!important;}
.header-notification-popover .notification-row{width:100%!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;color:#eaf2ff!important;text-align:left!important;padding:12px!important;margin:0 0 8px!important;cursor:pointer!important;}
.header-notification-popover .notification-row.is-unread{background:rgba(255,212,0,.11)!important;box-shadow:inset 3px 0 0 #ffd400!important;}
.header-notification-popover .notification-row strong{display:block!important;font-size:13px!important;margin-bottom:4px!important;}
.header-notification-popover .notification-row span{display:block!important;color:#9fb2d7!important;font-size:12px!important;line-height:1.35!important;}
.header-notification-popover .notification-empty{padding:12px!important;color:#9fb2d7!important;font-size:13px!important;}
.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{width:18.7px!important;height:18.7px!important;min-width:18.7px!important;font-size:10.2px!important;right:-6px!important;bottom:1px!important;left:auto!important;top:auto!important;position:absolute!important;}
@media(max-width:760px){
  .profile-wrapper{width:72px!important;min-width:72px!important;max-width:72px!important;justify-content:flex-end!important;}
  .notification-counter.notification-pulse{right:43px!important;top:8px!important;transform:none!important;width:20px!important;height:20px!important;min-width:20px!important;font-size:10px!important;}
  .header-notification-popover{right:0!important;top:calc(100% + 8px)!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{right:2px!important;bottom:3px!important;width:15px!important;height:15px!important;min-width:15px!important;font-size:8px!important;}
}

/* final real separate notification button */
.header-right{position:relative!important;overflow:visible!important;}
.profile-wrapper{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;overflow:visible!important;width:auto!important;min-width:0!important;max-width:none!important;}
.notification-counter.notification-pulse{position:relative!important;right:auto!important;top:auto!important;bottom:auto!important;left:auto!important;transform:none!important;z-index:50!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;padding:0!important;border:0!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;order:0!important;background:#ffd400!important;color:#151000!important;font:900 11px/1 Inter,Arial,sans-serif!important;box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 14px rgba(255,212,0,.98),0 0 30px rgba(255,212,0,.72)!important;cursor:pointer!important;pointer-events:auto!important;animation:notifyPulseFinal 1.15s ease-in-out infinite!important;}
.notification-counter.notification-pulse.is-empty{background:#6a7280!important;color:#10141c!important;box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 9px rgba(140,150,165,.5)!important;animation:none!important;}
.notification-counter.notification-pulse.has-unread{background:#ffd400!important;color:#151000!important;}
@keyframes notifyPulseFinal{0%,100%{filter:brightness(1);transform:scale(1)}50%{filter:brightness(1.25);transform:scale(1.13)}}
.header-notification-popover{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;z-index:9999!important;display:none!important;width:min(330px,90vw)!important;max-height:340px!important;overflow:auto!important;padding:10px!important;border-radius:16px!important;background:rgba(9,14,26,.98)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 22px 60px rgba(0,0,0,.58)!important;}
.header-notification-popover.active{display:block!important;}
.header-notification-popover .notification-row{width:100%!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#edf5ff!important;text-align:left!important;padding:11px!important;margin:0 0 8px!important;cursor:pointer!important;}
.header-notification-popover .notification-row.is-unread{background:rgba(255,212,0,.13)!important;box-shadow:inset 3px 0 0 #ffd400!important;}
.header-notification-popover .notification-row strong{display:block!important;font-size:13px!important;margin-bottom:4px!important;}
.header-notification-popover .notification-row span{display:block!important;color:#aab9d8!important;font-size:12px!important;line-height:1.35!important;}
.header-notification-popover .notification-empty{padding:12px!important;color:#aab9d8!important;font-size:13px!important;}
@media(min-width:761px){.profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{width:15.3px!important;height:15.3px!important;min-width:15.3px!important;font-size:8.5px!important;right:-9px!important;bottom:1px!important;left:auto!important;top:auto!important;position:absolute!important;}}
@media(max-width:760px){.profile-wrapper{gap:7px!important;}.notification-counter.notification-pulse{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;font-size:10px!important;}.header-notification-popover{right:0!important;top:calc(100% + 8px)!important;}}


/* === ACTUAL FIX V4: notification badge only when unread, standalone clickable === */
.header-right{position:relative!important;overflow:visible!important;}
.profile-wrapper{position:relative!important;display:flex!important;align-items:center!important;gap:9px!important;overflow:visible!important;}
.notification-counter.notification-pulse.is-empty,
.notification-counter.notification-pulse[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
.notification-counter.notification-pulse.has-unread{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:relative!important;right:auto!important;left:auto!important;top:auto!important;bottom:auto!important;transform:none!important;order:0!important;z-index:100!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;padding:0!important;border:0!important;border-radius:999px!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;background:#ffd400!important;color:#101010!important;font:900 11px/1 Inter,Arial,sans-serif!important;box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 14px rgba(255,212,0,.98),0 0 32px rgba(255,212,0,.78)!important;cursor:pointer!important;pointer-events:auto!important;animation:notifyPulseV4 1.15s ease-in-out infinite!important;}
@keyframes notifyPulseV4{0%,100%{filter:brightness(1);transform:scale(1)}50%{filter:brightness(1.25);transform:scale(1.12)}}
.header-notification-popover{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;z-index:99999!important;display:none!important;width:min(330px,92vw)!important;max-height:350px!important;overflow:auto!important;padding:10px!important;border-radius:16px!important;background:rgba(9,14,26,.99)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 22px 60px rgba(0,0,0,.62)!important;}
.header-notification-popover.active{display:block!important;}
@media(max-width:760px){.profile-wrapper{gap:7px!important;}.notification-counter.notification-pulse.has-unread{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;font-size:10px!important;}.header-notification-popover{right:0!important;top:calc(100% + 8px)!important;}}

/* final desktop verified badge position for dashboard redesign */
@media (min-width: 761px){
  .profile-wrapper.is-verified .profile-trigger{position:relative!important;overflow:visible!important;}
  .profile-wrapper.is-verified .profile-avatar{position:relative!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{
    width:20.5px!important;height:20.5px!important;min-width:20.5px!important;font-size:11px!important;
    position:absolute!important;right:-2px!important;bottom:7px!important;left:auto!important;top:auto!important;
    margin:0!important;box-shadow:0 0 0 2px #070c16!important;z-index:25!important;
  }
}


/* === REAL USER PATCH v3: fixed modal close, compact desktop trade history, stable verified check === */
#transactionsHistoryModal .modal-header,
#tradesHistoryModal .modal-header,
#allTradesModal .modal-header,
#withdrawModal .modal-header,
#verificationModal .modal-header,
#depositModal .modal-header{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:34px!important;margin:0 0 12px!important;padding:0 32px 0 0!important;gap:12px!important;
}
#transactionsHistoryModal .modal-header h2,
#tradesHistoryModal .modal-header h2,
#allTradesModal .modal-header h2,
#withdrawModal .modal-header h2,
#verificationModal .modal-header h2,
#depositModal .modal-header h2{margin:0!important;line-height:1.05!important;text-align:left!important;max-width:calc(100% - 36px)!important;}
#transactionsHistoryModal .modal-header .icon-button,
#tradesHistoryModal .modal-header .icon-button,
#allTradesModal .modal-header .icon-button,
#withdrawModal .modal-header .icon-button,
#verificationModal .modal-header .icon-button,
#depositModal .modal-header .icon-button{
  position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;
  width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;padding:0!important;border-radius:999px!important;
  font-size:13px!important;line-height:20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
@media (min-width:900px){
  #tradesHistoryModal .modal-card,#allTradesModal .modal-card,.all-trades-modal-card{width:min(735px,calc(100vw - 72px))!important;padding:14px 16px!important;}
  #tradesHistoryList.dfb-modal-history-list,#transactionsList.dfb-modal-history-list,.all-trades-list{gap:6px!important;max-height:calc(88vh - 78px)!important;overflow:auto!important;padding-right:4px!important;}
  #tradesHistoryList .trade-card,#tradesHistoryList .trade-row,.all-trades-list .trade-card,.all-trades-list .trade-row{padding:8px 8px!important;border-radius:10px!important;}
  #tradesHistoryList .trade-row-head,.all-trades-list .trade-row-head{margin-bottom:6px!important;gap:6px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;}
  #tradesHistoryList .side-chip,.all-trades-list .side-chip{font-size:10px!important;padding:3px 7px!important;line-height:1!important;}
  #tradesHistoryList .trade-percent,.all-trades-list .trade-percent{font-size:12px!important;line-height:1!important;}
  #tradesHistoryList .trade-symbol,.all-trades-list .trade-symbol{font-size:14px!important;line-height:1!important;white-space:nowrap!important;}
  #tradesHistoryList .trade-profit-inline,.all-trades-list .trade-profit-inline{font-size:13px!important;line-height:1!important;white-space:nowrap!important;}
  #tradesHistoryList .trade-metric-row-six,.all-trades-list .trade-metric-row-six{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;align-items:center!important;}
  #tradesHistoryList .trade-metric,.all-trades-list .trade-metric{display:flex!important;align-items:baseline!important;gap:2px!important;min-width:0!important;white-space:nowrap!important;}
  #tradesHistoryList .trade-metric b,.all-trades-list .trade-metric b{font-size:10px!important;color:#93a0b8!important;font-weight:700!important;}
  #tradesHistoryList .trade-metric span,.all-trades-list .trade-metric span{font-size:12px!important;font-weight:800!important;overflow:hidden!important;text-overflow:ellipsis!important;}
}
/* desktop check uses the same avatar-corner position as mobile, but is 35% larger than the 13px mobile badge */
@media (min-width:761px){
  .auth-app-header.dashboard-header .profile-wrapper,.profile-wrapper.is-verified{position:relative!important;width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;overflow:visible!important;}
  .auth-app-header.dashboard-header .profile-trigger,.profile-wrapper.is-verified .profile-trigger{position:relative!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .auth-app-header.dashboard-header .profile-avatar,.profile-wrapper .profile-avatar{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;}
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{position:absolute!important;right:1px!important;bottom:4px!important;left:auto!important;top:auto!important;width:18px!important;height:18px!important;min-width:18px!important;font-size:11px!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important;}
}
@media (max-width:760px){
  body.modal-open .profile-wrapper.is-verified .cap-verified-badge,
  .profile-wrapper.is-verified .cap-verified-badge,.cap-verified-badge{position:absolute!important;right:2px!important;bottom:5px!important;left:auto!important;top:auto!important;width:13px!important;height:13px!important;min-width:13px!important;font-size:8px!important;transform:none!important;margin:0!important;}
}

/* Stage3: PostgreSQL notifications modal */
.header-notification-popover .notification-popover-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:4px 6px 10px!important;color:#f5f7ff!important;font-size:13px!important;}
.header-notification-popover .notification-popover-head span{color:#ffd400!important;font-weight:800!important;}
.header-notification-popover .notification-row em{display:block!important;margin-top:6px!important;color:#6f7f9f!important;font-style:normal!important;font-size:11px!important;}
.header-notification-detail{position:fixed!important;inset:0!important;z-index:100000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(2,6,16,.72)!important;backdrop-filter:blur(10px)!important;}
.header-notification-detail.hidden{display:none!important;}
.header-notification-detail-card{position:relative!important;width:min(520px,92vw)!important;max-height:min(620px,86vh)!important;overflow:auto!important;border-radius:22px!important;padding:24px!important;background:linear-gradient(180deg,rgba(17,25,44,.98),rgba(9,14,26,.99))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 30px 90px rgba(0,0,0,.62)!important;color:#edf5ff!important;}
.header-notification-detail-close{position:absolute!important;right:14px!important;top:12px!important;width:34px!important;height:34px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:22px!important;line-height:1!important;cursor:pointer!important;}
.header-notification-detail-card h3{margin:8px 44px 12px 0!important;font-size:20px!important;line-height:1.25!important;color:#fff!important;}
.header-notification-detail-card p{margin:0!important;white-space:pre-wrap!important;color:#c7d4ee!important;font-size:14px!important;line-height:1.55!important;}
.header-notification-detail-date{color:#ffd400!important;font-size:12px!important;font-weight:800!important;letter-spacing:.04em!important;text-transform:uppercase!important;}

/* Stage4: notification states + desktop/mobile browser notifications UI */
.notification-counter.notification-pulse,
.notification-counter.notification-pulse.is-empty,
.notification-counter.notification-pulse.no-unread{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  position:relative!important;
  right:auto!important;
  left:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  order:0!important;
  z-index:100!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 22px!important;
  background:#2678ff!important;
  color:#ffffff!important;
  font:900 13px/1 Inter,Arial,sans-serif!important;
  box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 12px rgba(38,120,255,.92),0 0 28px rgba(38,120,255,.46)!important;
  cursor:pointer!important;
  animation:none!important;
}
.notification-counter.notification-pulse.has-unread{
  background:#ffd400!important;
  color:#151000!important;
  font:900 11px/1 Inter,Arial,sans-serif!important;
  box-shadow:0 0 0 2px rgba(5,8,16,.94),0 0 14px rgba(255,212,0,.98),0 0 32px rgba(255,212,0,.78)!important;
  animation:notifyPulseV4 1.15s ease-in-out infinite!important;
}
.notification-counter.notification-pulse::before{content:none!important;}
.header-notification-popover .notification-popover-head span{color:#7fb2ff!important;font-weight:800!important;font-size:12px!important;}
.header-notification-popover .notification-row.is-unread strong{color:#fff7c2!important;}
.header-notification-detail-card p{color:#e7eefc!important;}
.header-notification-detail-date{color:#8fb8ff!important;}
@media(max-width:760px){
  .notification-counter.notification-pulse,
  .notification-counter.notification-pulse.is-empty,
  .notification-counter.notification-pulse.no-unread,
  .notification-counter.notification-pulse.has-unread{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;font-size:10px!important;}
}


.notifications-warning{
  background: rgba(255,196,0,0.18) !important;
  border-color: rgba(255,196,0,0.55) !important;
  color: #ffd54a !important;
  animation: notificationPulse 1.8s infinite;
}

.notifications-warning .notification-badge,
.notifications-warning .notification-dot{
  background:#ffd54a !important;
  color:#08111f !important;
}

@keyframes notificationPulse{
  0%{ box-shadow:0 0 0 rgba(255,213,74,0.0);}
  50%{ box-shadow:0 0 18px rgba(255,213,74,0.45);}
  100%{ box-shadow:0 0 0 rgba(255,213,74,0.0);}
}

@media (max-width: 768px){
  .header-notifications,
  .notification-trigger,
  .notifications-trigger{
    position: relative !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }

  .notification-badge,
  .notification-dot{
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    line-height: 18px !important;
  }

  .landing-header .nav-link.active,
  .landing-header .header-nav a.active{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #18c8ff !important;
  }

  .landing-header .header-nav a{
    color: rgba(255,255,255,0.6) !important;
  }
}

/* === HOTFIX requested: desktop verification check placement === */
@media (min-width: 761px) {
  .profile-wrapper.is-verified .cap-verified-badge,
  .profile-wrapper .cap-verified-badge,
  .auth-app-header .cap-verified-badge,
  .dashboard-header .cap-verified-badge,
  .trade-header .cap-verified-badge,
  .cap-verified-badge {
    right: -7px !important;
  }
}


/* SAFE HOTFIX 2026-05-28: verified check on every auth header, no blue badge background */
.profile-wrapper.is-verified .cap-verified-badge,
.cap-verified-badge{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
  color: #ffffff !important;
}


/* FINAL_SAFE_UI_PATCH_START */
/* Verified badge: keep existing check shape, remove blue background everywhere */
.verified-badge,
.profile-verified,
.header-verified-badge,
.user-verified-badge,
.avatar-verified,
.avatar-check,
.profile-avatar-check,
.user-avatar-check,
.auth-user-check,
.auth-profile-check,
[class*="verified"][class*="badge"],
[class*="avatar"][class*="check"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Transaction history: restore two-column/card layout; only fix height and vertical centering */
.transactions-modal .transaction-item,
.transactions-modal .transaction-row,
.transactions-modal .transaction-card,
.transaction-history-modal .transaction-item,
.transaction-history-modal .transaction-row,
.transaction-history-modal .transaction-card,
#transactionsModal .transaction-item,
#transactionsModal .transaction-row,
#transactionsModal .transaction-card {
  min-height: 104px !important;
  height: auto !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.transactions-modal .transaction-card,
.transaction-history-modal .transaction-card,
#transactionsModal .transaction-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  column-gap: 24px !important;
}

.transactions-modal .transaction-item > *,
.transactions-modal .transaction-row > *,
.transactions-modal .transaction-card > *,
.transaction-history-modal .transaction-item > *,
.transaction-history-modal .transaction-row > *,
.transaction-history-modal .transaction-card > *,
#transactionsModal .transaction-item > *,
#transactionsModal .transaction-row > *,
#transactionsModal .transaction-card > * {
  align-self: center !important;
}

.transactions-modal .transaction-right,
.transactions-modal .transaction-meta,
.transactions-modal .transaction-amount-wrap,
.transaction-history-modal .transaction-right,
.transaction-history-modal .transaction-meta,
.transaction-history-modal .transaction-amount-wrap,
#transactionsModal .transaction-right,
#transactionsModal .transaction-meta,
#transactionsModal .transaction-amount-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-end !important;
  text-align: right !important;
  min-width: max-content !important;
}

.transactions-modal .transaction-left,
.transaction-history-modal .transaction-left,
#transactionsModal .transaction-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}

@media (max-width: 768px) {
  .transactions-modal .transaction-item,
  .transactions-modal .transaction-row,
  .transactions-modal .transaction-card,
  .transaction-history-modal .transaction-item,
  .transaction-history-modal .transaction-row,
  .transaction-history-modal .transaction-card,
  #transactionsModal .transaction-item,
  #transactionsModal .transaction-row,
  #transactionsModal .transaction-card {
    min-height: 128px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .transactions-modal .transaction-card,
  .transaction-history-modal .transaction-card,
  #transactionsModal .transaction-card {
    grid-template-columns: minmax(0, 1fr) max-content !important;
    column-gap: 14px !important;
  }

  .transactions-modal .transaction-right,
  .transactions-modal .transaction-meta,
  .transactions-modal .transaction-amount-wrap,
  .transaction-history-modal .transaction-right,
  .transaction-history-modal .transaction-meta,
  .transaction-history-modal .transaction-amount-wrap,
  #transactionsModal .transaction-right,
  #transactionsModal .transaction-meta,
  #transactionsModal .transaction-amount-wrap {
    align-items: flex-end !important;
    text-align: right !important;
  }
}

/* Portfolio chart mobile: keep chart inside card */
@media (max-width: 768px) {
  .portfolio-chart,
  .portfolio-chart-wrap,
  .portfolio-card-chart,
  .dashboard-portfolio-chart,
  .portfolio-card canvas,
  .portfolio-chart canvas {
    max-height: 260px !important;
  }

  .portfolio-card .chart-container,
  .portfolio-chart .chart-container,
  .dashboard-chart,
  .dashboard-chart canvas {
    height: 260px !important;
    min-height: 260px !important;
    overflow: hidden !important;
  }
}
/* FINAL_SAFE_UI_PATCH_END */

/* === platform scrollbar: notifications popover + language submenu === */
.header-notification-popover,
.auth-app-header .language-submenu,
.language-submenu {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(34,199,243,.55) rgba(15,22,40,.4) !important;
}
.header-notification-popover::-webkit-scrollbar,
.auth-app-header .language-submenu::-webkit-scrollbar,
.language-submenu::-webkit-scrollbar { width: 5px !important; }
.header-notification-popover::-webkit-scrollbar-track,
.auth-app-header .language-submenu::-webkit-scrollbar-track,
.language-submenu::-webkit-scrollbar-track { background: rgba(15,22,40,.4) !important; border-radius: 8px !important; }
.header-notification-popover::-webkit-scrollbar-thumb,
.auth-app-header .language-submenu::-webkit-scrollbar-thumb,
.language-submenu::-webkit-scrollbar-thumb { background: rgba(34,199,243,.55) !important; border-radius: 8px !important; }

/* === unified verified checkmark: no background, green ✓ at avatar corner === */
.profile-wrapper.is-verified .cap-verified-badge,
.cap-verified-badge {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
  color: #19e59a !important;
  text-shadow: 0 0 4px rgba(0,0,0,0.85) !important;
  position: absolute !important;
  right: -5px !important;
  bottom: -2px !important;
  left: auto !important;
  top: auto !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  z-index: 25 !important;
  margin: 0 !important;
  pointer-events: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
}
@media (max-width: 760px) {
  .profile-wrapper.is-verified .cap-verified-badge,
  .cap-verified-badge {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    font-size: 9px !important;
    right: -3px !important;
    bottom: -1px !important;
  }
}


/* ── Custom file input (replaces native browser UI) ── */
.custom-file-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.custom-file-wrap input[type="file"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.custom-file-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.custom-file-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.custom-file-label {
  flex: 1;
  font-size: 13px;
  color: #8f9bad;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-file-wrap.has-file .custom-file-label { color: #19d47b; }
.custom-file-wrap.has-file .custom-file-btn { border-color: rgba(25,212,123,.35); }
.light-theme .custom-file-btn,
body.light-theme .custom-file-btn { background: #f3f7fb; color: #0f172a; border-color: #d7dfeb; }
.light-theme .custom-file-btn:hover,
body.light-theme .custom-file-btn:hover { background: #e8eef7; }
.light-theme .custom-file-label,
body.light-theme .custom-file-label { color: #64748b; }
@media (max-width: 600px) {
  .custom-file-btn { padding: 8px 12px; font-size: 12px; }
  .custom-file-label { font-size: 12px; }
}
