/* Generated by gen_bangkok.py. Do not edit by hand.

   Token layer for the Bangkok section only. It loads after styles.css and
   only on /bangkok/ pages, so the rest of riderlog.app keeps its fixed dark
   theme. Dark is the default; light is a warm paper palette on the same
   amber accent. */

:root {
  --bg: #0c0a08;
  --bg-raised: #16120e;
  --bg-card: #1c1712;
  --line: #372b1e;
  --text: #f6efe6;
  --muted: #b5a695;
  --accent: #ffb340;
  --accent-2: #ff6b1a;
  --accent-ink: #241002;
  --link: #ffb340;
  --header-bg: rgba(12, 10, 8, 0.86);
  --chip-bg: rgba(10, 8, 6, 0.62);
  --chip-line: rgba(255, 179, 64, 0.42);
  --chip-ink: #ffcf85;
  --scrim: linear-gradient(to top, rgba(6, 5, 4, 0.94) 0%, rgba(6, 5, 4, 0.55) 44%, rgba(6, 5, 4, 0) 80%);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
  --pin-ring: rgba(10, 8, 6, 0.85);
  --map-ink: #f6efe6;
  --map-halo: rgba(8, 6, 4, 0.9);
  --ctrl-icon-filter: invert(1) brightness(1.25);
  --maxw: 1240px;
  --radius-sm: 12px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf6f0;
    --bg-raised: #f2ebe0;
    --bg-card: #fffdfa;
    --line: #e6d9c6;
    --text: #1c1712;
    --muted: #6d5c49;
    --accent: #ffb340;
    --accent-2: #e2620c;
    --accent-ink: #2b1403;
    --link: #a35e00;
    --header-bg: rgba(250, 246, 240, 0.9);
    --chip-bg: rgba(255, 253, 250, 0.88);
    --chip-line: rgba(162, 94, 0, 0.32);
    --chip-ink: #8a4f00;
    --scrim: linear-gradient(to top, rgba(28, 23, 18, 0.9) 0%, rgba(28, 23, 18, 0.45) 46%, rgba(28, 23, 18, 0) 82%);
    --shadow: 0 14px 34px rgba(80, 55, 25, 0.14);
    --shadow-sm: 0 6px 18px rgba(80, 55, 25, 0.1);
    --pin-ring: rgba(255, 253, 250, 0.95);
    --map-ink: #35281a;
    --map-halo: rgba(255, 253, 250, 0.92);
    --ctrl-icon-filter: none;
  }
}

/* The hub hero is full-bleed via width:100vw, and 100vw counts the scrollbar,
   so a page long enough to scroll vertically also scrolled 7px sideways.
   overflow-x: clip trims that without creating a scroll container, which is
   what overflow-x: hidden would do, and a scroll container breaks the sticky
   map column on the collection pages. */
body { background: var(--bg); color: var(--text); overflow-x: clip; }
a { color: var(--link); }
.site-header { background: var(--header-bg); }
.site-footer a:hover { color: var(--link); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--accent-ink); }

/* ---------- Shared bits ---------- */

.bkk-breadcrumbs { padding-top: 22px; color: var(--muted); font-size: 0.88rem; }
.bkk-breadcrumbs a { color: var(--muted); }
.bkk-breadcrumbs a:hover { color: var(--link); }

.bkk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  color: var(--chip-ink);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bkk-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* Note chip: the seed's keyword facts ("parks", "dirty coffees") read as data,
   not as a sentence, so they get a chip instead of a fake paragraph. */
.bkk-chip-note { text-transform: lowercase; font-weight: 600; }

.bkk-cta {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 40px 0 56px;
}
.bkk-cta p { color: var(--muted); margin-top: 8px; }
.bkk-cta .btn-row { margin-top: 16px; }
.bkk-cta a.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 24px;
}
.bkk-cta a.btn:hover { text-decoration: none; background: var(--accent-2); color: #fff; }

/* ---------- Map ---------- */

.bkk-map {
  position: relative;
  background: var(--bg-raised);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.bkk-map .maplibregl-map { font-family: inherit; }
.bkk-map.is-unavailable::after {
  content: "Map unavailable offline";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.maplibregl-ctrl-attrib,
.maplibregl-ctrl-attrib.maplibregl-compact {
  background: var(--chip-bg);
  color: var(--muted);
  font-size: 0.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.maplibregl-ctrl-attrib a { color: var(--muted); }
.maplibregl-ctrl-attrib-button { background-color: var(--chip-bg); }
.maplibregl-ctrl-group {
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.maplibregl-ctrl-group button { background: transparent; }
.maplibregl-ctrl-group button + button { border-top-color: var(--chip-line); }
.maplibregl-ctrl-group button:hover { background: rgba(255, 179, 64, 0.16); }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: var(--ctrl-icon-filter); }
.maplibregl-cooperative-gesture-screen { border-radius: var(--radius); font-family: inherit; }
/* ---------- Place overlay ----------

   The detail surface for a selected pin. It replaced the MapLibre popup: a
   popup is anchored to a coordinate, so on a 40vh phone map it either covers
   its own pin or leaves the frame, and it cannot hold a photo plus two
   actions at that size. The overlay docks to a corner of the map instead and
   the pin keeps its halo, so nothing has to move to make room. */

.bkk-overlay {
  position: absolute;
  z-index: 7;
  left: 16px;
  bottom: 16px;
  width: min(330px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* Hidden until a pin is chosen. [hidden] alone loses to display:block. */
  display: none;
}
.bkk-overlay[data-open] { display: block; }
.bkk-overlay .ov-photo {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  background: var(--bg-raised);
}
.bkk-overlay .ov-body { padding: 14px 16px 16px; }
.bkk-overlay h3 {
  font-size: 1.06rem;
  line-height: 1.26;
  margin: 0 26px 9px 0;
  color: var(--text);
}
.bkk-overlay .ov-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bkk-overlay .ov-note {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.52;
  margin: 10px 0 0;
}
.bkk-overlay .ov-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}
.bkk-overlay a.ov-btn {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 7px 15px;
  white-space: nowrap;
}
.bkk-overlay a.ov-btn:hover { background: var(--accent-2); color: #fff; text-decoration: none; }
.bkk-overlay a.ov-details { color: var(--link); font-size: 0.8rem; font-weight: 700; }
.bkk-overlay .ov-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bkk-overlay .ov-close:hover { color: var(--link); }
/* Phone: the map is a 40vh strip, so the overlay becomes a sheet across its
   bottom edge and the photo shrinks to a band. */
@media (max-width: 720px) {
  .bkk-overlay {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-height: calc(100% - 16px);
  }
  .bkk-overlay .ov-photo { height: 86px; }
  .bkk-overlay .ov-body { padding: 12px 14px 14px; }
  .bkk-overlay h3 { font-size: 0.98rem; }
  .bkk-overlay .ov-note { display: none; }
}

.bkk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.bkk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bkk-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- Hub ---------- */

/* styles.css gives every <section> 72px of vertical padding; the map hero has
   to sit flush under the header instead. */
.bkk-hero { padding: 0; }
.bkk-rail-head { padding: 0; }
.bkk-collection-head { padding: 26px 0 4px; }
.bkk-cta { padding: 26px; }

.bkk-hero {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
.bkk-hero-map {
  height: clamp(420px, 66vh, 720px);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.bkk-intro {
  position: absolute;
  z-index: 5;
  left: max(20px, calc(50vw - var(--maxw) / 2 + 20px));
  bottom: 26px;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 24px;
}
.bkk-intro h1 { font-size: 1.62rem; line-height: 1.16; margin-bottom: 10px; }
.bkk-intro p { color: var(--muted); font-size: 0.93rem; }
.bkk-intro .count {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
@media (max-width: 720px) {
  .bkk-hero { margin-left: 0; margin-right: 0; width: auto; }
  .bkk-hero-map { height: 52vh; border-radius: var(--radius); border-width: 1px; margin-top: 18px; }
  .bkk-intro { position: static; max-width: none; margin: 16px 0 0; box-shadow: none; }
}

.bkk-rail-head { margin: 46px 0 0; }
.bkk-rail-head h2 { font-size: 1.35rem; }
.bkk-rail-head p { color: var(--muted); margin-top: 6px; max-width: 640px; }
.bkk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 22px 0 8px;
}
.bkk-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  color: var(--text);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bkk-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.bkk-card h3 { margin-bottom: 6px; color: var(--text); font-size: 1.06rem; }
.bkk-card p { color: var(--muted); font-size: 0.92rem; }
.bkk-card .bkk-meta { color: var(--accent-2); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; }

/* ---------- Collection split view ---------- */

.bkk-split { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 24px; align-items: start; margin: 22px 0 8px; }
.bkk-split .bkk-map-col { position: sticky; top: 84px; }
.bkk-split .bkk-map { height: calc(100vh - 128px); min-height: 420px; }
.bkk-collection-head { padding: 26px 0 4px; }
.bkk-collection-head h1 { font-size: 1.95rem; line-height: 1.14; }
.bkk-collection-head p.lede { color: var(--muted); max-width: 660px; margin-top: 10px; font-size: 1.02rem; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.pcard {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  scroll-margin-top: 96px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.pcard:hover { border-color: var(--accent); transform: translateY(-2px); }
/* Selected from the map. A hard inset ring shouted over the photo; a soft halo
   plus the same lift the hover state uses reads as "this one" without fighting
   the picture for attention. */
.pcard.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 179, 64, 0.22), var(--shadow-sm);
  transform: translateY(-2px);
}
.pcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-raised); overflow: hidden; }
.pcard-media img, .pcard-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: var(--scrim); pointer-events: none; }
/* The placeholder has no photo to darken, so it keeps a lighter wash and the
   name sits on the card's own ink instead of a heavy scrim. */
.pcard-media.is-placeholder::after { background: none; }
.pcard-media.is-placeholder .pcard-name { color: var(--text); text-shadow: none; }
.pcard-chips { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
/* The name is the link to the place page: the biggest, most obvious target on
   the card, while a click anywhere else still drives the map. */
a.pcard-name {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 11px;
  color: #fffaf2;
  font-family: "Saira", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.24;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
a.pcard-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard-zoom {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--chip-line);
  background: var(--chip-bg);
  color: var(--chip-ink);
  cursor: zoom-in;
}
.pcard-count {
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 48px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--chip-line);
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
}
.pcard-media img { cursor: zoom-in; }
.pcard-body { padding: 13px 15px 16px; }
.pcard-body p { color: var(--muted); font-size: 0.875rem; line-height: 1.52; }
/* Wikimedia Commons attribution. Quiet, but a licence term: it has to stay
   legible in both schemes, so it sits on --muted (a real contrast pair with
   --bg-card in light and dark) and keeps its links underlined. */
.pcard-credit {
  color: var(--muted);
  font-size: 0.735rem;
  line-height: 1.45;
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.pcard-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.pcard-credit a:hover { color: var(--link); }
/* Two actions, deliberately unequal: the card's own page is the next step for
   a reader, the App Store is a quiet aside now that every card has a page. */
.pcard-actions {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.pcard-actions .pcard-details { font-size: 0.82rem; font-weight: 700; color: var(--link); }
.pcard-actions .pcard-app { font-size: 0.76rem; font-weight: 500; color: var(--muted); }
.pcard-actions .pcard-app:hover { color: var(--link); }

@media (max-width: 900px) {
  .bkk-split { grid-template-columns: 1fr; gap: 18px; }
  .bkk-split .bkk-map-col { position: sticky; top: 64px; z-index: 4; }
  .bkk-split .bkk-map { height: 40vh; min-height: 260px; }
}

/* ---------- Place page ---------- */

.pplace { max-width: 760px; margin: 0 auto; }
.pplace-hero {
  position: relative;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
}
.pplace-hero img {
  width: 100%;
  height: clamp(240px, 44vh, 420px);
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.pplace-head { padding: 24px 0 0; }
/* No photo, no 400px of coloured nothing: the header simply starts the page,
   with a thin category rule doing the work the image would have done. */
.pplace-head.is-compact {
  margin-top: 20px;
  padding: 20px 0 0;
  border-top: 3px solid var(--accent);
}
.pplace-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.14; letter-spacing: -0.01em; }
.pplace-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pplace-credit { color: var(--muted); font-size: 0.76rem; line-height: 1.5; margin-top: 10px; }
.pplace-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.pplace-credit a:hover { color: var(--link); }
.pplace-story { margin-top: 20px; }
.pplace-story p { font-size: 1.04rem; line-height: 1.7; text-wrap: pretty; }
.pplace-order {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.pplace-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; }
.pplace-actions .map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--chip-line);
  background: var(--chip-bg);
  color: var(--chip-ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
}
.pplace-actions .map-link:hover { text-decoration: none; border-color: var(--accent); color: var(--link); }
.pplace-actions .in-collection { color: var(--muted); font-size: 0.85rem; }
.pplace-nearby { padding: 0; margin: 40px 0 0; }
.pplace-nearby h2 { font-size: 1.2rem; }
.pplace-nearby > p { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.nearby-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.nearby-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.nearby-card .n-name { font-weight: 700; font-size: 0.93rem; line-height: 1.32; display: block; }
.nearby-card .n-meta { color: var(--muted); font-size: 0.78rem; margin-top: 6px; display: block; }
.nearby-card .n-meta i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.pplace .bkk-cta { margin-top: 40px; }

@media (max-width: 720px) {
  .pplace-hero { margin-top: 14px; }
  .pplace-hero img { height: 46vw; min-height: 190px; }
  .pplace-story p { font-size: 1rem; }
}

/* ---------- Trust block ----------

   The product refuses to ship a star average, so the refusal is stated rather
   than implied. Accent rule on the left, no box: it is an argument, not a card. */

.bkk-trust {
  padding: 0;
  margin: 44px 0 8px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  max-width: 720px;
}
.bkk-trust h2 { font-size: 1.22rem; line-height: 1.24; }
.bkk-trust p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; line-height: 1.66; }
.bkk-trust-line {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Area and loop pages ---------- */

.bkk-area-head { padding: 26px 0 4px; }
.bkk-area-head h1 { font-size: 1.95rem; line-height: 1.14; }
.bkk-area-head p.lede { color: var(--muted); max-width: 700px; margin-top: 12px; font-size: 1.02rem; line-height: 1.66; }
.bkk-area-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
}
.bkk-area-map { height: clamp(280px, 42vh, 440px); margin: 22px 0 0; }
.bkk-mapnote { color: var(--muted); font-size: 0.82rem; margin-top: 10px; }
.bkk-mapnote a { font-weight: 700; }

.bkk-links { padding: 0; margin: 40px 0 0; }
.bkk-links h2 { font-size: 1.18rem; }
.bkk-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 14px 0 0;
  padding: 0;
}
.bkk-links li { margin: 0; }
.bkk-links a {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.bkk-links a:hover { text-decoration: none; border-color: var(--accent); color: var(--link); }

/* Loop itinerary. A numbered ride order, so the number is the anchor and the
   leg distance hangs off the row rather than interrupting the name. */
.bkk-loop { max-width: 820px; }
.bkk-itinerary { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: stop; }
.bkk-stop {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.bkk-stop:last-child { border-bottom: 1px solid var(--line); }
.bkk-stop .stop-n {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.86rem;
}
.bkk-stop .stop-name { font-family: "Saira", -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 700; font-size: 1.04rem; line-height: 1.3; }
.bkk-stop .stop-meta { color: var(--muted); font-size: 0.8rem; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.bkk-stop .stop-meta i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.bkk-stop p { color: var(--muted); font-size: 0.9rem; line-height: 1.58; margin-top: 8px; }
.bkk-stop .stop-shot {
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 320px;
}
/* A portrait phone shot would otherwise run 400px tall inside a list row. */
.bkk-stop .stop-shot img { display: block; width: 100%; height: 190px; object-fit: cover; }

/* The one number this map is willing to print. */
.pplace-proof {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .bkk-stop { grid-template-columns: 28px minmax(0, 1fr); gap: 11px; }
  .bkk-stop .stop-n { width: 26px; height: 26px; font-size: 0.8rem; }
  .bkk-trust { padding-left: 15px; }
}

/* ---------- Lightbox ---------- */

#bkk-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1100px);
  max-height: 92vh;
  /* The page reset zeroes margins, which kills the UA's dialog centering;
     restore it explicitly and give the box a real footprint so the nav
     buttons have edges to anchor to. */
  margin: auto;
  position: fixed;
  inset: 0;
  width: fit-content;
  height: fit-content;
}
#bkk-lightbox figure { margin: 0; position: relative; }
#bkk-lightbox::backdrop { background: rgba(6, 5, 4, 0.86); backdrop-filter: blur(4px); }
#bkk-lightbox img { display: block; width: auto; height: auto; max-width: min(90vw, 1060px); max-height: 82vh; min-width: 240px; min-height: 160px; object-fit: contain; background: rgba(10, 8, 6, 0.6); border-radius: var(--radius); box-shadow: var(--shadow); }
#bkk-lightbox figcaption { color: #f6efe6; text-align: center; padding-top: 12px; font-size: 0.9rem; }
#bkk-lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}
#bkk-lightbox .lb-prev { left: 10px; }
#bkk-lightbox .lb-next { right: 10px; }
#bkk-lightbox .lb-count {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.7);
  color: #f6efe6;
  font-size: 0.78rem;
}
#bkk-lightbox[data-single] .lb-nav, #bkk-lightbox[data-single] .lb-count { display: none; }
#bkk-lightbox form { position: absolute; top: 8px; right: 8px; }
#bkk-lightbox button {
  background: rgba(10, 8, 6, 0.7);
  color: #f6efe6;
  border: 1px solid rgba(255, 179, 64, 0.4);
  border-radius: 999px;
  padding: 5px 15px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
