.nova-auth-widget {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  max-width: min(100%, 620px);
}

.nova-auth-label,
.nova-auth-pill,
.nova-auth-notice,
.nova-auth-name,
.nova-auth-wallet,
.nova-auth-error {
  font-size: 0.82rem;
  line-height: 1.2;
}

.nova-auth-label,
.nova-auth-pill,
.nova-auth-notice {
  color: rgba(244, 251, 248, 0.72);
}

.nova-auth-button,
.nova-auth-link,
.nova-auth-input {
  border: 1px solid rgba(209, 255, 241, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f4fbf8;
  border-radius: 8px;
  min-height: 36px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
}

.nova-auth-input {
  min-width: 0;
  width: min(100%, 220px);
  font-weight: 600;
}

.nova-auth-input::placeholder {
  color: rgba(244, 251, 248, 0.48);
}

.nova-auth-button--primary {
  border-color: rgba(41, 242, 166, 0.56);
  background: linear-gradient(135deg, #29f2a6, #64d8ff);
  color: #03100d;
}

.nova-auth-button:hover,
.nova-auth-button:focus-visible,
.nova-auth-link:hover,
.nova-auth-link:focus-visible,
.nova-auth-input:focus {
  border-color: rgba(41, 242, 166, 0.58);
  outline: none;
}

.nova-auth-actions,
.nova-auth-email-actions,
.nova-auth-email-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nova-auth-actions {
  justify-content: flex-end;
}

.nova-auth-email-form {
  flex-basis: 100%;
  justify-content: flex-end;
}

.nova-auth-link--inline {
  border-color: transparent;
  background: transparent;
  min-height: 34px;
  padding-inline: 6px;
  color: rgba(244, 251, 248, 0.74);
}

.nova-auth-avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29f2a6, #64d8ff);
  background-position: center;
  background-size: cover;
  color: #03100d;
  font-weight: 800;
}

.nova-auth-name {
  max-width: 180px;
  overflow: hidden;
  color: #f4fbf8;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nova-auth-wallet {
  border: 1px solid rgba(41, 242, 166, 0.28);
  border-radius: 999px;
  background: rgba(41, 242, 166, 0.1);
  color: #29f2a6;
  padding: 6px 9px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.nova-auth-error {
  flex-basis: 100%;
  color: #ff8aa1;
  text-align: right;
}

.nova-auth-gate {
  display: none;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: 8px;
  background: rgba(255, 200, 87, 0.08);
  padding: 12px 14px;
  color: #ffe2a2;
  font-size: 0.92rem;
}

.clips-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.home-account-card {
  display: grid;
  gap: 14px;
  margin-top: 1.2rem;
  border: 1px solid rgba(210, 255, 244, 0.22);
  border-radius: 12px;
  background: rgba(6, 15, 20, 0.58);
  padding: 1rem;
  width: min(100%, 560px);
}

.home-account-card h2,
.home-account-card p {
  margin: 0;
}

.home-account-card h2 {
  font-family: var(--display, "Oxanium", system-ui, sans-serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.home-account-card p:not(.panel-kicker) {
  color: var(--muted, rgba(244, 251, 248, 0.72));
}

.nova-auth-widget--home {
  justify-content: flex-start;
  display: grid;
  justify-items: start;
  max-width: 100%;
}

.nova-auth-widget--home .nova-auth-error {
  text-align: left;
}

.nova-auth-widget--home .nova-auth-actions,
.nova-auth-widget--home .nova-auth-email-form {
  justify-content: flex-start;
}

.nova-auth-widget--home .nova-auth-email-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
  width: 100%;
}

.nova-auth-widget--home .nova-auth-email-actions {
  grid-column: 1 / -1;
}

body.auth-required:not(.auth-signed-in) .nova-auth-gate {
  display: block;
}

@media (max-width: 760px) {
  .nova-auth-widget {
    justify-content: flex-start;
    width: 100%;
  }

  .nova-auth-error {
    text-align: left;
  }

  .nova-auth-actions,
  .nova-auth-email-form,
  .nova-auth-email-actions {
    justify-content: flex-start;
  }

  .nova-auth-widget--home .nova-auth-email-form {
    grid-template-columns: 1fr;
  }

  .nova-auth-widget--home .nova-auth-email-actions {
    grid-column: auto;
  }
}
