/* auth.css — LG7 login (locked 00_login), guest gate (03), create account,
   profile creation (04-06). Values copied verbatim from the lock. */

/* engraved gold frame inset from the screen edge (locked 00) */
.engraved-frame { position: absolute; inset: 14px; border-radius: 32px; border: .8px solid #c9a463; opacity: .5; pointer-events: none; z-index: 5; }

.auth-wrap { position: relative; min-height: 100dvh; display: flex; flex-direction: column; }

/* logo stack (locked 00) */
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 0 0; }
.auth-logo img.mark { width: 70px; height: 70px; filter: drop-shadow(0 6px 18px #c9a46333); }
.auth-logo .word {
  font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: 20px; letter-spacing: 8px; padding-left: 8px;
}
.auth-logo .sub { display: flex; align-items: center; gap: 10px; margin-top: -6px; }
.auth-logo .sub .line { width: 40px; height: 1px; }
.auth-logo .sub .line.l { background: linear-gradient(90deg, transparent, #c9a463); }
.auth-logo .sub .line.r { background: linear-gradient(270deg, transparent, #c9a463); }
.auth-logo .sub span.t {
  font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 9px; letter-spacing: 7px; padding-left: 7px; color: #e3c58a;
}
.auth-title {
  font-family: 'Cinzel', serif; font-size: 21px; font-weight: 600; letter-spacing: .5px;
  text-align: center; padding: 20px 0 12px; filter: drop-shadow(0 1px 0 #000);
}

/* the engraved gold sign-in button (locked 00, exact) */
.btn-engraved {
  flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, rgba(0,0,0,.05) 1px 2px, transparent 2px 4px),
    linear-gradient(118deg, transparent 20%, rgba(255,255,255,.45) 42%, transparent 60%),
    linear-gradient(180deg, #f6e8c6, #c9a664 60%, #a88040);
  border: 1px solid #8a6a30; color: #2a1d05; font-size: 15px; font-weight: 800;
  text-decoration: none; box-shadow: 0 8px 18px #000c, inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-engraved:disabled { filter: saturate(.4) brightness(.7); }

/* OR divider (locked 00) */
.or { display: flex; align-items: center; gap: 10px; color: #6e6e6e; font-size: 9px; letter-spacing: 2px; font-family: 'Montserrat', sans-serif; }
.or::before, .or::after { content: ''; flex-grow: 1; height: 1px; background: #252525; }

/* social buttons (locked 00) */
.btn-apple, .btn-google {
  flex-grow: 1; height: 48px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; gap: 8px; font-size: 14px; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 14px #000c;
}
.btn-apple {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, rgba(0,0,0,.05) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, #f4f5f6, #b9bec3);
  color: #15181b; border: 1px solid #8d9298;
}
.btn-google {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, rgba(0,0,0,.05) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, #232325, #0b0b0c);
  color: #f2f2f2; border: 1px solid #3a3a3a;
}

/* play as guest (locked 00) */
.btn-guest {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 46px; border-radius: 14px; border: 1px dashed #3a3a3a; text-decoration: none;
}
.btn-guest .a { font-size: 14.5px; font-weight: 800; color: #e3c58a; }
.btn-guest .b { font-size: 10.5px; color: #8c8c8c; }

.auth-fine { font-size: 10.5px; line-height: 1.5; color: #6e6e6e; text-align: center; }
.auth-form { display: flex; flex-direction: column; gap: 14px; padding: 0 28px; }
.auth-foot { margin-top: auto; padding: 16px 24px 26px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.link-row { text-align: center; font-size: 13px; color: #8c8c8c; }
.link-row a { color: #e3c58a; font-weight: 800; text-decoration: none; }

/* 18+ gate checkbox on create account */
.gate18 { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #a6a6a6; line-height: 1.5; }

/* ---------- profile creation (04-06) ---------- */
.pf-steps { display: flex; gap: 5px; align-items: center; }
.pf-steps .bar-done { width: 22px; height: 4px; border-radius: 2px; background: #e3c58a; }
.pf-steps .bar-now  { width: 8px;  height: 4px; border-radius: 2px; background: #e3c58a; }
.pf-steps .lbl { margin-left: 6px; font-size: 11px; color: #8c8c8c; }

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.pf-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: none; padding: 0; }
.pf-tile .pic {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 2px solid #2a2a2a; background: #111;
  display: flex; align-items: center; justify-content: center;
}
.pf-tile .pic img { width: 100%; height: 100%; object-fit: cover; }
.pf-tile.on .pic { border-color: #c9a463; box-shadow: 0 0 0 3px #c9a46333; }
.pf-tile .nm { font-size: 11px; font-weight: 700; color: #8c8c8c; }
.pf-tile.on .nm { color: #e3c58a; }

.emblem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.emblem {
  aspect-ratio: 1; border-radius: 50%; border: 1px solid #3a3a3a;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.emblem svg { width: 52%; height: 52%; color: #e3c58a; filter: drop-shadow(0 1px 1px #0008); }
.emblem.on { border-color: #c9a463; box-shadow: 0 0 0 3px #c9a46333; }

/* status chip (locked 06, silver metal) */
.status-chip {
  position: relative; width: 44px; height: 30px; border-radius: 5px; flex-shrink: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, rgba(0,0,0,.05) 1px 2px, transparent 2px 4px),
    linear-gradient(118deg, transparent 22%, rgba(255,255,255,0.3) 40%, transparent 56%),
    linear-gradient(135deg, #d6d9dc 0%, #8c9298 34%, #e6e8ea 55%, #767c82 80%, #c0c4c8 100%);
  border: 1px solid #6e747a;
}

/* login: full app-icon tile (owner 2 Oct) */
.auth-logo img.mark.tile { width: 112px; height: 112px; border-radius: 26px; filter: drop-shadow(0 10px 26px #c9a46340); }

/* ---- premium login (owner 2026-10-03): full-bleed constellation,
   one centered P, compact centered pills, clean footer ---- */
.login-premium { justify-content: flex-start; position: relative; overflow: hidden; }
.lp-sky { display: none; position: absolute; inset: 0; z-index: 0; }
.lp-sky svg { width: 100%; height: 100%; }
.lp-hero { position: relative; z-index: 1; display: flex; flex-direction: column;
  align-items: center; gap: 14px; margin-top: 17dvh; }
.lp-hero img { width: 104px; height: 104px; border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(227,197,138,.35), 0 14px 40px rgba(0,0,0,.55),
  0 0 30px rgba(227,197,138,.16); }
.lp-word { font: 700 17px 'Montserrat', sans-serif; letter-spacing: 7px; }
.lp-word i { font-style: normal; color: #c9a463; font-weight: 400; }
#login-fields { position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  max-width: 320px; margin: 6dvh auto 0; }
.lp-pills { display: flex; gap: 10px; width: 100%; max-width: 300px; margin-top: 14px; }
.lp-pills .btn-engraved, .lp-pills .btn-outline { flex: 1; height: 44px;
  border-radius: 999px; font-size: 13px; letter-spacing: 1.2px;
  display: flex; align-items: center; justify-content: center; }
.lp-pills a { text-decoration: none; }
.lp-foot { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 1;
  text-align: center; }
#login-fields .auth-form { width: 100%; }

/* two-step sign-in sheet */
.mfa-sh { padding: 18px 22px 10px; display: flex; flex-direction: column; gap: 12px; font-family: 'Manrope', sans-serif; }
.mfa-t { font: 600 22px 'Cormorant Garamond', serif; color: #E3C998; text-align: center; }
.mfa-s { font-size: 13px; line-height: 1.45; color: #A8A29A; text-align: center; }
.mfa-qr { display: flex; justify-content: center; }
.mfa-qr img { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 12px; image-rendering: pixelated; }
.mfa-key { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #8A8178; }
.mfa-key code { font: 700 13px ui-monospace, monospace; color: #F2EFEA; letter-spacing: .06em; user-select: all; word-break: break-all; text-align: center; }
.mfa-in { height: 50px; border-radius: 12px; background: #0E0E10; border: 1px solid #33333A; color: #F2EFEA; text-align: center;
  font: 800 24px 'Manrope', sans-serif; letter-spacing: .3em; outline: none; }
.mfa-in:focus { border-color: #E7C873; }
.mfa-alt { text-align: center; font-size: 12.5px; font-weight: 700; color: #D4B98A; text-decoration: none; }
.mfa-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mfa-codes code { padding: 8px; border-radius: 8px; background: #0E0E10; border: 1px solid #2E2E33; text-align: center; font: 700 13px ui-monospace, monospace; color: #F2EFEA; }
/* location explainer (GPS club tables) */
.loc-sh { padding-top: 22px; }
.loc-ic { display: flex; justify-content: center; }
.loc-ic svg { border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.loc-sh .mfa-s b { color: #F2EFEA; }
