/* Compact Login CTA so it matches top-nav height */
.nav-cta > .btn,
.nav-cta > [data-open-login] {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.55em 1.2em;
  min-height: 40px;
  height: 40px;
  box-shadow: 0 8px 20px -10px rgba(236, 23, 64, 0.55);
}
.nav-cta > .btn:hover,
.nav-cta > [data-open-login]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -12px rgba(236, 23, 64, 0.7);
}

.nav-auth-slot {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-auth {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-auth-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.nav-auth-trigger:hover,
.nav-auth-trigger[aria-expanded="true"] {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-auth-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-auth-trigger svg {
  width: 22px;
  height: 22px;
}
.nav-auth-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 9, 41, 0.96);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.75);
  z-index: 120;
  display: grid;
  gap: 4px;
}
.nav-auth-menu a,
.nav-auth-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #e9ecff;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}
.nav-auth-menu a:hover,
.nav-auth-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.drawer .nav-auth-slot {
  margin-top: 24px;
  width: 100%;
}
.drawer .nav-auth {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.drawer .nav-auth-trigger {
  align-self: flex-start;
}
.drawer .nav-auth-menu {
  position: static;
  min-width: 0;
  width: 100%;
  box-shadow: none;
}
@media (max-width: 980px) {
  .nav-cta .nav-auth-slot {
    display: none;
  }
}
