.auth-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #c9c9d1;
  border-radius: 6px;
  background: #fff;
  color: #15151a;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.auth-dialog {
  width: min(430px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #dedee4;
  border-radius: 8px;
  background: #fff;
  color: #15151a;
  box-shadow: 0 24px 80px rgba(21, 21, 26, 0.24);
}

.auth-dialog::backdrop { background: rgba(9, 9, 11, 0.55); }
.auth-dialog-bar { min-height: 58px; padding: 0 14px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dedee4; }
.auth-dialog-bar strong { font-size: 1.05rem; }
.auth-dialog-bar button { width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: #15151a; font-size: 1.55rem; cursor: pointer; }
.auth-dialog-body { padding: 24px; }
.auth-dialog-body h2 { margin: 0 0 8px; font-size: 1.55rem; }
.auth-dialog-body p { margin: 0 0 20px; color: #666671; }
.auth-dialog-body label { display: block; margin: 12px 0 6px; font-size: 0.86rem; font-weight: 750; }
.auth-dialog-body input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #b9b9c2; border-radius: 6px; background: #fff; color: #15151a; }
.auth-dialog-body input:focus { outline: 3px solid rgba(108, 59, 255, 0.18); border-color: #6c3bff; }
.auth-dialog-body form button,
.auth-dialog-body > div > button {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #15151a;
  color: #fff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}
.auth-dialog-body button:disabled, .auth-dialog-body input:disabled { opacity: 0.55; }
.auth-dialog-body .auth-google { margin-top: 0; background: #fff; color: #15151a; border: 1px solid #b9b9c2; }
.auth-divider { height: 1px; margin: 24px 0 18px; background: #dedee4; text-align: center; }
.auth-divider span { position: relative; top: -0.72rem; padding: 0 10px; background: #fff; color: #777783; font-size: 0.8rem; }
.auth-dialog-body .auth-error { min-height: 22px; margin: 12px 0 0; color: #b42318; font-size: 0.88rem; }

.inline-auth { width: 100%; }
.inline-auth form { display: grid; }
.inline-auth label { margin: 10px 0 5px; color: #34343b; font-size: 0.82rem; font-weight: 760; text-align: center; }
.inline-auth input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #c5c5cf;
  border-radius: 8px;
  background: #fff;
  color: #15151a;
  text-align: center;
}
.inline-auth input:focus { outline: 3px solid rgba(139, 77, 255, 0.17); border-color: #8b4dff; }
.inline-google, .inline-submit, .inline-signed-in button {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 8px;
  font: inherit;
  font-weight: 770;
  cursor: pointer;
}
.inline-google { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #bfc0ca; background: #fff; color: #15151a; }
.inline-google > span { display: grid; place-items: center; width: 23px; height: 23px; color: #4285f4; font-weight: 900; }
.inline-submit { margin-top: 10px; border: 0; background: #15151a; color: #fff; }
.inline-google:hover, .inline-submit:hover { filter: brightness(0.96); }
.inline-auth button:disabled, .inline-auth input:disabled { cursor: wait; opacity: 0.55; }
.inline-auth-note { margin: 9px 0 0; color: #777783; font-size: 0.76rem; text-align: center; }
.inline-auth .auth-error { min-height: 20px; margin: 8px 0 0; color: #b42318; font-size: 0.82rem; text-align: center; }
.inline-signed-in { padding: 18px; border: 1px solid #dedee6; border-radius: 8px; background: #fff; }
.inline-signed-in strong { display: block; margin: 4px 0 12px; overflow-wrap: anywhere; }
.inline-signed-in button { border: 0; background: #15151a; color: #fff; }
.signed-in-status { color: #147d6b; font-size: 0.78rem; font-weight: 820; text-transform: uppercase; }

.live-hero .inline-auth label { color: #f2f2f6; }
.live-hero .inline-auth input,
.live-hero .inline-google { border: 0; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); }
.live-hero .inline-auth-note { color: #c8c8d1; }
.live-hero .inline-auth .auth-error { color: #ffb4aa; }
.live-hero .inline-signed-in { border: 0; background: rgba(255, 255, 255, 0.96); color: #15151a; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }

.compact-disclosure { width: 100%; }
.compact-disclosure > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 7px;
  padding: 0 10px;
  color: #e7e7ed;
  font-size: 0.82rem;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}
.compact-disclosure > summary::-webkit-details-marker { display: none; }
.compact-disclosure > summary::after { content: "\203A"; margin-left: 7px; font-size: 1.1rem; line-height: 1; transform: rotate(90deg); transition: transform 160ms ease; }
.compact-disclosure[open] > summary::after { transform: rotate(-90deg); }
.email-disclosure form { gap: 8px; margin-top: 6px; }
.email-disclosure input { min-height: 46px; }
