/* PintLanza prototype — Atlantic teal, volcanic ink, lager gold. Mobile-first. */

:root {
  --deep: #0b3d4a;
  --deep-dark: #072c36;
  --sea: #157a7a;
  --sea-mid: #1c9490;
  --sea-soft: #e6f4f3;
  --sun: #e8a317;
  --sun-dark: #c8870d;
  --lager: #f0c14b;
  --foam: #fffaf1;
  --sand: #f3ead8;
  --sand-dark: #e7dcc5;
  --ink: #1c1714;
  --ink-soft: #5a5148;
  --muted: #8a8074;
  --white: #fffdf8;
  --card: #fffdf8;
  --bargain: #1b7a4a;
  --pricey: #c0392b;
  --coral: #e25c3a;
  --shadow: 0 8px 24px rgba(11, 61, 74, 0.1);
  --shadow-sm: 0 2px 8px rgba(11, 61, 74, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 68px;
  --feedback-h: 44px;
  --banner-h: 44px;
  --header-h: 58px;
  --font: "Outfit", "Segoe UI", ui-rounded, system-ui, sans-serif;
  --serif: "Fraunces", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--deep-dark);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button { cursor: pointer; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }

#app {
  min-height: 100dvh;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  position: relative;
}
#view {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

@media (min-width: 560px) {
  body {
    background:
      radial-gradient(ellipse at top, #157a7a 0%, #072c36 55%);
    padding: 24px 16px 32px;
  }
  #app {
    max-width: 430px;
    min-height: calc(100dvh - 56px);
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
      0 0 0 8px #072c36,
      0 0 0 10px #e8a317,
      0 30px 80px rgba(0, 0, 0, 0.45);
  }
}

.example-banner {
  flex: 0 0 auto;
  min-height: 30px; /* v95.1 beta banner: normal flow, wraps to 2 lines at 390px */
  background: var(--sun-dark);
  color: #1c1714; /* WCAG: light text on --sun-dark failed contrast */
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  text-align: center;
  padding: 4px 8px;
}
.example-banner span { white-space: normal; overflow-wrap: anywhere; } /* v95: wrap instead of clipping (ES 360px) */
.example-banner .banner-app { display: none; }
@media (display-mode: standalone) {
  .example-banner .banner-web { display: none; }
  .example-banner .banner-app { display: inline; }
}
html.is-installed-app .example-banner .banner-web { display: none; }
html.is-installed-app .example-banner .banner-app { display: inline; }

.app-header {
  flex: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 12px;
  background: var(--deep);
  color: var(--foam);
  gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.brand-sub { font-size: 10.5px; opacity: 0.8; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 2px;
  border: 0;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: #d7ecec;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
}
.lang-toggle button.on { background: var(--sun); color: var(--ink); }

.screen {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--sand);
}
.screen-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px calc(var(--nav-h) + var(--safe-bottom) + var(--feedback-h) + 16px);
}
.screen-body.no-nav { padding-bottom: 24px; }
.screen.map-screen .screen-body { padding: 0; overflow: hidden; }

.nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--white);
  border-top: 1px solid var(--sand-dark);
  display: flex;
  z-index: 30;
  box-shadow: 0 -6px 20px rgba(11, 61, 74, 0.06);
}
.nav a, .nav button {
  flex: 1;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 650;
  padding: 6px 2px 4px;
}
.nav a.active, .nav button.active { color: var(--deep); }
.nav .nav-ico { font-size: 18px; line-height: 1; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px;
}
.card + .card { margin-top: 12px; }
.card h2 { font-size: 16px; margin-bottom: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--foam);
  background: var(--deep);
}
.btn:active { transform: scale(0.98); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sea { background: var(--sea); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 1.5px solid var(--sand-dark);
}
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 13px; }

.hh-btn {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8a317 0%, #f0c14b 55%, #e25c3a 140%);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.15;
}
.hh-btn small { display: block; font-family: var(--font); font-size: 12px; font-weight: 600; opacity: 0.8; margin-top: 4px; }


.ev-btn{display:block;width:100%;box-sizing:border-box;text-decoration:none;border-radius:var(--radius);background:linear-gradient(135deg,#6a2bd9 0%,#9b5cf0 55%,#d0479b 140%);color:#fff;font-family:var(--serif);font-weight:700;font-size:22px;padding:16px 16px 14px;box-shadow:var(--shadow);text-align:center;line-height:1.15}
.ev-btn small{display:block;font-family:var(--font);font-size:12px;font-weight:600;opacity:.9;margin-top:4px}
/* v95.1b: Fun and games card */
.fun-btn{display:block;width:100%;box-sizing:border-box;text-decoration:none;border-radius:var(--radius);background:linear-gradient(135deg,#0f8f7e 0%,#2bbfa4 55%,#3a7be2 140%);color:#fff;font-family:var(--serif);font-weight:700;font-size:22px;padding:16px 16px 14px;box-shadow:var(--shadow);text-align:center;line-height:1.15}
.fun-btn small{display:block;font-family:var(--font);font-size:12px;font-weight:600;opacity:.92;margin-top:4px}
.fun-btn:active,.ev-btn:active{transform:translateY(1px)}


.chips, .filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 2px 0 8px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 650;
}
.chip.on {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--foam);
}
.chip-row { margin: 4px 0 2px; }
.chip-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 8px 0 2px;
}

/* Gauge — playful holiday dial */
.gauge-wrap {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8px 10px 14px;
  background:
    radial-gradient(ellipse 90% 55% at 50% 8%, rgba(240, 193, 75, 0.32), transparent 68%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(21, 122, 122, 0.08), transparent 70%),
    var(--card);
  border: 1px solid rgba(232, 163, 23, 0.28);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 250, 241, 0.8);
}
.gauge-dial {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}
.gauge-wrap svg.gauge-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}
.gauge-needle {
  transform-box: view-box;
  transform-origin: 160px 134px;
  transform: rotate(var(--needle-angle, 0deg));
  animation: pl-needle-swing 0.95s cubic-bezier(0.34, 1.5, 0.46, 1) both;
}
.gauge-needle-body {
  fill: #1c1714;
  stroke: #fffaf1;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}
.gauge-bubble {
  fill: rgba(255, 250, 241, 0.95);
  stroke: rgba(232, 163, 23, 0.35);
  stroke-width: 0.6;
  animation: pl-bubble 3.6s ease-in-out infinite;
}
.gauge-ends {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -2px 8% 0;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
.gauge-end {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 253, 248, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.gauge-emo {
  font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  font-variant-emoji: emoji;
}
.gauge-end.is-bargain { color: var(--bargain); }
.gauge-end.is-pricey { color: var(--pricey); }
.gauge-readout { position: relative; z-index: 1; margin-top: 6px; }
.gauge-price {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
}
.gauge-price .est-tag {
  font-family: var(--font);
  flex: 0 0 auto;
}
.gauge-verdict {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--deep);
  margin-top: 8px;
  letter-spacing: 0.01em;
  animation: pl-verdict-pop 0.55s 0.35s cubic-bezier(0.34, 1.4, 0.46, 1) both;
}
.gauge-verdict.verdictCheap { color: var(--bargain); }
.gauge-verdict.verdictAvg { color: var(--sea); }
.gauge-verdict.verdictHoliday { color: var(--coral); }
.gauge-caption {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.35;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.gauge-caption strong { color: var(--ink); }
.gauge-avg-label {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.25;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.gauge-wrap.is-rotating .gauge-needle {
  animation: none !important;
  transition: transform 0.8s cubic-bezier(0.34, 1.15, 0.46, 1);
  transform: rotate(var(--needle-angle, 0deg));
}
@media (prefers-reduced-motion: reduce) {
  .gauge-wrap.is-rotating .gauge-needle { transition: none; }
}

@keyframes pl-needle-swing {
  from { transform: rotate(-110deg); }
  to { transform: rotate(var(--needle-angle, 0deg)); }
}
@keyframes pl-bubble {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
  20% { opacity: 0.85; }
  70% { opacity: 0.55; }
  100% { transform: translateY(-28px) scale(1.15); opacity: 0; }
}
@keyframes pl-verdict-pop {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .gauge-needle,
  .gauge-bubble,
  .gauge-verdict {
    animation: none !important;
  }
  .gauge-needle { transform: rotate(var(--needle-angle, 0deg)); }
  .list-spinner { animation: none; border-top-color: var(--sea); border-right-color: var(--sea); }
}
.price-src {
  display: inline;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft, var(--muted));
  background: none;
  padding: 0;
  vertical-align: baseline;
}
.price-src.est-owner { color: var(--sea); }
.price-est-info {
  display: inline-block;
  margin-left: 4px;
  width: 1.05em;
  height: 1.05em;
  line-height: 1.05em;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-align: center;
  opacity: 0.75;
  cursor: help;
  vertical-align: 1px;
  color: inherit;
}
.price-estimates-foot {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.45;
}
.price-estimates-foot a { color: var(--sea); }
.est-tag, .tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: middle;
}
.tag.verified { background: var(--sea); color: #fff; }
.tag.featured { background: #c6f432; color: #0b1a33; font-weight: 800; letter-spacing: 0.06em; }
.tag.kind { background: transparent; color: var(--ink); border: 1px solid currentColor; font-weight: 600; }
.tag.pending { background: #f3d9a4; }
.tag.faded { background: var(--sand-dark); color: var(--ink-soft); }
.tag.area { background: var(--sea-soft); color: var(--deep); }
.tag.hh { background: #ffe2c2; color: #8a3b00; }

.bar-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.list-sentinel { min-height: 56px; pointer-events: none; }
.list-loader, .list-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 8px 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-soft);
  text-align: center;
}
.list-end { color: var(--muted); font-weight: 600; }
.list-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2.5px solid rgba(21, 122, 122, 0.25);
  border-top-color: var(--sea);
  border-radius: 50%;
  animation: list-spin 0.7s linear infinite;
}
@keyframes list-spin { to { transform: rotate(360deg); } }
.home-bar-count {
  margin: 6px 0 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.bar-card, .featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
}
.bar-card .row, .featured-card .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.bar-name { font-weight: 750; font-size: 15.5px; }
.bar-meta { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.bar-card .row, .featured-card .row { align-items: center; gap: 12px; }
.bar-card-body { flex: 1 1 auto; min-width: 0; }
.bar-page-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
}
.bar-page-head-body { flex: 1 1 auto; min-width: 0; }
.bar-page-head h1 { margin: 0; }
.top-medal {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}
.top-medal-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.top-medal-n {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font);
  line-height: 1.05;
  margin-top: 1px;
}
.top-medal-gold {
  background: radial-gradient(circle at 35% 30%, #ffe89a, #d4a017 70%, #a87a00);
  color: #4a3500;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.45);
}
.top-medal-silver {
  background: radial-gradient(circle at 35% 30%, #ffffff, #b9c2c8 70%, #8a959c);
  color: #2a3036;
  box-shadow: 0 4px 12px rgba(138, 149, 156, 0.45);
}
.top-medal-bronze {
  background: radial-gradient(circle at 35% 30%, #f0c4a0, #c67a45 70%, #8a4a22);
  color: #3a1c0a;
  box-shadow: 0 4px 12px rgba(166, 91, 43, 0.45);
}
.top-medal-teal {
  background: radial-gradient(circle at 35% 30%, #4ebfba, #157a7a 70%, #0b3d4a);
  color: #f3fffe;
  box-shadow: 0 4px 12px rgba(11, 61, 74, 0.35);
}
.top-rank-line {
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
  color: var(--ink-soft);
}
.top-rank-line.is-gold { color: #b8860b; }
.top-rank-line.is-silver { color: #6b7780; }
.top-rank-line.is-bronze { color: #8a4a22; }
.top-rank-line.is-teal { color: var(--sea); }
.bar-price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
}
.bar-price .est { display: block; font-family: var(--font); font-size: 10px; font-weight: 700; color: var(--sun-dark); text-align: right; }
.no-price { font-size: 12px; font-weight: 650; color: var(--muted); }
.featured-card {
  background: linear-gradient(160deg, #fff6de 0%, #fffdf8 60%);
  border: 1.5px solid #f0c14b;
}
.featured-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sun-dark);
  margin-bottom: 4px;
}
.placeholder-feature { text-align: center; padding: 16px 14px; }
.featured-slot { margin: 0; }
.featured-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.featured-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7c7a0;
  cursor: pointer;
}
.featured-dot.is-on {
  background: var(--sun-dark);
  transform: scale(1.2);
}
.featured-dot:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .featured-dot.is-on { transform: none; }
}

/* Map */
.screen.map-screen {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}
#map-wrap {
  flex: 1 1 auto;
  position: relative;
  min-height: 0;
}
#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #d7ecec;
}
.map-filters {
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  z-index: 1000;
  background: rgba(243, 234, 216, 0.92);
  border-radius: 14px;
  padding: 6px 8px 2px;
  box-shadow: var(--shadow-sm);
}
.map-sheet {
  position: absolute;
  left: 10px; right: 10px; bottom: calc(var(--nav-h) + var(--safe-bottom) + 10px);
  z-index: 20;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
}
.price-pin {
  background: var(--deep);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  border-radius: 14px 14px 14px 4px;
  padding: 3px 7px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.price-pin.hh { background: var(--sun-dark); color: #fff; }
.price-pin .pin-n, .dot-pin .pin-n {
  display: inline-block;
  margin-left: 4px;
  min-width: 1.1em;
  padding: 0 4px;
  border-radius: 8px;
  background: rgba(255,255,255,0.22);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.dot-pin.cluster { position: relative; width: auto; height: auto; min-width: 18px; min-height: 18px; padding: 1px 4px; border-radius: 10px; color: #fff; font-size: 10px; font-weight: 800; }
.price-pin.featured { background: #0b1a33; color: #c6f432; border-color: #c6f432; box-shadow: 0 0 8px rgba(198, 244, 50, 0.45); }
.dot-pin {
  width: 12px;
  height: 12px;
  background: var(--deep);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.dot-pin.featured { background: #0b1a33; border-color: #c6f432; box-shadow: 0 0 8px rgba(198, 244, 50, 0.45); }
.leaflet-container { font-family: var(--font); }

/* Forms */
label { display: block; font-size: 13px; font-weight: 650; margin: 10px 0 4px; }
input[type="text"], input[type="number"], input[type="time"], input[type="url"], input[type="date"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
}
.form-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label.day {
  margin: 0;
  border: 1.5px solid var(--sand-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: var(--white);
}
.days label.day:has(input:checked) { background: var(--deep); color: #fff; border-color: var(--deep); }
.days input { display: none; }

.menu-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand-dark);
}
.menu-row:last-child { border-bottom: 0; }
.menu-row.faded { opacity: 0.55; }
.updated { font-size: 12px; color: var(--muted); }
.disclaimer { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

.tabs {
  display: flex;
  background: var(--sand-dark);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 12px;
}
.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
}
.tabs button.on { background: var(--white); color: var(--deep); box-shadow: var(--shadow-sm); }

/* Reddit-style vote column: compact round arrows, big net score, counts underneath. */
.vote-ctrl {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 2px;
}
.vote-ctrl-rank {
  flex: 0 0 auto;
  min-width: 52px;
  padding-left: 2px;
}
.vote-ctrl-page {
  margin: 2px auto 0;
}
.vote-arrow, .bar-vote, .vote-mini-btn {
  -webkit-appearance: none;
  appearance: none;
}
.vote-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: var(--white);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}
.vote-ctrl-page .vote-arrow { width: 52px; height: 52px; }
.vote-arrow-icon { font-size: 15px; line-height: 1; transform: translateY(-1px); }
.vote-ctrl-page .vote-arrow-icon { font-size: 18px; }
.vote-up { color: var(--bargain); }
.vote-down { color: var(--pricey); }
.vote-up.is-on { background: var(--bargain); color: #fff; border-color: var(--bargain); }
.vote-down.is-on { background: var(--pricey); color: #fff; border-color: var(--pricey); }
.vote-arrow:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 2px;
}
.vote-net {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  min-width: 2.2ch;
  text-align: center;
  color: var(--muted);
}
.vote-ctrl-page .vote-net { font-size: 40px; min-width: 2.4ch; margin: 4px 0 2px; }
.vote-net.pos { color: var(--bargain); }
.vote-net.neg { color: var(--pricey); }
.vote-net.zero { color: var(--muted); }
.vote-counts {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
}
.vote-count-up { color: var(--bargain); }
.vote-count-down { color: var(--pricey); }
.vote-ctrl-page .vote-counts { font-size: 13px; gap: 12px; margin-top: 6px; }

@keyframes vote-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  60% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.vote-arrow.is-pop { animation: vote-pop 0.38s cubic-bezier(0.2, 1.4, 0.35, 1); }
@media (prefers-reduced-motion: reduce) {
  .vote-arrow.is-pop { animation: none; }
}

.plan {
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 10px;
  background: var(--white);
}
.plan.featured-plan { border-color: var(--sun); background: #fff8e8; }
.plan h3 { font-size: 18px; }
.plan .price { font-family: var(--serif); font-size: 26px; margin: 4px 0; }
.plan ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }

#toast {
  position: absolute;
  left: 16px; right: 16px;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + var(--feedback-h) + 12px);
  background: var(--deep);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 650;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 50;
}
#toast.show { opacity: 1; transform: none; }
.checkout-owner-sheet .owner-link-input {
  width: 100%;
  margin: 8px 0 12px;
  padding: 10px 12px;
  font-size: 13px;
  word-break: break-all;
}
.checkout-owner-sheet .interest-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkout-owner-sheet .interest-btn .btn { margin: 0; }


/* v960: #modal-root is a viewport-fixed overlay (and sits outside #app in the HTML)
   so sheets stay in the visible screen. iOS Safari can treat position:fixed as
   page-absolute inside a tall flex #app, which parked the dialog thousands of
   pixels down the page while only the backdrop appeared to darken. */
#modal-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
#modal-root:empty { display: none; }
#modal-root .modal-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 44, 54, 0.45);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px calc(16px + var(--safe-bottom));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#modal-root .modal-backdrop { position: absolute; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  width: 100%;
  max-width: 28rem;
  max-height: min(80vh, 100%);
  overflow: auto;
  margin: auto;
}

.back {
  border: 0;
  background: transparent;
  color: var(--foam);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 8px;
}

.empty { text-align: center; color: var(--ink-soft); padding: 20px 8px; font-size: 14px; }
.sources { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.sources a { color: var(--sea); }

/* Fill the phone column so Leaflet is not given a 0-height box */
#app { height: 100dvh; max-height: 100dvh; }
#view { flex: 1 1 auto; min-height: 0; }

.nav a, .nav button { font-size: 10.5px; padding: 6px 1px 4px; }
.nav .nav-ico { font-size: 16px; }

.map-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 4px;
}
.map-error {
  position: absolute;
  inset: 80px 16px auto;
  z-index: 1100;
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

#bar-mini-map {
  height: 180px;
  width: 100%;
  border-radius: 14px;
  margin: 8px 0 12px;
  background: #d7ecec;
  z-index: 0;
  overflow: hidden;
}

.coming-soon {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f3d9a4;
  color: #6a3b00;
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
  margin-left: 6px;
}
.plan-pick { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; }
.plan-pick label {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid var(--sand-dark);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--white);
  font-weight: 650;
}
.plan-pick label:has(input:checked) { border-color: var(--deep); background: var(--sea-soft); }
.price-rows { display: flex; flex-direction: column; gap: 8px; }
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--sand-dark);
  border-radius: 12px;
  padding: 8px;
}
.price-row input, .price-row select { margin: 0; }
.thanks-card { text-align: center; padding: 24px 16px; }
.thanks-card h2 { margin-bottom: 8px; }
.tag-picks, .hh-block { margin: 8px 0; }
.tag-picks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 8px 0;
  font-weight: 650;
  font-size: 13px;
}
.view-map-row { margin: 12px 0 4px; }
.leaflet-popup-content { margin: 10px 12px; font-size: 13px; }
.leaflet-popup-content .pop-name { font-weight: 800; font-size: 15px; }
.leaflet-popup-content .pop-price { font-family: var(--serif); font-size: 20px; }

/* Five-tab bottom nav — Home, Map, Events, Best bars, My bar */
:root { --nav-h: 68px; }
.nav a, .nav button {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  padding: 6px 2px 4px;
  min-width: 0;
  text-align: center;
  white-space: normal;
}
.nav .nav-ico { font-size: 17px; line-height: 1; margin-bottom: 1px; }
.nav-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}
.price-row label { margin: 0; font-size: 11.5px; }
.price-row .hh-price-field,
.price-row .remove-row { grid-column: 1 / -1; }
@media (max-width: 430px) {
  .price-row { grid-template-columns: 1fr 1fr; }
}
.tag-picks { display: flex; flex-wrap: wrap; gap: 4px 0; }

.plan.loyalty-plan { border-color: var(--sea); background: #eef7f6; }
#loyalty-fields {
  margin-top: 10px;
  padding: 12px;
  border: 1.5px dashed var(--sea);
  border-radius: 14px;
  background: #eef7f6;
}
.loyalty-card {
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 12px;
  background: var(--white);
}
.loyalty-card.demo {
  border-color: var(--deep);
  background: #f4fbfb;
}
.loyalty-demo-banner {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--deep);
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 8px;
}
.loyalty-card h2 { margin: 0 0 6px; }
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 280px;
  margin: 14px auto;
}
.stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--deep);
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: transparent;
}
.stamp.filled {
  background: var(--sun);
  border-color: #c98912;
  color: var(--deep);
}
.loyalty-progress { text-align: center; font-weight: 700; margin: 0 0 8px; }
.reward-ready {
  background: #fff8e8;
  border: 1.5px solid var(--sun);
  border-radius: 14px;
  padding: 12px;
  margin: 8px 0 12px;
  text-align: center;
}
.reward-ready h3 { margin: 0 0 4px; font-family: var(--serif); }
.loyalty-pin {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 8px 0;
}
.loyalty-qr { text-align: center; margin-top: 10px; }
.loyalty-qr img {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}
.my-loyalty { margin-top: 14px; }
.my-loyalty-list { display: flex; flex-direction: column; gap: 8px; }
.my-loyalty-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sand);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.pin-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 12px 0 4px;
}
.pin-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--deep);
  background: transparent;
}
.pin-dots span.on { background: var(--deep); }
.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.pin-pad button {
  min-height: 48px;
  border: 1.5px solid var(--sand-dark);
  background: var(--sand);
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--deep);
}
.pin-pad button.pin-action { font-size: 13px; font-weight: 700; }

.vote-card { margin-top: 12px; }
.vote-hint { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.bar-vote-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 12px;
}
.bar-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 100px;
  width: 100%;
  border-radius: 16px;
  border: 2px solid currentColor;
  background: var(--white);
  padding: 8px 8px 10px;
  box-shadow: var(--shadow-sm);
}
.bar-vote-up { color: var(--bargain); }
.bar-vote-down { color: var(--pricey); }
.bar-vote-up.is-on { background: var(--bargain); color: #fff; }
.bar-vote-down.is-on { background: var(--pricey); color: #fff; }
.bar-vote:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 2px;
}
.bar-vote-ico {
  font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI", sans-serif;
  font-size: 30px;
  line-height: 1;
  font-variant-emoji: emoji;
}
.bar-vote-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
}
.bar-vote-count {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}
.bar-vote.is-pop { animation: vote-pop 0.38s cubic-bezier(0.2, 1.4, 0.35, 1); }
@media (prefers-reduced-motion: reduce) {
  .bar-vote.is-pop { animation: none; }
}

.atm-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.atm-btn {
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 650;
  font-size: 13px;
  color: var(--ink);
}
.atm-btn .count {
  font-weight: 800;
  margin-left: 2px;
  color: var(--muted);
}
.atm-btn.on {
  background: var(--sea-soft);
  border-color: var(--sea);
  color: var(--deep);
}
.atm-btn.on .count { color: var(--sea); }
.atm-chips { margin-top: 6px; }
.atm-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  background: var(--sea-soft);
  color: var(--deep);
  border-radius: 999px;
  padding: 2px 8px;
  margin: 0 6px 4px 0;
}
.bar-score {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
  text-align: right;
}
.bar-score.pos { color: var(--bargain); }
.bar-score.neg { color: var(--pricey); }

.rank-card .row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rank-card .vote-ctrl-rank {
  margin-left: auto;
  align-self: center;
}
.rank-card .top-medal {
  width: 56px;
  height: 56px;
}
.rank-card .top-medal-kicker { font-size: 10px; letter-spacing: 0.06em; }
.rank-card .top-medal-n { font-size: 22px; font-weight: 900; }
.vote-ctrl-rank .vote-net {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin: 2px 0;
}
.rank-body { flex: 1 1 auto; min-width: 0; }
.rank-name {
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}
.rank-place {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 3px 0;
}
.rank-pin { font-size: 12px; }
.rank-price {
  font-size: 15px;
  font-weight: 800;
  margin: 4px 0;
  color: var(--ink);
}
.rank-price-detail { font-weight: 600; color: var(--ink-soft); font-size: 13px; }
.rank-price.is-none { font-size: 13px; font-weight: 650; color: var(--muted); }
.rank-price .est-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #8a6200;
  background: #fff1cc;
  padding: 2px 6px;
  border-radius: 8px;
  vertical-align: middle;
}
.rank-dirs {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1a7f7a;
  text-decoration: none;
  white-space: nowrap;
}
.rank-dirs:hover, .rank-dirs:focus-visible { text-decoration: underline; }
.rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  flex: 0 0 auto;
  background: var(--sand-dark);
  color: var(--ink);
}
.rank-badge.gold {
  background: linear-gradient(180deg, #f6e27a, #d4a017);
  color: #4a3200;
  box-shadow: 0 1px 0 #fff4b0 inset, 0 2px 6px rgba(180, 120, 0, 0.3);
}
.rank-badge.silver {
  background: linear-gradient(180deg, #e8eef2, #9aa3ad);
  color: #2a3036;
  box-shadow: 0 1px 0 #fff inset, 0 2px 6px rgba(80, 90, 100, 0.25);
}
.rank-badge.bronze {
  background: linear-gradient(180deg, #e8b08a, #a65b2b);
  color: #3a1c0a;
  box-shadow: 0 1px 0 #ffd8bc inset, 0 2px 6px rgba(140, 70, 20, 0.25);
}

/* Footer action row just above the bottom nav. Never covers the nav. */
.footer-bar,
.feedback-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--nav-h) + var(--safe-bottom));
  z-index: 29;
  min-height: var(--feedback-h);
  height: var(--feedback-h);
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid var(--sand-dark);
  background: #f7f1e4;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding: 6px 12px;
}
.feedback-bar:active { background: var(--sand-dark); }
.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid var(--sand-dark);
  background: transparent;
  color: var(--deep);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
  min-height: 28px;
  box-sizing: border-box;
}
.footer-pill:active { background: var(--sand-dark); }
.footer-pill-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
}
.footer-pill-login { color: var(--deep); }

/* Chips on the map so they stay out of the way of filters and pins. */
.footer-chips {
  position: absolute;
  left: 10px;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 10px);
  z-index: 15;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
}
.feedback-chip {
  border: 1.5px solid var(--sand-dark);
  background: rgba(255, 253, 248, 0.94);
  color: var(--deep);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
  min-height: 28px;
}
.feedback-chip:active { background: var(--sand-dark); }
.feedback-chip .footer-pill-ico { width: 13px; height: 13px; }

.feedback-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.feedback-sheet-head h2 { margin-bottom: 0; font-size: 20px; flex: 1 1 auto; }
.feedback-sheet h2, .price-sheet h2 { margin-bottom: 4px; font-size: 20px; }
.feedback-sheet .feedback-hint {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.feedback-sheet textarea {
  min-height: 120px;
  resize: vertical;
}
.feedback-cats {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 4px;
}
.feedback-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  color: var(--muted);
  padding: 0 4px;
  line-height: 1;
  font-weight: 500;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-us-row { margin: 16px 0 8px; }
.contact-sheet .contact-email-needed {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  margin: 4px 0 8px;
}
.contact-sheet .contact-email-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}
.contact-sheet .contact-consent[hidden] { display: none; }
.contact-sheet select,
.contact-sheet input[type="text"],
.contact-sheet input[type="email"] {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-sheet .price-sheet-drink {
  margin: 0 0 10px;
  font-size: 15px;
}
.price-sheet input[readonly] {
  background: var(--sand);
  color: var(--ink-soft);
}

/* ---------- Hetzner build: classes replacing inline style="" (strict CSP, no 'unsafe-inline') ---------- */
.brand-name-sm { font-size: 15px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin: 16px 0 0; }
.mt-18 { margin-top: 18px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.card-tight { padding: 10px; }
.bar-card.bar-card-flat { box-shadow: none; padding: 8px 0; }
.pop-link { margin: 8px 0 0; }
hr.pop-sep { border: 0; border-top: 1px solid #e7dcc5; margin: 8px 0; }
.gauge-bubble.b1 { animation-delay: 0.4s; }
.gauge-bubble.b2 { animation-delay: 0.8s; }
.gauge-bubble.b3 { animation-delay: 1.1s; }
.gauge-bubble.b4 { animation-delay: 0.2s; }
.gauge-bubble.b5 { animation-delay: 0.7s; }
.gauge-bubble.b6 { animation-delay: 1.3s; }
.gauge-bubble.b7 { animation-delay: 1.6s; }

/* ---------- Static SEO pages (/towns/, /bars/, /es/...) ---------- */
body.seo #app { height: auto; max-height: none; min-height: 100dvh; }
body.seo .screen-body { overflow: visible; padding-bottom: 28px; }
body.seo .app-header a.lang-link { color: var(--foam); text-decoration: none; font-weight: 700; font-size: 13px; padding: 4px 8px; border-radius: 999px; }
body.seo .app-header a.lang-link.on { background: var(--sun); color: var(--ink); }
body.seo h1 { font-size: 24px; line-height: 1.2; margin: 4px 0 8px; }
body.seo .lede { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; margin: 0 0 12px; }
body.seo .crumbs { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
body.seo .crumbs a { color: var(--sea); }
body.seo .seo-list { list-style: none; padding: 0; margin: 0; }
body.seo .seo-list li { margin: 0 0 10px; }
body.seo .seo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
body.seo .seo-table th, body.seo .seo-table td { text-align: left; padding: 7px 4px; border-bottom: 1px solid var(--sand-dark); vertical-align: top; }
body.seo .seo-table td.num { text-align: right; white-space: nowrap; font-weight: 700; }
body.seo .cta-row { display: grid; gap: 8px; margin: 14px 0; }
body.seo .town-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
body.seo .town-links a { display: inline-block; }
.seo-fallback { padding: 18px 16px; }
.seo-fallback h1 { font-size: 22px; margin-bottom: 8px; }
.seo-fallback .town-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }


/* ---------- Events tab + plan interest ---------- */
.nav.nav-6 a { font-size: 9px; padding: 5px 1px 3px; }
.event-card { padding: 12px 14px; }
.event-card + .event-card { margin-top: 10px; }
.event-card h3 { font-size: 16px; margin: 0 0 4px; }
.event-when { font-size: 13px; color: var(--ink-soft); margin: 0 0 6px; }
.event-cat { display: inline-block; font-size: 11px; font-weight: 700; background: var(--sand-dark, #e7dcc5); color: var(--deep); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.event-card a.event-bar, .event-card .event-bar { color: var(--sea); font-weight: 700; text-decoration: none; }
.event-interest { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; flex-wrap: wrap; }
.event-interest-count { font-size: 13px; color: var(--ink-soft); }
.event-interest-btn.on { opacity: 1; }
.events-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.events-head h1 { margin-bottom: 0; }

.events-cal-label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 10px 0 6px; }
.events-cal {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -4px 8px;
  padding: 0 4px 8px;
}
.events-cal::-webkit-scrollbar { display: none; }
.events-cal-scroll { display: flex; align-items: stretch; gap: 6px; min-width: min-content; }
.cal-month {
  flex: 0 0 auto;
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 2px;
}
.cal-day {
  flex: 0 0 auto;
  width: 48px;
  min-height: 64px;
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 8px 4px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  line-height: 1.1;
}
.cal-day .cal-dow { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); }
.cal-day .cal-num { font-size: 18px; font-weight: 800; font-family: var(--serif); }
.cal-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sea, #1b7a8a);
  margin-top: 4px;
  visibility: hidden;
}
.cal-day.has-events .cal-dot { visibility: visible; }
.cal-day.is-today { border-color: var(--sun, #e8a317); }
.cal-day.is-on {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}
.cal-day.is-on .cal-dow { color: rgba(255,255,255,0.85); }
.cal-day.is-on .cal-dot { background: #fff; }
.events-filters { margin-top: 2px; }
.plan .interest-btn { margin-top: 10px; }
.interest-sheet .or-line { text-align: center; font-size: 12px; color: var(--muted); margin: 4px 0; }
.interest-thanks { text-align: center; padding: 12px 4px 4px; }

/* Area average (not a bar's own listed price) */
.bar-price.area-avg {
  color: var(--ink-soft);
  font-weight: 650;
  font-style: italic;
  text-align: right;
}
.bar-price.area-avg .est {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.price-pin.area-avg {
  background: #efe6d4;
  color: var(--ink-soft);
  border: 1px dashed #c4b7a0;
  font-style: italic;
  font-weight: 650;
}
.pop-price.area-avg { color: var(--ink-soft); font-style: italic; }
.area-avg-card {
  background: #f4eee3;
  border: 1px dashed var(--sand-dark, #e7dcc5);
  box-shadow: none;
}
.area-avg-card .area-avg-price {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 4px;
}

/* Legal pack */
.price-check {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 6px 0 10px;
  font-style: italic;
}
.report-bar {
  font-size: 13.5px;
  margin: 16px 0 8px;
}
.report-bar a { color: var(--sea); }
.legal-foot {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  margin: 4px 0 20px;
}
.legal-page h2 {
  font-family: inherit;
  font-size: 1.05rem;
  margin: 1.25em 0 0.4em;
}
.legal-page p { margin: 0 0 0.75em; line-height: 1.55; }
body.seo .legal-page { padding: 8px 16px 32px; }

.event-time-note { font-size: 12.5px; color: var(--ink-soft); font-style: italic; margin: 4px 0 8px; }
.closed-banner { margin: 6px 0 10px; font-size: 14px; }
.tag.closed { background: #8a3a32; color: #fff; margin-right: 6px; }

/* ---------- Featured price lock + Verified bars ---------- */
.plan-perk {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}
.plan-perk-lock {
  background: #fff;
  border: 1.5px solid var(--sun);
  color: var(--deep);
}
.plan-perk-dash {
  background: #fff;
  border: 1.5px solid var(--sea);
  color: var(--deep);
}
.plan-perk-icon { flex: 0 0 auto; }
.verified-price-note {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef7f6;
  border: 1.5px solid var(--sea);
  font-weight: 650;
  color: var(--deep);
  font-size: 14.5px;
}
.admin-edit-input, input.admin-edit-input {
  width: 100%;
  font-size: 13px;
  padding: 10px 12px;
  border: 1.5px solid var(--sand-dark);
  border-radius: 12px;
  background: #fff;
  color: var(--deep);
  box-sizing: border-box;
}
.admin-edit-box { border: 1.5px solid var(--sun); background: #fff8e8; }
.admin-verified-list { margin: 8px 0 0; padding-left: 18px; }
.admin-verified-list li { margin: 0 0 4px; }
.owner-page {
  max-width: 32rem;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
.owner-page h1 { font-size: 24px; margin: 8px 0 6px; }
.owner-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.owner-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--sand-dark);
  border-radius: 12px;
  background: #fff;
}
.owner-price-row .owner-drink { grid-column: 1 / -1; font-weight: 650; }
.owner-msg { margin: 12px 0; }
.owner-msg.error { color: #7a2e1f; }

.pay-total { font-size: 13px; color: var(--ink-soft, #4a5a60); margin: 8px 0 4px; }
.bar-pick-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--sand-dark, #eadfce);
  border-radius: 12px;
  background: #fff;
}
.bar-pick-list li { margin: 0; }
.bar-pick-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sand-dark, #eadfce);
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}
.bar-pick-list li:last-child button { border-bottom: 0; }
.bar-pick-list button.on, .bar-pick-list button[aria-selected="true"] {
  background: var(--sand, #f6efe3);
  font-weight: 650;
}

.bar-pick.is-claimed {
  opacity: 0.65;
  cursor: not-allowed;
}
.bar-pick-claimed {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft, #4a5a60);
}
.bar-pick-meta { display: block; font-size: 12px; color: var(--ink-soft, #4a5a60); font-weight: 400; }
.featured-pay-sheet .pay-total { margin-top: 12px; }

.owner-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 12px 0; }
.owner-qr-wrap img, .owner-qr-wrap canvas { width: 180px; height: 180px; }
.pin-dots span { width: 12px; height: 12px; }
@media print {
  .no-print, .owner-toolbar, .crumbs { display: none !important; }
  .owner-page { padding: 16px; }
  .owner-qr-wrap { page-break-inside: avoid; }
}

.owner-otp-code {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0.4rem 0;
}


/* Home search typeahead (v42) */
.home-search { position: relative; margin: 0 0 12px; z-index: 20; }
.top-search { margin: 0 0 14px; z-index: 8; }
.home-search-wrap { position: relative; }
.home-search-input,
input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: var(--ink);
  background: var(--card, #fff);
  border: 1px solid var(--line, #d8d0c4);
  border-radius: 12px;
  padding: 12px 40px 12px 14px;
  -webkit-appearance: none;
  appearance: none;
}
.home-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted, #6b6258);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.home-search-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 20rem;
  overflow: auto;
  background: var(--card, #fff);
  border: 1px solid var(--line, #d8d0c4);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(40, 28, 16, 0.12);
  z-index: 25;
  padding: 6px 0;
}
.search-group {
  padding: 8px 14px 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #6b6258);
}
.search-opt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  cursor: pointer;
}
.search-opt.on, .search-opt:hover { background: var(--sand, #f6efe4); }
.search-opt-name { font-weight: 600; }
.search-opt-sub { font-size: 0.85rem; color: var(--muted, #6b6258); }
.search-hl { background: #ffe08a; color: inherit; border-radius: 2px; }
.search-empty { padding: 12px 14px; color: var(--muted, #6b6258); }

/* ---- Where I'm staying (home resort picker) ---- */
.stay-at { position: relative; margin: 0 0 12px; z-index: 21; }
.stay-at-row { display: flex; gap: 8px; align-items: stretch; }
.stay-at-open {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--sea, #0b3d4a);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(11, 61, 74, 0.25);
}
.stay-at-open:focus-visible { outline: 3px solid var(--sun, #e8a317); outline-offset: 2px; }
.stay-at-open[aria-expanded="true"] { background: #0a3340; }
.stay-at-open-label { flex: 1; }
.stay-at-clear {
  flex: 0 0 48px;
  border: 1px solid var(--line, #d8d0c4);
  border-radius: 14px;
  background: var(--card, #fff);
  color: var(--ink, #241c14);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.stay-at-clear:focus-visible { outline: 3px solid var(--sea, #0b3d4a); outline-offset: 2px; }
.stay-at-panel {
  margin-top: 8px;
  background: var(--card, #fff);
  border: 1px solid var(--line, #d8d0c4);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(40, 28, 16, 0.12);
  padding: 10px 10px 8px;
}
.stay-at-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line, #d8d0c4);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
}
.stay-at-list { position: static; margin-top: 6px; max-height: 240px; overflow: auto; border: 0; box-shadow: none; padding: 0; }
.stay-at-credit { margin: 8px 4px 2px; font-size: 0.75rem; }
.stay-at-credit a { color: inherit; }
.stay-dist { font-size: 0.9rem; font-weight: 600; color: var(--sea, #0b3d4a); margin: 2px 0 4px; }
.stay-dist .stay-approx { font-weight: 500; color: var(--muted, #6b6258); }
.stay-more { margin: 8px 0 4px; }

/* Where I'm staying — v2 mockup */
.ws-btn{display:flex;align-items:center;gap:14px;width:100%;border:0;border-radius:18px;padding:16px 18px;margin:0 0 12px;background:linear-gradient(135deg,#0b3a4a,#14807d);color:#fff;font:inherit;text-align:left;box-shadow:0 6px 16px rgba(11,58,74,.25);cursor:pointer}
.ws-btn:focus-visible{outline:3px solid var(--sun,#e8a317);outline-offset:2px}
.ws-btn .ic{font-size:30px;line-height:1}
.ws-btn b{display:block;font-size:20px;font-family:var(--font-display,inherit);font-weight:800}
.ws-btn small{display:block;font-size:12.5px;opacity:.9;font-weight:500}
.ws-card{background:#fffdf7;border-radius:18px;padding:14px 16px;margin:0 0 12px;display:flex;justify-content:space-between;align-items:center;gap:12px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.ws-card-kicker{font-size:12.5px;color:#666}
.ws-card-name{font-weight:800;font-size:19px;color:var(--ink,#16222a)}
.ws-card-town{font-size:12.5px;color:#666;margin-top:1px}
.ws-chg{border:1.5px solid #0b3a4a;background:transparent;color:#0b3a4a;border-radius:14px;padding:5px 12px;font-weight:700;font-size:13px;cursor:pointer;flex:0 0 auto}
.ws-chg:focus-visible{outline:3px solid var(--sun,#e8a317);outline-offset:2px}
.stay-radius-row{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x;margin:0 0 10px;padding:2px 0 6px;scrollbar-width:none}
.stay-radius-row::-webkit-scrollbar{display:none}
.ws-caption{text-align:left;margin:4px 4px 8px}
.ws-list{background:#fffdf7;border-radius:18px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06);margin:0 0 12px}
.ws-row{display:flex;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid #eee2cc;text-decoration:none;color:inherit}
.ws-row:last-child{border-bottom:0}
.ws-bn{font-weight:700;font-size:15px;color:var(--ink,#16222a)}
.ws-sub{font-size:12.5px;color:#666;margin-top:2px}
.ws-pr{font-weight:800;font-size:19px;color:#13824a;text-align:right}
.ws-est{display:inline-block;margin-top:2px;background:#f2b51c;color:#3a2a00;border-radius:8px;padding:1px 6px;font-size:9.5px;font-weight:800;text-transform:uppercase}
.ws-price-col{text-align:right;min-width:108px;flex:0 0 auto}
.ws-more{display:block;width:100%;text-align:center;padding:13px;font-weight:800;color:#0b3a4a;background:transparent;border:0;cursor:pointer;font:inherit}
.ws-more:focus-visible{outline:3px solid var(--sun,#e8a317);outline-offset:-3px}
.ws-hh{margin-left:6px;vertical-align:middle}
.stay-at-panel{margin:0 0 12px}
.linkish{background:none;border:0;padding:0;color:#0b3a4a;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline}


.search-price { white-space: nowrap; }
.search-price-none { font-weight: 400; }
.food-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.food-chips-compact { margin: 4px 0 0; }
.tag.food { background: #efe6d6; color: var(--ink); }
.no-price-yet { margin-top: 4px; font-size: 0.85rem; color: var(--muted, #6b6258); }
#food-types-wrap .atm-grid label.atm-btn { display: flex; align-items: center; gap: 6px; cursor: pointer; }
#food-types-wrap input[type="checkbox"] { margin: 0; }

/* ---- Install app (header pill + secondary banner + iOS sheet) ---- */
.app-header:has(.install-app-btn:not([hidden])) .brand-sub { display: none; }
.brand-name-sm {
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.install-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.1;
  padding: 7px 10px 7px 8px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.install-app-btn:active { background: var(--sun-dark); }
.install-app-ico { width: 16px; height: 16px; flex: 0 0 auto; display: block; }
.install-app-btn[hidden] { display: none !important; }
/* v977: longer Android “Add to home screen” label must wrap on narrow phones */
@media (max-width: 420px) {
  .install-app-btn {
    white-space: normal;
    max-width: 9.5rem;
    text-align: left;
    font-size: 11px;
    line-height: 1.15;
    padding: 4px 8px 4px 6px;
  }
}

.install-banner {
  display: block;
  margin: -14px -14px 14px;
  padding: 0;
  min-height: 60px;
  background: linear-gradient(105deg, #f0b429 0%, #ffe07a 48%, #e8a317 100%);
  border: 0;
  border-top: 2px solid #fff4c2;
  border-bottom: 3px solid #c8870d;
  border-radius: 0;
  animation: install-glow 2.4s ease-in-out infinite;
}
@keyframes install-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 80, 0.25), 0 8px 20px rgba(11, 61, 74, 0.28); }
  50% { box-shadow: 0 0 24px 6px rgba(255, 224, 100, 0.9), 0 8px 20px rgba(11, 61, 74, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .install-banner { animation: none; box-shadow: 0 6px 16px rgba(11, 61, 74, 0.22); }
}
.install-banner[hidden] { display: none !important; }
.install-banner-cta {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--deep-dark);
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  text-align: left;
  padding: 10px 16px;
  border-radius: 0;
  line-height: 1.2;
}
.install-banner-cta:active { background: rgba(11, 61, 74, 0.08); }
.install-banner-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: block;
  box-shadow: 0 1px 4px rgba(11, 61, 74, 0.28);
}
.install-foot { margin: 10px 0 0; font-size: 12.5px; }
.install-foot[hidden] { display: none !important; }
.install-foot-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--sea);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.install-sheet { max-width: 28rem; padding-bottom: 12px; }
.install-sheet h2 { margin: 0 36px 12px 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.install-sheet .install-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.install-sheet .install-sheet-head h2 { margin: 0; flex: 1 1 auto; }
.install-sheet-close { font-size: 28px; padding: 4px 8px; color: var(--ink); font-weight: 700; }
.install-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px;
  background: var(--sea-soft);
  border-radius: 16px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--deep);
}
.install-step-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.install-step-extra { font-size: 16px; font-weight: 700; color: var(--deep-dark); }
.install-step-ico {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  color: var(--sea);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 800;
}
.install-step-ico svg { width: 28px; height: 28px; display: block; }
.install-step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--foam);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-step-add {
  font-size: 13px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: -0.02em;
}
.install-copy-btn {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 10px 16px;
  min-height: 44px;
}
.install-copy-btn:active { background: var(--sun-dark); }
.install-copy-temp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.install-ios-done {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--bargain);
  line-height: 1.3;
}
.install-sheet-backdrop { padding-bottom: 64px; }
.install-safari-point {
  pointer-events: none;
  z-index: 61;
  display: flex;
  color: var(--deep);
}
.install-safari-point.is-iphone {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.install-safari-point.is-ipad {
  position: absolute;
  top: 8px;
  right: 12px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.install-safari-arrow,
.install-safari-share {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 2px rgba(11, 61, 74, 0.25));
}
.install-safari-share { color: var(--deep); }
.install-safari-arrow svg,
.install-safari-share svg { width: 32px; height: 32px; display: block; }
@keyframes install-arrow-bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes install-arrow-bounce-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.install-safari-point.is-iphone .install-safari-arrow { animation: install-arrow-bounce-down 1.1s ease-in-out infinite; }
.install-safari-point.is-ipad .install-safari-arrow { animation: install-arrow-bounce-up 1.1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .install-safari-point .install-safari-arrow { animation: none; }
}

.install-sheet-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; }
.install-sheet-lead { margin: 0 0 8px; color: var(--ink-soft); font-size: 16px; line-height: 1.4; }
.install-sheet-tip {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.4;
}
.install-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.install-sheet-actions .btn { width: 100%; min-height: 48px; }
.install-sheet-actions .install-copy-btn { align-self: stretch; text-align: center; }
a.install-copy-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }


.nav.nav-7 a { font-size: 8.5px; padding: 5px 0 3px; }
.owner-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 16px; }
.owner-stat { background: var(--card, #fff); border: 1.5px solid var(--line, #d5dee0); border-radius: 12px; padding: 10px 12px; }
.owner-stat-n { font-size: 22px; font-weight: 750; color: var(--deep); line-height: 1.1; }
.owner-stat-l { font-size: 12px; color: var(--ink-soft, #4a5a60); margin-top: 2px; }
.owner-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.owner-page .nav { margin-top: 18px; }

.fix-address-link { display: inline; margin: 0; padding: 0; border: 0; background: none; color: var(--sea, #1a6b7a); text-decoration: underline; font: inherit; cursor: pointer; }
.fix-address-map, .owner-pin-map { height: 220px; border-radius: 12px; margin: 8px 0 12px; border: 1.5px solid var(--line, #d5dee0); }
.fix-address-sheet .field { margin: 10px 0; }
.fix-address-sheet label { display: block; font-weight: 650; margin-bottom: 4px; }
.fix-address-sheet input, .fix-address-sheet select { width: 100%; }

/* Owner dashboard — matches the sand app chrome, phone-first */
input[type="url"], input[type="date"], input[type="email"], input[type="password"] { width: 100%; }
#app.owner-shell { min-height: 100dvh; background: var(--sand); display: flex; flex-direction: column; }
.owner-shell .screen { flex: 1 1 auto; min-height: 0; }
.owner-shell .screen-body { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.owner-hero { padding: 2px 2px 14px; }
.owner-hero h1 { font-size: 28px; color: var(--deep); margin: 0 0 4px; line-height: 1.15; }
.owner-hero .bar-meta { margin: 0 0 8px; color: var(--ink-soft); }
.owner-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.owner-saved { font-size: 13px; color: var(--ink-soft); margin: 0; }
.owner-stats-card { margin-bottom: 12px; }
.owner-period {
  display: flex;
  background: var(--sand);
  border-radius: 999px;
  padding: 3px;
  margin: 0 0 12px;
}
.owner-period button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  color: var(--ink-soft);
}
.owner-period button.on { background: var(--deep); color: var(--foam); }
.owner-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.owner-stat {
  background: #f6efe3;
  border: 0;
  border-radius: 14px;
  padding: 12px 12px 10px;
}
.owner-stat-n { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--deep); line-height: 1; }
.owner-stat-l {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
  white-space: normal;
  line-height: 1.25;
}
.owner-stat-c {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.3;
}
.owner-stats-card .disclaimer { margin: 10px 0 0; font-size: 12px; }
.owner-section { padding: 0; overflow: hidden; }
.owner-section + .owner-section { margin-top: 10px; }
.owner-section summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--deep);
  cursor: pointer;
}
.owner-section summary::-webkit-details-marker { display: none; }
.owner-section summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}
.owner-section[open] summary::after { transform: rotate(225deg); }
.owner-section-body { padding: 0 16px 16px; }
.owner-section-body > label:first-child,
.owner-section-body > .chip-label:first-child { margin-top: 0; }
.owner-pin-map { height: 160px; border-radius: 12px; margin: 8px 0 4px; border: 1.5px solid var(--sand-dark); overflow: hidden; }
.owner-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 8px;
  padding: 14px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(243,234,216,0) 0%, var(--sand) 32%);
}
.owner-forget-wrap { text-align: center; margin: 16px 0 8px; }
.owner-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--sea-soft); color: var(--deep); font-weight: 650; }
.owner-msg.error { background: #f8e6e2; color: #7a2e1f; }
@media print {
  .owner-shell .app-header, .owner-save-bar, .owner-forget-wrap, .owner-stats-card, .owner-hero .owner-saved { display: none !important; }
  .owner-section { break-inside: avoid; }
}

.claim-bar-link { display: inline; margin: 0; padding: 0; border: 0; background: none; color: var(--sea, #1a6b7a); text-decoration: underline; font: inherit; cursor: pointer; }
.owner-verified-note { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft, #5a5148); }
.claim-plan-note { margin: 0 0 4px; font-size: 13px; color: var(--ink-soft, #5a5148); line-height: 1.45; }
.claim-sheet .form-actions { margin-top: 12px; }
.claim-sheet { max-height: min(92vh, 820px); }
.claim-prices { margin-top: 14px; }
.claim-prices .chip-label { margin-bottom: 4px; }
.claim-prices .price-rows { margin-top: 8px; }
#find-bar-results { margin: 8px 0; max-height: 40vh; overflow: auto; }
#find-bar-search { width: 100%; }

.owner-upgrade { margin: 16px 0; padding: 16px; }
.owner-upgrade h2 { margin: 0 0 8px; font-size: 1.15rem; }
.owner-upgrade .btn { margin-top: 10px; }
.owner-stats-card.is-locked {
  position: relative;
  overflow: hidden;
}
.owner-stats-lock-layer {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}
.owner-stats-lock-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 250, 241, 0.42);
  text-align: center;
  padding: 22px 20px;
}
.owner-lock-icon {
  width: 40px;
  height: 40px;
  color: var(--deep);
  display: block;
}
.owner-stats-lock-ui .btn {
  font-size: 16px;
  padding: 13px 22px;
  box-shadow: 0 6px 16px rgba(11, 61, 74, 0.16);
}
.owner-lock-price {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--deep);
  line-height: 1.35;
  max-width: 260px;
}
.owner-lock-card {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.owner-upgrade-note { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--deep, #1c1714); }
.owner-loyalty-locked { margin: 16px 0; }
.bar-page-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
a.bar-page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 4px 14px; border-radius: 999px;
  border: 1.5px solid var(--sand-dark, #c9b8a0);
  background: var(--white, #fff);
  color: var(--deep, #1c1714);
  font-size: 13px; font-weight: 700; text-decoration: none;
}
a.bar-page-link:hover, a.bar-page-link:focus { border-color: var(--sea, #1a6b7a); color: var(--sea, #1a6b7a); }

.list-claim-box { margin: 0 0 18px; padding: 14px 14px 12px; }
.list-trial-banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--sun, #e6a317);
  background: #fff8e8;
  color: var(--deep, #1c1714);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}
.list-claim-box h2 { margin: 0 0 6px; font-size: 1.15rem; }
.list-claim-box .top-search { margin: 10px 0 8px; }
.list-claim-results { list-style: none; margin: 0; padding: 0; }
.list-claim-results li { margin: 0; }
.list-claim-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  width: 100%; text-align: left; padding: 10px 8px; margin: 0;
  border: 0; border-bottom: 1px solid var(--sand-dark, #e7dcc5);
  background: none; font: inherit; color: inherit; cursor: pointer;
}
li.is-verified.list-claim-row, .list-claim-row.is-verified { cursor: default; }
.list-claim-name { font-weight: 700; }
.list-claim-row .bar-pick-meta { font-size: 13px; color: var(--ink-soft, #5a5148); }
.list-claim-row .owner-verified-note { margin: 0 0 0 auto; font-size: 12px; }

.home-refresh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; margin: 0;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,0.12); color: var(--foam, #f3ead8);
  cursor: pointer;
}
.home-refresh-btn:active { background: rgba(255,255,255,0.22); }
.home-refresh-btn svg { display: block; }
.home-refresh-btn.is-refreshing svg { animation: home-refresh-spin 0.8s linear infinite; }
@keyframes home-refresh-spin { to { transform: rotate(360deg); } }


/* Home Featured pick line, under the main gauge */
.featured-pick {
  display: block;
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid rgba(232, 163, 23, 0.4);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: opacity 0.45s ease;
}
.featured-pick:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}
.featured-pick.is-fading { opacity: 0; }
.featured-pick .est-tag { margin-left: 4px; }
@media (prefers-reduced-motion: reduce) {
  .featured-pick { transition: none; }
}

/* Compact bar-page price gauge */
.bar-gauge {
  text-align: center;
  padding: 10px 10px 12px;
}
.bar-gauge .bar-gauge-drink {
  display: block;
  margin: 0 auto 8px;
  max-width: 16em;
}
.bar-gauge .bar-gauge-drink select {
  width: 100%;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--card);
  border: 1px solid rgba(28, 23, 20, 0.16);
  border-radius: 10px;
  padding: 6px 10px;
}
.bar-gauge .gauge-dial,
.bar-gauge svg.gauge-svg {
  margin: 0 auto;
  height: auto;
  display: block;
}
.bar-gauge.is-lg .gauge-dial,
.bar-gauge.is-lg svg.gauge-svg { max-width: 280px; }
.bar-gauge.is-sm .gauge-dial,
.bar-gauge.is-sm svg.gauge-svg { max-width: 180px; }
.bar-gauge.is-lg .gauge-price { font-size: 28px; }
.bar-gauge.is-sm .gauge-price { font-size: 22px; }
.bar-gauge.is-sm .gauge-end { font-size: 11px; }
.bar-gauge.is-sm .gauge-emo { font-size: 13px; }
.bar-gauge.is-sm .gauge-verdict { font-size: 13.5px; margin-top: 4px; }
.bar-gauge.is-lg .gauge-verdict { font-size: 15px; }
.bar-gauge .gauge-caption { margin-top: 4px; }
.bar-gauge.is-sm .gauge-bubble { display: none; }
.bar-gauge-card { margin: 12px 0; }
.price-menu-card .bar-gauge { margin: 0 0 10px; padding: 4px 0 10px; }

.claim-verified-note, .list-verified-note {
  margin: 6px 0 10px;
  font-size: 14px;
  color: var(--ink-soft, #5a5148);
}
.pop-name .tag, .rank-body .tag, .bar-page-head h1 .tag {
  vertical-align: middle;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}


/* Event add/edit form: weekly days + multiple events */
.event-block { margin: 0 0 12px; }
.event-block h2 { font-size: 17px; margin: 0 0 8px; color: var(--deep); }
.event-weekly-extra { margin: 0; }
.event-preview {
  margin: 8px 0 0;
  padding: 8px 10px;
  background: #f6efe3;
  border-radius: 12px;
  font-size: 13px;
  color: var(--deep);
  font-weight: 650;
}
.event-preview span { font-weight: 500; color: var(--ink-soft); }
.event-preview-line { font-weight: 650; color: var(--deep); }
.form-actions .btn-ghost { margin-bottom: 0; }


/* Owner email + password login (v87) */
.owner-login-card input[type="email"],
.owner-login-card input[type="password"],
.owner-set-password-card input[type="password"] { width: 100%; }
.owner-login-card .form-actions,
.owner-set-password-card .form-actions { margin-top: 12px; }
.owner-account-card .btn { margin-top: 6px; }
.owner-set-password-card { margin-bottom: 16px; border: 1px solid var(--sun); background: #fff8e8; }

.install-sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.install-sheet-actions .btn { width: 100%; }
.install-sheet-actions .install-copy-btn { align-self: stretch; text-align: center; background: transparent; color: var(--deep); border: 1.5px solid var(--sand-dark); }
.install-sheet-actions .install-copy-btn:active { background: var(--sand-dark); }

.install-step-ico.is-menu { font-size: 28px; font-weight: 800; line-height: 1; }
.install-step-ico.is-check { font-size: 22px; font-weight: 800; line-height: 1; color: var(--sea); }


/* Home list header: cheapest-first label + compact add-price */
.home-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 6px;
}
.home-list-head .chip-label { margin: 0; flex: 1 1 auto; }
.home-add-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1.5px solid var(--sand-dark);
  background: transparent;
  color: var(--deep);
  font-weight: 750;
  font-size: 12.5px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.home-add-price:active { background: var(--sand-dark); }

.mybar-sheet { max-width: 28rem; padding-bottom: 16px; }
.mybar-sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mybar-sheet-actions .btn { width: 100%; }

/* Opening hours on bar pages */
.hours-table { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 15px; }
.hours-table th, .hours-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(11, 61, 74, 0.12); }
.hours-table tr.is-today { background: rgba(232, 145, 58, 0.18); font-weight: 700; }
.hours-now { margin: 0 0 8px; font-weight: 700; }
.hours-est { font-weight: 600; letter-spacing: 0.02em; }
.hours-suggest-table { width: 100%; border-collapse: collapse; }
.hours-suggest-table th, .hours-suggest-table td { padding: 6px 4px; text-align: left; }
.hours-suggest-table input[type="time"] { width: 7.2em; }
/* v91.5 Where I'm staying: explicit show/hide of the nearest-bars view */
.ws-toggle-row{margin:-4px 0 12px}
/* v91.5 fix: on the Map / Near me screen Leaflet's panes (z-index 400-1000) were
   stacked above the bottom nav, so Home / Events / Best bars / My bar could not be
   tapped. Contain Leaflet in its own stacking context under the nav. */
.screen.map-screen #map-wrap { isolation: isolate; z-index: 0; }
.screen.map-screen > .nav, .screen.map-screen > .feedback-bar { z-index: 1200; }
.screen.map-screen .leaflet-bottom { bottom: calc(var(--nav-h) + var(--safe-bottom) + var(--feedback-h, 0px)); }

/* v92: events near the hotel / map position */
.near-events { margin-top: 14px; }
.near-events .near-ev-row { display: block; }
.near-events-all { margin-top: 8px; }
.event-near { font-size: 13px; color: var(--ink); opacity: .8; margin: 2px 0 6px; }
.screen.map-screen .map-near-events {
  position: absolute; left: 10px; right: 10px; z-index: 1001;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + var(--feedback-h, 0px) + 30px);
  max-height: 42vh; overflow: auto; padding: 10px 12px; margin: 0;
}
.map-near-events .near-events { margin-top: 0; }
.map-near-close { position: absolute; top: 4px; right: 8px; border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); min-width: 32px; min-height: 32px; }
/* v92 wheelchair */
.tag.wheel { background: #e6f0f7; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
.wheel-row { margin: 4px 0; }
.wheel-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.near-ev-row{display:flex;justify-content:space-between;gap:10px;padding:10px 4px;border-bottom:1px solid #eee2cc;text-decoration:none;color:inherit}
.near-ev-row:last-child{border-bottom:0}

/* v92.2 accessibility + active filters */
.active-filters { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 8px 0 6px; padding: 10px 0 2px; border-top: 1px solid var(--sand-dark); }
.active-filters-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.active-filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.active-filters-count { font-size: 13px; color: var(--muted); font-weight: 600; }
.active-filters-clear { margin-left: auto; border: 0; background: none; color: var(--sea); font-weight: 650; font-size: 13px; padding: 4px 0; white-space: nowrap; cursor: pointer; }
.map-filters .active-filters { margin: 4px 0 0; padding-top: 6px; }
.access-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--sand-dark); }
.access-card h2 + .access-row { padding-top: 4px; }
.access-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.access-label { font-weight: 650; font-size: 14px; color: var(--ink); line-height: 1.3; }
.access-value { text-align: right; flex: 0 1 auto; max-width: 58%; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.access-yes { font-weight: 700; font-size: 14px; color: var(--deep); }
.access-unknown { font-weight: 650; font-size: 13px; color: var(--muted); }
.tag.reported { background: var(--sand-dark); color: var(--ink-soft); text-transform: none; letter-spacing: 0.01em; font-weight: 650; font-size: 10px; padding: 2px 7px; }
.access-owner-field { margin: 0 0 14px; }
.access-owner-field:last-child { margin-bottom: 2px; }
.access-opts { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 6px; }
.access-opts .opt { flex: 1 1 0; min-width: 0; text-align: center; border: 1.5px solid var(--sand-dark); background: var(--white); color: var(--ink-soft); border-radius: 999px; padding: 7px 6px; font-size: 12.5px; font-weight: 650; line-height: 1.2; cursor: pointer; position: relative; }
.access-opts .opt.on, .access-opts .opt:has(input:checked) { background: var(--deep); border-color: var(--deep); color: var(--foam); }
.access-opts .opt:focus-within { outline: 2px solid var(--sea); outline-offset: 2px; }
.access-listed { margin: 6px 0 0; font-size: 12px; }
/* v92.2: search dropdown sits above the "Where I'm staying" card; one clear button only */
.home-search { z-index: 22; }
.home-search:has(.home-search-list:not([hidden])) { z-index: 40; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
input[type="search"]::-ms-clear, input[type="search"]::-ms-reveal { display: none; width: 0; height: 0; }

/* v92.3 map pin clustering: numbered bubble, tap to zoom in until it splits */
.map-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-family: var(--font);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(21, 122, 122, 0.28), 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.map-cluster.has-feat { box-shadow: 0 0 0 4px rgba(232, 163, 23, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25); }
.leaflet-marker-icon:focus-visible .map-cluster { outline: 3px solid var(--sun); outline-offset: 2px; }

/* v92.3 iOS App Store mode (html.pl-app-ios, set by js/app-ios.js / installed.js from ?app=ios) */
.ios-only { display: none; }
html.pl-app-ios .ios-only { display: inline; }
html.pl-app-ios .ios-hide,
html.pl-app-ios a[href*="#/list"],
html.pl-app-ios a[href^="/owner"],
html.pl-app-ios a[href*="/for-bars"],
html.pl-app-ios a[href*="/para-bares"],
html.pl-app-ios a[href*="/terms/"],
html.pl-app-ios a[href*="/condiciones/"],
html.pl-app-ios a[href*="#/terms"],
html.pl-app-ios a[href*="#/loyalty-demo"],
html.pl-app-ios #open-my-bar,
html.pl-app-ios .claim-bar-link,
html.pl-app-ios .featured-empty,
html.pl-app-ios .placeholder-feature { display: none !important; }

/* v92.3 Full menu (bar.menu): collapsed below the main price menu */
.full-menu > summary { cursor: pointer; list-style: none; font-weight: 700; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.full-menu > summary::-webkit-details-marker { display: none; }
.full-menu > summary::before { content: "▸"; color: var(--sea, #0b6e75); }
.full-menu[open] > summary::before { content: "▾"; }
.full-menu > summary:focus-visible { outline: 2px solid var(--sea, #0b6e75); outline-offset: 3px; border-radius: 6px; }
.full-menu-title { font-size: 1.1rem; }
.full-menu h3 { margin: 16px 0 6px; font-size: 1rem; }
.full-menu-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.full-menu-table th { text-align: left; font-weight: 600; font-size: .8rem; opacity: .75; padding: 2px 0; }
.full-menu-table td { padding: 5px 0; border-top: 1px solid rgba(0,0,0,.07); vertical-align: top; }
.full-menu-table .num { text-align: right; white-space: nowrap; padding-left: 12px; width: 4.5em; }


/* ---- Android closed-test page (/android/, /es/android/) ---- */
a.install-app-btn,
a.install-banner-cta,
a.install-foot-btn { text-decoration: none; color: inherit; }
.android-page .android-note {
  margin: 8px 0 20px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--deep);
  background: var(--sea-soft);
  border-radius: 16px;
  padding: 14px 16px;
}
.android-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.android-step {
  margin: 0;
  padding: 18px 16px 16px;
  background: var(--card);
  border: 1.5px solid var(--sand-dark);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.android-step-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.android-step h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--deep);
}
.android-step p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.android-step-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--foam);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.android-step .btn { font-size: 17px; font-weight: 800; min-height: 56px; }
.android-fallback {
  position: relative;
  z-index: 80;
}
.android-fallback[hidden] { display: none !important; }
.android-fallback .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 44, 54, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + var(--safe-bottom));
  z-index: 80;
}

/* ===== v93: cafés, featured events, cover photo, voting paused, claim account, owner board ===== */
.cafe-card .bar-name .tag.kind { background: #f3e6d6; }
.cafe-page .disclaimer { margin-top: 4px; }
.bar-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin: 8px 0 12px; background: #eee; }
.vote-paused-note { font-size: .82rem; color: #555; margin: 4px 0; text-align: center; }
.bar-vote-band.is-paused .bar-vote, .vote-arrow[disabled] { opacity: .45; cursor: not-allowed; }
.fe-section { margin: 14px 0 6px; }
.fe-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.fe-head h2 { margin: 0; font-size: 1.1rem; flex: 1 1 auto; }
.fe-head .btn-fe { flex: 1 1 100%; }
.fe-card { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; border: 2px solid var(--sun); padding: 10px; }
.fe-photo { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.fe-emoji { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.8rem; background: #fff6d6; border-radius: 12px; flex: 0 0 auto; }
.fe-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fe-title { font-size: 1rem; }
.pw-wrap { display: flex; gap: 6px; align-items: center; }
.pw-wrap input { flex: 1 1 auto; min-width: 0; }
.pw-toggle { flex: 0 0 auto; }
.field-error { color: #b42318; font-size: .85rem; margin: 2px 0 6px; }
.claim-ref-by { font-size: .9rem; color: #1a7f37; margin: 2px 0 8px; }
.claim-ref-by.error { color: #8a5a00; }
.owner-remember span { display: flex; flex-direction: column; }
.owner-remember small { font-weight: 400; }
.owner-pinned-notice { border-left: 4px solid var(--sun); }
.owner-notice-from { font-weight: 700; margin: 0 0 4px; }
.owner-login-banner { background: #eef7ff; }
.owner-unread-badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: #d92d20; color: #fff; font-size: .78rem; text-align: center; margin-left: 6px; }
.owner-board-msg { border-top: 1px solid #eee; padding: 10px 0; }
.owner-board-msg h3 { font-size: 1rem; margin: 0 0 2px; }
.owner-board-msg.is-unread h3 { color: #000; }
.owner-board-msg.is-warning { border-left: 4px solid #d92d20; padding-left: 8px; }
.owner-board-msg .tag.unread { background: #fde7e5; }
.owner-board-msg .tag.warn { background: #fde7e5; }
.owner-board-body { white-space: normal; }
.owner-board-img, .owner-cover-img, .owner-fe-photo { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 6px 0; }
.owner-board-from { font-style: italic; color: #555; margin: 4px 0 0; }
.owner-lock-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.owner-lock-tile { border: 1px dashed #ccc; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; color: #666; }
.owner-pending-preview .owner-lock-tile { filter: blur(.6px); opacity: .7; }
.owner-allin ul { padding-left: 1.2em; margin: 6px 0; }
.owner-allin-earn { font-weight: 700; }
.ref-stamps { display: flex; gap: 6px; margin: 8px 0 4px; }
.ref-stamp { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed #bbb; display: grid; place-items: center; font-size: 1rem; }
.ref-stamp.on { border: 2px solid var(--sun); background: #fff6d6; }
.owner-ref-code code { font-size: 1.1rem; letter-spacing: .04em; }
.owner-ref-list { padding-left: 1.1em; }
.owner-fe-row { border-top: 1px solid #eee; padding: 10px 0; }
.owner-fe-row .btn-fe { width: 100%; margin-top: 6px; }
.owner-fe-row.is-fe-target { border-radius: 12px; padding: 10px; border: 2px solid #c6f432; background: #f7ffe8; }
.owner-fe-photo-label { display: block; font-size: .85rem; margin: 4px 0; }
.owner-file-btn { position: relative; }
#owner-ref-pop .modal { padding: 18px; }
/* v93.1 */
.closure-note { margin: 6px 0 8px; font-size: 14px; }
.bar-card .closure-note { margin: 4px 0 2px; font-size: 0.8rem; }
.no-price-yet.add-nudge { color: var(--sea, #0b6e7f); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.add-nudge-card { border: 1px dashed #e8a317; border-radius: 12px; padding: 10px 12px; margin: 6px 0 8px; background: #fffaf1; }
.add-nudge-card p { margin: 0 0 6px; }
.add-nudge-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0 !important; }
.price-menu-card.still-focus { box-shadow: 0 0 0 3px #e8a317; scroll-margin-top: 70px; }
.still-hint { font-size: 0.9rem; margin: 0 0 8px; }
.hh-next { margin: 8px 0; }
.hh-next-title { margin: 0 0 6px; }
.hh-next-list { list-style: none; margin: 0; padding: 0; }
.hh-next-list li { padding: 6px 0; border-top: 1px solid rgba(0,0,0,.06); }
.hh-next-list li:first-child { border-top: 0; }
.hh-next-empty p { margin: 0 0 8px; }

/* ---------- v94 Night out tab, Been here, venue tags ---------- */
.nav.nav-6 a, .nav.nav-6 button { font-size: 9px; padding: 5px 1px 3px; }
.nav a.active, .nav button.active { color: var(--accent94, var(--deep)); }
.been-row { margin: 6px 0 2px; }
.been-btn { border: 1.5px solid var(--sand-dark); background: var(--white); color: var(--ink-soft); border-radius: 999px; padding: 6px 12px; font-weight: 650; font-size: 13px; min-height: 36px; }
.been-btn.on { border-color: var(--accent94, var(--deep)); color: var(--accent94, var(--deep)); background: rgba(11, 110, 128, 0.06); }
.vtag-row { margin: 4px 0; }
.tag.vtag { background: #eef6f0; color: #245b33; }
.igic-note { font-size: 12px; }
.nightout-root .no-card { border-top: 4px solid var(--accent94, var(--deep)); }
.nightout-root .no-card + .no-card { margin-top: 12px; }
.no-profile-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 6px; }
.no-nick { font-size: 18px; }
.no-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.no-av { border: 2px solid var(--sand-dark); background: var(--white); border-radius: 12px; padding: 4px; min-width: 48px; min-height: 48px; }
.no-av.on { border-color: var(--accent94, var(--deep)); }
.no-col { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--sand-dark); }
.no-col.on { box-shadow: 0 0 0 3px var(--ink, #123); }
.no-badges { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.no-badge { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; background: var(--sand, #f6f1e7); opacity: 0.7; }
.no-badge.on { opacity: 1; background: #fff4d6; }
.no-badge.pioneer { grid-column: 1 / -1; }
.no-badge-ico { font-size: 22px; width: 28px; text-align: center; }
.no-list { list-style: none; padding: 0; margin: 6px 0; }
.no-list li { padding: 8px 0; border-bottom: 1px solid var(--sand-dark); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.no-list li .btn { margin-left: auto; }
.no-count { font-weight: 650; }

/* v95.1: My Lanza Journey is the raised centre button of the bottom nav (centre exactly in the 5-item iOS app nav) */
.nav a.nav-journey { position: relative; }
.nav a.nav-journey .nav-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-top: -16px; border-radius: 50%;
  background: linear-gradient(135deg, #0f8f7e 0%, #2bbfa4 60%, #3a7be2 140%);
  box-shadow: 0 3px 10px rgba(0,0,0,0.22); font-size: 21px; line-height: 1; border: 2px solid #fff;
}
.nav a.nav-journey .nav-label { font-weight: 800; }

/* ---------- v95.1 My Lanza Journey: avatars, nickname sheet, Home league strip ---------- */
.pl-av { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; }
.pl-av-svg { width: 100%; height: 100%; display: block; }
.pl-av-full { width: 150px; height: 290px; border-radius: 22px; }
.pl-av-full .pl-av-svg { filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }   /* v95.1: no white outline on characters */
.pl-av-crop { width: 46px; height: 46px; border-radius: 50%; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.pl-av-mini { width: 40px; height: 40px; }
.pl-av-bg-sand { background: #f6e7c8; }
.pl-av-bg-sky { background: #cfe9f7; }
.pl-av-bg-beach { background: linear-gradient(180deg, #bfe6fa 0%, #bfe6fa 55%, #3aa6c9 55%, #3aa6c9 70%, #f3dca8 70%); }
.pl-av-bg-sunset { background: linear-gradient(180deg, #ffb35c 0%, #f47a5a 50%, #8a4f9e 100%); }
.pl-av-bg-volcano { background: linear-gradient(180deg, #ffd9a0 0%, #ffd9a0 60%, #8b5a3c 60%, #6b3f2a 100%); }
.pl-strip:empty { display: none; }
.pl-strip-join, .pl-strip-me { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; border-radius: var(--radius, 16px); text-decoration: none;
  background: #fff8e6; border: 2px solid #e8c46a; color: var(--ink, #1d2a30); padding: 10px 12px; text-align: left; }
.pl-strip-join { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; }
.pl-strip-join small, .pl-strip-txt small { font-size: 12px; color: #6a5a48; font-weight: 600; }
.pl-strip-txt { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.pl-strip-btn { flex: 0 0 auto; white-space: nowrap; }
.pl-strip-susp { border: 1px solid #c0392b; }
.pl-strip-susp strong { color: #8e1f15; }
/* v95.1 price-row green tick / red X (44px targets, no inline styles) */
.pa-btns { display: inline-flex; gap: 6px; margin-top: 4px; }
.pa-btn { min-width: 44px; min-height: 44px; border-radius: 12px; border: 2px solid; background: #fff; font-size: 20px; font-weight: 800; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.pa-tick { border-color: #1e8e3e; color: #1e7a37; }
.pa-x { border-color: #c62828; color: #b71c1c; }
.pa-tick:hover, .pa-tick:focus-visible { background: #e6f4ea; }
.pa-x:hover, .pa-x:focus-visible { background: #fdecea; }
.pa-tick.on, .pa-tick[aria-pressed="true"] { background: #1e8e3e; color: #fff; border-color: #1e8e3e; }
.pa-x.on, .pa-x[aria-pressed="true"] { background: #c62828; color: #fff; border-color: #c62828; }
.pa-own, .pa-done { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #5b6770; }
.menu-row .text-right { min-width: 100px; }

/* v95.1 bottom nav: navy with neon-green active state app-wide; Feedback moved into the page footer (nothing stacks on the nav) */
.screen-body { padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px); }
.screen.map-screen .screen-body { padding: 0; }
.nav { background: #0b1a33; border-top: 1px solid rgba(184, 240, 60, 0.18); box-shadow: 0 -6px 20px rgba(3, 10, 24, 0.35); }
.nav a, .nav button { color: #b9c4d6; }
.nav a.active, .nav button.active { color: #b8f03c; }
.nav a.active .nav-label, .nav button.active .nav-label { text-shadow: 0 0 8px rgba(184, 240, 60, 0.45); }
.nav a:focus-visible, .nav button:focus-visible { outline: 2px solid #b8f03c; outline-offset: -3px; }
.feedback-foot { margin: 22px 0 4px; text-align: center; }
.feedback-link { min-height: 44px; padding: 8px 14px; border: 0; background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pl-jx .feedback-link, .screen-body .pl-jx ~ .feedback-foot .feedback-link { color: #b9c4d6; }
.pl-av-bg-gold { background: radial-gradient(circle at 50% 30%, #fff3b0 0%, #ffd34d 45%, #c8941a 100%); }
.pl-bar-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.pl-bar-share .pl-btn-ghost { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #14213d; background: #fff; color: #14213d; font-weight: 700; cursor: pointer; }
.pl-already { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; background: #e7f6dd; color: #24602a; font-weight: 700; }
.pl-av-bg-palms { background: linear-gradient(180deg, #bfe6fa 0%, #bfe6fa 62%, #f3dca8 62%); }
.pl-av-bg-harbour { background: linear-gradient(180deg, #cfe9f7 0%, #cfe9f7 55%, #2c6cb0 55%, #2c6cb0 70%, #e9e2d0 70%); }
.pl-av-bg-famara { background: linear-gradient(180deg, #bfe6fa 0%, #bfe6fa 40%, #8b6f4e 40%, #8b6f4e 58%, #29a3c9 58%, #29a3c9 72%, #f3dca8 72%); }
.pl-av-bg-nightsky { background: radial-gradient(circle at 75% 18%, #fff7c2 0 6%, transparent 7%), linear-gradient(180deg, #0b1730 0%, #1c3f73 100%); }
.pl-av-bg-timanfayabg { background: linear-gradient(180deg, #ffd9a0 0%, #ffb35c 45%, #b5462b 45%, #6b3f2a 100%); }
.pl-av-bg-jameos { background: linear-gradient(180deg, #14213d 0%, #1f4f6b 50%, #29a3c9 50%, #ffffff 100%); }
.pl-av-frame { outline: 4px solid var(--pl-frame, #ffd34d); outline-offset: -4px; }
.pl-av-fgold { --pl-frame: #ffd34d; } .pl-av-fneon { --pl-frame: #c6f432; } .pl-av-flava { --pl-frame: #e8742c; }
.pl-av-fwaves { --pl-frame: #29a3c9; } .pl-av-fstars { --pl-frame: #f39ac0; } .pl-av-fdiamond { --pl-frame: #6fd3f2; }
.pl-av-frame.pl-av-fdiamond { box-shadow: 0 0 12px rgba(111,211,242,.7); }
.pl-av-frame.pl-av-fneon { box-shadow: 0 0 12px rgba(198,244,50,.6); }
.pl-av-pet { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
/* v95.1: ES at 360px - "PintLanza" + "App gratis" + EN/ES: keep the brand inside its box (was 1-2px over) */
@media (max-width: 374px) { .app-header .brand { gap: 6px; flex-shrink: 1; } .app-header .brand-name { font-size: 16px; letter-spacing: -.01em; } }

/* v95.1 CSP: cluster bubble sizes as classes (was an inline style attribute) */
.map-cluster.mc-34 { width: 34px; height: 34px; } .map-cluster.mc-40 { width: 40px; height: 40px; } .map-cluster.mc-46 { width: 46px; height: 46px; }

/* v95.1d: iOS safe-area, one natural page scroll, fixed bottom nav, faster lists.
   Nav is position:fixed so it cannot sit mid-screen when the document moves.
   Header never sits under the status bar. Tabs stick in journey951.css.
   Desktop (>=560px) keeps the phone-frame inner scroller. CSP: no inline styles. */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  overscroll-behavior-y: contain;
  scroll-padding-top: calc(var(--safe-top) + var(--header-h) + 56px);
  scroll-padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 8px);
}
html, body { min-height: 100dvh; }
#app::before {
  content: "";
  display: block;
  height: var(--safe-top);
  background: var(--deep);
  position: sticky;
  top: 0;
  z-index: 47;
  flex: 0 0 auto;
}
#app {
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow: visible;
}
#view { overflow: visible; }
.app-header {
  position: sticky;
  top: var(--safe-top);
  z-index: 45;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0 10px 0 12px;
  background: var(--deep);
}
.nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: #0b1a33;
  border-top: 1px solid rgba(184, 240, 60, 0.18);
  box-shadow: none;
  z-index: 50;
}
.screen-body {
  overflow: visible;
  flex: 0 1 auto;
  min-height: 0;
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px);
  -webkit-overflow-scrolling: touch;
}
.screen-body.no-nav { padding-bottom: 24px; }
.bar-card, .featured-card, .cafe-card { contain: layout style; }
.bar-list .bar-card, .bar-list .cafe-card, .bar-list .featured-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 108px;
}

/* Map needs a locked viewport so Leaflet gets a real height */
#app:has(.map-screen) {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
#app:has(.map-screen) .screen.map-screen,
#app:has(.map-screen) #view { min-height: 0; flex: 1 1 auto; height: auto; }
.screen.map-screen .screen-body { padding: 0; overflow: hidden; }

/* Sheets and modals stay inner-scrollers; contain overscroll so the page doesn't jank */
#modal-root .modal, .pl-sheet, .pl-first, .pl-jx.pl-sheet { overscroll-behavior: contain; }

@media (min-width: 560px) {
  #app::before { display: none; }
  #app {
    min-height: calc(100dvh - 56px);
    height: calc(100dvh - 56px);
    max-height: calc(100dvh - 56px);
    overflow: hidden;
  }
  .app-header { position: relative; top: auto; }
  .screen-body {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    overscroll-behavior: contain;
  }
  .nav { position: absolute; left: 0; right: 0; bottom: 0; }
  #app:has(.map-screen) { height: calc(100dvh - 56px); max-height: calc(100dvh - 56px); }
}

/* v952: bigger Featured CTA — dark navy + neon green, no inline styles (CSP) */
.btn-fe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  background: #0b1a33;
  color: #c6f432;
  border: 2px solid #c6f432;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 16px 20px;
  min-height: 56px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(198, 244, 50, 0.15), 0 6px 16px rgba(11, 26, 51, 0.35);
}
.btn-fe:hover, .btn-fe:focus-visible {
  background: #10244a;
  color: #d6ff5a;
  outline: 3px solid #c6f432;
  outline-offset: 2px;
}
.btn-fe:active { transform: scale(0.98); }
.btn-fe[disabled] { opacity: 0.5; }
.fe-ask { padding: 20px 16px; }
.fe-ask h2 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.25; color: #0b1a33; }
.fe-ask p { margin: 0 0 8px; }
.fe-ask-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.fe-ask .btn-fe, .fe-ask .btn-block { width: 100%; }
.bar-events-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.bar-events-actions .btn-fe { width: 100%; }

/* v955 compact home: tiles, filter row, share pill, more-filters sheet */
.home-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 2px;
}
.home-count-row .home-bar-count { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 12.5px; line-height: 1.25; }
.share-friend-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid var(--sand-dark, #e2d4bf);
  background: #fff;
  color: var(--deep, #0b3d4a);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.share-friend-btn:focus-visible { outline: 3px solid var(--sun, #e8a317); outline-offset: 2px; }
.share-friend-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.home-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 1px 0 4px;
}
.home-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  min-width: 0;
  border: 0;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.01em;
  padding: 6px 3px 5px;
  box-shadow: 0 4px 10px rgba(11, 58, 74, 0.18);
  cursor: pointer;
  text-align: center;
  line-height: 1.15;
}
.home-tile .home-tile-ico { width: 26px; height: 26px; display: block; }
.home-tile.tile-stay { background: linear-gradient(135deg, #0b3a4a, #14807d); }
.home-tile.tile-hh { background: linear-gradient(135deg, #e8a317 0%, #f0c14b 55%, #e25c3a 140%); color: var(--ink, #16222a); }
.home-tile.tile-ev { background: linear-gradient(135deg, #6a2bd9 0%, #9b5cf0 55%, #d0479b 140%); }
.home-tile.tile-jx { background: linear-gradient(135deg, #0f8f7e 0%, #2bbfa4 55%, #3a7be2 140%); }
.home-tile.on { box-shadow: 0 0 0 2px #fff, 0 4px 0 0 rgba(11, 58, 74, 0.2), 0 4px 10px rgba(11, 58, 74, 0.18); }
.home-tile:focus-visible { outline: 3px solid var(--sun, #e8a317); outline-offset: 2px; }
.home-filters {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin: 2px 0 4px;
  min-width: 0;
}
.home-filters-drinks-wrap {
  position: relative;
  min-width: 0;
}
.home-filters-drinks-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(246, 241, 231, 0), var(--sand, #f6f1e7) 85%);
}
.home-filters-drinks {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  padding: 2px 28px 2px 0;
  min-width: 0;
}
.home-filters-drinks::-webkit-scrollbar { display: none; }
.home-filters-drinks .chip {
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: none;
}
.home-filters-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.filter-pill, .filter-pill-select, .more-filters-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1.5px solid var(--sand-dark, #e2d4bf);
  background: #fff;
  color: var(--ink, #16222a);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  max-width: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.filter-pill-wrap { position: relative; display: flex; width: 100%; min-width: 0; }
.filter-pill-select { padding-right: 22px; text-overflow: ellipsis; overflow: hidden; }
.filter-pill-wrap::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink, #16222a);
  transform: translateY(-40%);
  pointer-events: none;
}
.more-filters-btn.on, .filter-pill-select:not([data-all="1"]) {
  background: var(--deep, #0b3d4a);
  color: #fff;
  border-color: var(--deep, #0b3d4a);
}
.more-filters-btn svg { width: 14px; height: 14px; }
.more-filters-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 22, 34, 0.45);
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.more-filters-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 32rem;
  max-height: min(86vh, 640px);
  overflow: hidden;
  background: var(--sand, #f6f1e7);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 24px rgba(11, 22, 34, 0.2);
}
.more-filters-sheet .feedback-sheet-head {
  flex: 0 0 auto;
  padding: 12px 16px 8px;
  background: var(--sand, #f6f1e7);
}
.more-filters-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 0 16px 8px;
}
.more-filters-actions {
  flex: 0 0 auto;
  padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--sand, #f6f1e7);
  box-shadow: 0 -4px 12px rgba(11, 22, 34, 0.06);
}
.more-filters-actions .btn { width: 100%; min-height: 44px; }
.more-filters-backdrop.is-closing { pointer-events: none; }
.more-filters-sheet .chip-row { margin: 8px 0; }
html.pl-sheet-open, body.pl-sheet-open {
  overflow: hidden;
  overscroll-behavior: none;
}
.share-sheet-backdrop { z-index: 80; }
.share-sheet { max-width: 28rem; padding: 16px 16px 20px; }
.share-sheet h2 { margin: 0 36px 12px 0; font-size: 20px; }
.share-sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.share-sheet-actions .btn { width: 100%; min-height: 44px; }
.home-body .gauge-wrap { margin-top: 0; }
.stay-at { margin: 0 0 8px; }
@media (max-width: 400px) {
  .home-tile { min-height: 64px; font-size: 10.5px; padding: 6px 2px 5px; }
  .share-friend-btn { font-size: 11px; padding: 5px 8px; }
}

/* v955: compact the home island gauge so first prices stay above the fold at 360x740 */
.home-search { margin-bottom: 6px; }
.home-list-head { margin: 2px 0 2px; }
.screen-body > .bar-list { margin-top: 4px; }
.screen-body > .gauge-wrap {
  padding: 2px 8px 6px;
  margin: 0;
}
.screen-body > .gauge-wrap svg.gauge-svg {
  width: 188px;
  max-width: 188px;
  max-height: 108px;
  height: auto;
  margin: 0 auto;
}
.screen-body > .gauge-wrap .gauge-dial { max-width: 220px; }
.screen-body > .gauge-wrap .gauge-ends { margin: -6px 4% 0; }
.screen-body > .gauge-wrap .gauge-end { font-size: 11px; }
.screen-body > .gauge-wrap .gauge-readout { margin-top: 0; }
.screen-body > .gauge-wrap .gauge-price { font-size: 28px; gap: 6px; }
.screen-body > .gauge-wrap .gauge-price .est-tag { font-size: 10px; }
.screen-body > .gauge-wrap .gauge-avg-label { font-size: 14px; margin-top: 2px; }
.screen-body > .gauge-wrap .gauge-verdict { font-size: 13.5px; margin-top: 2px; }
.screen-body > .gauge-wrap .sources { margin-top: 4px; font-size: 11px; }

/* v956a compact list cards — ribbon in flow; cards shrink to their container. */
.bar-card, .featured-card, .cafe-card, .rank-card, .map-sheet .bar-card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  contain: layout style;
  container-type: inline-size;
  container-name: barcard;
}
.bar-card, .featured-card {
  padding: 10px 12px 8px;
}
/* Ribbon is in normal flow so it can never cover the name.
   Flush it to the top-left corner; do not use absolute positioning. */
.bar-card:has(.rank-ribbon),
.featured-card:has(.rank-ribbon),
.rank-card:has(.rank-ribbon),
.bar-card.has-ribbon,
.featured-card.has-ribbon,
.rank-card.has-ribbon {
  padding-top: 0;
}
.rank-ribbon {
  position: static;
  display: block;
  width: fit-content;
  box-sizing: border-box;
  max-width: calc(100% + 12px);
  margin: 0 0 8px -12px;
  background: linear-gradient(180deg, #ffe89a 0%, #e8a317 58%, #d4a017 100%);
  color: #4a3500;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 5px 11px 5px 12px;
  border-radius: 18px 0 12px 0;
  box-shadow: 0 2px 6px rgba(168, 122, 0, 0.28);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-ribbon-star { margin-right: 3px; }
.card-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.card-info {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.bar-card .name-row, .featured-card .name-row, .rank-card .name-row {
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.bar-card .name-row .nm, .featured-card .name-row .nm, .rank-card .name-row .nm,
.rank-card .name-row .rank-name {
  font-weight: 800;
  font-size: 15.5px;
  color: inherit;
  text-decoration: none;
  display: inline;
  min-width: 0;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.bar-card .meta, .featured-card .meta, .rank-card .meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 3px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}
.hh-live {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
  max-width: 100%;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 9px 3px 7px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(226, 92, 58, 0.28);
  box-sizing: border-box;
}
.hh-live svg { flex: 0 0 auto; }
.icon-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  min-width: 0;
  max-width: 100%;
}
.icon-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sea-soft);
  color: var(--deep);
  font-size: 10px;
  font-weight: 650;
  border-radius: 999px;
  padding: 3px 7px 3px 5px;
  white-space: nowrap;
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.icon-tag svg { flex: 0 0 auto; color: var(--sea); }
.more-tag {
  flex: 0 0 auto;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 10.5px;
  padding: 3px 2px;
  white-space: nowrap;
}
.card-foot {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.card-foot .bar-score, .card-foot .score { font-weight: 800; min-width: 0; }
.card-foot .bar-score.pos { color: var(--bargain); }
.card-foot .bar-score.neg { color: var(--pricey); }
.price-badge {
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: 64px;
  max-width: 42%;
  text-align: center;
  background: #f4fbfb;
  border: 1.5px solid #b7d4d2;
  border-radius: 14px;
  padding: 5px 7px 6px;
  align-self: flex-start;
  box-sizing: border-box;
}
.price-badge.is-hh {
  background: linear-gradient(180deg, #fff8e8 0%, #fff1cc 100%);
  border-color: #f0c14b;
  box-shadow: 0 2px 8px rgba(200, 135, 13, 0.16);
}
.price-amt {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 0.95;
  color: var(--deep);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.price-drink {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.price-hh-line {
  font-size: 10px;
  font-weight: 800;
  color: var(--sun-dark);
  margin-top: 1px;
}
.bar-card.is-featured, .rank-card.is-featured, .featured-card,
.bar-page-head.is-featured {
  background: #0b1a33;
  border: 1.5px solid #c6f432;
  box-shadow: 0 0 0 1px rgba(198, 244, 50, 0.35), 0 0 16px rgba(198, 244, 50, 0.28);
  color: #f4ffe8;
}
.bar-card.is-featured .nm,
.bar-card.is-featured .name-row,
.bar-card.is-featured .name-row .nm,
.rank-card.is-featured .nm,
.rank-card.is-featured .name-row,
.rank-card.is-featured .rank-name,
.featured-card .nm,
.featured-card .name-row,
.bar-page-head.is-featured,
.bar-page-head.is-featured h1 {
  color: #f4ffe8;
}
.bar-card.is-featured .meta,
.rank-card.is-featured .meta,
.featured-card .meta,
.bar-card.is-featured .card-foot,
.rank-card.is-featured .card-foot,
.bar-card.is-featured .no-price-yet,
.bar-card.is-featured .stay-dist,
.bar-card.is-featured .more-tag,
.bar-page-head.is-featured .bar-meta,
.bar-page-head.is-featured .sources,
.bar-page-head.is-featured .owner-verified-note {
  color: #dcefd0;
}
.bar-card.is-featured .card-foot .bar-score.pos,
.rank-card.is-featured .card-foot .bar-score.pos { color: #8cff9a; }
.bar-card.is-featured .card-foot .bar-score.neg,
.rank-card.is-featured .card-foot .bar-score.neg { color: #ff8b8b; }
.bar-card.is-featured .price-badge,
.rank-card.is-featured .price-badge,
.featured-card .price-badge {
  background: #0b1a33;
  border: 1.5px solid #c6f432;
  box-shadow: 0 0 8px rgba(198, 244, 50, 0.35);
}
.bar-card.is-featured .price-amt,
.rank-card.is-featured .price-amt,
.featured-card .price-amt { color: #f4ffe8; }
.bar-card.is-featured .price-drink,
.rank-card.is-featured .price-drink,
.featured-card .price-drink { color: #dcefd0; }
.bar-card.is-featured .price-hh-line,
.rank-card.is-featured .price-hh-line,
.featured-card .price-hh-line { color: #c6f432; }
.bar-card.is-featured .icon-tag,
.rank-card.is-featured .icon-tag,
.featured-card .icon-tag {
  background: rgba(198, 244, 50, 0.14);
  color: #f4ffe8;
  border: 1px solid rgba(198, 244, 50, 0.4);
}
.bar-card.is-featured .icon-tag svg,
.rank-card.is-featured .icon-tag svg { color: #c6f432; }
.bar-page-head.is-featured {
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
}
.bar-page-head.is-featured .fix-address-link,
.bar-page-head.is-featured .claim-bar-link,
.bar-page-head.is-featured a { color: #c6f432; }
.feat-carousel { margin: 8px 0 6px; min-width: 0; max-width: 100%; }
.feat-carousel-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
}
.feat-carousel-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  touch-action: pan-x;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
  min-width: 0;
  scrollbar-width: none;
}
.feat-carousel-track::-webkit-scrollbar { display: none; }
.feat-carousel-track > .bar-card {
  flex: 0 0 78%;
  max-width: 300px;
  scroll-snap-align: start;
}
.feat-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 12px;
}
.feat-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbbfa8;
}
.feat-carousel-dots button.is-on { background: #0b1a33; box-shadow: 0 0 0 2px #c6f432; }
@media (prefers-reduced-motion: reduce) {
  .feat-carousel-track { scroll-behavior: auto; }
}
.featured-card.has-ribbon .featured-kicker,
.featured-card:has(.rank-ribbon) .featured-kicker {
  position: static;
  float: none;
  margin: 8px 12px 0 0;
}
.bar-card .closure-note { margin: 4px 0 0; min-width: 0; }
.bar-card .no-price-yet { margin-top: 4px; min-width: 0; }
.rank-card.card { padding: 10px 12px 8px; min-width: 0; max-width: 100%; }
.rank-card.card:has(.rank-ribbon),
.rank-card.card.has-ribbon { padding-top: 0; }
.rank-card .card-foot-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.rank-card .card-foot-text { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.rank-card .vote-ctrl,
.rank-card .vote-ctrl-rank {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  transform: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}
.rank-card .vote-ctrl-rank .vote-arrow {
  width: 44px;
  height: 44px;
}
.rank-card .vote-ctrl-rank .vote-arrow-icon { font-size: 12px; }
.rank-card .vote-ctrl-rank .vote-net {
  font-size: 16px;
  font-weight: 800;
  margin: 0 2px;
  min-width: 2ch;
  line-height: 1;
}
.rank-card .vote-ctrl-rank .vote-counts { display: none; }
.rank-card .rank-dirs { margin-top: 4px; font-size: 12px; min-width: 0; }
.bar-card .stay-dist { margin-top: 2px; font-size: 11px; min-width: 0; }
.map-sheet { min-width: 0; max-width: 100%; box-sizing: border-box; }
.map-sheet .bar-card { margin: 0 0 8px; }

/* Narrow cards: keep the price badge, drop the score first, shrink type. */
@container barcard (max-width: 320px) {
  .price-amt { font-size: 22px; }
  .price-badge { min-width: 58px; padding: 4px 6px 5px; max-width: 46%; }
  .card-foot .bar-score, .card-foot-text .bar-score { display: none; }
  .icon-tag:nth-of-type(n+3) { display: none; }
}

/* v957 compact bar page + Home Feature-your-bar CTA */
.bar-page-head {
  display: block;
  border-radius: var(--radius);
  padding: 10px 12px 11px;
  margin: 0 0 8px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.bar-page-head.is-plain {
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.bar-page-head.is-featured {
  background: #0b1a33;
  border: 1.5px solid #c6f432;
  box-shadow: 0 0 0 1px rgba(198, 244, 50, 0.35), 0 0 16px rgba(198, 244, 50, 0.28);
  color: #f4ffe8;
  padding: 10px 12px 11px;
  margin-bottom: 8px;
}
.bar-page-head .rank-ribbon {
  margin: 0 0 8px -12px;
  max-width: calc(100% + 12px);
}
.bar-page-head h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.bar-page-head .bar-meta { margin: 4px 0 0; font-size: 13px; font-weight: 500; }
.bar-page-head.is-featured .bar-meta { color: #dcefd0; }
.bar-page-head.is-plain .bar-meta { color: var(--ink-soft); }
.bar-page-head .score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}
.bar-page-head .bar-page-score { font-size: 13px; font-weight: 800; }
.bar-page-head.is-featured .bar-page-score,
.bar-page-head.is-featured .bar-page-score.pos { color: #c6f432; }
.bar-page-head.is-featured .bar-page-score.neg { color: #ff8b8b; }
.bar-page-head.is-featured .bar-page-score.zero { color: #dcefd0; }
.bar-page-head.is-plain .bar-page-score,
.bar-page-head.is-plain .bar-page-score.pos { color: var(--bargain); }
.bar-page-head.is-plain .bar-page-score.neg { color: var(--pricey); }
.bar-page-head.is-plain .bar-page-score.zero { color: var(--muted); }
.vote-mini {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}
.vote-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  background: transparent;
}
.bar-page-head.is-featured .vote-mini-btn {
  background: rgba(198, 244, 50, 0.1);
  border: 1px solid rgba(198, 244, 50, 0.35);
  color: #f4ffe8;
}
.bar-page-head.is-plain .vote-mini-btn {
  background: var(--sea-soft);
  border: 1px solid #b7d4d2;
}
.vote-mini-btn.is-on {
  box-shadow: 0 0 0 2px currentColor;
}
.bar-page-head.is-featured .vote-mini-btn.is-on {
  background: rgba(198, 244, 50, 0.28);
  border-color: #c6f432;
}
.bar-page-head.is-plain .vote-mini-up.is-on { background: #d9f3e4; border-color: var(--bargain); }
.bar-page-head.is-plain .vote-mini-down.is-on { background: #fde8e6; border-color: var(--pricey); }
.vote-mini-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.vote-mini-btn.is-pop { animation: vote-pop 0.45s ease; }
.bar-page-head .vote-paused-note { margin: 6px 0 0; font-size: 11px; }
.bar-page-head.is-featured .vote-paused-note { color: #dcefd0; }

.bar-page > .hh-live { margin: 0 0 8px; }
.bar-page > .icon-tags { margin: 0 0 8px; }

.price-menu-card {
  padding: 6px 4px 4px;
  margin: 0 0 8px;
  min-width: 0;
  max-width: 100%;
}
.price-menu-card > h2 {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 2px 10px 4px;
}
.price-menu-card .menu-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-top: 1px solid #efe6d6;
  border-bottom: 0;
}
.price-menu-card .menu-row:first-of-type { border-top: 0; }
.price-menu-card .menu-row-info { min-width: 0; flex: 1 1 auto; }
.price-menu-card .what { font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.price-menu-card .menu-row .meta {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 650;
  color: var(--ink-soft);
}
.price-menu-card .menu-row .meta .ok { color: var(--bargain); }
.price-menu-card .text-right {
  flex: 0 0 auto;
  min-width: 100px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.price-menu-card .bar-price {
  font-size: 20px;
  color: var(--navy);
  line-height: 1;
}
.menu-row.faded { opacity: 1; }

.bar-events-strip {
  margin: 0 0 8px;
  min-width: 0;
}
.bar-events-strip[hidden] { display: none !important; }
.bar-events-strip > h2 {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 2px 6px;
}
.bar-ev-chip {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 8px 10px;
  margin: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bar-ev-chip.is-featured {
  background: #0b1a33;
  border: 1.5px solid #c6f432;
  box-shadow: 0 0 0 1px rgba(198, 244, 50, 0.35), 0 0 12px rgba(198, 244, 50, 0.28);
  color: #f4ffe8;
}
.bar-ev-title { font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.bar-ev-when { font-size: 11px; font-weight: 650; color: var(--ink-soft); }
.bar-ev-chip.is-featured .bar-ev-when { color: #dcefd0; }
.bar-ev-chip .tag.featured { align-self: flex-start; margin-bottom: 2px; }

.bar-page-actions {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
}
.bar-page-actions .bar-action {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sea);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 4px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  line-height: 1.2;
  min-width: 0;
}
.bar-page-extras { margin: 0 0 10px; }
.bar-page-extras .been-row { margin: 0 0 6px; }

.feat-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 8px 0 6px;
  padding: 9px 16px 8px;
  border-radius: 999px;
  background: #0b1a33;
  color: #fff;
  border: 1.6px solid #c6f432;
  box-shadow: 0 0 12px rgba(198, 244, 50, 0.35);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  box-sizing: border-box;
}
.feat-cta small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 650;
  color: #c6f432;
  letter-spacing: 0.02em;
}
.feat-carousel .card-foot,
.feat-carousel .no-price-yet { display: none; }
.feat-carousel .bar-card { padding-bottom: 8px; }


/* v961 mock-ups only: drinks/cafés tabs, map type segment, claim CTA, 3 home tiles */
.home-tiles.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.home-section-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 10px;
  padding: 4px;
  background: var(--sea-soft, #e6f4f3);
  border-radius: 14px;
}
.home-section-tab {
  flex: 1 1 0;
  text-align: center;
  text-decoration: none;
  color: var(--deep, #0b3d4a);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.2;
  padding: 10px 8px;
  border-radius: 11px;
}
.home-section-tab.on {
  background: var(--deep, #0b3d4a);
  color: #fff;
  box-shadow: 0 2px 8px rgba(11, 61, 74, 0.2);
}
.coffee-page-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cafe-price-note { margin: 4px 0 10px; }
.venue-claim-wrap { margin: 10px 0 12px; }
.venue-claim-wrap .btn { width: 100%; }
.map-type-seg {
  display: flex;
  gap: 6px;
  padding: 8px 8px 6px;
  background: var(--foam, #fffaf1);
  border-bottom: 1px solid var(--sand-dark, #e7dcc5);
  z-index: 5;
}
.map-type-btn {
  flex: 1 1 0;
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid var(--deep, #0b3d4a);
  background: var(--white, #fffdf8);
  color: var(--deep, #0b3d4a);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.15;
  padding: 8px 6px;
  letter-spacing: -0.01em;
}
.map-type-btn.on {
  background: var(--deep, #0b3d4a);
  color: #b8f03c;
  border-color: var(--deep, #0b3d4a);
  box-shadow: 0 2px 8px rgba(11, 61, 74, 0.25);
}
.map-filters .map-type-seg {
  position: relative;
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  border: 0;
}
.map-filters .map-type-btn { min-height: 52px; }


/* v961 mock: coffee gauge + voting notice */
.coffee-gauge-pick { display: block; margin: 0 0 8px; }
.coffee-gauge-pick select {
  width: 100%;
  max-width: 100%;
  border: 1.5px solid var(--sand-dark, #e7dcc5);
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
  color: var(--deep, #0b3d4a);
}
.coffee-gauge.is-empty .gauge-price { margin-top: 4px; }
.coffee-gauge .add-nudge-actions { margin: 8px 0 0; }
.voting-notice { margin: 8px 0 10px; }

/* v961 mock: neutral hours source (never "estimated") */
.hours-src-tag {
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.15em 0.55em;
  border-radius: 999px;
  background: #efe8da;
  color: #3a4a4d;
  font-size: 0.62em;
  font-weight: 650;
  letter-spacing: 0.01em;
  vertical-align: middle;
  max-width: 16em;
  white-space: normal;
  line-height: 1.25;
}

/* v964: add a missing bar or café */
.add-missing-wrap { margin: 10px 0 14px; }
.add-place-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.add-place-type {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--sand-dark, #e7dcc5);
  background: var(--white, #fffdf8);
  font-size: 0.9rem;
}
.add-place-type:has(input:checked) {
  background: var(--deep, #0b3d4a);
  color: var(--foam, #fffaf1);
  border-color: var(--deep, #0b3d4a);
}
.add-place-type input { margin: 0; }
#add-place-form textarea, #add-place-form input[type="text"], #add-place-form select {
  width: 100%;
  margin: 0 0 8px;
}
#add-place-form .disclaimer { margin: 4px 0 10px; }
#add-place-form .chip-label { margin: 0 0 6px; }
#add-place-form label { margin: 0 0 4px; display: block; }

/* v968: accepts card vote row and payment tags */
.accepts-card-row { margin: 0 0 12px; }
.accepts-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.accepts-card-row .chip-label { margin: 0; }
.accepts-card-row .pa-btns { margin: 0; }
.accepts-card-row .bar-meta { margin: 8px 0 0; }
.accepts-card-row .icon-tags { margin-top: 8px; }
.icon-tag.is-cash {
  background: #efe8da;
  color: #3a4a4d;
}
.pay-filter-hint {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--ink-soft, #5a5148);
}
.owner-card-opts { margin: 8px 0 12px; }

/* PintHawaii: island buttons + area quick filters */
.home-island-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.home-island-row .chip {
  font-weight: 700;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
  line-height: 1.15;
}
.home-island-row .island-soon-hint {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.home-island-row .chip.is-soon:not(.on) {
  background: #f3eee4;
  color: #3d3830;
}
.coming-soon-card { text-align: center; padding: 28px 20px; margin: 8px 0 24px; }
.coming-soon-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a10;
}
.coming-soon-card h2 { margin: 0 0 10px; font-size: 1.35rem; }
.coming-soon-card p { margin: 0; color: var(--ink-soft, #5a5148); }
.home-town-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.home-town-quick .chip { font-weight: 600; }
.home-town-quick .chip:focus-visible,
.home-filters .chip:focus-visible,
.filter-pill-select:focus-visible,
.more-filters-btn:focus-visible,
.bar-card a:focus-visible,
.brand:focus-visible,
.app-header button:focus-visible,
.app-header a:focus-visible {
  outline: 3px solid #c8870d;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10001;
  background: #0b3d4a;
  color: #fffaf1;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus, .skip-link:focus-visible {
  top: 12px;
  outline: 3px solid #e8a317;
  outline-offset: 2px;
}

/* WCAG: typographic links on cream/sand only. Do not recolor chrome
   (header, nav, tabs, tiles, venue cards) that sits on a dark teal/navy ground. */
.screen-body a:not([class]),
.legal-footer a,
.disclaimer a,
.sources a,
.footer-legal a,
.seo-fallback a,
#seo-intro a {
  color: #0c5c5c;
}
.legal-footer a:focus-visible,
.disclaimer a:focus-visible,
.sources a:focus-visible,
.screen-body a:not([class]):focus-visible {
  outline: 3px solid #c8870d;
  outline-offset: 2px;
}

/* Crisp, full-opacity type on dark teal / navy surfaces (WCAG AAA on #0b3d4a / #0b1a33). */
#app .app-header,
#app .app-header a,
#app .app-header a.brand,
#app .app-header .brand-name,
#app .app-header .brand-name-sm,
#app .app-header .brand-sub,
#app .app-header .back,
#app .app-header .home-refresh-btn,
#app .app-header .lang-toggle button {
  color: #fffaf1;
  opacity: 1;
  -webkit-text-fill-color: #fffaf1;
}
#app .app-header .brand-name,
#app .app-header .brand-name-sm {
  font-weight: 700;
}
#app .app-header .brand-sub {
  font-weight: 600;
  color: #fffaf1;
  opacity: 1;
}
#app .app-header .lang-toggle button.on {
  color: #1c1714;
  -webkit-text-fill-color: #1c1714;
}
#app .nav a,
#app .nav button {
  color: #d7deee;
  opacity: 1;
}
#app .nav a.active,
#app .nav button.active {
  color: #b8f03c;
  opacity: 1;
}
#app a.home-section-tab,
#app button.home-section-tab,
#app .home-section-tab {
  color: #0b3d4a;
  opacity: 1;
  font-weight: 800;
  -webkit-text-fill-color: #0b3d4a;
}
#app a.home-section-tab.on,
#app button.home-section-tab.on,
#app .home-section-tab.on {
  background: #0b3d4a;
  color: #fffaf1;
  -webkit-text-fill-color: #fffaf1;
  opacity: 1;
  font-weight: 800;
}
#app .map-type-btn {
  color: #0b3d4a;
  opacity: 1;
  font-weight: 800;
}
#app .map-type-btn.on {
  background: #0b3d4a;
  color: #b8f03c;
  -webkit-text-fill-color: #b8f03c;
  opacity: 1;
}
#app a.home-tile,
#app .home-tile { opacity: 1; }
#app a.btn,
#app button.btn,
#app .btn-sea { opacity: 1; }
#app .map-filters-toggle {
  color: #0b3d4a;
  background: #fffdf8;
  border: 2px solid #0b3d4a;
  font-weight: 800;
  opacity: 1;
}

/* Collapsible map filter panel */
.map-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: min(72vh, 640px);
  overflow: hidden;
}
.map-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.map-filters-toggle {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-align: left;
}
.map-filters-toggle .map-filters-chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}
.map-filters.is-collapsed .map-filters-chevron { transform: rotate(-90deg); }
.map-filters-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0b3d4a;
  color: #b8f03c;
  font-size: 12px;
  font-weight: 800;
}
.map-filters-summary {
  display: none;
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: #0b3d4a;
  line-height: 1.3;
}
.map-filters.is-collapsed .map-filters-summary { display: block; }
.map-filters-panel { min-height: 0; }
.map-filters.is-collapsed .map-filters-panel { display: none; }
.map-filters .map-toolbar { margin: 0; }
.map-filters .map-toolbar #locate-me,
.map-filters-bar #locate-me {
  flex: 0 0 auto;
  min-height: 44px;
}
.price-badge.is-area .price-amt { color: #0b3d4a; }
.price-badge.is-area .price-avg-line {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0b3d4a;
  opacity: 1;
  text-transform: uppercase;
}

.event-card .event-unverified { display: inline-block; margin: 0 8px 8px 0; background: #efe8da; color: #5a3a0a; }
