:root {
  --ink: #17333a; --mute: #5d7379; --line: #d7dfdb; --coral: #c22f4a; --paper: #fffbf6;
  --sea: #204d4c; --sea-light: #e4f1ee; --bar: calc(52px + var(--st));
  --shadow: 0 3px 12px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04);
  --font: "IBM Plex Sans Thai", system-ui, sans-serif;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: var(--font); color: var(--ink); overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
#map { position: absolute; inset: 0; background: #dcefe9; }
.map-header { position: absolute; z-index: 5; inset: 0 0 auto; height: var(--bar); padding: var(--st) clamp(16px, 4.5vw, 72px) 0; background: linear-gradient(180deg, rgb(255 255 255 / .66), rgb(255 255 255 / .46)); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-bottom: 1px solid rgb(255 255 255 / .55); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), inset 0 -1px 0 rgb(255 255 255 / .35), 0 8px 24px rgb(9 39 46 / .10); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.map-brand { display: inline-flex; gap: 8px; align-items: center; color: var(--coral); font-weight: 700; font-size: 18px; text-decoration: none; }
.brand-logo { display: block; height: 44px; width: auto; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .map-header { background: rgb(255 255 255 / .92); } }
.map-nav { display: flex; align-items: center; gap: 14px; min-width: 0; }
.langbtn { position: relative; flex: none; min-width: 44px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; background: rgb(255 255 255 / .58); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7), 0 1px 6px rgb(9 39 46 / .08); }
.langbtn::after { content: ""; position: absolute; inset: -4px 0; }
.langbtn:hover { background: rgb(255 255 255 / .85); }
.map-header h1 { margin: 0; padding: 4px 0; font-size: 14px; color: var(--ink); font-weight: 600; white-space: nowrap; border-bottom: 2px solid var(--coral); }
.i { display: inline-grid; place-items: center; }
.i svg { display: block; }

/* top bar */
.top { position: absolute; z-index: 5; left: 0; right: 0; top: calc(var(--bar) + 12px); pointer-events: none; }
.top > * { pointer-events: auto; }
.searchrow { display: flex; gap: 10px; padding: 0 16px; }
.search { flex: 1; min-width: 0; height: 54px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; padding: 0 18px; cursor: text; }
.searchtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#q { border: 0; outline: 0; padding: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); width: 100%; }
#q::placeholder { color: var(--ink); opacity: 1; }
#q:focus::placeholder { color: var(--mute); font-weight: 500; }
.search small { font-size: 12px; color: var(--mute); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; flex: none; }
.badge { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.results { position: absolute; z-index: 2; left: 16px; right: 16px; top: 62px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.2); max-height: min(50vh, 420px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; }
.res { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 44px; text-align: left; padding: 10px 12px; border-radius: 10px; }
.results:not([hidden]) ~ .chips { visibility: hidden; }
.res:hover, .res:focus-visible { background: var(--sea-light); }
.res .ic { width: 38px; height: 38px; border-radius: 10px; background: #edf1ed; display: grid; place-items: center; flex: none; }
.res b { display: block; font-size: 14px; font-weight: 700; }
.res small { color: var(--mute); font-size: 12.5px; font-weight: 500; }
.empty { padding: 18px; color: var(--mute); font-size: 14px; text-align: center; }
.chips { display: flex; gap: 8px; padding: 10px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { background: #fff; border: 1px solid #cfdbd5; border-radius: 30px; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 1px 5px rgba(0,0,0,.1); display: flex; gap: 6px; align-items: center; flex: none; }
.chip[aria-pressed="true"] { background: #193d3a; border-color: #193d3a; color: #fff; }

/* side buttons + list pill */
.side { position: absolute; z-index: 4; right: 16px; bottom: calc(var(--sb) + 104px); display: flex; flex-direction: column; gap: 10px; transition: transform .25s; }
.sq { width: 46px; height: 46px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; }
.sq[aria-pressed="true"] { background: #193d3a; color: #fff; }
.pill { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: calc(var(--sb) + 40px); background: var(--sea); color: #fff; border-radius: 999px; padding: 13px 20px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.3); white-space: nowrap; }
body.has-card .pill { display: none; }
body.has-card .side { transform: translateY(-262px); }

/* map pins */
.pin { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 8px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.05); display: grid; place-items: center; color: var(--ink); cursor: pointer; transition: transform .15s; }
.pin::before, .clu::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; }
.pin:hover { transform: scale(1.1); }
.pin.sel { background: var(--coral); color: #fff; transform: scale(1.28); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.pin.saved::after { content: ""; position: absolute; top: 0; right: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.clu { min-width: 44px; height: 38px; padding: 0 12px; border-radius: 999px; background: var(--paper); box-shadow: 0 2px 8px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.05); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; font-family: var(--font); }
.me { width: 18px; height: 18px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(26,115,232,.2), 0 2px 6px rgba(0,0,0,.3); }

/* summary card */
.card { position: absolute; z-index: 6; left: 16px; right: 16px; bottom: calc(var(--sb) + 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.22); overflow: hidden; cursor: pointer; animation: up .22s ease-out; }
.card:hover, .card:focus-within { border-color: var(--coral); }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.ph { height: 150px; background: linear-gradient(160deg, #7fd3d8 0%, #2f9bb8 45%, #14506e 100%); position: relative; }
.ph.wreck { background: linear-gradient(160deg, #8fb7c9 0%, #3f6f8c 45%, #17324a 100%); }
.ph.pinnacle { background: linear-gradient(160deg, #6fc4dc 0%, #2a7fb5 45%, #152f66 100%); }
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at 30% 0, rgba(255,255,255,.45), transparent), radial-gradient(160px 70px at 80% 10%, rgba(255,255,255,.25), transparent); pointer-events: none; }
.ph .tag { position: absolute; z-index: 2; left: 12px; top: 16px; max-width: calc(100% - 128px); background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph .ic { position: absolute; z-index: 2; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; background: #fffaf2; color: #153d3c; box-shadow: 0 2px 8px #172a2524; display: grid; place-items: center; }
.ph .ic[data-act="save"] { right: 60px; }
.ph .ic.on svg { fill: var(--coral); stroke: var(--coral); }
.ph .big { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); }
.ph .big svg { width: 54px; height: 54px; }
.cb { padding: 14px 16px 16px; }
.t { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.t h3 { margin: 0; font-size: 17px; font-weight: 700; min-width: 0; }
.t h3 button { text-align: left; font-weight: inherit; }
.t .d { font-size: 14px; font-weight: 700; white-space: nowrap; }
.m { color: var(--mute); font-size: 13.5px; margin-top: 2px; font-weight: 500; }
.m.clip { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.facts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.f { border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.f.warn { border-color: #f1c58a; background: #fff7ea; }

/* photos */
.ph.has::after { background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 38%, transparent 70%, rgba(0,0,0,.3)); z-index: 1; }
.car { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.car img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.dots { position: absolute; z-index: 2; bottom: 10px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.dots i.on { background: #fff; }
.kind { position: absolute; z-index: 2; left: 12px; bottom: 22px; background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credits b { color: var(--ink); display: block; margin-bottom: 2px; }
.credits div { overflow-wrap: anywhere; }

/* briefing entry points */
.fbtn { position: relative; display: inline-flex; align-items: center; gap: 5px; background: var(--sea-light); color: var(--sea); border-color: transparent; margin-left: auto; }
.fbtn::before { content: ""; position: absolute; inset: -8px -6px; }
.fbtn svg { width: 14px; height: 14px; }
.brief { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: white; border: 1px solid var(--line); color: var(--sea); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; }
.brief.alt { background: var(--sea-light); border-color: #c9e4dc; color: var(--sea); text-decoration: none; }
.brief:is(:hover, :focus-visible) { border-color: var(--coral); }
.brief.alt small { opacity: .9; }
.brief::after { content: "›"; margin-left: auto; font-size: 24px; }
.brief b { display: block; font-size: 15px; font-weight: 700; }
.brief small { display: block; font-size: 12.5px; font-weight: 500; opacity: .75; }
.brief svg { width: 26px; height: 26px; flex: none; }

/* Briefing board: keep the map surface free of controls. */
.board {
  --bd-ink: #17333a; --bd-mute: #5d7379; --bd-deep: #1f4e52; --bd-line: #d7dfdb;
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
  background: #edf3ef; color: var(--bd-ink); font-family: var(--font);
}
.bd-top { display: flex; align-items: center; gap: 8px; padding: calc(var(--st) + 10px) clamp(12px, 3vw, 42px) 10px; background: #fffaf3; border-bottom: 1px solid var(--bd-line); }
.bd-title { flex: 1; min-width: 0; padding-inline: 4px; }
.bd-title b, .bd-title small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-title b { font-size: clamp(16px, 2vw, 21px); line-height: 1.3; }
.bd-title small { color: var(--bd-mute); font-size: 12px; }
.bd-nav { display: flex; gap: 2px; }
.bd-ib, .bd-tb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.bd-ib { background: white; border: 1px solid var(--bd-line); }
.bd-ib:hover, .bd-tb:not(:disabled, [aria-pressed="true"]):hover { background: #e7f1eb; }
.bd-ib[data-act="download"], .bd-ib[data-act="download"]:hover { background: var(--bd-deep); color: white; border-color: transparent; }
.board button:focus-visible { outline: 2px solid var(--bd-ink); outline-offset: 3px; }
.bd-area { flex: 1; min-height: 0; margin: clamp(8px, 2vw, 24px); display: grid; place-items: center; }
.bd-stage { position: relative; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px #193b3a22, 0 5px 18px #193b3a16; }
.bd-stage.blank { background: #f7f5ef; }
.bd-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.bd-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.bd-tools {
  display: flex; align-items: center; gap: 4px; margin: 0 auto calc(var(--sb) + 12px);
  padding: 6px; max-width: calc(100% - 16px); background: white; border: 1px solid var(--bd-line);
  border-radius: 22px; box-shadow: 0 4px 16px #193b3a16; overflow-x: auto;
}
.bd-g { display: flex; gap: 2px; align-items: center; padding: 0 5px; flex: none; }
.bd-g + .bd-g { border-left: 1px solid var(--bd-line); }
.bd-tb[aria-pressed="true"] { background: var(--bd-deep); color: white; }
.bd-tb:disabled { opacity: .35; cursor: default; }
.bd-sz i { display: block; border-radius: 50%; background: currentColor; }
.bd-sw { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.bd-sw::before { content: ''; width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 1px solid #0003; }
.bd-sw[aria-pressed="true"]::before { box-shadow: 0 0 0 2px white, 0 0 0 4px var(--bd-deep); }

/* sheets */
.scrim { position: absolute; z-index: 7; inset: 0; background: rgb(9 39 46 / .62); }
.sheet { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; top: calc(var(--bar) + 8px); background: var(--paper); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 28px rgba(0,0,0,.18); overflow: hidden; display: flex; flex-direction: column; animation: sheet .28s cubic-bezier(.2,.8,.2,1); }
@keyframes sheet { from { transform: translateY(60px); opacity: 0; } }
.grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.8); position: absolute; top: 8px; left: 50%; margin-left: -19px; z-index: 3; }
.sheet .scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet .scroll:has(> .li) { display: grid; gap: 10px; align-content: start; padding: 14px 16px calc(var(--sb) + 16px); }
.sheet .ph { height: clamp(190px, 27vh, 265px); }
.sb { padding: 18px 20px 24px; }
.sb h2 { margin: 0; color: var(--sea); line-height: 1.32; font-size: clamp(24px, 3vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.row { background: white; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #dedfd9; border-radius: 14px; margin: 16px 0; }
.row div { padding: 12px 6px; text-align: center; min-width: 0; }
.row div + div { border-left: 1px solid #dedfd9; }
.row b { display: block; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
html[lang="en"] .row b { font-size: 15px; line-height: 28px; } /* "Intermediate" must fit one line in a third of the sheet */
.row small { font-size: 13px; color: var(--mute); font-weight: 500; }
.hl { font-size: 14px; line-height: 1.55; color: var(--ink); font-weight: 500; margin: 0 0 14px; }
.gps { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 0; }
.gps small { display: block; color: var(--mute); font-size: 12px; font-weight: 600; }
.gps b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.link { flex: none; min-width: 44px; min-height: 44px; padding: 0 6px; font-size: 13px; font-weight: 600; text-decoration: underline; color: var(--ink); }
.note { margin-top: 12px; font-size: 12.5px; color: var(--mute); font-weight: 500; line-height: 1.5; }
.note a { color: var(--ink); }
.cta { border-top: 1px solid var(--line); padding: 14px 20px calc(var(--sb) + 16px); display: flex; gap: 10px; background: var(--paper); }
.btn { flex: 1; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; font-weight: 600; background: white; border: 1px solid #cfdbd5; text-decoration: none; color: var(--ink); }
.btn.p { background: var(--sea); border-color: var(--sea); color: #fff; flex: 1.4; }
.btn.dark { background: var(--sea); border-color: var(--sea); color: #fff; }
.shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.shead h2 { margin: 0; font-size: 18px; font-weight: 700; }
.x { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #efece3; }
.fg { padding: 18px 20px 4px; }
.fg h4 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { background: white; border: 1px solid #cfdbd5; border-radius: 30px; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; }
.opt[aria-pressed="true"] { border-color: #193d3a; background: #193d3a; color: white; }
.li { background: white; display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; }
.li > span:not(.thumb) { min-width: 0; }
.li::after { content: "›"; margin-left: auto; font-size: 22px; }
.li:is(:hover, :focus-visible) { background: #fff4f5; border-color: var(--coral); }
.li .thumb { width: 82px; height: 74px; border-radius: 8px; flex: none; position: relative; overflow: hidden; }
.li .thumb.ph { height: 74px; }
.li .thumb .big svg { width: 26px; height: 26px; }
.li b { display: block; font-size: 15px; font-weight: 700; }
.li small { display: block; color: var(--mute); font-size: 13px; font-weight: 500; }

.toast { position: absolute; z-index: 20; left: 50%; transform: translateX(-50%); bottom: calc(var(--sb) + 100px); max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 22px; font-size: 13.5px; font-weight: 600; line-height: 1.45; text-align: center; box-shadow: 0 6px 16px rgba(0,0,0,.3); }

.maplibregl-ctrl-attrib { font-size: 10px; }

@media (min-width: 820px) {
  .top { right: auto; width: 440px; }
  .card { right: auto; width: 392px; left: 24px; bottom: 24px; }
  .pill { bottom: 26px; }
  .sheet { right: auto; width: 440px; top: var(--bar); border-radius: 0; box-shadow: 8px 0 28px rgba(0,0,0,.18); animation-name: side; }
  @keyframes side { from { transform: translateX(-40px); opacity: 0; } }
  .scrim { display: none; }
  .grab { display: none; }
  body.has-card .side { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .card, .sheet { animation: none; } .side, .pin { transition: none; } }
@media (max-width: 780px) {
  .bd-tools { flex-wrap: wrap; justify-content: center; border-radius: 24px; row-gap: 2px; overflow: visible; padding: 4px; max-width: calc(100% - 12px); margin-bottom: calc(var(--sb) + 8px); }
  .bd-g { gap: 0; padding: 0 2px; }
  .bd-g + .bd-g { border-left: 0; }
  .bd-top { gap: 4px; padding-block: calc(var(--st) + 6px) 6px; }
  .bd-area { margin: 8px; }
}

/* Map and ink scroll together inside the board viewport. */
.bd-area { display: flex; overflow: auto; overscroll-behavior: contain; align-items: flex-start; }
.bd-stage { flex: none; margin: auto; }
.bd-top { position: relative; }
.bd-zoom { position: absolute; top: calc(var(--st) + 78px); right: 16px; display: flex; align-items: center; background: white; border: 1px solid var(--bd-line); border-radius: 24px; box-shadow: 0 3px 12px #193b3a16; }
.bd-zoom button { width: 40px; height: 40px; border-radius: 50%; font-size: 21px; display: grid; place-items: center; }
.bd-zoom button:disabled { opacity: .35; }
.bd-percent { min-width: 4ch; text-align: center; font-variant-numeric: tabular-nums; }
.bd-zoom [aria-pressed="true"], .bd-picker.selected { background: var(--bd-deep); color: white; }
.bd-picker { display: flex; align-items: center; gap: 5px; padding: 0 10px; height: 44px; border-radius: 14px; background: #e7f2ef; }
.bd-menu { position: absolute; z-index: 2; overflow-y: auto; padding: 6px; width: 214px; border: 1px solid var(--bd-line); border-radius: 16px; background: white; box-shadow: 0 6px 20px #17333a25; }
.bd-menu[hidden] { display: none; }
.bd-menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; text-align: start; padding: 7px 10px; border-radius: 8px; }
.bd-menu button svg { color: var(--icon-color); }
.bd-menu button:hover, .bd-menu button[aria-pressed="true"] { background: #e0f4f1; }
.bd-menu button[aria-pressed="true"]::after { content: '✓'; margin-left: auto; }
.bd-route { position: absolute; left: 50%; top: calc(var(--st) + 78px); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 4px 5px 4px 14px; border-radius: 24px; background: white; box-shadow: 0 3px 12px #193b3a26; }
.bd-route[hidden] { display: none; }
.bd-route button { padding: 6px 12px; border-radius: 18px; background: var(--bd-deep); color: white; }
@media (max-width: 780px) { .bd-route { top: calc(var(--st) + 126px); } }
