/* The loyalty card itself (public/shared/loyalty.js cardHtml), wherever it
   is shown: on the customer's phone, and in the dashboard's preview, which
   must be exactly what the customer sees. The shop's colours arrive as the
   four --lc-* values on the card; these are what a card with none looks like. */
.lc-card {
  --lc-bg: #0b2545;
  --lc-ink: #ffffff;
  --lc-accent: #f5b301;
  --lc-accent-ink: #111111;
  background: var(--lc-bg);
  color: var(--lc-ink);
  border-radius: 22px;
  padding: 22px 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  box-sizing: border-box;
}
.lc-card * { box-sizing: border-box; }
.lc-head { margin-bottom: 14px; }
.lc-logo { display: block; max-height: 56px; max-width: 60%; margin: 0 auto 8px; object-fit: contain; }
.lc-shop { margin: 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.lc-title { margin: 6px 0 0; font-size: 24px; line-height: 1.2; font-weight: 800; }
.lc-stamps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 10px;
  max-width: 340px;
  margin: 16px auto 12px;
}
.lc-stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid currentColor;
  opacity: .45;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  min-width: 44px;
}
.lc-stamp.on {
  opacity: 1;
  background: var(--lc-accent);
  border-color: var(--lc-accent);
  color: var(--lc-accent-ink);
  font-size: 24px;
}
.lc-stamp.last:not(.on) { opacity: .7; border-style: dashed; }
.lc-status { margin: 6px 0 12px; font-size: 18px; line-height: 1.4; }
.lc-status.ready {
  background: var(--lc-accent);
  color: var(--lc-accent-ink);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 20px;
}
.lc-status.paused { opacity: .85; font-size: 16px; }
.lc-note { margin: 0 0 12px; font-size: 14px; opacity: .85; }
.lc-qr {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  width: min(78vw, 280px);
  margin: 8px auto 6px;
}
.lc-qr svg { display: block; width: 100%; height: auto; }
.lc-number { margin: 6px 0 4px; font-size: 15px; }
.lc-number span { opacity: .8; }
.lc-number b { font-size: 22px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.lc-small { margin: 4px 0 0; font-size: 14px; opacity: .85; }
.lc-rules {
  list-style: none;
  padding: 12px 0 0;
  margin: 14px 0 0;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 25%, transparent);
  font-size: 14px;
  line-height: 1.5;
  opacity: .9;
}
.lc-rules li { margin: 2px 0; }
