/* GENERATED FILE - DO NOT EDIT.
   Source: shared/passport.css - run `npm run sync:shared` after editing. */

/* The passport (owner-approved mock LCUvfPgwU16WLAAEYNneK2, 2026-11-23; shared/atlas-globe.js atlasPassportHtml):
   plain passport paper, page numbers in the corners, worn-ink stamps. Website (620px+): an open spread of two pages;
   phone: one page, swiped. Loaded wherever atlas-globe.js is (account, profile, play, the app). */
.ppx { --pp-page: #f7f1e3; display: grid; gap: 14px; width: 100%; min-width: 0; color: #22201b; }
.ppx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ppx-count { margin: 0; color: #6f6450; font: 500 14px/1.3 "DM Sans", system-ui, sans-serif; }
.ppx-pager { display: flex; align-items: center; gap: 10px; color: #6f6450; font: 600 13px/1 "DM Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.ppx-pager[hidden] { display: none; }
.ppx-pager button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #e2d6bd; background: #fffdf8; color: #1d3a2e; font: 600 18px/1 "DM Sans", system-ui, sans-serif; display: grid; place-items: center; padding: 0; cursor: pointer; }
.ppx-pager button:disabled { color: #c9bea6; cursor: default; }
.ppx-pager button:focus-visible, .ppx-track:focus-visible { outline: 2px solid #1d3a2e; outline-offset: 2px; }

/* the pages stay still and turn like a book (owner 2026-11-24; atlasBindPassport): only the shown page(s) draw; the
   turning leaf and its shadow sit on top while a page turns */
.ppx-track { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); perspective: 1600px; touch-action: pan-y; border-radius: 10px; background: #f2ead8; box-shadow: 0 22px 40px -28px rgba(40, 30, 10, .55), 0 0 0 1px #d9cba9; -webkit-user-select: none; user-select: none; }
.ppx.is-spread .ppx-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ppx-leaf:not(.is-shown) { display: none; }
.ppx-track > .ppx-leaf { grid-row: 1; grid-column: 1; }
.ppx.is-spread .ppx-track > .ppx-leaf.is-even { grid-column: 2; }
.ppx-turn { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 100%; transform-origin: left center; transform-style: preserve-3d; pointer-events: none; }
.ppx.is-spread .ppx-turn { left: 50%; width: 50%; }
.ppx-turn-face { position: absolute; inset: 0; overflow: hidden; border-radius: 10px; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #f2ead8; box-shadow: 0 0 0 1px #d9cba9; }
.ppx-turn-face.is-back { transform: rotateY(180deg); background: linear-gradient(90deg, #e9dfc7, #f2ead8 30%); }
.ppx-turn-face > .ppx-leaf { display: block; width: 100%; height: 100%; aspect-ratio: auto; }
.ppx-turn-face:not(.is-back)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(60, 40, 10, .18), transparent 45%); pointer-events: none; }
.ppx-turn-shade { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; right: 0; border-radius: 10px; background: linear-gradient(90deg, rgba(60, 40, 10, .26), transparent 60%); opacity: 0; pointer-events: none; }
.ppx.is-spread .ppx-turn-shade { left: 50%; }
.ppx-leaf {
  position: relative; aspect-ratio: 5 / 6.4; overflow: hidden; min-width: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .55), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(160, 135, 85, .07) 13px 14px),
    #f7f1e3;
}
.ppx-leaf.is-even { background-color: #f2ead8; }
/* the fold between two open pages */
.ppx.is-spread .ppx-leaf:not(.is-even)::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 28px; background: linear-gradient(90deg, transparent, rgba(80, 60, 20, .12)); pointer-events: none; }
.ppx.is-spread .ppx-leaf.is-even::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22px; background: linear-gradient(270deg, transparent, rgba(80, 60, 20, .10)); pointer-events: none; }
.ppx-micro { position: absolute; left: 22px; right: 22px; top: 20px; display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #dccfb2; font: 700 9.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .22em; color: #a39373; text-transform: uppercase; }
.ppx-no { position: absolute; bottom: 12px; left: 22px; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #a39373; }
.ppx.is-spread .ppx-leaf.is-even .ppx-no { left: auto; right: 22px; }
.ppx-stamps { position: absolute; inset: 46px 16px 34px; }
.ppx-blank { position: absolute; inset: 46px 22px 34px; margin: 0; display: grid; place-items: center; text-align: center; color: #b9aa88; font: 500 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }

/* a stamp: its place on the page, a little turned; the ink sinks into the paper */
.ppx-stamp { position: absolute; left: var(--stamp-x); top: var(--stamp-y); width: var(--stamp-w); z-index: var(--stamp-z); display: block; color: var(--stamp-ink); transform: rotate(var(--stamp-turn)); mix-blend-mode: multiply; text-decoration: none; transition: transform .18s ease; }
.ppx-stamp svg { display: block; width: 100%; height: auto; overflow: visible; }
a.ppx-stamp:hover { transform: rotate(var(--stamp-turn)) scale(1.03); }
a.ppx-stamp:focus-visible { outline: 2px solid #1d3a2e; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .ppx-stamp { transition: none; } a.ppx-stamp:hover { transform: rotate(var(--stamp-turn)); } }

/* inside the Atlas, the app's Virtual Passport and the Trip Recap */
.atx-pp > .ppx { grid-row: 2; justify-self: stretch; max-width: 100%; }
.stack.is-passport .ppx { width: 100%; max-width: 30rem; margin: 0 auto; }
.rc-passport .ppx-stamps { position: relative; inset: auto; }
.rc-passport .ppx-stamp { cursor: default; }
.rc-passport.is-ghost .ppx-stamp { opacity: .35; filter: grayscale(.4); }
