.caleo-auth-login-button,
.caleo-auth-primary,
.caleo-auth-bot-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #00d8ff;
  color: #071014;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 216, 255, .18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.caleo-auth-login-button { min-height: 34px; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(25,24,32,.72); color: #fff; font-size: 12px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); white-space: nowrap; }
.brand-row > .caleo-auth-login-button { position: absolute; top: 0; right: 0; }
.caleo-auth-login-button:hover { background: rgba(25,24,32,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.caleo-auth-primary:hover,
.caleo-auth-bot-link:hover { background: #32e1ff; box-shadow: 0 10px 28px rgba(0, 216, 255, .24); }
.caleo-auth-login-button:active,
.caleo-auth-primary:active,
.caleo-auth-bot-link:active { transform: scale(.97); }
.caleo-auth-login-button:focus-visible,
.caleo-auth-primary:focus-visible,
.caleo-auth-bot-link:focus-visible,
.caleo-auth-close:focus-visible,
.caleo-auth-cancel:focus-visible { outline: 2px solid #a6ff4d; outline-offset: 3px; }

.caleo-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 7, 10, .76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: caleo-auth-fade .18s ease both;
}
.caleo-auth-backdrop[hidden] { display: none !important; }
.caleo-auth-dialog {
  position: relative;
  width: min(100%, 470px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 34px 28px 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 27px;
  background: radial-gradient(ellipse at 50% 0, rgba(0, 216, 255, .09), transparent 48%), linear-gradient(145deg, #19191e, #101014 78%);
  color: #f4f1ea;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: caleo-auth-rise .24s cubic-bezier(.22, .61, .36, 1) both;
}
.caleo-auth-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  color: #a9a5b0;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.caleo-auth-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 216, 255, .35);
  border-radius: 15px;
  background: rgba(0, 216, 255, .1);
  color: #00d8ff;
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: .14em;
  text-indent: .14em;
}
.caleo-auth-eyebrow {
  margin: 0 0 8px;
  color: #00d8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.caleo-auth-title {
  margin: 0;
  color: #fff;
  font-family: "Satoshi", Arial, sans-serif;
  font-size: clamp(27px, 7vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-align: center;
}
.caleo-auth-copy {
  max-width: 370px;
  margin: 13px auto 27px;
  color: #a9a5b0;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.caleo-auth-primary,
.caleo-auth-bot-link { width: 100%; min-height: 49px; }
.caleo-auth-primary { min-height: 62px; border-radius: 15px; font-size: 16px; }
.caleo-auth-primary svg { width: 23px; height: 23px; flex: 0 0 23px; fill: currentColor; }
.caleo-auth-primary:disabled { opacity: .55; cursor: progress; }
.caleo-auth-status {
  min-height: 20px;
  margin: 13px 0 0;
  color: #a9a5b0;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.caleo-auth-status[data-state="error"] { color: #ff9b9b; }
.caleo-auth-status[data-state="success"] { color: #a6ff4d; }
.caleo-auth-bot-link { margin-top: 10px; }
.caleo-auth-divider { display: flex; align-items: center; gap: 14px; margin: 23px 0 14px; color: #777680; font-size: 12px; white-space: nowrap; }
.caleo-auth-divider::before,.caleo-auth-divider::after { height: 1px; flex: 1; content: ""; background: rgba(255,255,255,.12); }
.caleo-auth-providers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.caleo-auth-providers button { position: relative; min-width: 0; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.045); color: #e6e4e8; font: inherit; font-size: 13px; font-weight: 700; }
.caleo-auth-providers button:disabled { opacity: .78; cursor: not-allowed; }
.caleo-auth-providers small { position: absolute; top: -7px; left: 50%; padding: 2px 7px; transform: translateX(-50%); border: 1px solid #19191e; border-radius: 999px; background: #26262d; color: #a9a5b0; font-size: 8px; line-height: 1.3; }
.caleo-provider-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 8px; background: #f5f5f7; font-size: 14px; font-weight: 800; }
.caleo-provider-icon.google { color: #4285f4; }
.caleo-provider-icon.yandex { border-radius: 50%; color: #e54135; }
.caleo-provider-icon.vk { background: #2787f5; color: #fff; font-size: 10px; }
.caleo-auth-cancel {
  min-height: 42px;
  display: block;
  margin: 12px auto 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #a9a5b0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.caleo-auth-footnote {
  margin: 18px 0 0;
  color: #777680;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.caleo-auth-login-page { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: #0b0b0d; color: #f4f1ea; font-family: "Satoshi", Arial, sans-serif; }
.caleo-auth-login-card { width: min(100%, 420px); padding: 30px 26px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: radial-gradient(ellipse at 95% 0,rgba(0,216,255,.14),transparent 42%),linear-gradient(145deg,#181a20,#0d0e12 75%); text-align: center; box-shadow: 0 24px 90px rgba(0,0,0,.45); }
.caleo-auth-login-brand { margin: 0 0 28px; color: #fff; font-family: Georgia,serif; font-size: 18px; letter-spacing: .38em; text-indent: .38em; }
.caleo-auth-login-card .caleo-auth-mark { margin: 0 auto 20px; }
.caleo-auth-login-card .caleo-auth-copy { margin-bottom: 22px; }
.caleo-auth-home-link { display: inline-block; margin-top: 19px; color: #a9a5b0; font-size: 13px; text-decoration: none; }
@keyframes caleo-auth-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes caleo-auth-rise { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .caleo-auth-backdrop, .caleo-auth-dialog { animation: none; } .caleo-auth-login-button,.caleo-auth-primary,.caleo-auth-bot-link { transition: none; } }
@media (max-width: 390px) { .caleo-auth-dialog { padding: 31px 18px 19px; } .caleo-auth-providers { gap: 7px; } .caleo-auth-providers button { gap: 5px; font-size: 12px; } }
