/* Isolated Passport motion layer. Apply only within the Passport root. */
.fd-passport { min-height: 100vh; min-height: 100dvh; }
.fd-passport [data-passport-motion="reveal"] { animation: fd-passport-reveal 600ms ease-out both; }
.fd-passport [data-passport-motion="open"] { transform-origin: left center; animation: fd-passport-open 800ms cubic-bezier(.2,.7,.2,1) both; backface-visibility: hidden; }
.fd-passport [data-passport-motion="page"] { transform-origin: left center; animation: fd-passport-page 400ms ease-out both; }
.fd-passport [data-passport-motion="stamp"] { animation: fd-passport-stamp 700ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes fd-passport-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fd-passport-open { from { transform: perspective(1200px) rotateY(0); } to { transform: perspective(1200px) rotateY(-110deg); } }
@keyframes fd-passport-page { from { opacity: .65; transform: perspective(1000px) rotateY(-12deg); } to { opacity: 1; transform: none; } }
@keyframes fd-passport-stamp { 0% { opacity: 0; transform: scale(1.5) rotate(-12deg); } 55% { opacity: 1; transform: scale(.96) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) {
  .fd-passport [data-passport-motion] { animation-duration: 1ms !important; animation-delay: 0ms !important; }
}
.fd-passport[data-motion="off"] [data-passport-motion] { animation-duration: 1ms !important; animation-delay: 0ms !important; }

/* Site navigation on Passport pages. Does not restyle the passport card.
   Hidden inside the iOS app, which already has a tab bar. */
.fd-pass-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: rgb(251 249 245);
  border-bottom: 1px solid rgba(184, 146, 90, 0.25);
}
.fd-pass-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0b1b3a;
  color: #fbf9f5;
  font-size: 14px;
  flex-shrink: 0;
}
.fd-pass-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  margin-top: 2px;
}
.fd-pass-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: #0b1b3a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}
.fd-pass-nav a:hover,
.fd-pass-nav a:focus-visible,
.fd-pass-nav a[aria-current="page"] {
  background: rgba(184, 146, 90, 0.16);
}
.fd-pass-menu { position: relative; flex-shrink: 0; }
.fd-pass-menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(184, 146, 90, 0.6);
  background: #fffdf8;
  color: #0b1b3a;
  font-size: 18px;
}
.fd-pass-menu summary::-webkit-details-marker { display: none; }
.fd-pass-menu-nav {
  position: absolute;
  right: 0;
  top: 48px;
  z-index: 40;
  background: #fff;
  border: 1px solid rgba(184, 146, 90, 0.35);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 27, 58, 0.18);
  padding: 8px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
}
.fd-pass-menu:not([open]) .fd-pass-menu-nav { display: none; }
.fd-pass-menu-nav a {
  color: #0b1b3a;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.fd-pass-menu-nav a:hover,
.fd-pass-menu-nav a:focus-visible,
.fd-pass-menu-nav a[aria-current="page"] { background: #f7efe3; }
@media (max-width: 699px) {
  .fd-pass-nav a.fd-pass-nav-more { display: none; }
  .fd-pass-brand-club { display: none; }
}
html.in-ios-app .fd-pass-nav,
html.in-ios-app .fd-pass-menu { display: none !important; }
