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

/* Atlas — the countries you've been to (shared/atlas-globe.js, owner-approved mocks 2026-11-09, round 2). Website + app. */
.atx {
  --atx-forest: var(--forest, #1e3a2f);
  --atx-ink: var(--ink, #1a1410);
  --atx-soft: var(--ink-soft, #4a3f36);
  --atx-line: var(--line, rgba(26, 20, 16, 0.12));
  --atx-land: #e4d8c2;
  --atx-sea: #fbf6ec;
  --atx-trip: #2f6b4f;
  --atx-pick: #d9a441;
  --atx-card: #fffdf8;
  --atx-chip: #f6e7c4;
  --atx-route: var(--brick, #b44a2a);
  --atx-gold: var(--gold, #b0893a);
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  color: var(--atx-ink);
  font-family: var(--sans, "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
}
.atx.is-web { gap: 1.75rem; }
.atx-loading { margin: 0; padding: 3rem 1rem; text-align: center; color: var(--atx-soft); }

.atx-count strong { display: block; font: 700 2.8rem/1 var(--serif, "Playfair Display", Georgia, serif); color: var(--atx-forest); }
.atx.is-web .atx-count strong { font-size: 3.2rem; }
.atx-count strong small { margin-left: 0.4rem; font: 500 1.05rem var(--sans, system-ui, sans-serif); color: var(--atx-soft); }
.atx-count span { display: block; margin-top: 0.3rem; color: var(--atx-soft); font-size: 0.95rem; }

.atx-mapbox { display: grid; gap: 0.9rem; min-width: 0; }
.atx-map { display: block; width: 100%; max-width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.atx-map:active { cursor: grabbing; }
/* the map (mock 2026-11-11): sea-green globe / flat card, glowing visited countries, push pins (atlasMapView) */
.atx-map.is-flat { cursor: default; }
.atx-grat { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 0.6; pointer-events: none; }
.atx-c { fill: #f4ecd9; stroke: #d6c6a4; stroke-width: 0.45; }
.atx-c.is-trip { stroke: #1f5a3f; stroke-width: 0.6; cursor: pointer; }
.atx-dot { fill: #2f7a55; stroke: #fffaf0; stroke-width: 1.5; cursor: pointer; }
.atx-pin { cursor: pointer; }
.atx-pin-n { fill: #fff; text-anchor: middle; dominant-baseline: central; font-family: var(--sans, "DM Sans", system-ui, sans-serif); font-weight: 700; paint-order: stroke; stroke-width: 1.5px; pointer-events: none; }
.atx-lbl { font: 700 12px var(--sans, "DM Sans", system-ui, sans-serif); paint-order: stroke; stroke: #fffaf0; stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
.atx-ping { fill: none; stroke: #c8402f; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: atx-ping 2.4s ease-out infinite; pointer-events: none; }
.atx-world { cursor: pointer; }
.atx-world rect { fill: #fffdf8; stroke: rgba(26, 20, 16, 0.15); }
.atx-world text { font: 700 12px var(--sans, "DM Sans", system-ui, sans-serif); fill: #1e3a2f; }
@keyframes atx-flow { to { stroke-dashoffset: -18; } }
@keyframes atx-ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .atx-route, .atx-ping { animation: none; } }

.atx-foot { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; justify-content: space-between; }
.atx-seg.seg { margin: 0; grid-template-columns: repeat(2, auto); }
.atx-seg .seg-btn { min-height: 2.5rem; padding: 0 1.1rem; }
.atx-pills { display: flex; gap: 0.5rem; }
.atx-pill { min-height: 2.6rem; padding: 0 1.1rem; border: 1px solid var(--atx-line); border-radius: 999px; background: var(--atx-card); color: var(--atx-forest); font: 600 0.92rem var(--sans, system-ui, sans-serif); cursor: pointer; }
.atx-pill.is-on { border-color: var(--atx-forest); background: var(--atx-forest); color: #f7f1e6; }

.atx-conts { display: grid; gap: 0.6rem; }
.atx-cont { display: grid; grid-template-columns: 7.4rem minmax(0, 1fr) 3.4rem; gap: 0.75rem; align-items: center; font-size: 0.88rem; }
.atx-bar { height: 8px; overflow: hidden; border-radius: 99px; background: var(--atx-land); }
.atx-bar i { display: block; height: 100%; border-radius: 99px; background: var(--atx-trip); }
.atx-cont span:last-child { text-align: right; color: var(--atx-soft); font-variant-numeric: tabular-nums; }

.atx-h { margin: 0 0 0.75rem; font: 700 1.2rem var(--serif, "Playfair Display", Georgia, serif); color: var(--atx-forest); }
.atx-pill:focus-visible, .atx-trip:focus-visible { outline: 2px solid var(--atx-pick); outline-offset: 2px; }
.atx-empty, .atx-fine { margin: 0; color: var(--atx-soft); font-size: 0.86rem; }

.atx-pick { display: grid; gap: 0.6rem; padding: 1rem 1.1rem; border: 1px solid var(--atx-line); border-radius: 18px; background: var(--atx-card); }
.atx-pick-top { display: flex; align-items: center; gap: 0.8rem; }
.atx-pick-top h3 { flex: 1; min-width: 0; margin: 0; font: 700 1.2rem var(--serif, "Playfair Display", Georgia, serif); color: var(--atx-forest); }
.atx-pick p { margin: 0; color: var(--atx-soft); font-size: 0.92rem; }
.atx-x { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border: 0; border-radius: 50%; background: none; color: var(--atx-soft); font-size: 1rem; cursor: pointer; }
.atx-trips { display: grid; gap: 0.5rem; }
.atx-trip { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; width: 100%; min-height: 2.75rem; padding: 0.55rem 0.8rem; border: 0; border-radius: 12px; background: var(--paper, #efe6d6); color: var(--atx-ink); font: inherit; font-size: 0.9rem; text-align: left; text-decoration: none; cursor: pointer; }
.atx-trip b { min-width: 0; font-weight: 600; }
.atx-trip span { flex: none; color: var(--atx-soft); white-space: nowrap; }

/* website: map left, count + continents + the country you tapped right; the list below; the passport below that */
.atx-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: 2rem; align-items: start; }
.atx-side { display: grid; gap: 1.4rem; min-width: 0; }
@media (max-width: 820px) { .atx-top { grid-template-columns: minmax(0, 1fr); } }
.atx-pp { display: grid; gap: 0.6rem; margin-top: 2.5rem; }
.atx-pp { justify-items: start; grid-template-columns: minmax(0, 1fr); }
.atx-pp > * { grid-column: 1; order: 0; }
.atx-pp > .atx-kicker { grid-row: 1; }
.atx-pp > .atlas-passport { grid-row: 2; }
.atx-pp .atlas-passport { justify-self: start; width: 100%; max-width: 36rem; height: 30rem; min-height: 340px; margin: 0; }
.atx-kicker { margin: 0; color: var(--atx-soft, #4a3f36); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* round 2: new this year, numbers, milestone, years, routes, postcards */
.atx-new { color: var(--atx-route); font-weight: 700; }
.atx-route { fill: none; stroke: var(--atx-route); stroke-width: 2.4; stroke-dasharray: 2 7; stroke-linecap: round; animation: atx-flow 1.1s linear infinite; pointer-events: none; }
.atx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.atx-stats.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .atx-stats.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.atx-stat { display: grid; gap: 0.15rem; padding: 0.8rem 0.9rem; border: 1px solid var(--atx-line); border-radius: 16px; background: var(--atx-card); min-width: 0; }
.atx-stat b { font: 700 1.35rem/1.1 var(--serif, "Playfair Display", Georgia, serif); color: var(--atx-forest); font-variant-numeric: tabular-nums; }
.atx-stat span { color: var(--atx-soft); font-size: 0.78rem; }
.atx-goal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--atx-line); border-radius: 18px; background: var(--atx-card); }
.atx-goal-stamp { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 2px dashed var(--atx-gold); border-radius: 50%; color: var(--atx-gold); font: 700 1.1rem var(--serif, "Playfair Display", Georgia, serif); transform: rotate(-8deg); }
.atx-goal b { display: block; color: var(--atx-forest); font-weight: 700; }
.atx-goal small { display: block; margin: 0.1rem 0 0.5rem; color: var(--atx-soft); font-size: 0.84rem; }
.atx-bar.is-gold { display: block; }
.atx-bar.is-gold i { background: var(--atx-gold); }
.atx-years { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.atx-year { min-height: 2.4rem; padding: 0 0.95rem; border: 1px solid var(--atx-line); border-radius: 999px; background: var(--atx-card); color: var(--atx-soft); font: 600 0.86rem var(--sans, system-ui, sans-serif); cursor: pointer; }
.atx-year.is-on { border-color: #e3cf9c; background: var(--atx-chip); color: var(--atx-forest); }
.atx-year:focus-visible, .atx-card:focus-visible { outline: 2px solid var(--atx-pick); outline-offset: 2px; }
.atx-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.atx-h span { color: var(--atx-soft); font: 500 0.85rem var(--sans, system-ui, sans-serif); }
.atx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.atx.is-web .atx-cards { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem; }
.atx-card { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 18px; background: #2f6b4f; color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 8px 20px rgba(19, 37, 30, 0.12); }
.atx.is-web .atx-card { aspect-ratio: 4 / 5; }
.atx-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atx-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 21, 0) 35%, rgba(15, 26, 21, 0.82)); }
.atx-card.is-pick { outline: 3px solid var(--atx-pick); outline-offset: 2px; }
.atx-card-code { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 253, 248, 0.18); font: 700 4rem var(--serif, "Playfair Display", Georgia, serif); }
.atx-card-k { position: absolute; top: 0.65rem; left: 0.65rem; z-index: 1; padding: 0.25rem 0.45rem; border-radius: 8px; background: rgba(255, 253, 248, 0.92); color: var(--atx-forest); font: 700 0.72rem var(--sans, system-ui, sans-serif); letter-spacing: 0.05em; }
.atx-card-new { position: absolute; top: 0.65rem; right: 0.65rem; z-index: 1; padding: 0.25rem 0.55rem; border-radius: 999px; background: var(--atx-route); color: #fff; font: 700 0.7rem var(--sans, system-ui, sans-serif); }
.atx-card-t { position: absolute; right: 0.8rem; bottom: 0.75rem; left: 0.8rem; z-index: 1; display: grid; gap: 0.15rem; }
.atx-card-t b { font: 700 1.15rem/1.15 var(--serif, "Playfair Display", Georgia, serif); }
.atx.is-web .atx-card-t b { font-size: 1.3rem; }
.atx-card-t small { overflow: hidden; font-size: 0.78rem; opacity: 0.92; text-overflow: ellipsis; white-space: nowrap; }
.atx-pick { padding: 0; overflow: hidden; }
.atx-pick-photo { display: block; width: 100%; height: 8.5rem; object-fit: cover; }
.atx-pick-body { display: grid; gap: 0.6rem; padding: 0.9rem 1.1rem 1rem; }

/* your trips beside / under the map: tap one to frame it (gold) */
.atx-tps { display: grid; gap: 0.2rem; min-width: 0; }
.atx-h span { margin-left: 0.5rem; font: 500 0.9rem var(--sans, system-ui, sans-serif); color: var(--atx-soft); }
.atx-tp-list { display: grid; gap: 0.5rem; }
.atx-tp { display: grid; gap: 0.4rem; border: 1px solid var(--atx-line); border-radius: 14px; background: var(--atx-card); padding: 0.15rem; }
.atx-tp.is-on { border-color: #a87b25; box-shadow: 0 0 0 1px #a87b25 inset; }
.atx-tp-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; width: 100%; min-height: 3rem; padding: 0.6rem 0.85rem; border: 0; border-radius: 12px; background: none; color: var(--atx-ink); font: inherit; text-align: left; cursor: pointer; }
.atx-tp-btn span { display: grid; gap: 0.1rem; min-width: 0; }
.atx-tp-btn b { font-weight: 700; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atx-tp-btn small { color: var(--atx-soft); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atx-tp-btn em { font-style: normal; color: var(--atx-soft); font-size: 0.82rem; white-space: nowrap; }
.atx-tp-open { justify-self: start; margin: 0 0.85rem 0.6rem; padding: 0.45rem 0.9rem; border: 0; border-radius: 999px; background: #a87b25; color: #fff; font: 700 0.85rem var(--sans, system-ui, sans-serif); text-decoration: none; cursor: pointer; }
.atx-tp-more { justify-self: start; margin-top: 0.4rem; padding: 0.5rem 0.9rem; border: 1px solid var(--atx-line); border-radius: 999px; background: var(--atx-card); color: var(--atx-forest); font: 700 0.85rem var(--sans, system-ui, sans-serif); cursor: pointer; }
.atx-tp-btn:focus-visible, .atx-tp-open:focus-visible, .atx-tp-more:focus-visible, .atx-tg-stop:focus-visible { outline: 2px solid var(--atx-pick); outline-offset: 2px; }

/* the recap: "Where this trip went" (atlasTripGlobe) */
.atx-tg { gap: 0.9rem; width: 100%; max-width: 34rem; margin: 0 auto; }
.atx-tg-kick { margin: 0; color: var(--brick, #b44a2a); font: 700 0.7rem/1.2 var(--sans, system-ui, sans-serif); letter-spacing: 0.16em; text-transform: uppercase; }
.atx-tg-map { width: 100%; max-width: 26rem; margin: 0 auto; touch-action: pan-y; }
.atx-tg-stops { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.5rem; }
.atx-tg-stop { display: flex; align-items: center; gap: 0.6rem; min-height: 2.9rem; padding: 0.45rem 0.8rem 0.45rem 0.5rem; border: 1px solid var(--atx-line); border-radius: 14px; background: #fbf6ec; color: var(--atx-ink); font: 700 0.88rem var(--sans, system-ui, sans-serif); text-align: left; cursor: pointer; }
.atx-tg-stop i { display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #c8402f; color: #fff; font: 700 0.75rem var(--sans, system-ui, sans-serif); font-style: normal; }
.atx-tg-stop span { display: grid; min-width: 0; line-height: 1.25; }
.atx-tg-stop small { color: var(--atx-soft); font-weight: 500; font-size: 0.78rem; }
.atx-tg-stop.is-on { border-color: #c8402f; background: #fff3ea; }
