/* The places page (ADR 0062): search and the choices, the map of the selection, the list right
   under it. On a wide screen the map keeps the reader company beside the list. */
.atlas { margin-block: 12px 48px; }
.atlas [hidden] { display: none !important; }
.atlas__search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 38%) auto; gap: 10px; margin-bottom: 16px; }
.atlas__field { min-width: 0; }
.atlas input, .atlas select { width: 100%; min-width: 0; padding: 12px 14px; min-height: 48px; border: 1px solid var(--color-control-border); background: var(--color-surface); color: var(--color-ink); border-radius: 10px; font: 15px var(--font-sans); transition: border-color .15s, box-shadow .15s; }
.atlas input:focus, .atlas select:focus { outline: none; border-color: var(--color-ink); box-shadow: 2px 2px 0 var(--color-ink); }
.atlas select { -webkit-appearance: none; appearance: none; height: 48px; padding-right: 36px; text-overflow: ellipsis; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236B6054' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.atlas__field--area { position: relative; }
.atlas button { min-height: 44px; padding: 10px 14px; font: 500 13px var(--font-sans); border: 1px solid var(--color-control-border); border-radius: 10px; color: var(--color-ink); background: var(--color-surface); cursor: pointer; }
.atlas__search button { background: var(--color-ink); color: var(--color-surface); min-height: 48px; font-weight: 600; }
.atlas.is-live .atlas__search button { display: none; }
.atlas.is-live .atlas__search { grid-template-columns: minmax(0, 1fr) minmax(124px, 34%); }
@media (max-width: 440px) {
  .atlas.is-live .atlas__search { grid-template-columns: minmax(0, 1fr) 122px; gap: 8px; }
}
.atlas__kinds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 12px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
.atlas__kinds::-webkit-scrollbar { display: none; }
.atlas__kind-icon { font-style: normal; font-size: 15px; line-height: 1; }
.atlas__kinds a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; border: 1px solid var(--color-control-border); border-radius: 999px; background: var(--color-surface); text-decoration: none; color: var(--color-ink); font: 600 14px/1 var(--font-sans); white-space: nowrap; transition: transform .12s, border-color .15s, box-shadow .15s, background .15s; }
.atlas__kinds a span { font-size: 12px; font-weight: 500; color: var(--color-muted); padding: 2px 6px; border-radius: 999px; background: rgb(31 31 31 / 6%); }
.atlas__kinds a[aria-pressed="true"] { background: var(--color-mango); border-color: var(--color-ink); box-shadow: 2px 2px 0 var(--color-ink); }
.atlas__kinds a[aria-pressed="true"] span { color: var(--color-ink); background: rgb(255 249 238 / 65%); font-weight: 700; }
.atlas__kinds a[data-atlas-kind="picks"] { border-color: rgba(228, 87, 61, 0.4); color: var(--color-coral); }
.atlas__kinds a[data-atlas-kind="picks"]:hover { border-color: var(--color-coral); }
.atlas__kinds a[data-atlas-kind="picks"][aria-pressed="true"] { background: var(--color-coral); color: #fff9ee; border-color: var(--color-ink); box-shadow: 2px 2px 0 var(--color-ink); }
.atlas__kinds a[data-atlas-kind="picks"][aria-pressed="true"] span { color: var(--color-ink); background: #fff9ee; font-weight: 700; }
.atlas__kinds a:hover { border-color: var(--color-ink); }
.atlas__kinds .atlas__near { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 15px; border: 1.5px solid var(--color-ink); border-radius: 999px; background: var(--color-surface); color: var(--color-ink); font: 600 14px/1 var(--font-sans); white-space: nowrap; cursor: pointer; }
.atlas__kinds .atlas__near[aria-pressed="true"] { background: var(--color-mango); box-shadow: 2px 2px 0 var(--color-ink); }
.atlas__kinds .atlas__near:disabled { color: var(--color-muted); cursor: progress; }
.atlas__subkinds { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 12px; margin: -2px -16px 0; -webkit-overflow-scrolling: touch; }
.atlas__subkinds::-webkit-scrollbar { display: none; }
.atlas__subkinds a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(12, 74, 110, .28); border-radius: 999px; background: var(--color-paper, #fbf3e4); text-decoration: none; color: var(--color-ink); font: 500 13px/1 var(--font-sans); white-space: nowrap; transition: border-color .15s, box-shadow .15s, background .15s; }
.atlas__subkinds a span { font-size: 11px; font-weight: 500; color: var(--color-muted); padding: 1px 5px; border-radius: 999px; background: rgb(31 31 31 / 6%); }
.atlas__subkinds a[aria-pressed="true"] { background: var(--color-ocean-soft); border-color: var(--color-ocean); box-shadow: 2px 2px 0 var(--color-ocean); font-weight: 600; }
.atlas__subkinds a[aria-pressed="true"] span { color: var(--color-ocean); background: rgb(255 249 238 / 80%); font-weight: 700; }
.atlas__subkinds a:hover { border-color: var(--color-ocean); }
html[data-party] .atlas__subkinds a { border-color: rgba(95, 227, 255, .35); }
html[data-party] .atlas__subkinds a[aria-pressed="true"] { background: rgba(95, 227, 255, .14); border-color: var(--color-ocean); box-shadow: 2px 2px 0 var(--color-ocean); }
html[data-party] .atlas__subkinds a[aria-pressed="true"] span { color: var(--color-ink); background: rgba(95, 227, 255, .25); }
.atlas__near-status { font-size: 13px; line-height: 1.5; color: var(--color-muted); max-width: 35em; margin: 0 0 10px; }
.atlas-place__distance { color: var(--color-ink); font-weight: 600; }
.atlas-place__distance::after { content: " · "; font-weight: 400; color: var(--color-muted); }
.atlas__intro { font-size: 14px; line-height: 1.65; max-width: 44em; margin-block: 4px 16px; padding: 12px 16px; border-left: 3px solid var(--color-mango); background: var(--color-surface); border-radius: 0 10px 10px 0; color: var(--color-muted); }
.atlas__intro strong { color: var(--color-ink); font-weight: 600; }
.atlas__fold { margin-block: 4px 20px; padding: 12px; border: 1px solid var(--color-line); border-radius: 18px; background: var(--color-surface); }
.atlas__fold > summary { padding: 4px 4px 8px; min-height: 40px; cursor: pointer; font: 600 13px var(--font-sans); text-transform: uppercase; letter-spacing: .04em; color: var(--color-ink); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.atlas__fold > summary::-webkit-details-marker { display: none; }
.atlas__fold > summary::after { content: "▸"; font-size: 13px; color: var(--color-muted); }
.atlas__fold[open] > summary::after { content: "▾"; }
/* The parts of the island are tabs over the map: the map stays a map (ADR 0062). */
.atlas__parts { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 10px; padding: 2px 4px 6px; -webkit-overflow-scrolling: touch; }
.atlas__parts::-webkit-scrollbar { display: none; }
.atlas__parts-label { flex: 0 0 auto; font: 600 11px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); margin-right: 2px; }
.atlas__parts a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-sand, #f6e8d7); font: 500 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.atlas__parts a[aria-current] { color: var(--color-surface); background: var(--color-ink); border-color: var(--color-ink); }
.atlas__parts a:hover:not([aria-current]) { color: var(--color-ink); border-color: var(--color-ink); }
/* overflow-anchor: Safari anchors the page's scroll on a node of the map, and the camera's
   transform moves that node: a zoom threw the page to its top. */
.atlas__map { position: relative; background: var(--color-ocean-soft); border: 1px solid rgb(37 108 153 / 22%); border-radius: 14px; overflow: hidden; overflow-anchor: none; max-width: 440px; margin-inline: auto; }
.atlas__zoom-tools { position: absolute; right: 8px; top: 54px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.atlas .atlas__zoom-btn { width: 34px; min-height: 34px; height: 34px; padding: 0; border: 1px solid var(--color-ink); border-radius: 9px; background: rgb(255 249 238 / 94%); color: var(--color-ink); font: 600 18px/1 var(--font-sans); box-shadow: 2px 2px 0 var(--color-ink); display: inline-flex; align-items: center; justify-content: center; }
.atlas .atlas__zoom-btn:hover { background: var(--color-mango); }
/* Closer than the choice: the small island says where the view is, and a tap goes back. */
.atlas .atlas__inset { position: absolute; right: 8px; top: 6px; width: 44px; min-height: 44px; height: 44px; padding: 3px; border: 1px solid var(--color-ink); border-radius: 9px; background: rgb(255 249 238 / 94%); box-shadow: 2px 2px 0 var(--color-ink); }
.atlas__inset svg { display: block; width: 100%; height: 100%; }
.atlas__inset::after { content: "↺"; position: absolute; left: -7px; bottom: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--color-ink); color: var(--color-surface); font: 600 13px/20px var(--font-sans); text-align: center; }
.atlas__inset path { fill: var(--color-ocean); }
.atlas__inset rect { fill: none; stroke: var(--color-action); stroke-width: 34; }
/* The map, as a paper atlas: the land light, the coast a thin blue line, the strokes stay thin
   however close the camera goes. Each rule is one line: island.sketch_svg reads them. */
.atlas-map { display: block; width: 100%; height: auto; touch-action: pan-y; }
.atlas-map [hidden] { display: none !important; }
.atlas-map__water { fill: var(--color-ocean-soft); }
.atlas-map__shore { fill: none; stroke: var(--color-ocean); stroke-opacity: .1; stroke-width: 9; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.atlas-map__land { fill: var(--color-surface); stroke: var(--color-ocean); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.atlas-map__roads { fill: none; stroke: var(--color-control-border); stroke-opacity: .45; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.atlas-map__sketch { stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; fill: none; pointer-events: none; }
.atlas-map__waves { fill: none; stroke: var(--color-ocean); stroke-opacity: .35; stroke-linecap: round; pointer-events: none; }
.atlas-map__waves path, .atlas-map__hills path { stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.atlas-map__hills { stroke: var(--color-palm); opacity: .4; }
.atlas-map__sun { stroke: var(--color-mango); stroke-width: 3; }
.atlas-map__sun circle { fill: var(--color-mango); stroke: none; }
.atlas-map__palm { stroke: var(--color-palm); stroke-width: 3; opacity: .45; }
.atlas-map__boat { stroke: var(--color-ink); stroke-width: 2.4; }
.atlas-map__boat > path:first-child { fill: var(--color-mango); }
.atlas-map__lake { stroke: var(--color-ocean); stroke-width: 2; opacity: .7; }
.atlas-map__lake path:first-child { fill: var(--color-ocean-soft); }
.atlas-map__town { stroke: var(--color-ocean); stroke-width: 2; opacity: .45; }
.atlas-map__landmark-names { fill: var(--color-muted); font: 400 17px var(--font-display); pointer-events: none; }
.atlas-map__kim { fill: none; stroke: var(--color-ocean); stroke-width: 1.8; opacity: .6; pointer-events: none; }
.atlas-map__kim text { stroke: none; fill: var(--color-ocean); font: 400 17px var(--font-display); }
.atlas-map__sea { font: 500 19px var(--font-display); fill: var(--color-ocean); opacity: .75; pointer-events: none; }
.atlas-map [data-label] { transition: opacity .2s; }
.atlas-map [data-crowded] { opacity: 0; pointer-events: none; }
.atlas-map__part text { fill: var(--color-ocean); font: 500 21px var(--font-display); letter-spacing: 3px; text-transform: uppercase; }
.atlas-map .atlas-map__part-hit { fill: transparent; pointer-events: all; }
.atlas-map [aria-current] .atlas-map__part text, .atlas-map a:hover .atlas-map__part text { fill: var(--color-ink); font-weight: 600; }
.atlas-map a { cursor: pointer; text-decoration: none; }
.atlas-map a:focus-visible { outline: 3px solid var(--color-action); outline-offset: 4px; }
/* A pin's sizes are pixels (atlas.js scales it back as the camera moves): a light numbered
   circle; the place whose card is in view is the drop. */
.atlas-map__symbol { --pin: var(--color-action); }
.atlas-map__pin { fill: var(--color-surface); stroke: var(--pin); stroke-width: 2; }
.atlas-map__hit { fill: transparent; pointer-events: all; }
.atlas-map__number { font: 600 11px var(--font-sans); fill: var(--pin); pointer-events: none; }
.atlas-map__drop { display: none; }
.atlas-map__drop circle { fill: var(--color-action); stroke: var(--color-surface); stroke-width: 2; }
.atlas-map__drop .atlas-map__drop-ring { fill: var(--color-action); opacity: .2; stroke: none; }
.atlas-map__drop .atlas-map__number { fill: var(--color-surface); font-size: 13px; }
.atlas-map__venues a:hover { --pin: var(--color-ink); }
.atlas-map__venues [data-grouped] { display: none; }
.atlas-map__venues [aria-current] .atlas-map__pin, .atlas-map__venues [aria-current] .atlas-map__symbol > .atlas-map__number { display: none; }
.atlas-map__venues [aria-current] .atlas-map__drop { display: inline; }
/* Too many places for numbers: each is a dot, the list tells which is which (atlas.js sets
   the radius: Safari takes no `r` from a stylesheet). */
.atlas-map__venues.is-dense .atlas-map__pin { fill: var(--pin); stroke: var(--color-surface); stroke-width: 1.2; }
.atlas-map__venues.is-dense .atlas-map__symbol > .atlas-map__number { display: none; }
/* Places that would touch: one dark circle with their count, not a place's red number; a
   tap goes closer. */
.atlas-map__group-halo { fill: var(--color-ink); opacity: .14; }
.atlas-map__group-pin { fill: var(--color-ink); stroke: var(--color-surface); stroke-width: 1.6; }
.atlas-map__group text { font: 600 12px var(--font-sans); fill: var(--color-mango); pointer-events: none; }
/* The place whose card is in view is inside this group. */
.atlas-map__groups [aria-current] .atlas-map__group-pin { stroke: var(--color-action); stroke-width: 3; }
.atlas-map__groups [aria-current] .atlas-map__group-halo { fill: var(--color-action); opacity: .25; }
.atlas-map__picked { fill: var(--color-action); stroke: var(--color-surface); stroke-width: 2; }
.atlas-map__me { fill: var(--color-mango); stroke: var(--color-ink); stroke-width: 2; }
.atlas-map__me-halo { fill: var(--color-mango); opacity: .35; }
.atlas-map__compass { fill: none; stroke: var(--color-ink); stroke-width: 2; }
.atlas-map__compass text { stroke: none; fill: var(--color-ink); font: 500 23px var(--font-display); }
/* The map's places as cards, swiped sideways; the one in view is the drop on the map. */
.atlas__cards { list-style: none; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; margin: 12px -16px 0; padding: 2px 16px 8px; -webkit-overflow-scrolling: touch; }
.atlas__cards::-webkit-scrollbar { display: none; }
.atlas-card { flex: 0 0 min(82%, 320px); scroll-snap-align: center; display: flex; flex-direction: column; min-width: 0; padding: 4px 14px 6px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.atlas-card[aria-current="true"] { border-color: var(--color-ink); box-shadow: 3px 3px 0 var(--color-ink); }
.atlas-card__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.atlas-card__number { font: 600 14px var(--font-display); color: var(--color-action); }
.atlas-card__name { display: flex; align-items: center; min-height: 44px; min-width: 0; overflow: hidden; font: 500 20px/1.25 var(--font-display); color: var(--color-ink); text-decoration: none; }
a.atlas-card__name:hover { text-decoration: underline; }
.atlas-card__meta { font-size: 11px; color: var(--color-muted); }
.atlas-card__event { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; text-decoration: none; }
.atlas-card__event small { display: block; font-size: 11px; color: var(--color-muted); }
.atlas-card__event > span, .atlas-card__about { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.atlas-card__about { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--color-muted); }
.atlas-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.atlas-card__route { display: inline-flex; align-items: center; min-height: 40px; font-size: 12px; color: var(--color-ink); }
.atlas-card__more { font: 600 13px var(--font-sans); color: var(--color-action); white-space: nowrap; }
/* A place's sheet (atlas.js): over the bottom of a phone's screen, the map left in view above
   it; beside the map on a wide screen. */
.atlas-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-direction: column; height: max(280px, calc(100dvh - 420px)); max-height: calc(100dvh - 64px); padding: 0 18px max(14px, env(safe-area-inset-bottom)); background: var(--color-surface); border-top: 2px solid var(--color-ink); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 32px rgb(31 31 31 / 18%); transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .3, 1), height .28s cubic-bezier(.2, .8, .3, 1); }
.atlas-sheet.is-open { transform: none; }
.atlas-sheet.is-full { height: calc(100dvh - 48px); }
.atlas-sheet.is-pulled { transition: none; }
.atlas-sheet__grip { display: flex; justify-content: center; padding: 8px 0 2px; touch-action: none; cursor: grab; user-select: none; }
.atlas-sheet__grip span { width: 40px; height: 4px; border-radius: 2px; background: var(--color-line); }
.atlas-sheet__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 4px; padding-bottom: 8px; touch-action: none; user-select: none; -webkit-user-select: none; }
.atlas-sheet__meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--color-muted); }
.atlas-sheet__tools { display: flex; margin-right: -10px; }
.atlas .atlas-sheet__tools button { min-width: 40px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--color-ink); }
.atlas .atlas-sheet__tools button:disabled { color: var(--color-line); cursor: default; }
.atlas-sheet__name { grid-column: 1 / -1; font: 500 24px/1.2 var(--font-display); margin: 0; outline: none; }
.atlas-sheet__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 12px; border-bottom: 1px solid var(--color-line); }
.atlas-sheet__actions a, .atlas .atlas-sheet__share { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border: 1px solid var(--color-ink); border-radius: 999px; background: var(--color-surface); color: var(--color-ink); font: 600 13px var(--font-sans); text-decoration: none; white-space: nowrap; }
.atlas .atlas-sheet__share { width: 42px; padding: 0; margin-left: auto; }
.atlas-sheet__share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atlas-sheet__actions .atlas-sheet__page { background: var(--color-action); color: var(--color-surface); border-color: var(--color-action); }
.atlas-sheet__actions .atlas-sheet__route { background: var(--color-ink); color: var(--color-surface); }
.atlas-sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 12px; font-size: 14px; line-height: 1.6; }
.atlas-sheet__body > .atlas-place__event, .atlas-sheet__body > .atlas-place__about { display: block; margin-top: 12px; -webkit-line-clamp: unset; }
.atlas-sheet__part { margin-top: 14px; }
.atlas-sheet__part h3 { font: 500 17px/1.3 var(--font-display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 6px; }
.atlas-sheet__part p { margin: 0 0 8px; }
.atlas-sheet__part ul:not(.events) { padding-left: 18px; margin: 0; }
.atlas-sheet__part .events { margin: 0; }
.atlas-sheet__part .block__day { font-size: 12px; color: var(--color-muted); margin: 8px 0 2px; }
.atlas-sheet__said { font-size: 12px; color: var(--color-ocean); padding-bottom: 4px; }
/* The page can scroll its end above the sheet. */
.has-place-sheet main { padding-bottom: max(280px, calc(100dvh - 420px)); }
@media (prefers-reduced-motion: reduce) { .atlas-sheet { transition: none; } }
@media (prefers-reduced-motion: reduce) { .atlas-card, .atlas-map [data-label] { transition: none; } }
.atlas__caption { font-size: 12px; line-height: 1.55; color: var(--color-muted); max-width: 35em; margin: 10px 4px 2px; }
.atlas__picked-caption { margin-top: 10px; font: 500 15px var(--font-display); }
.atlas__selection { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--color-ink); }
.atlas__count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 600 15px var(--font-sans); min-height: 36px; }
.atlas__chip { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 12px; border: 1px solid var(--color-ink); border-radius: 999px; background: var(--color-mango); color: var(--color-ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.atlas__region-about { margin-top: 8px; font-size: 14px; line-height: 1.65; max-width: 38em; color: var(--color-muted); }
.atlas__places { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.atlas-place { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--color-line); border-radius: 14px; background: var(--color-surface); min-width: 0; transition: border-color .16s, box-shadow .16s, transform .16s; }
.atlas-place:hover, .atlas-place.is-active { border-color: var(--color-ink); box-shadow: 3px 3px 0 var(--color-ink); }
.atlas .atlas-place__number { flex: 0 0 36px; width: 36px; min-height: 36px; height: 36px; padding: 0; margin-top: 2px; border: 1.5px solid var(--color-ocean); border-radius: 50%; background: var(--color-paper, #fbf3e4); color: var(--color-ocean); font: 600 14px/1 var(--font-display); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.atlas .atlas-place:not([data-points]) .atlas-place__number { border-style: dashed; border-color: var(--color-control-border); color: var(--color-muted); }
.atlas .atlas-place__number:hover, .atlas-place.is-active .atlas-place__number { background: var(--color-action); border-color: var(--color-action); color: var(--color-surface); }
.atlas-place__body { min-width: 0; flex: 1; }
.atlas-place__area { font-size: 12px; color: var(--color-muted); margin: 0 0 4px; line-height: 1.4; }
.atlas-place__verified { color: var(--color-ocean); font-weight: 600; white-space: nowrap; }
.atlas-place__name { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; text-decoration: none; font: 500 22px/1.25 var(--font-display); color: var(--color-ink); margin: 0; }
a.atlas-place__name::after { content: "→"; font-size: 16px; color: var(--color-ocean); opacity: .55; transition: transform .15s, opacity .15s; }
a.atlas-place__name:hover { color: var(--color-action); }
a.atlas-place__name:hover::after { opacity: 1; transform: translateX(3px); color: var(--color-action); }
.atlas-place__badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 4px; padding: 0; }
.atlas-place__badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-paper, #fbf3e4); color: var(--color-ink); font: 600 12px/1.3 var(--font-sans); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.atlas-place__badge:hover { border-color: var(--color-ink); }
.atlas-place__badge-icon { font-style: normal; font-size: 12px; line-height: 1; }
.atlas-place__badge--sunset { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1); }
.atlas-place__badge--sunset:hover { border-color: rgba(217, 119, 6, .8); background: rgba(245, 158, 11, .18); }
html[data-party] .atlas-place__badge { background: var(--color-surface); }
html[data-party] .atlas-place__badge--sunset { border-color: rgba(255, 210, 63, .5); background: rgba(255, 210, 63, .12); }
html[data-party] .atlas-place__badge--sunset:hover { border-color: rgba(255, 210, 63, .85); background: rgba(255, 210, 63, .22); }
/* Editorial facts in Atlas cards and sheet: crisp scannable lines instead of clickable-looking pill bubbles. */
.atlas-place__facts { display: grid; gap: 5px; margin: 8px 0 4px; padding: 0; }
.place-fact { display: flex; align-items: flex-start; gap: 7px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #4a4138; font: 400 13px/1.45 var(--font-sans); max-width: 100%; }
.place-fact__icon { font-style: normal; font-size: 13px; line-height: 1.3; flex-shrink: 0; margin-top: 1px; }
.place-fact--tide { color: var(--color-ocean); font-weight: 500; }
.place-fact--water { color: var(--color-ink); }
.place-fact--shade { color: #315a43; }
.place-fact--comfort { color: #4a4138; }
.place-fact--sunset { color: var(--color-ink); font-weight: 500; }
html[data-party] .place-fact { color: var(--color-muted); }
html[data-party] .place-fact--tide { color: var(--color-ocean); }
html[data-party] .place-fact--water,
html[data-party] .place-fact--sunset { color: var(--color-ink); }
html[data-party] .place-fact--shade { color: #9be8b8; }
html[data-party] .place-fact--comfort { color: var(--color-muted); }
.atlas-place__event { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; text-decoration: none; margin-top: 10px; padding: 8px 12px; border: 1px solid var(--color-line); border-left: 3px solid var(--color-action); border-radius: 8px; background: var(--color-paper, #fbf3e4); line-height: 1.45; font-size: 14px; color: var(--color-ink); }
.atlas-place__event small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--color-action); }
.atlas-place__event > span { font-weight: 600; }
.atlas-place__event:hover { border-color: var(--color-ink); }
.atlas-place__about { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--color-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.atlas-place__pick { margin: 10px 0 6px; padding: 10px 14px; border-left: 3px solid var(--color-mango); background: var(--color-paper, #fbf3e4); border-radius: 0 10px 10px 0; }
/* A pick's own row says its words once: the pick's, not the line under it too. */
.atlas-place__pick:not([hidden]) ~ .atlas-place__about { display: none; }
.atlas-place__pick p { font-size: 14px; line-height: 1.6; margin: 0; }
.atlas-place__reason { font-size: 12px; font-weight: 600; color: var(--color-ocean); margin-bottom: 4px !important; }
.atlas-place__note { font-size: 12px; color: var(--color-muted); margin-top: 4px !important; }
.atlas-place__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--color-line); }
.atlas-place__actions button, .atlas-place__actions a { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: transparent; font: 600 13px/1 var(--font-sans); color: var(--color-muted); text-decoration: none; cursor: pointer; }
.atlas-place__actions button:hover, .atlas-place__actions a:hover { color: var(--color-ink); text-decoration: underline; }
.atlas-place__actions .atlas-place__open { margin-left: auto; color: var(--color-ocean); }
.atlas__empty { padding: 32px 20px; border: 1px dashed var(--color-line); border-radius: 14px; background: var(--color-surface); font-size: 15px; line-height: 1.7; }
.atlas__empty a { display: inline-flex; min-height: 44px; align-items: center; margin: 12px 20px 0 0; font-weight: 600; }
.atlas__more { display: flex; justify-content: center; margin-block: 22px; }
.atlas__foot { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--color-line); }
.atlas__foot > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.atlas__foot > small, .atlas-preview__credit { font-size: 10px; color: var(--color-muted); flex-basis: 100%; }
.atlas__foot > small a, .atlas-preview__credit a { color: inherit; text-decoration: none; }
.atlas__foot > small a:hover, .atlas-preview__credit a:hover { text-decoration: underline; }
.atlas-preview { display: grid; gap: 24px; border-block: 2px solid var(--color-ink); margin-block: 40px; padding-block: 30px; align-items: center; }
.atlas-preview h2 { font-size: clamp(32px, 4vw, 46px); }
.atlas-preview p:not(.kicker) { font-size: 14px; line-height: 1.7; max-width: 32em; margin-block: 14px 18px; }
.atlas-preview__map { display: block; max-width: 400px; border-radius: 12px; overflow: hidden; }
.atlas-preview__map svg { pointer-events: none; }
.atlas-preview__credit { grid-column: 1/-1; }
@media (max-width: 759px) {
  .atlas__kinds,
  .atlas__parts {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
    padding-right: 32px;
  }
  .atlas-preview { grid-template-columns: 1fr 115px; gap: 14px; }
  .atlas-preview h2 { font-size: 29px; }
  .atlas-preview p:not(.kicker) { font-size: 12px; }
  .atlas-preview .button { min-height: 44px; font-size: 12px; padding: 12px; }
  .atlas-preview .atlas-map__parts, .atlas-preview .atlas-map__sea { display: none; }
}
@media (min-width: 760px) {
  /* Keep the right-hand sticky map and zoom controls unobstructed when previewing a pin. */
  .atlas-sheet { left: 20px; top: auto; right: auto; bottom: 20px; width: min(440px, calc(100vw - 440px)); height: auto; max-height: min(540px, calc(100dvh - 48px)); border: 1.5px solid var(--color-ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--color-ink); transform: translateY(calc(100% + 28px)); }
  .atlas-sheet.is-open { transform: none; }
  .atlas-sheet.is-full { height: auto; }
  .atlas-sheet__grip { display: none; }
  .atlas-sheet__head { padding-top: 14px; }
  .has-place-sheet main { padding-bottom: 0; }
  .atlas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px); column-gap: 36px; grid-template-areas: "search search" "kinds kinds" "subkinds subkinds" "intro intro" "head map" "list map" "empty map" "more map" "foot map"; grid-template-rows: auto auto auto auto auto 1fr auto auto auto; align-items: start; }
  .atlas__search { grid-area: search; max-width: 680px; }
  .atlas__kinds { grid-area: kinds; flex-wrap: wrap; overflow: visible; margin: 0; padding: 4px 0 12px; }
  .atlas__subkinds { grid-area: subkinds; flex-wrap: wrap; overflow: visible; margin: -2px 0 0; padding: 2px 0 12px; }
  .atlas__intro { grid-area: intro; }
  .atlas__fold { grid-area: map; position: sticky; top: 16px; margin-top: 0; }
  .atlas__fold > summary { display: none; }
  .atlas__parts { flex-wrap: wrap; overflow: visible; margin: 0 0 10px; padding: 0; }
  .atlas__selection { grid-area: head; }
  .atlas__places { grid-area: list; }
  .atlas__empty { grid-area: empty; }
  .atlas__more { grid-area: more; }
  .atlas__foot { grid-area: foot; }
  .atlas-preview { grid-template-columns: 1.2fr 1fr; gap: 60px; }
}
@media (min-width: 1200px) {
  .atlas-sheet { left: max(20px, calc(50vw - 580px)); width: 440px; }
}
