/* ==========================================================================
   VASCLAW — auth.css
   - Real Brand Logo Badge (.brand-logo-img)
   - Header Auth Actions (.header-auth-actions, .nav-auth-*)
   - Ranked Cinematic Preloader (#vcPreloader)
   - Landing Cookie Consent Window (#cookieWindow)
   - Auth Suite Split Layout (/login/, /signup/, /register/, /forgot-password/, /account/)
   ========================================================================== */

/* ---------- 1. Real Brand Logo Image Badge ---------- */
.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(111, 6, 11, 0.25);
  box-shadow: 0 2px 10px rgba(111, 6, 11, 0.22);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}
.brand-lockup:hover .brand-logo-img {
  transform: scale(1.06);
}
.site-header.is-dark .brand-logo-img,
.vc-footer-logo .brand-logo-img {
  border-color: rgba(252, 245, 235, 0.22);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* ---------- 2. Header Auth Actions ---------- */
.header-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-auth-login {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}
.nav-auth-login:hover,
.nav-auth-login.is-active {
  border-color: rgba(23, 20, 20, 0.26);
}
.site-header.is-dark .nav-auth-login:hover,
.site-header.is-dark .nav-auth-login.is-active {
  border-color: rgba(252, 245, 235, 0.34);
}
.nav-auth-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #171414;
  color: #fcf5eb;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms ease;
}
.nav-auth-signup:hover {
  background: #6f060b;
  color: #fcf5eb;
  transform: translateY(-1px);
}
.site-header.is-dark .nav-auth-signup {
  background: #fcf5eb;
  color: #171414;
}
.site-header.is-dark .nav-auth-signup:hover {
  background: #e25158;
  color: #fcf5eb;
}
.nav-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 20, 20, 0.22);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-auth-user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f060b;
}
.site-header.is-dark .nav-auth-user {
  border-color: rgba(252, 245, 235, 0.28);
}
.site-header.is-dark .nav-auth-user-dot {
  background: #ff6b72;
}
.nav-auth-signout-btn {
  padding: 8px 12px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.76;
  cursor: pointer;
  transition: opacity 160ms ease;
}
.nav-auth-signout-btn:hover { opacity: 1; }

@media (max-width: 1040px) {
  .header-auth-actions {
    display: none;
  }
}

.drawer-auth-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.drawer-auth-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--color-ink-primary, #171414);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- 3. Ranked Cinematic Preloader (#vcPreloader) ---------- */
body.is-preloading {
  overflow: hidden;
}
.vc-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: auto;
  display: grid;
  place-items: center;
  color: #fcf5eb;
  font-family: "DM Sans", system-ui, sans-serif;
}
.vc-pre-curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #070606;
  will-change: transform;
  transition: transform 720ms cubic-bezier(0.76, 0, 0.24, 1);
}
.vc-pre-curtain--top {
  top: 0;
  border-bottom: 1px solid rgba(226, 81, 88, 0.35);
}
.vc-pre-curtain--bottom {
  bottom: 0;
  border-top: 1px solid rgba(226, 81, 88, 0.2);
}
.vc-pre-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, rgba(111, 6, 11, 0.42) 0%, rgba(111, 6, 11, 0.12) 34%, transparent 66%);
  transition: opacity 420ms ease;
}
.vc-pre-skip {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  right: clamp(18px, 3.5vw, 40px);
  z-index: 5;
  padding: 9px 16px;
  border: 1px solid rgba(252, 245, 235, 0.24);
  border-radius: 999px;
  background: rgba(18, 16, 16, 0.72);
  color: rgba(252, 245, 235, 0.86);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, opacity 240ms ease;
}
.vc-pre-skip:hover {
  border-color: #e25158;
  background: #6f060b;
  color: #fcf5eb;
}
.vc-pre-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.vc-pre-emblem-wrap {
  position: relative;
  width: 144px;
  height: 144px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}
.vc-pre-halo {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(226, 81, 88, 0.35);
  animation: vcPreHalo 2.1s ease-in-out infinite;
}
@keyframes vcPreHalo {
  0%, 100% { transform: scale(0.95); opacity: 0.45; }
  50% { transform: scale(1.06); opacity: 0.95; }
}
.vc-pre-ring {
  position: absolute;
  inset: 0;
  width: 144px;
  height: 144px;
  transform: rotate(-90deg);
}
.vc-pre-ring-track {
  fill: none;
  stroke: rgba(252, 245, 235, 0.1);
  stroke-width: 2;
}
.vc-pre-ring-fill {
  fill: none;
  stroke: #e25158;
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(226, 81, 88, 0.7));
}
.vc-pre-logo {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(252, 245, 235, 0.24);
  box-shadow: 0 18px 42px -10px rgba(111, 6, 11, 0.85), 0 0 0 1px rgba(226, 81, 88, 0.28);
  animation: vcPreLogoIn 640ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes vcPreLogoIn {
  0% { opacity: 0; transform: scale(0.82); }
  100% { opacity: 1; transform: scale(1); }
}
.vc-pre-wordmark {
  display: flex;
  gap: 0.04em;
  overflow: hidden;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: 0.18em;
  color: #fcf5eb;
  margin-bottom: 10px;
  animation: vcTrackExpand 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes vcTrackExpand {
  0% { letter-spacing: 0.18em; }
  100% { letter-spacing: 0.42em; }
}
.vc-pre-wordmark span {
  display: inline-block;
  transform: translateY(115%);
  animation: vcLetterRise 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}
@keyframes vcLetterRise {
  0% { transform: translateY(115%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.vc-pre-status {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(252, 245, 235, 0.64);
  min-height: 1.4em;
  margin-bottom: 14px;
}
.vc-pre-count {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fcf5eb;
  margin-bottom: 18px;
}
.vc-pre-bar {
  width: min(240px, 64vw);
  height: 2px;
  background: rgba(252, 245, 235, 0.14);
  overflow: hidden;
  border-radius: 999px;
}
.vc-pre-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #6f060b, #e25158, #fcf5eb);
  transform-origin: left center;
  transform: scaleX(0);
}
.vc-preloader.is-complete .vc-pre-stage,
.vc-preloader.is-complete .vc-pre-skip,
.vc-preloader.is-complete .vc-pre-glow {
  opacity: 0;
  transform: scale(0.96);
}
.vc-preloader.is-exiting {
  pointer-events: none;
}
.vc-preloader.is-exiting .vc-pre-curtain--top {
  transform: translate3d(0, -100%, 0);
}
.vc-preloader.is-exiting .vc-pre-curtain--bottom {
  transform: translate3d(0, 100%, 0);
}
.vc-preloader.is-done {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .vc-pre-halo, .vc-pre-logo, .vc-pre-wordmark, .vc-pre-wordmark span {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .vc-pre-curtain { transition-duration: 180ms; }
}

/* ---------- 4. Landing Page Cookie Consent Window (#cookieWindow) ---------- */
.vc-cookie-window {
  position: fixed;
  left: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  width: min(460px, calc(100vw - 28px));
  z-index: 950;
  background: #141111;
  color: #f4eee6;
  border: 1px solid rgba(244, 238, 230, 0.18);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: 0 28px 64px -14px rgba(0, 0, 0, 0.68);
  font-family: "DM Sans", system-ui, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 22px, 0);
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1), visibility 320ms ease;
}
.vc-cookie-window.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.vc-cookie-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.vc-cookie-head img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(252, 245, 235, 0.2);
}
.vc-cookie-eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff8a8f;
}
.vc-cookie-title {
  font-family: var(--font-serif, Georgia, serif);
  font-weight: 400;
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #fcf5eb;
}
.vc-cookie-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(244, 238, 230, 0.78);
  margin: 0 0 14px;
}
.vc-cookie-desc a {
  color: #fcf5eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vc-cookie-prefs {
  border-top: 1px solid rgba(244, 238, 230, 0.14);
  border-bottom: 1px solid rgba(244, 238, 230, 0.14);
  padding: 12px 0;
  margin-bottom: 14px;
  display: grid;
  gap: 10px;
}
.vc-cookie-prefs[hidden] {
  display: none;
}
.vc-cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vc-cookie-row-info strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fcf5eb;
}
.vc-cookie-row-info span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(244, 238, 230, 0.62);
}
.vc-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.vc-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.vc-switch-track {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(244, 238, 230, 0.2);
  border: 1px solid rgba(244, 238, 230, 0.25);
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.vc-switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fcf5eb;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.vc-switch input:checked + .vc-switch-track {
  background: #6f060b;
  border-color: #e25158;
}
.vc-switch input:checked + .vc-switch-track::after {
  transform: translateX(18px);
}
.vc-switch input:disabled + .vc-switch-track {
  opacity: 0.65;
  cursor: not-allowed;
}
.vc-switch input:focus-visible + .vc-switch-track {
  outline: 2px solid #ff8a8f;
  outline-offset: 2px;
}
.vc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vc-cookie-btn {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(244, 238, 230, 0.28);
  background: transparent;
  color: #fcf5eb;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.vc-cookie-btn:hover {
  border-color: #fcf5eb;
  background: rgba(252, 245, 235, 0.08);
}
.vc-cookie-btn--primary {
  background: #fcf5eb;
  color: #141111;
  border-color: #fcf5eb;
}
.vc-cookie-btn--primary:hover {
  background: #6f060b;
  border-color: #6f060b;
  color: #fcf5eb;
}
.vc-cookie-btn[hidden] { display: none; }

/* ---------- 5. Auth Suite Split Layout (/login/, /signup/, /register/, /forgot-password/, /account/) ---------- */
.auth-main {
  padding-top: var(--nav-height, 76px);
  min-height: calc(100dvh - 120px);
  background: var(--color-canvas, #fcf5eb);
  padding-block: calc(var(--nav-height, 76px) + clamp(2rem, 5vh, 4rem)) clamp(3rem, 6vh, 5rem);
}
.auth-main .container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: stretch;
}
.auth-brand-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #070606;
  color: #f4eee6;
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.auth-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(111, 6, 11, 0.52) 0%, transparent 56%);
}
.auth-brand-top, .auth-brand-bottom { position: relative; z-index: 2; }
.auth-panel-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(252, 245, 235, 0.24);
  box-shadow: 0 12px 30px -8px rgba(111, 6, 11, 0.7);
  margin-bottom: 24px;
}
.auth-panel-eyebrow {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ff8a8f;
  margin-bottom: 12px;
}
.auth-panel-title {
  font-family: var(--font-serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin: 0 0 18px;
}
.auth-panel-title em {
  font-style: italic;
  color: #e25158;
}
.auth-panel-quote {
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(244, 238, 230, 0.78);
  margin: 0 0 24px;
  max-width: 40ch;
}
.auth-proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.auth-proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(244, 238, 230, 0.88);
}
.auth-proof-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e25158;
  margin-top: 7px;
  flex-shrink: 0;
}
.auth-panel-note {
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(244, 238, 230, 0.56);
  border-top: 1px solid rgba(244, 238, 230, 0.14);
  padding-top: 16px;
  margin: 0;
}

.auth-card {
  background: var(--color-surface-card, #fff);
  border: 1px solid var(--color-line, #ddd3c6);
  border-radius: 32px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-card, 0 14px 40px -16px rgba(23, 20, 20, 0.12));
}
.auth-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: var(--color-surface-subtle, #f5ebdd);
  margin-bottom: 24px;
}
.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-secondary, #463f3b);
  transition: background-color 180ms ease, color 180ms ease;
}
.auth-tab.is-active {
  background: #171414;
  color: #fcf5eb;
}
.auth-card-title {
  font-family: var(--font-serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 6px;
}
.auth-card-sub {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--color-ink-muted, #736a61);
}
.oauth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--color-line-strong, #bfb3a4);
  border-radius: 12px;
  background: #fff;
  color: #171414;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 140ms ease;
}
.oauth-btn:hover {
  border-color: #171414;
  background: var(--color-canvas-soft, #fdf8f2);
  transform: translateY(-1px);
}
.oauth-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdf8f2;
  border: 1px solid rgba(111, 6, 11, 0.24);
  color: #463f3b;
  font-size: 0.8rem;
  line-height: 1.5;
}
.oauth-notice[hidden] { display: none; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ink-muted, #736a61);
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-line, #ddd3c6);
}
.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrap .form-input {
  padding-right: 70px;
}
.pw-toggle-btn {
  position: absolute;
  right: 10px;
  padding: 6px 10px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink-secondary, #463f3b);
  cursor: pointer;
}
.pw-toggle-btn:hover { color: #6f060b; }
.pw-strength-meter {
  margin-top: 8px;
}
.pw-strength-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 5px;
}
.pw-strength-bars span {
  height: 4px;
  border-radius: 999px;
  background: var(--color-line, #ddd3c6);
  transition: background-color 200ms ease;
}
.pw-strength-bars[data-level="1"] span:nth-child(1) { background: #b21b22; }
.pw-strength-bars[data-level="2"] span:nth-child(-n+2) { background: #c96a1b; }
.pw-strength-bars[data-level="3"] span:nth-child(-n+3) { background: #5a7d2b; }
.pw-strength-bars[data-level="4"] span { background: #1e6f43; }
.pw-strength-label {
  font-size: 0.72rem;
  color: var(--color-ink-muted, #736a61);
}
.age-helper {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  color: var(--color-ink-muted, #736a61);
}
.guardian-box {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(111, 6, 11, 0.3);
  background: #fff6f6;
  margin-bottom: 16px;
}
.guardian-box[hidden] { display: none; }
.guardian-box strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f060b;
  margin-bottom: 6px;
}
.auth-inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 18px;
  font-size: 0.84rem;
}
.auth-inline-link {
  color: #6f060b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-consent a {
  color: #750e14;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  background: rgba(117, 14, 20, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  transition: background-color 160ms ease, color 160ms ease;
}
.form-consent a:hover {
  background: #750e14;
  color: #fcf5eb;
}
.auth-footer-alt {
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-ink-secondary, #463f3b);
}
.auth-footer-alt a {
  color: #6f060b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-status-banner {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(30, 111, 67, 0.35);
  background: #f1faf4;
  color: #164e30;
  font-size: 0.86rem;
  line-height: 1.55;
}
.auth-status-banner[hidden] { display: none; }

/* Account dashboard */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.account-stat {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--color-line, #ddd3c6);
  background: var(--color-canvas-soft, #fdf8f2);
}
.account-stat small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink-muted, #736a61);
  margin-bottom: 6px;
}
.account-stat strong {
  font-size: 1rem;
  color: var(--color-ink-primary, #171414);
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .oauth-grid { grid-template-columns: 1fr; }
}
