/* v90: self-hosted Manrope (Latin), weights 400–800 (was Inter) */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/vendor/fonts/manrope/manrope-400.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url(/vendor/fonts/manrope/manrope-500.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/vendor/fonts/manrope/manrope-600.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url(/vendor/fonts/manrope/manrope-700.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/vendor/fonts/manrope/manrope-800.woff2) format('woff2'); }
/* Free Attractions Map. Soft green style (after Too Good To Go): white and pale mint surfaces,
   deep green for actions, bright green only for "free on your dates". Round, soft shapes.
   Phones: full-screen map with a draggable list. Desktop (900px+): list on the left, map on the right. */
:root {
  --ink: #15302A;               /* text: green-black */
  --muted: #5F706B;
  --line: #E3EAE7;
  --paper: #FFFFFF;
  --stone: #F0F6F3;             /* pale mint surfaces */
  --brand: #0B6B5F;             /* deep green: buttons, active tab */
  --brand-dark: #085A4F;
  --blue: var(--brand);         /* old name, kept so every action uses the green */
  --cobalt: var(--brand);
  --freeday: #14A06F;           /* bright green: usually paid, free on your dates */
  --freeday-soft: #E3F6EC;
  --freeday-ink: #0B7A52;
  --free-ink: var(--ink);
  --closed-soft: #F1F3F2;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 6px 24px rgba(0, 0, 0, .14);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .12);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 15px/1.5 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.btn:hover { background: var(--stone); }
.btn:disabled { opacity: .45; cursor: default; }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--free { background: var(--freeday-ink); border-color: var(--freeday-ink); color: #fff; min-height: 40px; }
.btn--free:hover { background: var(--freeday-ink); }
.btn--quiet { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.btn--ghost { background: transparent; }
.btn--wide { width: 100%; margin-top: 20px; height: 52px; font-size: 16px; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--stone); font-size: 22px; line-height: 1; display: grid; place-items: center; }

/* ---------- start screen ---------- */
.start { min-height: 100%; display: flex; justify-content: center; padding: calc(40px + var(--safe-t)) 20px 32px; }
.start__inner { width: 100%; max-width: 480px; }
.brand { margin: 0 0 28px; font: 700 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.start h1 { font: 700 38px/1.1 var(--sans); letter-spacing: -.02em; }
.start__lead { margin: 10px 0 24px; color: var(--muted); font-size: 17px; }
.start__msg { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--freeday-soft); color: var(--freeday-ink); }
.start__card { margin-top: 16px; }
.here {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border: 0; border-radius: 16px; background: var(--ink); color: #fff;
}
.here span { display: flex; flex-direction: column; }
.here small { opacity: .8; font-size: 14px; }
.here.is-loading { opacity: .7; }

/* ---------- trip form (start screen + popup) ---------- */
.trip__field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.trip__field > label, .trip__label { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.trip__where input {
  height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); font-size: 16px; outline: none;
}
.trip__where input:focus { border-color: var(--ink); }
.ac {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.ac li { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 10px; cursor: pointer; }
.ac li span { color: var(--muted); font-size: 14px; }
.ac li.is-active, .ac li:hover { background: var(--stone); }
.ac .ac__none { color: var(--muted); cursor: default; }
.trip__suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 22px; font-size: 14px; color: var(--muted); }
.trip__suggest em { font-style: normal; }
.sugg { height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.sugg:hover { border-color: var(--ink); }
.sugg.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
/* Where & When: title on the first visit, quick choices and our own calendar */
.trip__title { font: 700 28px/1.15 var(--sans); letter-spacing: -.02em; }
.trip__lead { margin: 6px 0 20px; color: var(--muted); font-size: 15px; }
.intro { margin: 0 0 22px; }
.intro__text { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: #3B4D48; }
.intro__text b { color: var(--ink); font-weight: 600; }
.intro .trip__title { padding-right: 46px; font-size: 26px; }
.intro__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; color: #3B4D48; }
.intro__list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.intro__list i { width: 24px; height: 24px; border-radius: 50%; background: var(--freeday-soft); color: var(--freeday-ink); display: grid; place-items: center; }
.intro__list b { color: var(--ink); font-weight: 600; }
.sugg--here { border-color: transparent; background: var(--stone); }
.quick { display: flex; gap: 8px; }
.qchip { height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; }
.qchip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.qchip[data-pick]::after { content: ' ▾'; font-size: 11px; }
.qchip.is-open::after { content: ' ▴'; }
.quick { flex-wrap: wrap; }
.cal { margin-top: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 8px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 6px; }
.cal__head strong { font-size: 15.5px; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.cal__nav:hover { background: var(--stone); }
.cal__nav:disabled { opacity: .25; cursor: default; background: none; }
.cal__nav--next svg { transform: scaleX(-1); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal__wd { height: 26px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.cal__d { position: relative; height: 42px; border: 0; background: none; padding: 0; display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
.cal__d span { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.cal__d:not(:disabled):hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal__d.is-past { color: #C4C4C4; cursor: default; }
.cal__d.is-today span { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cal__d.in-range::before { content: ''; position: absolute; inset: 2px 0; background: #DDF0E8; }
.cal__d.is-start::before { left: 50%; }
.cal__d.is-end::before { right: 50%; }
.cal__d.is-start.is-end::before { display: none; }
.cal__d.is-start span, .cal__d.is-end span { background: var(--brand); color: #fff; }
.cal__d i { position: absolute; z-index: 2; bottom: 3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--freeday); }
.cal__d.is-past i { opacity: .35; }
.cal__d.is-start i, .cal__d.is-end i { bottom: 6px; box-shadow: 0 0 0 1.5px #fff; }
.cal__sum { margin: 10px 2px 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cal__sum b { color: var(--ink); font-weight: 600; }
.cal__hint { color: var(--blue); font-weight: 600; }
.cal__free, .cal__legend { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.cal .cal__legend { margin: 8px 4px 2px; font-size: 12.5px; color: var(--muted); }
.cal__free { color: var(--freeday-ink); font-weight: 600; }
.cal__free i, .cal__legend i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--freeday); }
.trip__go { position: sticky; bottom: calc(-20px - var(--safe-b)); z-index: 2; margin: 0 -20px calc(-20px - var(--safe-b)); padding: 12px 20px calc(16px + var(--safe-b)); background: var(--paper); }
.trip__go .btn--wide { margin-top: 0; }
.trip__err { margin: 12px 0 0; color: #a02a1a; font-size: 14px; }

/* ---------- page header: two big tabs (the two maps), the search, filters ---------- */
.app { position: relative; }
.topbar { position: relative; z-index: 1200; display: grid; background: var(--paper); }
.logo { display: none; justify-self: start; padding: 6px 0; border: 0; background: none; font: 700 19px/1 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.logo:hover { color: var(--brand); }
.topbar__spacer { display: none; }
.searchrow { grid-area: search; display: flex; align-items: center; gap: 10px; min-width: 0; }
.modes { grid-area: modes; display: flex; justify-content: center; gap: 10px; }
/* the two maps: two real buttons under the search */
.mode {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 10px; min-height: 52px;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper);
  color: var(--muted); text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, color .15s;
}
.mode .micon { flex: none; width: 34px; height: 34px; opacity: .6; filter: saturate(.55); transition: opacity .15s, transform .15s, filter .15s; }
.mode__txt { display: flex; flex-direction: column; line-height: 1.2; }
.mode__txt b { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.mode__txt small { margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.mode:hover { color: var(--ink); border-color: #C9D8D2; box-shadow: 0 1px 6px rgba(21, 48, 42, .08); }
.mode:hover .micon { opacity: .9; }
.mode.is-on { color: var(--ink); border-color: var(--brand); background: var(--stone); box-shadow: 0 0 0 1px var(--brand) inset; }
.mode.is-on b { font-weight: 700; }
.mode.is-on .micon { opacity: 1; filter: none; }
.pill {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
  height: 48px; padding: 0 7px 0 18px; border-radius: 999px; border: 0;
  background: var(--paper); box-shadow: var(--shadow-sm); text-align: left;
}
.pill__seg { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pill__seg small { display: none; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pill__seg strong { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill__when strong { font-weight: 500; }
.pill__when em { font-style: normal; color: var(--muted); font-weight: 500; }
.pill__when .w-l { display: none; }
.pill__div { width: 1px; height: 20px; background: var(--line); }
.pill__go { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }

/* ---------- map ---------- */
#map { position: absolute; inset: 0; z-index: 0; background: #F7F7F7; }
.leaflet-container { font-family: var(--sans); background: #F7F7F7; }
.credits {
  display: flex; align-items: center; gap: 4px; margin: 0 0 6px 8px !important; padding: 2px 3px 2px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); font-size: 11.5px; line-height: 1.6; color: var(--muted); max-width: calc(100vw - 90px);
}
.credits a { color: inherit; text-decoration: none; }
.credits__i {
  flex: none; width: 17px; height: 17px; border-radius: 50%; border: 0; padding: 0; background: #E3EAE7; color: var(--ink);
  font: 700 10px/17px Georgia, serif; font-style: italic;
}
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow-sm) !important; border-radius: 12px !important; overflow: hidden; }

/* filters next to the search: [Filters] [Open now] */
.chips { display: flex; align-items: center; gap: 8px; }
.chip {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--ink);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip__count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--freeday); color: #fff; font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.chip--now i { width: 8px; height: 8px; border-radius: 50%; background: var(--freeday); }
.chip--now.is-active i { background: #fff; }

/* ---------- pins: round photos; numbered circles when zoomed out ---------- */
.leaflet-marker-icon.mk { background: none; border: 0; }
.leaflet-marker-icon.mk:focus { outline: none; }
.pin {
  position: relative; width: 100%; height: 100%; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; background: #E4ECE8; box-shadow: 0 2px 8px rgba(21, 48, 42, .22); transition: transform .2s ease;
}
.pin .ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.pin .ph img, .pin .ph .noimg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin.zin.freeday { border: 3px solid var(--freeday); } /* v64: rings only when zoomed in */
.pin.zin.sel { border: 3px solid var(--brand); }
.pin.hl, .leaflet-marker-icon.mk:hover .pin { transform: scale(1.08); }
.pin.locked .ph img { filter: grayscale(1); opacity: .65; }
.ptag {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); padding: 2px 7px; border-radius: 999px;
  background: var(--freeday); color: #fff; font: 700 9.5px/1.45 var(--sans); letter-spacing: .03em; white-space: nowrap;
  box-shadow: 0 1px 4px rgba(21, 48, 42, .2);
}
.ptag--later { background: #fff; color: var(--ink); }
.clu {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--brand); font: 700 15px/1 var(--sans); box-shadow: 0 0 0 4px rgba(11, 107, 95, .14), 0 2px 8px rgba(21, 48, 42, .2); transition: transform .2s ease;
}
.clu.freeday { background: var(--freeday); color: #fff; }
.leaflet-marker-icon.mk:hover .clu { transform: scale(1.08); }
.noimg { display: grid !important; place-items: center; color: #4E605B; font: 600 18px/1 var(--sans); background: #E4ECE8; }
.me-wrap { background: none; border: 0; }
.me { width: 20px; height: 20px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(26, 115, 232, .22); }
.locate-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); }
.locate-btn.is-active { color: #1a73e8; }
.locate-btn.is-loading { opacity: .6; }

/* ---------- list header ---------- */
.sidehead h2 { font: 700 17px/1.3 var(--sans); }
.sheet__bar { display: block; width: 40px; height: 5px; border-radius: 3px; background: #D5DEDA; margin: 0 auto 10px; }

/* ---------- place cards ---------- */
.tile { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; border-radius: 16px; }
.grid .tile { align-self: start; } /* a button centres its content; keep every card's photo at the top */
.tph { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; background: #E4ECE8; }
.tph img, .tph .noimg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tile:hover .tph img, .tile.hl .tph img { transform: scale(1.03); }
.tile.hl .tph { box-shadow: 0 0 0 2px var(--brand); }
.tile.locked .tph img { filter: grayscale(1); opacity: .6; }
.ribbon {
  position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 4px 9px; border-radius: 8px;
  background: #fff; color: var(--ink); font: 700 11.5px/1.35 var(--sans); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ribbon.free { background: var(--freeday); color: #fff; text-transform: uppercase; }
.ribbon.dark { background: rgba(21, 48, 42, .88); color: #fff; }
.trow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 10px; }
.tmeta { display: block; min-width: 0; flex: 1; }
.tname { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.tsub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.now { color: var(--freeday-ink); font-weight: 600; }
.cprice { flex: none; text-align: right; font-weight: 700; font-size: 15px; line-height: 1.3; }
.cprice s { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.cprice.is-free { color: var(--freeday-ink); }
.cprice > span { display: block; white-space: nowrap; }
.cprice small { display: block; margin-top: 1px; font-weight: 400; font-size: 12px; color: var(--muted); white-space: nowrap; }
.cprice.is-paid { color: var(--ink); }
/* museum-days map: museums that are not free on your dates are faded and come after a divider */
.tile.is-dim .tph img, .tile.is-dim .tph .noimg { filter: grayscale(.9); opacity: .55; }
.tile.is-dim .tname { color: #4E605B; }
.tsub--rule { color: #4E605B; }
/* not free on your dates: the next free day, the one thing to notice (stays green on a grey card) */
.tnext { display: flex; align-items: flex-start; gap: 8px; margin-top: 7px; }
.tnext i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--freeday); }
.tnext b { display: block; color: var(--freeday-ink); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.tnext small { display: block; color: var(--muted); font-size: 12.5px; }
.explain--none { color: var(--ink); }
.explain--none b { font-weight: 600; }
.tsub--rule b { font-weight: 600; color: var(--ink); }
.tile.is-dim .tsub--rule b { color: #3B4D48; }
.tile.is-dim .tdesc { color: var(--muted); }
.tile.is-dim .cprice.is-paid > span:not(.cnext) { color: #4E605B; }
/* the museum list in two parts, each under its own heading; the second part starts after a clear gap and a line */
.lsplit { display: flex; align-items: center; gap: 9px; margin: 4px 0 16px; font: 700 16px/1.3 var(--sans); color: var(--ink); }
.lsplit i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--freeday); }
.lsplit--paid i { background: #B9C5C0; }
.lsplit em { font-style: normal; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.lsplit__n { margin-left: auto; min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--freeday-soft); color: var(--freeday-ink); font-size: 12.5px; display: grid; place-items: center; }
.lsplit--paid .lsplit__n { background: var(--closed-soft); color: var(--muted); }
.lsplit.is-second { margin-top: 18px; padding-top: 26px; border-top: 6px solid var(--stone); }
.grid .lsplit { grid-column: 1 / -1; }
.tsub--closed { color: var(--muted); font-weight: 600; }
.tnext em { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.pin.dim .ph img, .pin.dim .ph .noimg { filter: grayscale(.85); opacity: .6; }
.pin.dim { box-shadow: 0 1px 4px rgba(21, 48, 42, .14); }
.clu.dim { color: #5E6B66; box-shadow: 0 1px 5px rgba(21, 48, 42, .14); }
.tgo { display: none; }
.tcat { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 3px; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.tcat .fi { flex: none; }
.tile.is-dim .tcat { color: var(--muted); }
.tside { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.tdeal { display: none; } /* wide desktop cards only */
.tdesc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 2px; font-size: 14px; color: #3B4D48; line-height: 1.35; overflow: hidden; }
.tphrule {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 11px; border-radius: 999px;
  background: rgba(21, 48, 42, .8); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px);
}
.tphrule::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--freeday); vertical-align: 1px; }
/* the place page: a longer description, three lines until "Read more" */
.desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin: 2px 20px 0; padding: 12px 0; min-height: 44px; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.explain {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px;
  padding: 12px 14px; border-radius: 14px; background: var(--stone); font-size: 13.5px; color: var(--muted); line-height: 1.45;
}
.explain__next { color: var(--ink); }
.explain__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.empty { padding: 24px 0; text-align: center; color: var(--muted); }
.empty p { margin: 0 0 14px; }
.footer { padding: 16px 0 28px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); }
.footer p { margin: 0 0 10px; }
.footer__link { color: var(--ink); font-weight: 600; }

/* ---------- floating bits on phones ---------- */
.floatbtn {
  position: absolute; z-index: 1300; display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 16px; border: 0; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-sm);
}
.listbtn { left: 50%; transform: translateX(-50%); background: #fff; color: var(--ink); }
.fab { left: 50%; transform: translateX(-50%); bottom: calc(20px + var(--safe-b)); height: 44px; padding: 0 20px; background: var(--brand); color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .28); }

/* ---------- place details ---------- */
.card { background: var(--paper); }
.grab { display: none; }
.dwrap { padding: 0 0 32px; max-width: 760px; margin: 0 auto; }
.dhero { position: relative; margin: 0; }
.dhero .ph { position: relative; display: block; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: #E4ECE8; }
.gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; }
.gallery__track img, .gallery__track .noimg { width: 100%; height: 100%; object-fit: cover; display: block; }
.gnav {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center;
}
.gnav.prev { left: 12px; }
.gnav.next { right: 12px; }
.gnav.next svg { transform: scaleX(-1); }
.gdots { position: absolute; bottom: 34px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.gdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.gdots i.on { background: #fff; }
/* the photo credit sits on the photo, one quiet line above the rounded content sheet */
.dhero .credit { position: absolute; left: 12px; bottom: 30px; z-index: 2; max-width: calc(100% - 24px); padding: 1px 8px; border-radius: 999px; background: rgba(21, 48, 42, .45); color: #fff; font-size: 10.5px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dhero .credit:empty { display: none; }
.dhero .credit a { color: inherit; }
.rbtn {
  position: absolute; top: calc(12px + var(--safe-t)); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-sm); display: grid; place-items: center;
}
.rbtn.back { left: 14px; }
.rbtn.close { display: none; }
.dhead { position: relative; z-index: 2; margin: -20px 0 0; padding: 22px 20px 0; background: var(--paper); border-radius: 24px 24px 0 0; }
.cname { margin: 0; font: 700 25px/1.2 var(--sans); letter-spacing: -.02em; }
.cname:focus { outline: none; }
.dmeta { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.facts, .desc, .actions, .dsec, .chk { margin-left: 20px; margin-right: 20px; }
.desc { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: #2D403B; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.actions .btn--primary { flex: 1 1 100%; height: 50px; }
.actions .btn:not(.btn--primary) { flex: 1 1 0; min-width: 0; padding: 0 10px; }
.actions .btn:not(.btn--primary) { flex: 1; }
.dsec { margin-top: 26px; }
.dsec h3 { margin: 0 0 12px; font: 700 17px/1.3 var(--sans); }
.facts { margin-top: 18px; padding: 2px 16px; border-radius: 20px; background: var(--stone); }
.facts--plain { border-top: 0; margin: 0; }
.fact { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #DCE7E2; font-size: 14.5px; line-height: 1.45; }
.facts > .fact:last-child { border-bottom: 0; }
.facts--plain .fact:last-child { border-bottom: 0; }
.fact__ic { color: var(--brand); padding-top: 1px; }
.fact__body b { font-weight: 600; font-size: 15px; }
.fact__next { color: var(--muted); }
.fact__sub { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.fact__free { color: var(--freeday-ink); font-weight: 600; font-size: 14.5px; }
.fact__when { color: var(--ink); font-weight: 600; }
.fact__warn { color: var(--freeday-ink); font-weight: 600; }
.fact.is-freeday b, .fact.is-freeday .fact__ic { color: var(--freeday-ink); }
.fact.is-closed b { color: var(--muted); }
.wk { border-collapse: collapse; font-size: 14.5px; }
.wk th { text-align: left; font-weight: 600; padding: 0 14px 3px 0; white-space: nowrap; vertical-align: top; }
.wk td { padding: 0 0 3px; }
.wk tr.is-closed td { color: var(--muted); }
.wk tr.is-free th, .wk tr.is-free td { color: var(--freeday-ink); }
.tips { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.5; }
/* quick facts under the name: visit time, indoors/outdoors, area */
.qfacts { list-style: none; margin: 16px 20px 2px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qfacts li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 16px; }
.qfacts__ic { flex: none; color: var(--brand); padding-top: 1px; }
.qfacts__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.qfacts small { font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.qfacts b { margin-top: 2px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .qfacts li { flex-direction: column; gap: 6px; padding: 10px; }
  .qfacts b { font-size: 13.5px; }
}
/* the free days of a usually-paid place, one month at a time */
.fcal { max-width: 420px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 20px; }
.fcal__head { display: flex; align-items: center; justify-content: space-between; padding: 0 0 6px; }
.fcal__head strong { font-size: 15.5px; }
.fcal__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.fcal__nav:hover { background: var(--stone); }
.fcal__nav:disabled { opacity: .25; cursor: default; background: none; }
.fcal__nav--next svg { transform: scaleX(-1); }
.fcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.fcal__wd { height: 24px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.fcal__d { position: relative; height: 40px; padding: 0; border: 0; background: none; display: grid; place-items: center; font-size: 14.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
.fcal__d span { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.fcal__d.in-trip::before { content: ''; position: absolute; inset: 3px 0; background: #D3E3DC; }
.fcal__d.trip-start::before { left: 3px; border-radius: 999px 0 0 999px; }
.fcal__d.trip-end::before { right: 3px; border-radius: 0 999px 999px 0; }
/* the band of your dates also rounds off at the ends of each week row (7 weekday letters come first) */
.fcal__d.in-trip:nth-child(7n+1)::before { left: 3px; border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.fcal__d.in-trip:nth-child(7n)::before { right: 3px; border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
.fcal__d.is-free span { background: var(--freeday-ink); color: #fff; font-weight: 700; }
.fcal__d.is-part span { background: var(--freeday-soft); color: var(--freeday-ink); font-weight: 700; box-shadow: inset 0 0 0 1.5px #9FDDBF; }
.fcal__d.is-closed span { color: #5E6B66; text-decoration: line-through; }
.fcal__d.is-past { opacity: .4; }
.fcal__d.is-today span { text-decoration: underline; text-underline-offset: 3px; }
.fcal__d:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.fcal__d.is-picked span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.fcal__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }
.fcal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.fcal__legend i { width: 12px; height: 12px; border-radius: 50%; }
.lg-free { background: var(--freeday-ink); }
.lg-part { background: var(--freeday-soft); box-shadow: inset 0 0 0 1.5px #9FDDBF; }
.lg-trip { width: 18px !important; border-radius: 999px !important; background: #D3E3DC; }
.lg-closed { width: auto !important; height: auto !important; font-style: normal; font-size: 12.5px; color: #5E6B66; text-decoration: line-through; }
.fcal__info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--stone); font-size: 14px; min-height: 52px; }
.fcal__day { font-weight: 600; }
.fcal__what { display: flex; flex-direction: column; flex: 1; min-width: 130px; line-height: 1.3; }
.fcal__what b { font-weight: 700; }
.fcal__what b.is-free { color: var(--freeday-ink); }
.fcal__what b.is-closed { color: var(--muted); }
.fcal__what small { color: var(--muted); font-size: 13px; }
.fcal__none { color: var(--muted); }
.fcal__info .btn { flex: none; }

/* bottom bar of the place page: price status + Take me there, always in view */
.dbar {
  position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px calc(12px + var(--safe-b)); background: var(--paper); border-top: 1px solid var(--line);
}
.dbar__price { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dbar__price b { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* v94: cap both lines. The bar is sticky, so anything that grows it eats the page and can push the
   buttons out of reach; a long note must be cut here rather than be trusted to stay short in the data. */
.dbar__price small {
  font-size: 12.5px; color: var(--muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden;
}
.dbar { max-height: 40vh; }
.dbar__price.is-freeday b { color: var(--freeday-ink); }
.dbar__price.is-paid small { color: var(--freeday-ink); font-weight: 600; }
.dbar__price.is-closed b { color: var(--muted); }
.dbar__go { flex: none; height: 50px; padding: 0 26px; font-size: 16px; }
.chk { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.dbar { border-radius: 0; }
.chk a { color: inherit; font-weight: 600; }

/* ---------- overlays: trip popup, filters ---------- */
.overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .38); display: flex; align-items: flex-end; justify-content: center; }
.pop {
  position: relative; width: 100%; max-width: 520px; max-height: 92%; overflow: auto; padding: 28px 20px calc(20px + var(--safe-b)); background: var(--paper);
  border-radius: 22px 22px 0 0; animation: up .24s ease-out;
}
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__close {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--stone); font-size: 22px; line-height: 1;
}
.fsheet {
  width: 100%; max-width: 520px; max-height: 88%; display: flex; flex-direction: column; background: var(--paper);
  border-radius: 22px 22px 0 0; animation: up .24s ease-out;
}
.fsheet__head { position: relative; padding: 10px 20px 8px; text-align: center; }
.fsheet__head h2 { font: 700 17px/1.4 var(--sans); }
.fsheet__head .iconbtn { position: absolute; right: 14px; top: 16px; }
.fsheet__body { flex: 1; overflow: auto; padding: 4px 20px 16px; }
.fsheet__body h3 { margin: 18px 0 10px; font: 600 13px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.dmeta { display: flex; align-items: center; gap: 6px; }
.dmeta .fi { color: var(--brand); }
.fchip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.toggle small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle i { flex: none; width: 46px; height: 28px; border-radius: 999px; background: #D9D9D9; position: relative; transition: background .2s; }
.toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.toggle input:checked + i { background: var(--ink); }
.toggle input:checked + i::after { transform: translateX(18px); }
.toggle input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.fsheet__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }
.fsheet__foot .btn--primary { flex: 1; max-width: 240px; height: 50px; }
.toast {
  position: fixed; left: 50%; bottom: calc(110px + var(--safe-b)); transform: translateX(-50%);
  z-index: 4000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow);
}

/* =================== phones and small tablets =================== */
@media (max-width: 899px) {
  html, body { overscroll-behavior: none; }   /* no pull-to-refresh while dragging the list */
  .app { position: fixed; inset: 0; overflow: hidden; overscroll-behavior: none; display: flex; flex-direction: column; }
  /* header: [search pill | filters] on top, the two tabs under it; the map starts below */
  .topbar { flex: none; grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "modes"; padding: calc(16px + var(--safe-t)) 14px 12px; box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(21, 48, 42, .06); }
  .searchrow .pill { flex: 1; border: 1px solid var(--line); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
  .chip--filters { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .chip__txt { display: none; }
  /* "Open now" floats on the map, just under the header */
  .chip--now { position: absolute; top: calc(100% + 10px); left: 14px; height: 36px; padding: 0 14px; border: 0; font-size: 13.5px; box-shadow: 0 1px 6px rgba(0, 0, 0, .16); }
  .modes { width: 100%; max-width: 560px; margin: 12px auto 0; gap: 8px; }
  .mode { flex: 1; justify-content: center; gap: 8px; min-height: 46px; padding: 6px 8px; border-radius: 14px; }
  .mode .micon { width: 26px; height: 26px; }
  .mode__txt b { font-size: 14px; }
  .mode__txt small { display: none; }
  .layout { position: relative; flex: 1; min-height: 0; }
  .map-wrap { position: absolute; inset: 0; }
  .resizer { display: none; }
  .leaflet-bottom { bottom: calc(96px + var(--safe-b)); }
  .leaflet-right .leaflet-control { margin-right: 12px; }
  .leaflet-control-zoom { display: none; }

  /* the list panel. v98: sheet.js is gone; pulllist.js is what moves it now. */
  .side { position: absolute; inset: 0; z-index: 1200; pointer-events: none; }
  .sheet {
    position: absolute; left: 0; right: 0; top: 140px; height: 70%; display: flex; flex-direction: column; pointer-events: auto;
    background: var(--paper); border-radius: 22px 22px 0 0; box-shadow: 0 -4px 22px rgba(0, 0, 0, .12);
    transition: transform .34s cubic-bezier(.2, .8, .2, 1); will-change: transform; transform: translate3d(0, 120%, 0);
  }
  .sheet.is-dragging { transition: none; }
  .sidehead { flex: none; padding: 9px 16px 14px; text-align: center; touch-action: none; cursor: grab; user-select: none; }
  .sidehead h2 { display: inline; }
  .scroll { flex: 1; min-height: 0; overflow-y: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .grid { padding: 0 16px; }
  .grid .tile { margin-bottom: 22px; }
  .footer { padding-bottom: calc(80px + var(--safe-b)); }

  .detail-open .floatbtn { display: none !important; }
  .detail-open .side { z-index: 2500; }

  /* place details: full screen */
  .card {
    position: fixed; inset: 0; z-index: 2500; overflow: auto; overscroll-behavior: contain; pointer-events: auto;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden;
  }
  .card.open { transform: none; visibility: visible; }
  .dwrap { padding-bottom: 24px; }
}

/* =================== desktop =================== */
@media (min-width: 900px) {
  .here { display: none; }
  .start { align-items: center; padding: 40px 24px; background: var(--stone); }
  .start__inner { max-width: 540px; }
  .start__card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }

  .app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
  /* like a travel site: logo | the two tabs (centre) on top, the search under them, filters to its right */
  .topbar {
    flex: none; grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "modes";
    align-items: center; padding: 22px 28px 16px; border-bottom: 1px solid var(--line);
  }
  /* the logo sits at the left of the search row */
  .logo { display: block; position: absolute; left: 28px; top: 22px; height: 56px; padding: 0; }
  .searchrow { display: grid; grid-template-columns: 1fr auto 1fr; }
  .modes { margin-top: 14px; }
  .searchrow .pill { grid-column: 2; }
  .searchrow .chips { grid-column: 3; justify-self: start; margin-left: 4px; }
  .pill { flex: none; width: min(560px, 50vw); height: 56px; padding: 0 8px 0 24px; border: 1px solid var(--line); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
  .pill:hover { box-shadow: var(--shadow-sm); }
  .pill__seg { flex: 1; }
  .pill__seg small { display: block; }
  .pill__when em, .pill__when .w-s { display: none; }
  .pill__when .w-l { display: inline; }
  .pill__go { width: 40px; height: 40px; }

  /* list | map. The width of the list can be dragged (--side-w, set by the resizer in app.js) */
  .layout { --side-default: clamp(420px, 40%, 1200px); position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: var(--side-w, var(--side-default)) minmax(0, 1fr); }
  .side { position: relative; order: -1; min-height: 0; border-right: 1px solid var(--line); container: side / inline-size; }
  .resizer {
    position: absolute; top: 0; bottom: 0; z-index: 1300; left: calc(var(--side-w, var(--side-default)) - 6px); width: 12px;
    cursor: col-resize; touch-action: none; outline: none;
  }
  .resizer::before { content: ''; position: absolute; top: 0; bottom: 0; left: 5px; width: 2px; background: transparent; transition: background .15s; }
  .resizer::after {
    content: ''; position: absolute; top: 50%; left: 1px; width: 10px; height: 44px; margin-top: -22px; border-radius: 6px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 6px rgba(21, 48, 42, .14);
    background-image: linear-gradient(90deg, transparent 3px, #B9C7C1 3px, #B9C7C1 4px, transparent 4px, transparent 5px, #B9C7C1 5px, #B9C7C1 6px, transparent 6px);
  }
  .resizer:hover::before, .resizer.is-dragging::before, .resizer:focus-visible::before { background: var(--brand); }
  .is-resizing, .is-resizing * { cursor: col-resize !important; user-select: none !important; }
  .is-resizing #map { pointer-events: none; }
  .map-wrap { position: relative; min-height: 0; }
  .sheet { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .sheet__bar { display: none; }
  .sidehead { flex: none; padding: 20px 24px 12px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
  .scroll { flex: 1; min-height: 0; overflow: auto; }
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 28px 18px; padding: 4px 24px 32px; align-content: start; }
  .grid .explain, .grid .empty { grid-column: 1 / -1; margin-bottom: 0; }
  .tph { aspect-ratio: 4 / 3; }
  .tdesc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .footer { padding: 16px 24px 28px; }
  .listbtn, .fab { display: none !important; }

  /* details open in place of the list */
  .card {
    position: absolute; inset: 0; z-index: 5; overflow: auto;
    opacity: 0; pointer-events: none; transform: translateX(-12px); transition: opacity .2s, transform .2s;
  }
  .card.open { opacity: 1; pointer-events: auto; transform: none; }
  .dhero .ph { aspect-ratio: 3 / 2; max-height: 380px; }
  .dwrap { padding-top: 16px; }
  .dhero { margin: 0 20px; }
  .dhero .ph { border-radius: 22px; }
  .dhero .credit { bottom: 10px; }
  .gdots { bottom: 14px; }
  .dhead { margin-top: 0; padding-top: 18px; border-radius: 0; }
  .rbtn { top: 28px; }
  .rbtn.back { left: 32px; }
  .rbtn { top: 14px; }
  .cname { font-size: 28px; }
  .dwrap, .dbar { max-width: 720px; }
  .dbar { margin: 0 auto; }
  .sidehead h2 { font-size: 20px; }

  .overlay { align-items: center; }
  .pop, .fsheet { border-radius: 22px; }
  .overlay--top { align-items: flex-start; padding-top: 90px; }
}
@media (min-width: 900px) and (max-width: 1139px) {
  .mode { padding: 6px 16px 6px 10px; min-height: 46px; }
  .mode .micon { width: 28px; height: 28px; }
  .mode__txt small { display: none; }
  .chip--filters { width: 44px; padding: 0; justify-content: center; }
  .chip__txt { display: none; }
}
/* wide desktop: one column of horizontal cards, like a travel search: photo, details, price */
@media (min-width: 1200px) {
  .layout { --side-default: clamp(480px, 40%, 1200px); }
}
/* a wide list (wide screen, or the list dragged wider): horizontal cards, like a travel search */
@media (min-width: 900px) {
@container side (min-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 0; padding: 0 24px 32px; }
  .grid .explain { margin: 0 0 8px; }
  /* three parts, like a flight card: photo | name and two lines | when, price, View */
  .tile {
    display: grid; grid-template-columns: minmax(240px, 40%) 1fr; gap: 22px; padding: 18px 0;
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .tile:hover .tname { color: var(--brand); }
  .tph { aspect-ratio: 4 / 3; border-radius: 18px; }
  .trow { margin-top: 0; align-items: stretch; gap: 20px; }
  .tmeta { align-self: center; }
  .tmeta .tsub, .tmeta .tnext { display: none; } /* the hours move to the right-hand column */
  .tcat {
    display: inline-flex; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line);
    font-size: 12.5px; font-weight: 600; color: var(--ink);
  }
  .tname { font-size: 19px; line-height: 1.25; }
  .tdesc { margin-top: 6px; font-size: 14.5px; line-height: 1.45; -webkit-line-clamp: 2; }
  .tside {
    width: 196px; padding-left: 20px; border-left: 1px solid var(--line);
    align-items: stretch; justify-content: center; gap: 14px; text-align: left;
  }
  .tside .cprice { display: none; }
  .tdeal { display: flex; flex-direction: column; gap: 3px; }
  .dmain { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--ink); }
  .dmain small { font-size: 13px; font-weight: 500; color: var(--muted); }
  .dmain.is-free { color: var(--freeday-ink); }
  .dmain.is-closed { color: var(--muted); font-size: 16px; }
  .dline { font-size: 14px; color: var(--ink); }
  .dsub { font-size: 13px; color: var(--muted); }
  .dnow { color: var(--freeday-ink); font-weight: 600; }
  .dnext { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--freeday-ink); }
  .dnext i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--freeday); }
  .tile.is-dim .dmain { color: #4E605B; }
  .tphrule { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 10px; font-size: 12px; white-space: normal; border-radius: 12px; }
  .cprice { font-size: 18px; }
  .cprice small, .cprice s { font-size: 12.5px; }
  .tgo {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 42px; border-radius: 999px;
    background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
  }
  .tile:hover .tgo { background: var(--brand-dark); }
}
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* v32: free days, one rule per line */
.fact__rules { display: flex; flex-direction: column; gap: 1px; }
.fact__rules > span:first-child { font-weight: 600; color: var(--ink); }
/* v32: free tickets that must be booked ahead */
.tbook { display: block; width: fit-content; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: #FFF4DC; color: #8A5A00; font-size: 12px; font-weight: 600; }
.fact__book { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-weight: 600; color: var(--brand); }
.fact__book svg { width: 13px; height: 13px; }
/* v32: what the free days on your dates are worth */
.sidehead h2 small { font-weight: 500; font-size: .8em; color: var(--muted, #6b7280); }

/* ---------- other cities on the map, and the city list when zoomed out ---------- */
.mk--city { background: none; border: 0; }
.citymk {
  display: inline-flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%);
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--brand); box-shadow: var(--shadow-sm);
  white-space: nowrap; cursor: pointer; font: 600 14px/1.2 var(--sans); color: var(--ink);
}
.citymk small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.citymk.is-on { background: var(--brand); color: #fff; }
.citymk.is-on small { color: rgba(255, 255, 255, .85); }
.citylist { display: grid; gap: 10px; padding: 0 0 20px; }
.cityrow {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-align: left; cursor: pointer; font: inherit; color: var(--ink);
}
.cityrow b { font-size: 16px; }
.cityrow span { font-size: 13.5px; color: var(--muted); }
.cityrow:hover { border-color: var(--brand); }

/* bigger touch areas for small text links (44 px tall hit area, same look) */
.chk a, .footer a { display: inline-block; padding: 14px 0; margin: -14px 0; }
.dhero .credit a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 899px) { .chip--now { height: 44px !important; } }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* About & disclaimer */
.footer p { margin: 0 0 6px; }
.footer__links { margin-top: 4px; }
.about { max-width: 620px; max-height: calc(100vh - 80px); overflow: auto; padding: 28px 28px 24px; line-height: 1.55; font-size: 14.5px; color: var(--ink); }
.about h2 { margin: 0 32px 10px 0; font-size: 20px; }
.about h3 { margin: 18px 0 4px; font-size: 15px; }
.about p { margin: 0; color: #3B4D48; }
.about a { color: var(--brand); font-weight: 600; }

/* =================== home page: search pill + one row per city =================== */
.start__inner { max-width: 1200px; margin-left: auto; margin-right: auto; }
#screen-start { overflow-y: auto; }
.start { display: block; padding: calc(24px + var(--safe-t)) 20px 40px; }
.brand { margin: 0 0 18px; }
.hpill { width: 100%; max-width: 760px; display: flex; align-items: center; margin: 0 auto 8px; padding: 8px 8px 8px 24px; gap: 0; text-align: left; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: 0 3px 14px rgba(0, 0, 0, .1); }
.hpill:hover { box-shadow: 0 5px 18px rgba(0, 0, 0, .16); }
.hpill__f { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 4px 0; }
.hpill__f--when { padding-left: 20px; border-left: 1px solid var(--line); }
.hpill__f small { font-size: 12px; font-weight: 600; }
.hpill__f b { font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpill__go { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }
.hcontinue { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 14px auto 0; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--freeday-soft); color: var(--freeday-ink); }
.hcontinue span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.hcontinue small { color: var(--muted); }
.here { margin: 12px auto 0; max-width: 760px; }
.hrows { margin-top: 28px; }
.hsec { margin-bottom: 28px; }
.hrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hrow__title { padding: 0; border: 0; background: none; font: 600 20px/1.2 var(--sans); text-align: left; color: var(--ink); }
.hrow__title span { margin-left: 2px; }
.hrow__arrows { display: none; gap: 8px; }
.hrow__arrows button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 20px; line-height: 1; }
.hrow__arrows button:hover { background: var(--stone); }
.hcards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 20px; padding: 2px 20px 8px; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hcards::-webkit-scrollbar { display: none; }
.hcard { flex: none; width: 168px; scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.hcard__img { position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; margin-bottom: 8px; background: linear-gradient(160deg, var(--stone), #CFE7DD); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.hcard:hover .hcard__img img { transform: scale(1.03); }
.hcard__img i { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.94); font: 600 12px/1.2 var(--sans); font-style: normal; color: var(--freeday-ink); }
.hcard b { font-weight: 600; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard small { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .start { padding: 40px 48px 56px; background: var(--paper); }
  .hrow__arrows { display: flex; }
  .hcards { margin: 0 -4px; padding: 2px 4px 8px; scroll-padding: 0 4px; }
  .hcard { width: 210px; }
}

/* =================== v43: saved places, location block, phone navigation =================== */
/* the heart */
.heart { position: absolute; z-index: 3; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 6px rgba(0, 0, 0, .2); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.heart::after { content: ""; position: absolute; inset: -5px; }
.heart svg { fill: none; stroke: currentColor; transition: fill .15s, stroke .15s; }
.heart:hover { transform: scale(1.08); }
.heart:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.heart.is-on { color: #E5484D; }
.heart.is-on svg { fill: #E5484D; }
.heart.beat svg { animation: heartpop .35s ease-out; }
@keyframes heartpop { 0% { transform: scale(.7); } 55% { transform: scale(1.3); } 100% { transform: scale(1); } }
.heart--lg { top: 18px; right: 20px; width: 44px; height: 44px; box-shadow: none; border: 1px solid var(--line); background: #fff; }
.heart--lg svg { width: 22px; height: 22px; }
.dhead .cname { padding-right: 56px; }
.hcard__img .heart { top: 8px; right: 8px; }

/* the "Saved" link (home page, desktop map header) */
.start__top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 24px; }
.start__top .brand { margin: 0; }
.brand--btn { border: 0; background: none; padding: 0; cursor: pointer; }
.savedlink { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1 var(--sans); color: var(--ink); }
.savedlink:hover { box-shadow: var(--shadow-sm); }
.savedlink b, .bnav b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font: 700 11px/18px var(--sans); text-align: center; }
.savedlink b[hidden], .bnav b[hidden] { display: none; }
.savedlink--bar { display: none; }

/* the saved page */
.savedpage { min-height: 100%; padding: calc(24px + var(--safe-t)) 20px 48px; background: var(--paper); }
.savedpage__inner { max-width: 1100px; margin: 0 auto; }
.savedpage[hidden] { display: none; }
.saved__h { margin: 0 0 22px; font: 700 30px/1.15 var(--sans); letter-spacing: -.02em; }
.saved__h small, .ssec h3 small { margin-left: 6px; font: 500 15px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.ssec { margin-bottom: 34px; }
.ssec h3 { margin: 0 0 14px; font: 700 21px/1.2 var(--sans); }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 18px 14px; }
.scard { position: relative; }
.scard__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.scard__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; margin-bottom: 8px; background: linear-gradient(160deg, var(--stone), #CFE7DD); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.scard__open:hover .scard__img img { transform: scale(1.03); }
.scard__txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 15px; line-height: 1.25; }
.scard__txt small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard .heart { top: 8px; right: 8px; }
.saved__empty { max-width: 420px; margin: 60px auto; text-align: center; color: var(--muted); }
.saved__empty svg { color: var(--brand); }
.saved__empty p { margin: 8px 0; }
.saved__empty b { color: var(--ink); font-size: 18px; }
.saved__empty .btn { margin-top: 14px; }

/* the exact location, at the bottom of a place page */
.dsec--loc { margin-bottom: 4px; }
.minimap { position: relative; height: 210px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #E8EEEA; isolation: isolate; }
.minimap__gl { position: absolute; inset: 0; z-index: 0; }
.minimap__hit { position: absolute; inset: 0; z-index: 5; display: block; }
.minimap__tap { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .2); font: 600 13px/1 var(--sans); color: var(--ink); }
.mk .mpin { position: relative; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); border: 3px solid #fff; box-shadow: 0 3px 9px rgba(0, 0, 0, .35); }
.mk .mpin i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.locline { display: flex; align-items: flex-start; gap: 10px; margin: 12px 20px 0 0; }
.locline svg { flex: none; margin-top: 3px; color: var(--brand); }
.locline b { display: block; font-weight: 600; }
.locline small { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.actions--loc { margin: 12px 0 0 !important; }
.mapcredit { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.mapcredit a { color: inherit; }

/* desktop: the saved link sits at the right end of the search row */
@media (min-width: 900px) {
  .savedlink--bar { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; height: 44px; width: 44px; padding: 0; justify-content: center; position: relative; }
  .savedlink--bar b { position: absolute; top: -4px; right: -4px; }
  .searchrow .pill, .searchrow .chips { grid-row: 1; }
  .homebtn { display: none; }
  .bnav { display: none; }
  .savedpage { padding: 28px 48px 64px; }
}

/* phones: home icon in the map header, Home · Map · Saved at the bottom */
@media (max-width: 899px) {
  .homebtn { flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
  .savedlink { display: none; }
  .bnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; display: flex; height: calc(58px + var(--safe-b)); padding-bottom: var(--safe-b);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(21, 48, 42, .06);
  }
  .bnav button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 0 4px; border: 0; background: none; color: var(--muted); font: 600 11.5px/1 var(--sans); }
  .bnav button.is-on { color: var(--brand); }
  .bnav button.is-on svg { stroke-width: 2.4; }
  .bnav button[data-go="saved"].is-on svg { fill: currentColor; }
  .bnav b { position: absolute; top: 5px; left: calc(50% + 6px); }
  body.detail-open .bnav { display: none; }
  /* the map screen ends where the bar begins; the safe area belongs to the bar */
  .app { bottom: calc(58px + var(--safe-b)); --safe-b: 0px; }
  body.detail-open .app { bottom: 0; }
  .card { --safe-b: env(safe-area-inset-bottom, 0px); }
  .start { padding-bottom: calc(96px + var(--safe-b)); }
  .savedpage { padding-bottom: calc(96px + var(--safe-b)); }
  .toast { bottom: calc(168px + var(--safe-b)); }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.btn svg { flex: none; }

/* =================== v46: home search split into Where and When =================== */
.hpill { cursor: default; }
.hpill:hover { box-shadow: 0 3px 14px rgba(0, 0, 0, .1); }
.hpill__f { border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 999px; }
.hpill__f:hover { background: var(--stone); }
.hpill__f--when { margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; }
.hpill__f b.is-set { color: var(--ink); font-weight: 600; }
.hpill__go { border: 0; cursor: pointer; }
.hmore { display: block; margin: 4px auto 0; padding: 13px 28px; border: 1px solid var(--ink); border-radius: 12px; background: var(--paper); font: 600 15px/1 var(--sans); color: var(--ink); }
.hmore:hover { background: var(--stone); }
/* Where window: the search row has the "near me" button, popular cities scroll sideways under it */
.trip__inp { position: relative; }
.trip__inp input { width: 100%; padding-right: 60px; }
.locate { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--stone); color: var(--brand); cursor: pointer; }
.locate:hover { background: var(--freeday-soft); }
.locate.is-loading { opacity: .5; }
.trip__sub { margin: 18px 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.trip--when .trip__sub { margin: 6px 0 14px; font-weight: 400; font-size: 14.5px; }
.trip__suggest--scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px 6px; padding: 0 4px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.trip__suggest--scroll::-webkit-scrollbar { display: none; }
.trip__suggest--scroll .sugg { flex: none; scroll-snap-align: start; }
.trip--where .trip__title, .trip--when .trip__title { padding-right: 46px; font-size: 24px; margin-bottom: 14px; }
.trip--when .trip__label { display: none; }

/* =================== v47: phone map page, option B =================== */
/* One wide white bar floats over a full-screen map; the two maps are a small switch under it;
   the places are a row of cards under the map that you swipe sideways. Strong shadows on everything that floats. */
@media (max-width: 899px) {
  :root { --fs: 0 4px 14px rgba(21, 48, 42, .22); --fs2: 0 6px 20px rgba(21, 48, 42, .26); }
  .layout { position: absolute; inset: 0; }
  .topbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 1400; padding: calc(12px + var(--safe-t)) 12px 0;
    background: transparent; box-shadow: none; pointer-events: none;
  }
  .topbar > * { pointer-events: auto; }
  .searchrow { gap: 4px; height: 54px; padding: 0 6px 0 4px; border-radius: 999px; background: #fff; box-shadow: var(--fs2); }
  .homebtn { display: none; }
  .searchrow .pill { height: 46px; padding: 0 6px 0 16px; border: 0; background: none; box-shadow: none; border-radius: 999px; gap: 10px; }
  .pill__seg strong { font-size: 15.5px; }
  .pill__when em { display: none; }
  .pill__when strong { color: var(--muted); }
  .pill__div { height: 14px; }
  .pill__go { width: 36px; height: 36px; box-shadow: 0 2px 8px rgba(11, 107, 95, .4); }
  .chip--filters { width: 42px; height: 42px; border: 0; background: var(--stone); }
  .chip--filters.is-active { background: var(--brand); }
  .chip--now { display: none !important; }
  .chip__count { position: absolute; top: -3px; right: -3px; }
  .modes { display: inline-flex; justify-self: start; width: auto; max-width: none; margin: 10px 0 0; padding: 3px; gap: 2px; border-radius: 999px; background: #fff; box-shadow: var(--fs); }
  .mode { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; }
  .mode .micon { display: none; }
  .mode__txt b { font-size: 13.5px; font-weight: 600; }
  .mode.is-on { background: var(--brand); color: #fff; box-shadow: none; }
  .mode.is-on b { font-weight: 600; }
  .topbar .modes[hidden] { display: none; }

  .side .sheet { display: none; }
  .leaflet-bottom { bottom: 148px; }
  .toast { bottom: calc(176px + var(--safe-b)); }
  .detail-open .cards, .detail-open .topbar { display: none !important; }

  .cards {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1300; display: flex; gap: 10px; padding: 12px 12px 18px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 12px; scrollbar-width: none;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; pointer-events: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .mc {
    position: relative; flex: none; width: min(310px, calc(100vw - 60px)); display: flex; gap: 11px; padding: 9px; box-sizing: border-box;
    border-radius: 18px; background: #fff; box-shadow: var(--fs2); scroll-snap-align: center; cursor: pointer; pointer-events: auto;
    -webkit-tap-highlight-color: transparent; transition: box-shadow .15s;
  }
  .mc.is-on { box-shadow: var(--fs2), 0 0 0 2px var(--brand); }
  .mc__ph { position: relative; flex: none; width: 84px; height: 84px; border-radius: 13px; overflow: hidden; background: #D6E8DF; }
  .mc__ph img, .mc__ph .noimg { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mc .heart { top: 5px; right: 5px; width: 30px; height: 30px; box-shadow: var(--fs); }
  .mc .heart svg { width: 16px; height: 16px; }
  .mc__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
  .mc__name { padding-right: 44px; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mc__cat, .mc__when { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .mc__when { -webkit-line-clamp: 2; }
  .mc__free, .mc__now { color: var(--freeday-ink); font-weight: 600; }
  .mc__closed { color: #B3261E; font-weight: 600; }
  .mc__cost { position: absolute; top: 11px; right: 13px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
  .mc--empty { width: calc(100vw - 24px); padding: 16px; }
  .mc--empty .btn { margin-top: 8px; align-self: flex-start; }
}

/* =================== v48: text that wrapped or escaped its button on narrow phones =================== */
.nw { white-space: nowrap; }
.chip, .sugg, .fchip, .mode__txt b, .hmore, .tbook, .cprice > span, .mc__cost { white-space: nowrap; }
/* place page: Share / Website / Google Maps were forced into three equal columns, so the text ran over the edges.
   Now each button is as wide as its text and the row wraps when it does not fit. */
.actions .btn:not(.btn--primary) { flex: 1 1 auto; min-width: max-content; padding: 0 14px; }
@media (max-width: 899px) {
  /* bottom bar of a place: the bold line shrinks a little and may use two lines instead of being cut with "…" */
  .dbar { gap: 10px; padding-left: 16px; padding-right: 16px; }
  /* two lines at most: "white-space: normal" here is what let a long line grow without limit */
  .dbar__price b {
    font-size: 16px; white-space: normal; text-wrap: balance;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .dbar__go { padding: 0 20px; }
  /* home: the Where field gets the room, so "Search destinations" is not cut */
  .hpill { padding-left: 18px; }
  .hpill__f { flex: 1.5 1 0; }
  .hpill__f--when { flex: 1 1 0; margin-left: 6px; padding-left: 12px; }
  .hpill__go { width: 44px; height: 44px; }
  .hrow__title { text-wrap: balance; }
  /* map bar: the city name is never cut; the dates give way first */
  .searchrow .pill__seg:first-child { flex: none; }
  .pill__when { flex: 1 1 0; }
  .cname, .scard__txt b, .mc__name, .hcard b, .tname { text-wrap: balance; }
  .qfacts b, .tips li { text-wrap: pretty; }
}
@media (max-width: 359px) {
  .hpill__f b { font-size: 14px; }
  .hrow__title { font-size: 18px; }
  .searchrow .pill { padding-left: 12px; gap: 8px; }
  .pill__seg strong { font-size: 14.5px; }
  .mode { padding: 0 11px; }
  .mode__txt b { font-size: 13px; }
  .dbar__go { padding: 0 16px; font-size: 15px; }
}
/* the three facts on a place page: equal thirds broke one word in two ("Westminste / r").
   Each box is now as wide as its longest word needs; the row wraps if three do not fit. */
@media (max-width: 480px) {
  .qfacts { display: flex; flex-wrap: wrap; }
  .qfacts li { flex: 1 1 auto; min-width: min-content; }
  .qfacts b { overflow-wrap: normal; }
  .qfacts li:first-child b { white-space: nowrap; }
}

/* =================== v49: List is back on phones, saved hearts on pins =================== */
.pin__heart { position: absolute; z-index: 2; top: -5px; right: -5px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: #E5484D; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
@media (max-width: 899px) {
  /* the List button: a small pill on the right, in the row under the search bar */
  .listbtn { top: calc(76px + var(--safe-t)); right: 12px; left: auto; bottom: auto !important; transform: none; height: 40px; padding: 0 15px; z-index: 1400; box-shadow: var(--fs); }
  .listbtn[hidden] { display: none; }
  /* the list itself: the whole screen under the search bar; "Map" brings the map back */
  body.list-open .topbar { background: var(--paper); padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
  body.list-open .searchrow { box-shadow: 0 1px 6px rgba(0, 0, 0, .12); border: 1px solid var(--line); }
  body.list-open .modes { box-shadow: none; background: var(--stone); }
  body.list-open .listbtn, body.list-open .cards { display: none !important; }
  body.list-open .side { pointer-events: auto; background: var(--paper); z-index: 1350; }
  body.list-open .side .sheet { display: flex; top: calc(132px + var(--safe-t)); bottom: 0; height: auto; transform: none; border-radius: 0; box-shadow: none; transition: none; }
  body.list-open .sheet__bar { display: none; }
  body.list-open .sidehead { cursor: default; text-align: left; padding: 6px 16px 10px; }
  body.list-open .scroll { overflow-y: auto; }
  body.list-open.detail-open .fab { display: none !important; }
  .fab { z-index: 1450; }
}

/* =================== v50: phones – one map ("free on your dates"), bottom bar that hides =================== */
.explain--other { margin-top: 6px; }
@media (max-width: 899px) {
  /* one map on phones: the two-map switch is gone (the museums filter is in Filters) */
  .topbar .modes { display: none !important; }
  body.list-open .side .sheet { top: calc(78px + var(--safe-t)); }
  .mc--more { align-items: center; padding: 14px 16px; }
  .mc--more .mc__name { padding-right: 0; -webkit-line-clamp: 3; }
  .mc--more .btn { margin-top: 8px; align-self: flex-start; }
  .mc.is-dim .mc__ph { filter: grayscale(1); opacity: .75; }

  /* the map fills the whole screen; the bottom bar lies over it and slides away while you move the map */
  .app, body.detail-open .app { bottom: 0; }
  .bnav { transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
  body.nav-off .bnav { transform: translateY(110%); }
  .cards { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); transition: bottom .26s cubic-bezier(.2, .8, .2, 1); }
  body.nav-off .cards { bottom: env(safe-area-inset-bottom, 0px); }
  .leaflet-bottom { bottom: calc(206px + env(safe-area-inset-bottom, 0px)); transition: bottom .26s cubic-bezier(.2, .8, .2, 1); }
  body.nav-off .leaflet-bottom { bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
  .fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.list-open .footer { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}

/* =================== v51: fixed slim bottom bar, List by the cards, clearer museums choice =================== */
.fopts { display: grid; gap: 8px; margin-bottom: 6px; }
.fopt { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; text-align: left; color: var(--ink); cursor: pointer; }
.fopt i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid #B9C7C1; position: relative; }
.fopt.is-on { border-color: var(--brand); background: var(--stone); }
.fopt.is-on i { border-color: var(--brand); }
.fopt.is-on i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.fopt b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.fopt small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (max-width: 899px) {
  :root { --nav: 48px; }
  /* slim bottom bar, always there */
  .bnav { height: calc(var(--nav) + var(--safe-b)); transform: none !important; }
  .bnav button { gap: 1px; padding: 4px 0 3px; font-size: 10.5px; }
  .bnav button svg { width: 21px; height: 21px; }
  .bnav b { top: 2px; }
  .cards { bottom: calc(var(--nav) + env(safe-area-inset-bottom, 0px)) !important; padding-bottom: 12px; }
  /* List sits just above the cards, on the right; the "my location" button moved up under the search bar */
  .listbtn { top: auto; bottom: calc(var(--nav) + 134px + env(safe-area-inset-bottom, 0px)) !important; right: 12px; }
  .leaflet-bottom.leaflet-right { top: calc(76px + var(--safe-t)); bottom: auto !important; }
  .leaflet-bottom.leaflet-left { bottom: calc(var(--nav) + 130px + env(safe-area-inset-bottom, 0px)) !important; }
  .leaflet-right .leaflet-control { margin-top: 0; }
  .locate-btn { box-shadow: var(--fs); }
  .fab { bottom: calc(var(--nav) + 16px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(var(--nav) + 190px + var(--safe-b)); }
  /* the price column of a card: "Free" with the usual price struck through in grey, or the grey ticket price */
  .mc__cost { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
  .mc__cost s { font-size: 14px; font-weight: 600; color: #4E5A56; }
  .mc__paid { display: flex; flex-direction: column; align-items: flex-end; color: #5E6B66; }
  .mc__paid small { font-size: 11px; font-weight: 500; }
  .mc__name { padding-right: 50px; }
}

/* v52: phones list – note under the 'Not free on your dates' divider */
.lsplit__note { margin: -4px 0 14px; font-size: 13px; color: var(--muted); }

/* v53: phone map cards – bigger photo, "Free" in a mint pill, frosted heart on the photo */
@media (max-width: 899px) {
  .mc { width: min(336px, calc(100vw - 52px)); gap: 12px; padding: 10px; border-radius: 20px; }
  .mc__ph { width: 94px; height: 94px; border-radius: 15px; }
  .mc__tx { gap: 3px; font-size: 13px; }
  .mc__when { font-size: 12.5px; }
  .mc__name { font-size: 15.5px; font-weight: 700; line-height: 1.22; padding-right: 54px; }
  .mc__free { font-size: 13.5px; }
  .mc__cost { top: 10px; right: 11px; gap: 3px; }
  .mc__pill { padding: 3px 9px; border-radius: 999px; background: var(--freeday-soft); color: var(--freeday-ink); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
  .mc__pill--eur { background: var(--stone); color: var(--brand); }
  .mc__cost s { padding-right: 4px; }
  .mc .heart { top: 6px; right: 6px; width: 32px; height: 32px; background: rgba(255, 255, 255, .3); border: 1px solid rgba(255, 255, 255, .45); box-shadow: none; color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .mc .heart svg { width: 17px; height: 17px; stroke-width: 2.2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
  .mc .heart.is-on { background: rgba(255, 255, 255, .9); color: #E5484D; }
  .mc .heart.is-on svg { filter: none; }
  .mc--wide .mc__name { padding-right: 64px; }
  .mc--more .mc__name { padding-right: 0; }
}
@media (max-width: 359px) {
  .mc { gap: 10px; }
  .mc__ph { width: 78px; height: 78px; align-self: center; }
  .mc__name { font-size: 14.5px; }
}

/* v56: phone map card – one fixed height, price badge on the photo, name, hours, then the green pill or the summary */
@media (max-width: 899px) {
  .listbtn { bottom: calc(var(--nav) + var(--cardsh, 160px) + 2px + env(safe-area-inset-bottom, 0px)) !important; }
  .leaflet-bottom.leaflet-left { bottom: calc(var(--nav) + var(--cardsh, 160px) - 2px + env(safe-area-inset-bottom, 0px)) !important; }
  .toast { bottom: calc(var(--nav) + var(--cardsh, 160px) + 56px + var(--safe-b)); }

  .mc.m2 { width: min(344px, calc(100vw - 44px)); height: 140px; gap: 10px; padding: 7px; border-radius: 18px; align-items: stretch; }
  .mc.m2.is-dim .mx__ph img, .mc.m2.is-dim .mx__ph .noimg { filter: grayscale(1); opacity: .75; }
  .mx__ph { position: relative; flex: none; width: 112px; border-radius: 13px; overflow: hidden; background: #D6E8DF; }
  .mx__ph img, .mx__ph .noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .mx__badge { position: absolute; z-index: 2; top: 6px; left: 6px; display: flex; align-items: baseline; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); font-size: 12px; line-height: 1.2; white-space: nowrap; }
  .mx__badge s { font-weight: 700; font-size: 15px; color: #4E5A56; text-decoration-color: #B3261E; }
  .mx__badge b { font-weight: 800; color: var(--freeday-ink); }
  .mx__badge b.is-eur { color: var(--ink); }
  .mx__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 12px; line-height: 1.25; color: var(--muted); }
  .mx__body > * { flex-shrink: 0; }
  .mx__name { padding-right: 0; color: var(--ink); font-size: 15.5px; font-weight: 700; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
  .mx__cat { display: flex; align-items: center; gap: 4px; color: var(--brand); font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; overflow: hidden; }
  .mx__cat .fi { flex: none; }
  .mx__cat > span { overflow: hidden; text-overflow: ellipsis; }
  .mx__tag { font-size: 11.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mx__tag[hidden] { display: none; }
  .mx__hrs { display: flex; align-items: flex-start; gap: 5px; color: var(--ink); font-weight: 500; }
  .mx__hrs .fi { flex: none; margin-top: 2px; }
  .mx__hrs > span, .mx__pill > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mx__now { color: var(--freeday-ink); font-weight: 600; }
  .mx__pill { display: flex; align-items: center; gap: 7px; width: fit-content; max-width: 100%; box-sizing: border-box; padding: 2px 10px 2px 8px; border-radius: 12px; background: var(--freeday-soft); color: var(--freeday-ink); font-weight: 600; line-height: 1.25; }
  .mx__pill .fi { flex: none; }
  .mx__pill.is-off { background: var(--stone); color: var(--muted); }
  .mx__pill.is-closed { background: #FBEDEC; color: #B3261E; padding-left: 10px; }
  /* v83: the heart sits on the photo (top-right corner), a white disc so it reads on any picture */
  .mc.m2 .heart, .lc .heart { top: 6px; right: 6px; width: 32px; height: 32px; background: rgba(255, 255, 255, .94); border: 0; box-shadow: 0 1px 5px rgba(0, 0, 0, .25); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mc.m2 .heart svg, .lc .heart svg { width: 18px; height: 18px; stroke-width: 2.1; filter: none; }
  .mc.m2 .heart.is-on, .lc .heart.is-on { background: rgba(255, 255, 255, .94); color: #E5484D; }

  /* v58: the card of the phone List = the small card, taller */
  .lc { position: relative; display: flex; align-items: stretch; gap: 12px; padding: 9px; margin: 0 0 14px; height: var(--lch, 200px); box-sizing: border-box; border-radius: 20px; background: #fff; box-shadow: var(--fs2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .lc.is-dim .mx__ph img, .lc.is-dim .mx__ph .noimg { filter: grayscale(1); opacity: .75; }
  .lc.is-dim .mx__name, .lc.is-dim .mx__sum, .lc.is-dim .mx__hrs { color: #4E605B; }
  .lc.is-dim .mx__cat { color: var(--muted); }
  .lc .mx__ph { width: clamp(108px, 34vw, 136px); min-height: 0; border-radius: 15px; }
  .lc .mx__body { gap: 4px; font-size: 12.5px; }
  .lc .mx__cat { font-size: 11.5px; }
  .lc .mx__name { font-size: 17px; line-height: 1.18; padding-right: 0; -webkit-line-clamp: 2; }
  .lc .mx__visit { color: var(--muted); font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .lc .mx__sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-weight: 500; line-height: 1.3; }
  .lc .mx__hrs > span, .lc .mx__pill > span { -webkit-line-clamp: 2; }
  .lc--s1 .mx__sum { -webkit-line-clamp: 1; }
  .lc--s2 .mx__hrs > span, .lc--s2 .mx__pill > span { -webkit-line-clamp: 1; }
  .lc .mx__body { justify-content: flex-start; }
  .lc__deal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; margin-top: 2px; }
  .lc__deal s { color: #4E5A56; font-size: 18px; font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: #B3261E; }
  .lc__deal i { align-self: center; width: 1px; height: 18px; background: #C3CBCF; }
  .lc__free { color: var(--brand); font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.2px; }
  .lc__free.is-eur { color: var(--ink); }
  .lc__when { flex-basis: 100%; color: var(--brand); font-size: 12.5px; font-weight: 600; line-height: 1.25; }
  .mc.m2 .lc__free { font-size: 18px; }
  .mc.m2 .lc__deal s { font-size: 16px; }
  .mc.m2 .lc__when { font-size: 12px; }
  .lc__deal.is-off b { color: var(--ink); font-size: 16px; font-weight: 800; }
  .lc__deal.is-off { gap: 0 9px; }
  .mc.m2 .lc__deal { margin-top: 0; }
  .lc__deal.is-off .lc__when { color: var(--muted); }
  .lc .mx__pill { padding: 5px 10px 5px 8px; font-size: 12.5px; }
  .lc .mx__book { margin-top: 0; }
  .lc .badge, .lc .mx__badge { font-size: 12.5px; }
  .lc:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
}
@media (max-width: 359px) {
  .mc.m2 { width: calc(100vw - 36px); }
  .mx__ph { width: 96px; }
}

/* =================== v64: review fixes =================== */
/* pins zoomed in: short name + category icon under the pin */
.pin__lab {
  position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 3px; max-width: 128px; padding: 2px 7px 2px 5px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 11px/1.35 var(--sans); white-space: nowrap; pointer-events: none;
  box-shadow: 0 1px 5px rgba(16, 40, 34, .3);
}
.pin__lab .fi { flex: none; color: var(--brand); }
.pin__lab > span { overflow: hidden; text-overflow: ellipsis; }
.pin.dim .pin__lab { color: var(--muted); }
@media (max-width: 899px) {
  /* darker shadows on everything that floats over the pale map */
  :root { --fmap: 0 3px 12px rgba(16, 40, 34, .34); --fmap2: 0 5px 18px rgba(16, 40, 34, .40); }
  body:not(.list-open) .searchrow { box-shadow: var(--fmap2); }
  .listbtn, .locate-btn { box-shadow: var(--fmap) !important; }
  .mc.m2 { box-shadow: var(--fmap2); }
  .mc.m2.is-on { box-shadow: var(--fmap2), 0 0 0 2px var(--brand); }
  .credits { box-shadow: 0 1px 6px rgba(16, 40, 34, .22); }
  .pin { box-shadow: 0 3px 10px rgba(16, 40, 34, .38); }
  .clu { box-shadow: 0 0 0 4px rgba(11, 107, 95, .16), 0 3px 10px rgba(16, 40, 34, .36); }
  /* the List is left with the Map tab of the bottom bar, so no floating Map button */
  #fab-map { display: none !important; }
  /* a tap on the map hides the row of cards; the List button and the credits drop down with it */
  .cards { transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
  body.cards-off .cards { transform: translateY(calc(100% + 8px)); opacity: 0; pointer-events: none; }
  body.cards-off .cards .mc { pointer-events: none; }
  body.cards-off .listbtn { bottom: calc(var(--nav) + 14px + env(safe-area-inset-bottom, 0px)) !important; }
  body.cards-off .leaflet-bottom.leaflet-left { bottom: calc(var(--nav) + 10px + env(safe-area-inset-bottom, 0px)) !important; }
  body.list-open .footer { padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
}

/* v64 place page: the free rules under "When it's free"; Google Maps + Directions in the bottom bar; photos: swipe + dots on phones */
.fcal__rules { margin: -6px 0 12px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.fcal__rules .is-book { color: #9A4B00; font-weight: 600; }
.dbar { flex-wrap: wrap; }
.dbar__btns { flex: none; display: flex; gap: 8px; }
.dbar__g { height: 50px; padding: 0 14px; gap: 6px; font-size: 15px; font-weight: 600; background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.dbar__g .fi { color: var(--brand); }
@media (max-width: 899px) {
  .gnav { display: none !important; }
  .gdots { bottom: 52px; }
  .gdots i { width: 7px; height: 7px; box-shadow: 0 0 2px rgba(0, 0, 0, .5); }
  /* two rows: the price on top, the two buttons side by side under it */
  .dbar { gap: 8px 10px; padding-top: 10px; }
  .dbar__price { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .dbar__price b { font-size: 17px; }
  .dbar__btns { flex: 1 1 100%; }
  .dbar__btns .btn { flex: 1 1 0; height: 46px; padding: 0 10px; font-size: 15px; }
}
@media (max-width: 359px) {
  /* v64: the List card on the narrowest phones: a smaller photo leaves room for the name */
  .lc .mx__ph { width: 92px; }
  .lc .mx__name { font-size: 16px; }
}

/* v64 home: a visible heading and line under it; the Continue card can be closed */
.start__h1 { margin: 6px 0 6px; font: 800 28px/1.15 var(--sans); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.start__lead { margin: 0 0 18px; font-size: 15.5px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
@media (min-width: 900px) { .start__h1 { font-size: 40px; } .start__lead { font-size: 17px; } }
.hcont { display: flex; align-items: center; gap: 4px; margin: 14px 0 0; padding: 4px 4px 4px 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.hcont__go { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border: 0; background: none; text-align: left; }
.hcont__go small { font-size: 12px; color: var(--muted); }
.hcont__go b { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hcont__x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; line-height: 1; }
.hcont__x:hover { background: var(--stone); }
/* the results bar: one button, a quiet pencil instead of a filled search circle */
.pill__edit { background: var(--stone) !important; color: var(--brand) !important; box-shadow: none !important; }
/* the dates calendar: your dates in full colour, free museum days only as a dot, a legend under it */
.cal__d.in-range::before { background: var(--brand); }
.cal__d.in-range span { color: #fff; }
.cal__d.is-start span, .cal__d.is-end span { background: var(--brand-dark); box-shadow: 0 0 0 2px #fff inset; }
.cal__d.in-range i { box-shadow: 0 0 0 1.5px #fff; }
.cal .cal__legend { flex-wrap: wrap; gap: 6px 16px; }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend .lg-range { width: 18px; height: 10px; border-radius: 5px; background: var(--brand); }
.cal__legend u { font-weight: 700; color: var(--ink); text-underline-offset: 3px; }

/* =================== v66: desktop fixes from the second outside review =================== */
/* one wordmark everywhere: the bold dark "Free Attractions" of the map header (the home page and Saved had small green capitals) */
.brand { font: 700 19px/1 var(--sans); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.brand--btn:hover { color: var(--brand); }
/* map clusters: solid green with a white number and a white ring (white on the pale map was nearly invisible);
   with a free museum day inside: a bright-green outer ring; none free on your dates: grey */
.clu { background: var(--brand); color: #fff; box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(21, 48, 42, .34); }
.clu.freeday { background: var(--freeday-ink); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--freeday), 0 3px 10px rgba(21, 48, 42, .34); }
.clu.dim { background: #5E6B66; color: #fff; box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(21, 48, 42, .22); }
.mode__n { font-weight: 500; color: var(--muted); }
.mode.is-on .mode__n { color: var(--ink); }
@media (min-width: 900px) {
  /* the popular cities wrap instead of scrolling sideways (the sixth was cut in half) */
  .trip__suggest--scroll { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  /* the place page, on a computer: Google Maps (plan from home) is the main button, Directions the second */
  .dbar__btns .dbar__g { order: 2; height: 50px; padding: 0 26px; font-size: 16px; background: var(--blue); border-color: var(--blue); color: #fff; }
  .dbar__btns .dbar__g:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
  .dbar__btns .dbar__g .fi { color: #fff; }
  .dbar__btns .dbar__go { order: 1; height: 50px; padding: 0 18px; font-size: 15px; font-weight: 600; background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
  .dbar__btns .dbar__go:hover { background: var(--stone); border-color: var(--line); }
  /* the free-days calendar is as wide as the blocks around it */
  .fcal { max-width: none; }
}

/* =================== v67: desktop, stage B of the second outside review =================== */
/* pointing at a card (or a pin) and the open place: a dark ring and the pin in front, at every zoom */
.mk-top { z-index: 100000 !important; }
.pin.hl { transform: scale(1.22); box-shadow: 0 0 0 3px var(--ink), 0 6px 16px rgba(21, 48, 42, .4); }
.pin.sel { box-shadow: 0 0 0 3px var(--ink), 0 6px 16px rgba(21, 48, 42, .4); }
/* "Show all 12" next to the count */
.showall { margin-left: 10px; padding: 0; border: 0; background: none; font: 600 14px/1 var(--sans); color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; vertical-align: 2px; }
.showall:hover { color: var(--brand-dark); }
/* groups: "Almost free" under the free places, the fold under "Not free on your dates" */
.lsplit--almost i { background: #B9C5C0; }
.lsplit--almost .lsplit__n { background: var(--closed-soft); color: var(--muted); }
.lmore { display: block; width: 100%; margin: 4px 0 16px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: 600 15px/1.2 var(--sans); color: var(--ink); cursor: pointer; }
.lmore:hover { background: var(--stone); }
@media (min-width: 900px) {
  @container side (min-width: 600px) {
    /* the whole card is the button: no green "View"; the hours of an always-free place sit under the description */
    .tgo { display: none; }
    .tile { cursor: pointer; }
    .tmeta .tsub { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink); }
    .tmeta .tsub .now { color: var(--freeday-ink); font-weight: 600; }
    .tmeta .tsub--closed, .tmeta .tsub--cat { display: none; }
    .tside { width: 170px; }
  }
}
/* the two tabs at the top of the list (a computer): they change the list, so they sit on it */
.sidemodes { display: none; }
@media (min-width: 900px) {
  .topbar .modes { display: none !important; }
  .sidemodes { display: flex; flex: none; gap: 10px; padding: 16px 24px 0; }
  .sidemodes[hidden] { display: none; }
  .sidemodes .mode { flex: 1 1 0; min-width: 0; justify-content: flex-start; padding-right: 12px; }
  .sidemodes .mode__txt { min-width: 0; }
  .sidenote { width: 100%; margin: 0; padding: 11px 14px; border-radius: 12px; background: var(--stone); font-size: 14px; line-height: 1.4; color: var(--ink); }
}
@container side (max-width: 520px) { .sidemodes .mode__txt small { display: none; } }
/* place page: a text link back to the list (a computer; phones keep the round arrow on the photo) */
.dbacklink, .btn--showmap { display: none; }
@media (min-width: 900px) {
  .dbacklink { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px 14px; padding: 6px 12px 6px 6px; border: 0; border-radius: 999px; background: none; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
  .dbacklink svg { width: 20px; height: 20px; }
  .dbacklink:hover { background: var(--stone); color: var(--brand); }
  .rbtn.back { display: none; }
  /* the big map is next to the page: no small map */
  .minimap, .mapcredit { display: none; }
  .btn--showmap { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
  .btn--showmap .fi { color: var(--brand); }
  .actions--loc { display: flex; gap: 8px; }
  .actions--loc .btn { flex: 1 1 0; }
}

/* v67: loading: grey shimmer where photos and cards will be (no letters, no "Loading…" text, no jump) */
@keyframes shim { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.noimg--wait, .skel__ph, .skel__tx i, .hcard--skel .hcard__img, .hcard--skel b, .hcard--skel small {
  background: linear-gradient(100deg, #E4ECE8 35%, #F2F6F3 50%, #E4ECE8 65%) 0 0 / 300% 100%; animation: shim 1.5s linear infinite;
}
.hcard--skel { pointer-events: none; }
.hcard--skel b { display: block; height: 15px; width: 70%; border-radius: 6px; margin-top: 2px; }
.hcard--skel small { display: block; height: 13px; width: 45%; border-radius: 6px; margin-top: 6px; }
.skels { display: block; }
.skel { display: grid; grid-template-columns: 120px 1fr; gap: 14px; height: 200px; padding: 12px; margin: 0 0 12px; border-radius: 22px; box-shadow: 0 1px 6px rgba(21, 48, 42, .1); background: #fff; }
.skel__ph { border-radius: 16px; }
.skel__tx { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.skel__tx i { display: block; height: 14px; border-radius: 7px; }
.skel__tx i:nth-child(1) { width: 35%; }
.skel__tx i:nth-child(2) { width: 80%; }
.skel__tx i:nth-child(3) { width: 55%; }
@media (min-width: 900px) {
  .skels { padding: 0 24px; }
  .skel { grid-template-columns: minmax(200px, 34%) 1fr; gap: 22px; height: auto; padding: 18px 0; margin: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); background: none; }
  .skel__ph { aspect-ratio: 4 / 3; border-radius: 18px; }
}
/* home, a computer: the heading, the search bar and "Continue" share one left edge and the search/Continue one width */
@media (min-width: 900px) {
  .hpill { margin-left: 0; margin-right: 0; }
  .hcont { max-width: 760px; }
}
/* narrow list (900–1200 px wide screens): the two tabs fit side by side, and a long price note wraps instead of running over the card */
@container side (max-width: 520px) {
  .sidemodes .mode .micon { display: none; }
  .sidemodes .mode { padding: 8px 12px; justify-content: center; }
  .sidemodes .mode__txt b { font-size: 14.5px; }
}
.tile .cprice small { white-space: normal; max-width: 130px; margin-left: auto; }

/* =================== v68 =================== */
/* pin names: up to two lines instead of a cut with "…" */
.pin__lab { width: max-content; max-width: 112px; white-space: normal; align-items: flex-start; border-radius: 12px; line-height: 1.2; padding: 3px 7px 3px 5px; text-align: left; }
.pin__lab .fi { margin-top: 1px; }
.pin__lab > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: clip; }

/* place page: the booking button (free ticket that must be booked) */
.dbar--book .dbar__book { order: 2; height: 50px; padding: 0 22px; font-size: 16px; gap: 6px; }
.dbar--book .dbar__go { order: 1; height: 50px; padding: 0 18px; font-size: 15px; font-weight: 600; background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.dbar--book .dbar__go:hover { background: var(--stone); }
@media (max-width: 899px) {
  .dbar--book .dbar__book { padding: 0 10px; font-size: 15px; height: 46px; }
  .dbar--book .dbar__go { height: 46px; }
}
.btn--showmap, .actions--loc [data-showmap] { display: none !important; }

/* desktop: opening a place no longer shows the list through it */
@media (min-width: 900px) {
  .card { transition: opacity .12s, transform .12s; }
  .card.open { transition: none; }
}

/* calendar when choosing dates: the same soft look as the free-days calendar on the place page */
.cal__d.in-range::before { background: #D3E3DC; inset: 3px 0; }
.cal__d.in-range span { color: var(--ink); }
.cal__d.is-start::before { left: 3px; border-radius: 999px 0 0 999px; }
.cal__d.is-end::before { right: 3px; border-radius: 0 999px 999px 0; }
.cal__d.is-start.is-end::before { display: none; }
.cal__d.is-start span, .cal__d.is-end span { background: #D3E3DC; color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 2px var(--brand-dark); }
.cal__d.in-range i { box-shadow: none; }
.cal__d.is-start i, .cal__d.is-end i { box-shadow: none; }
.cal__legend .lg-range { background: #D3E3DC; }
.trip__go .btn--wide { height: 46px; font-size: 15.5px; }

/* home, a computer: the top block is centred; the rows of cards show whole cards with arrows on the sides */
@media (min-width: 900px) {
  .start__h1, .start__lead { text-align: center; }
  .hpill { margin-left: auto; margin-right: auto; }
  .hcont { margin-left: auto; margin-right: auto; }
  .hscroll { position: relative; }
  .hcards { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; margin: 0; padding: 2px 0 8px; scroll-snap-type: x mandatory; scroll-padding: 0; }
  .hcard { width: auto; min-width: 0; }
  .hnav { position: absolute; top: calc(50% - 30px); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(16, 40, 34, .22); display: grid; place-items: center; }
  .hnav[hidden] { display: none; }
  .hnav:hover { background: var(--stone); }
  .hnav--prev { left: -14px; }
  .hnav--next { right: -14px; }
}
@media (min-width: 1240px) {
  .hcards { grid-auto-columns: calc((100% - 70px) / 6); }
}
@media (max-width: 899px) { .hnav { display: none; } }
.cal__d.in-range:nth-child(7n+1)::before { left: 3px; border-radius: 999px 0 0 999px; }
.cal__d.in-range:nth-child(7n)::before { right: 3px; border-radius: 0 999px 999px 0; }

/* =================== v69 =================== */
/* Where / When windows on a computer: a menu right under the field, no dark screen */
@media (min-width: 900px) {
  #trip-pop.is-anchored { background: transparent; display: block; padding: 0; }
  #trip-pop.is-anchored .pop { position: fixed; max-width: none; max-height: calc(100vh - 120px); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 12px 40px rgba(16, 40, 34, .28); border: 1px solid var(--line); animation: none; }
  #trip-pop.is-anchored .trip__title { display: none; }
  #trip-pop.is-anchored .sheet__close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 20px; }
  .cal__months--two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .cal__nav--gap { width: 44px; height: 44px; }
  .trip--when .trip__sub { padding-right: 40px; }
}

/* days of the trip above the list */
.daystrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 24px 10px; scrollbar-width: none; flex: none; }
.daystrip::-webkit-scrollbar { display: none; }
.dchip { position: relative; flex: none; min-width: 58px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); line-height: 1.2; }
.dchip b { font-size: 14px; font-weight: 700; }
.dchip small { font-size: 12px; color: var(--muted); }
.dchip:hover:not(:disabled) { background: var(--stone); }
.dchip.is-on { background: #D3E3DC; border-color: var(--brand-dark); }
.dchip.is-past { opacity: .4; }
.dchip i { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--freeday); }
@media (max-width: 899px) { .daystrip { padding: 4px 16px 8px; } }
/* Saved page as a trip planner */
.ssec__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 6px; }
.ssec__head h3 { margin: 0; }
.ssec__dates { color: var(--muted); font-weight: 600; font-size: 15px; }
.ssec__go { margin-left: auto; height: 38px; padding: 0 16px; font-size: 14px; }
.ssec__sum { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.scard__st { display: block; margin-top: 3px; font-style: normal; font-size: 13.5px; font-weight: 600; }
.scard__st--free { color: var(--freeday-ink); }
.scard__st--paid { color: var(--muted); font-weight: 500; }
.scard__st--closed { color: #A33A2A; }

/* =================== v70: map pins are teardrops with an icon (no photos on the map) =================== */
.pin { border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; transform-origin: 50% 150%; }
.pin__d {
  position: absolute; inset: 0; display: grid; place-items: center; box-sizing: border-box;
  border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: var(--brand); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 7px rgba(16, 40, 34, .38);
}
.pin__d .fi { transform: rotate(45deg); }
.pin.freeday .pin__d { background: var(--freeday); }
.pin.dim .pin__d { background: #fff; color: #5E6B66; border-color: #B4BEB9; box-shadow: 0 1px 5px rgba(16, 40, 34, .22); }
.pin.locked .pin__d { background: #E4ECE8; color: #8A9792; border-color: #C9D3CF; }
.pin.sel .pin__d, .pin.hl .pin__d { background: var(--ink); }
.pin.hl, .pin.sel { transform: none; box-shadow: none !important; }
.leaflet-marker-icon.mk:hover .pin { transform: scale(1.1); }
.pin.hl { transform: scale(1.18); }
.pin__heart { top: -9px !important; right: -9px !important; }

/* v70c: calmer header above the list: one segmented switch, no counts, no grey explanation bar, day chips on phones only */
.mode__n { display: none; }
#list .explain:not(.explain--none) { display: none; }
.dchip { flex-direction: row; align-items: baseline; gap: 5px; min-width: 0; padding: 7px 13px; border-radius: 999px; }
.dchip b { font-size: 13.5px; font-weight: 600; }
.dchip small { font-size: 13px; color: var(--muted); }
.dchip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.dchip.is-on small { color: #CFE5DF; }
.dchip i { top: 3px; right: 4px; }
@media (min-width: 900px) {
  .daystrip { display: none !important; }
  .sidemodes:has(.mode) { margin: 14px 24px 0; padding: 3px; gap: 2px; border-radius: 999px; background: var(--stone); }
  .sidemodes .mode { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; justify-content: center; }
  .sidemodes .mode .micon, .sidemodes .mode__txt small { display: none; }
  .sidemodes .mode__txt b { font-size: 14px; font-weight: 500; }
  .sidemodes .mode.is-on { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(21, 48, 42, .16); }
  .sidemodes .mode.is-on b { font-weight: 600; }
}

/* =================== v72: one calm pin language =================== */
/* two colours only: green = available, grey = not on your dates; one size; selected/hovered = a soft halo, never a different colour or size */
.pin .pin__d, .pin.freeday .pin__d { background: var(--brand); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(21, 48, 42, .36); }
.pin.dim .pin__d, .pin.locked .pin__d { background: #9DAEA7; color: #fff; border-color: #fff; box-shadow: 0 2px 5px rgba(21, 48, 42, .22); }
.pin.sel .pin__d, .pin.hl .pin__d { background: var(--brand); box-shadow: 0 0 0 4px rgba(11, 107, 95, .3), 0 2px 6px rgba(21, 48, 42, .36); }
.pin.dim.sel .pin__d, .pin.locked.sel .pin__d, .pin.dim.hl .pin__d { background: #9DAEA7; box-shadow: 0 0 0 4px rgba(94, 107, 102, .3), 0 2px 5px rgba(21, 48, 42, .22); }
.pin, .pin.hl, .pin.sel, .leaflet-marker-icon.mk:hover .pin { transform: none; }
.clu, .clu.freeday {
  width: 100%; height: 100%; box-sizing: border-box; border: 2px solid #fff; border-radius: 50%;
  background: var(--brand); color: #fff; font: 700 15px/1 var(--sans); box-shadow: 0 2px 6px rgba(21, 48, 42, .36); transition: none;
}
.clu.dim { background: #9DAEA7; color: #fff; box-shadow: 0 2px 5px rgba(21, 48, 42, .22); }
.leaflet-marker-icon.mk:hover .clu { transform: none; }
/* the name under the pin: centred, two lines where it can, three at most, one small rounded box */
.pin__lab {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); z-index: 3;
  display: block; width: max-content; max-width: 100px; padding: 3px 8px; border-radius: 11px; box-sizing: border-box;
  background: #fff; color: var(--ink); font: 600 11.5px/1.2 var(--sans); text-align: center; white-space: normal; overflow-wrap: break-word;
  box-shadow: 0 1px 5px rgba(16, 40, 34, .3); pointer-events: none;
}
.pin__lab > span { display: block; overflow: visible; text-overflow: clip; text-wrap: balance; }
.pin.dim .pin__lab { color: var(--muted); }

/* =================== v73: phones – pull the list up from the bottom, pull it down by its header =================== */
.pull { display: none; }
@media (max-width: 899px) {
  .pull {
    position: absolute; left: 50%; z-index: 1310; width: 120px; height: 30px; margin: 0 0 0 -60px; padding: 0; border: 0; background: none;
    display: grid; place-items: center; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent;
    bottom: calc(var(--nav) + env(safe-area-inset-bottom, 0px) + var(--cardsh, 120px) - 21px); transition: bottom .26s cubic-bezier(.2, .8, .2, 1);
  }
  .pull[hidden] { display: none; }
  .pull i { width: 46px; height: 5px; border-radius: 3px; background: #fff; box-shadow: 0 1px 5px rgba(21, 48, 42, .4); }
  body.cards-off .pull { bottom: calc(var(--nav) + env(safe-area-inset-bottom, 0px) + 6px); }
  body.list-open .pull, body.list-pulling .pull, body.detail-open .pull { display: none; }
  .cards { touch-action: pan-x; }
  /* while the list is being dragged it is a sheet with rounded top corners over the map */
  body.list-pulling .side { pointer-events: auto; background: transparent; z-index: 1350; }
  body.list-pulling .side .sheet {
    display: flex; top: calc(78px + var(--safe-t)); bottom: 0; height: auto; border-radius: 20px 20px 0 0; background: var(--paper);
    box-shadow: 0 -8px 26px rgba(21, 48, 42, .26); will-change: transform; overflow: hidden; transform: none; transition: none;
  }
  body.list-pulling .sheet__bar, body.list-open .sheet__bar { display: block; margin-bottom: 6px; }
  body.list-pulling .sidehead, body.list-open .sidehead { text-align: left; padding: 8px 16px 10px; touch-action: none; cursor: grab; }
  body.list-pulling .scroll { overflow-y: hidden; }
  body.list-pulling .cards { opacity: 1; }
  body.list-pulling .listbtn { display: none !important; }
}

/* =================== v74: phones – the days are one chip in the list header that opens a month =================== */
/* v96: was display:contents on phones, which let the count and the sort button fall onto
   separate lines. One flex row on every screen; the count takes the slack. */
.headrow { display: flex; align-items: center; gap: 10px; }
.headrow h2 { flex: 1; min-width: 0; }
/* v96: sorting the places. A scrolling row of pills, so a fourth option does not squeeze the
   others on a narrow phone; it sits under the count line rather than beside it, because that line
   already carries "in view" and "Show all N". */
/* computer: the options are a row of pills under the count, and the toggle is not needed */
.lsort { position: relative; }
.lsort__toggle { display: none; }
.lsort__opts { display: flex; gap: 6px; }
.lsort__b {
  flex: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--muted); cursor: pointer;
  font: 600 13.5px/1 var(--sans); white-space: nowrap;
}
.lsort__b.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lsort__b:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 899px) {
  /* phone: the count line is already busy, so the row of pills becomes one button that opens a
     menu over the list. The pills keep their markup, so the sort logic is the same on both. */
  .lsort { flex: none; margin-left: auto; }
  .lsort__toggle {
    display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
    font: 600 13.5px/1 var(--sans); white-space: nowrap; cursor: pointer;
  }
  .lsort__toggle svg { color: var(--muted); transition: transform .16s ease; }
  .lsort.is-open .lsort__toggle svg { transform: rotate(180deg); }
  .lsort__opts {
    display: none; position: absolute; top: calc(100% + 6px); right: 0; z-index: 20;
    flex-direction: column; gap: 2px; min-width: 160px; padding: 6px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 10px 30px rgba(16, 40, 34, .18);
  }
  .lsort.is-open .lsort__opts { display: flex; }
  .lsort__opts .lsort__b { width: 100%; text-align: left; border: 0; border-radius: 10px; padding: 10px 12px; }
}
.daychip, .dpop, .dpop__bg { display: none; }
.daystrip { display: none !important; }
@media (max-width: 899px) {
  .headrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .headrow h2 { flex: 1; min-width: 0; }
  .daychip { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid #B9C7C1; background: #fff; color: var(--ink); font: 600 13.5px/1 var(--sans); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
  .daychip svg:first-child { color: var(--brand); }
  .daychip.is-on { background: var(--stone); border-color: var(--brand); }
  .daychip.is-open { background: var(--brand); border-color: var(--brand); color: #fff; }
  .daychip.is-open svg:first-child { color: #fff; }
  .daychip.is-open .daychip__v { transform: rotate(180deg); }
  .dpop__bg { display: block; position: fixed; inset: 0; z-index: 1990; background: rgba(21, 48, 42, .16); }
  .dpop { display: block; position: fixed; z-index: 2000; width: min(300px, calc(100vw - 24px)); box-sizing: border-box; padding: 10px 10px 8px; background: #fff; border: 1px solid #B9C7C1; border-radius: 18px; box-shadow: 0 12px 32px rgba(21, 48, 42, .3); }
  .dpop button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dpop__top { display: flex; align-items: center; justify-content: space-between; }
  .dpop__top b { font-size: 15px; font-weight: 600; }
  .dpop__nav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
  .dpop__nav:disabled { opacity: .25; cursor: default; }
  .dpop__g { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; margin-top: 4px; }
  .dpop__g > * { position: relative; height: 36px; display: grid; place-items: center; font-size: 14px; }
  .dpop__g .h { height: 24px; font-size: 12px; color: var(--muted); }
  .dpop__g .x { color: #B3BFBA; }
  .dpop__g .t { background: #E3EEE8; font-weight: 500; }
  .dpop__g .t.x { background: #F0F5F2; font-weight: 400; }
  .dpop__g .t.s { background: radial-gradient(circle at center, var(--brand) 17px, #E3EEE8 17.5px); color: #fff; font-weight: 700; }
  .dpop__g .f::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--freeday); }
  .dpop__g .s.f::after { background: #fff; }
  .dpop__lg { display: flex; align-items: center; gap: 6px; margin: 6px 4px 0; font-size: 12px; color: var(--muted); }
  .dpop__lg i { width: 7px; height: 7px; border-radius: 50%; background: var(--freeday); }
  .dpop__foot { display: flex; justify-content: space-between; margin-top: 8px; padding: 8px 4px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .dpop__foot button { padding: 6px 4px; color: var(--muted); }
  .dpop__foot .dpop__all { color: var(--brand); font-weight: 600; }
  .dpop__foot .dpop__all.is-on::before { content: "✓ "; }
}

/* v83: landmarks – small grey marks with a name; not clickable, behind the pins */
.mk--lm { pointer-events: none !important; }
.lm { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; }
.lm { opacity: .9; }
.lm__d { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); border: 1px solid #C3C9D2; color: #7A808B; }
.lm__d svg { width: 10px; height: 10px; }
.lm__d svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lm__n { max-width: 120px; text-align: center; font-size: 10.5px; font-weight: 600; line-height: 1.1; color: #5B6675; letter-spacing: .01em; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }


/* v84: the four list chips (All / Always free / Free on your dates / Paid), one scrolling row on every screen */
.sidemodes { display: flex !important; flex: none; gap: 8px; padding: 2px 16px 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sidemodes::-webkit-scrollbar { display: none; }
.sidemodes[hidden] { display: none !important; }
@media (min-width: 900px) { .sidemodes { padding: 2px 24px 12px; } }
.showchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13.5px/1 var(--sans); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.showchip__n { color: var(--muted); font-weight: 500; }
.showchip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.showchip.is-on .showchip__n { color: rgba(255, 255, 255, .8); }
.showchip:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* a paid place: currency sign on the pin (top-left) and on the photo of the card */
.pin__cur { position: absolute; z-index: 2; top: -6px; left: -6px; min-width: 18px; height: 18px; padding: 0 3px; box-sizing: border-box; border-radius: 9px; display: grid; place-items: center; background: #fff; border: 1.5px solid #8A93A0; color: #4E5A66; font: 700 11px/1 var(--sans); font-style: normal; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.pcur { position: absolute; z-index: 2; left: 6px; bottom: 6px; min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box; border-radius: 11px; display: grid; place-items: center; background: #fff; color: #4E5A66; font: 700 12px/1 var(--sans); font-style: normal; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.tph { position: relative; }


/* ---------------------------------------------------------------------------
   v90: the home page opens on a photo. The headline sits on a white scrim so it
   stays readable whatever picture is behind it, and the picture is cropped by
   object-fit, so swapping in another city means replacing three files and the
   credit line - no layout work.
   --------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; margin: calc(-24px - var(--safe-t)) -20px 0; padding: calc(16px + var(--safe-t)) 20px 20px;
  overflow: hidden; border-bottom-left-radius: 48% 30px; border-bottom-right-radius: 48% 30px; }
/* with no photo the hero is just a quiet wash, and it has no reason to be tall */
.hero:not(:has(.hero__bg))::after { background: linear-gradient(180deg, var(--stone) 0%, rgba(240,246,243,.45) 62%, rgba(255,255,255,0) 100%); }
.hero:not(:has(.hero__bg)) { min-height: 0; padding-bottom: 26px; }
@media (min-width: 900px) { .hero:not(:has(.hero__bg)) .start__h1 { margin-top: 18px; } .hero:not(:has(.hero__bg)) #hero-pill { padding-top: 22px; } }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 46%, rgba(255,255,255,.62) 72%, rgba(255,255,255,.80) 100%); }
.hero__in { position: relative; }
.hero__credit { position: absolute; right: 16px; bottom: 26px; z-index: 1; margin: 0; max-width: 60%; font-size: 10px; line-height: 1;
  color: var(--ink); opacity: .55; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(255,255,255,.7); }
.hero .start__top { margin-bottom: 10px; }
.hero .start__h1 { text-wrap: balance; }
.hero #hero-pill { margin-top: 18px; }
.hero .hpill { box-shadow: 0 6px 22px rgba(21, 48, 42, .18); }

/* the rows start under the arc */
#home .hrows { margin-top: 22px; }

.hrow { gap: 12px; }
.hrow__title { display: inline-flex; align-items: center; gap: 10px; }
.hrow__ico { flex: none; color: var(--brand); }
.hrow__all { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--brand);
  border-radius: 999px; color: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hrow__all:hover { background: var(--brand); color: #fff; }
.hrow__arrows { margin-left: auto; }

.hfoot { margin: 34px auto 0; max-width: 820px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
.hfoot p { margin: 0 0 8px; }
.hfoot .footer__links { margin: 0; }

@media (min-width: 900px) {
  .hero { margin: -40px -48px 0; padding: 30px 48px 40px; border-bottom-left-radius: 50% 26px; border-bottom-right-radius: 50% 26px; min-height: 380px; display: flex; flex-direction: column; }
  /* the text sits on the left, so the scrim runs sideways and the right half keeps the picture */
  .hero::after { background: linear-gradient(97deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 26%, rgba(255,255,255,.58) 46%, rgba(255,255,255,.16) 68%, rgba(255,255,255,0) 86%); }
  .hero__in { display: flex; flex-direction: column; flex: 1; }
  .hero .start__h1, .hero .start__lead { text-align: left; margin-left: 0; margin-right: 0; max-width: 17ch; }
  .hero .start__lead { max-width: 42ch; }
  .hero .start__h1 { font-size: 46px; margin-top: 26px; }
  .hero #hero-pill { margin-top: auto; padding-top: 26px; }
  .hero .hpill { margin-left: 0; max-width: 620px; }
  /* clear of the arc, which rises towards the corners */
  .hero__credit { right: 30px; bottom: 30px; }
}
@media (max-width: 899px) {
  /* keep the first screen mostly content: the picture is a band, not a poster */
  .hero__bg { object-position: 50% 46%; }
  /* the headline needs the scrim, the lower half does not: let the picture come through there */
  /* the scrim has to stay strong for the whole height of the text; the picture comes through
     below it, around and under the search pill. Readability first, photograph second. */
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.94) 42%, rgba(255,255,255,.88) 62%, rgba(255,255,255,.52) 80%, rgba(255,255,255,.34) 100%); }
  .hero .start__lead { max-width: 34ch; }
  /* the row heading and its button share a narrow line */
  /* the icon plus the full sentence plus the button do not fit one line on a phone, and two lines
     next to a pill button look broken: on a narrow screen the icon carries the meaning and the
     heading is just the city. The section's aria-label still reads the whole sentence. */
  .hrow__title { font-size: 19px; }
  .hrow__pre { display: none; }
  .hrow__ico { width: 23px; height: 23px; }
  .hrow__all { padding: 5px 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { will-change: auto; }
}

/* ===== v90: the place page, redesigned: Tickets → info → Website / Directions / Share; bottom bar = free time + Google Maps ===== */
.tk { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.tk h3, .dsec.tk h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tk-row { display: flex; align-items: baseline; gap: 8px; font-size: 17px; margin-bottom: 8px; }
.tk-row i { flex: 1; border-bottom: 2px dotted #C9D6D0; transform: translateY(-4px); min-width: 16px; }
.tk-row b { font-weight: 700; }
.tk-row.is-free span, .tk-row.is-free b { color: var(--freeday-ink); font-weight: 700; }
.tk-free { display: flex; gap: 7px; align-items: flex-start; margin: 4px 0 8px; font-size: 16px; font-weight: 700; color: var(--freeday-ink); line-height: 1.35; }
.tk-free svg { flex: none; margin-top: 3px; }
.tk-closed { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--closed-soft); font-weight: 700; color: var(--ink); }
.tl { margin: 6px 0 4px; }
.tl-h { margin: 0 0 5px; font-size: 12px; color: var(--muted); font-weight: 600; }
.tl-bar { position: relative; height: 32px; border-radius: 9px; overflow: hidden; background: #DCE5E1; font-size: 13px; font-weight: 700; }
.tl-bar span { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; }
.tl-paid { color: var(--muted); }
.tl-free { background: var(--freeday); color: #fff; }
.tl-ticks { position: relative; height: 18px; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.tl-ticks i { position: absolute; top: 0; font-style: normal; transform: translateX(-50%); white-space: nowrap; }
.tl-ticks i.is-start { transform: none; }
.tl-ticks i.is-end { transform: translateX(-100%); }
.tk-note { margin: 8px 0 0; font-size: 14px; color: #2C423C; }
.tk-note a { font-weight: 600; color: var(--brand); display: inline-flex; gap: 4px; align-items: center; }
.tk-fine { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

.info { margin: 16px 0 0; border-top: 1px solid var(--line); }
.info__row { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid #EEF2F0; }
/* v95: the hours prose is its own row under the day table, not stacked inside the value column.
   "Opening hours" used to sit alone beside a value five times its height, while the prose wrapped
   in a column two thirds of the page wide. Now the label stays beside the compact table and the
   sentences get the full width: on Madrid's Archaeological Museum, 3 lines instead of 6. The row
   keeps the normal bottom border, so the grey line under the hours block is the usual one. */
.info__row--noted { border-bottom: 0; padding-bottom: 2px; }
.info__row--note { padding-top: 0; padding-left: 110px; }
.info__row--note .info__sub:first-child { margin-top: 0; }
/* on a phone the prose drops to the full width of the card: the label column is dead space there,
   and this is the longest text in the block, so it is the one that gains most from the room */
@media (max-width: 899px) {
  .info__row--note { padding-left: 0; }
}
.info dt { width: 118px; flex: none; color: var(--muted); font-size: 14px; padding-top: 1px; }
.info dd { margin: 0; font-weight: 600; min-width: 0; flex: 1; }
.info dd .wk { font-size: 14.5px; }
.info dd .wk th { font-weight: 600; }
.info dd .wk td { font-weight: 400; }
.info__sub { margin: 4px 0 0; font-size: 13px; font-weight: 400; color: var(--muted); }
.info__sub .fact__warn { color: #9A5B00; font-weight: 600; }

.acts { display: flex; gap: 8px; margin: 16px 0 4px; }
.acts__b { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font: 600 13.5px/1.2 var(--sans); cursor: pointer; }
.acts__b svg { color: var(--brand); }
.acts__b:hover { background: var(--stone); }
.acts__b:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* the bottom bar: the price status on the left, Google Maps (or Book + Google Maps) on the right */
.dbar.dbar--v90 { flex-wrap: nowrap; align-items: center; gap: 12px; }
.dbar--v90 .dbar__price { flex: 1 1 auto; min-width: 0; }
.dbar--v90 .dbar__price.is-freeday b { color: var(--freeday-ink); }
.dbar--v90 .dbar__btns { flex: none; display: flex; gap: 8px; }
.dbar--v90 .dbar__btns .btn { order: 0; height: 48px; padding: 0 18px; font-size: 15px; gap: 6px; flex: none; }
.dbar--v90 .dbar__gmap.btn--primary { background: var(--freeday); border-color: var(--freeday); color: #fff; border-radius: 999px; }
.dbar--v90 .dbar__gmap.btn--primary:hover { background: var(--freeday-ink); border-color: var(--freeday-ink); }
.dbar--v90 .dbar__gmap.btn--primary .fi { color: #fff; }
.dbar--v90 .dbar__gmap--2 { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.dbar--v90 .dbar__book { border-radius: 999px; }
@media (max-width: 899px) {
  .dbar.dbar--v90 { flex-wrap: nowrap; padding-top: 10px; }
  .dbar--v90 .dbar__price { flex: 1 1 auto; flex-direction: column; align-items: flex-start; }
  .dbar--v90 .dbar__price b { font-size: 15.5px; }
  .dbar--v90 .dbar__btns { flex: none; }
  .dbar--v90 .dbar__btns .btn { flex: none; height: 44px; padding: 0 14px; font-size: 14.5px; }
  .dbar--v90 .dbar--book, .dbar--v90 .dbar__btns:has(.dbar__book) { flex-direction: column; }
}
@media (max-width: 899px) {
  /* book + Google Maps on a phone: two lines (price above, the two buttons side by side) */
  .dbar.dbar--v90:has(.dbar__book) { flex-wrap: wrap; }
  .dbar.dbar--v90:has(.dbar__book) .dbar__price { flex-basis: 100%; }
  .dbar.dbar--v90:has(.dbar__book) .dbar__btns { flex: 1 1 100%; flex-direction: row; }
  .dbar.dbar--v90:has(.dbar__book) .dbar__btns .btn { flex: 1 1 0; }
}
@media (max-width: 359px) {
  .dbar--v90 .dbar__btns .btn { padding: 0 11px; font-size: 14px; }
  .info dt { width: 96px; }
}
.info, .acts { margin-left: 20px; margin-right: 20px; }
.dsec.tk { margin-top: 14px; }
.more + .dsec.tk { margin-top: 4px; }

/* v90b: tickets as two dotted rows, details in small print; the bottom text lives under Read more;
   the panel fades to pale green at its end so the bottom bar (with a soft shadow) stands apart */
.tk-row.is-free { margin-top: 2px; }
.tk-note, .tk-fine { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.45; }
.tk-row + .tk-note, .tk-row + .tk-fine { margin-top: 8px; }
.dmore { margin-top: 4px; }
.dmore .dsec { margin-top: 18px; }
.dmore .dsec h3 { font-size: 15px; margin-bottom: 8px; }
.dmore .tips { font-size: 14.5px; }
.dmore .locline { margin: 0; }
.dmore .chk { margin-top: 16px; border-top: 0; padding-top: 0; }
.linkbtn { margin: 6px 0 0 24px; padding: 4px 0; border: 0; background: none; color: var(--brand); font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dwrap { background: linear-gradient(to bottom, var(--paper) 0, var(--paper) calc(100% - 200px), var(--freeday-soft) 100%); padding-bottom: 48px; }
.dbar.dbar--v90 { border-top: 0; box-shadow: 0 -6px 18px rgba(21, 48, 42, .10); background: var(--paper); }
/* the panel fills the screen even when its content is short, so the green end and the bar sit at the bottom */
#detail.open { display: flex; flex-direction: column; }
#detail.open > .dwrap { flex: 1 0 auto; width: 100%; }
#detail.open > .grab, #detail.open > .dbar { flex: none; }
#detail.open > .dbar { width: 100%; align-self: stretch; }
/* v90c: a wide panel (≈40% of a big screen): the green end and the bottom bar run the full panel width;
   only the content stays in a 720 px column in the middle */
#detail.open > .dwrap { max-width: none; margin: 0; padding-left: max(0px, calc((100% - 720px) / 2)); padding-right: max(0px, calc((100% - 720px) / 2)); }
#detail.open > .dbar { max-width: none; margin: 0; padding-left: max(20px, calc((100% - 720px) / 2 + 20px)); padding-right: max(20px, calc((100% - 720px) / 2 + 20px)); }
/* v90: landmarks a bit clearer: a light grey round mark with a white ring, the name on a white pill; still behind the pins */
.lm { opacity: 1; gap: 3px; }
.lm__d { width: 26px; height: 26px; background: #E4E8EC; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); color: #66707C; }
.lm__d svg { width: 14px; height: 14px; }
.lm.is-dot .lm__d { width: 20px; height: 20px; }
.lm.is-dot .lm__d svg { width: 11px; height: 11px; }
.lm__n { max-width: 130px; padding: 2px 7px; border-radius: 8px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-size: 11.5px; color: #59636F; text-shadow: none; }
.lm__n { width: max-content; }

/* v90: city intro, a line above the list and a paragraph under it; the static (prerendered) list */
.citylead { padding: 2px 24px 12px; }
.citylead p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #2C423C; }
.citylead__more { white-space: nowrap; color: var(--brand); font-weight: 600; }
.cityabout { margin: 8px 24px 20px; padding: 18px 20px; border-radius: 16px; background: var(--stone); }
.cityabout h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.cityabout p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; color: #2C423C; }
.cityabout p:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
  .citylead { padding: 2px 16px 10px; }
  .cityabout { margin: 8px 16px 20px; }
}
.prer { padding: 4px 24px 24px; }
.prer h2 { font-size: 22px; margin: 6px 0 4px; }
.prer h3 { font-size: 15px; margin: 18px 0 6px; }
.prer p, .prer li, .prer dd, .prer dt { font-size: 14.5px; line-height: 1.5; }
.prer ul { margin: 0; padding-left: 18px; }
.prer .prer__list { list-style: none; padding: 0; }
.prer .prer__list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.prer .prer__list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.prer .prer__st { display: block; color: var(--freeday-ink); font-weight: 600; font-size: 13.5px; }
.prer .prer__st.is-paid { color: var(--muted); }
.prer .prer__sum { display: block; color: var(--muted); font-size: 13.5px; }
.prer dl { margin: 0; }
.prer dt { color: var(--muted); margin-top: 8px; }
.prer dd { margin: 0; font-weight: 600; }
.grid > .prer, .grid > h2.prer { grid-column: 1 / -1; padding-left: 0; padding-right: 0; }
.prer dd.prer__note { font-weight: 400; color: var(--muted); font-size: 13.5px; }

/* v90: on a computer the list is always 35% of the width, the map 65%; no resizer */
@media (min-width: 900px) {
  .layout { --side-default: 35%; grid-template-columns: 35% minmax(0, 1fr); }
  .resizer { display: none !important; }
}
.cityabout__links { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid rgba(20, 58, 51, .12); font-weight: 600; }
.cityabout__links a { color: var(--brand); }

/* v90: the home row title and cards are links now */
a.hrow__title, a.hcard { color: var(--ink); text-decoration: none; }
a.hrow__title { display: inline-flex; align-items: center; gap: 6px; }
a.hcard:focus-visible, a.hrow__title:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 12px; }

/* v90: the hero wash runs the full width of the window (it stopped at the 1200 px column and looked cut off);
   the text stays in the column */
@media (min-width: 900px) {
  .start { overflow-x: clip; }
  .hero { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
}

/* v90: checked date and "report a change" on the place page; "suggest a place" under the city list */
.fix { margin: 14px 20px 6px; }
.fix__checked { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.fix__checked svg { flex: none; margin-top: 2px; color: var(--freeday-ink); }
.fix__btn, .suggest__btn { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px dashed #9FC9B8; border-radius: 14px; background: var(--freeday-soft); color: var(--ink); text-decoration: none; }
.fix__btn svg { flex: none; color: var(--brand); }
.fix__btn span, .suggest__btn { flex-direction: column; align-items: flex-start; }
.fix__btn span { display: flex; gap: 1px; }
.fix__btn b, .suggest__btn b { font-size: 15px; }
.fix__btn small, .suggest__btn span { font-size: 13px; color: var(--muted); }
.fix__btn:hover, .suggest__btn:hover { border-color: var(--brand); background: #D7F0E3; }
.suggest { margin: 4px 24px 8px; }
.suggest__checked { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.suggest__btn { gap: 2px; }
@media (max-width: 899px) { .suggest { margin: 4px 16px 8px; } }

/* v90: the map key and the per-status colours were tried and taken back (owner: too busy). Pins keep their
   v89 colours; the st-* classes from pinState() stay on the pins, for the variants below. */
.legend { display: none !important; }
/* v90: places that usually charge carry a slightly bigger € badge (was 18 px); grey pins (paid on your dates) keep it */
.pin__cur { min-width: 22px; height: 22px; border-radius: 11px; top: -9px; left: -9px; font-size: 13px; border-width: 1.5px; }

/* v90: the Ticketless Map logo: the pin with a tilted ticket, then the name (Manrope 800, "Map" in green) */
.brandmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.02em; text-transform: none; color: var(--ink); white-space: nowrap; }
.brandmark__i { flex: none; display: block; }
.brandmark__m { color: var(--brand); }
.brand .brandmark { font-size: 20px; }
.logo .brandmark { font-size: 20px; }

/* v90u: hero photo (left side is already white, so a light sideways scrim) + quieter, bolder row titles */
.hrow__ico { display: none; }
.hrow__pre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.hrow__title { gap: 10px; align-items: baseline; font: 800 24px/1.15 var(--sans); letter-spacing: -.02em; }
.hrow__title span { margin-left: 0; }
.hrow__title .hrow__n { font: 500 14px/1 var(--sans); letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.hrow__all { border: 0; padding: 6px 0; background: none; color: var(--brand); font-weight: 700; }
.hrow__all:hover { background: none; color: var(--brand); text-decoration: underline; }
.hero .start__lead { margin-top: 16px; }
@media (min-width: 900px) {
  .hero { min-height: 400px; padding-bottom: 30px; }
  .hero .start__h1 { margin-top: 12px; }
  .hero #hero-pill { padding-top: 20px; }
  .hero__bg { object-position: 100% 60%; }
  .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 28%, rgba(255,255,255,0) 52%); }
}
@media (max-width: 899px) {
  .hrow__title { font-size: 22px; }
  .hrow__all { padding: 5px 0; font-size: 14px; }
  .hero { padding-bottom: 150px; }
  .hero__bg { object-position: 78% 100%; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.35) 70%, rgba(255,255,255,0) 85%); }
}
/* v90w: bigger hero type (the subtitle read as small print) */
.hero .start__lead { font-size: 17.5px; line-height: 1.45; color: #4d615b; }
@media (min-width: 900px) {
  .hero .start__h1 { font-size: 56px; line-height: 1.05; }
  .hero .start__lead { font-size: 21px; max-width: 38ch; margin-top: 18px; }
}
/* v90x: category icon before the place name on home cards; on phones the hero photo is a thin band */
.hcard > b { display: flex; align-items: flex-start; gap: 6px; overflow: visible; -webkit-line-clamp: unset; }
.hcard > b .fi { flex: none; margin-top: 2px; color: var(--brand); }
.hcard > b span { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard > small { padding-left: 21px; }
@media (max-width: 899px) {
  .hero { padding-bottom: 64px; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.4) 80%, rgba(255,255,255,.1) 100%); }
}
/* v90y: phones: almost no photo below the search, so the first city row shows on the first screen */
@media (max-width: 899px) {
  .hero { padding-bottom: 26px; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 60%, rgba(255,255,255,.5) 85%, rgba(255,255,255,.25) 100%); }
  #home .hrows { margin-top: 14px; }
}
/* v90z: desktop: the photo is never stretched to the full width (on a wide screen "cover" cut it down to a strip
   of buildings with no sky and no river). It keeps its own shape, full hero height, pinned right; its left edge is
   already white, so it melts into the page. The scrim follows the text column, not the screen width. */
@media (min-width: 900px) {
  .hero__bg { left: auto; right: 0; width: auto; height: 100%; max-width: none; object-fit: cover; object-position: 100% 100%; }
  .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.95) 0, rgba(255,255,255,.92) calc(50% - 520px), rgba(255,255,255,.65) calc(50% - 260px), rgba(255,255,255,0) calc(50% + 60px)); }
}
/* v90aa: ceremonies in the info list */
.cer + .cer { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #E3EAE7; }
.cer p { margin: 0; }
.cer__when { font-weight: 700; color: var(--brand); }
.cer__when span { font-weight: 500; color: var(--muted); }
.cer__name { font-weight: 600; }
.info__plain { font-weight: 400 !important; line-height: 1.5; }
.info__row--stack { flex-direction: column; gap: 8px; }
.info__row--stack dt { width: auto; }
@media (max-width: 899px) {
  /* v90aa: room under the last box so nothing sits tight against the bottom bar or the phone's home bar */
  .dwrap { padding-bottom: calc(40px + var(--safe-b)); }
}
/* v90aa: city intro above the list: small green box, 3 lines + a link line, closable */
.citylead { padding: 4px 24px 12px; }
.citylead__box { position: relative; padding: 12px 40px 12px 14px; border-radius: 14px; background: #E8F4EE; border: 1px solid #D3E9DE; }
.citylead .citylead__txt { margin: 0; font-size: 14px; line-height: 1.45; color: #2C423C; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.citylead__more { display: inline-block; margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
.citylead__more:hover { text-decoration: underline; }
.citylead__x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #4d615b; font-size: 20px; line-height: 1; cursor: pointer; }
.citylead__x:hover { background: rgba(20, 58, 51, .08); }
@media (max-width: 899px) { .citylead { padding: 4px 16px 10px; } }
/* v90aa: Where = a list of cities to pick from (no typing) */
.cpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.cpick__b.sugg { height: auto; min-height: 58px; padding: 10px 14px; border-radius: 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; gap: 2px; }
.cpick__b b { font-size: 15.5px; font-weight: 700; }
.cpick__b b, .cpick__b small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trip--where .trip__where > .trip__label { display: none; }
.cpick__b small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.cpick__b.is-on small { color: rgba(255,255,255,.85); }
.trip__where .sugg--here { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; }
.trip__where .sugg--here svg { width: 18px; height: 18px; }
.cpick__soon { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
