.studio-home .desktop-nav .auth-nav-trigger {
  flex: 0 0 auto;
  min-height: 38px;
  margin-left: -8px;
  padding: 0 14px;
  border: 1px solid rgba(192, 204, 255, .5);
  border-radius: 8px;
  background: linear-gradient(125deg, rgba(44, 117, 240, .22), rgba(142, 76, 230, .22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.studio-home .desktop-nav .auth-nav-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(219, 223, 255, .85);
  background-color: rgba(105, 94, 217, .26);
}
.studio-home .mobile-nav .auth-nav-trigger {
  grid-column: 1 / -1;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid rgba(183, 162, 245, .48);
  border-radius: 9px;
  background: linear-gradient(105deg, rgba(34, 104, 224, .3), rgba(136, 63, 217, .28));
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.studio-home .auth-nav-trigger:focus-visible { outline: 2px solid #b7d5ff; outline-offset: 3px; }
.auth-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(153, 169, 234, .48);
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0, rgba(104, 59, 183, .28), transparent 48%), linear-gradient(145deg, #111b34, #101425 75%);
  box-shadow: 0 24px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.1);
  color: #f6f7ff;
}
.auth-dialog::backdrop { background: rgba(2, 6, 18, .74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth-close { position: absolute; top: 13px; right: 13px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #d9dff2; font-size: 30px; line-height: 1; cursor: pointer; }
.auth-close:hover { background: rgba(160, 176, 236, .12); }
.auth-brand { width: 104px; height: 42px; overflow: hidden; }
.auth-brand img { display: block; width: 100%; height: auto; }
.auth-eyebrow { margin: 28px 0 4px; color: #a7bffe; font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.auth-dialog h2 { margin: 0; font-size: 29px; line-height: 1.35; letter-spacing: -.035em; }
.auth-description { margin: 12px 0 24px; color: #c5cede; font-size: 14px; line-height: 1.75; }
.auth-dialog form { display: grid; gap: 9px; }
.auth-dialog label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.auth-phone-field input,.auth-code-field input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 13px; border: 1px solid #7e8cab; border-radius: 8px; background: #0d182d; color: #fff; font: inherit; font-size: 16px; }
.auth-phone-field input::placeholder,.auth-code-field input::placeholder { color: #9ba9c1; }
.auth-code-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.auth-code-field button { min-height: 48px; padding: 0 15px; border: 1px solid #869ad2; border-radius: 8px; background: rgba(58, 100, 184, .16); color: #e9efff; font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.auth-code-field button:hover { background: rgba(58, 100, 184, .28); }
.auth-submit { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; margin-top: 17px; border: 0; border-radius: 8px; background: linear-gradient(105deg, #307bf0, #8948e7); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.auth-submit:hover { filter: brightness(1.1); }
.auth-status { min-height: 39px; margin: 6px 0 0; color: #bdc8dd; font-size: 12px; line-height: 1.65; }
.auth-dialog :focus-visible { outline: 3px solid #9cc7ff; outline-offset: 3px; }
@media (max-width: 1180px) and (min-width: 941px) {
  .studio-home .desktop-nav { gap: 12px; }
  .studio-home .desktop-nav .nav-language { padding-left: 10px; }
  .studio-home .desktop-nav .auth-nav-trigger { padding-inline: 10px; font-size: 12px; }
}
@media (max-width: 480px) {
  .auth-dialog { padding: 24px 20px; border-radius: 14px; }
  .auth-dialog h2 { font-size: 25px; }
  .auth-code-field button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-nav-trigger { transition: none !important; }
}
