/* Keep Passport's original surfaces and typography; achievements grow naturally. */
.passport-page [hidden] { display: none !important; }
.passport-page .passport-collection-heading { max-width: 650px; margin: 0 auto 28px; text-align: center; }
.passport-page .passport-collection-heading h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; }
.passport-page .passport-collection-heading p { color: #52654d; font-size: 16px; line-height: 1.7; }
.passport-page .passport-top h3 { font-size: clamp(27px, 2.7vw, 37px); line-height: 1.18; }
.passport-page .passport-top .passport-count-message { font-size: 16px; line-height: 1.7; color: #52654d; }
.passport-page .passport-top .passport-completion-message { margin-top: 10px; color: var(--green); font-size: 16px; font-weight: 700; line-height: 1.7; }
.passport-page .passport-badge { min-width: 0; }
.passport-page .passport-badge small { display: block; color: #52654d; font-size: 14px; line-height: 1.5; margin-top: 5px; }
.passport-page .passport-how-to { max-width: 650px; margin: 24px auto; padding: 18px 22px; border: 1px solid #e5dfc9; border-radius: 14px; background: #fffdf5; }
.passport-page .passport-how-to h3 { margin: 0 0 7px; font-size: 18px; line-height: 1.35; }
.passport-page .passport-how-to p { color: #52654d; font-size: 15px; line-height: 1.75; }
.passport-page .passport-encourage { color: #52654d; font-size: 14px; line-height: 1.7; }
.passport-page [data-passport-action] { max-width: 100%; min-height: 48px; }
.passport-page [data-passport-action]:disabled,
.passport-page [data-passport-action]:disabled:hover {
  cursor: default;
  opacity: 1;
  transform: none;
  background: var(--green);
  box-shadow: 0 4px 0 #1d493017;
  transition: none;
}
.passport-page .passport-adventure-status { max-width: 650px; margin: 12px auto 0; color: #52654d; font-size: 15px; line-height: 1.75; }
.passport-page .passport-settings > p { color: #52654d; font-size: 15px; line-height: 1.75; }
.passport-page .passport-settings .muted,
.passport-page .passport-settings .passport-storage-status { color: #52654d; font-size: 14px; line-height: 1.75; }
.passport-page .passport-settings .passport-storage-status { margin-top: 14px; }
.passport-page .remember-control { min-height: 48px; padding-block: 8px; font-size: 15px; line-height: 1.6; }
.passport-page .remember-control input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; }
.passport-page #reset-progress { min-height: 48px; padding: 10px 12px; border-radius: 10px; font-size: 15px; text-underline-offset: 3px; }
.passport-page :is(a, button, input):focus-visible { outline: 3px solid #3768b6; outline-offset: 4px; }

.passport-page .passport-top h2 { font-size: clamp(27px, 2.7vw, 37px); line-height: 1.18; margin: 0 0 9px; }
.passport-page .passport-achievements { margin: 28px 0; }
.passport-page .passport-achievements > h2, .passport-page .passport-legacy > h2 { font-size: 25px; margin: 0 0 20px; }
.passport-page .passport-empty { max-width: 570px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: #52654d; }
.passport-achievement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.passport-achievement-card { min-width: 0; padding: 25px 19px; border-radius: 19px; border: 1px solid #d6dfcc; background: #fffdf5; }
.passport-achievement-card:only-child { grid-column: 1 / -1; width: 100%; max-width: 350px; justify-self: center; }
.passport-achievement-art { display: grid; place-items: center; margin: 0 auto 18px; width: 90px; height: 90px; border-radius: 50%; background: #f5ebc9; font-size: 48px; }
.passport-achievement-card h3 { font-size: 23px; line-height: 1.3; margin: 0 0 12px; }
.passport-achievement-card p { font-size: 15px; line-height: 1.65; margin: 0 0 4px; color: #52654d; }
.passport-achievement-level { font-weight: 800; }
.passport-achievement-status { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 700; color: #286744; }
.passport-achievement-status svg { width: 19px; height: 19px; flex-shrink: 0; }
.passport-achievement-card time { display: block; font-size: 13px; line-height: 1.6; color: #52654d; margin-top: 10px; }
.passport-page .passport-legacy { margin: 30px 0; padding-top: 26px; border-top: 1px solid #dedecb; }
.passport-legacy > p { font-size: 15px; line-height: 1.75; color: #52654d; max-width: 650px; margin: 0 auto 20px; }
.passport-legacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 14px; }
.passport-legacy-card { background: #fffdf5; border: 1px solid #e5dfc9; border-radius: 16px; padding: 18px 12px; }
.passport-legacy-art { display: inline-flex; color: var(--badge); }
.passport-legacy-art .paw { width: 50px; height: 50px; }
.passport-legacy-card h3 { font-size: 17px; margin: 9px 0 6px; }
.passport-legacy-card p { font-size: 13px; color: #52654d; margin: 0; }
.site-header .passport-link .passport-count { display: inline; font-size: 12px; padding-left: 0; }
.site-header .passport-count::before { content: '·'; margin-right: 6px; }
@media (max-width: 1050px) {
  .site-header .passport-link { position: relative; }
  .site-header .passport-link .passport-count { position: absolute; top: -4px; right: -5px; display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 12px; font-size: 10px; background: #fff9e6; border: 1px solid #c6ae69; color: #675222; }
  .site-header .passport-count::before { content: none; }
}
@media (max-width: 900px) { .passport-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .passport-achievement-grid { grid-template-columns: minmax(0, 1fr); } }

/* A new discovery gets one small, quiet motion, only on the paw artwork. */
.passport-page .passport-new-paw > div { animation: passport-paw-welcome .48s ease-out 1; }
.passport-page .passport-complete-once .passport-top > .paw { animation: passport-paw-welcome .48s ease-out 1; }
@keyframes passport-paw-welcome {
  0% { transform: scale(.94); }
  55% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
@media (max-width: 650px) {
  .passport-page .passport-collection-heading { margin-bottom: 24px; }
  .passport-page .passport-collection-heading h2 { font-size: 25px; }
  .passport-page .passport-top h3 { font-size: 27px; }
  .passport-page .passport-top .passport-count-message,
  .passport-page .passport-top .passport-completion-message { font-size: 15px; }
  .passport-page .passport-how-to { padding: 16px; margin-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .passport-page .passport-new-paw > div,
  .passport-page .passport-complete-once .passport-top > .paw { animation: none; }
}
