/* g3-app · nav.css (core) · Nav A: account button, hero pills, live strip, account sheet */

.nav-acct {
  position: relative; width: var(--btn); height: var(--btn); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--beige); color: var(--ink);
  transition: transform var(--dur-fast) var(--ease);
}
.nav-acct:active { transform: scale(0.94); }
.nav-acct.is-member { background: var(--ink); color: var(--white); }
.nav-acct-i { font-family: var(--f-sans); font-size: 18px; line-height: 20px; }
.nav-acct-dot {
  position: absolute; top: -1px; right: -1px; width: 12px; height: 12px;
  border-radius: 999px; background: var(--red); border: 2px solid var(--white);
}

/* pills on the home photo */
.nav-hero-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px;
  border-radius: 999px; background: var(--white); color: var(--ink);
  font-family: var(--f-sans); font-size: 15px; line-height: 18px; white-space: nowrap;
}
.nav-hero-pill svg { flex-shrink: 0; }

/* live order strip under the header */
.nav-strip-wrap { padding: 14px var(--gutter) 0; }
.nav-strip {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 12px;
  border-radius: 999px; background: var(--ink); color: var(--white); text-align: left;
  animation: strip-in var(--dur) var(--ease) both;
}
@keyframes strip-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-strip-dot {
  width: 8px; height: 8px; flex-shrink: 0; border-radius: 999px; background: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
  animation: strip-pulse 1.6s ease-in-out infinite;
}
.nav-strip.is-ready .nav-strip-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.3); }
@keyframes strip-pulse { 50% { box-shadow: 0 0 0 6px rgba(245, 0, 43, 0.12); } }
.nav-strip-a, .nav-strip-b { letter-spacing: -0.01em; }
.nav-strip-a { flex: 1 1 0; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-strip-b { font-size: 13px; line-height: 16px; color: var(--on-ink-muted); white-space: nowrap; }
.nav-strip-chev { flex-shrink: 0; }

/* account sheet */
.acct-sheet .sheet-body { padding-bottom: calc(var(--safe-bottom) + 8px); } /* Log out clears the bottom edge strip */
.acct-head { display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter) 18px; }
.acct-avatar {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 999px; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--f-sans); font-size: 22px; line-height: 24px;
}
.acct-who { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-name { font-family: var(--f-sans); font-size: 22px; line-height: 26px; }
.acct-pts { font-size: 13px; line-height: 16px; color: var(--muted); }
.acct-high { display: flex; flex-direction: column; gap: 8px; padding: 0 var(--gutter) 8px; }
.acct-high:empty { display: none; }

.acct-live { display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 20px; background: var(--ink); color: var(--white); }
.acct-live-top { display: flex; align-items: center; gap: 12px; }
.acct-live-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-live-title { font-family: var(--f-sans); font-size: 18px; line-height: 22px; }
.acct-live-sub { font-size: 13px; line-height: 16px; color: var(--on-ink-muted); }
.acct-live-bars { display: flex; gap: 4px; }
.acct-live-bars i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--track-off); transition: background-color var(--dur) var(--ease); }
.acct-live-bars i.is-on { background: var(--red); }

.acct-reward { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: var(--beige); }
.acct-reward-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--red); display: flex; align-items: center; justify-content: center; }
.acct-reward-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-reward-title { font-size: 15px; line-height: 20px; font-weight: 600; }
.acct-reward-sub { font-size: 13px; line-height: 16px; color: var(--muted); }

.acct-links { display: flex; flex-direction: column; padding: 4px var(--gutter) 0; }
.acct-links .lrow:last-child { border-bottom: 1px solid var(--line); }
.acct-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter) 4px; }
.acct-logout { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--muted); text-decoration: underline 1px; text-underline-position: from-font; }
.acct-mail { font-size: 13px; line-height: 16px; color: var(--muted); }

.acct-guest { display: flex; flex-direction: column; gap: 18px; padding: 10px var(--gutter) 20px; }
.acct-guest-top { display: flex; align-items: flex-start; gap: 14px; }
.acct-guest-text { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; }
.acct-guest-title { font-family: var(--f-sans); font-size: 24px; line-height: 28px; }
.acct-guest-sub { font-size: 14px; line-height: 20px; color: var(--muted); }
.acct-guest-btns { display: flex; flex-direction: column; gap: 10px; }
.acct-guest-btns .cta, .acct-guest-btns .btn-secondary { font-size: 19px; }
.acct-guest + .acct-links { padding-top: 0; }
/* demo reset: quiet, last thing in the account sheet */
.acct-reset { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin-top: 8px; padding: 14px var(--gutter) 6px; border-top: 1px solid var(--line); text-align: left; }
.acct-reset-t { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--red-ink); }
.acct-reset-s { font-size: 12px; line-height: 16px; color: var(--muted); }
