/* Chick-fil-A–style loyalty pass: bright full-screen QR + balance */

body.loyalty-pass-page {
  /* “Brighten” simulation: high-contrast white canvas (browsers can’t set OS brightness) */
  background: #ffffff !important;
}

body.loyalty-pass-page .site-header,
body.loyalty-pass-page .site-footer,
body.loyalty-pass-page .mobile-nav,
body.loyalty-pass-page .bottom-nav {
  /* Keep nav usable but reduce visual noise on the pass */
  opacity: 0.92;
}

.loyalty-pass {
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
  text-align: center;
}

.loyalty-pass-header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  color: #111;
}

.loyalty-pass-sub {
  margin: 0 0 1.25rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

.loyalty-pass-card {
  background: #fff;
  border: 2px solid #e8eaed;
  border-radius: 20px;
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.loyalty-pass-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
}

.loyalty-pass-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  background: #fff;
  border-radius: 12px;
}

.loyalty-pass-qr {
  width: min(280px, 72vw);
  height: auto;
  image-rendering: pixelated;
  border-radius: 8px;
}

.loyalty-pass-balance {
  margin: 1rem 0 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
}

.loyalty-pass-pts {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: #111;
}

.loyalty-pass-pts-label {
  font-size: 1.1rem;
  color: #555;
  font-weight: 600;
}

.loyalty-pass-value {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.loyalty-pass-refresh {
  margin: 0.75rem 0 0;
}

.loyalty-pass-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.loyalty-pass-action {
  display: block;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  background: #fafafa;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.12s, background 0.12s;
}

.loyalty-pass-action:hover {
  border-color: #c5ccd6;
  background: #fff;
}

.loyalty-pass-action strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  color: #111;
}

.loyalty-pass-action span {
  font-size: 0.88rem;
  color: #555;
}

.loyalty-pass-action-muted {
  background: #fff;
}

.loyalty-pass-howto {
  margin-top: 1.5rem;
  text-align: left;
  color: #333;
}

.loyalty-pass-howto summary {
  cursor: pointer;
  font-weight: 600;
}

.loyalty-pass-card-guest {
  padding: 1.75rem 1.25rem;
}

/* Full-bright mode while the pass is open */
html.loyalty-bright,
html.loyalty-bright body {
  background: #ffffff !important;
}

html.loyalty-bright body.loyalty-pass-page .loyalty-pass-card {
  box-shadow: none;
  border-color: #ddd;
}
