body:has(.auth-page) {
  background: #f4f1eb;
  color: #11151a;
}

body:has(.auth-page) > .gm-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: .7rem clamp(18px, 5vw, 76px);
  background: #11151a;
  color: white;
}

.gm-entry-header img {
  display: block;
  width: clamp(155px, 23vw, 280px);
  height: auto;
}

.gm-return {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .5rem;
  color: #e5e8eb;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}

.gm-return:hover { text-decoration: underline; }

.auth-page {
  --blue: #b11d25;
  --ink: #171b20;
  --line: #ddd7ce;
  --soft: #fae9e8;
  --muted: #555e66;
  min-height: calc(100dvh - 88px);
  padding: clamp(28px, 7vh, 76px) 18px 20px;
}

.auth-page > header { display: none; }
.auth-page .auth-card {
  max-width: 480px;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 14px;
  box-shadow: 0 16px 50px #29221a0d;
}
.auth-page .auth-card h1 { color: var(--ink); font-size: clamp(1.7rem, 4vw, 2.15rem); }
.auth-page input { border-color: #a69f96; }
.auth-page .primary { background: #bf2028; border-color: #bf2028; }
.auth-page .primary:hover:not(:disabled) { background: #a61920; }
.auth-page .secondary { border-color: #d4cdc4; color: var(--ink); }
.auth-page .secondary:hover:not(:disabled) { background: #f6f3ef; }
.auth-page :focus-visible, .gm-entry-header :focus-visible { outline-color: #b62a30; }

@media (max-width: 680px) {
  body:has(.auth-page) > .gm-entry-header { min-height: 72px; }
  .auth-page { min-height: calc(100dvh - 72px); }
}
