:root {
  --bg0: #071525;
  --bg1: #0c263e;
  --ink: #f3f6f8;
  --muted: #b7c6d4;
  --gold: #e0b15a;
  --gold-2: #f0d7a2;
  --line: rgba(224, 177, 90, 0.28);
  --panel: rgba(8, 24, 40, 0.88);
  --danger: #ffb4b4;
  --ok: #9be7c4;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; min-height: 100dvh; }
body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(224, 177, 90, 0.16), transparent 55%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 48%, #061018);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 8px; z-index: 50; background: #111; padding: 8px; }

.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: rgba(7, 21, 37, 0.78);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.card-wrap { flex: 1; display: grid; place-items: center; padding: 28px 16px 40px; }
.card {
  width: min(460px, 100%);
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.kicker {
  margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.72rem; color: var(--gold); font-weight: 600;
}
h1 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.lead { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.notice {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 0.92rem;
}
.notice--err { background: rgba(180, 40, 40, 0.28); color: var(--danger); }
.notice--ok { background: rgba(40, 120, 80, 0.25); color: var(--ok); }
.btn-google, .btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 44px; padding: 12px 14px; border-radius: 12px;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn-google { background: #fff; color: #1f1f1f; font-weight: 650; }
.btn-google svg { width: 18px; height: 18px; }
.btn, .btn-primary {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
}
.btn-primary { background: linear-gradient(135deg, #c8922f, var(--gold)); color: #1a1203; font-weight: 700; border: 0; }
.divider {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center;
  margin: 18px 0; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); }
label { display: block; margin: 0 0 6px; color: var(--muted); font-size: 0.86rem; }
.field {
  width: 100%; min-height: 44px; margin-bottom: 12px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
}
.foot { text-align: center; color: var(--muted); font-size: 0.8rem; padding: 16px; }
.fine { margin: 12px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
