/* Macedon Atlas (preview) */
:root {
	--bg: #050507; --ink: #f4f4f5; --muted: #a1a1aa; --line: rgba(255, 255, 255, .1);
	--glass: rgba(16, 16, 20, .72); --red: #a3121a; --sun: #f6c21a; --blue: #2f5bd8;
	--r: 14px; --ff: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif; --fd: 'Unbounded', var(--ff);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--ff); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.atlas { position: fixed; inset: 0; background: radial-gradient(1200px 800px at 70% 40%, #14090b 0%, var(--bg) 60%); }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; transition: opacity .8s ease; }
[data-view="map"] #globe, [data-view="map"] .labels, [data-view="map"] .hublines { opacity: 0; pointer-events: none; }
#map { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
#map.is-on { opacity: 1; }

/* Glass */
.glass { background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-radius: var(--r); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }

/* Top bar */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px 18px; pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: flex; align-items: baseline; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--fd); font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
.brand b { color: var(--sun); font-weight: 700; }
.brand small { font-family: var(--ff); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; }
.search { position: relative; flex: 1; max-width: 520px; margin: 0 auto; }
.search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); outline: none; }
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 15px; top: 14px; color: var(--muted); z-index: 1; pointer-events: none; }
.results { position: absolute; top: 50px; left: 0; right: 0; list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow: auto; }
.actions { display: flex; gap: 8px; align-items: center; }
.pill { height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pill:hover { border-color: rgba(255, 255, 255, .25); }
.lang { display: inline-flex; padding: 3px; gap: 2px; }
.lang button { border: 0; background: none; height: 32px; min-width: 38px; border-radius: 99px; font-size: 13px; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #111; font-weight: 600; }

/* Intro */
.intro { position: absolute; left: 24px; bottom: 24px; z-index: 10; width: min(430px, calc(100% - 48px)); padding: 10px 22px 22px; touch-action: pan-x; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.intro.is-drag { transition: none; }
.grip { display: block; width: 100%; height: 18px; margin: 0 0 4px; border: 0; background: none; padding: 0; position: relative; }
.grip::before { content: ''; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; margin-left: -20px; border-radius: 99px; background: rgba(255, 255, 255, .28); }
.grip:hover::before { background: rgba(255, 255, 255, .5); }
.intro-head { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; -webkit-user-select: none; }
.intro-head > div { flex: 1; min-width: 0; }
.intro-chev { flex: none; color: var(--muted); transition: transform .35s; }
.intro.is-open .intro-chev { transform: rotate(180deg); }
.intro h1 { margin: 0 0 4px; font-family: var(--fd); font-size: 26px; line-height: 1.15; letter-spacing: .01em; }
.intro h1 span { color: var(--sun); }
.intro p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
#stat { color: var(--ink); font-size: 13px; margin: 0; }
.intro-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; opacity: 0; }
.intro-more > div { overflow: hidden; min-height: 0; }
.intro.is-open .intro-more { grid-template-rows: 1fr; opacity: 1; }
.intro .tag { margin-top: 14px; }
.intro h3 { margin: 14px 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hubs { display: flex; flex-wrap: wrap; gap: 6px; }
.hubchip { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); border-radius: 99px; padding: 6px 11px; font-size: 13px; }
.hubchip span { color: var(--sun); margin-left: 2px; font-variant-numeric: tabular-nums; }
.hubchip:hover { background: rgba(255, 255, 255, .1); }
.brand-m { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; font-family: var(--fd); font-size: 16px; color: #111; background: linear-gradient(135deg, var(--sun), #ff8a3d 55%, var(--red)); }
.cta { margin-top: 16px; width: 100%; height: 46px; border: 0; border-radius: 99px; background: var(--ink); color: #111; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.cta:hover { background: #fff; }

/* Hub labels on the globe */
.labels { position: absolute; inset: 0; pointer-events: none; z-index: 5; transition: opacity .6s; }
.hub { position: absolute; left: 0; top: 0; pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 6px; margin: -14px 0 0 10px; border-radius: 99px; border: 1px solid var(--line); background: rgba(10, 10, 14, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; white-space: nowrap; will-change: transform; transition: opacity .25s; }
.hub i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.hub--home i { background: #ff3b30; box-shadow: 0 0 12px #ff3b30; }
.hub-c { color: var(--muted); font-variant-numeric: tabular-nums; }
.hub.is-off { opacity: 0 !important; pointer-events: none; }
.hub:hover { border-color: rgba(255, 255, 255, .3); }

/* Hub card, styled after the reference */
.hubcard { position: absolute; left: 0; top: 0; z-index: 12; width: 300px; padding: 16px; will-change: transform; }
.hc-row { display: flex; gap: 14px; align-items: center; }
.hc-av { width: 56px; height: 56px; flex: none; border-radius: 12px; display: grid; place-items: center; font-family: var(--fd); font-size: 24px; color: #111; background: linear-gradient(135deg, var(--sun), #ff8a3d 55%, var(--red)); }
.hc-k { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hc-t { margin: 2px 0 0; font-size: 19px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.hc-l { margin: 12px 0 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.hc-go { width: 100%; height: 42px; border: 0; border-radius: 8px; background: #fff; color: #111; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.hc-x, .card-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px; }
.hublines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 11; }
.hublines line { stroke: rgba(255, 255, 255, .85); stroke-width: 1.5; }

/* Map view */
.chips { position: absolute; top: 70px; left: 18px; right: 400px; z-index: 15; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip span { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-on { background: var(--ink); color: #111; border-color: var(--ink); }
.chip.is-on span { color: #555; }

.panel { position: absolute; z-index: 16; top: 70px; right: 18px; bottom: 18px; width: 360px; display: flex; flex-direction: column; overflow: hidden; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.panel-h .pill { height: 34px; font-size: 13px; }
#inview { flex: 1; text-align: right; color: var(--muted); font-size: 13px; }
.sheet { display: none; }
.list, .results { list-style: none; margin: 0; padding: 6px; overflow: auto; }
.list { flex: 1; overscroll-behavior: contain; }
.list button, .results button { width: 100%; display: grid; grid-template-columns: 12px 1fr; column-gap: 10px; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 10px; }
.list button:hover, .results button:hover, .results button:focus-visible { background: rgba(255, 255, 255, .07); }
.list i, .results i { grid-row: span 2; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.results .r-hub { background: var(--sun); border-radius: 3px; transform: rotate(45deg); }
.li-t { font-size: 14px; line-height: 1.3; }
.li-s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.li-more { padding: 12px; font-size: 12px; color: var(--muted); }

.card { position: absolute; z-index: 17; left: 18px; bottom: 18px; width: 360px; max-height: calc(100% - 100px); overflow: auto; overscroll-behavior: contain; padding: 0; }
.card-b { padding: 18px; }
.card-ph { position: relative; aspect-ratio: 16 / 9; background: rgba(255, 255, 255, .05); overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.card-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .4s; }
.card-ph.is-wait img { opacity: 0; }
.card-ph.is-wait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .07) 50%, transparent 80%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.card-cr { position: absolute; right: 6px; bottom: 6px; max-width: 80%; padding: 2px 7px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: rgba(255, 255, 255, .75); font-size: 10px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.has-ph .card-x { top: 8px; right: 8px; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 20px; z-index: 1; }
.card-d { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink); opacity: .86; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-l { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.card-l a { color: var(--sun); text-decoration: none; }
.card-l a:hover { text-decoration: underline; }
.card-k { margin: 0 0 6px; display: flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-k i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.card-t { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; padding-right: 24px; }
.card-o { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.card-s { margin: 10px 0 0; font-size: 13px; line-height: 1.45; }
.card-s--q { color: var(--muted); margin-top: 4px; }
.card-a { display: flex; gap: 8px; margin-top: 16px; }
.btn { flex: 1; height: 42px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.btn--w { background: #fff; color: #111; border-color: #fff; }
.btn--i { flex: none; width: 42px; padding: 0; background: none; cursor: pointer; }
.btn--i:hover, .btn:not(.btn--w):hover { border-color: rgba(255, 255, 255, .3); }

/* Near me list in the drawer */
.near h3 { margin-top: 14px; }
.list--near { padding: 0; margin: 0 -10px; }
.list--near button { grid-template-columns: 12px 1fr auto; }
.list--near .li-d { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-weight: 500; font-size: 12px; color: var(--sun); font-variant-numeric: tabular-nums; white-space: nowrap; }
.near-map { margin: 6px 0 4px; height: 36px; font-size: 13px; }
.hub--me { pointer-events: none; }
.hub--me i { background: #4c8dff; box-shadow: 0 0 0 3px rgba(76, 141, 255, .3), 0 0 12px #4c8dff; }

/* Toast */
.toast { position: fixed; z-index: 40; left: 50%; top: 70px; transform: translate(-50%, -10px); padding: 10px 16px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; border-radius: 99px; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; z-index: 30; }
.fallback a { color: var(--sun); }

/* MapLibre tweaks */
.maplibregl-ctrl-group { background: var(--glass) !important; border: 1px solid var(--line); }
.maplibregl-ctrl-group button + button { border-top-color: var(--line) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.maplibregl-ctrl-bottom-right { right: 390px; }

/* List view (also the accessible view) */
[data-view="list"] #globe, [data-view="list"] .labels, [data-view="list"] .hublines, [data-view="list"] #map { opacity: 0; pointer-events: none; }
[data-view="list"] .panel { left: 50%; right: auto; width: min(720px, calc(100% - 36px)); transform: translateX(-50%); }
[data-view="list"] .chips { right: 18px; justify-content: center; }
[data-view="list"] .panel { top: 116px; }

/* Feast of the day */
.feast { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; padding: 8px 8px 8px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(246, 194, 26, .16), rgba(246, 194, 26, .04)); border: 1px solid rgba(246, 194, 26, .28); font-size: 13px; line-height: 1.35; }
.feast-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); animation: pulse 2s ease-in-out infinite; }
.feast-t { flex: 1; min-width: 0; }
.feast .pill { height: 30px; font-size: 12px; padding: 0 10px; flex: none; }
@keyframes pulse { 50% { opacity: .35; } }

/* Quick actions */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.qa-b { min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 13px; text-align: left; line-height: 1.25; }
.qa-b:hover { background: rgba(255, 255, 255, .1); }
.qa-b--hero { grid-column: 1 / -1; border-color: rgba(246, 194, 26, .45); background: linear-gradient(90deg, rgba(163, 18, 26, .45), rgba(246, 194, 26, .14)); font-weight: 600; }
.qa-b--hero::before { content: '✦ '; color: var(--sun); }
.gchips { display: none; }
.saved h3, .evbox h3 { margin-top: 14px; }
.row2 { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.row2 .pill { height: 36px; font-size: 13px; text-decoration: none; color: var(--ink); }
.ev-row { width: 100%; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; text-align: left; border: 0; background: none; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ev-row b { grid-row: span 2; color: var(--sun); font-weight: 500; font-size: 12px; white-space: nowrap; padding-top: 1px; }
.ev-row small { color: var(--muted); font-size: 12px; }
.intro .clock { margin-top: 10px; font-size: 12px; }
.intro .fam { margin-top: 12px; font-size: 13px; }
.linkish { border: 0; background: none; padding: 0; color: var(--sun); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.cta--sm { width: auto; margin: 0; height: 38px; padding: 0 16px; font-size: 12px; }
.hc-ev { display: block; margin: -6px 0 12px; font-size: 13px; color: var(--ink); text-decoration: none; }
.hc-ev b { color: var(--sun); font-weight: 500; margin-right: 4px; }
.chip--focus { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.btn--i.is-on { color: #ff5a6a; border-color: rgba(255, 90, 106, .5); }
.btn--i.is-on svg path { fill: currentColor; }
.card-3d { margin-top: 10px; width: 100%; height: 36px; border-radius: 8px; border: 1px dashed rgba(255, 255, 255, .22); background: none; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card-3d:hover { color: var(--ink); border-color: rgba(255, 255, 255, .4); }
.results .r-go { background: none; box-shadow: none; width: auto; height: auto; margin: 0; color: var(--sun); font-style: normal; font-size: 13px; line-height: 1.2; }
.results .r-act { background: rgba(246, 194, 26, .08); }

/* Map tools and the time slider */
.maptools { position: absolute; z-index: 15; right: 390px; top: 116px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.maptools .pill { height: 36px; font-size: 13px; }
.maptools .pill[aria-pressed="true"] { background: var(--ink); color: #111; }
.timebar { position: absolute; z-index: 18; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(560px, calc(100% - 820px)); min-width: 320px; display: flex; align-items: center; gap: 12px; padding: 10px 40px 10px 10px; }
.tb-play { width: 40px; padding: 0; justify-content: center; flex: none; }
.tb-main { flex: 1; min-width: 0; }
.tb-top { display: flex; align-items: baseline; gap: 10px; font-size: 12px; color: var(--muted); }
.tb-top b { font-family: var(--fd); font-size: 18px; color: var(--sun); font-variant-numeric: tabular-nums; }
#tb-range { width: 100%; accent-color: var(--sun); margin: 6px 0 0; }
.tb-x { top: 50%; transform: translateY(-50%); }

/* Dialog: tours, journey, prompts */
.dlg { position: absolute; z-index: 19; left: 24px; bottom: 24px; width: min(420px, calc(100% - 48px)); max-height: calc(100% - 110px); overflow: auto; overscroll-behavior: contain; padding: 20px; }
.dlg h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 600; padding-right: 24px; }
.dlg-k { margin: 0 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.dlg-p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--ink); opacity: .88; }
.dlg-in { width: 100%; height: 44px; margin-top: 8px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); outline: none; }
.dlg-in:focus { border-color: rgba(246, 194, 26, .6); }
.results.results--in { position: static; padding: 4px 0; max-height: 260px; margin: 0 -6px; }
.dlg .hubs { margin-top: 10px; }
.dlg .linkish { display: inline-block; margin-top: 10px; }
.dlg .list--near { margin: 6px -10px 0; }
.tours { display: grid; gap: 8px; margin-top: 8px; }
.tour-b { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); text-align: left; }
.tour-b:hover { background: rgba(255, 255, 255, .1); }
.tour-b span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.tour-ph { margin: 4px -20px 12px; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255, 255, 255, .05); }
.tour-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlg--tour .row2 .pill:disabled { opacity: .4; cursor: default; }
.j-title { font-family: var(--fd); font-size: 22px !important; }
.j-km { margin: 0 0 10px; font-size: 14px; color: var(--sun); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hub--j { pointer-events: none; font-weight: 600; }
.hub--j i { background: #ffd34d; box-shadow: 0 0 12px #ffd34d; }
.hub--to i { background: #fff; box-shadow: 0 0 12px #fff; }

/* First-visit hint */
.hint { position: absolute; z-index: 21; right: 24px; top: 80px; padding: 14px 16px; font-size: 13px; transition: opacity .35s, transform .35s; }
.hint p { margin: 0 0 6px; }
.hint .pill { height: 32px; margin-top: 4px; font-size: 12px; }
.hint.is-gone { opacity: 0; transform: translateY(-6px); }

/* Embedded on another site */
[data-embed] .actions #near, [data-embed] .qa, [data-embed] .brand small { display: none; }

/* Phones */
@media (max-width: 759px) {

	.gchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
	.gchips .chip:not(.is-on) { background: rgba(255, 255, 255, .04); }
	.feast { margin-top: 8px; }
	.maptools { right: 12px; top: 102px; }
	.maptools .pill { height: 34px; width: 34px; padding: 0; justify-content: center; }
	.maptools .pill span { display: none; }
	.timebar { left: 8px; right: 8px; width: auto; min-width: 0; transform: none; bottom: 66px; }
	.dlg { left: 0; right: 0; bottom: 0; width: auto; max-height: 78vh; border-radius: 20px 20px 0 0; border-bottom: 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
	.tour-ph { margin: 4px -16px 12px; aspect-ratio: 2 / 1; }
	.hint { left: 12px; right: 12px; top: 64px; }
	html[data-view="list"] .panel { top: 104px; left: 0; right: 0; bottom: 0; width: auto; height: auto; transform: none; border-radius: 16px 16px 0 0; }
	[data-view="list"] .chips { right: 12px; justify-content: flex-start; }
	[data-view="list"] .sheet { display: none; }
	.bar { padding: 10px 12px; gap: 8px; padding-top: max(10px, env(safe-area-inset-top)); }
	.brand-t { display: none; }
	.brand-m { display: grid; }
	.search { max-width: none; min-width: 0; }
	.search input { height: 40px; }
	.results { position: fixed; top: 58px; left: 12px; right: 12px; }
	#near { width: 40px; padding: 0; justify-content: center; }
	#near span { display: none; }
	.lang button { min-width: 32px; }
	.intro { left: 0; right: 0; bottom: 0; width: auto; padding: 4px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border-bottom: 0; }
	.intro h1 { font-size: 19px; }
	.intro-chev { display: none; }
	.intro .cta { margin-top: 12px; height: 44px; }
	.intro.is-open .intro-more > div { max-height: 46vh; overflow: auto; overscroll-behavior: contain; }
	.hubcard { width: calc(100% - 24px); }
	.chips { top: 62px; left: 12px; right: 12px; }
	.chip { height: 30px; font-size: 12px; padding: 0 10px; }
	.chip span { display: none; }
	.panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 58px; border-radius: 16px 16px 0 0; transition: height .3s ease; }
	.panel.is-open { height: 62vh; }
	.sheet { display: inline-flex; }
	.card { left: 8px; right: 8px; bottom: 66px; width: auto; max-height: calc(100% - 140px); }
	.card-ph { aspect-ratio: 2 / 1; }
	.maplibregl-ctrl-bottom-right { right: 0; bottom: 60px; }
	.maplibregl-ctrl-bottom-left { bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
