:root {
  color-scheme: light;
  --account-ink: var(--sc-theme-text, #142a43);
  --account-muted: var(--sc-theme-muted, #52677d);
  --account-line: var(--sc-theme-border, #e1e8ef);
  --account-blue: var(--sc-theme-primary, #176dce);
  --account-blue-hover: #1f78cf;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--account-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button,
input { font: inherit; }

.account-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
  transform: translateY(-150%);
}

.account-skip:focus { transform: none; }

.account-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-rows: 1fr auto;
  overflow-x: clip;
}

.account-main {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 88px 24px 48px;
}

.account-panel { width: min(100%, 360px); }

.account-logo {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 22px;
}

.account-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-panel h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
}

.account-intro {
  margin: 5px 0 12px;
  color: var(--account-muted);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-align: center;
}

.account-form { display: grid; }

.account-form label {
  margin: 0 0 6px;
  color: #37352f;
  font-size: 12px;
  font-weight: 600;
}

.account-form input[type="email"] {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--account-line);
  border-radius: 5px;
  background: #fff;
  color: var(--account-ink);
  font-size: 14px;
  outline: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / 3%);
}

.account-form input[type="email"]::placeholder { color: #9b9a97; }

.account-form input[type="email"]:focus {
  border-color: var(--account-blue);
  box-shadow: 0 0 0 1px var(--account-blue), 0 1px 2px rgb(0 0 0 / 4%);
}

.account-helper {
  min-height: 34px;
  margin: 7px 0 9px;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.4;
}

.account-submit {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: var(--account-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
}

.account-submit:hover,
.account-submit:focus-visible { background: var(--account-blue-hover); }

.account-submit:disabled,
.account-provider:disabled {
  cursor: wait;
  opacity: .68;
}

.account-status {
  min-height: 0;
  margin: 0;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.account-status:not(:empty) { min-height: 18px; margin-top: 9px; }
.account-status[data-kind="ok"] { color: #2b6f4b; }
.account-status[data-kind="err"] { color: #c03d32; }

.account-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 11px;
  align-items: center;
  margin: 24px 0 17px;
  color: #9b9a97;
  font-size: 12px;
}

.account-divider::before,
.account-divider::after {
  height: 1px;
  background: #ebebeb;
  content: "";
}

.account-providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-providers--single { grid-template-columns: minmax(0, 1fr); }

.account-age-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 9px 0 0;
  text-align: center;
}

.account-age-gate[hidden],
.account-providers[hidden] { display: none !important; }

.account-age-check { display: inline-flex; align-items: center; gap: 6px; color: var(--account-muted); font-size: 12px; line-height: 1.45; cursor: pointer; }
.account-age-check input { width: 14px; height: 14px; flex: 0 0 14px; margin: 0; accent-color: var(--account-blue); cursor: pointer; }
.account-age-check input:focus-visible { outline: 2px solid rgb(35 131 226 / 30%); outline-offset: 2px; }
.account-under13-link { width: fit-content; color: var(--account-blue); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.account-under13-link:hover { color: #0b4e3c; }
.account-provider--google:disabled:not([aria-busy="true"]) { cursor: not-allowed; opacity: .58; }

.account-providers--single .account-provider {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.account-providers--single .account-provider > span:not(.account-provider-mark) {
  display: block;
  width: 100%;
  height: auto;
  line-height: 1.2;
  text-align: center;
}

.account-providers--single .account-provider-mark,
.account-providers--single .account-provider-spacer {
  width: 24px;
  height: 24px;
}

.account-providers--single .account-provider-mark svg {
  width: 20px;
  height: 20px;
}

.account-provider {
  display: grid;
  min-width: 0;
  height: 76px;
  padding: 10px 5px 8px;
  border: 1px solid var(--account-line);
  border-radius: 5px;
  background: #fff;
  color: #37352f;
  grid-template-rows: 24px 16px;
  place-items: center;
  align-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 3%);
}

.account-provider > span:not(.account-provider-mark):not(.account-provider-note) {
  display: flex;
  height: 16px;
  align-items: center;
  justify-content: center;
  line-height: 16px;
  text-align: center;
}

.account-provider:hover,
.account-provider:focus-visible {
  background: #f7f7f5;
  border-color: #c9c9c7;
}

.account-provider[aria-disabled="true"] { cursor: default; }

.account-provider-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.account-provider-mark svg {
  display: block;
  width: 22px;
  height: 22px;
}

.account-provider-mark--google {
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.account-provider-mark--chatgpt { font-size: 24px; }

.account-provider-mark--app {
  display: grid;
  border-radius: 50%;
  background: #e7f3ef;
  color: var(--account-green, #004435);
  font-size: 20px;
  font-weight: 700;
  place-items: center;
}

.account-provider-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-switch {
  margin: 29px 0 0;
  color: var(--account-muted);
  font-size: 13px;
  text-align: center;
}

.account-switch a,
.account-consent a,
.account-footer a {
  color: var(--account-blue);
  font-weight: 500;
  text-decoration: none;
}

.account-switch a:hover,
.account-consent a:hover,
.account-footer a:hover { text-decoration: underline; }

.account-consent {
  margin: 16px auto 0;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.account-footer {
  position: relative;
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  padding: 12px 60px;
  color: var(--account-muted);
  font-size: 12px;
}

.account-language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--account-muted);
}

.account-language svg { width: 15px; height: 15px; }

.account-help {
  position: absolute;
  right: 22px;
  top: 50%;
  bottom: auto;
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  color: var(--account-muted) !important;
  place-items: center;
  font-size: 14px;
  font-weight: 600 !important;
  text-decoration: none !important;
  transform: translateY(-50%);
}

.account-google-handoff {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(15 22 20 / 28%);
  backdrop-filter: blur(5px);
}

.account-google-handoff[hidden] { display: none; }

.account-google-handoff__card {
  width: min(100%, 470px);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(15 23 42 / 20%);
  color: #202124;
}

.account-google-handoff__brand {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid #e8eaed;
  font-size: 17px;
  font-weight: 500;
}

.account-google-handoff__google {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

.account-google-handoff__google svg { width: 26px; height: 26px; }

.account-google-handoff__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px 10px;
}

.account-google-handoff__body strong { display: block; font-size: 18px; }
.account-google-handoff__body p,
.account-google-handoff__privacy { margin: 7px 0 0; color: #5f6368; font-size: 14px; line-height: 1.5; }
.account-google-handoff__privacy { margin: 0; padding: 12px 22px 22px 62px; font-size: 12px; }

.account-google-handoff__spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
  border: 2px solid #d2e3fc;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: account-google-spin .7s linear infinite;
}

@keyframes account-google-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .account-main { padding: 36px 20px 28px; }
  .account-logo { margin-bottom: 16px; }
  .account-intro { margin: 5px 0 10px; font-size: 18px; }
  .account-age-gate { gap: 4px 12px; margin-top: 8px; }
  .account-footer { padding-right: 52px; padding-left: 20px; }
  .account-help { right: 14px; }
  .account-google-handoff { padding: 16px; }
  .account-google-handoff__brand { font-size: 15px; }
  .account-google-handoff__privacy { padding-left: 22px; }
}

@media (max-height: 820px) and (min-width: 601px) {
  .account-main { padding-top: 24px; padding-bottom: 8px; }
  .account-logo { margin-bottom: 14px; }
  .account-intro { margin-bottom: 20px; }
  .account-helper { min-height: 28px; margin-top: 5px; margin-bottom: 6px; }
  .account-divider { margin-top: 16px; margin-bottom: 12px; }
  .account-provider { height: 68px; }
  .account-providers--single .account-provider { height: 44px; }
  .account-switch { margin-top: 20px; }
  .account-consent { margin-top: 12px; }
  .account-footer {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 370px) {
  .account-main { padding-right: 14px; padding-left: 14px; }
  .account-providers { gap: 6px; }
  .account-provider { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .account-google-handoff__spinner { animation: none; }
}
