/* «Passaporto The Guide» (web/passport.js): cover, paper pages, stamps with the thump. Creuza tokens from app.css. */
.pas-page { max-width: 560px; margin: 0 auto; }
.pas-book { position: relative; margin: 14px 0 10px; perspective: 1400px; min-height: 460px; }
.pas-cover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px 22px 22px 10px; background: #8e2a18; color: #f7c23b; border: var(--card-border); box-shadow: var(--card-shadow);
  transform-origin: left center; transition: transform .9s cubic-bezier(.3,.7,.2,1), opacity .2s .75s; backface-visibility: hidden; }
.pas-cover-logo { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 0 0 #f7c23b); }
.pas-cover-title { font-size: var(--type-display-l-size); font-weight: 900; font-stretch: 66%; letter-spacing: 3px; }
.pas-cover-brand { font-weight: 800; letter-spacing: 6px; font-size: var(--type-label-size); }
.pas-cover-sub { font-size: var(--type-body-s-size); opacity: .9; }
.pas-cover-name { margin-top: 18px; font-weight: 800; letter-spacing: 2px; font-size: var(--type-body-size); }
.pas-book.is-open .pas-cover { transform: rotateY(-100deg); opacity: 0; pointer-events: none; }
.pas-pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; border-radius: 10px 22px 22px 10px; }
.pas-pages::-webkit-scrollbar { display: none; }
.pas-sheet { flex: 0 0 100%; scroll-snap-align: start; min-height: 460px; box-sizing: border-box; padding: 18px 16px; border-radius: 10px 22px 22px 10px;
  background: #f6efdc; color: #1d1f24; border: var(--card-border); box-shadow: var(--card-shadow);
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(36,88,166,.06) 27px 28px); }
.pas-kicker { display: flex; justify-content: space-between; font-size: var(--type-caption-size); font-weight: 800; letter-spacing: 1.3px; color: #5f636b; margin-bottom: 12px; }
.pas-holder { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pas-avatar { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; border: 2px solid #1d1f24; background: #f7c23b; display: grid; place-items: center; font-size: 40px; font-weight: 900; }
.pas-holder dl { margin: 6px 0 0; display: grid; gap: 8px; width: 100%; }
.pas-holder dt { font-size: var(--type-kicker-size); font-weight: 800; letter-spacing: 1px; color: #5f636b; text-transform: uppercase; }
.pas-holder dd { margin: 0; font-size: var(--type-title-size); font-weight: 750; }
.pas-ribbon { width: 100%; height: 28px; margin-top: auto; }
.pas-ribbon text { font: 800 9px Archivo, sans-serif; letter-spacing: 1.5px; fill: #2458a6; }
.pas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pas-stamps.is-luoghi .pas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pas-stamp { margin: 0; text-align: center; }
.pas-ink svg { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.pas-stamp figcaption { font-size: var(--type-caption-size); font-weight: 700; line-height: 1.25; }
.pas-stamp figcaption small { display: block; font-weight: 500; color: #5f636b; }
.pas-stamp.is-fresh .pas-ink { animation: pas-thump .55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pas-thump { 0% { transform: scale(1.8) rotate(12deg); opacity: 0; } 60% { transform: scale(.94); opacity: 1; } 100% { transform: none; opacity: 1; } }
.pas-empty p { font-size: var(--type-body-size); }
.pas-dots { display: flex; justify-content: center; gap: 6px; margin: 4px 0 10px; }
.pas-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong, #999); opacity: .35; }
.pas-dots span.is-on { opacity: 1; background: var(--accent); }
.pas-actions { justify-content: center; }
.pas-privacy { text-align: center; }
.pas-card { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: var(--card-border); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; }
.pas-card:active { transform: translate(3px, 3px); box-shadow: var(--press-shadow); }
.pas-card-cover { flex: 0 0 auto; width: 52px; height: 70px; border-radius: 4px 9px 9px 4px; background: #8e2a18; color: #f7c23b; display: grid; place-content: center; text-align: center; font-size: 7px; font-weight: 900; letter-spacing: .5px; border: 2px solid var(--ink); }
.pas-card-cover small { font-size: 6px; letter-spacing: 1px; }
.pas-card-copy { display: flex; flex-direction: column; }
.pas-card-copy small { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .pas-cover { transition: none; }
  .pas-stamp.is-fresh .pas-ink { animation: none; }
}
