/* Cape Beach Dog Finder — styles (Phase 3, Version 2 "split dashboard" + phone layout).
   Palette: aqua #38B5CC, deep teal #23717F, leaf green #85CD66, slate #49777F, foam #F2FFFE, coral (no dogs) #F07A68. Font: Lato.
   House style: ALL copy on capebeachdog.com is lowercase. Everything is scoped under .cbdf so it can't touch the theme.
   Layout switches to the phone version when the finder itself is narrower than 768px (container query). */

.cbdf { font-family: Lato, system-ui, -apple-system, "Segoe UI", sans-serif; text-transform: lowercase; color: #3B3B3B; }
.cbdf-static h3 { color: #23717F; }
.cbdf.cbdf-ready .cbdf-static { display: none; }

.cbdf { margin-bottom: 64px; }
.cbdf .cbdf-app { container: cbdf / inline-size; background: #F2FFFE; position: relative; overflow: hidden; line-height: 1.35; font-size: 16px; text-align: left; }
.cbdf .cbdf-app *, .cbdf .cbdf-app *::before, .cbdf .cbdf-app *::after { box-sizing: border-box; }
.cbdf .cbdf-app :where(h1, h2, h3, p, ul, li) { margin: 0; padding: 0; font-family: inherit; text-transform: inherit; letter-spacing: normal; }
.cbdf .cbdf-app :where(ul) { list-style: none; }
.cbdf .cbdf-app svg { display: block; flex: none; }
.cbdf .cbdf-app button, .cbdf .cbdf-app input, .cbdf .cbdf-fab {
  font-family: inherit; text-transform: inherit; letter-spacing: normal; line-height: 1.2; margin: 0;
  text-shadow: none; box-shadow: none; min-height: 0; width: auto; cursor: pointer; text-decoration: none; text-align: left;
}
.cbdf .cbdf-app a { text-decoration: none; text-transform: inherit; }
.cbdf .cbdf-app [hidden] { display: none !important; }
.cbdf .cbdf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cbdf .cbdf-app :focus-visible, .cbdf .cbdf-fab:focus-visible { outline: 3px solid #85CD66; outline-offset: 3px; }
.cbdf .cbdf-results :focus-visible, .cbdf .cbdf-mapsec :focus-visible { outline-color: #23717F; }

/* ---------- animations ---------- */
@keyframes cbdf-letterbox { from { height: 50%; } to { height: 0; } }
@keyframes cbdf-wordUp { from { transform: translateY(110%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes cbdf-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cbdf-drift { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(-60px, -300px); opacity: 0; } }
@keyframes cbdf-fadeUp { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cbdf-growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cbdf-barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cbdf-ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes cbdf-dropIn { from { transform: translateY(-10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cbdf-cardIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cbdf-underline { 0%, 100% { background-size: 100% 4px; } 50% { background-size: 70% 4px; } }
@keyframes cbdf-youPulse { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes cbdf-pawDrop { 0% { transform: translateY(-120px) scale(.3); opacity: 0; } 70% { transform: translateY(6px) scale(1.15); opacity: 1; } 100% { transform: none; } }
@keyframes cbdf-pawWag { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@keyframes cbdf-ctaGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(133, 205, 102, .6); } 50% { box-shadow: 0 0 0 10px rgba(133, 205, 102, 0); } }
@keyframes cbdf-swap { from { transform: scale(.94); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes cbdf-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: none; } }

/* ---------- hero ---------- */
.cbdf .cbdf-hero {
  position: relative; overflow: hidden; color: #FFFFFF; padding: 56px 64px 120px; min-height: 660px;
  background: radial-gradient(110% 80% at 70% 0%, #2C8C9C 0%, #1A5A65 40%, #0B2E35 100%);
  --cbdf-mx: 0; --cbdf-my: 0;
}
.cbdf .cbdf-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%; left: 40%; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(133, 205, 102, .24), rgba(56, 181, 204, 0) 65%);
  transform: translate(calc(var(--cbdf-mx) * 280px), calc(var(--cbdf-my) * 200px)); transition: transform .4s ease-out;
}
.cbdf .cbdf-motes { position: absolute; inset: 0; pointer-events: none; }
.cbdf .cbdf-motes span { position: absolute; border-radius: 50%; background: #FFFFFF; opacity: 0; animation: cbdf-drift 16s linear infinite; }
.cbdf .cbdf-wave { position: absolute; left: 0; width: 200%; pointer-events: none; }
.cbdf .cbdf-wave svg { width: 100%; height: 100%; animation: cbdf-wave 40s linear infinite; }
.cbdf .cbdf-wave--far { bottom: 60px; height: 200px; fill: rgba(56, 181, 204, .16); transform: translate(calc(var(--cbdf-mx) * -14px), calc(var(--cbdf-my) * -14px)); transition: transform .5s ease-out; }
.cbdf .cbdf-wave--far svg { animation-duration: 70s; }
.cbdf .cbdf-wave--near { bottom: 20px; height: 140px; fill: rgba(56, 181, 204, .26); transform: translate(calc(var(--cbdf-mx) * -26px), calc(var(--cbdf-my) * -26px)); transition: transform .4s ease-out; }
.cbdf .cbdf-wave--edge { bottom: -1px; height: 80px; fill: #F2FFFE; }
.cbdf .cbdf-wave--edge svg { animation-duration: 60s; }
.cbdf .cbdf-letterbox { position: absolute; left: 0; right: 0; height: 0; background: #000000; z-index: 20; pointer-events: none; animation: cbdf-letterbox 1.1s .15s cubic-bezier(.7, 0, .2, 1) both; }
.cbdf .cbdf-letterbox--top { top: 0; }
.cbdf .cbdf-letterbox--bot { bottom: 0; }

.cbdf .cbdf-top { position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cbdf .cbdf-h1 {
  display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 900; letter-spacing: .16em; line-height: 1.3;
  color: #D7F4F8; animation: cbdf-fadeUp .8s 1.2s both;
}
.cbdf .cbdf-h1paw svg { width: 26px; height: 26px; fill: #85CD66; }
.cbdf .cbdf-app .cbdf-glassbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: #FFFFFF; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .25s; animation: cbdf-fadeUp .8s 1.4s both;
}
.cbdf .cbdf-app .cbdf-glassbtn:hover, .cbdf .cbdf-app .cbdf-glassbtn:focus { background: rgba(255, 255, 255, .18); color: #FFFFFF; transform: translateY(-3px); }
.cbdf .cbdf-app .cbdf-glassbtn.is-on { background: rgba(133, 205, 102, .25); border-color: #85CD66; }
.cbdf .cbdf-glassbtn svg { width: 18px; height: 18px; }

.cbdf .cbdf-grid { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; padding-top: 30px; }
.cbdf .cbdf-left { position: relative; z-index: 7; transform: translate(calc(var(--cbdf-mx) * 6px), calc(var(--cbdf-my) * 6px)); transition: transform .4s ease-out; }
.cbdf .cbdf-right { position: relative; transform: translate(calc(var(--cbdf-mx) * 14px), calc(var(--cbdf-my) * 14px)); transition: transform .4s ease-out; }
.cbdf .cbdf-qwrap { position: relative; }
.cbdf .cbdf-q { font-size: 48px; line-height: 1.12; font-weight: 900; letter-spacing: -.02em; color: #FFFFFF; }
.cbdf .cbdf-qline { display: block; overflow: hidden; padding-bottom: 6px; }
.cbdf .cbdf-word { display: inline-block; animation: cbdf-wordUp 1s .55s cubic-bezier(.2, .9, .3, 1) both; }
.cbdf .cbdf-word2 { animation-delay: .75s; }
.cbdf .cbdf-app .cbdf-townbtn {
  display: inline; font-size: inherit; font-weight: 900; line-height: inherit; color: #85CD66; letter-spacing: inherit;
  background: linear-gradient(#85CD66, #85CD66) left bottom no-repeat; background-size: 100% 4px;
  border: 0; border-radius: 0; padding: 0 6px 4px; animation: cbdf-underline 4s ease-in-out infinite;
}
.cbdf .cbdf-app .cbdf-townbtn:hover, .cbdf .cbdf-app .cbdf-townbtn:focus { color: #A9E08F; background-color: transparent; }
.cbdf .cbdf-menu {
  position: absolute; left: 0; top: 100%; z-index: 30; width: 440px; max-width: 100%; margin-top: 8px; padding: 8px;
  background: #FFFFFF; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  animation: cbdf-dropIn .25s cubic-bezier(.2, 1.2, .3, 1) both;
}
.cbdf .cbdf-menutitle { margin: 6px 10px 8px; font-size: 13px; font-weight: 900; color: #49777F; letter-spacing: .06em; }
.cbdf .cbdf-menulist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.cbdf .cbdf-app .cbdf-townopt {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px;
  border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; color: #23717F; background: #FFFFFF;
}
.cbdf .cbdf-app .cbdf-townopt:hover, .cbdf .cbdf-app .cbdf-townopt:focus { background: #E6F6F8; color: #23717F; }
.cbdf .cbdf-app .cbdf-townopt.is-on { background: #E3F5DA; }
.cbdf .cbdf-townct { font-size: 12px; font-weight: 700; color: #2F7A3E; white-space: nowrap; }

.cbdf .cbdf-answer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 34px; width: max-content; max-width: 100%;
  padding: 10px 26px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
  animation: cbdf-fadeUp .8s 1.6s both;
}
.cbdf .cbdf-answer.is-swap { animation: cbdf-swap .45s cubic-bezier(.2, 1.3, .3, 1) both; }
.cbdf .cbdf-badge { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #85CD66; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 24px rgba(133, 205, 102, .55); }
.cbdf .cbdf-badge svg { width: 28px; height: 28px; fill: #173404; }
.cbdf .cbdf-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #85CD66; animation: cbdf-ring 3.2s ease-out infinite; }
.cbdf .cbdf-answer.is-closed .cbdf-badge { background: #F07A68; box-shadow: 0 0 24px rgba(240, 122, 104, .5); }
.cbdf .cbdf-answer.is-closed .cbdf-ring { border-color: #F07A68; }
.cbdf .cbdf-answer.is-closed .cbdf-badge svg { fill: #4A140B; }
.cbdf .cbdf-yes { font-size: 28px; font-weight: 900; }
.cbdf .cbdf-count { display: inline-flex; font-size: 44px; font-weight: 900; height: 52px; line-height: 52px; overflow: hidden; color: #85CD66; text-shadow: 0 0 18px rgba(133, 205, 102, .45); }
.cbdf .cbdf-dcol { display: inline-block; width: .62em; height: 52px; overflow: hidden; text-align: center; }
.cbdf .cbdf-dstrip { display: block; line-height: 52px; transition: transform 1.1s cubic-bezier(.2, 1.2, .3, 1); }
.cbdf .cbdf-tail { font-size: 20px; font-weight: 700; color: #DFF6FA; }
.cbdf .cbdf-sub { margin: 12px 0 0 6px; font-size: 16px; color: #CFEFF4; max-width: 640px; animation: cbdf-fadeUp .8s 1.8s both; }
.cbdf .cbdf-locnote { margin: 6px 0 0 6px; font-size: 14px; color: #FFD9D2; }
.cbdf .cbdf-locnote:empty { display: none; }
.cbdf .cbdf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: cbdf-fadeUp .8s 2s both; }
.cbdf .cbdf-app .cbdf-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: #85CD66; color: #173404; font-weight: 900; font-size: 18px;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); animation: cbdf-ctaGlow 3.6s 3s ease-in-out infinite;
}
.cbdf .cbdf-app .cbdf-cta:hover, .cbdf .cbdf-app .cbdf-cta:focus { color: #173404; background: #95D877; transform: translateY(-3px) scale(1.03); }
.cbdf .cbdf-cta svg { width: 22px; height: 22px; }
.cbdf .cbdf-app .cbdf-ghost {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 22px; border-radius: 999px;
  color: #FFFFFF; font-weight: 700; font-size: 16px; border: 1px solid rgba(255, 255, 255, .35); transition: background-color .2s;
}
.cbdf .cbdf-app .cbdf-ghost:hover, .cbdf .cbdf-app .cbdf-ghost:focus { color: #FFFFFF; background: rgba(255, 255, 255, .12); }

/* panels (right column) */
.cbdf .cbdf-panel { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #FFFFFF; }
.cbdf .cbdf-now { animation: cbdf-fadeUp .9s 2s both; }
.cbdf .cbdf-season-desk { margin-top: 18px; animation: cbdf-fadeUp .9s 2.2s both; }
.cbdf .cbdf-ptitle { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: #BFEAF1; }
.cbdf .cbdf-ptitle--big { margin-bottom: 0; font-size: 17px; font-weight: 900; color: #FFFFFF; }
.cbdf .cbdf-psub { margin: 2px 0 12px; font-size: 13px; color: #BFEAF1; }
.cbdf .cbdf-bar { margin-bottom: 12px; }
.cbdf .cbdf-barlab { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cbdf .cbdf-bartrack { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.cbdf .cbdf-barfill { height: 100%; border-radius: 999px; transform-origin: left; animation: cbdf-growBar 1.2s cubic-bezier(.2, 1, .3, 1) both; }
.cbdf .cbdf-barfill--off { background: #85CD66; box-shadow: 0 0 14px #85CD66; }
.cbdf .cbdf-barfill--lea { background: #38B5CC; box-shadow: 0 0 14px #38B5CC; }
.cbdf .cbdf-barfill--no { background: #F07A68; box-shadow: 0 0 14px #F07A68; }
.cbdf .cbdf-barfill--unknown { background: #9DBFC5; }
.cbdf .cbdf-pfoot { margin-top: 6px; font-size: 13px; color: #BFEAF1; }
.cbdf .cbdf-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; align-items: end; height: 110px; }
.cbdf .cbdf-app .cbdf-mon {
  height: 100%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px;
  border: 0; background: transparent; padding: 0; border-radius: 6px; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.cbdf .cbdf-app .cbdf-mon:hover, .cbdf .cbdf-app .cbdf-mon:focus { background: transparent; transform: translateY(-4px); }
.cbdf .cbdf-monbar { display: block; width: 100%; border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: cbdf-barUp .8s cubic-bezier(.2, 1.2, .3, 1) both; }
.cbdf .cbdf-monbar--off { background: #85CD66; box-shadow: 0 0 10px rgba(133, 205, 102, .4); }
.cbdf .cbdf-monbar--lea { background: #38B5CC; box-shadow: 0 0 10px rgba(56, 181, 204, .4); }
.cbdf .cbdf-monbar--no { background: #F07A68; box-shadow: 0 0 10px rgba(240, 122, 104, .4); }
.cbdf .cbdf-mon.is-on .cbdf-monbar { box-shadow: 0 0 0 2px #FFFFFF, 0 0 18px rgba(255, 255, 255, .5); }
.cbdf .cbdf-monlab { font-size: 12px; font-weight: 700; color: #BFEAF1; }
.cbdf .cbdf-mon.is-on .cbdf-monlab { font-weight: 900; color: #FFFFFF; }
.cbdf .cbdf-mtitle { margin-top: 12px; font-size: 18px; font-weight: 900; color: #85CD66; }
.cbdf .cbdf-mcount { margin-top: 4px; font-size: 14px; color: #FFFFFF; }
.cbdf .cbdf-mnote { color: #BFEAF1; font-size: 12px; }

/* ---------- results ---------- */
.cbdf .cbdf-results { padding: 20px 64px 0; }
.cbdf .cbdf-rhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.cbdf .cbdf-h2 { font-size: 30px; font-weight: 900; line-height: 1.15; color: #23717F; }
.cbdf .cbdf-rcount { margin-top: 4px; font-size: 16px; color: #5B6B6E; }
.cbdf .cbdf-app .cbdf-darkbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: #23717F; color: #FFFFFF; font-weight: 900; font-size: 16px; border: 0; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .2s;
}
.cbdf .cbdf-app .cbdf-darkbtn:hover, .cbdf .cbdf-app .cbdf-darkbtn:focus { background: #1A5A65; color: #FFFFFF; transform: translateY(-2px); }
.cbdf .cbdf-darkbtn svg { width: 20px; height: 20px; }
.cbdf .cbdf-app .cbdf-outbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px;
  color: #23717F; font-weight: 700; font-size: 15px; border: 1.5px solid #9FD6DF; background: #FFFFFF;
}
.cbdf .cbdf-app .cbdf-outbtn:hover, .cbdf .cbdf-app .cbdf-outbtn:focus { color: #23717F; background: #E6F6F8; }
.cbdf .cbdf-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.cbdf .cbdf-app .cbdf-chip {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap;
  background: #FFFFFF; color: #23717F; border: 1px solid #9FD6DF;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .25s, color .25s;
}
.cbdf .cbdf-app .cbdf-chip:hover, .cbdf .cbdf-app .cbdf-chip:focus { background: #E6F6F8; color: #23717F; transform: translateY(-3px); }
.cbdf .cbdf-app .cbdf-chip:active { transform: scale(.95); }
.cbdf .cbdf-app .cbdf-chip.is-on { background: #23717F; color: #FFFFFF; border-color: #23717F; }
.cbdf .cbdf-app .cbdf-linkbtn {
  flex: none; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #23717F; font-size: 15px; font-weight: 700; text-decoration: underline;
}
.cbdf .cbdf-app .cbdf-linkbtn:hover, .cbdf .cbdf-app .cbdf-linkbtn:focus { background: transparent; color: #1A5A65; }
.cbdf .cbdf-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.cbdf .cbdf-app .cbdf-card {
  display: block; min-width: 0; padding: 14px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #D5EEF2; color: #3B3B3B;
  animation: cbdf-cardIn .5s cubic-bezier(.2, 1.1, .3, 1) both; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}
.cbdf .cbdf-app .cbdf-card:hover, .cbdf .cbdf-app .cbdf-card:focus { background: #FFFFFF; color: #3B3B3B; transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(14, 58, 66, .55); }
.cbdf .cbdf-app .cbdf-card.is-sel { border: 2px solid #23717F; padding: 13px 15px; }
.cbdf .cbdf-cardtop { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cbdf .cbdf-cardtown { font-size: 12px; font-weight: 700; color: #5B6B6E; text-align: right; }
.cbdf .cbdf-cardname { display: block; margin-top: 8px; font-size: 15px; line-height: 1.25; font-weight: 900; color: #23717F; overflow-wrap: break-word; }
.cbdf .cbdf-app .cbdf-card, .cbdf .cbdf-app .cbdf-card span, .cbdf .cbdf-app .cbdf-tile, .cbdf .cbdf-app .cbdf-tile span, .cbdf .cbdf-app .cbdf-nearrow span { white-space: normal; }
/* town tiles: keep whole words, keep "N open now" on one line, let it drop under the name if needed */
.cbdf .cbdf-app .cbdf-tile .cbdf-ttop { flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
.cbdf .cbdf-app .cbdf-tile .cbdf-tname { overflow-wrap: normal; word-break: normal; hyphens: none; }
.cbdf .cbdf-app .cbdf-tile .cbdf-topen, .cbdf .cbdf-app .cbdf-card .cbdf-pill { white-space: nowrap; }
.cbdf .cbdf-cardpark { display: block; margin-top: 2px; font-size: 13px; color: #5B6B6E; }
.cbdf .cbdf-carduntil { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #23717F; }
.cbdf .cbdf-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; line-height: 1.3; }
.cbdf .cbdf-pill--off { background: #E3F5DA; color: #2F5A1D; }
.cbdf .cbdf-pill--lea { background: #DDF3F7; color: #145863; }
.cbdf .cbdf-pill--no { background: #FDE6E2; color: #8A2E20; }
.cbdf .cbdf-pill--unknown { background: #E6EEEF; color: #3A5A60; }
.cbdf .cbdf-empty { grid-column: 1 / -1; padding: 22px; border-radius: 16px; background: #FFFFFF; border: 1px dashed #9FD6DF; color: #49777F; font-size: 16px; }
.cbdf .cbdf-morewrap { display: flex; justify-content: center; margin-top: 22px; }
.cbdf .cbdf-app .cbdf-more {
  min-height: 52px; padding: 0 28px; border-radius: 999px; background: #FFFFFF; color: #23717F; border: 2px solid #23717F; font-size: 16px; font-weight: 900;
}
.cbdf .cbdf-app .cbdf-more:hover, .cbdf .cbdf-app .cbdf-more:focus { background: #E6F6F8; color: #23717F; }

/* ---------- map ---------- */
.cbdf .cbdf-mapsec { padding: 40px 64px 0; scroll-margin-top: 80px; }
.cbdf .cbdf-results, .cbdf .cbdf-planner { scroll-margin-top: 80px; }
.cbdf .cbdf-mhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cbdf .cbdf-mhead .cbdf-h2 { font-size: 26px; }
.cbdf .cbdf-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.cbdf .cbdf-legend li { display: flex; align-items: center; gap: 6px; }
.cbdf .cbdf-ldot { width: 12px; height: 12px; border-radius: 50%; }
.cbdf .cbdf-ldot--off { background: #85CD66; }
.cbdf .cbdf-ldot--lea { background: #38B5CC; }
.cbdf .cbdf-ldot--no { background: #F07A68; }
.cbdf .cbdf-lyou { width: 22px; height: 22px; border-radius: 50%; background: #1A5A65; display: inline-flex; align-items: center; justify-content: center; }
.cbdf .cbdf-lyou svg { width: 14px; height: 14px; fill: #85CD66; }
.cbdf .cbdf-mapgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; margin-top: 16px; }
.cbdf .cbdf-mapbox { position: relative; height: 640px; border-radius: 24px; overflow: hidden; background: #CDEFF4; border: 1px solid #B7E2EA; }
.cbdf .cbdf-leaf { position: absolute; inset: 0; z-index: 1; background: #CDEFF4; font-family: inherit; }
.cbdf .cbdf-mapmsg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; color: #49777F; font-weight: 700; text-align: center; }
/* Keep theme image rules away from map tiles. */
.cbdf .cbdf-leaf img { max-width: none !important; max-height: none !important; width: auto; height: auto; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.cbdf .cbdf-leaf .leaflet-tile { width: 256px !important; height: 256px !important; }
.cbdf .cbdf-leaf .leaflet-control-attribution { font-size: 11px; }
.cbdf .cbdf-leaf .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: #23717F; }
.cbdf .cbdf-pin { background: transparent; border: 0; display: flex; align-items: center; justify-content: center; }
.cbdf .cbdf-pin:focus-visible { outline: 3px solid #23717F; outline-offset: 0; border-radius: 50%; }
.cbdf .cbdf-dot {
  display: block; width: 15px; height: 15px; border-radius: 50%; border: 2px solid #FFFFFF; background: #49777F;
  box-shadow: 0 2px 6px rgba(14, 58, 66, .35); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), opacity .3s, width .2s, height .2s;
  animation: cbdf-pop .5s cubic-bezier(.2, 1.3, .3, 1) both;
}
.cbdf .cbdf-pin:hover .cbdf-dot { transform: scale(1.5); }
.cbdf .cbdf-dot--off { background: #85CD66; }
.cbdf .cbdf-dot--lea { background: #38B5CC; }
.cbdf .cbdf-dot--no { background: #F07A68; }
.cbdf .cbdf-dot.is-faded { opacity: .25; box-shadow: 0 1px 3px rgba(14, 58, 66, .3); }
.cbdf .cbdf-dot--off, .cbdf .cbdf-dot--lea, .cbdf .cbdf-dot--no { box-shadow: 0 0 0 2px #1A5A65, 0 2px 6px rgba(14, 58, 66, .45); position: relative; }
.cbdf .cbdf-dot--off:not(.is-faded)::after, .cbdf .cbdf-dot--lea:not(.is-faded)::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1A5A65; opacity: 0; animation: cbdf-pinPulse 3s ease-out infinite;
}
@keyframes cbdf-pinPulse { 0% { transform: scale(.8); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
/* beach names next to pins, only once zoomed in (zoom 13+) */
.cbdf .cbdf-label { display: none; background: rgba(255, 255, 255, .92); border: 0; border-radius: 6px; box-shadow: 0 1px 4px rgba(14, 58, 66, .3); padding: 2px 6px; font: 700 12px/1.2 Lato, system-ui, sans-serif; color: #1A5A65; white-space: nowrap; }
.cbdf .cbdf-label::before { display: none; }
.cbdf .cbdf-zoomed .cbdf-label { display: block; }
.cbdf .cbdf-zoomed .cbdf-label.is-faded { opacity: .45 !important; }
.cbdf .cbdf-app .cbdf-dot.is-sel { width: 24px; height: 24px; border-width: 3px; box-shadow: 0 0 0 3px #23717F, 0 4px 12px rgba(14, 58, 66, .45); }
.cbdf .cbdf-you { background: transparent; border: 0; }
.cbdf .cbdf-youpulse { position: absolute; left: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; background: #1A5A65; animation: cbdf-youPulse 2s ease-out infinite; }
.cbdf .cbdf-youpin {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: #1A5A65; border: 4px solid #FFFFFF;
  box-shadow: 0 8px 22px rgba(11, 46, 53, .45); display: flex; align-items: center; justify-content: center; animation: cbdf-pawDrop .8s cubic-bezier(.2, 1.4, .3, 1) both;
}
.cbdf .cbdf-youpin svg { width: 34px; height: 34px; fill: #85CD66; transform-origin: 50% 80%; animation: cbdf-pawWag 1.6s ease-in-out infinite; }
.cbdf .cbdf-youtag {
  position: absolute; left: 50%; bottom: 100%; margin-bottom: 8px; transform: translateX(-50%); white-space: nowrap;
  background: #1A5A65; color: #FFFFFF; font-size: 13px; font-weight: 900; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(11, 46, 53, .35);
}
.cbdf .cbdf-detail { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; background: #FFFFFF; border: 1px solid #D5EEF2; min-width: 0; }
.cbdf .cbdf-sel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; animation: cbdf-fadeUp .35s both; }
.cbdf .cbdf-selname { font-size: 26px; font-weight: 900; line-height: 1.15; color: #23717F; }
.cbdf .cbdf-selname--empty { font-size: 22px; }
.cbdf .cbdf-selmeta { font-size: 15px; color: #5B6B6E; }
.cbdf .cbdf-seluntil { font-size: 16px; font-weight: 700; color: #23717F; }
.cbdf .cbdf-selnote { font-size: 14px; color: #49777F; }
.cbdf .cbdf-sellinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cbdf .cbdf-near { margin-top: auto; padding-top: 14px; border-top: 1px solid #D5EEF2; }
.cbdf .cbdf-neartitle { font-size: 14px; font-weight: 700; color: #23717F; }
.cbdf .cbdf-app .cbdf-nearrow {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 0;
  border: 0; border-bottom: 1px solid #EEF6F7; border-radius: 0; background: transparent; color: #3B3B3B; font-size: 15px;
}
.cbdf .cbdf-app .cbdf-nearrow:hover, .cbdf .cbdf-app .cbdf-nearrow:focus { background: #F2FFFE; color: #23717F; }
.cbdf .cbdf-neard { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 13px; font-weight: 700; color: #5B6B6E; }
.cbdf .cbdf-ndot { width: 12px; height: 12px; border-radius: 50%; }
.cbdf .cbdf-ndot--off { background: #85CD66; }
.cbdf .cbdf-ndot--lea { background: #38B5CC; }

/* ---------- trip planner ---------- */
.cbdf .cbdf-planner { margin-top: 56px; padding: 48px 64px 56px; background: #23717F; color: #FFFFFF; }
.cbdf .cbdf-phead { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.cbdf .cbdf-pintro { flex: 1 1 420px; min-width: 0; }
.cbdf .cbdf-planner .cbdf-h2 { font-size: 34px; color: #FFFFFF; }
.cbdf .cbdf-pintro p { margin-top: 6px; font-size: 18px; color: #CFEFF4; }
.cbdf .cbdf-visit { flex: 0 1 460px; min-width: 0; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); }
.cbdf .cbdf-visit label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 900; color: #FFFFFF; }
.cbdf .cbdf-visit label svg { width: 18px; height: 18px; stroke: #85CD66; }
.cbdf .cbdf-vrow { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.cbdf .cbdf-app .cbdf-date {
  flex: 1; min-width: 0; height: 46px; border: 0; border-radius: 12px; padding: 0 14px; font-size: 16px; font-weight: 700;
  color: #23717F; background: #FFFFFF; cursor: text;
}
.cbdf .cbdf-app .cbdf-today { color: #FFFFFF; }
.cbdf .cbdf-app .cbdf-today:hover, .cbdf .cbdf-app .cbdf-today:focus { color: #D7F4F8; }
.cbdf .cbdf-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cbdf .cbdf-app .cbdf-preset {
  min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .2s;
}
.cbdf .cbdf-app .cbdf-preset:hover, .cbdf .cbdf-app .cbdf-preset:focus { background: rgba(255, 255, 255, .12); color: #FFFFFF; transform: translateY(-2px); }
.cbdf .cbdf-app .cbdf-preset.is-on { background: #85CD66; color: #173404; border-color: #85CD66; }
.cbdf .cbdf-vbanner { margin: 0 0 22px; }
.cbdf .cbdf-vbanner.is-on { margin: 20px 0 22px; padding: 16px 20px; border-radius: 16px; background: rgba(11, 46, 53, .35); border: 1px solid rgba(133, 205, 102, .5); animation: cbdf-fadeUp .4s both; }
.cbdf .cbdf-vbig { font-size: 20px; font-weight: 900; }
.cbdf .cbdf-vbig span { color: #85CD66; }
.cbdf .cbdf-vnote { margin-top: 4px; font-size: 14px; color: #CFEFF4; }
.cbdf .cbdf-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.cbdf .cbdf-vbanner.is-on + .cbdf-tiles { margin-top: 0; }
.cbdf .cbdf-app .cbdf-tile {
  display: block; min-width: 0; padding: 14px 16px; border-radius: 16px; color: #FFFFFF;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .2s;
}
.cbdf .cbdf-app .cbdf-tile:hover, .cbdf .cbdf-app .cbdf-tile:focus { color: #FFFFFF; background: rgba(255, 255, 255, .16); transform: translateY(-5px); }
.cbdf .cbdf-app .cbdf-tile.is-on { border: 2px solid #85CD66; padding: 13px 15px; }
.cbdf .cbdf-ttop { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.cbdf .cbdf-tname { font-size: 17px; font-weight: 900; }
.cbdf .cbdf-topen { font-size: 13px; font-weight: 700; color: #BDE8A8; white-space: nowrap; }
.cbdf .cbdf-sparks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; align-items: end; height: 30px; margin-top: 10px; }
.cbdf .cbdf-spark { display: block; border-radius: 2px; }
.cbdf .cbdf-spark--off { background: #85CD66; }
.cbdf .cbdf-spark--lea { background: #38B5CC; }
.cbdf .cbdf-spark--no { background: #F07A68; }
.cbdf .cbdf-spark.is-dim { opacity: .55; }
.cbdf .cbdf-spark.is-hl { box-shadow: 0 0 0 2px #FFFFFF; }
.cbdf .cbdf-tbest { display: block; margin-top: 6px; font-size: 12px; color: #BFEAF1; }
.cbdf .cbdf-tvisit { display: block; margin-top: 8px; padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 900; background: #E3F5DA; color: #2F5A1D; }
.cbdf .cbdf-tvisit.is-no { background: #FDE6E2; color: #8A2E20; }

/* floating phone map button (outside .cbdf-app so it can be fixed) */
.cbdf .cbdf-fab {
  position: fixed; right: 16px; bottom: 18px; z-index: 9990; display: none; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 0; background: #23717F; color: #FFFFFF; font-size: 16px; font-weight: 900; box-shadow: 0 10px 26px rgba(11, 46, 53, .45);
}
.cbdf .cbdf-fab.is-on { display: inline-flex; animation: cbdf-pop .4s cubic-bezier(.2, 1.3, .3, 1) both; }
.cbdf .cbdf-fab:hover, .cbdf .cbdf-fab:focus { background: #1A5A65; color: #FFFFFF; }
.cbdf .cbdf-fab svg { width: 20px; height: 20px; }

/* ---------- medium widths ---------- */
@container cbdf (max-width: 1100px) {
  .cbdf .cbdf-hero { padding-left: 40px; padding-right: 40px; }
  .cbdf .cbdf-results, .cbdf .cbdf-mapsec { padding-left: 40px; padding-right: 40px; }
  .cbdf .cbdf-planner { padding-left: 40px; padding-right: 40px; }
  .cbdf .cbdf-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .cbdf .cbdf-q { font-size: 40px; }
  .cbdf .cbdf-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cbdf .cbdf-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cbdf .cbdf-mapbox { height: 540px; }
}
@container cbdf (max-width: 900px) {
  .cbdf .cbdf-grid { grid-template-columns: minmax(0, 1fr); }
  .cbdf .cbdf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbdf .cbdf-mapgrid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone (FinderPhone.dc.html) ---------- */
@container cbdf (max-width: 767px) {
  .cbdf .cbdf-hero { min-height: 0; padding: 18px 16px 70px; background: radial-gradient(140% 90% at 80% 0%, #2C8C9C 0%, #1A5A65 45%, #0B2E35 100%); }
  .cbdf .cbdf-wave--far { display: none; }
  .cbdf .cbdf-wave--near { bottom: 24px; height: 80px; }
  .cbdf .cbdf-wave--edge { height: 44px; }
  .cbdf .cbdf-h1 { font-size: 12px; letter-spacing: .12em; gap: 8px; }
  .cbdf .cbdf-h1paw svg { width: 22px; height: 22px; }
  .cbdf .cbdf-app .cbdf-locbtn { padding: 0; width: 44px; justify-content: center; flex: none; }
  .cbdf .cbdf-locbtn .cbdf-loclabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cbdf .cbdf-grid { padding-top: 22px; gap: 18px; }
  .cbdf .cbdf-left, .cbdf .cbdf-right { transform: none; }
  .cbdf .cbdf-q { font-size: 32px; letter-spacing: -.01em; }
  .cbdf .cbdf-app .cbdf-townbtn { padding: 0 4px 3px 0; background-size: 100% 3px; }
  .cbdf .cbdf-menu { position: relative; top: auto; width: auto; margin-top: 12px; border-radius: 20px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); }
  .cbdf .cbdf-answer { width: auto; gap: 4px 10px; margin-top: 16px; padding: 8px 16px 8px 8px; border-radius: 28px; }
  .cbdf .cbdf-badge { width: 40px; height: 40px; }
  .cbdf .cbdf-badge svg { width: 22px; height: 22px; }
  .cbdf .cbdf-yes { font-size: 20px; }
  .cbdf .cbdf-count { font-size: 30px; height: 36px; line-height: 36px; }
  .cbdf .cbdf-dcol { height: 36px; }
  .cbdf .cbdf-dstrip { line-height: 36px; }
  .cbdf .cbdf-tail { font-size: 15px; line-height: 1.2; }
  .cbdf .cbdf-sub { font-size: 14px; margin: 10px 2px 0; }
  .cbdf .cbdf-ctas { margin-top: 18px; }
  .cbdf .cbdf-app .cbdf-cta { width: 100%; justify-content: center; min-height: 54px; font-size: 17px; padding: 0 16px; }
  .cbdf .cbdf-app .cbdf-ghost { width: 100%; justify-content: center; min-height: 48px; }
  /* right-now bars become three small tiles */
  .cbdf .cbdf-now { padding: 0; background: transparent; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cbdf .cbdf-now .cbdf-ptitle { display: none; }
  .cbdf .cbdf-now .cbdf-bar { margin: 0; padding: 10px 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); }
  .cbdf .cbdf-now .cbdf-bar:nth-of-type(4) { display: none; }
  .cbdf .cbdf-now .cbdf-barlab { flex-direction: column-reverse; font-size: 12px; color: #BFEAF1; }
  .cbdf .cbdf-now .cbdf-barlab span:last-child { font-size: 22px; font-weight: 900; color: #FFFFFF; }
  .cbdf .cbdf-now .cbdf-bartrack { height: 6px; }
  .cbdf .cbdf-now .cbdf-pfoot { grid-column: 1 / -1; margin: 0 2px; font-size: 12px; }
  .cbdf .cbdf-results { padding: 6px 16px 0; }
  .cbdf .cbdf-h2 { font-size: 22px; }
  .cbdf .cbdf-rcount { font-size: 14px; }
  .cbdf .cbdf-jump { display: none !important; }
  .cbdf .cbdf-chips { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cbdf .cbdf-chips::-webkit-scrollbar { display: none; }
  .cbdf .cbdf-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
  .cbdf .cbdf-cardname { font-size: 17px; margin-top: 6px; }
  .cbdf .cbdf-morewrap { margin-top: 14px; }
  .cbdf .cbdf-app .cbdf-more { width: 100%; text-align: center; min-height: 50px; }
  .cbdf .cbdf-mapsec { padding: 28px 16px 0; }
  .cbdf .cbdf-mhead .cbdf-h2 { font-size: 22px; }
  .cbdf .cbdf-legend { gap: 6px 12px; font-size: 12px; }
  .cbdf .cbdf-mapgrid { margin-top: 10px; gap: 12px; }
  .cbdf .cbdf-mapbox { height: 360px; border-radius: 20px; }
  .cbdf .cbdf-detail { padding: 16px; border-radius: 20px; }
  .cbdf .cbdf-selname { font-size: 20px; }
  .cbdf .cbdf-sellinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .cbdf .cbdf-youpin { width: 44px; height: 44px; left: 6px; top: 6px; border-width: 3px; }
  .cbdf .cbdf-youpin svg { width: 26px; height: 26px; }
  .cbdf .cbdf-youtag { font-size: 11px; }
  .cbdf .cbdf-season-phone { padding: 28px 16px 0; }
  .cbdf .cbdf-season-phone .cbdf-season { background: #1A5A65; border: 0; padding: 18px 16px; }
  .cbdf .cbdf-planner { margin-top: 28px; padding: 28px 16px 36px; }
  .cbdf .cbdf-planner .cbdf-h2 { font-size: 24px; }
  .cbdf .cbdf-pintro { flex-basis: auto; }
  .cbdf .cbdf-pintro p { font-size: 15px; }
  .cbdf .cbdf-phead { gap: 16px; }
  .cbdf .cbdf-visit { flex: 1 1 100%; }
  .cbdf .cbdf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cbdf .cbdf-app .cbdf-tile { padding: 12px; }
  .cbdf .cbdf-tname { font-size: 15px; }
  .cbdf .cbdf-ttop { flex-direction: column; gap: 2px; }
}

/* ---------- reduced motion: everything appears in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .cbdf .cbdf-app *, .cbdf .cbdf-app *::before, .cbdf .cbdf-app *::after, .cbdf .cbdf-fab {
    animation: none !important; transition: none !important;
  }
  .cbdf .cbdf-letterbox, .cbdf .cbdf-motes, .cbdf .cbdf-ring, .cbdf .cbdf-youpulse { display: none; }
  .cbdf .cbdf-hero, .cbdf .cbdf-left, .cbdf .cbdf-right, .cbdf .cbdf-wave, .cbdf .cbdf-glow { --cbdf-mx: 0; --cbdf-my: 0; }
}
