/* MassageOpen — Fable "The light's on" production stylesheet (Round 2).
   Palette preserved verbatim:
   - #F4F2F9 dusk haze page canvas
   - #1E1638 deep violet ink
   - #FFB627 lamp amber reserved EXCLUSIVELY for live KneadOps bookable times & pins
   - Besley (painted shop signs) + Figtree (body & tabular numbers) */

:root {
  --ink: #1E1638;
  --ink-2: #4A3F6B;
  --ink-3: #6B6190;
  --violet: #5B4B9A;
  --violet-soft: #E7E2F4;
  --haze: #F4F2F9;
  --paper: #FDFCFF;
  --line: #DCD6EA;
  --line-strong: #C4BBDB;
  --lamp: #FFB627;
  --lamp-hi: #FFD469;
  --lamp-deep: #C77A00;
  --lamp-soft: #FFEFC9;
  --spring: #136F63;
  --spring-soft: #D9F0EB;
  --rose: #A3214A;
  --dusk: #261C4B;
  --dusk-deep: #171033;

  --gutter: clamp(16px, 3vw, 40px);
  --stick-h: 132px;
  --display: "Besley", "Clarendon", "Rockwell", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--haze);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.has-listing { overflow: hidden; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
b { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.noscript { padding: 24px var(--gutter); }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-star { fill: var(--lamp-deep); stroke: none; width: 15px; height: 15px; }
.i-solid { fill: currentColor; stroke: none; }
.i-knock { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-window { width: 44px; height: 52px; fill: var(--lamp); stroke: var(--ink); stroke-width: 3; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1.5px solid transparent; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  background: none; color: var(--ink);
  transition: background-color .12s, box-shadow .12s;
}
.btn .i { width: 17px; height: 17px; }
.btn-out { border-color: var(--ink); }
.btn-out:hover { background: rgba(30, 22, 56, .07); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2E2452; }
.btn-lamp { background: var(--lamp); border-color: var(--ink); }
.btn-lamp:hover { background: var(--lamp-hi); box-shadow: 0 0 0 4px rgba(255, 182, 39, .3); }
.btn-quiet { border-color: var(--line-strong); background: var(--paper); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.linkish { padding: 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.linkish:hover { color: var(--violet); }
.icon-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: var(--paper); }
.icon-btn:hover { border-color: var(--ink); }

/* ----------------------------------------------------------------- topbar */
.topbar { display: flex; align-items: center; gap: 12px; padding: 8px var(--gutter) 4px; min-height: 48px; }
.brand { font: 600 21px/1 var(--display); letter-spacing: -.01em; text-decoration: none; color: var(--ink); white-space: nowrap; flex: none; }
.brand-sign { display: inline-block; margin-left: 4px; padding: 3px 8px 4px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--lamp); box-shadow: 0 0 16px rgba(255, 182, 39, .55); }
.brand-small { font-size: 17px; }

.metro-picker { position: relative; margin-right: auto; min-width: 0; overflow: visible; }
.topbar-metro {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; min-width: 0;
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--paper); font: 600 14.5px/1 var(--body); color: var(--ink);
  max-width: 240px;
}
.topbar-metro:hover { border-color: var(--ink); }
.metro-btn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-metro svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.metro-pop {
  position: absolute; left: 0; top: 100%; z-index: 60; margin-top: 6px;
  width: min(320px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
  padding: 12px; border: 1.5px solid var(--ink); border-radius: 16px;
  background: var(--paper); box-shadow: 0 16px 40px rgba(23, 16, 51, .22);
  display: grid; gap: 10px;
}
.loc-form { display: flex; gap: 6px; align-items: stretch; }
.loc-form input {
  flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff;
  font-size: 15px; color: var(--ink);
}
.loc-form input:focus { border-color: var(--ink); }
.loc-form input::placeholder { color: var(--ink-3); }
.loc-go { min-height: 42px; height: 42px; padding: 0 14px; border-radius: 10px; font-size: 14px; flex: none; }
.loc-err { color: var(--rose); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.loc-quick-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-act {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px;
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--haze);
  font-weight: 600; font-size: 13.5px; color: var(--ink);
}
.loc-act:hover { border-color: var(--ink); background: var(--violet-soft); }
.loc-act .i { width: 15px; height: 15px; color: var(--violet); }
.loc-act-reset { background: var(--paper); }
.loc-divider { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.loc-divider::before, .loc-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.loc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-chip {
  min-height: 36px; padding: 0 11px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.loc-chip:hover { border-color: var(--ink); background: var(--violet-soft); }
.loc-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.topbar-actions { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.topbar-sponsor { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.topbar-sponsor:hover { color: var(--ink); }

/* ------------------------------------------------------------------ intro */
.intro { padding: 2px var(--gutter) 2px; }
.intro h1 { max-width: 38ch; font: 600 clamp(1.3rem, 1rem + .9vw, 1.55rem)/1.14 var(--display); letter-spacing: -.016em; text-wrap: balance; }
.intro-sub { max-width: 68ch; margin-top: 2px; color: var(--ink-2); font-size: 0.875rem; line-height: 1.35; text-wrap: pretty; }

/* --------------------------------------------------------------- controls */
.controls { position: sticky; top: 0; z-index: 30; padding: 4px var(--gutter) 4px; background: var(--haze); }
.controls.is-stuck { box-shadow: 0 1px 0 var(--line); }
.controls-row { display: flex; align-items: center; gap: 10px; }
.search { position: relative; flex: 1; min-width: 0; }
.search input {
  width: 100%; height: 42px; padding: 0 74px 0 42px;
  border: 1.5px solid var(--ink); border-radius: 13px; background: var(--paper);
  font-size: 15px; text-overflow: ellipsis;
}
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus-visible { outline-offset: 1px; }
.search-icon { position: absolute; left: 13px; top: 11px; width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search-clear { position: absolute; right: 38px; top: 4px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; }
.search-clear:hover { background: var(--violet-soft); }
.search-clear svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.search-kbd { position: absolute; right: 12px; top: 10px; min-width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink-3); font: 600 12px/1 var(--body); }

.filters-btn { display: none; position: relative; }
.filters-n {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 11.5px;
}

.view-toggle {
  display: none; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1.5px solid var(--ink); border-radius: 12px;
  background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px;
}
.view-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.view-toggle .ico-list, .view-toggle[aria-pressed="true"] .ico-map { display: none; }
.view-toggle[aria-pressed="true"] .ico-list { display: block; }
.view-toggle[aria-pressed="true"] { background: var(--ink); color: #fff; }

.sort { display: flex; align-items: center; gap: 8px; flex: none; }
.sort-label { color: var(--ink-2); font-size: 14px; }
.sort select {
  height: 42px; padding: 0 36px 0 14px; border: 1.5px solid var(--line-strong); border-radius: 13px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1638' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
  appearance: none; font-weight: 600; font-size: 14.5px;
}
.sort select:hover { border-color: var(--ink); }

.filter-row { display: flex; flex-direction: column; gap: 2px; }
.modalities { position: relative; margin: 4px calc(var(--gutter) * -1) 0; }
.modality-track { display: flex; gap: 2px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.mod-scroll { display: none; }
.modality-track::-webkit-scrollbar, .pills::-webkit-scrollbar, .slots::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.modality {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: none; min-height: 44px; padding: 6px 12px 5px;
  border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink-2);
}
.modality svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.modality-name { font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.modality-n { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.modality:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.modality.is-on { color: var(--ink); border-bottom-color: var(--lamp); }
.modality.is-on svg { stroke-width: 2.1; }

.pills { display: flex; align-items: center; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 2px; overflow-x: auto; scrollbar-width: none; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  height: 36px; padding: 0 13px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--paper); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.pill:hover:not(.pill-ghost) { border-color: var(--ink); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-ghost { opacity: .68; border-style: dashed; cursor: default; color: var(--ink-2); }
.pill .i { width: 15px; height: 15px; stroke-width: 2.6; }
.pill-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--lamp); box-shadow: 0 0 0 1.5px var(--ink), 0 0 8px var(--lamp); }
.pill-clear { flex: none; padding: 0 6px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.modality-instant,
.modality-quick-pill { display: none; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 8px; color: var(--ink-2); font-size: 13px; }
.active-filters .linkish { font-size: 13px; }

@media (min-width: 1000px) {
  .mod-strip { display: flex; align-items: center; }
  .mod-scroll {
    position: absolute; top: 50%; z-index: 4; translate: 0 -50%;
    display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
    border: 1.5px solid var(--line-strong); border-radius: 999px;
    background: rgba(253, 252, 255, .96); color: var(--ink);
    font: 700 18px/1 var(--body); box-shadow: 0 2px 10px rgba(23, 16, 51, .16);
    transition: border-color .12s, background-color .12s;
  }
  .mod-scroll:hover { border-color: var(--ink); background: #fff; }
  .mod-scroll-prev { left: 2px; }
  .mod-scroll-next { right: 2px; }
}
@media (min-width: 1280px) {
  .filter-row { flex-direction: row; align-items: center; gap: 12px; margin-top: 4px; }
  .filter-row .modalities { flex: 1 1 auto; min-width: 0; margin: 0; }
  .filter-row .modality-track { padding: 0 28px 0 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .filter-row .pills { flex: none; margin: 0; padding: 0; overflow: visible; }
}

/* ---------------------------------------------------------------- results */
.results { display: grid; gap: 20px; padding: 2px var(--gutter) 40px; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 6px; }
.count { font-size: 14.5px; }
.count b { font-size: 16px; }
.rank-note { margin-left: auto; color: var(--ink-3); font-size: 12.5px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 22px 18px; transition: opacity .15s; }
.grid.is-loading { opacity: .55; }
.load-more { display: flex; justify-content: center; margin: 28px 0 8px; }
.load-more-btn { gap: 10px; min-height: 46px; padding: 0 22px; background: var(--paper); }
.load-more-meta { color: var(--ink-2); font-weight: 500; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.load-more-cap { margin: 0; color: var(--ink-2); font-size: 14px; text-align: center; max-width: 46ch; }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-deferred { content-visibility: auto; contain-intrinsic-size: 250px 280px; }
.card-media { position: relative; border-radius: 16px; }
.card-art { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--dusk); outline: 0 solid var(--lamp); transition: outline-width .1s; text-decoration: none; }
.card-link { display: block; flex: 1; color: inherit; text-decoration: none; }
.art { display: block; width: 100%; height: 100%; }
.art-photo { object-fit: cover; }
.art-photo:not(.is-logo),
.card-media img:not(.is-logo),
.c-media img:not(.is-logo),
.listing-hero img:not(.is-logo),
.l-hero img:not(.is-logo),
.hero-main img:not(.is-logo),
.hero-thumb img:not(.is-logo),
.preview-art img:not(.is-logo) {
  object-position: center 20%;
}
.art-photo.is-logo,
.hero-thumb img.is-logo {
  object-fit: contain;
  padding: 10% 12%;
  box-sizing: border-box;
  background: var(--logo-bg, #faf8fd);
}
.art-photo.is-logo.is-logo-dark,
.hero-thumb img.is-logo.is-logo-dark {
  padding: 8% 10%;
  background: var(--logo-bg, #231b3d);
}
.hero-thumb img.is-logo,
.preview-art .art-photo.is-logo,
.card-compact .art-photo.is-logo {
  padding: 8%;
}
.card.is-hot .card-art, .card.is-selected .card-art { outline-width: 4px; outline-offset: 2px; }
.card-name { margin-top: 9px; font: 600 17px/1.22 var(--display); letter-spacing: -.005em; text-wrap: pretty; }
.card-link:hover .card-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rating-n { color: var(--ink-2); }
.rating-src { color: var(--ink-3); font-size: 12px; margin-left: 4px; font-weight: 500; }
.card-where { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 3px; color: var(--ink-2); font-size: 13.5px; }
.card-where .rating { color: var(--ink); }

.card-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.fact-chip {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 24px; padding: 2px 8px; border-radius: 6px;
  background: var(--violet-soft); color: var(--ink); font-size: 12.5px; font-weight: 500; line-height: 1.2;
}
.fact-chip-price { background: var(--paper); border: 1px solid var(--line-strong); }
.fact-chip-open { background: var(--spring-soft); color: var(--spring); font-weight: 600; }
.fact-chip-open::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--spring); }
.fact-chip-hsa { background: var(--spring-soft); color: var(--spring); font-weight: 600; }
.fact-chip-muted { background: transparent; border: 1px solid var(--line); color: var(--ink-3); }

.is-open { color: var(--spring); }
.is-closed { color: var(--ink-3); }
.card-book { margin-top: 10px; min-width: 0; max-width: 100%; overflow: hidden; }
.card-cta-row { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; overflow: hidden; }
.card-book .btn {
  flex: 1 1 auto; min-width: 0; max-width: 100%; min-height: 40px;
  padding: 0 11px; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.btn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-details-link { flex: none; color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.card-details-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.card-noslots { color: var(--ink-2); font-size: 14px; }

/* In-grid owner promo card (placed after row 2, clearly labelled for owners) */
.owner-promo-card {
  grid-column: 1 / -1; min-width: 0; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  padding: 16px 18px; border: 1.5px dashed var(--line-strong); border-radius: 18px;
  background: linear-gradient(145deg, rgba(231, 226, 244, .55), var(--paper) 70%);
}
.owner-promo-head { flex: 1 1 260px; min-width: 0; display: grid; gap: 4px; }
.owner-promo-tag {
  display: inline-flex; width: fit-content; padding: 2px 9px; border-radius: 999px;
  background: var(--violet-soft); color: var(--ink-2); font-size: 11.5px; font-weight: 700;
}
.owner-promo-title { font: 600 17px/1.25 var(--display); color: var(--ink); }
.owner-promo-copy { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.owner-promo-copy b { color: var(--ink); }
.owner-promo-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.owner-promo-ko { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 13px; }
.owner-promo-ko .i { width: 14px; height: 14px; }

/* ----------------------------------------------------- photo carousel UI */
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-arrow {
  position: absolute; top: 50%; z-index: 4; translate: 0 -50%;
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1.5px solid rgba(30, 22, 56, .24); border-radius: 999px;
  background: rgba(253, 252, 255, .92); color: var(--ink);
  box-shadow: 0 2px 10px rgba(23, 16, 51, .28);
  opacity: .92; transition: transform .12s, background-color .12s, opacity .12s;
}
.carousel-arrow .i { width: 16px; height: 16px; stroke-width: 2.3; }
.carousel-arrow:hover { background: #fff; opacity: 1; transform: scale(1.06); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
@media (hover: hover) {
  .card-media .c-arrow {
    opacity: 0;
    width: 28px;
    height: 28px;
  }
  .card-media .c-arrow .i { width: 14px; height: 14px; }
  .card-media .carousel-prev { left: 6px; }
  .card-media .carousel-next { right: 6px; }
  .card:hover .card-media .c-arrow,
  .card:focus-within .card-media .c-arrow {
    opacity: .94;
  }
}
.carousel-dots {
  position: absolute; left: 50%; bottom: 9px; z-index: 4; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 8px; border-radius: 999px; background: rgba(23, 16, 51, .62);
}
.carousel-dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .52); transition: width .15s, background-color .15s;
}
.carousel-dot.is-active { width: 14px; background: #fff; }
.tag-photos { position: absolute; top: 10px; right: 10px; left: auto !important; background: rgba(23, 16, 51, .78) !important; color: #fff !important; }
.tag-photos .i { width: 13px; height: 13px; }
.slide-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  padding: 4px 11px; border-radius: 999px; background: rgba(23, 16, 51, .8); color: #fff;
  font-weight: 600; font-size: 12.5px;
}

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(253, 252, 255, .94); color: var(--ink); font-weight: 600; font-size: 12px; line-height: 1.4; }
.tag .i { width: 13px; height: 13px; stroke-width: 2.4; }
.card-art .tag { position: absolute; top: 10px; left: 10px; z-index: 3; }
.card-art .tag-review { left: auto; right: 10px; }
.tag-inline { border: 1px solid var(--line-strong); background: var(--paper); }
.tag-lamp { border-color: var(--ink); background: var(--lamp); }
.tag-claimed { border-color: rgba(19, 111, 99, .4); color: var(--spring); }
.tag-review { background: #FBE3EA; color: var(--rose); }

/* bookable times */
.slots { display: flex; gap: 6px; margin: 0; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.slot {
  display: inline-flex; flex-direction: column; align-items: center; flex: 1 1 0; min-width: 0;
  padding: 4px 4px 5px; border: 1.5px solid var(--ink); border-radius: 9px;
  background: linear-gradient(var(--lamp-hi), var(--lamp)); color: var(--ink);
  line-height: 1.15; white-space: nowrap;
  transition: box-shadow .12s, background-color .12s;
}
.slot-day { font-weight: 600; font-size: 11px; opacity: .78; }
.slot-time { font-weight: 700; font-size: 13.5px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.slot-later { background: var(--lamp-soft); }
.slot-more { flex: 0 0 40px; background: var(--paper); }
button.slot:hover { box-shadow: 0 0 0 4px rgba(255, 182, 39, .38), 0 0 18px rgba(255, 182, 39, .5); }

.skeleton { aspect-ratio: 16 / 14; border-radius: 16px; background: var(--violet-soft); animation: breathe 1.4s ease-in-out infinite alternate; }
@keyframes breathe { to { opacity: .45; } }

.empty { max-width: 46ch; margin: 28px auto 60px; text-align: center; }
.empty-art .i-window { fill: var(--violet-soft); stroke: var(--line-strong); }
.empty-title { margin-top: 12px; font: 600 22px/1.2 var(--display); text-wrap: balance; }
.empty-text { margin-top: 8px; color: var(--ink-2); }
.empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.empty-owner { margin-top: 22px; color: var(--ink-2); font-size: 14px; }

/* -------------------------------------------------------------------- map */
.map-pane { display: none; }
.map {
  position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 22px;
  border: 1.5px solid var(--line-strong);
  background: var(--dusk); color: var(--ink);
}
.map.map-is-loading::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 70%);
  background-size: 200% 100%; animation: map-shimmer 1.6s linear infinite;
}
@keyframes map-shimmer { to { background-position: -200% 0; } }
.map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-is-fallback { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.map-is-fallback.is-dragging { cursor: grabbing; }
.map-fallback-bg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, #372B66, var(--dusk) 62%, var(--dusk-deep)); }
.map-fallback-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.map-fallback-badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(23, 16, 51, .75); color: #CFC6EE; font-size: 12px; }
.map-pins { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.map-legend-btn { display: none; }
.map-legend-pop {
  position: absolute; top: 56px; left: 12px; z-index: 14;
  display: grid; gap: 6px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 12px;
  background: var(--paper); color: var(--ink); font-size: 12.5px;
  box-shadow: 0 10px 26px rgba(23, 16, 51, .28);
}

.map-search-area {
  position: absolute; top: 14px; left: 50%; z-index: 12; translate: -50% 0;
  height: 38px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 22px rgba(23, 16, 51, .28);
}
.map-search-area:hover { background: var(--lamp-soft); }

.pin {
  position: relative; z-index: 2; pointer-events: auto;
  height: 28px; padding: 0 10px; border: 1.5px solid var(--dusk-deep); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(14, 10, 36, .35);
  transition: transform .12s, background-color .12s, color .12s;
}
.pin:not(.pin-dot)::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; translate: -50% 0;
  border: 6px solid transparent; border-top-color: var(--dusk-deep); border-bottom: 0;
}
.pin-dot {
  width: 14px; height: 14px; padding: 0; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--paper);
}
.pin-coarse {
  width: 14px; height: 14px; padding: 0; border-radius: 50%;
  background: rgba(253, 252, 255, .86); border: 2px solid var(--ink);
  box-shadow: 0 1px 4px rgba(14, 10, 36, .28);
}
.pin-coarse::before {
  content: ""; position: absolute; inset: -10px;
}
.mo-pin-approx-group {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 28px; padding: 0 10px;
  border: 1.5px dashed var(--violet); border-radius: 999px;
  background: rgba(244, 242, 249, .96); color: var(--ink);
  font-weight: 700; font-size: 12px; line-height: 1; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px rgba(30, 22, 56, .22);
  z-index: 15;
}
.mo-pin-approx-group::after { display: none !important; }
.mo-pin-approx-group:hover { border-color: var(--ink); background: var(--violet-soft); }
.mo-pin-approx-group.is-active {
  background: var(--ink); border-color: var(--lamp); border-style: dashed; color: #fff;
  box-shadow: 0 0 0 3px var(--lamp), 0 4px 16px rgba(14, 10, 36, .42);
  z-index: 55;
}
.pin-promoted {
  z-index: 20;
  box-shadow: 0 4px 14px rgba(14, 10, 36, .34);
}
.pin.is-sponsored { box-shadow: 0 0 0 2px var(--violet), 0 2px 6px rgba(14, 10, 36, .35); }
.map-is-fallback .pin { position: absolute; left: 0; top: 0; }
.pin-native { z-index: 40; border-radius: 10px; background: linear-gradient(var(--lamp-hi), var(--lamp)); box-shadow: 0 0 0 3px rgba(255, 182, 39, .32), 0 0 18px rgba(255, 182, 39, .65); }

/* Google Maps OverlayView miniature storefront pins & pure-JS spatial clusters */
.gm-pins-layer { position: relative; width: 0; height: 0; overflow: visible; pointer-events: none; }
.map-is-google .pin,
.map-is-google .pin-cluster {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -100%);
  transform-origin: center bottom;
}
.map-is-google .pin-coarse,
.map-is-google .mo-pin-approx-group,
.map-is-google .pin-cluster {
  transform: translate(-50%, -50%);
  transform-origin: center center;
}
.pin-storefront {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
  height: auto; min-width: 38px; padding: 3px 5px 4px;
  border: 1.5px solid var(--dusk-deep); border-radius: 11px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 3px 10px rgba(14, 10, 36, .32);
}
.pin-storefront.pin-storefront-icon-only { padding: 3px 4px; min-width: 34px; }
.pin-storefront .pin-bldg { display: grid; place-items: center; line-height: 0; }
.pin-storefront .pin-storefront-svg { display: block; width: 30px; height: 24px; }
.pin-storefront .pin-tag {
  display: block; padding: 0 3px;
  font-weight: 700; font-size: 11px; line-height: 1.15; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pin-storefront.pin-native {
  flex-direction: row; align-items: center; gap: 5px;
  padding: 4px 9px 4px 6px; border-radius: 11px; z-index: 40;
  border: 1.5px solid var(--ink);
  background: linear-gradient(var(--lamp-hi), var(--lamp)); color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 182, 39, .38), 0 4px 16px rgba(255, 182, 39, .62);
}
.pin-storefront.pin-native .pin-storefront-svg { width: 24px; height: 20px; }
.pin-storefront.pin-native .pin-tag { font-size: 12px; padding: 0; }
.pin-storefront::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; translate: -50% 0;
  border: 6px solid transparent; border-top-color: var(--dusk-deep); border-bottom: 0;
}
.pin-cluster {
  display: grid; place-items: center; pointer-events: auto; z-index: 12;
  width: 36px; height: 36px; padding: 0;
  border: 2.5px solid var(--paper); border-radius: 50%;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 12px rgba(14, 10, 36, .38);
  transition: transform .12s, background-color .12s;
}
.pin-cluster.is-md { width: 42px; height: 42px; font-size: 13.5px; }
.pin-cluster.is-lg { width: 48px; height: 48px; font-size: 14px; }
.pin-cluster:hover { background: var(--violet); transform: translate(-50%, -50%) scale(1.1); }

.pin.is-hot, .pin.is-active { z-index: 60; transform: scale(1.16); }
.map-is-fallback .pin.is-hot, .map-is-fallback .pin.is-active,
.map-is-google .pin.is-hot, .map-is-google .pin.is-active { transform: translate(-50%, -100%) scale(1.16); }
.map-is-google .pin-coarse.is-hot, .map-is-google .pin-coarse.is-active { transform: translate(-50%, -50%) scale(1.3); }
.map-is-google .mo-pin-approx-group.is-active { transform: translate(-50%, -50%) scale(1.08); }
.pin.is-hot:not(.pin-native), .pin.is-active:not(.pin-native) {
  background: var(--ink); border-color: var(--lamp); color: #fff;
  box-shadow: 0 0 0 3px var(--lamp), 0 6px 20px rgba(14, 10, 36, .45);
}
.pin-native.is-hot, .pin-native.is-active { box-shadow: 0 0 0 3px #fff, 0 0 24px rgba(255, 182, 39, .95); }

.map-tools { position: absolute; top: 12px; right: 12px; z-index: 12; display: grid; gap: 6px; }
.map-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--dusk-deep); border-radius: 11px; background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(23, 16, 51, .2); }
.map-btn:hover { background: var(--lamp-soft); }
.map-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-2); font-size: 12.5px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 16px; padding: 0 4px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-style: normal; font-size: 10px; font-weight: 700; line-height: 1; color: var(--ink);
}
.legend-lamp { border-radius: 4px; background: var(--lamp); box-shadow: 0 0 8px var(--lamp); }
.legend-dot { min-width: 12px; width: 12px; height: 12px; padding: 0; background: var(--ink); border-color: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
.legend-hollow { min-width: 12px; width: 12px; height: 12px; padding: 0; background: transparent; border: 1.5px solid var(--ink); }

.map-preview {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 15; max-width: 420px;
  padding: 12px; border-radius: 18px; background: var(--paper); color: var(--ink);
  box-shadow: 0 16px 44px rgba(10, 6, 30, .45);
  cursor: default; user-select: text; -webkit-user-select: text;
  animation: rise .18s ease-out;
}
.map-preview.is-skeleton { display: grid; gap: 10px; padding: 16px; }
.skel-bar { height: 14px; border-radius: 8px; background: var(--violet-soft); animation: breathe 1.2s ease-in-out infinite alternate; }
.skel-bar-wide { width: 78%; height: 18px; }
.skel-bar-mid { width: 54%; }
.skel-bar-short { width: 38%; }
.preview-pager {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: -4px 40px 6px -4px;
}
.preview-step {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--haze); color: var(--ink);
}
.preview-step:hover { border-color: var(--ink); background: var(--violet-soft); }
.preview-step .i { width: 18px; height: 18px; }
.preview-pos { font-size: 13px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.map-preview :focus-visible { outline-color: var(--violet); }
.preview-main { display: flex; gap: 12px; padding-right: 40px; text-decoration: none; min-width: 0; }
.preview-art { flex: none; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--dusk); }
.preview-text { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.preview-sponsored { display: block; color: var(--ink-3); font-weight: 600; font-size: 12px; }
.preview-name {
  font: 600 15.5px/1.2 var(--display);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-main:hover .preview-name { text-decoration: underline; text-underline-offset: 3px; }
.preview-meta,
.peek-meta {
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; column-gap: 6px; margin-top: 2px;
  min-width: 0; font-size: 13px; line-height: 1.25; color: var(--ink-2);
  white-space: normal; overflow: visible; overflow-wrap: anywhere;
}
.preview-meta .rating { color: var(--ink); font-size: 13px; }
.preview-price { color: var(--ink); font-variant-numeric: tabular-nums; }
.preview-dot { opacity: .55; }
.preview-chips {
  display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 4px;
  overflow: hidden; max-height: 24px;
}
.preview-chips .fact-chip { flex: none; min-height: 22px; padding: 1px 7px; font-size: 11.5px; }
.preview-where { color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.preview-book { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.preview-book .card-cta-row { flex: 1; }
.preview-book .btn { flex: 1; min-height: 44px; font-size: 14px; }
.preview-details { flex: none; font-size: 14px; color: var(--ink-2); }
.preview-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 10px; }
.preview-close .i { width: 16px; height: 16px; }
@keyframes rise { from { opacity: 0; translate: 0 10px; } }

/* ----------------------------------------------------------------- footer */
.site-footer { padding: 32px var(--gutter) 48px; border-top: 1px solid var(--line); }
.footer-brand { font: 600 19px/1 var(--display); }
.footer-line { max-width: 64ch; margin-top: 12px; color: var(--ink-2); }
.footer-metros { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 14px; font-size: 14px; }
.footer-metros-label { color: var(--ink-3); font-weight: 600; }
.footer-metro-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.footer-kneadops {
  max-width: 78ch; margin-top: 16px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper);
  color: var(--ink-2); font-size: 13.5px; line-height: 1.45;
}
.footer-kneadops b { color: var(--ink); }
.footer-fine { max-width: 78ch; margin-top: 14px; color: var(--ink-3); font-size: 13px; }

/* ---------------------------------------------------------------- listing */
.listing { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: var(--haze); animation: listing-in .22s ease-out; }
@keyframes listing-in { from { opacity: 0; translate: 0 18px; } }
.l-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter); background: rgba(244, 242, 249, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.btn-back { min-height: 44px; padding: 0 14px 0 8px; }
.l-bar-name { flex: 1; min-width: 0; overflow: hidden; font: 600 16px/1.2 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.l-wrap { max-width: 1160px; margin: 0 auto; padding: 18px var(--gutter) 64px; }
.l-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.l-name { margin-top: 6px; font: 600 clamp(1.625rem, 1.1rem + 2vw, 2.35rem)/1.1 var(--display); letter-spacing: -.016em; text-wrap: balance; }
.l-name:focus { outline: none; }
.l-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.l-rating { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.l-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 10px; padding: 9px 13px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  font-size: 13.5px; color: var(--ink-2);
}
.l-trust-score { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink); }
.l-trust-rating { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.l-trust-src { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.l-trust-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 13.5px; }
.l-trust-link .i { width: 14px; height: 14px; }
.l-trust-new { color: var(--ink-2); font-weight: 500; }
.l-trust-micro { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 13px; }
.l-trust-claimed { color: var(--spring); font-weight: 600; }
.l-trust-claimed .i { width: 15px; height: 15px; stroke-width: 2.5; }
.l-mobile-chips { display: none; }

.l-jump {
  position: relative; margin-top: 12px;
}
.l-jump-track {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
  overflow-x: auto; scrollbar-width: none;
}
.l-jump-track::-webkit-scrollbar { display: none; }
.l-jump.has-fade-right .l-jump-track {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
}
.l-jump.has-fade-right::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 242, 249, 0), rgba(244, 242, 249, .96) 86%);
}
.l-jump-pill {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  min-height: 36px; padding: 0 14px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--paper); color: var(--ink-2);
  font-weight: 600; font-size: 13.5px; text-decoration: none; white-space: nowrap;
}
.l-jump-pill:hover { border-color: var(--ink); color: var(--ink); }
.l-jump-pill[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-sec, .l-sec > h3, #lTop { scroll-margin-top: 84px; }

/* Desktop 2-column top layout: Hero + main on left, sticky booking panel on right -> CTA always above the fold */
.l-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; margin-top: 16px; }
.l-left { min-width: 0; }
.l-main { min-width: 0; margin-top: 22px; }

/* Illustrated hero when no photos: single crisp storefront, no fake side panels */
.gallery { display: grid; grid-template-columns: 1fr; aspect-ratio: 21 / 8; max-height: 300px; border-radius: 20px; overflow: hidden; }
.gallery figure { position: relative; min-height: 0; background: var(--dusk); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(23, 16, 51, .78); color: #fff; font-weight: 600; font-size: 12px; }

/* Listing Hero Carousel when real photos exist */
.listing-hero-gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hero-stage { position: relative; aspect-ratio: 16 / 9; max-height: 420px; border-radius: 20px; overflow: hidden; background: var(--dusk); }
.hero-stage .carousel-arrow { width: 40px; height: 40px; }
.hero-stage .carousel-arrow .i { width: 19px; height: 19px; }
.hero-counter { position: absolute; top: 14px; right: 14px; z-index: 4; padding: 4px 11px; border-radius: 999px; background: rgba(23, 16, 51, .78); color: #fff; font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hero-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; align-items: start; }
.hero-thumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: visible; background: none; text-align: left; }
.hero-thumb img,
.hero-thumb-art { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--dusk); overflow: hidden; }
.hero-thumb-art svg { display: block; width: 100%; height: 100%; }
.hero-thumb:hover img, .hero-thumb.is-active img,
.hero-thumb:hover .hero-thumb-art, .hero-thumb.is-active .hero-thumb-art { box-shadow: 0 0 0 2px var(--lamp); }
.hero-thumb-cap { position: static; display: block; margin-top: 4px; padding: 0 2px; background: none; color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.25; }

.g-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 8px; color: var(--ink-3); font-size: 13px; }
.g-note-remove { color: var(--ink-2); font-size: 13px; }
.g-note-remove:hover { color: var(--rose); }
.l-tagline { max-width: 36em; font: 500 1.2rem/1.42 var(--display); text-wrap: pretty; }
.l-sec { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.l-sec > h3 { margin-bottom: 14px; font: 600 1.25rem/1.2 var(--display); }
.l-fine { margin-top: 12px; color: var(--ink-3); font-size: 13.5px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.fact { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.fact .i { grid-row: 1 / span 2; margin-top: 2px; color: var(--violet); }
.fact dt { color: var(--ink-3); font-size: 13.5px; }
.fact dd { font-weight: 600; }
.fact dd a { text-underline-offset: 3px; }
.fact-more { display: block; color: var(--ink-2); font-weight: 400; font-size: 14px; }
.badge-hsa { display: inline-block; padding: 1px 9px; border-radius: 7px; background: var(--spring-soft); color: var(--spring); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 13px; border-radius: 999px; background: var(--violet-soft); font-size: 14.5px; }
.chips-small { gap: 6px; margin-top: 8px; }
.chips-small .chip { padding: 2px 10px; font-size: 13px; }
.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px auto; align-items: center; gap: 6px 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-row:first-child { border-top: 1px solid var(--line); }
.menu-name { font-weight: 600; }
.menu-dur { color: var(--ink-2); font-size: 14.5px; }
.menu-price { font-weight: 700; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.menu-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 14.5px; color: var(--ink-2); }

.therapists { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ther { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--av, var(--violet)); color: #fff; font: 600 16px/1 var(--display); }
.ther-body { min-width: 0; }
.ther-name { font-weight: 700; }
.ther-cred { color: var(--ink-2); font-size: 13.5px; }
.ther-cred span { display: block; }
.ther-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 10px; font-size: 14px; }

.rev-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rev-native-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rev-native-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--spring-soft); color: var(--spring); font-size: 12.5px; font-weight: 600; }
.rev-ext-ref { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.rev-ext-ref .rev-num { font-size: 1.25rem; }
.rev-score { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rev-num { display: inline-flex; align-items: center; gap: 6px; font: 600 1.65rem/1 var(--display); letter-spacing: -.01em; }
.rev-num .i-star { width: 20px; height: 20px; }
.rev-count { color: var(--ink-2); font-size: 15px; }
.stars { display: inline-flex; gap: 1px; }
.stars span { display: grid; }
.stars .i-star { fill: #D5CDE6; }
.stars .on .i-star { fill: var(--lamp-deep); }
.rev-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 14px; line-height: 1.2; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.rev-chip-meta { display: inline-flex; align-items: center; gap: 3px; font-weight: 500; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rev-chip-meta .i-star { width: 13px; height: 13px; }
.rev-chip-count { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip-btn.is-on .rev-chip-meta,
.chip-btn.is-on .rev-chip-count,
.chip-btn.is-on .rev-former-tag { color: rgba(255, 255, 255, .82); }
.rev-former-tag { font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.rev-list { margin-top: 14px; }
.rev { padding: 16px 0; border-top: 1px solid var(--line); }
.rev-top { display: flex; align-items: flex-start; gap: 12px; }
.rev-top .avatar { width: 40px; height: 40px; font-size: 14px; }
.rev-top-main { flex: 1 1 auto; min-width: 0; }
.rev-top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.rev-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 700; }
.rev-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-weight: 600; font-size: 12.5px; line-height: 1.3; }
.rev-badge-verified { background: var(--spring-soft); color: var(--spring); }
.rev-badge-community { background: var(--violet-soft); color: var(--ink-2); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--spring); font-weight: 600; font-size: 13px; }
.verified .i { width: 15px; height: 15px; }
.rev-report { font-size: 12.5px; font-weight: 500; color: var(--ink-3); text-decoration: none; }
.rev-report:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rev-meta { display: flex; align-items: center; gap: 10px; margin-top: 2px; color: var(--ink-2); font-size: 13.5px; }
.rev-text { max-width: 66ch; margin-top: 10px; line-height: 1.55; }
.rev-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.rev-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 13px; line-height: 1.3; }
.rev-tag-therapist { background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink-2); }
.rev-tag-therapist b { color: var(--ink); }
.rev-tag-modality { background: var(--violet-soft); color: var(--ink); font-weight: 500; }
.rev-with { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.rev-reply { margin: 12px 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #F6F2EB; border: 1px solid #DDD5C7; border-left: 3px solid var(--violet); font-size: 14px; color: var(--ink-2); }
.rev-reply-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--ink); font-size: 13.5px; }
.rev-reply-date { color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.rev-reply-body { margin-top: 4px; max-width: 62ch; line-height: 1.5; color: var(--ink-2); }
.rev-none { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--violet-soft); font-size: 14.5px; }
.rev-cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 16px; padding: 16px 18px; border: 1.5px solid var(--line-strong); border-radius: 16px; background: var(--paper); }
.rev-cta-body { display: grid; gap: 4px; flex: 1 1 240px; min-width: 0; }
.rev-cta-title { margin: 0; font: 600 1.02rem/1.25 var(--display); color: var(--ink); }
.rev-cta-copy { margin: 0; max-width: 56ch; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.rev-cta-btn { flex: none; }
.rev-source-note { margin-top: 8px; color: var(--ink-3); font-size: 13px; }
.rev-fine { margin-top: 12px; color: var(--ink-3); font-size: 13px; }

.l-claim {
  display: grid; gap: 12px;
  margin-top: 22px; padding: 16px 18px;
  border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--paper);
}
.l-claim-body { display: grid; gap: 6px; min-width: 0; }
.l-claim-title { margin: 0; font: 600 1.08rem/1.25 var(--display); color: var(--ink); }
.l-claim-bullets { display: grid; gap: 5px; padding-left: 16px; list-style: disc; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.l-claim-bullets b { color: var(--ink); }
.l-claim-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.l-claim-ko { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 13.5px; }
.l-claim-ko .i { width: 14px; height: 14px; }

/* Google Maps Embed + Street View toggle */
.where-toggle { display: inline-flex; gap: 6px; margin-bottom: 10px; padding: 3px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
.where-tab {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px;
  background: transparent; color: var(--ink-2); font-weight: 600; font-size: 13.5px;
  transition: background-color .12s, color .12s;
}
.where-tab:hover { color: var(--ink); background: var(--violet-soft); }
.where-tab.is-on { background: var(--ink); color: #fff; }
.where { aspect-ratio: 2 / 1; border: 1.5px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--violet-soft); }
.gmap-embed { display: block; width: 100%; height: 100%; border: 0; }
.where-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 12px; }
.where-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); font-weight: 600; font-size: 14px; text-decoration: none; min-height: 44px; }
.where-link:hover { background: var(--violet-soft); }
.where-link .i { width: 15px; height: 15px; }

.l-aside { position: sticky; top: 84px; }
.aside-owner-hook {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding: 12px 14px;
  border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--paper);
  font-size: 13.5px; line-height: 1.38; color: var(--ink-2);
}
.aside-owner-hook-copy { margin: 0; min-width: 0; }
.aside-owner-hook-copy b { color: var(--ink); }
.aside-owner-hook-cta { flex: none; font-size: 13px; color: var(--ink); white-space: nowrap; }
.panel { padding: 20px; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--paper); }
.panel-native { box-shadow: 0 0 0 6px rgba(255, 182, 39, .22), 0 0 40px rgba(255, 182, 39, .28); }
.panel-title { font: 600 1.25rem/1.2 var(--display); }
.panel-sub { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.panel-sub b { color: var(--ink); }
.panel .btn-wide { margin-top: 14px; min-height: 48px; font-size: 15.5px; }
.panel-fine { margin-top: 10px; color: var(--ink-3); font-size: 13px; }
.panel-call { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; text-underline-offset: 3px; }
.slot-meta { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.slot-groups { display: grid; gap: 10px; margin-top: 10px; }
.slot-day-h { margin: 0 0 6px; font: 700 13px/1.2 var(--body); color: var(--ink-2); }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.slot-grid .slot { min-height: 40px; justify-content: center; padding: 6px 4px; }
.slot-list { display: grid; gap: 8px; margin-top: 14px; }
.slot-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: var(--haze); text-align: left; transition: border-color .12s; }
.slot-row:hover { border-color: var(--ink); background: var(--lamp-soft); }
.slot-row .slot { flex: none; min-width: 82px; padding: 6px 10px 7px; }
.slot-row-text { display: grid; min-width: 0; line-height: 1.3; }
.slot-row-text span { color: var(--ink-2); font-size: 14px; }

.l-foot { margin-top: 40px; padding: 22px; border-radius: 20px; background: var(--violet-soft); }
.l-foot-q { font-weight: 700; }
.l-foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; }
.l-foot-fine { margin-top: 12px; color: var(--ink-2); font-size: 13px; }
.l-mobilebar { display: none; }
.mb-text { display: grid; line-height: 1.25; flex: 1 1 auto; min-width: 92px; }
.mb-text b, .mb-text span { overflow: visible; text-overflow: clip; }
.mb-text b { font-size: 14.5px; white-space: nowrap; }
.mb-text span {
  color: var(--ink-2); font-size: 12px; white-space: normal; line-height: 1.2;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.mb-call { flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; }
.mb-primary { flex: 0 1 auto; min-width: 0; min-height: 48px; white-space: nowrap; padding: 0 16px; }

/* ------------------------------------------- native booking drawer (KO-22898) */
.nb-head { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.nb-head-text { min-width: 0; }
.nb-head h2 { overflow-wrap: anywhere; }
.nb-kicker { margin-bottom: 2px; color: var(--lamp-deep); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nb-body { display: grid; gap: 14px; min-width: 0; padding: 16px 24px 28px; }
.nb-body .field { margin-top: 0; }
.nb-pick, .nb-details, .nb-done { display: grid; gap: 14px; min-width: 0; }
.nb-pick[hidden], .nb-details[hidden], .nb-done[hidden] { display: none; }
.nb-status { color: var(--ink-2); font-size: 14.5px; }
.nb-status-error { padding: 12px 14px; border-radius: 12px; background: #FBE3EA; color: var(--rose); font-weight: 600; }
.nb-note { padding: 10px 12px; border-radius: 12px; background: var(--haze); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.nb-note-warn { background: var(--lamp-soft); color: var(--ink); }
.nb-days { display: flex; gap: 8px; margin: 0 -24px; padding: 2px 24px 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.nb-days::-webkit-scrollbar { display: none; }
.nb-day {
  flex: none; display: grid; justify-items: center; gap: 1px; min-width: 58px; min-height: 56px; padding: 6px 8px;
  border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper); scroll-snap-align: start;
}
.nb-day span { color: var(--ink-2); font-weight: 600; font-size: 12px; }
.nb-day b { font-size: 17px; font-variant-numeric: tabular-nums; }
.nb-day.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.nb-day.is-on span { color: rgba(255, 255, 255, .82); }
.nb-time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.nb-time { justify-content: center; min-height: 44px; padding: 6px 8px; }
.nb-time.is-on { box-shadow: 0 0 0 3px var(--ink); }
.nb-summary { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--lamp-soft); }
.nb-summary-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.nb-summary-text b { font-size: 15px; overflow-wrap: anywhere; }
.nb-summary-text span { color: var(--ink-2); font-size: 14px; }
.nb-change { flex: none; min-height: 44px; padding: 0 14px; }
.nb-form { display: grid; gap: 14px; min-width: 0; }
.nb-fields { align-items: start; }
.nb-wide { grid-column: 1 / -1; }
.field input[aria-invalid="true"] { border-color: var(--rose); }
.nb-field-error, .nb-error { color: var(--rose); font-weight: 600; font-size: 14px; }
.nb-error .nb-escape-link, .nb-status-error .nb-escape-link { color: var(--ink); }
.nb-agree { display: grid; gap: 10px; }
.nb-agree:empty { display: none; }
.nb-check { min-height: 44px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.nb-check i { color: var(--rose); font-style: normal; }
.nb-check small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.nb-check a { color: inherit; }
.nb-policy { padding: 10px 12px; border-radius: 12px; background: var(--haze); font-size: 13.5px; }
.nb-policy summary { min-height: 24px; font-weight: 600; cursor: pointer; }
.nb-policy p { margin-top: 8px; color: var(--ink-2); white-space: pre-line; }
.nb-total-line { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--violet-soft); }
.nb-total-line b { font-size: 16px; font-variant-numeric: tabular-nums; }
.nb-total-line span { color: var(--ink-2); font-size: 13.5px; }
.nb-pay { display: grid; gap: 12px; min-width: 0; }
.nb-express:empty { display: none; }
.nb-or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13px; }
.nb-or::before, .nb-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.nb-card { min-height: 0; }
.nb-cta { width: 100%; min-height: 52px; font-size: 16px; white-space: normal; text-align: center; }
.nb-cta:disabled { opacity: .55; cursor: not-allowed; }
.nb-fine { color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }
.nb-identity { display: grid; gap: 10px; padding: 14px; border: 1.5px solid var(--lamp-deep); border-radius: 14px; background: var(--lamp-soft); }
.nb-identity-line { font-weight: 600; }
.nb-identity-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-escape { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.nb-escape-link { font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.nb-done { justify-items: start; }
.nb-done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--spring); color: #fff; }
.nb-done-mark .i { width: 30px; height: 30px; stroke-width: 2.6; }
.nb-done-title { font: 600 1.6rem/1.15 var(--display); }
.nb-done-title:focus { outline: none; }
.nb-done-list { display: grid; gap: 10px; width: 100%; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.nb-done-list div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
.nb-done-list dt { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.nb-done-list dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.nb-done-actions { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
.nb-done-actions .btn { width: 100%; min-height: 48px; white-space: normal; }
@media (max-width: 480px) {
  .nb-body { padding: 14px 16px 24px; }
  .nb-days { margin: 0 -16px; padding: 2px 16px 4px; }
  .nb-fields { grid-template-columns: minmax(0, 1fr); }
  .nb-identity-actions { grid-template-columns: 1fr; }
}

/* ------------------------------------------- filter bottom sheet */
.filter-toggle-list { display: grid; gap: 8px; }
.filter-toggle-row {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer;
}
.filter-toggle-row.is-disabled { opacity: .6; border-style: dashed; cursor: default; }
.filter-toggle-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.filter-toggle-row span { flex: 1; font-weight: 600; font-size: 14.5px; }
.filter-toggle-row small { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }

.filter-mod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.filter-mod-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  font-weight: 600; font-size: 13.5px; cursor: pointer;
}
.filter-mod-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.filter-mod-opt small { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.filter-mod-opt.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter-mod-opt.is-on small { color: rgba(255, 255, 255, .8); }
.filter-sheet-foot { display: flex; align-items: center; gap: 10px; }
.filter-apply-btn { flex: 1; min-height: 52px; }
.filter-rank-note { margin-top: 8px; }
.filter-owner-link { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }

/* ------------------------------------------- free owner photo submission */
.photo-upload-block { display: grid; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--haze); }
.photo-upload-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 14px; }
.photo-upload-head i { margin-left: 6px; color: var(--ink-3); font-style: normal; font-weight: 400; font-size: 13px; }
.photo-count { color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.photo-dropzone {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 14px;
  border: 1.5px dashed var(--violet); border-radius: 13px; background: var(--paper);
  text-align: center; cursor: pointer; transition: background-color .14s, border-color .14s;
}
.photo-dropzone:hover, .photo-dropzone.is-dragover { background: var(--violet-soft); border-color: var(--ink); }
.photo-dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-dz-icon .i { width: 24px; height: 24px; color: var(--violet); }
.photo-dz-title { font-weight: 700; font-size: 14.5px; }
.photo-dz-sub { color: var(--ink-2); font-size: 13px; }
.photo-exif-note { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--spring-soft); color: #0F544B; font-size: 12.5px; line-height: 1.4; }
.photo-exif-note .i { width: 16px; height: 16px; color: var(--spring); margin-top: 1px; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photo-preview-item { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--dusk); border: 1px solid var(--line-strong); }
.photo-preview-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-remove { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 999px; background: rgba(23, 16, 51, .84); color: #fff; }
.photo-remove .i { width: 13px; height: 13px; }

/* ---------------------------------------------------------------- dialogs */
dialog { padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(22, 16, 48, .58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal { width: min(560px, calc(100vw - 24px)); max-height: min(90dvh, 860px); border-radius: 24px; overflow: hidden; }
.modal-wide { width: min(640px, calc(100vw - 24px)); }
.modal[open] { display: flex; animation: rise .2s ease-out; }
.drawer { inset: 0 0 0 auto; width: min(540px, 100vw); max-width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 24px 0 0 24px; overflow: hidden; }
.drawer[open] { display: flex; animation: drawer-in .24s ease-out; }
@keyframes drawer-in { from { translate: 40px 0; opacity: 0; } }
.dlg-inner { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 12px; }
.dlg-head h2 { font: 600 1.45rem/1.15 var(--display); letter-spacing: -.01em; }
.dlg-head h2:focus { outline: none; }
.dlg-sub { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.dlg-body { padding: 4px 24px 24px; }
.fs { min-width: 0; margin: 16px 0 0; padding: 0; border: 0; }
.fs legend { margin-bottom: 9px; padding: 0; font-weight: 700; font-size: 14.5px; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 13px; cursor: pointer; }
@media (hover: hover) { .opt:hover { border-color: var(--ink); } }
.opt:has(input:checked) { border-color: var(--ink); background: var(--violet-soft); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.opt-main { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.3; }
.opt-sub { display: block; margin-top: 2px; color: var(--ink-2); font-weight: 400; font-size: 13px; line-height: 1.35; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; margin-top: 14px; }
.fields .field, .fs .field, .pr-form .field { margin-top: 0; }
.field > span { font-weight: 600; font-size: 14px; }
.field i { margin-left: 6px; color: var(--ink-3); font-style: normal; font-weight: 400; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background-color: #fff; font-size: 16px; }
.field select { padding-right: 38px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1638' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-position: right 12px center; background-size: 18px; background-repeat: no-repeat; text-overflow: ellipsis; }
.field textarea { height: auto; min-height: 48px; padding: 10px 12px; line-height: 1.45; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input::placeholder, .field textarea::placeholder { color: #8E86AB; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.dlg-foot { position: sticky; bottom: 0; z-index: 2; margin: 18px -24px -24px; padding: 14px 24px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.dlg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; margin-top: 16px; }
.hint { flex: 1 1 180px; color: var(--rose); font-weight: 600; font-size: 13.5px; }
.fs-note { margin-top: 12px; padding: 10px 12px; border-radius: 11px; background: var(--haze); color: var(--ink-2); font-size: 13.5px; }
.fs-error { background: #FBE3EA; color: var(--rose); }
.done-mark { margin-bottom: 14px; line-height: 0; }
.done-mark .i { display: none; }
.done-mark .i-window { filter: drop-shadow(0 0 14px rgba(255, 182, 39, .8)); }
.done-code { font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

.tabs { display: flex; gap: 2px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; min-height: 44px; padding: 10px 10px 9px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--lamp); }
.pr-panel h3 { margin-top: 16px; font: 600 1.25rem/1.25 var(--display); text-wrap: balance; }
.pr-lede { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.pr-form { display: grid; gap: 14px; margin-top: 16px; }
.pr-form .dlg-actions { margin-top: 4px; }
.pr-fine { color: var(--ink-3); font-size: 13px; }
.sponsor-callout { display: grid; gap: 10px; margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 16px; background: linear-gradient(135deg, var(--lamp-soft), var(--paper) 64%); }
.sponsor-callout-title { color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.sponsor-networks { display: flex; flex-wrap: wrap; gap: 6px; }
.sponsor-net-pill { padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 12.5px; }
.sponsor-net-mo { border-color: var(--ink); background: var(--lamp); }
.sponsor-callout-foot { margin-top: 2px; font-size: 14px; }
.sponsor-preview-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.sponsor-preview-link .i { width: 15px; height: 15px; }
.pr-done { padding-top: 20px; }
.pr-done h3 { margin-top: 0; font-size: 1.5rem; }
.pr-done h3:focus { outline: none; }
.pr-done p { margin-top: 10px; }

/* Budget range slider shared with /sponsor/ */
.budget { padding: 16px 18px 18px; border-radius: 18px; background: var(--haze); }
.budget-label { display: block; font-weight: 600; font-size: 14px; }
.budget-num { display: block; font: 600 2.5rem/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.budget-num span { color: var(--ink-2); font: 400 1rem var(--body); letter-spacing: 0; }
.budget input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 8px 0 0; background: none; cursor: pointer; }
.budget input[type="range"]::-webkit-slider-runnable-track { height: 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: linear-gradient(90deg, var(--lamp) var(--fill, 33%), #fff var(--fill, 33%)); }
.budget input[type="range"]::-moz-range-track { height: 8px; border: 1.5px solid var(--ink); border-radius: 999px; background: linear-gradient(90deg, var(--lamp) var(--fill, 33%), #fff var(--fill, 33%)); }
.budget input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 28px; margin-top: -10.5px; border: 1.5px solid var(--ink); border-radius: 7px; background: linear-gradient(var(--lamp-hi), var(--lamp)); box-shadow: 0 0 14px rgba(255, 182, 39, .7); }
.budget input[type="range"]::-moz-range-thumb { width: 22px; height: 26px; border: 1.5px solid var(--ink); border-radius: 7px; background: var(--lamp); box-shadow: 0 0 14px rgba(255, 182, 39, .7); }
.budget-scale { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12.5px; }

.toasts { position: fixed; inset: auto auto 24px 24px; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; pointer-events: none; }
.toasts:popover-open { display: grid; gap: 8px; }
.toast { padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 8px 24px rgba(30, 22, 56, .3); animation: rise .2s ease-out; }
.toast::before { content: ""; display: inline-block; width: 9px; height: 10px; margin-right: 10px; border-radius: 2.5px; background: var(--lamp); box-shadow: 0 0 8px var(--lamp); }
.toast.is-leaving { opacity: 0; transition: opacity .25s; }

@keyframes lamp-on { 0% { opacity: 0; } 35% { opacity: 1; } 50% { opacity: .35; } 100% { opacity: 1; } }
body.first-light .card-native .lit { animation: lamp-on .7s both; animation-delay: calc(var(--i, 0) * 80ms + 250ms); }
body.first-light .card-native .slot { animation: lamp-on .7s both; animation-delay: calc(var(--i, 0) * 80ms + 420ms); }
body.first-light .pin-native { animation: lamp-on .7s .9s both; }

/* ------------------------------------------------------------- responsive */
@media (min-width: 1000px) {
  .intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 28px; padding: 4px var(--gutter) 4px; }
  .intro-sub { margin-top: 0; }
  .results { grid-template-columns: minmax(0, 1.24fr) minmax(380px, .76fr); align-items: start; }
  .map-pane { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--stick-h) + 6px); height: var(--map-h, calc(100vh - var(--stick-h) - 22px)); }
  .view-toggle { display: none; }
}
@media (min-width: 1500px) {
  .results { grid-template-columns: minmax(0, 1.4fr) minmax(480px, 1fr); }
}

@media (max-width: 999.98px) {
  .view-toggle { display: inline-flex; }
  body.view-map { height: 100dvh; overflow: hidden; }
  body.view-map #app { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
  body.view-map #main { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; overflow: hidden; }
  body.view-map .intro, body.view-map .filter-row, body.view-map .list-pane, body.view-map .site-footer { display: none; }
  body.view-map .results { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; padding: 0; gap: 0; }
  body.view-map .map-pane { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; height: auto; margin: 0; }
  body.view-map .map-legend { display: none; }
  body.view-map .map-legend-btn {
    display: grid; place-items: center; position: absolute; top: 12px; left: 12px; z-index: 12;
    width: 36px; height: 36px; border: 1.5px solid var(--dusk-deep); border-radius: 10px;
    background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(23, 16, 51, .2);
  }
  body.view-map .map-legend-btn .i { width: 18px; height: 18px; }
  body.view-map .map,
  body.view-map .map-wrap {
    display: flex; flex-direction: column; flex: 1 1 0; min-height: 0;
    border-radius: 0; border-inline: 0; border-bottom: 0;
    background: var(--haze);
  }
  body.view-map .map-canvas {
    position: relative; inset: auto; flex: 1 1 auto; min-height: 0; width: 100%; height: auto;
  }
  body.view-map .m-peek,
  body.view-map .map-preview {
    position: relative; left: auto; right: auto; bottom: auto; flex: none;
    width: calc(100% - 20px); max-width: 440px;
    margin: 8px auto calc(8px + env(safe-area-inset-bottom));
    padding: 10px 12px;
    border: 1.5px solid var(--ink); border-radius: 18px;
    box-shadow: 0 8px 24px rgba(10, 6, 30, .18);
  }
  body.view-map .m-peek::before {
    content: ""; display: block; width: 32px; height: 3px; margin: 0 auto 6px;
    border-radius: 2px; background: var(--line-strong);
  }
  body.view-map .m-peek .preview-pager { margin: 0 34px 6px 0; gap: 6px; }
  body.view-map .m-peek .preview-step { min-width: 34px; min-height: 34px; border-radius: 10px; }
  body.view-map .m-peek .preview-step .i { width: 16px; height: 16px; }
  body.view-map .m-peek .preview-close { top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 9px; }
  body.view-map .m-peek .preview-main { gap: 10px; padding-right: 0; align-items: center; }
  body.view-map .m-peek .preview-art { width: 56px; height: 56px; border-radius: 10px; }
  body.view-map .m-peek .preview-name { font-size: 15px; }
  body.view-map .m-peek .preview-meta,
  body.view-map .m-peek .peek-meta { font-size: 12.5px; row-gap: 1px; column-gap: 5px; }
  body.view-map .m-peek .preview-book { margin-top: 8px; gap: 10px; }
  body.view-map .m-peek .preview-book .btn { min-height: 40px; padding: 0 12px; font-size: 13.5px; }
  body.view-map .m-peek .preview-book .slots { padding: 2px 0; gap: 5px; }
  body.view-map .m-peek .preview-book .slot { padding: 4px 5px; }
  body.view-map .m-peek .preview-book .slot-day { font-size: 10.5px; }
  body.view-map .m-peek .preview-book .slot-time { font-size: 12.5px; }
  .l-sub .l-hours { display: none; }
  .l-bar { padding: 6px var(--gutter); }
  .l-bar .btn-back { min-height: 40px; }
  .l-jump {
    position: sticky; top: 53px; z-index: 9;
    margin: 10px calc(var(--gutter) * -1) 0; padding: 0;
    background: rgba(244, 242, 249, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .l-jump-track { padding: 4px var(--gutter); }
  .l-jump-pill { min-height: 34px; }
  .l-sec, .l-sec > h3, #lTop { scroll-margin-top: 98px; }
  .l-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .l-aside { position: static; }
  .l-wrap { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .l-mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; gap: 8px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1.5px solid var(--ink);
  }
  .toasts { inset: auto 12px 24px 12px; justify-items: center; }
}

@media (max-width: 700px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand . actions" "metro metro metro";
    row-gap: 6px;
    column-gap: 8px;
    padding: 8px var(--gutter) 4px;
    min-height: 0;
  }
  .brand { grid-area: brand; font-size: 18px; }
  .topbar-actions { grid-area: actions; }
  .metro-picker { grid-area: metro; margin: 0; min-width: 0; justify-self: start; max-width: 100%; }
  .topbar-metro { max-width: 100%; height: 34px; padding: 0 10px; font-size: 14px; }
  .metro-btn-label { min-width: 0; }
  .topbar .btn { min-height: 40px; padding: 0 12px; font-size: 13.5px; white-space: nowrap; }
  .topbar-sponsor { display: none; }

  .intro { padding: 2px var(--gutter) 0; }
  .intro h1 { font-size: 1.125rem; line-height: 1.22; }
  .intro-sub { display: none; }

  .controls { padding: 4px var(--gutter) 4px; }
  .controls-row { gap: 8px; align-items: center; }
  .search input { height: 44px; font-size: 16px; padding: 0 12px 0 36px; }
  .search.has-value input { padding-right: 40px; }
  .search-icon { left: 11px; top: 13px; width: 17px; height: 17px; }
  .search-clear { right: 4px; top: 5px; }
  .search-kbd, .sort { display: none; }

  .filters-btn, .controls-row .view-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; min-width: 44px; padding: 0;
    border: 1.5px solid var(--ink); border-radius: 12px;
    background: var(--paper); color: var(--ink);
    position: static; translate: none; box-shadow: none;
  }
  .controls-row .view-toggle[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .controls-row .view-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  .filter-row .pills { display: none; }
  .modalities { margin-top: 4px; }
  .modality-track { align-items: center; gap: 8px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .modality { min-height: 36px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; border-bottom-width: 1.5px; background: var(--paper); }
  .modality svg { display: none; }
  .modality.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
  .modality.is-on .modality-n { color: rgba(255, 255, 255, .8); }
  .modality-instant { display: inline-flex; height: 36px; font-size: 13.5px; border-color: var(--ink); background: var(--lamp-soft); }
  .modality-instant.is-on { background: var(--ink); color: #fff; }
  .modality-quick-pill { display: inline-flex; height: 36px; font-size: 13.5px; }

  .results { padding-top: 2px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .results-head { margin-bottom: 6px; gap: 2px 10px; align-items: baseline; }
  .count { font-size: 13px; }
  .count b { font-size: 13.5px; }
  .rank-note { margin-left: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card.card-compact {
    display: grid; grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "media body" "book book";
    column-gap: 12px; row-gap: 8px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  }
  .card-compact .card-media { grid-area: media; }
  .card-compact .card-art { aspect-ratio: 1 / 1; border-radius: 12px; }
  .card-compact .card-link { grid-area: body; min-width: 0; }
  .card-compact .card-name { margin-top: 0; font-size: 16px; }
  .card-compact .card-book { grid-area: book; margin-top: 0; }
  .card-compact .card-book .btn { width: 100%; min-height: 44px; justify-content: center; }
  .card-compact .carousel-arrow, .card-compact .carousel-dots { display: none; }
  .card-details-link { display: none; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Mobile listing */
  .l-bar .brand { display: none; }
  .l-wrap { padding-top: 14px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .l-mobile-chips { display: flex; margin-top: 8px; }
  .gallery { aspect-ratio: 16 / 9; max-height: 220px; border-radius: 16px; }
  .l-aside .btn-wide { display: none; }
  .l-tagline { font-size: 1.125rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .menu-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .menu-name { grid-column: 1 / -1; }
  .menu-price { text-align: left; }
  .menu-row .btn { justify-self: end; }
  .where { aspect-ratio: 4 / 3; }
  .rev-reply { margin-left: 8px; padding: 10px 12px; }
  .rev-cta-card { padding: 14px; }
  .rev-cta-btn { width: 100%; }
  .hero-thumbs { grid-template-columns: repeat(3, 1fr); }
  .photo-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .modal { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .drawer { inset: auto 0 0 0; width: 100vw; height: 92dvh; max-height: 92dvh; border-radius: 24px 24px 0 0; }
  .drawer[open], .modal[open] { animation: sheet-in .24s ease-out; }
  .dlg-head { padding: 18px 18px 10px; }
  .dlg-body { padding: 4px 18px 22px; }
  .dlg-foot { margin: 18px -18px -22px; padding: 12px 18px max(16px, env(safe-area-inset-bottom)); }
  .tabs { padding: 0 10px; }
}
@media (max-width: 480px) {
  .controls-row { gap: 6px; }
  .search input { padding-left: 33px; padding-right: 10px; }
  .search input::placeholder { font-size: 13px; letter-spacing: -0.01em; }
  .search-icon { left: 10px; top: 14px; width: 16px; height: 16px; }
  .l-jump-track { gap: 6px; padding-right: calc(var(--gutter) + 28px); }
  .l-jump-pill { padding: 0 11px; font-size: 13px; min-height: 32px; }
}
@keyframes sheet-in { from { translate: 0 40px; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
