/* ===== Sargazo Watch — design system ===== */
:root {
  --accent: #006d99;            /* deep Caribbean blue (tweakable) */
  --accent-bright: #18a8c9;     /* water cyan highlight */
  --ink: #0c1d28;               /* near-black, cool */
  --ink-soft: #41525d;
  --ink-faint: #7d8a93;
  --line: rgba(12, 29, 40, 0.10);
  --surface: #ffffff;
  --surface-warm: #f6f4ef;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(12,29,40,.06), 0 4px 14px rgba(12,29,40,.07);
  --shadow-md: 0 6px 20px rgba(12,29,40,.10), 0 24px 60px rgba(12,29,40,.14);
  --shadow-lg: 0 10px 30px rgba(12,29,40,.14), 0 40px 90px rgba(8,40,60,.22);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #0a1721;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}
#root { min-height: 100dvh; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ===== App shell ===== */
.app { position: relative; min-height: 100dvh; width: 100%; background: #0a1721; }
.stage { position: relative; height: 100dvh; width: 100%; overflow: hidden; background: #0a1721; }
.mapwrap { position: absolute; inset: 0; }

/* ===== Floating top bar ===== */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand {
  display: flex; align-items: center; gap: 11px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: var(--shadow-sm);
  padding: 9px 16px 9px 11px; border-radius: 999px;
}
.brand .logomark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background:
    radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 70%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 2px 8px rgba(0,109,153,.4);
  position: relative; overflow: hidden;
}
.brand .logomark::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 6px; height: 10px;
  background: rgba(255,255,255,.55);
  border-radius: 50%; filter: blur(2px);
  -webkit-mask: radial-gradient(120% 100% at 50% 100%, #000 40%, transparent 70%);
          mask: radial-gradient(120% 100% at 50% 100%, #000 40%, transparent 70%);
}
.brand .name { font-weight: 800; letter-spacing: -.02em; font-size: 16px; white-space: nowrap; line-height: 1.1; }
.brand .name span { color: var(--accent); }

.seg {
  display: flex; background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-sm);
  border-radius: 999px; padding: 4px;
}
.seg button {
  font-size: 13.5px; font-weight: 650; color: var(--ink-soft);
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
  transition: color .2s, background .2s, box-shadow .2s;
}
.seg button.active { color: #fff; background: var(--accent); box-shadow: 0 2px 8px rgba(0,109,153,.35); }

.topbar .spacer { flex: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-sm);
  border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 650; color: var(--ink-soft);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1a9d6e; box-shadow: 0 0 0 0 rgba(26,157,110,.5); animation: live 2s infinite; }
@keyframes live { 0%{box-shadow:0 0 0 0 rgba(26,157,110,.5);} 70%{box-shadow:0 0 0 7px rgba(26,157,110,0);} 100%{box-shadow:0 0 0 0 rgba(26,157,110,0);} }
.iconbtn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-sm);
  border-radius: 999px; color: var(--ink-soft); transition: transform .15s, color .2s;
}
.iconbtn:hover { color: var(--accent); transform: translateY(-1px); }

/* ===== Beach search (top-right) ===== */
.search { position: relative; }
.search-bar {
  display: flex; align-items: center; gap: 4px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-sm);
  border-radius: 999px; padding: 0;
  transition: padding .18s ease;
}
.search.open .search-bar { padding-right: 6px; }
.search .iconbtn.search-toggle { border: none; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.search-input {
  width: 178px; border: none; outline: none; background: transparent;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 9px 2px 9px 0;
}
.search-input::placeholder { color: var(--ink-soft); font-weight: 550; }
.search-clear {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center;
  border-radius: 999px; color: var(--ink-soft); transition: color .15s, background .15s;
}
.search-clear:hover { color: var(--ink); background: rgba(0,0,0,.06); }

.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 304px; max-width: 78vw;
  background: rgba(255,255,255,.92); backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-lg, 0 16px 40px rgba(13,45,66,.22));
  border-radius: 16px; padding: 6px; overflow: hidden; z-index: 50;
}
.search-empty { padding: 14px 14px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.search-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 11px; border-radius: 11px; text-align: left;
  transition: background .12s;
}
.search-row.active, .search-row:hover { background: rgba(0,109,153,.10); }
.sr-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
.sr-name { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-region { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-left: auto; white-space: nowrap; }
.sr-score { font-size: 12.5px; font-weight: 800; color: var(--accent); min-width: 26px; text-align: right; }

/* ===== Hero overlay (dismissible intro on the map) ===== */
.hero {
  position: absolute; z-index: 30; left: 24px; top: 344px; width: 408px;
  display: flex; flex-direction: column; gap: 13px;
  transform: scale(0.86); transform-origin: top left;
  pointer-events: none;
}
.hero-card {
  pointer-events: auto; position: relative;
  background: var(--glass-strong); backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-lg);
  border-radius: 22px; padding: 22px 24px 20px;
  animation: rise .55s cubic-bezier(.2,.8,.2,1) both;
}
.eyebrow-row { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.eyebrow-ic {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 72%);
  box-shadow: 0 2px 8px rgba(0,109,153,.35);
}
.hero-x {
  position: absolute; top: 13px; right: 13px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-faint);
  background: rgba(12,29,40,.05); transition: background .15s, color .15s;
}
.hero-x:hover { background: rgba(12,29,40,.1); color: var(--ink); }
.hero.center { left: 50%; top: 50%; width: auto; max-width: 640px; transform: translate(-50%,-50%) scale(0.92); text-align: center; align-items: center; }
.hero.top { left: 50%; top: 92px; width: auto; max-width: 680px; transform: translateX(-50%) scale(0.92); text-align: center; align-items: center; }
.hero .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
.hero.center .eyebrow-row, .hero.top .eyebrow-row { justify-content: center; }
.hero h1 { font-size: clamp(25px, 3vw, 33px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 0 0 11px; text-wrap: balance; padding-right: 24px; }
.hero.center h1, .hero.top h1 { padding-right: 0; }
.hero p.sub { font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 18px; max-width: 46ch; }
.hero.center p.sub, .hero.top p.sub { margin-left: auto; margin-right: auto; }
.hero .cta-row { display: flex; gap: 8px; flex-wrap: nowrap; }
.hero .btn { padding: 11px 15px; font-size: 13.5px; white-space: nowrap; }
.hero.center .cta-row, .hero.top .cta-row { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; padding: 14px 22px; border-radius: 14px;
  transition: transform .15s, box-shadow .2s, background .2s; letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(0,109,153,.35); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0,109,153,.45); }
.btn-ghost { background: rgba(12,29,40,.05); color: var(--ink); }
.btn-ghost:hover { background: rgba(12,29,40,.09); }

/* ===== Pan / zoom map ===== */
.viewport { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: pan-y; background: #0a4f78; }
.viewport.grabbing { cursor: grabbing; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.basemap { pointer-events: none; }
/* keep thin coastline + depth-contour strokes hairline-crisp at any zoom
   (vector-effect doesn't inherit, so target the child shapes directly) */
.hairstroke path, .hairstroke ellipse { vector-effect: non-scaling-stroke; }
.zoomctl {
  position: absolute; right: 20px; bottom: 24px; z-index: 33;
  display: flex; flex-direction: column; gap: 1px; border-radius: 14px; overflow: hidden;
  background: var(--glass-strong); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-md);
}
.zoomctl button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink-soft); transition: background .15s, color .15s; }
.zoomctl button + button { border-top: 1px solid var(--line); }
.zoomctl button:hover { background: rgba(0,109,153,.08); color: var(--accent); }
.zoomhint {
  position: absolute; right: 20px; bottom: 138px; z-index: 33; max-width: 168px; text-align: right;
  font-size: 11px; font-weight: 650; line-height: 1.35; color: #fff;
  text-shadow: 0 1px 4px rgba(8,30,45,.55); pointer-events: none;
}

/* ===== Markers ===== */
.townlbl { position: absolute; width: 0; height: 0; z-index: 8; pointer-events: none; }
.tl-inner {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%,-50%) scale(var(--mz,1)); transform-origin: center;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0c2734;
  paint-order: stroke fill; -webkit-text-stroke: 3.5px rgba(255,255,255,.9);
}
.tl-dot { width: 5px; height: 5px; border-radius: 50%; background: #0c2734; box-shadow: 0 0 0 2.5px rgba(255,255,255,.9); flex: none; -webkit-text-stroke: 0; }
.townlbl:not(.tl-left) .tl-inner { transform-origin: left center; transform: translate(3px,-50%) scale(var(--mz,1)); }
.townlbl.tl-left .tl-inner { flex-direction: row-reverse; transform-origin: right center; transform: translate(calc(-100% - 3px),-50%) scale(var(--mz,1)); }

/* hotel labels — smaller tier, between city tag and beach dot (clickable) */
.hotellbl { position: absolute; width: 0; height: 0; z-index: 7; }
.hotellbl.open { z-index: 28; }
.hl-inner {
  position: absolute; left: 0; top: 0; cursor: pointer; font-family: inherit;
  transform: translate(-50%,-50%) scale(var(--mz,1)); transform-origin: center;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 10px; font-weight: 600; letter-spacing: .015em; color: #38576a;
  paint-order: stroke fill; -webkit-text-stroke: 3px rgba(255,255,255,.9);
  transition: color .15s, opacity .28s ease;
}
.hotellbl:not(.vis) .hl-inner { opacity: 0; pointer-events: none; }
.hotellbl.vis .hl-inner { opacity: 1; }
.hl-inner:hover { color: var(--accent); }
.hl-inner:hover .hl-dot { background: var(--accent); }
.hotellbl.open .hl-inner { color: var(--accent); font-weight: 700; }
.hl-dot { width: 4px; height: 4px; transform: rotate(45deg); background: #6a8597; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); flex: none; transition: background .15s; -webkit-text-stroke: 0; }

/* hotel booking popover */
.hl-pop {
  position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 12px)) scale(var(--mz,1));
  transform-origin: center bottom; width: 232px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  overflow: hidden; cursor: default; animation: popin .18s cubic-bezier(.2,.8,.2,1) both;
}
.hl-pop-img { position: relative; height: 96px; }
.hl-pop-body { padding: 12px 13px 13px; }
.hl-pop-name { font-size: 14px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.hl-pop-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.hl-stars { color: #e7b83f; font-size: 11px; letter-spacing: 1px; }
.hl-from { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; }
.hl-from strong { color: var(--ink); font-weight: 800; }
.hl-pop-btn {
  margin-top: 11px; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--accent); color: #fff; font-weight: 750; font-size: 13px; padding: 9px; border-radius: 10px;
  text-decoration: none; transition: filter .2s;
}
.hl-pop-btn:hover { filter: brightness(1.08); }
.hl-pop-partner { display: block; text-align: center; margin-top: 7px; font-size: 9.5px; color: var(--ink-faint); font-weight: 600; }
.hl-pop-x {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm);
}
@keyframes popin { from { opacity: 0; transform: translate(-50%, calc(-100% - 4px)) scale(calc(var(--mz,1) * .94)); } }

/* ===== Attraction POIs (clickable landmark badges) ===== */
.attr { position: absolute; width: 0; height: 0; z-index: 9; }
.attr.open { z-index: 29; }
.attr-inner {
  position: absolute; left: 0; top: 0; cursor: pointer; font-family: inherit;
  transform: translate(-50%,-50%) scale(var(--mz,1)); transform-origin: center;
  display: block; line-height: 0;
}
.attr-badge {
  flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--ab, #143a47);
  background-image: linear-gradient(158deg, rgba(255,255,255,.2), rgba(0,0,0,.14));
  display: grid; place-items: center; color: #fff;
  border: 1.5px solid rgba(255,255,255,.95); box-shadow: 0 2px 7px rgba(8,30,45,.34), inset 0 1px 1px rgba(255,255,255,.28);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), filter .15s;
}
.attr-badge svg { width: 15px; height: 15px; }
.attr-name {
  position: absolute; top: 50%; left: calc(100% + 7px); transform: translateY(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .005em; color: #143a47;
  paint-order: stroke fill; -webkit-text-stroke: 3px rgba(255,255,255,.9);
  opacity: 0; transition: opacity .18s;
}
.attr.ns-left .attr-name { left: auto; right: calc(100% + 7px); }
.attr-inner:hover .attr-name, .attr.open .attr-name { opacity: 1; }
.attr-inner:hover .attr-badge, .attr.open .attr-badge { transform: scale(1.12); filter: brightness(1.12); }

.attr-pop {
  position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)) scale(var(--mz,1));
  transform-origin: center bottom; width: 246px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  overflow: hidden; cursor: default; animation: popin .18s cubic-bezier(.2,.8,.2,1) both;
}
.attr-pop-img { position: relative; height: 118px; }
.attr-cat {
  position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #fff; background: rgba(20,58,71,.92); padding: 4px 9px; border-radius: 999px;
}
.attr-pop-body { padding: 13px 14px 14px; }
.attr-pop-name { font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.18; color: var(--ink); }
.attr-pop-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 5px; text-wrap: pretty; }
.attr-pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.attr-from { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.attr-from strong { color: var(--ink); font-weight: 800; }
.attr-pop-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap;
  background: var(--accent); color: #fff; font-weight: 750; font-size: 12.5px; padding: 9px 13px; border-radius: 10px;
  text-decoration: none; transition: filter .2s;
}
.attr-pop-btn:hover { filter: brightness(1.08); }
.attr-pop-partner { display: block; text-align: center; margin-top: 8px; font-size: 9.5px; color: var(--ink-faint); font-weight: 600; }
.attr-pop-x {
  position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm);
}

.marker { position: absolute; width: 0; height: 0; z-index: 10; }
.marker.sel { z-index: 26; }
.minner {
  position: absolute; left: 0; top: 0; cursor: pointer;
  transform: translate(-50%,-50%) scale(var(--mz,1)); transform-origin: center;
}
.marker .hit { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; }

/* glass style */
.m-glass .dot {
  width: 20.8px; height: 20.8px; border-radius: 50%;
  background: radial-gradient(120% 120% at 32% 26%, rgba(255,255,255,.9), var(--mc) 62%);
  border: 1.9px solid rgba(255,255,255,.95);
  box-shadow: 0 2px 8px rgba(8,30,45,.35), 0 0 0 0 var(--mc-a), inset 0 1px 2px rgba(255,255,255,.6);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.m-glass .ring { position: absolute; inset: 0; border-radius: 50%; }
.m-glass.pulse .ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20.8px; height: 20.8px;
  border-radius: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 2px var(--mc-a); animation: pulse 2.6s cubic-bezier(.2,.7,.3,1) infinite;
}
@keyframes pulse {
  0% { width: 20.8px; height: 20.8px; opacity: .8; }
  70% { width: 64px; height: 64px; opacity: 0; }
  100% { opacity: 0; }
}
.marker:hover .m-glass .dot, .marker.sel .m-glass .dot { transform: scale(1.28); box-shadow: 0 6px 18px rgba(8,30,45,.4), 0 0 0 6px var(--mc-a); }

/* solid pin style */
.m-pin { transform: translateY(-2px); }
.m-pin .pin {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg);
  background: var(--mc); border: 2.5px solid #fff;
  box-shadow: 0 4px 12px rgba(8,30,45,.35); transition: transform .2s;
}
.m-pin .pin::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; background: rgba(255,255,255,.9); border-radius: 50%; transform: rotate(-45deg); }
.marker:hover .m-pin .pin, .marker.sel .m-pin .pin { transform: rotate(45deg) scale(1.18); }

/* minimal dot style */
.m-min .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--mc); border: 2.5px solid #fff; box-shadow: 0 2px 7px rgba(8,30,45,.4); transition: transform .2s; }
.marker:hover .m-min .dot, .marker.sel .m-min .dot { transform: scale(1.5); }

/* water-droplet style (teardrop pin w/ water-fill wave — reads as water clarity) */
.m-drop { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.m-drop svg { display: block; transform-origin: 50% 62%; transition: transform .2s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 3px 5px rgba(8,30,45,.34)); }
.m-drop .dropbody { fill: var(--mc); stroke: #fff; stroke-width: 1.7; }
.m-drop .dropwave { fill: rgba(255,255,255,.34); }
.m-drop .drophi { fill: rgba(255,255,255,.6); }
.marker:hover .m-drop svg, .marker.sel .m-drop svg { transform: scale(1.2); }

/* wave-token style (condition-colored coin w/ wave lines) */
.m-wave { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.m-wave svg { display: block; transition: transform .2s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 2px 5px rgba(8,30,45,.34)); }
.m-wave .wavecoin { fill: var(--mc); stroke: #fff; stroke-width: 2; }
.m-wave .wavln { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; opacity: .92; }
.marker:hover .m-wave svg, .marker.sel .m-wave svg { transform: scale(1.28); }

/* shared pulse ring for drop / wave (emanates from the anchor point) */
.m-ping { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  transform: translate(-50%,-50%); box-shadow: 0 0 0 2px var(--mc-a); pointer-events: none;
  animation: pulse 2.6s cubic-bezier(.2,.7,.3,1) infinite; }

/* marker label + score chip on hover/selected */
.m-label {
  position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%) translateY(4px);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--glass-strong); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-md);
  padding: 6px 11px 6px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; color: var(--ink);
}
.marker:hover .m-label, .marker.sel .m-label { opacity: 1; transform: translateX(-50%) translateY(0); }
.m-label .sc { color: #fff; background: var(--mc); border-radius: 999px; padding: 2px 8px; font-size: 11.5px; }
.m-label .lbl-always { } /* reserved */

/* always-on tiny score badge (toggle) */
.m-score {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  font-size: 11px; font-weight: 800; color: #fff; background: var(--mc);
  border: 1.5px solid #fff; border-radius: 999px; padding: 1px 7px;
  box-shadow: 0 2px 6px rgba(8,30,45,.3); pointer-events: none;
}

/* always-on name label for top-10 beaches (horizontal, in the water beside the dot) */
.m-named {
  position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: -.01em; color: #06303f;
  text-shadow: 0 1px 2px rgba(255,255,255,.95), 0 0 7px rgba(255,255,255,.9), 0 0 2px rgba(255,255,255,.95);
  pointer-events: none;
}
.m-named.right { left: 17px; }
.m-named.left { right: 17px; }
.marker:hover .m-named, .marker.sel .m-named { opacity: 0; }

/* ===== Leaderboard dock ===== */
.dock {
  position: absolute; z-index: 35; right: 20px; top: 78px; width: 312px;
  background: var(--glass-strong); backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-lg);
  border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; max-height: calc(100vh - 300px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.dock.collapsed { transform: translateX(calc(100% + 28px)); }
.dock-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.dock-head h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.dock-head .day { font-size: 11.5px; color: var(--ink-faint); font-weight: 650; }
.dock-list { overflow-y: auto; padding: 0 10px 12px; }
.rank {
  display: grid; grid-template-columns: 24px 44px 1fr auto; align-items: center; gap: 11px;
  padding: 9px 8px; border-radius: 14px; cursor: pointer; transition: background .15s;
}
.rank:hover { background: rgba(0,109,153,.07); }
.rank .num { font-size: 13px; font-weight: 800; color: var(--ink-faint); text-align: center; }
.rank .thumb { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; flex: none; position: relative; }
.rank .nm { font-size: 13.5px; font-weight: 750; line-height: 1.15; letter-spacing: -.01em; }
.rank .rg { font-size: 11px; color: var(--ink-faint); font-weight: 600; }
.rank .score { font-size: 15px; font-weight: 800; color: #fff; border-radius: 10px; padding: 4px 9px; }

.dock-toggle {
  position: absolute; right: 20px; top: 78px; z-index: 34;
}

/* ===== Condition legend ===== */
.legend {
  position: absolute; z-index: 30; left: 24px; top: 84px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-md);
  border-radius: 16px; padding: 13px 15px; width: 210px;
}
.legend h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.legend .row { display: flex; align-items: center; gap: 9px; padding: 3px 0; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.legend .lr { font-size: 12.5px; font-weight: 700; }
.legend .lr small { display: block; font-size: 10.5px; color: var(--ink-faint); font-weight: 600; }

/* ===== Confidence key (separate card under the legend) ===== */
.confkey {
  position: absolute; z-index: 30; left: 24px; top: 432px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-md);
  border-radius: 16px; padding: 13px 15px; width: 210px;
}
.confkey h4 { margin: 0 0 9px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.ck-line { display: flex; align-items: center; gap: 11px; padding: 4px 0; }
.ck-line .confbars { transform: scale(1.25); transform-origin: left center; margin-left: 2px; width: 16px; }
.ck-l { display: flex; flex-direction: column; line-height: 1.2; }
.ck-l b { font-size: 12.5px; font-weight: 800; }
.ck-l small { font-size: 10.5px; color: var(--ink-faint); font-weight: 600; }

/* ===== Bottom utility bar ===== */
.utilbar {
  position: absolute; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 9px;
}
.utilbar .u {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-strong); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-md);
  border-radius: 999px; padding: 11px 18px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: transform .15s, color .2s;
}
.utilbar .u:hover { transform: translateY(-2px); color: var(--accent); }
.utilbar .u .ic { color: var(--accent); display: grid; place-items: center; }

/* ===== Explore page (full-screen live photo grid) ===== */
.explore {
  position: fixed; inset: 0; z-index: 60; background: var(--surface-warm);
  display: flex; flex-direction: column;
  opacity: 1; transform: translateY(0);
  animation: exploreIn .34s cubic-bezier(.2,.8,.2,1) both;
}
.explore.on { opacity: 1; pointer-events: auto; transform: translateY(0); }
@keyframes exploreIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.explore-bar {
  display: flex; align-items: center; gap: 20px; padding: 18px 24px;
  background: var(--glass-strong); backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid var(--line); flex: none;
}
.explore-title h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.explore-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-faint); font-weight: 650; }
.explore-filter { display: flex; gap: 4px; margin-left: auto; background: rgba(12,29,40,.05); border-radius: 999px; padding: 4px; }
.explore-filter button { font-size: 13px; font-weight: 650; color: var(--ink-soft); padding: 7px 15px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.explore-filter button.active { color: #fff; background: var(--accent); box-shadow: 0 2px 8px rgba(0,109,153,.3); }
.explore-x { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); background: rgba(12,29,40,.05); transition: background .15s, color .15s; }
.explore-x:hover { background: rgba(12,29,40,.1); color: var(--ink); }
.explore-scroll { overflow-y: auto; padding: 24px; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 18px; max-width: 1480px; margin: 0 auto; }
.xcard {
  text-align: left; background: var(--surface); border-radius: 18px; overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s; font-family: inherit;
  animation: xrise .4s cubic-bezier(.2,.8,.2,1) both;
}
.xcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.xcard-img { position: relative; height: 184px; }
.xcard-live {
  position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(8,22,32,.6); color: #fff; backdrop-filter: blur(8px);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px;
}
.xcard-live.stale { background: rgba(8,22,32,.45); font-weight: 700; letter-spacing: 0; }
.xcard-score { position: absolute; top: 11px; right: 11px; font-size: 13px; font-weight: 800; color: #fff; border-radius: 10px; padding: 4px 10px; box-shadow: 0 2px 8px rgba(8,30,45,.3); }
.xcard-body { padding: 13px 15px 15px; }
.xcard-date { font-size: 11px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.xcard-name { font-size: 16px; font-weight: 800; letter-spacing: -.02em; margin-top: 3px; line-height: 1.15; }
.xcard-city { font-size: 12.5px; color: var(--ink-soft); font-weight: 650; margin-top: 2px; }
.xcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.xcard-foot span:first-child { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }
.xcard-status { font-size: 11.5px; font-weight: 800; }
@keyframes xrise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .explore-bar { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
  .explore-filter { order: 3; width: 100%; margin-left: 0; }
  .explore-filter button { flex: 1; }
  .explore-x { position: absolute; top: 14px; right: 16px; }
  .explore-scroll { padding: 16px; }
  .explore-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .xcard-img { height: 132px; }
}

/* ===== Detail panel ===== */
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(8,22,32,.28); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed; z-index: 50; top: 14px; right: 14px; bottom: 14px; width: 430px; max-width: calc(100vw - 28px);
  background: var(--surface); border-radius: 26px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(100% + 24px)); transition: transform .42s cubic-bezier(.22,.85,.25,1);
}
.panel.on { transform: translateX(0); }
.panel-scroll { overflow-y: auto; overflow-x: hidden; }
.panel-hero { position: relative; height: 248px; }
.panel-hero .ph-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,32,0) 38%, rgba(8,22,32,.62) 100%); }
.panel-hero .closeb {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 3;
  transition: transform .15s;
}
.panel-hero .closeb:hover { transform: scale(1.08); }
.panel-hero .stamp {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(8,22,32,.55); color: #fff; backdrop-filter: blur(8px);
  border-radius: 999px; padding: 6px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
  display: flex; align-items: center; gap: 7px;
}
.panel-hero .titlewrap { position: absolute; left: 22px; bottom: 18px; right: 22px; z-index: 3; color: #fff; }
.panel-hero .titlewrap .rg { font-size: 12.5px; font-weight: 700; opacity: .85; letter-spacing: .02em; }
.panel-hero .titlewrap h2 { margin: 2px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.025em; text-shadow: 0 2px 14px rgba(0,0,0,.3); }

.panel-body { padding: 20px 22px 26px; }
.scorecard {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: var(--surface-warm); margin-bottom: 18px;
}
.scorecard .big { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.scorecard .big small { font-size: 17px; color: var(--ink-faint); font-weight: 700; }
.scorecard .meta { flex: 1; }
.statusbadge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; color: #fff; }
.scorecard .trend { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 750; margin-top: 8px; }
.scorebar { height: 6px; border-radius: 999px; background: rgba(12,29,40,.1); overflow: hidden; margin-top: 11px; }
.scorebar > i { display: block; height: 100%; border-radius: 999px; }

.section-t { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 22px 0 12px; }
.wx { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.wx .c { background: var(--surface-warm); border-radius: 14px; padding: 12px 10px; text-align: center; }
.wx .c .v { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.wx .c .k { font-size: 10.5px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

/* before/after slider */
.ba { position: relative; border-radius: 16px; overflow: hidden; height: 210px; user-select: none; touch-action: none; }
.ba .layer { position: absolute; inset: 0; }
.ba .after { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba .tag { position: absolute; bottom: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(8,22,32,.5); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.ba .tag.l { left: 10px; } .ba .tag.r { right: 10px; }
.ba .handle { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; left: var(--split,50%); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.ba .handle .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--accent); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gphoto { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; transition: transform .15s; }
.gphoto:hover { transform: scale(1.03); }
.gphoto .gt { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9.5px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(8,22,32,.7)); padding: 12px 6px 4px; }

.panel-cta { display: flex; gap: 10px; margin-top: 22px; }
.panel-cta .btn { flex: 1; justify-content: center; }

/* affiliate booking banner */
.book {
  display: block; margin-top: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none;
  background: color-mix(in srgb, var(--accent) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.book:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.book-tour { background: color-mix(in srgb, #1a9d6e 8%, #fff); border-color: color-mix(in srgb, #1a9d6e 24%, transparent); }
.book-head { display: flex; align-items: center; gap: 12px; }
.book-ic {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 70%);
  box-shadow: 0 2px 8px rgba(0,109,153,.35);
}
.book-tour .book-ic { background: radial-gradient(120% 120% at 30% 20%, #4cc79a, #1a9d6e 70%); box-shadow: 0 2px 8px rgba(26,157,110,.35); }
.book-head strong { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.book-head small { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.book-btn {
  margin-top: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 750; font-size: 14px; padding: 11px; border-radius: 12px;
  transition: background .2s;
}
.book-tour .book-btn { background: #1a9d6e; }
.book:hover .book-btn { filter: brightness(1.06); }
.book-partner { display: block; text-align: center; margin-top: 8px; font-size: 10.5px; color: var(--ink-faint); font-weight: 600; letter-spacing: .01em; }

/* activities upsell (bad-condition beaches) */
.book-activity { background: color-mix(in srgb, #0e7c86 8%, #fff); border-color: color-mix(in srgb, #0e7c86 24%, transparent); }
.book-activity .book-ic { background: radial-gradient(120% 120% at 30% 20%, #2bb3c0, #0e7c86 70%); box-shadow: 0 2px 8px rgba(14,124,134,.35); }
.book-activity .book-btn { background: #0e7c86; }
.book-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.book-chips span {
  font-size: 11px; font-weight: 700; color: #0a5e67;
  background: color-mix(in srgb, #0e7c86 11%, #fff);
  border: 1px solid color-mix(in srgb, #0e7c86 22%, transparent);
  padding: 4px 10px; border-radius: 999px;
}

/* photo placeholder (premium ocean-gradient stand-in) */
.ph { position: absolute; inset: 0; overflow: hidden; }
/* real (admin-uploaded) photo filling the same slots */
.ph-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .ph-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; letter-spacing: .04em;
  color: rgba(255,255,255,.92); background: rgba(8,22,32,.32); padding: 4px 9px; border-radius: 6px;
  white-space: nowrap; backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,.18);
}

@keyframes rise { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* hotels-cleaning promo card (teaser under hero -> opens hotels page) */
.cleancard {
  pointer-events: auto; width: 100%;
  background: var(--glass-strong); backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-lg);
  border-radius: 20px; animation: rise .55s cubic-bezier(.2,.8,.2,1) .09s both;
}
.cleancard-teaser { display: flex; align-items: center; gap: 15px; text-align: left; padding: 18px 18px 18px 19px; cursor: pointer; transition: box-shadow .2s, transform .15s; font-family: inherit; }
.cleancard-teaser:hover { box-shadow: var(--shadow-md); }
.cleancard-teaser:hover .cleancard-arrow { transform: translateX(3px); color: #1a9d6e; }
.cleancard-ic { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, #4cc79a, #1a9d6e 72%); box-shadow: 0 3px 10px rgba(26,157,110,.38); }
.cleancard-text { flex: 1; min-width: 0; }
.cleancard-title { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); line-height: 1.18; }
.cleancard-sub { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-top: 4px; line-height: 1.35; }
.cleancard-arrow { flex: none; color: var(--ink-faint); transition: transform .15s, color .15s; }

/* hotels page (reuses .explore shell) */
.hotels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; }
.hcard { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); animation: xrise .4s cubic-bezier(.2,.8,.2,1) both; }
.hcard-img { position: relative; height: 176px; }
.hcard-badge { position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(26,157,110,.92); color: #fff; backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 5px 10px 5px 9px; border-radius: 999px; }
.hcard-badge .live-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
.hcard-score { position: absolute; top: 11px; right: 11px; font-size: 13px; font-weight: 800; color: #fff; border-radius: 10px; padding: 4px 10px; box-shadow: 0 2px 8px rgba(8,30,45,.3); }
.hcard-body { padding: 15px 16px 16px; }
.hcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hcard-name { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hcard-city { font-size: 12px; color: var(--ink-soft); font-weight: 650; margin-top: 2px; }
.hcard-stars { color: #e7b83f; font-size: 12px; letter-spacing: 1px; flex: none; }
.hcard-effort { font-size: 13px; line-height: 1.45; color: var(--ink-soft); margin: 11px 0 0; }
.hcard-crew { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; font-size: 11.5px; font-weight: 750; color: #1a8a62;
  background: color-mix(in srgb, #1a9d6e 10%, #fff); border: 1px solid color-mix(in srgb, #1a9d6e 22%, transparent); padding: 5px 11px; border-radius: 999px; }
.hcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.hcard-price { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.hcard-price strong { color: var(--ink); font-weight: 800; font-size: 15px; }
.hcard-actions { display: flex; align-items: center; gap: 8px; }
.hcard-beach { font-size: 13px; font-weight: 700; color: var(--accent); padding: 9px 13px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 9%, #fff); transition: background .15s; }
.hcard-beach:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); }
.hcard-book { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 750; color: #fff; background: #1a9d6e; padding: 9px 15px; border-radius: 11px; text-decoration: none; transition: filter .2s; }
.hcard-book:hover { filter: brightness(1.07); }
.hotels-disclaimer { text-align: center; max-width: 1180px; margin: 20px auto 0; font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }

@media (max-width: 760px) {
  .hotels-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== Photo feed tray ===== */
.tray {
  position: absolute; z-index: 50; left: 14px; right: 14px; bottom: 14px; max-width: 1180px; margin: 0 auto;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 24px)); transition: transform .42s cubic-bezier(.22,.85,.25,1);
  padding: 18px 20px 20px;
}
.tray.on { transform: translateY(0); }
.tray-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tray-head h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.feed-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.feedcard { flex: none; width: 210px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--surface-warm); cursor: pointer; transition: transform .15s, box-shadow .2s; }
.feedcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feedcard .fimg { position: relative; height: 132px; }
.feedcard .fsc { position: absolute; top: 9px; left: 9px; font-size: 12px; font-weight: 800; color: #fff; border-radius: 9px; padding: 3px 9px; }
.feedcard .fbody { padding: 11px 13px 13px; }
.feedcard .fnm { font-size: 13.5px; font-weight: 750; letter-spacing: -.01em; }
.feedcard .fmeta { font-size: 11px; color: var(--ink-faint); font-weight: 650; margin-top: 4px; display: flex; justify-content: space-between; }

/* ===== responsive ===== */
@media (max-width: 760px) {
  .dock { display: none; }
  .dock-toggle { display: none; }
  .legend { left: 14px; top: 76px; width: 168px; padding: 10px 12px; }
  .legend .lr small { display: none; }
  .confkey { left: 14px; top: 398px; width: 168px; padding: 10px 12px; }
  .hero { left: 12px; right: 12px; top: 286px; bottom: auto; width: auto; transform: scale(1); }
  .hero.center, .hero.top { left: 12px; right: 12px; width: auto; transform: none; top: 286px; bottom: auto; text-align: left; align-items: stretch; }
  .hero-card { padding: 22px 20px; border-radius: 22px; }
  .panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: none; border-radius: 24px 24px 0 0; height: 86vh; transform: translateY(calc(100% + 24px)); }
  .panel.on { transform: translateY(0); }
  .topbar { flex-wrap: wrap; padding: 12px; gap: 9px; }
  .seg { order: 3; width: 100%; }
  .seg button { flex: 1; }
  .utilbar { bottom: 14px; }
  .utilbar .u span.t { display: none; }
  .scrollcue span { display: none; }
  .below-inner { padding: 8px 16px 32px; }
  .fc { grid-template-columns: 1fr; }
  .conf-grid { grid-template-columns: 1fr; }
  .conf-stats { grid-template-columns: repeat(2, 1fr); }
  .sec-head { flex-wrap: wrap; }
  .below-foot { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 16px; }
}

/* ===== Coastal water-clarity tint (under the dots) ===== */
.coast-tint { z-index: 1; }

/* ===== Confidence badge (signal bars) ===== */
.confbars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; flex: none; }
.confbars i { width: 3px; height: 4px; border-radius: 1px; background: rgba(12,29,40,.16); }
.confbars i:nth-child(2) { height: 7.5px; }
.confbars i:nth-child(3) { height: 11px; }
.confbadge { display: inline-flex; align-items: center; gap: 6px; }
.confbadge .cb-txt { font-size: 11px; font-weight: 800; letter-spacing: -.01em; }
.confbadge.mini { gap: 5px; }
.confbadge.mini .cb-txt { font-size: 10.5px; font-weight: 750; }
.confbadge.detail { display: inline-grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; row-gap: 1px; align-items: center; margin-top: 12px;
  background: var(--surface-warm); border-radius: 12px; padding: 9px 13px; }
.confbadge.detail .confbars { grid-row: 1 / span 2; align-self: center; transform: scale(1.3); transform-origin: left center; }
.confbadge.detail .cb-txt { font-size: 13px; }
.confbadge.detail .cb-sub { font-size: 11.5px; color: var(--ink-faint); font-weight: 650; }
.rank .confbadge { margin-top: 3px; }

/* ===== Scroll cue (bottom of map) ===== */
.scrollcue {
  position: absolute; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--glass-strong); backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-md);
  border-radius: 999px; padding: 10px 12px 10px 18px; color: var(--ink);
  font-size: 13px; font-weight: 750; letter-spacing: -.01em; transition: transform .15s, box-shadow .2s;
}
.scrollcue:hover { transform: translateX(-50%) translateY(-2px); box-shadow: var(--shadow-lg); }
.scrollcue svg { color: var(--accent); animation: cuebob 1.8s ease-in-out infinite; }
@keyframes cuebob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .scrollcue svg { animation: none; } }

/* ===== Below-the-map deck ===== */
.below { position: relative; z-index: 1; background: var(--surface-warm); color: var(--ink); }
.below-inner { max-width: 1240px; margin: 0 auto; padding: 16px 24px 44px; }
.sec { padding: 32px 0; border-top: 1px solid var(--line); }
.sec:first-child { border-top: none; padding-top: 30px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.sec-head h2 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.025em; }
.sec-head h2 .live-dot { display: inline-block; vertical-align: middle; margin-right: 9px; }
.sec-head p { margin: 5px 0 0; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.sec-meta { font-size: 12.5px; color: var(--ink-faint); font-weight: 700; white-space: nowrap; }
.sec-all {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 13.5px; font-weight: 750; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, #fff); padding: 9px 15px; border-radius: 999px; transition: background .15s, transform .15s;
}
.sec-all:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); transform: translateY(-1px); }

/* live photo row */
.photo-row { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; }
.pcard { flex: none; width: 232px; scroll-snap-align: start; text-align: left; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .16s, box-shadow .2s; font-family: inherit; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard-img { position: relative; height: 150px; }
.pcard-sc { position: absolute; top: 10px; left: 10px; font-size: 13px; font-weight: 800; color: #fff; border-radius: 10px; padding: 4px 10px; box-shadow: 0 2px 8px rgba(8,30,45,.3); }
.pcard-ago { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(8,22,32,.6); color: #fff; backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; }
.pcard-ago .live-dot { width: 6px; height: 6px; }
.pcard-body { padding: 12px 14px 13px; }
.pcard-nm { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.pcard-by { font-size: 11.5px; color: var(--ink-faint); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* forecast */
.fc { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: stretch; }
.fc-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: var(--surface); border-radius: 20px; padding: 20px 16px; box-shadow: var(--shadow-sm); }
.fc-day { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border-radius: 14px; }
.fc-day.today { background: color-mix(in srgb, var(--accent) 8%, #fff); }
.fc-dl { font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.fc-dd { font-size: 10.5px; color: var(--ink-faint); font-weight: 650; }
.fc-bar { width: 13px; height: 88px; border-radius: 999px; background: rgba(12,29,40,.07); display: flex; align-items: flex-end; overflow: hidden; margin: 5px 0; }
.fc-bar i { width: 100%; border-radius: 999px; }
.fc-score { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.fc-tier { font-size: 10px; font-weight: 750; color: var(--ink-soft); text-align: center; line-height: 1.1; }
.fc-note { background: var(--surface); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: flex-start; }
.fc-note-ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 70%); box-shadow: 0 2px 8px rgba(0,109,153,.3); }
.fc-note p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); font-weight: 550; }

/* confidence */
.conf-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.conf-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cstat { background: var(--surface); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.cs-v { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.cs-k { font-size: 11.5px; color: var(--ink-faint); font-weight: 700; margin-top: 7px; text-transform: uppercase; letter-spacing: .05em; }
.conf-key { background: var(--surface); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.ck-title { font-size: 13px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.ck-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.ck-row .confbars { transform: scale(1.3); transform-origin: left center; margin-left: 3px; }
.ck-txt { display: flex; flex-direction: column; gap: 1px; }
.ck-txt strong { font-size: 13.5px; font-weight: 800; }
.ck-txt span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

/* explore grid below uses full width */
.below-grid { max-width: none; }

/* footer */
.below-foot { border-top: 1px solid var(--line); max-width: 1240px; margin: 0 auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bf-brand { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; }
.bf-dot { width: 20px; height: 20px; border-radius: 6px; background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 70%); box-shadow: inset 0 1px 1px rgba(255,255,255,.4); }
.bf-note { font-size: 12px; color: var(--ink-faint); font-weight: 600; }

/* ===== Compact hero (small intro badge, doesn't fight hierarchy) ===== */
.hero.compact { width: auto; max-width: 340px; top: auto; bottom: 28px; left: 24px; gap: 0; }
.hero.compact .hero-card { padding: 15px 17px; border-radius: 17px; }
.hero.compact .eyebrow-row { margin-bottom: 13px; }
.hero.compact .eyebrow-ic { width: 25px; height: 25px; border-radius: 8px; }
.hero.compact .eyebrow { font-size: 11px; }
.hero.compact .hero-x { top: 9px; right: 9px; width: 22px; height: 22px; }
.hero.compact .btn { padding: 9px 13px; font-size: 12.5px; }
.hero.compact.center { left: 50%; top: 50%; bottom: auto; transform: translate(-50%,-50%); }
.hero.compact.top { left: 50%; top: 92px; bottom: auto; transform: translateX(-50%); }
.hero.compact.center .eyebrow-row, .hero.compact.top .eyebrow-row { justify-content: center; }
.hero.compact.center .cta-row, .hero.compact.top .cta-row { justify-content: center; }

/* ===== Hotels-clean section (below the map) ===== */
.hotel-row { display: flex; gap: 16px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; }
.hcard.sb { flex: none; width: 300px; scroll-snap-align: start; animation: none; }
.hcard.sb .hcard-img { height: 158px; }
.hcard.sb .hcard-foot { margin-top: 13px; padding-top: 12px; }
.hotels-disclaimer.below-disc { text-align: left; max-width: none; margin: 14px 0 0; font-size: 11.5px; color: var(--ink-faint); }

/* ===== Founding Partner band (price-free, end of page) ===== */
.partner-sec { padding-top: 36px; padding-bottom: 8px; }
.partner {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 34px 40px; border-radius: 26px; color: #fff;
  background:
    radial-gradient(130% 150% at 12% 8%, var(--accent-bright), transparent 55%),
    linear-gradient(135deg, var(--accent) 0%, #0a3d62 100%);
  box-shadow: 0 18px 50px rgba(0,109,153,.32);
  position: relative; overflow: hidden;
}
.partner::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); pointer-events: none;
}
.partner-copy { position: relative; z-index: 1; }
.partner-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 750;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 13px;
}
.partner-eyebrow-ic {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff;
}
.partner-copy h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
.partner-copy > p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.86); font-weight: 500; max-width: 520px; text-wrap: pretty; }

.partner-action { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partner-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap;
  background: #fff; color: var(--accent); font-weight: 800; font-size: 15px; padding: 14px 22px;
  border-radius: 13px; text-decoration: none; box-shadow: 0 6px 18px rgba(8,24,38,.22);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.partner-btn:hover { transform: translateY(-1px); filter: brightness(1.02); box-shadow: 0 10px 26px rgba(8,24,38,.3); }
.partner-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; font-weight: 650; color: rgba(255,255,255,.78);
}
.partner-secure svg { color: rgba(255,255,255,.6); }
.partner-todo { font-size: 10.5px; font-weight: 600; color: #ffd9a8; text-align: center; }
.partner-todo code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,.16); padding: 1px 5px; border-radius: 5px; }

@media (max-width: 760px) {
  .partner { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .partner-copy h2 { font-size: 24px; }
  .partner-action { align-items: flex-start; }
  .partner-btn { width: 100%; }
}

/* ===== Account menu (top bar, right of search) ===== */
.acct { position: relative; }
.acct-btn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: var(--shadow-sm); color: var(--ink-soft);
  transition: transform .15s, color .15s;
}
.acct-btn:hover { color: var(--accent); transform: translateY(-1px); }
.acct-btn.in { color: #fff; }
.acct-av {
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 72%);
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.acct-av.lg { width: 42px; height: 42px; font-size: 15px; }

.acct-pop {
  position: absolute; top: calc(100% + 9px); right: 0; width: 312px; max-width: 84vw; z-index: 60;
  background: rgba(255,255,255,.95); backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid rgba(255,255,255,.65); box-shadow: var(--shadow-lg); border-radius: 18px;
  padding: 16px; animation: acctin .16s ease;
}
@keyframes acctin { from { opacity: 0; transform: translateY(-6px); } }

.acct-cta { text-align: center; padding: 6px 6px 4px; }
.acct-cta-ic { width: 46px; height: 46px; margin: 2px auto 12px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 72%); box-shadow: 0 4px 14px rgba(0,109,153,.32); }
.acct-cta-t { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.acct-cta-sub { margin: 6px 0 14px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); font-weight: 550; }

.acct-form { display: flex; flex-direction: column; gap: 8px; }
.acct-form-t { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; }
.acct-form-sub { margin: 0 0 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); font-weight: 550; }
.acct-input {
  width: 100%; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; outline: none;
  transition: border-color .15s;
}
.acct-input:focus { border-color: var(--accent); }
.acct-input::placeholder { color: var(--ink-faint); font-weight: 550; }
.acct-submit {
  margin-top: 4px; width: 100%; padding: 12px; border-radius: 12px; background: var(--accent); color: #fff;
  font-size: 14.5px; font-weight: 750; box-shadow: 0 4px 14px rgba(0,109,153,.3); transition: transform .15s, box-shadow .2s;
}
.acct-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,109,153,.4); }
.acct-link { width: auto; padding: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.acct-link:hover { color: var(--ink); }
.acct-link.wide { width: 100%; margin-top: 12px; padding: 11px; border-radius: 11px; background: rgba(12,29,40,.05); }
.acct-link.wide:hover { background: rgba(12,29,40,.09); }
.acct-sim { margin-top: 10px; font-size: 10.5px; color: var(--ink-faint); font-weight: 600; text-align: center; }

.acct-id { display: flex; align-items: center; gap: 12px; padding: 2px 2px 14px; }
.acct-id-txt { min-width: 0; }
.acct-name { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.acct-email { font-size: 12px; color: var(--ink-faint); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px; border-radius: 12px; background: rgba(12,29,40,.04); }
.acct-row-t { font-size: 13.5px; font-weight: 750; }
.acct-row-sub { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; margin-top: 1px; }
.acct-toggle { width: 42px; height: 25px; flex: none; border-radius: 999px; background: rgba(12,29,40,.16); position: relative; transition: background .18s; }
.acct-toggle.on { background: var(--accent); }
.acct-knob { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
.acct-toggle.on .acct-knob { transform: translateX(17px); }

.acct-sec-t { margin: 16px 2px 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.acct-empty { font-size: 12.5px; color: var(--ink-soft); font-weight: 550; line-height: 1.5; padding: 2px 2px; }
.acct-watch { display: flex; flex-direction: column; gap: 2px; max-height: 188px; overflow-y: auto; }
.acct-wrow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; text-align: left; transition: background .12s; }
.acct-wrow:hover { background: rgba(0,109,153,.09); }
.acct-wdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.acct-wname { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-bell { color: var(--accent); display: inline-flex; margin-left: auto; }
.acct-wscore { font-size: 13px; font-weight: 800; min-width: 26px; text-align: right; }
.acct-bell + .acct-wscore { margin-left: 8px; }
.acct-wrow .acct-wname { margin-right: auto; }

/* ===== Locate button + "you are here" pin ===== */
.zoomctl button.locate { color: var(--accent); }
.zoomctl button.locate:hover { background: rgba(0,109,153,.12); }
.zoomctl button.locate.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.marker.you { z-index: 28; }
.you-dot { position: relative; width: 18px; height: 18px; border-radius: 50%;
  background: #2563eb; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(8,30,60,.5); }
.you-pulse { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: rgba(37,99,235,.4); animation: youpulse 2s ease-out infinite; }
@keyframes youpulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(4.2); opacity: 0; } }
.you-label { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 800; color: #1d4ed8;
  background: #fff; padding: 3px 9px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid rgba(37,99,235,.2); }
@media (prefers-reduced-motion: reduce) { .you-pulse { animation: none; } }

/* dimmed (filtered-out) markers */
.marker.dimmed { opacity: .12; pointer-events: none; filter: saturate(.4); transition: opacity .25s; }

/* beach-card description row + Locate button */
.note-row { display: flex; align-items: flex-start; gap: 12px; margin: 0 2px; }
.note-text { flex: 1; min-width: 0; margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }
.locate-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  color: var(--accent); background: color-mix(in oklab, var(--accent) 9%, #fff);
  border: 1px solid color-mix(in oklab, var(--accent) 26%, transparent);
  padding: 7px 11px; border-radius: 999px; margin-top: 1px;
  transition: background .15s, transform .12s, box-shadow .15s;
}
.locate-btn:hover { background: color-mix(in oklab, var(--accent) 16%, #fff); box-shadow: 0 2px 8px color-mix(in oklab, var(--accent) 24%, transparent); }
.locate-btn:active { transform: scale(.96); }
.locate-btn svg { width: 15px; height: 15px; }

/* locate ping — expanding rings emitted when "Locate on map" is pressed */
.locate-ring {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  transform: translate(-50%,-50%); pointer-events: none; z-index: 2;
  border: 2.5px solid var(--mc); box-shadow: 0 0 10px 2px var(--mc-a);
  animation: locatePing 1.2s cubic-bezier(.2,.7,.3,1) 2;
}
@keyframes locatePing {
  0% { width: 14px; height: 14px; opacity: .95; }
  100% { width: 72px; height: 72px; opacity: 0; }
}

/* ===== Clickable legend filter ===== */
.legend-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.legend-head h4 { margin: 0; }
.legend-clear { font-size: 10.5px; font-weight: 750; color: var(--accent); padding: 2px 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, #fff); }
.legend .row { width: 100%; text-align: left; border-radius: 9px; padding: 5px 7px; margin: 0 -3px; transition: background .14s, opacity .18s; position: relative; }
.legend .row:hover { background: rgba(0,109,153,.08); }
.legend .row .legend-tick { margin-left: auto; color: var(--accent); opacity: 0; transition: opacity .14s; display: inline-flex; }
.legend .row.on { background: color-mix(in srgb, var(--accent) 10%, #fff); }
.legend .row.on .legend-tick { opacity: 1; }
.legend .row.off { opacity: .4; }
.legend .row.off:hover { opacity: .7; }
.legend-hint { margin-top: 9px; font-size: 10px; color: var(--ink-faint); font-weight: 650; letter-spacing: .01em; }
.legend.filtering .legend-hint { display: none; }

.watchbtn.on { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.watchbtn.on:hover { background: color-mix(in srgb, var(--accent) 18%, #fff); }

/* ===== "Closest to you · live" section ===== */
.nb { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: stretch; }
.nb-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: var(--surface); border-radius: 20px; padding: 18px 14px; box-shadow: var(--shadow-sm); }
.nb-day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 14px; text-align: center; transition: background .15s, transform .15s; }
.nb-day:hover { background: rgba(0,109,153,.06); transform: translateY(-2px); }
.nb-day.nearest { background: color-mix(in srgb, var(--accent) 8%, #fff); }
.nb-rank { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.nb-name { font-size: 11.5px; font-weight: 750; color: var(--ink); line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; }
.nb-bar { width: 13px; height: 84px; border-radius: 999px; background: rgba(12,29,40,.07); display: flex; align-items: flex-end; overflow: hidden; margin: 4px 0; }
.nb-bar i { width: 100%; border-radius: 999px; transition: height .4s ease; }
.nb-score { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.nb-tier { font-size: 9.5px; font-weight: 750; color: var(--ink-soft); line-height: 1.1; }
.nb-km { font-size: 11px; font-weight: 800; color: var(--ink-faint); margin-top: 3px; padding: 2px 7px; border-radius: 999px; background: rgba(12,29,40,.05); white-space: nowrap; }
.nb-note { background: var(--surface); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: flex-start; }
.nb-note-ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 70%); box-shadow: 0 2px 8px rgba(0,109,153,.3); }
.nb-note strong { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.35; }
.nb-note p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); font-weight: 550; }
.sec-head p .live-dot { margin-right: 5px; }

/* gated state for the nearby section */
.nb-gate { background: linear-gradient(150% 120% at 0% 0%, color-mix(in srgb, var(--accent) 7%, #fff), var(--surface) 60%);
  border: 1px solid var(--line); border-radius: 22px; padding: 38px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.nb-gate-ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent-bright), var(--accent) 72%); box-shadow: 0 6px 18px rgba(0,109,153,.32); }
.nb-gate-t { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.nb-gate-b { max-width: 480px; margin: 9px auto 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); font-weight: 550; }
.nb-gate-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nb-gate-cta .btn[disabled] { opacity: .6; pointer-events: none; }

@media (max-width: 760px) {
  .nb { grid-template-columns: 1fr; }
  .nb-name { min-height: 0; }
  .acct-pop { right: -4px; }
}
