/* Versioned landing-page account modal.
 *
 * Keep this file self-contained: the main landing stylesheet has historically
 * been cached by file path even when its query string changed. A new filename
 * guarantees that the complete current modal reaches existing browsers. */
.sk-auth-modal[hidden] {
  display: none;
}

html.sk-auth-modal-open,
body.sk-auth-modal-open {
  overflow: hidden !important;
}

.sk-auth-modal,
.sk-auth-modal * {
  box-sizing: border-box;
}

.sk-auth-modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  color: #f1f1f1;
}

.sk-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 2, 9, .72);
  backdrop-filter: blur(10px);
}

.sk-auth-modal__dialog {
  position: relative;
  width: min(100%, 540px);
  max-height: min(760px, calc(100svh - 64px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 24px;
  background: rgba(8, 11, 24, .94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .48);
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
  scrollbar-width: thin;
}

.sk-auth-modal__content {
  padding: 48px 52px 42px;
}

.sk-auth-modal__close {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.sk-auth-modal__close:hover,
.sk-auth-modal__close:focus-visible {
  border-color: #c9fe6e;
  background: rgba(201, 254, 110, .16);
  outline: none;
}

.sk-auth-modal__close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.sk-auth-modal__content h1,
.sk-auth-modal__content h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.18;
}

.sk-auth-modal .auth-kicker {
  margin: 0 0 18px;
  color: rgba(241, 241, 241, .62);
  font: 500 .7rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sk-auth-modal .auth-lead {
  margin: 0 0 28px;
  color: rgba(241, 241, 241, .72);
  font-size: .9rem;
  line-height: 1.85;
}

.sk-auth-modal .auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font: 500 14px/20px Arial, sans-serif;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
}

.sk-auth-modal .auth-google__mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.sk-auth-modal .auth-google:hover {
  border-color: #5f6368;
  background: #f2f2f2;
}

.sk-auth-modal .auth-google:active {
  transform: translateY(1px) scale(.995);
}

.sk-auth-modal .auth-google:focus-visible {
  outline: 3px solid #c9fe6e;
  outline-offset: 3px;
}

.sk-auth-modal .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .8125rem;
}

.sk-auth-modal .auth-divider::before,
.sk-auth-modal .auth-divider::after {
  width: auto;
  height: 1px;
  min-width: 0;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, .18);
  content: "";
}

.sk-auth-modal .auth-divider span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.sk-auth-modal .auth-form {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.sk-auth-modal .auth-field {
  display: grid;
  gap: 8px;
}

.sk-auth-modal .auth-field > span {
  color: rgba(241, 241, 241, .9);
  font: 500 .8125rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.sk-auth-modal .auth-field input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  outline: none;
}

.sk-auth-modal .auth-field input[type="email"]::placeholder {
  color: rgba(255, 255, 255, .42);
}

.sk-auth-modal .auth-field input[type="email"]:focus {
  border-color: #c9fe6e;
  box-shadow: 0 0 0 3px rgba(201, 254, 110, .18);
}

.sk-auth-modal .auth-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #c9fe6e;
  color: #0a0a0b;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
}

.sk-auth-modal .auth-primary::after {
  font-size: 1rem;
  content: "↗";
}

.sk-auth-modal .auth-primary:hover,
.sk-auth-modal .auth-primary:focus-visible {
  background: #b8f257;
  outline: none;
}

.sk-auth-modal .auth-primary:disabled {
  cursor: wait;
  opacity: .58;
}

.sk-auth-modal .auth-legal {
  margin: 24px 0 0;
  color: rgba(241, 241, 241, .6);
  font-size: .8125rem;
  line-height: 1.7;
}

.sk-auth-modal .auth-legal a,
.sk-auth-modal .auth-note a {
  color: #c9fe6e;
  text-underline-offset: 3px;
}

.sk-auth-modal .auth-note {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: rgba(241, 241, 241, .72);
  font-size: .8125rem;
  line-height: 1.7;
}

.sk-auth-modal .auth-note strong {
  color: #fff;
  font-weight: 600;
}

.sk-auth-modal .auth-flash,
.sk-auth-modal .flash {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 135, 119, .72);
  border-radius: 12px;
  background: rgba(255, 135, 119, .08);
  color: #ffd4cc;
  font-size: .82rem;
  line-height: 1.65;
}

.sk-auth-modal .auth-link {
  display: inline-flex;
  margin-top: 8px;
  color: #c9fe6e;
  font-size: .8rem;
  text-decoration: none;
}

.sk-auth-modal .auth-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sk-auth-modal__loading::after {
  display: inline-block;
  width: 1.2em;
  content: "…";
  animation: sk-auth-loading 1s steps(3, end) infinite;
}

@media (max-width: 768px) {
  .sk-auth-modal {
    align-items: end;
    padding: 0;
  }

  .sk-auth-modal__dialog {
    width: 100%;
    max-height: 94svh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .sk-auth-modal__content {
    padding: 40px 22px calc(28px + env(safe-area-inset-bottom));
  }

  .sk-auth-modal__content h1,
  .sk-auth-modal__content h2 {
    padding-right: 42px;
    font-size: 1.75rem;
  }

  .sk-auth-modal .auth-lead {
    font-size: .82rem;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sk-auth-modal__dialog {
    animation: sk-auth-modal-in .28s cubic-bezier(.16, 1, .3, 1) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-auth-modal .auth-google,
  .sk-auth-modal .auth-google:active {
    transition: none;
    transform: none;
  }

  .sk-auth-modal__loading::after {
    animation: none;
  }
}

@keyframes sk-auth-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sk-auth-loading {
  0% { opacity: .2; }
  100% { opacity: 1; }
}
