.auth-page {
  min-height: 100svh;
  background: var(--noite, #070a12);
  color: var(--giz, #f3f5fa);
  overflow-x: clip;
}
.auth-header {
  height: 56px;
  border-bottom: 1px solid var(--linha, #26314a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(16px, 5vw, 48px);
  position: relative;
  z-index: 2;
  background: var(--noite, #070a12);
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--giz, #f3f5fa);
}
.auth-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.auth-brand > span {
  font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
  font-size: 25px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.025em;
}
.auth-brand small {
  display: block;
  font-family: var(--fonte-corpo, "Sofia Sans", sans-serif);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.auth-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--nevoa, #a3afc7);
  font-size: 14px;
  text-decoration: none;
}
.auth-back svg {
  transform: rotate(180deg);
}
.auth-back:hover {
  color: var(--giz, #f3f5fa);
}
.auth-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 759px) {
  .auth-brand small {
    display: none;
  }
  .auth-back {
    font-size: 13px;
  }
}
.auth-layout {
  position: relative;
}
.auth-layout::before {
  content: "";
  width: 160px;
  height: 184px;
  position: absolute;
  top: 6px;
  right: -37px;
  opacity: 0.2;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    #f7dfaa,
    var(--ouro, #d8b36a) 40%,
    #907037 80%
  );
  -webkit-mask: url("images/v1/crest-mask.webp") center / contain no-repeat;
  mask: url("images/v1/crest-mask.webp") center / contain no-repeat;
}
.auth-art {
  display: none;
}
.auth-form-column {
  width: min(100%, 452px);
  margin-inline: auto;
  padding: 24px 16px 48px;
  position: relative;
}
.auth-content {
  position: relative;
  view-transition-name: painel-conta;
}
.auth-title,
.auth-result h1,
.auth-result h2 {
  font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
  margin: 12px 0 16px;
  max-width: 420px;
}
.auth-title:focus,
.auth-result h1:focus,
.auth-result h2:focus {
  outline: none;
}
.auth-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--nevoa, #a3afc7);
  margin: 0 0 28px;
  text-wrap: pretty;
  max-width: 34rem;
}
.auth-lead strong {
  color: var(--giz, #f3f5fa);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.auth-form {
  display: grid;
  gap: 20px;
}
.auth-field {
  min-width: 0;
}
.auth-field > label,
.auth-label-line label {
  display: block;
  color: var(--giz, #f3f5fa);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.auth-label-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.auth-field input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 12px 14px;
  border: 1px solid #6a748a;
  border-radius: 4px;
  background: var(--tunel, #141c2f);
  color: var(--giz, #f3f5fa);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.3;
  min-width: 0;
  appearance: none;
  transition: border-color 120ms;
}
.auth-field input:focus {
  border-color: var(--ouro, #d8b36a);
  outline: 2px solid var(--giz, #f3f5fa);
  outline-offset: 2px;
}
.auth-field input[aria-invalid="true"] {
  border-color: var(--sirene, #ff6b5e);
}
.auth-field input[readonly] {
  opacity: 0.72;
}
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px var(--tunel, #141c2f) inset;
  -webkit-text-fill-color: var(--giz, #f3f5fa);
  caret-color: var(--giz, #f3f5fa);
}
.auth-field-help,
.auth-field-error,
.auth-field-success,
.auth-email-suggestion {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.auth-field-help {
  color: var(--nevoa, #a3afc7);
}
.auth-field-error,
.auth-field-success {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.auth-field-error svg,
.auth-field-success svg {
  flex: 0 0 16px;
  margin-top: 2px;
}
.auth-field-error {
  color: var(--sirene, #ff6b5e);
}
.auth-field-success {
  color: var(--ouro, #d8b36a);
}
.auth-email-suggestion {
  color: var(--nevoa, #a3afc7);
}
.auth-email-suggestion strong {
  color: var(--giz, #f3f5fa);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.auth-password-wrap {
  position: relative;
}
.auth-password-wrap input {
  padding-right: 92px;
}
.auth-password-toggle {
  position: absolute;
  inset-block: 4px;
  right: 4px;
  min-width: 80px;
  height: 44px;
  background: none;
  color: var(--giz, #f3f5fa);
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}
.auth-password-toggle:hover {
  background: rgb(243 245 250 / 0.06);
}
.auth-text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--giz, #f3f5fa);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
button.auth-text-link {
  min-height: 44px;
}
.auth-forgot-link {
  font-size: 0.875rem;
  font-weight: 400;
  min-height: 24px;
}
.auth-text-link:hover {
  color: var(--ouro, #d8b36a);
}
.auth-password-meter {
  margin-top: 12px;
}
.auth-password-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.auth-password-bars span {
  height: 6px;
  background: var(--linha, #26314a);
  transition: background-color 120ms;
}
.auth-password-bars span[data-met="true"] {
  background: var(--ouro, #d8b36a);
}
.auth-password-rules {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
}
.auth-password-rules li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--nevoa, #a3afc7);
}
.auth-rule-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: grid;
  place-items: center;
  color: var(--ouro, #d8b36a);
}
.auth-rule-icon > span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--nevoa, #a3afc7);
  border-radius: 50%;
}
.auth-password-count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
}
.auth-password-rules li[data-met="true"] {
  color: var(--giz, #f3f5fa);
}
.auth-password-status {
  margin: 10px 0 0;
  color: var(--nevoa, #a3afc7);
  font-size: 0.875rem;
  line-height: 1.3;
}
.auth-password-status[data-ready="true"] {
  color: var(--ouro, #d8b36a);
}
.auth-submit.button {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-submit.button > svg {
  width: 20px;
  height: 20px;
}
.auth-submit:disabled,
.auth-tabs button:disabled,
.auth-text-link:disabled,
.auth-password-toggle:disabled {
  cursor: wait;
  opacity: 0.62;
}
.auth-footer {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--nevoa, #a3afc7);
  line-height: 1.6;
}
.auth-footer .auth-text-link {
  margin-left: 4px;
}
.auth-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 32px 0 0;
  color: var(--nevoa, #a3afc7);
  font-size: 0.8125rem;
  line-height: 1.4;
}
.auth-privacy-note svg {
  flex: 0 0 15px;
}
.auth-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid #8e918f;
  border-radius: 4px;
  background: #131314;
  color: #e3e3e3;
  font-family: var(--fonte-corpo, "Sofia Sans", sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms;
}
.auth-google:hover {
  background: #222324;
}
.auth-google img {
  flex: 0 0 18px;
  object-fit: contain;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--nevoa, #a3afc7);
  font-size: 0.875rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--linha, #26314a);
}
.auth-browser-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-left: 2px solid var(--royal, #2b3fa8);
  background: var(--tunel, #141c2f);
  color: var(--giz, #f3f5fa);
  margin-bottom: 24px;
}
.auth-browser-note > svg {
  flex: 0 0 20px;
  margin-top: 2px;
}
.auth-browser-note p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--sirene, #ff6b5e);
  background: var(--tunel, #141c2f);
  border-radius: 4px;
  padding: 14px;
  color: var(--giz, #f3f5fa);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.auth-alert > svg {
  flex: 0 0 20px;
  color: var(--sirene, #ff6b5e);
  margin-top: 1px;
}
.auth-alert p {
  margin: 0;
}
.auth-alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.auth-alert li + li {
  margin-top: 6px;
}
.auth-alert a:not(.button) {
  color: var(--giz, #f3f5fa);
  text-underline-offset: 3px;
}
.auth-alert p + .auth-text-link,
.auth-alert-actions {
  margin-top: 8px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.auth-small-button {
  min-height: 44px;
  margin-top: 12px;
  font-size: 1rem;
}
.auth-lock-panel {
  border-top: 1px solid var(--linha, #26314a);
  padding-top: 20px;
}
.auth-lock-panel > svg {
  color: var(--ouro, #d8b36a);
}
.auth-lock-panel p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 12px 0;
}
.auth-lock-panel .auth-field-help {
  font-size: 0.875rem;
}
.auth-retry {
  justify-self: center;
}
.auth-busy-leds {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.auth-busy-leds i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: auth-led-load 960ms ease-in-out infinite;
}
.auth-busy-leds i:nth-child(2) {
  animation-delay: 160ms;
}
.auth-busy-leds i:nth-child(3) {
  animation-delay: 320ms;
}
@keyframes auth-led-load {
  0%,
  80%,
  100% {
    opacity: 0.35;
  }
  40% {
    opacity: 1;
  }
}
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--linha, #26314a);
  border-radius: 4px;
  background: var(--noite, #070a12);
  margin-bottom: 24px;
}
.auth-tabs button {
  flex: 1;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--nevoa, #a3afc7);
  font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.auth-tabs button[aria-selected="true"] {
  background: var(--giz, #f3f5fa);
  color: var(--noite, #070a12);
}
.auth-account-panel {
  width: 100%;
}
.auth-account-panel .auth-title {
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
}
.auth-account-panel .auth-lead {
  font-size: 1rem;
}
.auth-account-panel .auth-content {
  view-transition-name: none;
}
.auth-connected-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nevoa, #a3afc7);
  font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.auth-connected-label > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ouro, #d8b36a);
}
.auth-connected-name {
  color: var(--giz, #f3f5fa);
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 8px 0 2px;
}
.auth-connected-email {
  color: var(--nevoa, #a3afc7);
  font-size: 0.9375rem;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.auth-connected .auth-text-link {
  font-size: 0.875rem;
}
.auth-result-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #2f3137;
  color: var(--ouro, #d8b36a);
  border-radius: 4px;
  margin-bottom: 24px;
}
.auth-result .auth-submit {
  margin-top: 32px;
}
.auth-sent-tips {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  color: var(--nevoa, #a3afc7);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.auth-sent-tips li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.auth-sent-tips svg {
  color: var(--ouro, #d8b36a);
  margin-top: 2px;
  flex: 0 0 18px;
}
.auth-sent-state .auth-alert {
  margin-bottom: 20px;
}
.auth-result-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.9375rem;
}
.auth-reset-limit {
  border: 1px solid var(--linha, #26314a);
  background: var(--tunel, #141c2f);
  padding: 14px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--nevoa, #a3afc7);
  margin: 16px 0;
}
.auth-session-description {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--nevoa, #a3afc7);
}
.auth-session-dialog .auth-tabs {
  margin-top: 16px;
}
.auth-toast {
  position: fixed;
  z-index: 90;
  left: 16px;
  right: 16px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  background: var(--tunel, #141c2f);
  border: 1px solid var(--linha, #26314a);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.55);
  color: var(--giz, #f3f5fa);
}
.auth-toast > svg {
  flex: 0 0 20px;
  color: var(--ouro, #d8b36a);
}
.auth-toast p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  flex: 1;
}
.auth-toast-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  color: var(--giz, #f3f5fa);
  background: transparent;
  cursor: pointer;
}
.auth-toast-close:hover {
  background: rgb(243 245 250 / 0.06);
}
.auth-page :is(a, button):focus-visible,
.auth-account-panel :is(a, button):focus-visible,
.auth-alert:focus {
  outline: 2px solid var(--giz, #f3f5fa);
  outline-offset: 2px;
}
@media (min-width: 600px) {
  .auth-form-column {
    padding-inline: 16px;
    padding-top: 40px;
  }
  .auth-password-rules {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
  .auth-password-count {
    font-size: 0.75rem;
  }
}
@media (min-width: 960px) {
  .auth-header {
    height: 72px;
  }
  .auth-brand img {
    width: 38px;
    height: 38px;
  }
  .auth-brand > span {
    font-size: 29px;
  }
  .auth-brand small {
    font-size: 10px;
  }
  .auth-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    min-height: calc(100svh - 72px);
  }
  .auth-layout::before {
    display: none;
  }
  .auth-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: 96px clamp(32px, 4vw, 64px) 40px;
    background:
      radial-gradient(
        ellipse at 10% -30%,
        rgb(43 63 168 / 0.55),
        transparent 65%
      ),
      var(--noite, #070a12);
    border-right: 1px solid var(--linha, #26314a);
  }
  .auth-art::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 830px;
    left: -185px;
    bottom: -240px;
    opacity: 0.22;
    background: linear-gradient(
      125deg,
      #f7dfaa,
      var(--ouro, #d8b36a) 42%,
      #907037 82%
    );
    -webkit-mask: url("images/v1/crest-mask.webp") center / contain no-repeat;
    mask: url("images/v1/crest-mask.webp") center / contain no-repeat;
    pointer-events: none;
  }
  .auth-art-copy,
  .auth-art-foot {
    position: relative;
    z-index: 1;
  }
  .auth-lower-third {
    display: flex;
    align-items: center;
    min-height: 32px;
    width: fit-content;
    background: var(--tunel, #141c2f);
    padding: 7px 16px 7px 20px;
    font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0 0 28px;
    position: relative;
  }
  .auth-lower-third::before {
    content: "";
    position: absolute;
    width: 8px;
    inset: 0 auto 0 0;
    background: var(--ouro, #d8b36a);
    transform: skew(-12deg);
  }
  .auth-art h2 {
    font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
    font-size: clamp(4rem, 4.6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -0.005em;
    margin: 0 0 24px;
  }
  .auth-art-copy > p:last-child {
    color: var(--nevoa, #a3afc7);
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    line-height: 1.6;
    max-width: 22rem;
    margin: 0;
  }
  .auth-art-foot {
    font-family: var(--fonte-display, "Sofia Sans Extra Condensed", sans-serif);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--nevoa, #a3afc7);
    margin: 180px 0 0;
  }
  .auth-form-column {
    width: min(100%, 484px);
    padding: 96px 32px 64px;
  }
  .auth-title,
  .auth-result h1,
  .auth-result h2 {
    font-size: 3.875rem;
  }
  .auth-field > label,
  .auth-label-line label {
    font-size: 1rem;
  }
  .auth-submit.button,
  .auth-google {
    min-height: 48px;
  }
  .auth-account-panel .auth-submit {
    min-height: 48px;
  }
  .auth-toast {
    top: 88px;
    bottom: auto;
    left: auto;
    right: 24px;
    width: min(420px, calc(100% - 48px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-busy-leds i {
    animation: none;
    opacity: 1;
  }
  .auth-field input,
  .auth-password-bars span,
  .auth-google {
    transition: none;
  }
}
@media (prefers-contrast: more) {
  .auth-field input {
    border-color: var(--nevoa, #c9d1e3);
  }
  .auth-password-bars span {
    border: 1px solid var(--nevoa, #c9d1e3);
  }
}
@media (forced-colors: active) {
  .auth-layout::before,
  .auth-art::after {
    display: none;
  }
  .auth-password-bars span {
    border: 1px solid CanvasText;
  }
  .auth-password-bars span[data-met="true"] {
    background: Highlight;
    forced-color-adjust: none;
  }
  .auth-tabs button[aria-selected="true"] {
    border: 1px solid Highlight;
  }
  .auth-google,
  .auth-alert,
  .auth-browser-note,
  .auth-lock-panel {
    border: 1px solid CanvasText;
  }
}

/* Cadastro do torcedor: CPF, nascimento, celular, CEP e consentimentos. */
.profile-fields {
  display: grid;
  gap: 20px;
}
.auth-field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
}
.auth-field-row.profile-city-row {
  grid-template-columns: minmax(0, 1fr) 104px;
}
.auth-field select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 12px 14px;
  border: 1px solid #6a748a;
  border-radius: 4px;
  background: var(--tunel, #141c2f);
  color: var(--giz, #f3f5fa);
  font: inherit;
  font-size: 1.0625rem;
}
.auth-field select:focus {
  border-color: var(--ouro, #d8b36a);
  outline: 2px solid var(--giz, #f3f5fa);
  outline-offset: 2px;
}
.auth-field select[aria-invalid="true"] {
  border-color: var(--sirene, #ff6b5e);
}
.profile-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.profile-address > svg {
  color: var(--ouro, #d8b36a);
}
.profile-address > span {
  color: var(--giz, #f3f5fa);
  font-weight: 600;
}
.profile-address .auth-text-link {
  min-height: 0;
  margin-left: 4px;
  font-size: 0.875rem;
}
.profile-consents {
  display: grid;
  gap: 8px;
}
.auth-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 44px;
  color: var(--giz, #f3f5fa);
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.auth-consent input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 1px 0 0;
  accent-color: var(--ouro, #d8b36a);
}
.auth-consent a {
  color: var(--giz, #f3f5fa);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-consent small {
  display: block;
  color: var(--nevoa, #a3afc7);
  font-size: 0.8125rem;
}
.profile-consents > .auth-field-error {
  margin: -4px 0 4px 34px;
}
