/* Op Shops Near Me — "swing tag" design
   Op shopping is a treasure hunt, not an errand. Reference: the kraft-paper swing tags and rubber price
   stamps you find on op shop racks. Signature elements: tag cards with a punched hole, and the rubber-stamp
   open-status. Maggie the magpie (collector of shiny finds) is the guide. Mobile first. */
:root {
  --paper: #F5EDE0;
  --paper-2: #EADCC6;
  --card: #FFFCF6;
  --ink: #2B211C;
  --muted: #6B5D53;
  --line: rgb(43 33 28 / .14);
  --line-strong: rgb(43 33 28 / .26);
  --teal: #1F6B66;
  --teal-dark: #164F4B;
  --teal-soft: #DCEDE8;
  --tomato: #C8432B;
  --mustard: #E9B949;
  --mustard-soft: #FBEFC8;
  --open: #17704F;
  --open-soft: #DDF1E6;
  --radius: 14px;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --shadow: 0 1px 0 var(--line), 0 2px 8px var(--line);
  --grey: #A89C90;
  --ink-2: #4A3D34;
  --on-ink: #E6DCCF;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; overflow-wrap: break-word; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { left: 8px; z-index: 30; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 16px; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: 52px; font-variation-settings: "opsz" 120; }
h2 { font-size: 34px; font-variation-settings: "opsz" 72; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* masthead: kraft band with a stitched edge */
.masthead { background: var(--paper-2); border-bottom: 2px dashed var(--line-strong); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.wordmark-tag { width: 40px; height: 40px; background: var(--mustard); border-radius: 50%; padding: 4px; }
.mainnav { display: flex; gap: 20px; font-size: 15px; }
.mainnav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.mainnav a:hover { color: var(--teal); text-decoration: underline; }
.colophon { background: var(--ink); color: var(--on-ink); margin-top: 96px; padding: 48px 0 32px; font-size: 15px; }
.colophon a { color: var(--paper); }
.colophon-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.colophon-name { font-family: var(--head); font-size: 24px; color: var(--card); margin-bottom: 8px; }
.colophon-h { font-weight: 700; color: var(--card); margin-bottom: 8px; }
.colophon-links a { display: block; text-decoration: none; padding: 4px 0; }
.colophon-links a:hover { text-decoration: underline; }
.colophon-note { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line-strong); }

/* page sections */
.section { padding: 64px 0 0; }
.section-tight { padding-top: 20px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 24px; }
.page-head h1 { margin-bottom: 12px; }
.answer { font-size: 18px; margin: 8px 0 0; color: var(--ink-2); }
.prose p, .prose li { font-size: 18px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.stat { display: inline-flex; align-items: baseline; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.stat strong { font-family: var(--head); font-size: 20px; color: var(--teal); }
.stat span { font-size: 14px; color: var(--muted); }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; font: 700 16px/1 var(--sans); cursor: pointer; text-decoration: none; border: 2px solid transparent; }
.btn svg { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--teal); color: var(--card); border-color: var(--teal); box-shadow: 0 3px 0 var(--teal-dark); }
.btn-primary svg { color: var(--mustard); }
.btn-primary:hover { background: var(--teal-dark); color: var(--card); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--teal-dark); }
.btn-primary:disabled { opacity: .75; cursor: progress; }
.btn-line { background: var(--card); color: var(--teal); border-color: var(--teal); }
.btn-line:hover, .btn-line[aria-pressed="true"] { background: var(--teal); color: var(--card); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 15px/1 var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 16px; min-height: 40px; cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-city[aria-pressed="true"] { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }

/* finder */
.finder { margin-top: 16px; }
.finder-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.seg { display: none; }
.now { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 12px 16px; box-shadow: 4px 4px 0 var(--mustard); }
.now[hidden] { display: none; }
.now .maggie { width: 44px; height: 44px; flex: none; background: var(--mustard); border-radius: 50%; padding: 5px; }
.now p { margin: 0; font-size: 16px; }
.now strong { font-family: var(--head); font-size: 18px; }
.now button { font: 700 14px/1 var(--sans); color: var(--teal); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; }
.finder-filters { display: grid; gap: 10px; margin-top: 14px; }
.finder-meta { margin: 12px 0 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.finder-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; margin-top: 12px; align-items: start; }
.finder-map { position: sticky; top: 12px; order: 2; }
.finder-list { order: 1; }
.finder-empty { display: flex; gap: 12px; align-items: center; padding: 20px; color: var(--muted); background: var(--card); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.finder-empty[hidden] { display: none; }
.finder-empty .maggie { width: 52px; height: 52px; flex: none; background: var(--mustard); border-radius: 50%; padding: 6px; }
.finder-empty p { margin: 0; }

/* map */
.map { position: relative; height: min(76vh, 640px); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--paper-2); }
.map-short { height: 360px; }
.map-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-fallback circle { stroke: var(--card); stroke-width: 2px; }
.map-canvas { position: absolute; inset: 0; }
.map.is-live .map-fallback, .map.is-live .map-load { display: none; }
.map-load { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font: 700 14px/1 var(--sans); background: var(--card); color: var(--teal); border: 2px solid var(--teal); border-radius: 999px; padding: 12px 16px; cursor: pointer; }
.map-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.key { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin: 0 4px 0 6px; vertical-align: -1px; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line-strong); }
.key-open { background: var(--open); }
.key-later { background: var(--mustard); }
.key-closed { background: var(--grey); }
.maplibregl-popup-content { border-radius: 12px; border: 1.5px solid var(--ink); padding: 12px 14px; font-family: var(--sans); }
.maplibregl-ctrl-attrib { font-size: 12px; }
.pop { display: grid; gap: 6px; font: 14px/1.4 var(--sans); }
.pop-name { font: 700 16px/1.25 var(--head); color: var(--ink); }
.pop-addr { color: var(--muted); font-size: 13px; }
.pop-act { display: flex; gap: 14px; margin-top: 2px; }
.pop-act a, .pop-act button { font: 700 13px/1 var(--sans); color: var(--teal); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; }

/* tag cards (one per shop) */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 10px 14px 14px 10px; padding: 14px 14px 14px 34px; box-shadow: var(--shadow); }
.row::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.finder .row { cursor: pointer; }
.row:hover { border-color: var(--ink); }
.row.is-picked { border-color: var(--ink); box-shadow: 4px 4px 0 var(--mustard); }
.row[data-state="open"] { border-left: 4px solid var(--open); }
.row-main { display: grid; gap: 4px; min-width: 0; }
.row-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 24px; }
.row-name { font: 700 19px/1.25 var(--head); letter-spacing: -.01em; }
.row-name a { color: var(--ink); text-decoration: none; }
.row-name a:hover { color: var(--teal); text-decoration: underline; }
.row-sub { font-size: 14px; color: var(--muted); }
.row-today { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.row-dist { font: 500 13px/1 var(--mono); color: var(--ink); background: var(--paper); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.row-dist:empty { display: none; }
.row-act { display: flex; flex-direction: column; gap: 6px; }
.row[hidden] { display: none; }
.badge { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; margin-right: 4px; vertical-align: 1px; background: var(--paper-2); color: var(--ink); }
.ic { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; font: 700 22px/1 var(--sans); }
.ic svg { width: 18px; height: 18px; }
.ic:hover { border-color: var(--teal); background: var(--teal-soft); }
.trip-btn[aria-pressed="true"] { background: var(--mustard); border-color: var(--mustard); color: var(--ink); font-size: 18px; }
.rows-boxed { display: grid; gap: 10px; }
.group-h { font: 700 15px/1.4 var(--sans); margin: 0 0 8px; }

/* rubber-stamp status */
.status { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1.5px solid currentColor; border-radius: 5px; padding: 5px 8px; transform: rotate(-1.5deg); background: var(--card); }
.status:empty { display: none; }
.status.is-open { color: var(--open); background: var(--open-soft); }
.status.is-soon { color: var(--ink-2); background: var(--mustard-soft); }
.status.is-later { color: var(--teal); background: var(--teal-soft); }
.status.is-closed { color: var(--muted); }
.status.is-unknown { color: var(--muted); border-style: dashed; }
.status-big { font-size: 16px; padding: 8px 12px; border-width: 2px; }

/* crawls */
.crawls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.crawl { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; box-shadow: 4px 4px 0 var(--teal-soft); }
.crawl-head h3 { margin: 0; font-size: 21px; }
.crawl-meta { margin: 4px 0 0; font: 500 13px/1.4 var(--mono); color: var(--teal); }
.crawl-stops { margin: 0; padding-left: 22px; font-size: 15px; }
.crawl-stops li { padding: 2px 0; }
.crawl .btn { justify-self: start; }

/* directory lists */
.dir { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dir a, .dir span.dir-off { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 700; background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; }
.dir a:hover { border-color: var(--teal); color: var(--teal); }
.dir .n { font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--muted); }
.dir-off { color: var(--muted) !important; font-weight: 400 !important; background: transparent !important; border-style: dashed !important; }
.dir-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dir-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dir li > p { margin: 6px 4px 0; }

/* chain comparison */
.chains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chain { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.chain h3 { margin: 0 0 8px; }
.chain h3 a { color: var(--ink); }
.chain p { margin: 0 0 8px; font-size: 15px; }

/* how-to */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mustard); font: 700 18px/1 var(--head); margin-bottom: 10px; }
.steps p { margin: 0; font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 20px/1 var(--sans); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

/* single shop */
.shop-hero { display: grid; gap: 14px; margin-top: 20px; padding: 20px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--mustard); }
.hero-status { display: grid; gap: 8px; justify-items: start; }
.hero-today { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.facts { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); margin: 0; }
.fact { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 16px; border-bottom: 1px dashed var(--line-strong); font-size: 15px; }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--muted); font-size: 14px; }
.fact dd { margin: 0; }
.hours-box { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-box h2 { font-size: 22px; padding: 16px 16px 4px; margin: 0; }
.hours { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.hours th, .hours td { text-align: left; padding: 9px 16px; border-bottom: 1px dashed var(--line); font-weight: 400; }
.hours tr.is-today { background: var(--mustard-soft); }
.hours tr.is-today th { font-weight: 500; color: var(--ink); }
.hours-note { padding: 12px 16px; font-size: 14px; color: var(--muted); margin: 0; }
.unconfirmed { padding: 16px; margin: 0; }
.fix { margin-top: 24px; font-size: 15px; }
.finder-compact .finder-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.finder-compact .finder-map { order: 2; position: static; }
.maggie { display: block; }

/* trip bar + dialog */
.tripbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--card); border-radius: 999px; padding: 8px 8px 8px 10px; box-shadow: 0 10px 28px var(--line-strong); width: max-content; max-width: calc(100% - 24px); }
.tripbar[hidden] { display: none; }
.tripbar .maggie { width: 36px; height: 36px; background: var(--mustard); border-radius: 50%; padding: 4px; flex: none; }
.tripbar-txt { font-size: 15px; }
.tripbar .btn { min-height: 40px; }
.tripbar .btn-line { background: transparent; color: var(--card); border-color: var(--on-ink); }
.tripbar .btn-primary { background: var(--mustard); border-color: var(--mustard); color: var(--ink); box-shadow: none; }
.trip-dlg { border: 2px solid var(--ink); border-radius: 18px; padding: 0; width: min(520px, calc(100% - 24px)); max-height: 86vh; box-shadow: 6px 6px 0 var(--mustard); color: var(--ink); background: var(--card); }
.trip-dlg::backdrop { background: var(--line-strong); }
.trip-dlg > * { margin-left: 20px; margin-right: 20px; }
.trip-head { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.trip-head h2 { font-size: 28px; margin: 0; }
.trip-list { padding: 0 0 0 22px; margin-top: 8px; margin-bottom: 16px; }
.trip-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-strong); }
.trip-list li > div { display: grid; gap: 4px; justify-items: start; }
.trip-name { font: 700 17px/1.25 var(--head); color: var(--ink); }
.x { background: none; border: 0; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.x:hover { background: var(--paper); color: var(--ink); }
.trip-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-dlg > .btn-primary { display: flex; margin-bottom: 20px; }

/* forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.form input, .form select, .form textarea { font: 16px/1.4 var(--sans); padding: 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--ink); width: 100%; }
.form textarea { min-height: 120px; }
.form-msg { font-size: 15px; color: var(--teal); min-height: 24px; }

@media (max-width: 960px) {
  .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid, .finder-compact .finder-split { grid-template-columns: 1fr; }
  .crawls, .chains, .steps { grid-template-columns: 1fr; }
}
/* phones: one thing at a time — the list or the map, switched by a sticky toggle */
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .wrap { padding: 0 16px; }
  .masthead-in { min-height: 56px; }
  .wordmark { font-size: 19px; }
  .wordmark-tag { width: 34px; height: 34px; }
  .mainnav { gap: 14px; font-size: 14px; }
  .mainnav a:nth-child(n+3) { display: none; }
  .section { padding-top: 48px; }
  .section-tight { padding-top: 12px; }
  .answer { font-size: 16px; }
  .finder-top { position: sticky; top: 0; z-index: 15; background: var(--paper); padding: 10px 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-bottom: 1px solid var(--line); }
  .btn-locate { flex: 1 1 auto; }
  .seg { display: inline-flex; background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; }
  .seg button { font: 700 14px/1 var(--sans); border: 0; background: none; color: var(--ink); min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer; }
  .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .finder-split { grid-template-columns: 1fr; gap: 0; }
  .finder-split[data-show="list"] > .finder-map { display: none; }
  .finder-split[data-show="map"] > .finder-list { display: none; }
  .finder-map { position: static; }
  .map { height: calc(100svh - 190px); min-height: 360px; box-shadow: none; }
  .finder-compact .finder-split > .finder-map { display: block; }
  .finder-compact .finder-split > .finder-list { display: block; }
  .finder-compact .map { height: 300px; min-height: 0; }
  .row { padding: 12px 12px 12px 30px; }
  .row::before { left: 10px; }
  .row-name { font-size: 18px; }
  .now { box-shadow: 3px 3px 0 var(--mustard); }
  .shop-hero { padding: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .dir, .dir-3, .dir-2 { grid-template-columns: 1fr; }
  .colophon-in { grid-template-columns: 1fr; }
  .tripbar { bottom: 10px; }
  .tripbar-txt [data-trip-hint] { display: none; }
}
.row-today:empty { display: none; }
.row-top { flex-wrap: wrap; }
@media (max-width: 760px) {
  .finder-top { flex-wrap: nowrap; }
  .btn-locate { min-width: 0; padding: 0 14px; font-size: 15px; white-space: nowrap; }
  .status { letter-spacing: .03em; }
  .row-act { gap: 4px; }
  .ic { width: 38px; height: 38px; }
  .status-big { font-size: 14px; }
}

.more-btn { width: 100%; margin-top: 10px; }
.more-btn[hidden] { display: none; }
.tripbar-txt, .tripbar .btn { white-space: nowrap; }
.tripbar .sm { display: none; }
@media (max-width: 760px) {
  .tripbar { left: 10px; right: 10px; transform: none; width: auto; max-width: none; justify-content: space-between; }
  .tripbar .lg { display: none; }
  .tripbar .sm { display: inline; }
  .tripbar .btn { padding: 0 12px; }
}

/* row icons as masks (keeps the HTML small) */
.ic i { display: block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.i-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.i-go { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 11.3l-9-9a1 1 0 0 0-1.4 0l-9 9a1 1 0 0 0 0 1.4l9 9a1 1 0 0 0 1.4 0l9-9a1 1 0 0 0 0-1.4zM14 14.5V12h-4v3H8v-4a1 1 0 0 1 1-1h5V7.5l3.5 3.5z'/%3E%3C/svg%3E"); }

/* Google Maps attribution next to every list of listing data */
.gattr { font-size: 12px; color: var(--muted); }
/* on-page section nav */
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 40px; padding: 14px 18px; background: var(--card); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); font-size: 15px; }
.toc-h { font: 700 15px/1 var(--head); color: var(--ink); }
.toc a { color: var(--teal); font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
/* crawls: address on screen, hours and phone on paper */
.crawl-addr { color: var(--muted); font-size: 14px; }
.crawl-hours, .print-only { display: none; }
.crawl-print { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
/* real interface screenshots */
.shot { margin: 16px 0 0; }
.shot img { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--card); box-shadow: 4px 4px 0 var(--paper-2); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.steps .shot { margin-top: 14px; }
@media (max-width: 760px) {
  .toc { margin-top: 32px; gap: 8px 14px; }
  .toc-h { width: 100%; }
}
@media print {
  .masthead, .colophon, .tripbar, .trip-dlg, .skip-link { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  body.print-crawls .wrap > *:not(#crawls) { display: none !important; }
  body.print-crawls #crawls { padding: 0; }
  #crawls .btn, .crawl-print { display: none !important; }
  .crawls { grid-template-columns: 1fr 1fr; gap: 10px; }
  .crawl { box-shadow: none; break-inside: avoid; padding: 10px; }
  .crawl-hours { display: block; font: 9pt/1.3 var(--mono); color: #333; }
  .print-only { display: block; }
}
.map > .map-canvas, .map > .map-canvas.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 760px) { .finder-split { scroll-margin-top: 72px; } }
.pop .status, .trip-list .status { justify-self: start; }

/* how-it-works: one step per row, screenshot beside the text at its real size (never stretched or cropped) */
.steps.steps-shots { grid-template-columns: 1fr; gap: 20px; }
.steps-shots li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: 40px; align-items: start; padding: 24px; }
.steps-shots li::before, .steps-shots li > h3, .steps-shots li > p { grid-column: 1; }
.steps-shots li > .shot { grid-column: 2; grid-row: 1 / span 4; margin: 0; justify-self: center; }
.steps-shots li > p { font-size: 17px; }
.shot-solo { display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 860px) {
  .steps-shots li { grid-template-columns: 1fr; padding: 18px; }
  .steps-shots li > .shot { grid-column: 1; grid-row: auto; margin-top: 14px; justify-self: stretch; }
  .steps-shots li > .shot img { margin: 0 auto; }
}

.map-load.map-load-note { left: 8px; bottom: 8px; transform: none; font: 600 11px/1.2 var(--sans); padding: 4px 8px; border-width: 1px; border-color: var(--line-strong); color: var(--muted); background: rgba(255,252,246,.9); box-shadow: none; cursor: default; }

/* caption wraps to the screenshot width */
.shot { display: table; }
.shot figcaption { display: table-caption; caption-side: bottom; }
