.is-login-view { --auth-diameter: min(520px, calc(100vw - 64px), calc(100vh - 120px)); }

.is-login-view .auth-panel {
  width: var(--auth-diameter);
  height: var(--auth-diameter);
  margin: calc(144px + (400px - var(--auth-diameter)) / 2) auto 70px;
  padding: 64px 80px 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.is-login-view .auth-panel > * { width: 100%; }
.is-login-view .auth-panel h2 { margin-bottom: 24px; font-size: 32px; text-align: center; }
.is-login-view .auth-panel label { margin-top: 0; }
.is-login-view .auth-panel input { background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px) brightness(.82); -webkit-backdrop-filter: blur(10px) brightness(.82); }
.is-login-view .auth-panel button { color: #090b0f; background: rgba(244, 247, 252, .92); }
.is-login-view .auth-panel label + label { margin-top: 13px; }
.profile-confirm { width: min(430px, calc(100vw - 40px)); padding: 30px; color: var(--text); background: #0c0f12; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 80px #0009; }
.profile-confirm::backdrop { background: #0009; backdrop-filter: blur(9px); }
.profile-confirm h2 { margin: 0 0 10px; }
.profile-confirm dl { margin: 25px 0; }
.profile-confirm dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-confirm dt { color: var(--muted); }
.profile-confirm dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.profile-confirm-actions { display: flex; gap: 12px; }
.profile-confirm-actions button { flex: 1; margin: 0; }

@media (max-width: 750px) {
  .is-login-view { --auth-diameter: min(520px, calc(100vw - 36px), calc(100vh - 96px)); }
  .is-login-view .auth-panel { margin: calc(144px + (400px - var(--auth-diameter)) / 2) auto 48px; padding: 52px 48px; }
  .is-login-view .auth-panel h2 { font-size: 27px; }
}

@media (max-width: 430px) {
  .is-login-view .auth-panel { padding: 38px; }
  .is-login-view .auth-panel h2 { margin-bottom: 15px; font-size: 24px; }
}
