:root { --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif; --body: "DM Sans", system-ui, sans-serif; }
/* ---------- wallet pass ---------- */
.pass {
  --p-bg: #F6E7D2; --p-fg: #3A2A1C; --p-label: #8A6A4C; --p-accent: #D9622B;
  width: 100%; max-width: 300px; border-radius: 20px; padding: 12px; background: var(--p-bg); color: var(--p-fg);
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 34px rgba(0, 0, 0, .35); font-family: var(--body);
}
.pass-head { display: flex; align-items: center; gap: 8px; }
.pass-mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--display); background: var(--p-fg); color: var(--p-bg); }
.pass-name { font-weight: 600; font-size: 15px; flex: 1; }
.pass-field { display: flex; flex-direction: column; line-height: 1.15; }
.pass-field.right { text-align: right; align-items: flex-end; }
.pass-field small { font-size: 11px; font-weight: 500; color: var(--p-label); }
.pass-field b { font-size: 14px; font-weight: 600; }
.pass-count { font-size: 18px !important; font-variant-numeric: tabular-nums; }
.pass-strip {
  display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 8px; padding: 12px;
  border-radius: 8px; background: color-mix(in srgb, var(--p-fg) 7%, transparent);
}
.pass-strip i { aspect-ratio: 1; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--p-fg) 35%, transparent); }
.pass-strip i.on { border: 0; background: var(--p-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.pass-row { display: flex; justify-content: space-between; gap: 10px; }
.pass-qr { align-self: center; background: #fff; padding: 8px; border-radius: 8px; width: 108px; }
.pass-qr svg { display: block; width: 100%; height: auto; }
.pass.compact .pass-strip { padding: 8px; }
/* hero animation: the stamps arrive one by one, then the notification drops in */
.pass.animate .pass-strip i.on { animation: stamp .4s calc(var(--i) * .2s + .4s) both cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes stamp { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .pass.animate .pass-strip i.on { animation: none; } }
