.sn-topbar-status-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 0.1rem 0.25rem;
  min-height: 30px;
}

.sn-topbar-status-link:hover,
.sn-topbar-status-link:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.92;
}

.sn-topbar-status-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  color: inherit;
}

.sn-topbar-status-link__icon i {
  font-size: 0.95em;
}

.sn-topbar-status-link__value,
.sn-topbar-status-link__suffix {
  color: inherit;
  white-space: nowrap;
}

.sn-topbar-status-link__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  height: 18px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.sn-topbar-status-link__value.is-alert {
  min-width: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3347;
}

.sn-topbar-status-link[data-sn-topbar-item="wallet"] .sn-topbar-status-link__value {
  min-width: 0;
}

.sn-topbar-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.sn-topbar-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 10px;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(8, 13, 23, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  color: #f6fbff;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sn-topbar-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sn-topbar-toast__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sn-topbar-toast__body strong,
.sn-topbar-toast__body span {
  display: block;
}

.sn-topbar-toast__body strong {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.sn-topbar-toast__body span {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(246, 251, 255, 0.8);
}

.sn-topbar-toast__close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

@media (max-width: 767px) {
  .sn-topbar-status-link {
    font-size: 12px;
    gap: 0.32rem;
  }

  .sn-topbar-toast-stack {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .sn-topbar-toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}
