/* The faaar atlas: a quiet globe, tactile markers and a connected postcard. */
.globe-stage.atlas-ready { height: min(88svh, 820px); min-height: 720px; margin: 0 24px; border-radius: 22px; background: #102c2e; color: #f5f0df; }
.atlas-ready .globe-sky { background: radial-gradient(ellipse at 38% 52%, #2f5851 0, #173b38 42%, #0d2729 80%); }
.atlas-ready .globe-sky::after { content: ''; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#f3dfb7 0.7px, transparent .9px); background-size: 83px 107px; }
.atlas-ready .globe-topbar { padding: 28px 32px; z-index: 8; }
.atlas-caption { pointer-events: none; }
.atlas-eyebrow { display: block; color: #c7d5c6; font-size: 9px; letter-spacing: 1.6px; line-height: 1.5; }
.atlas-ready .globe-caption { margin-top: 10px; max-width: 260px; font: 19px/1.4 Georgia, serif; text-shadow: none; }
.atlas-ready .destination-select { display: none; }
.atlas-search { pointer-events: auto; position: relative; width: 285px; max-width: 100%; }
.atlas-search > label { margin-bottom: 8px; }
.atlas-search-field { display: flex; align-items: center; border: 1px solid #c3d3bd55; background: #0e2929e6; border-radius: 26px; padding: 0 15px; gap: 10px; transition: border-color 180ms ease; }
.atlas-search-field:focus-within { border-color: #ecd7ac; }
.atlas-search-icon { flex-shrink: 0; position: relative; width: 12px; height: 12px; border: 1px solid #d8e0d0; border-radius: 50%; }
.atlas-search-icon::after { content: ''; position: absolute; width: 5px; height: 1px; background: #d8e0d0; top: 10px; left: 9px; transform: rotate(45deg); }
.atlas-search-input { width: 100%; min-width: 0; height: 44px; border: 0; background: none; color: #fff9e9; font: 12px Arial,sans-serif; outline: none; }
.atlas-search-input::placeholder { color: #c2d0c4; }
.atlas-search-panel { position: absolute; top: 100%; margin-top: 9px; left: 0; right: 0; padding: 6px; border-radius: 15px; background: #f7f3e9; box-shadow: 0 16px 45px #00181755; color: #253c35; max-height: 330px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.atlas-search-panel[hidden], .atlas-ready [hidden], .atlas-route-bar[hidden] { display: none; }
.atlas-results { list-style: none; margin: 0; padding: 0; }
.atlas-result { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; cursor: pointer; }
.atlas-result img { width: 43px; height: 43px; border-radius: 6px; object-fit: cover; }
.atlas-result strong { display: block; font-size: 13px; font-weight: 400; }
.atlas-result small { display: block; margin-top: 4px; font-size: 10px; color: #637166; line-height: 1.4; }
.atlas-result:hover, .atlas-result[aria-selected="true"] { background: #e7e7d9; }
.atlas-search-empty { padding: 12px; font-size: 12px; line-height: 1.6; }
.atlas-filters { position: absolute; top: 126px; left: 32px; right: 32px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 6; pointer-events: none; }
.atlas-filter { pointer-events: auto; color: #d5dfd0; border: 1px solid #bbcebf3d; border-radius: 22px; background: #12302ee6; min-height: 36px; padding: 0 13px; font: 11px Arial,sans-serif; transition: color 180ms ease, background-color 180ms ease, transform 160ms ease; }
.atlas-filter[aria-pressed="true"] { background: #e8dcc0; color: #1e3931; border-color: #e8dcc0; }
.atlas-filter:active, .atlas-route-bar button:active { transform: scale(.97); }
.atlas-count { position: absolute; top: 178px; left: 34px; font-size: 10px; color: #bacbbe; margin: 0; letter-spacing: .4px; }
.atlas-welcome { position: absolute; top: 43%; right: 34px; width: 235px; pointer-events: none; transition: opacity 180ms ease, transform 260ms ease; }
.atlas-welcome-title { font: italic 31px/1.2 Georgia,serif; color: #efe4ca; margin: 15px 0; white-space: pre-line; }
.atlas-welcome > p:last-child { color: #bdcbbd; font-size: 12px; line-height: 1.8; white-space: pre-line; }
.has-place .atlas-welcome { opacity: 0; transform: translateY(8px); }
.atlas-ready .globe-bottom { padding: 24px 32px; background: linear-gradient(transparent, #0d272980); }
.atlas-ready .globe-instructions { color: #c8d4c6; text-shadow: none; font-size: 10px; }
.atlas-ready .globe-controls { gap: 6px; }
.atlas-ready .globe-controls button { background: #193b37; border-color: #bdd0bb55; color: #f1ead7; width: 40px; min-width: 40px; height: 40px; font-size: 20px; }
.atlas-ready .globe-controls button:hover { background: #34584c; }
.atlas-ready .globe-controls .reset-globe { width: auto; font-size: 10px; }
.atlas-ready .globe-pin { width: 48px; height: 48px; margin: -24px 0 0 -24px; isolation: isolate; }
.atlas-ready .globe-pin::before { width: 32px; height: 32px; border: 1px solid #fffae8; background: #f0e6cbeF; box-shadow: 0 3px 14px #071c3455; transition: transform 180ms ease, background-color 180ms ease; }
.atlas-ready .globe-pin::after { position: absolute; width: 42px; height: 42px; background: none; border: 1px solid #f19763; opacity: 0; z-index: -1; }
.atlas-ready .pin-symbol { position: relative; display: grid; place-items: center; z-index: 1; width: 32px; height: 32px; }
.pin-symbol svg { width: 18px; height: 18px; stroke: #345747; fill: none; stroke-width: 1.2; }
.atlas-ready .globe-pin .pin-count { position: absolute; z-index: 2; font-size: 12px; color: #244d3e; }
.atlas-ready .globe-pin .pin-label { position: absolute; top: 46px; left: 50%; transform: translate(-50%, -3px); color: #fff8e4; background: #132c29ef; border: 1px solid #e9e3cb33; border-radius: 5px; padding: 6px 9px; font-size: 10px; width: max-content; max-width: 180px; opacity: 0; pointer-events: none; transition: opacity 140ms ease, transform 180ms ease; }
.atlas-ready .globe-pin.is-cluster .pin-symbol { opacity: 0; }
.atlas-ready .globe-pin.is-cluster::after { display: block; }
.atlas-ready .globe-pin.is-selected::before { background: #e65b35; transform: scale(1.08); }
.atlas-ready .globe-pin.is-selected svg { stroke: #fff9ec; }
.atlas-ready .globe-pin.is-selected::after { opacity: .7; }
.atlas-ready.atlas-in-view .globe-pin.is-selected::after { animation: atlas-beacon 2.8s ease-out infinite; }
.atlas-ready .globe-pin:focus-visible .pin-label { opacity: 1; transform: translate(-50%, 0); }
.atlas-ready[data-mode="shop"] .globe-pin::before { width: 42px; height: 42px; border-radius: 12px; background: #f1e7cd; }
.atlas-ready[data-mode="shop"] .pin-symbol { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; }
.pin-symbol img { width: 100%; height: 100%; object-fit: cover; }
.atlas-ready[data-mode="shop"] .globe-pin::after { width: 52px; height: 52px; border-radius: 16px; }
.atlas-ready .place-card { width: 268px; padding: 8px; border-radius: 13px; background: #f7f3e9; box-shadow: 0 16px 45px #061c3440; }
.atlas-ready .place-card-image { height: 154px; border-radius: 8px; }
.atlas-ready .place-card-copy { padding: 17px 11px 13px; }
.atlas-ready .place-card-country { color: #6e7366; font-size: 9px; letter-spacing: 1.1px; }
.atlas-ready .place-card-title { font: 30px/1.05 Georgia,serif; letter-spacing: -.8px; margin-top: 8px; }
.place-card-tagline { font-size: 11px; color: #77796b; line-height: 1.5; margin: 9px 0 0; }
.atlas-ready .place-card-action { display: inline-block; font-size: 11px; color: #a14528; padding-bottom: 3px; border-bottom: 1px solid #b65a3a66; margin-top: 14px; }
.atlas-ready .place-open { border-radius: 13px; }
.atlas-ready .card-close { z-index: 3; width: 30px; height: 30px; top: 14px; right: 14px; box-shadow: 0 1px 8px #192e3320; }
.place-card-extra { display: flex; flex-wrap: wrap; gap: 9px 14px; border-top: 1px solid #294b3524; padding: 11px; position: relative; z-index: 2; }
.place-card-extra button { border: 0; padding: 3px 0; background: none; font: 10px Arial,sans-serif; color: #355946; cursor: pointer; min-height: 28px; }
.place-card-extra button:disabled { color: #7b806d; cursor: default; }
.atlas-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: hidden; }
.atlas-route-lines path { fill: none; stroke: #f8cf8c; stroke-width: 1.6; stroke-dasharray: 3 7; stroke-linecap: round; }
.atlas-card-connector { fill: none; stroke: #d9d2b480; stroke-width: 1; stroke-dasharray: 2 6; }
.atlas-plane { fill: #ffeed0; stroke: #804c2c; stroke-width: .8; filter: drop-shadow(0 2px 3px #0a2728aa); }
.atlas-route-bar { position: absolute; left: 32px; bottom: 85px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; z-index: 6; }
.atlas-route-bar button { background: #143731e6; border: 1px solid #c4cdb14d; color: #f5e3bf; border-radius: 24px; min-height: 36px; font: 11px Arial,sans-serif; padding: 0 13px; }
.atlas-route-bar > span { color: #bfccb9; font-size: 9px; }
.atlas-route-bar .atlas-route-pause { padding: 0; width: 36px; display: grid; place-items: center; }
.atlas-route-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.atlas-play-icon, .atlas-route-pause[aria-pressed="true"] .atlas-pause-icon { display: none; }
.atlas-route-pause[aria-pressed="true"] .atlas-play-icon { display: block; }
.atlas-ready :focus-visible { outline: 2px solid #edaa79; outline-offset: 4px; }
.atlas-ready .atlas-search-input:focus-visible { outline: none; }
.atlas-ready .globe-feedback { border-radius: 12px; background: #153a35; z-index: 7; }
@keyframes atlas-beacon { 0% { transform: scale(.88); opacity: .7; } 80%,100% { transform: scale(1.38); opacity: 0; } }
@media (hover:hover) and (pointer:fine) {
  .atlas-ready .globe-pin:hover::before { transform: scale(1.1); }
  .atlas-ready .globe-pin:hover .pin-label { opacity: 1; transform: translate(-50%,0); }
  .atlas-filter:hover:not([aria-pressed="true"]) { background: #315447; }
  .place-card-extra button:hover:not(:disabled) { color: #a14528; }
}
@media (min-width:701px) and (max-width:1000px) { .atlas-welcome { width: 180px; } .atlas-welcome-title { font-size: 25px; } .atlas-ready .place-card { width: 232px; } }
@media (max-width:700px) {
  .globe-stage.atlas-ready { margin: 0 10px; border-radius: 17px; height: 800px; min-height: 800px; }
  .atlas-ready .globe-topbar { padding: 20px 17px; display: block; }
  .atlas-caption { display: none; }
  .atlas-search { width: 100%; }
  .atlas-search > label { font-size: 8px; }
  .atlas-search-panel { max-height: 260px; }
  .atlas-filters { top: 102px; left: 17px; right: 17px; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 6px; scrollbar-width: none; pointer-events: auto; }
  .atlas-filter { flex-shrink: 0; font-size: 10px; padding: 0 11px; }
  .atlas-count { top: 153px; left: 19px; font-size: 9px; }
  .atlas-welcome { top: auto; bottom: 145px; width: auto; left: 24px; right: 24px; text-align: center; }
  .atlas-welcome-title { font-size: 26px; margin: 10px 0; white-space: normal; }
  .atlas-welcome > p:last-child { font-size: 11px; }
  .atlas-ready .place-card { width: calc(100% - 34px); padding: 8px; display: grid; grid-template-columns: 35% 1fr; gap: 0; border-radius: 13px; }
  .atlas-ready .place-card[hidden] { display: none; }
  .atlas-ready .place-card-image { width: 100%; height: 158px; object-fit: cover; }
  .atlas-ready .place-card-copy { padding: 8px 12px; align-items: center; }
  .atlas-ready .place-card-title { font-size: 24px; }
  .atlas-ready .place-card-country { font-size: 7px; max-width: calc(100% - 16px); }
  .place-card-tagline { font-size: 10px; }
  .atlas-ready .place-card-action { font-size: 10px; margin-top: 9px; }
  .place-card-extra { grid-column: 1/-1; padding: 5px 4px 0; margin-top: 7px; justify-content: space-between; }
  .atlas-ready .card-close { top: 4px; right: 4px; width: 25px; height: 25px; font-size: 17px; background: #f7f3e9; }
  .atlas-ready .globe-bottom { padding: 17px; gap: 8px; }
  .atlas-ready .globe-instructions { font-size: 9px; }
  .atlas-ready .globe-controls button { height: 38px; min-width: 38px; width: 38px; }
  .atlas-route-bar { bottom: 104px; left: 17px; right: 17px; justify-content: center; gap: 6px; }
  .atlas-route-bar > span { display: none; }
  .atlas-ready:has(.atlas-route-bar:not([hidden])) .place-card { margin-top: -39px; }
  .atlas-ready:has(.atlas-route-bar:not([hidden])) .atlas-welcome { bottom: 160px; }
  .atlas-ready .pin-label { max-width: 125px; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion:reduce) {
  .atlas-ready *, .atlas-ready *::before, .atlas-ready *::after { animation: none !important; transition: none !important; }
}
