@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #eef2f0; --paper-2: #e2e9e6; --ink: #0f1c20; --ink-2: #242c2e; --muted: #5f6e71; --line: #bfcbc6;
  --lime: #e6c46f; --coral: #ff7a59; --blue: #24687a; --white: #fbfdfc;
  --shadow: 0 20px 70px rgba(9, 16, 19, .25); font-family: "Manrope", "Aptos", sans-serif; color: var(--ink); background: var(--paper); font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body::before { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .14; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .8rem 1rem; background: var(--lime); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.sr-only { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow, .console-label { margin: 0; color: var(--muted); font: 600 .65rem/1.4 "IBM Plex Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }

/* Light Harbour header (final.html screen 1): mist bar, ink roundel, white
   language pill, and a white segmented control for the two tabs. */
.masthead { position: sticky; top: 0; z-index: 20; color: var(--ink); background: var(--paper); }
.masthead__inner { max-width: 1180px; margin: auto; padding: 12px 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; line-height: 1; }
.brand__roundel { width: 30px; height: 30px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; font: 800 .6rem/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.brand strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.locale-button { min-width: 44px; min-height: 30px; padding: 6px 12px; color: var(--ink); background: #fff; border: 0; border-radius: 15px; font-size: 11px; font-weight: 700; }
.locale-button:hover { background: var(--paper-2); }
/* ✉ Contact us: a round flat icon button beside EN/繁中, and a full-screen form. */
.masthead__actions { display: flex; align-items: center; gap: 6px; }
.contact-button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 50%; }
.contact-button:hover { background: var(--paper-2); }
.contact-panel { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; background: var(--paper); }
.contact-page { flex: 1; min-height: 0; max-width: 640px; width: 100%; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; padding: 12px 1rem 24px; display: flex; flex-direction: column; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-topics label { position: relative; }
.contact-topics input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.contact-topics span { display: block; padding: 7px 12px; color: var(--ink); background: #fff; border-radius: 15px; font-size: 13px; font-weight: 700; }
.contact-topics input:checked + span { color: #fff; background: var(--ink); }
.contact-topics input:focus-visible + span { box-shadow: 0 0 0 2px var(--blue); }
.contact-field { display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.contact-field textarea, .contact-field input { width: 100%; padding: 11px 12px; color: var(--ink); background: #fff; border: 0; border-radius: 12px; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0; resize: vertical; }
.contact-field textarea:focus, .contact-field input:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.contact-result { min-height: 1.2em; margin: 10px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.contact-result.is-error { color: #a33a1f; }
.contact-send { margin-top: auto; min-height: 48px; color: #fff; background: var(--ink); border: 0; border-radius: 24px; font-size: 15px; font-weight: 800; }
.contact-send:disabled { opacity: .55; }
body.contact-open { overflow: hidden; }
.tabs { margin: 12px max(1rem, calc((100% - 1180px) / 2)) 0; padding: 4px; display: flex; background: #fff; border-radius: 18px; }
.tab { flex: 1; min-height: 38px; display: flex; align-items: center; justify-content: center; color: var(--muted); background: transparent; border: 0; border-radius: 14px; font-size: 13px; font-weight: 700; }
.tab[aria-selected="true"] { color: #fff; background: var(--ink); }

.hero { min-height: 510px; position: relative; overflow: hidden; padding: 3rem 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.hero::after { content: "18:00"; position: absolute; right: -1rem; top: 2rem; z-index: 0; color: transparent; -webkit-text-stroke: 1px rgba(15, 28, 32, .1); font: 800 clamp(7rem, 30vw, 20rem)/1 "IBM Plex Mono", monospace; letter-spacing: -.12em; }
.hero__copy, .now-board, .hero__route { position: relative; z-index: 1; max-width: 1120px; margin-inline: auto; }
.hero__copy { margin-top: 2rem; }
.hero h1, .add-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.35rem, 10vw, 8rem); line-height: .87; letter-spacing: -.08em; font-weight: 800; }
.hero h1 em, .add-hero h1 em { color: var(--coral); font-style: normal; }
.hero__intro { max-width: 590px; margin: 1.5rem 0 2rem; font-size: clamp(.94rem, 2vw, 1.12rem); line-height: 1.65; }
.hero__route, .intake-route { display: flex; align-items: center; color: var(--muted); font: 600 .66rem "IBM Plex Mono", monospace; letter-spacing: .07em; }
.hero__route i, .intake-route i { flex: 0 1 82px; height: 5px; margin: 0 .65rem; background: var(--coral); position: relative; }
.hero__route i::after, .intake-route i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 3px solid var(--coral); }
.now-board { display: grid; grid-template-columns: 1fr 1fr; color: var(--white); background: var(--ink); border-top: 6px solid var(--lime); }
.now-board div { min-height: 72px; padding: .8rem; border-right: 1px solid #3b4649; border-bottom: 1px solid #3b4649; }
.now-board div:last-child { grid-column: 1 / -1; }
.now-board span { display: block; margin-bottom: .4rem; color: #82959a; font: 500 .56rem "IBM Plex Mono", monospace; letter-spacing: .12em; }
.now-board strong { font: 600 1.3rem "IBM Plex Mono", monospace; letter-spacing: -.05em; }
.lime-text { color: var(--lime); }

.finder { max-width: 1180px; margin: auto; padding: 10px 1rem 0; }

/* Search bar (final.html screen 1): one white bar with the gear inside it on
   the right, and a brass badge counting active filters. */
.search-row { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 4px 0 12px; background: #fff; border-radius: 13px; }
.search-row__glyph { color: var(--muted); font-size: 15px; }
/* 16px: iOS Safari zooms the page into any field under 16px when it is tapped. */
.search-row input { flex: 1; min-width: 0; height: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 0; font-size: 16px; }
.search-row input::placeholder { color: var(--muted); }
.search-row input:focus-visible { outline: 0; }
.search-row:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.filter-button { flex: none; height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 0 8px; color: var(--ink); background: transparent; border: 0; border-radius: 10px; font-size: 16px; }
.filter-button:hover, .filter-button.is-open { background: var(--paper); }
.filter-button__icon { display: block; flex: none; }
.filter-button__count { min-width: 16px; padding: 1px 5px; color: var(--ink); background: var(--lime); border-radius: 8px; font: 800 10px/14px "Manrope", sans-serif; }

/* Quick-filter pills. One scrolling row; "All" resets, "Nearby" is a sort. */
.pills { display: flex; gap: 4px; margin: 8px 0 7px; padding-bottom: 2px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; min-height: 28px; scroll-snap-align: start; padding: 5px 11px; color: var(--ink); background: #fff; border: 0; border-radius: 14px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill[aria-pressed="true"] { color: #fff; background: var(--ink); }

.list-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; color: var(--muted); font-size: 12px; }
.list-meta p { margin: 0; }
.list-meta strong { color: var(--ink); font-size: 15px; font-weight: 800; margin-right: 2px; }
.view-switch { margin-left: auto; display: flex; padding: 3px; background: #fff; border-radius: 12px; }
.view-switch button { min-width: 36px; height: 28px; padding: 0 10px; color: var(--muted); background: transparent; border: 0; border-radius: 9px; font-size: 14px; }
.view-switch button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.view-switch button:disabled { cursor: not-allowed; opacity: .55; }
/* ---- Filter page (the ⚙ sheet, final.html screen 2) ----
   A full-screen mist sheet over the list with its own scroll area and a pinned
   "Show results · N places" button that closes it. */
.filter-panel { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: var(--paper); }
body.filters-open { overflow: hidden; }
.filter-page { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 1rem 84px; }
.filter-page__head { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px; margin-bottom: 4px; }
.filter-page__head h2 { margin: 0; font-size: 16px; font-weight: 800; text-align: center; }
.filter-page__head .text-button { padding: 0; border-bottom: 0; font-size: 13px; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); background: #fff; border: 0; border-radius: 50%; font-size: 17px; line-height: 1; }

.filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-group legend { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 14px 0 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.range-labels { display: flex; align-items: baseline; justify-content: space-between; color: var(--muted); font-size: 12px; }
.range-labels output { color: var(--ink); font: 800 13px "IBM Plex Mono", monospace; }
.filter-note { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.option { min-height: 40px; padding: 9px; color: var(--ink); background: #fff; border: 0; border-radius: 11px; font-size: 13px; font-weight: 700; }
.option[aria-pressed="true"] { color: var(--lime); background: var(--ink); }

/* Two overlaid range inputs share one track. The inputs are transparent and
   pointer-transparent; only their thumbs take pointer events, so either thumb
   can be grabbed anywhere along the track. */
.range { position: relative; height: 26px; margin: 4px 0; }
.range__track { position: absolute; top: 11px; left: 9px; right: 9px; height: 4px; background: var(--paper-2); border-radius: 2px; }
.range__fill { position: absolute; top: 0; height: 4px; background: var(--ink); border-radius: 2px; }
.range input { position: absolute; top: 0; left: 0; width: 100%; height: 26px; margin: 0; padding: 0; background: none; border: 0; appearance: none; pointer-events: none; }
.range input::-webkit-slider-thumb { pointer-events: auto; width: 18px; height: 18px; background: #fff; border: 4px solid var(--ink); border-radius: 50%; appearance: none; }
.range input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; background: #fff; border: 4px solid var(--ink); border-radius: 50%; }
.range input:disabled::-webkit-slider-thumb { border-color: var(--line); }

.radio-list { display: grid; gap: 5px; }
.radio-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 10px 11px; background: #fff; border-radius: 11px; font-size: 13px; font-weight: 700; }
.radio-row small { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.radio-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.radio-row:has(input:disabled) { color: var(--muted); }

.filter-apply { position: absolute; left: 1rem; right: 1rem; bottom: 14px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #fff; background: var(--ink); border: 0; border-radius: 24px; font-size: 14px; font-weight: 800; }
.filter-apply b { padding: 2px 8px; color: var(--ink); background: var(--lime); border-radius: 10px; font-size: 12px; }

.nearby-button { min-height: 43px !important; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .8rem !important; border-radius: 11px; }
.nearby-button[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.locator { width: 12px; height: 12px; border: 3px solid currentColor; border-radius: 50%; }
.chip-scroller { width: 100%; max-width: 100%; display: flex; gap: 5px; padding: 2px 2px 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.chip-scroller::-webkit-scrollbar { display: none; }
.chip-scroller button { min-height: 36px; flex: 0 0 auto; scroll-snap-align: start; padding: 8px 11px; color: var(--ink); background: #fff; border: 0; border-radius: 11px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip-scroller button[aria-pressed="true"] { color: var(--lime); background: var(--ink); }
.chip-scroller button:disabled { opacity: .42; }

.section-kicker { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.section-kicker > span, .form-head > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: var(--white); background: var(--coral); border-radius: 50%; font: 600 .65rem "IBM Plex Mono", monospace; }
.section-kicker h1, .section-kicker h2 { margin: .05rem 0 0; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -.055em; }
.section-kicker--light h2 { color: var(--white); }
.text-button { padding: .22rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .73rem; font-weight: 800; }

/* ---- Light Harbour list (2026-10-04) ----
   The results section used to be a dark board. It is now mist paper with white
   cards, so ink is the body colour and dark brass carries the deal line (the
   brass accent #e6c46f has no contrast on white). */
.board-section { color: var(--ink); background: var(--paper); padding: 0 max(1rem, calc((100vw - 1180px) / 2)) 2.5rem; }
.results { display: grid; gap: 9px; }

.card { width: 100%; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; column-gap: 12px; padding: 9px; color: var(--ink); background: #fff; border: 0; border-radius: 13px; text-align: left; align-items: center; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover, .card:focus-visible { box-shadow: 0 4px 14px rgba(15, 28, 32, .14); transform: translateY(-1px); }
.card-photo { width: 54px; height: 54px; align-self: center; overflow: hidden; background: var(--paper-2); border-radius: 10px; }
.card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* No usable photo: a brass tile carrying the entry price instead of an empty hole. */
.card-photo--tile { display: grid; place-items: center; color: #6f5717; background: #f3e6c2; font: 800 .95rem "IBM Plex Mono", monospace; }
.card-body { min-width: 0; }
/* Longhand, not the font: shorthand — the shorthand would reset font-family and
   knock the zh-Hant CJK stack off these lines. */
.card-name { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-area { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-deal { display: block; margin-top: 3px; color: #6f5717; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags { display: flex; gap: 4px; margin-top: 5px; overflow: hidden; }
.tag { flex: none; padding: 2px 6px; color: var(--blue); background: #e3f2f6; border-radius: 7px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tag--now { color: var(--lime); background: var(--ink); }
.tag--free_flow { color: #a3361f; background: #ffe7df; }
.card-price { align-self: start; margin-top: 2px; color: var(--ink); font: 800 16px "IBM Plex Mono", monospace; text-align: right; white-space: nowrap; }
.card-price small { display: block; color: var(--muted); font-family: "Manrope", "Aptos", sans-serif; font-size: 10px; font-weight: 600; line-height: 1.3; }
.distance { color: var(--ink-2); }
.distance--approx { color: #6f5717; }

.delivery { display: inline-flex; align-items: center; padding: .25rem .4rem; font: 600 .53rem/1.25 "IBM Plex Mono", monospace; text-transform: uppercase; }
.empty-state { padding: 3rem 1rem; text-align: center; }
.empty-state__code { color: var(--coral); font: 600 .64rem "IBM Plex Mono", monospace; letter-spacing: .16em; }
.empty-state h3 { font-size: 1.5rem; }
.empty-state p:not(.empty-state__code) { color: #a5b3b6; }
.button { min-height: 48px; padding: .75rem 1rem; border: 0; font-weight: 800; }
.button--lime { color: var(--ink); background: var(--lime); }
.button--dark { color: var(--white); background: var(--ink); }
.button--outline { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.button--wide { width: 100%; }

.intake-route { max-width: 1120px; margin-top: 2rem; color: #a5b3b6; }
.intake-route i::after { background: var(--ink); }
.photo-preview { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; }
.photo-preview img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); }
.photo-status, .form-footnote { margin: .7rem 0 0; color: var(--muted); font-size: .67rem; line-height: 1.5; }
.form-error { min-height: 1.2rem; margin: .5rem 0; color: #a3361f; font-size: .74rem; font-weight: 700; }
.submit-result { min-height: 0; margin: .5rem 0 1rem; padding: 0; font-size: .75rem; font-weight: 700; line-height: 1.5; }
.submit-result:not(:empty) { padding: .85rem; border-left: 5px solid var(--blue); background: #e3f2f6; }
.submit-result--error:not(:empty) { background: #ffe7df; border-color: var(--coral); }
.submit-result--success:not(:empty) { background: #f3e6c2; border-color: #8a6d1f; }
.no-drafts { padding: 1.2rem 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .75rem; }

footer { padding: 1.4rem max(1rem, calc((100vw - 1180px) / 2)); color: #a5b3b6; background: var(--ink); border-top: 1px solid #394649; font: 500 .6rem/1.5 "IBM Plex Mono", monospace; }
footer p { margin: 0; }
footer strong { color: var(--lime); }
/* ---- Bar page (final.html screens 5-6) ----
   Full-screen white page on phones, a side sheet on wide screens. The photo
   carries the back / share / save buttons; a white panel with rounded top
   corners overlaps it; share and directions are pinned to the bottom. */
.sheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; color: var(--ink); background: #fff; border: 0; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(5, 11, 13, .55); }
#detailContent { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.bar-hero { position: relative; flex: none; height: 250px; overflow: hidden; background: var(--paper-2); }
.bar-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bar-hero__credit { position: absolute; left: 12px; bottom: 34px; color: rgba(255, 255, 255, .8); font-size: 10px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.bar-hero--tile { display: grid; place-items: center; background: #f3e6c2; }
.bar-hero__tile { color: #6f5717; font: 800 2.4rem "IBM Plex Mono", monospace; }
.bar-thumbs { display: flex; gap: 8px; margin: 0 0 12px; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bar-thumb { flex: none; width: 64px; height: 48px; padding: 0; overflow: hidden; background: var(--paper-2); border: 2px solid transparent; border-radius: 10px; cursor: pointer; scroll-snap-align: start; }
.bar-thumb[aria-pressed="true"] { border-color: var(--ink); }
.bar-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fab { position: absolute; top: calc(12px + env(safe-area-inset-top)); z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; font-size: 17px; font-weight: 800; line-height: 1; box-shadow: 0 1px 4px rgba(15, 28, 32, .15); }
.fab--back { left: 12px; font-size: 22px; }
.fab--share { right: 56px; }
.fab--save { right: 12px; }
.fab--save[aria-pressed="true"] { color: #a3361f; }
.bar-panel { position: relative; flex: 1; margin-top: -26px; padding: 16px 16px 20px; background: #fff; border-radius: 24px 24px 0 0; }
.bar-name { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-meta { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.bar-status { display: inline-block; margin: 9px 0 0; padding: 4px 10px; color: var(--ink); background: var(--paper); border-radius: 12px; font-size: 11px; font-weight: 800; }
.bar-status--live { color: var(--lime); background: var(--ink); }
.bar-name:focus { outline: 0; }
.bar-tiles { display: flex; gap: 6px; margin: 13px 0 0; padding: 0; list-style: none; }
.bar-tiles li { flex: 1; min-width: 0; padding: 8px 4px; color: var(--ink-2); background: var(--paper); border-radius: 13px; font-size: 11px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-tiles li span { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15px; font-weight: 800; }
.bar-section { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
.bar-section span { font-weight: 600; }
.offer-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.offer-table td { padding: 8px 0; border-top: 1px solid var(--paper-2); vertical-align: middle; font-weight: 600; }
.offer-table small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; font-weight: 500; }
.offer-table .dot { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 4px; vertical-align: -1px; }
.offer-price { padding-left: 10px !important; text-align: right; white-space: nowrap; font: 800 14px "IBM Plex Mono", monospace !important; }
.timeline { padding: 10px 12px 9px; background: var(--paper); border-radius: 16px; }
.tl-axis, .tl-row { display: grid; grid-template-columns: 30px 1fr; align-items: center; }
/* English day names (Wed ●) need more room than 一 / 三 ●. */
:lang(en) .tl-axis, :lang(en) .tl-row { grid-template-columns: 46px 1fr; }
.tl-row > span:first-child { white-space: nowrap; }
.tl-ticks { position: relative; height: 14px; }
.tl-ticks span { position: absolute; transform: translateX(-50%); color: #74878b; font-size: 9px; }
.tl-ticks span:first-child { transform: none; }
.tl-ticks span:last-child { transform: translateX(-100%); }
.tl-row { height: 22px; color: var(--muted); font-size: 11px; font-weight: 700; }
.tl-row.is-today { color: var(--ink); }
.tl-row.is-off { color: #bfcbc6; }
.tl-track { position: relative; height: 12px; background: #fff; border-radius: 6px; }
.tl-track .seg { position: absolute; top: 0; height: 12px; border-radius: 6px; }
.now-line { position: absolute; top: -4px; width: 2px; height: 20px; margin-left: -1px; background: #a3361f; border-radius: 1px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; color: var(--muted); font-size: 10px; }
.tl-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 3px; vertical-align: -1px; }
.tl-legend__now { color: #a3361f; }
.bar-terms { margin-top: 16px; border-top: 1px solid var(--paper-2); }
.bar-terms summary { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.bar-terms summary::-webkit-details-marker { display: none; }
.bar-terms summary span { color: var(--muted); font-size: 12px; font-weight: 500; }
.bar-terms__close, .bar-terms[open] .bar-terms__open { display: none; }
.bar-terms[open] .bar-terms__close { display: inline; }
.bar-terms__text { padding-bottom: 10px; color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.bar-terms__text p { margin: 0 0 6px; }
.bar-info { margin: 0; padding: 0; list-style: none; }
.bar-info li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--paper-2); font-size: 13px; line-height: 1.45; }
.bar-info li > span:first-child { flex: none; width: 18px; color: var(--muted); text-align: center; }
.bar-info a { color: var(--blue); font-weight: 700; text-decoration: none; }
.bar-update { display: block; width: 100%; padding: 12px 0 4px; color: var(--blue); background: none; border: 0; border-top: 1px solid var(--paper-2); font-size: 13px; font-weight: 700; text-align: left; }
.bar-actions { position: sticky; bottom: 0; z-index: 3; display: flex; gap: 9px; padding: 12px 15px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--paper-2); }
.bar-actions > * { flex: 1; min-height: 46px; display: grid; place-items: center; color: var(--ink); background: var(--paper); border: 0; border-radius: 23px; font-size: 14px; font-weight: 800; text-decoration: none; }
.bar-actions__go { flex: 2 !important; color: #fff !important; background: var(--ink) !important; }
.history-list li { padding: .7rem 0; border-top: 1px solid var(--line); font-size: .74rem; line-height: 1.55; }
.history-list a, .source-link { color: var(--blue); font-weight: 700; }
/* A user report with no source_url: cite it as text, never as a link that goes nowhere. */
.source-cite { font-weight: 700; }
.source-nolink { color: var(--ink-soft, #5f6e71); font-style: italic; }
.noscript { padding: 1rem; color: white; background: #a3361f; text-align: center; }

:lang(zh-Hant) { font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans CJK TC", sans-serif; }
:lang(zh-Hant) .eyebrow, :lang(zh-Hant) .brand small, :lang(zh-Hant) .tab, :lang(zh-Hant) .chip-scroller button, :lang(zh-Hant) .filter-group legend, :lang(zh-Hant) .option, :lang(zh-Hant) .radio-row, :lang(zh-Hant) .pill, :lang(zh-Hant) .list-meta, :lang(zh-Hant) .card-area, :lang(zh-Hant) .card-price small, :lang(zh-Hant) .tag, :lang(zh-Hant) .delivery, :lang(zh-Hant) .form-grid label, :lang(zh-Hant) .coordinate-box label, :lang(zh-Hant) footer { font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans CJK TC", sans-serif; }
:lang(zh-Hant) .hero h1, :lang(zh-Hant) .add-hero h1 { font-size: clamp(2.75rem, 9vw, 7rem); line-height: .95; letter-spacing: -.055em; }

@media (min-width: 640px) {
  .masthead__inner, .tabs { padding-inline: 2rem; }
  .hero { padding-inline: 2rem; }
  .now-board { grid-template-columns: repeat(3, 1fr); }
  .now-board div:last-child { grid-column: auto; }
  .finder { padding: 1rem 2rem 0; }
  .filter-page { padding-inline: 2rem; }
  .filter-apply { left: 2rem; right: 2rem; }
  .option-grid { grid-template-columns: repeat(3, 1fr); }
  .board-section { padding-block: 0 4rem; padding-inline: max(2rem, calc((100vw - 1180px) / 2)); }
  .sheet { width: min(58vw, 560px); margin: 0 0 0 auto; }
  .bar-hero { height: 300px; }
}
@media (min-width: 980px) {
  .hero { min-height: 590px; padding-top: 4.5rem; }
  .hero__copy { margin-top: 3rem; }
}
@media (max-width: 420px) {
  .hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* ---- Simplified public UI (2026-10-02) ---- */

/* zh-Hant list cards: CJK glyphs fill the em box, so at the same size and
   weight the deal line read louder than the venue name. Keep the spec's 15/13px
   sizes and restore the hierarchy with weight instead. */
:lang(zh-Hant) .card-name { font-weight: 800; letter-spacing: 0; }
:lang(zh-Hant) .card-deal { font-weight: 600; letter-spacing: .01em; }

/* Update mode on the tip form: a bar already listed is being updated. */

/* ---- Tip page (final.html screens 7-8) ----
   Mist page, white field cards with the label inside, single-choice offer pills,
   a dashed photo box, the "your tips" list, and a pinned send button. */
.add-page { max-width: 640px; margin: 0 auto; padding: 14px 1rem 0; }
.tip-head h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.tip-head p { margin: 3px 0 12px; color: var(--muted); font-size: 12px; }
.field { display: block; margin-bottom: 8px; padding: 9px 12px; background: #fff; border-radius: 14px; }
.field > span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 700; }
.field__req { color: var(--muted); font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 2px 0; color: var(--ink); background: transparent; border: 0; border-radius: 0; font-size: 16px; resize: none; }
.field input::placeholder, .field textarea::placeholder { color: #94a5a9; }
.field textarea { min-height: 42px; }
.field:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; }
.tip-pills { margin: 2px 0 9px; }
.tip-pills .pill[aria-checked="true"] { color: #fff; background: var(--ink); }
.photo-box { margin: 0 0 8px; padding: 16px; color: var(--muted); background: #fff; border: 1.5px dashed var(--line); border-radius: 16px; text-align: center; }
.photo-pick { display: block; font-size: 12px; cursor: pointer; }
.photo-pick > span:first-child { display: block; margin-bottom: 2px; color: var(--ink); font-size: 22px; }
.photo-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem; margin-top: .7rem; }
.photo-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.photo-consent { flex-basis: 100%; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.35; color: var(--ink); text-align: left; cursor: pointer; }
.photo-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.update-banner { margin-bottom: 10px; padding: 11px 13px; background: #f3e6c2; border-radius: 16px; }
.update-banner p { margin: 0; }
.update-banner__title { font-size: 15px; }
.update-banner__title strong { font-weight: 800; }
.update-banner__hint { margin-top: 2px !important; color: var(--muted); font-size: 11.5px; }
.update-banner__cancel { margin-top: 6px; padding: 0; color: var(--blue); background: none; border: 0; font-size: 12px; font-weight: 700; }
.drafts { margin: 12px 0 0; }
.drafts h2 { margin: 0 0 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.draft-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; padding: 10px 12px; background: #fff; border-radius: 13px; font-size: 13px; }
.draft-item strong { font-weight: 700; }
.draft-item .delivery { padding: 0; color: var(--blue); background: none; font: 800 11px "Manrope", sans-serif; text-transform: none; }
.draft-item .delivery--local { color: #a3361f; }
.draft-item .delivery--live { color: #6f5717; }
.draft-actions { display: flex; gap: 12px; width: 100%; }
.draft-actions button { padding: 0; color: var(--blue); background: none; border: 0; font-size: 12px; font-weight: 700; }
.draft-actions button:last-child { color: #a3361f; }
.tip-send-bar { position: sticky; bottom: 0; z-index: 5; margin: 12px -1rem 0; padding: 10px 1rem calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(238, 242, 240, 0), var(--paper) 30%); }
.tip-send { width: 100%; min-height: 50px; color: #fff; background: var(--ink); border: 0; border-radius: 25px; font-size: 15px; font-weight: 800; }
.tip-send:disabled { opacity: .6; }
.form-error:empty, .submit-result:empty { display: none; }

/* ---- Map view (final.html screens 3-4) ----
   Fills the viewport under the header, search, pills and meta line (height set
   from JS so it fits whatever the header wraps to). Area shortcuts float at the
   top, the card row at the bottom. Pins: ink with brass price while the deal is
   on, white while it is later, brass when tapped. The footer hides on the map. */
.map-view { position: relative; margin: 0 calc(-1 * max(1rem, calc((100vw - 1180px) / 2))); overflow: hidden; background: var(--paper-2); }
.map { position: absolute; inset: 0; background: var(--paper-2); font: inherit; }
.map-areas { position: absolute; top: 10px; left: 0; right: 0; z-index: 2; display: flex; gap: 6px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.map-areas::-webkit-scrollbar { display: none; }
.map-area { flex: none; min-height: 32px; padding: 0 13px; color: var(--ink); background: #fff; border: 0; border-radius: 16px; box-shadow: 0 1px 4px rgba(15, 28, 32, .14); font-size: 13px; font-weight: 700; }
.map-area[aria-pressed="true"] { color: #fff; background: var(--ink); }
.map-pin { padding: 5px 8px; color: var(--lime); background: var(--ink); border: 0; border-radius: 12px 12px 12px 3px; box-shadow: 0 2px 6px rgba(15, 28, 32, .28); font: 800 12px/1 "IBM Plex Mono", monospace; white-space: nowrap; }
.map-pin--later { color: var(--muted); background: #fff; }
.map-pin.is-selected { z-index: 3; color: var(--ink); background: var(--lime); transform: scale(1.12); transform-origin: bottom left; }
.map-cluster { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; background: var(--ink); border: 0; border-radius: 50%; box-shadow: 0 0 0 5px rgba(15, 28, 32, .15); font: 800 12px "IBM Plex Mono", monospace; }
.map-cluster--later { width: 30px; height: 30px; background: var(--muted); font-size: 11px; }
/* You-are-here dot: above every pin, with a soft pulse so it is easy to spot. */
.map .maplibregl-marker.map-me { z-index: 6; }
.map-me { display: block; width: 18px; height: 18px; background: var(--blue); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 8px rgba(36, 104, 122, .22), 0 1px 4px rgba(15, 28, 32, .35); animation: map-me-pulse 2s ease-out infinite; }
@keyframes map-me-pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 104, 122, .45), 0 1px 4px rgba(15, 28, 32, .35); } 100% { box-shadow: 0 0 0 18px rgba(36, 104, 122, 0), 0 1px 4px rgba(15, 28, 32, .35); } }
@media (prefers-reduced-motion: reduce) { .map-me { animation: none; } }
/* ◎ locate button, bottom-right above the card row (the map credit moves bottom-left). */
.map-locate { position: absolute; right: 12px; bottom: 144px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 50%; box-shadow: 0 2px 8px rgba(15, 28, 32, .2); }
.map-locate.is-on { color: var(--blue); }
.map-locate[aria-busy="true"] { opacity: .6; }
.map-cards { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; display: flex; gap: 8px; padding: 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 12px; scrollbar-width: none; }
.map-cards::-webkit-scrollbar { display: none; }
.map-cards .card { flex: none; width: min(300px, calc(100vw - 48px)); scroll-snap-align: start; box-shadow: 0 4px 14px rgba(15, 28, 32, .16); }
.map-cards .card.is-selected { box-shadow: 0 0 0 2px var(--lime), 0 4px 14px rgba(15, 28, 32, .16); }
.map-cards__empty { margin: 0; padding: 12px 14px; color: var(--muted); background: #fff; border-radius: 13px; font-size: 13px; }
.map-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; margin: 0; color: var(--muted); font-size: 8px; letter-spacing: 2px; text-align: center; }
.map-status { position: absolute; left: 1rem; right: 1rem; top: 40%; z-index: 4; margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.map-status:empty { display: none; }
/* maplibre-gl.css loads after this file and makes the container relative. */
.map.maplibregl-map { position: absolute; }
.map .maplibregl-ctrl-attrib { font-size: 10px; }
.map .maplibregl-ctrl-bottom-left { bottom: 140px; }
body.is-map footer { display: none; }
body.is-map .board-section { padding-bottom: 0; }
/* More room for the map: no search row; ⚙ sits beside ☰/⌖; the pills float
   under the area row (app.js placeMapControls moves the elements). */
body.is-map .search-row { display: none; }
body.is-map .list-meta { margin-top: 10px; }
.list-meta > .filter-button { margin-left: auto; height: 34px; background: #fff; border-radius: 12px; }
.list-meta > .filter-button + .view-switch { margin-left: 0; }
.map-view > .pills { position: absolute; top: 50px; left: 0; right: 0; z-index: 2; gap: 6px; margin: 0; padding: 0 12px 6px; scroll-padding: 0 12px; }
.map-view > .pills .pill { min-height: 30px; box-shadow: 0 1px 4px rgba(15, 28, 32, .14); }

/* Terms / Privacy links: footer and the line above the tip form's send button. */
.footer-links { margin-top: .4rem; font-size: .8rem; }
.footer-links a, .tip-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tip-legal { margin: .4rem 0 0; font-size: .78rem; color: #5f6e71; }
