/* The Passport tab: world coverage, and the country stamps. */
.passport-page { max-width: 720px; }
.passport-loading { color: var(--muted); padding: 40px 0; text-align: center; }

/* Year chips, as on the Progress tab */
.passport-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.passport-chip {
  appearance: none; border: 1px solid var(--hairline); background: var(--surface); color: var(--muted);
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; cursor: pointer;
}
.passport-chip:hover { color: var(--text); border-color: var(--muted); }
.passport-chip.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Sections */
.passport-section { margin: 26px 0 0; }
.passport-section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.passport-section-header h2 { margin: 0; font-size: 21px; letter-spacing: -0.01em; }
.passport-section-header span { color: var(--faint); font-size: 14px; }
.passport-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 18px;
}
.passport-note { margin: 0; color: var(--muted); font-size: 15px; }

/* World coverage */
.passport-world { display: grid; gap: 16px; }
.passport-world-map { width: 100%; }
.passport-coverage { display: flex; align-items: center; gap: 18px; }
.passport-ring { position: relative; flex: none; width: 92px; height: 92px; }
.passport-ring svg { display: block; }
.passport-ring-track { stroke: var(--hairline); }
.passport-ring-fill { stroke: var(--accent); transition: stroke-dashoffset 0.6s ease-out; }
.passport-ring-label {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.passport-ring-label strong { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.passport-ring-label span { font-size: 11px; color: var(--faint); }
.passport-continents { flex: 1; min-width: 0; display: grid; gap: 10px; }
.passport-continents-count { font-size: 15px; font-weight: 600; }
.passport-continent-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.passport-continent-chip {
  display: flex; align-items: center; justify-content: center; height: 26px; border-radius: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--faint);
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline);
}
.passport-continent-chip.is-lit {
  color: var(--accent); background: rgba(233,220,195,0.16); border-color: rgba(233,220,195,0.45);
}

/* The stamps */
.passport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.passport-stamp-card {
  position: relative; height: 176px; overflow: hidden; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
}
.passport-silhouette {
  position: absolute; inset: 10px; transform: translate(18px, 6px) rotate(-6deg); pointer-events: none;
}
.passport-silhouette svg { width: 100%; height: 100%; display: block; overflow: visible; }
.passport-stamp { position: relative; display: block; overflow: visible; flex: none; }
.passport-stamp text { user-select: none; }
@media (max-width: 400px) {
  .passport-grid { gap: 8px; }
  .passport-stamp { transform-origin: center; }
}

/* The stamps behind the lock: a taste, blurred, cut to a card's height */
.passport-locked { position: relative; }
.passport-locked-preview {
  max-height: 420px; overflow: hidden; filter: blur(12px); opacity: 0.6; pointer-events: none;
}
.passport-locked .passport-lock-card {
  position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); margin: 0;
  background: rgba(18,20,27,0.92); box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
@media (min-width: 560px) {
  .passport-locked .passport-lock-card { left: 48px; right: 48px; }
}
